From 13e4f377275c2d9f886256659bf2ec9f1b3df263 Mon Sep 17 00:00:00 2001 From: charlocharlie Date: Tue, 5 Sep 2023 10:39:17 -0500 Subject: [PATCH] Upgrade version 10931. All optional types updated due to ts-proto update --- package-lock.json | 8 +- package.json | 4 +- .../connect_secure_storage.proto | 31 ++ .../game_catalog_extension.proto | 18 +- proto/proto_statistics/Statistics.proto | 20 +- src/constants.ts | 2 +- src/generated/google/protobuf/descriptor.ts | 20 +- src/generated/proto_channel/channel.ts | 120 ++--- .../chat_message_data.ts | 14 +- .../client_configuration.ts | 16 +- .../cloudsave_service.ts | 18 +- .../connect_secure_storage.ts | 33 ++ .../proto_crash_reporter/crash_reporter.ts | 8 +- src/generated/proto_demux/demux.ts | 32 +- .../proto_denuvo_service/denuvo_service.ts | 12 +- src/generated/proto_download/download.ts | 6 +- .../download_install_state.ts | 4 +- .../download_service.ts | 14 +- src/generated/proto_friends/friends.ts | 150 +++--- .../game_catalog_extension.ts | 28 +- .../proto_game_starter/game_starter.ts | 34 +- .../installation_backup.ts | 2 +- .../proto_new_channel/new_channel.ts | 22 +- src/generated/proto_orbitdll/OrbitDll.ts | 12 +- src/generated/proto_overlay/overlay.ts | 138 +++--- src/generated/proto_ownership/ownership.ts | 92 ++-- src/generated/proto_party/party.ts | 100 ++-- src/generated/proto_pcbang/pcbang.ts | 4 +- src/generated/proto_playtime/playtime.ts | 16 +- .../proto_settings/common_settings.ts | 4 +- src/generated/proto_settings/settings.ts | 42 +- src/generated/proto_statistics/Statistics.ts | 162 +++---- .../proto_steam_service/steam_service.ts | 14 +- src/generated/proto_store/store.ts | 34 +- src/generated/proto_uplay/Uplay.ts | 22 +- .../proto_uplay_service/uplay_service.ts | 20 +- .../proto_uplayauxdll/UplayAuxDll.ts | 20 +- src/generated/proto_uplaydll/UplayDll.ts | 454 +++++++++--------- .../proto_user_settings/user_settings.ts | 22 +- src/generated/proto_utility/utility.ts | 8 +- .../proto_wegame_service/wegame_service.ts | 32 +- 41 files changed, 935 insertions(+), 877 deletions(-) create mode 100644 proto/proto_connect_secure_storage/connect_secure_storage.proto create mode 100644 src/generated/proto_connect_secure_storage/connect_secure_storage.ts diff --git a/package-lock.json b/package-lock.json index 7c0b41d..015de4d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ubisoft-demux", - "version": "1.10906.0", + "version": "1.10931.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -6614,9 +6614,9 @@ } }, "ts-proto": { - "version": "1.156.2", - "resolved": "https://registry.npmjs.org/ts-proto/-/ts-proto-1.156.2.tgz", - "integrity": "sha512-0ZAbGmfvB2R79QJfpTIk56T8xM4k9ZS+z77517HDpuFZFizCMceCIE3IhdYQWbmP1oSYLzw0AeVbVHi2PIigKQ==", + "version": "1.157.0", + "resolved": "https://registry.npmjs.org/ts-proto/-/ts-proto-1.157.0.tgz", + "integrity": "sha512-0f9rvHb+1aLG66UpFHh1QbZ5SMvKqV5EudUerHRF+C47g2wd8ZYXiVrK3VmsmLcNxmMrdi4vWgFNCH6qRg1SrA==", "dev": true, "requires": { "case-anything": "^2.1.13", diff --git a/package.json b/package.json index 2de9d7a..e269c67 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ubisoft-demux", - "version": "1.10906.0", + "version": "1.10931.0", "description": "A Node.js client to interact with Ubisoft Connect's protobuf demux API", "main": "dist/src/index.js", "scripts": { @@ -67,7 +67,7 @@ "rimraf": "^3.0.2", "ts-jest": "^29.0.2", "ts-node": "^10.9.1", - "ts-proto": "^1.156.2", + "ts-proto": "^1.157.0", "typed-emitter": "^2.1.0", "typescript": "^4.8.3", "yaml": "^2.3.1" diff --git a/proto/proto_connect_secure_storage/connect_secure_storage.proto b/proto/proto_connect_secure_storage/connect_secure_storage.proto new file mode 100644 index 0000000..39e0dcc --- /dev/null +++ b/proto/proto_connect_secure_storage/connect_secure_storage.proto @@ -0,0 +1,31 @@ +syntax = "proto3"; + +package mg.protocol.connect_secure_storage; + +message Entry { + bool isPrivate = 1; + uint64 expirationTime = 2; + bytes value = 3; +} + +message SpaceIdBucket { + map elements = 1; +} + +message SecureStorage { + map data = 1; +} + +message Cache { + oneof _prod { + SecureStorage prod = 1; + } + + oneof _uat { + SecureStorage uat = 2; + } + + oneof _dev { + SecureStorage dev = 3; + } +} diff --git a/proto/proto_game_catalog_extension/game_catalog_extension.proto b/proto/proto_game_catalog_extension/game_catalog_extension.proto index ad4c7c9..bb2ddbc 100644 --- a/proto/proto_game_catalog_extension/game_catalog_extension.proto +++ b/proto/proto_game_catalog_extension/game_catalog_extension.proto @@ -42,6 +42,14 @@ message LinkAccountRsp { bool is_linked = 1; } +message CheckUserReq { + AuthDetails auth_details = 1; +} + +message CheckUserRsp { + bool is_loged_in = 1; +} + message LaunchGameReq { uint32 product_id = 1; uint32 executable_id = 2; @@ -182,8 +190,11 @@ message ProductManagementRsp { } message ProductActionsUpdated { - uint32 product_id = 1; - repeated ProductAction actions = 2; + ProductActions actions = 1; +} + +message LocalProductDetailsUpdated { + LocalProductDetails product_details = 1; } message ProductDownloadStarted { @@ -241,6 +252,7 @@ message Req { InitializeReq initialize = 2; GameRuntimeReq game_run_time = 3; ProductManagementReq product_management = 4; + CheckUserReq check_user = 536870909; LinkAccountReq link_account = 536870910; } } @@ -252,6 +264,7 @@ message Rsp { InitializeRsp initialize = 2; GameRuntimeRsp game_run_time = 3; ProductManagementRsp product_management = 4; + CheckUserRsp check_user = 536870909; LinkAccountRsp link_account = 536870910; } } @@ -261,6 +274,7 @@ message Push { GameLaunched game_launched = 102; GameEnded game_ended = 103; ProductActionsUpdated product_actions_updated = 201; + LocalProductDetailsUpdated local_product_details_updated = 202; ProductDownloadStarted product_download_started = 211; ProductDownloadUpdated product_download_updated = 212; ProductDownloadCompleted product_download_completed = 213; diff --git a/proto/proto_statistics/Statistics.proto b/proto/proto_statistics/Statistics.proto index 4fe6e72..42b799f 100644 --- a/proto/proto_statistics/Statistics.proto +++ b/proto/proto_statistics/Statistics.proto @@ -619,21 +619,6 @@ message TrustedDeviceActionData { optional bool defaultFriendlyName = 3; } -message GameStarterStartRequestObjectData { - optional string steamId = 1; - optional string steamTicket = 2; -} - -message MercuryCheckoutRequestObjectData { - optional string steamId = 1; - optional string partnerPlatformType = 2; -} - -message MercuryWebshopGetObjectData { - optional string partnerPlatformType = 1; - optional string misconfiguredProductSteamIds = 2; -} - message SharePlayHostSessionStreamingStartData { optional string hostPeerId = 1; optional string side = 2; @@ -864,9 +849,8 @@ message EventObjectData { optional RemotePlayHostSessionStreamingStartData remotePlaySessionStart = 62; optional RemotePlayHostSessionStreamingStopData remotePlaySessionStop = 63; optional StreamingStatusData streamingStatus = 64; - optional GameStarterStartRequestObjectData gameStarterStartRequest = 65; - optional MercuryCheckoutRequestObjectData mercuryCheckoutRequest = 66; - optional MercuryWebshopGetObjectData mercuryWebshopGet = 67; + + reserved 65, 66, 67; } message Event { diff --git a/src/constants.ts b/src/constants.ts index d33b95c..d218273 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,4 +1,4 @@ /** * The launcher version sent to the demux API on startup. It can be found in the upc.exe file properties (e.g. File version: 132.2.0.10690) */ -export const API_VERSION = 10906; +export const API_VERSION = 10931; diff --git a/src/generated/google/protobuf/descriptor.ts b/src/generated/google/protobuf/descriptor.ts index 381b0dd..da08429 100644 --- a/src/generated/google/protobuf/descriptor.ts +++ b/src/generated/google/protobuf/descriptor.ts @@ -16,8 +16,8 @@ export interface FileDescriptorProto { enumType: EnumDescriptorProto[]; service: ServiceDescriptorProto[]; extension: FieldDescriptorProto[]; - options?: FileOptions; - sourceCodeInfo?: SourceCodeInfo; + options?: FileOptions | undefined; + sourceCodeInfo?: SourceCodeInfo | undefined; syntax: string; } @@ -29,7 +29,7 @@ export interface DescriptorProto { enumType: EnumDescriptorProto[]; extensionRange: DescriptorProto_ExtensionRange[]; oneofDecl: OneofDescriptorProto[]; - options?: MessageOptions; + options?: MessageOptions | undefined; reservedRange: DescriptorProto_ReservedRange[]; reservedName: string[]; } @@ -37,7 +37,7 @@ export interface DescriptorProto { export interface DescriptorProto_ExtensionRange { start: number; end: number; - options?: ExtensionRangeOptions; + options?: ExtensionRangeOptions | undefined; } export interface DescriptorProto_ReservedRange { @@ -59,7 +59,7 @@ export interface FieldDescriptorProto { defaultValue: string; oneofIndex: number; jsonName: string; - options?: FieldOptions; + options?: FieldOptions | undefined; proto3Optional: boolean; } @@ -94,13 +94,13 @@ export enum FieldDescriptorProto_Type { export interface OneofDescriptorProto { name: string; - options?: OneofOptions; + options?: OneofOptions | undefined; } export interface EnumDescriptorProto { name: string; value: EnumValueDescriptorProto[]; - options?: EnumOptions; + options?: EnumOptions | undefined; reservedRange: EnumDescriptorProto_EnumReservedRange[]; reservedName: string[]; } @@ -113,20 +113,20 @@ export interface EnumDescriptorProto_EnumReservedRange { export interface EnumValueDescriptorProto { name: string; number: number; - options?: EnumValueOptions; + options?: EnumValueOptions | undefined; } export interface ServiceDescriptorProto { name: string; method: MethodDescriptorProto[]; - options?: ServiceOptions; + options?: ServiceOptions | undefined; } export interface MethodDescriptorProto { name: string; inputType: string; outputType: string; - options?: MethodOptions; + options?: MethodOptions | undefined; clientStreaming: boolean; serverStreaming: boolean; } diff --git a/src/generated/proto_channel/channel.ts b/src/generated/proto_channel/channel.ts index 208d8e3..0705a85 100644 --- a/src/generated/proto_channel/channel.ts +++ b/src/generated/proto_channel/channel.ts @@ -72,7 +72,7 @@ export interface Invite { channelId: string; senderId: string; receiverId: string; - channel?: Channel; + channel?: Channel | undefined; } export interface CreateChannelReq { @@ -85,7 +85,7 @@ export interface CreateChannelReq { export interface CreateChannelRsp { responseCode: ResponseCode; - channel?: Channel; + channel?: Channel | undefined; } export interface CreatePrivateChannelReq { @@ -94,7 +94,7 @@ export interface CreatePrivateChannelReq { export interface CreatePrivateChannelRsp { responseCode: ResponseCode; - channel?: Channel; + channel?: Channel | undefined; } export interface GetChannelByIdReq { @@ -103,7 +103,7 @@ export interface GetChannelByIdReq { export interface GetChannelByIdRsp { responseCode: ResponseCode; - channel?: Channel; + channel?: Channel | undefined; } export interface LeaveChannelReq { @@ -123,7 +123,7 @@ export interface DeleteChannelRsp { } export interface UpdateChannelReq { - channel?: Channel; + channel?: Channel | undefined; } export interface UpdateChannelRsp { @@ -183,12 +183,12 @@ export interface DeleteInviteRsp { } export interface SendMessageReq { - message?: Message; + message?: Message | undefined; } export interface SendMessageRsp { responseCode: ResponseCode; - message?: Message; + message?: Message | undefined; } export interface GetMessageReq { @@ -210,7 +210,7 @@ export interface EditMessageReq { export interface EditMessageRsp { responseCode: ResponseCode; - message?: Message; + message?: Message | undefined; } export interface DeleteMessageReq { @@ -251,11 +251,11 @@ export interface GetUnreadMessagesRsp_MostRecentMessageInChannelEntry { } export interface PrivateChannelCreatedEvent { - channel?: Channel; + channel?: Channel | undefined; } export interface ChannelUpdatedEvent { - channel?: Channel; + channel?: Channel | undefined; } export interface ChannelDeletedEvent { @@ -263,7 +263,7 @@ export interface ChannelDeletedEvent { } export interface InviteCreatedEvent { - invite?: Invite; + invite?: Invite | undefined; } export interface InviteRevokedEvent { @@ -271,13 +271,13 @@ export interface InviteRevokedEvent { } export interface MessageCreatedEvent { - message?: Message; + message?: Message | undefined; } export interface MessageUpdatedEvent { channelId: string; channelType: ChannelType; - message?: Message; + message?: Message | undefined; } export interface MessageDeletedEvent { @@ -288,67 +288,67 @@ export interface MessageDeletedEvent { export interface Req { requestId: number; - createChannelReq?: CreateChannelReq; - getChannelByIdReq?: GetChannelByIdReq; - leaveChannelReq?: LeaveChannelReq; - deleteChannelReq?: DeleteChannelReq; - updateChannelReq?: UpdateChannelReq; - getChannelsByUserIdReq?: GetChannelsByUserIdReq; - createInviteReq?: CreateInviteReq; - getInvitesSentReq?: GetInvitesSentReq; - getInvitesReceivedReq?: GetInvitesReceivedReq; - acceptInviteReq?: AcceptInviteReq; - deleteInviteReq?: DeleteInviteReq; - sendMessageReq?: SendMessageReq; - getMessageReq?: GetMessageReq; - editMessageReq?: EditMessageReq; - deleteMessageReq?: DeleteMessageReq; - ackMessageReq?: AckMessageReq; - createPrivateChannelReq?: CreatePrivateChannelReq; - getUnreadMessagesReq?: GetUnreadMessagesReq; + createChannelReq?: CreateChannelReq | undefined; + getChannelByIdReq?: GetChannelByIdReq | undefined; + leaveChannelReq?: LeaveChannelReq | undefined; + deleteChannelReq?: DeleteChannelReq | undefined; + updateChannelReq?: UpdateChannelReq | undefined; + getChannelsByUserIdReq?: GetChannelsByUserIdReq | undefined; + createInviteReq?: CreateInviteReq | undefined; + getInvitesSentReq?: GetInvitesSentReq | undefined; + getInvitesReceivedReq?: GetInvitesReceivedReq | undefined; + acceptInviteReq?: AcceptInviteReq | undefined; + deleteInviteReq?: DeleteInviteReq | undefined; + sendMessageReq?: SendMessageReq | undefined; + getMessageReq?: GetMessageReq | undefined; + editMessageReq?: EditMessageReq | undefined; + deleteMessageReq?: DeleteMessageReq | undefined; + ackMessageReq?: AckMessageReq | undefined; + createPrivateChannelReq?: CreatePrivateChannelReq | undefined; + getUnreadMessagesReq?: GetUnreadMessagesReq | undefined; } export interface Rsp { requestId: number; - createChannelRsp?: CreateChannelRsp; - getChannelByIdRsp?: GetChannelByIdRsp; - leaveChannelRsp?: LeaveChannelRsp; - deleteChannelRsp?: DeleteChannelRsp; - updateChannelRsp?: UpdateChannelRsp; - getChannelsByUserIdRsp?: GetChannelsByUserIdRsp; - createInviteRsp?: CreateInviteRsp; - getInvitesSentRsp?: GetInvitesSentRsp; - getInvitesReceivedRsp?: GetInvitesReceivedRsp; - acceptInviteRsp?: AcceptInviteRsp; - deleteInviteRsp?: DeleteInviteRsp; - sendMessageRsp?: SendMessageRsp; - getMessageRsp?: GetMessageRsp; - editMessageRsp?: EditMessageRsp; - deleteMessageRsp?: DeleteMessageRsp; - ackMessageRsp?: AckMessageRsp; - createPrivateChannelRsp?: CreatePrivateChannelRsp; - getUnreadMessagesRsp?: GetUnreadMessagesRsp; + createChannelRsp?: CreateChannelRsp | undefined; + getChannelByIdRsp?: GetChannelByIdRsp | undefined; + leaveChannelRsp?: LeaveChannelRsp | undefined; + deleteChannelRsp?: DeleteChannelRsp | undefined; + updateChannelRsp?: UpdateChannelRsp | undefined; + getChannelsByUserIdRsp?: GetChannelsByUserIdRsp | undefined; + createInviteRsp?: CreateInviteRsp | undefined; + getInvitesSentRsp?: GetInvitesSentRsp | undefined; + getInvitesReceivedRsp?: GetInvitesReceivedRsp | undefined; + acceptInviteRsp?: AcceptInviteRsp | undefined; + deleteInviteRsp?: DeleteInviteRsp | undefined; + sendMessageRsp?: SendMessageRsp | undefined; + getMessageRsp?: GetMessageRsp | undefined; + editMessageRsp?: EditMessageRsp | undefined; + deleteMessageRsp?: DeleteMessageRsp | undefined; + ackMessageRsp?: AckMessageRsp | undefined; + createPrivateChannelRsp?: CreatePrivateChannelRsp | undefined; + getUnreadMessagesRsp?: GetUnreadMessagesRsp | undefined; } export interface Event { sequenceNumber: number; - channelUpdatedEvent?: ChannelUpdatedEvent; - channelDeletedEvent?: ChannelDeletedEvent; - messageCreatedEvent?: MessageCreatedEvent; - messageUpdatedEvent?: MessageUpdatedEvent; - messageDeletedEvent?: MessageDeletedEvent; - inviteCreatedEvent?: InviteCreatedEvent; - inviteRevokedEvent?: InviteRevokedEvent; - privateChannelCreatedEvent?: PrivateChannelCreatedEvent; + channelUpdatedEvent?: ChannelUpdatedEvent | undefined; + channelDeletedEvent?: ChannelDeletedEvent | undefined; + messageCreatedEvent?: MessageCreatedEvent | undefined; + messageUpdatedEvent?: MessageUpdatedEvent | undefined; + messageDeletedEvent?: MessageDeletedEvent | undefined; + inviteCreatedEvent?: InviteCreatedEvent | undefined; + inviteRevokedEvent?: InviteRevokedEvent | undefined; + privateChannelCreatedEvent?: PrivateChannelCreatedEvent | undefined; } export interface Upstream { - req?: Req; + req?: Req | undefined; } export interface Downstream { - rsp?: Rsp; - event?: Event; + rsp?: Rsp | undefined; + event?: Event | undefined; } export interface ChannelService { diff --git a/src/generated/proto_chat_message_data/chat_message_data.ts b/src/generated/proto_chat_message_data/chat_message_data.ts index ed48b8a..39fde34 100644 --- a/src/generated/proto_chat_message_data/chat_message_data.ts +++ b/src/generated/proto_chat_message_data/chat_message_data.ts @@ -11,7 +11,7 @@ export interface GameSession { export interface GameInvite { multiplayerId: number; productName: string; - gameSession?: GameSession; + gameSession?: GameSession | undefined; inviterUsername: string; } @@ -41,13 +41,13 @@ export interface GroupLeft { export interface GroupNotification { groupId: string; - groupInvitation?: GroupInvitation; - groupJoin?: GroupJoin; - groupLeft?: GroupLeft; - groupCancelInvite?: GroupCancelInvite; + groupInvitation?: GroupInvitation | undefined; + groupJoin?: GroupJoin | undefined; + groupLeft?: GroupLeft | undefined; + groupCancelInvite?: GroupCancelInvite | undefined; } export interface ChatMessageData { - gameInvite?: GameInvite; - groupNotification?: GroupNotification; + gameInvite?: GameInvite | undefined; + groupNotification?: GroupNotification | undefined; } diff --git a/src/generated/proto_client_configuration/client_configuration.ts b/src/generated/proto_client_configuration/client_configuration.ts index 325514a..420ae2d 100644 --- a/src/generated/proto_client_configuration/client_configuration.ts +++ b/src/generated/proto_client_configuration/client_configuration.ts @@ -32,22 +32,22 @@ export interface GetPatchInfoRsp { export interface Req { requestId: number; - getPatchInfoReq?: GetPatchInfoReq1; - getStatisticsStatusReq?: GetStatisticsStatusReq; - getPatchInfoReqV2?: GetPatchInfoReq; + getPatchInfoReq?: GetPatchInfoReq1 | undefined; + getStatisticsStatusReq?: GetStatisticsStatusReq | undefined; + getPatchInfoReqV2?: GetPatchInfoReq | undefined; } export interface Rsp { requestId: number; - getPatchInfoRsp?: GetPatchInfoRsp2; - getStatisticsStatusRsp?: GetStatisticsStatusRsp; - getPatchInfoRspV2?: GetPatchInfoRsp; + getPatchInfoRsp?: GetPatchInfoRsp2 | undefined; + getStatisticsStatusRsp?: GetStatisticsStatusRsp | undefined; + getPatchInfoRspV2?: GetPatchInfoRsp | undefined; } export interface Upstream { - request?: Req; + request?: Req | undefined; } export interface Downstream { - response?: Rsp; + response?: Rsp | undefined; } diff --git a/src/generated/proto_cloudsave_service/cloudsave_service.ts b/src/generated/proto_cloudsave_service/cloudsave_service.ts index 7a65948..84cadcb 100644 --- a/src/generated/proto_cloudsave_service/cloudsave_service.ts +++ b/src/generated/proto_cloudsave_service/cloudsave_service.ts @@ -9,7 +9,7 @@ export interface OptionalArgs { export interface Item { itemName: string; - optionalArgs?: OptionalArgs; + optionalArgs?: OptionalArgs | undefined; } export interface CloudsaveUrlReq { @@ -145,22 +145,22 @@ export interface CloudsaveRspV2_HttpReq { export interface Req { requestId: number; - cloudsaveUrlReq?: CloudsaveUrlReq; - cloudsaveReq?: CloudsaveReq; - cloudsaveReqV2?: CloudsaveReqV2; + cloudsaveUrlReq?: CloudsaveUrlReq | undefined; + cloudsaveReq?: CloudsaveReq | undefined; + cloudsaveReqV2?: CloudsaveReqV2 | undefined; } export interface Rsp { requestId: number; - cloudsaveUrlRsp?: CloudsaveUrlRsp; - cloudsaveRsp?: CloudsaveRsp; - cloudsaveRspV2?: CloudsaveRspV2; + cloudsaveUrlRsp?: CloudsaveUrlRsp | undefined; + cloudsaveRsp?: CloudsaveRsp | undefined; + cloudsaveRspV2?: CloudsaveRspV2 | undefined; } export interface Upstream { - request?: Req; + request?: Req | undefined; } export interface Downstream { - response?: Rsp; + response?: Rsp | undefined; } diff --git a/src/generated/proto_connect_secure_storage/connect_secure_storage.ts b/src/generated/proto_connect_secure_storage/connect_secure_storage.ts new file mode 100644 index 0000000..7d22f75 --- /dev/null +++ b/src/generated/proto_connect_secure_storage/connect_secure_storage.ts @@ -0,0 +1,33 @@ +/* eslint-disable */ + +export const protobufPackage = "mg.protocol.connect_secure_storage"; + +export interface Entry { + isPrivate: boolean; + expirationTime: number; + value: Buffer; +} + +export interface SpaceIdBucket { + elements: { [key: string]: Entry }; +} + +export interface SpaceIdBucket_ElementsEntry { + key: string; + value?: Entry | undefined; +} + +export interface SecureStorage { + data: { [key: string]: SpaceIdBucket }; +} + +export interface SecureStorage_DataEntry { + key: string; + value?: SpaceIdBucket | undefined; +} + +export interface Cache { + prod?: SecureStorage | undefined; + uat?: SecureStorage | undefined; + dev?: SecureStorage | undefined; +} diff --git a/src/generated/proto_crash_reporter/crash_reporter.ts b/src/generated/proto_crash_reporter/crash_reporter.ts index 4f6491f..ab01728 100644 --- a/src/generated/proto_crash_reporter/crash_reporter.ts +++ b/src/generated/proto_crash_reporter/crash_reporter.ts @@ -12,17 +12,17 @@ export interface UploadDumpRsp { } export interface Req { - uploadDump?: UploadDumpReq; + uploadDump?: UploadDumpReq | undefined; } export interface Rsp { - uploadDump?: UploadDumpRsp; + uploadDump?: UploadDumpRsp | undefined; } export interface Upstream { - req?: Req; + req?: Req | undefined; } export interface Downstream { - rsp?: Rsp; + rsp?: Rsp | undefined; } diff --git a/src/generated/proto_demux/demux.ts b/src/generated/proto_demux/demux.ts index 982a5aa..d753394 100644 --- a/src/generated/proto_demux/demux.ts +++ b/src/generated/proto_demux/demux.ts @@ -9,7 +9,7 @@ export interface Token { } export interface AuthenticateReq { - token?: Token; + token?: Token | undefined; sendKeepAlive: boolean; clientId: string; logoutPushGroupId?: string; @@ -101,28 +101,28 @@ export interface Req { export interface Rsp { requestId: number; - authenticateRsp?: AuthenticateRsp; - openConnectionRsp?: OpenConnectionRsp; - getPatchInfoRsp?: GetPatchInfoRsp; - serviceRsp?: ServiceRsp; + authenticateRsp?: AuthenticateRsp | undefined; + openConnectionRsp?: OpenConnectionRsp | undefined; + getPatchInfoRsp?: GetPatchInfoRsp | undefined; + serviceRsp?: ServiceRsp | undefined; } export interface Push { - data?: DataMessage; - connectionClosed?: ConnectionClosedPush; - keepAlive?: KeepAlivePush; - clientVersion?: ClientVersionPush; - clientOutdated?: ClientOutdatedPush; - productStarted?: ProductStartedPush; - productEnded?: ProductEndedPush; + data?: DataMessage | undefined; + connectionClosed?: ConnectionClosedPush | undefined; + keepAlive?: KeepAlivePush | undefined; + clientVersion?: ClientVersionPush | undefined; + clientOutdated?: ClientOutdatedPush | undefined; + productStarted?: ProductStartedPush | undefined; + productEnded?: ProductEndedPush | undefined; } export interface Upstream { - request?: Req; - push?: Push; + request?: Req | undefined; + push?: Push | undefined; } export interface Downstream { - response?: Rsp; - push?: Push; + response?: Rsp | undefined; + push?: Push | undefined; } diff --git a/src/generated/proto_denuvo_service/denuvo_service.ts b/src/generated/proto_denuvo_service/denuvo_service.ts index b4d52b1..44b1e4c 100644 --- a/src/generated/proto_denuvo_service/denuvo_service.ts +++ b/src/generated/proto_denuvo_service/denuvo_service.ts @@ -23,15 +23,15 @@ export interface GetGameTimeTokenRsp { export interface Req { requestId: number; - getGameTokenReq?: GetGameTokenReq; - getGameTimeTokenReq?: GetGameTimeTokenReq; + getGameTokenReq?: GetGameTokenReq | undefined; + getGameTimeTokenReq?: GetGameTimeTokenReq | undefined; } export interface Rsp { requestId: number; result: Rsp_Result; - getGameTokenRsp?: GetGameTokenRsp; - getGameTimeTokenRsp?: GetGameTimeTokenRsp; + getGameTokenRsp?: GetGameTokenRsp | undefined; + getGameTimeTokenRsp?: GetGameTimeTokenRsp | undefined; } export enum Rsp_Result { @@ -45,9 +45,9 @@ export enum Rsp_Result { } export interface Upstream { - request?: Req; + request?: Req | undefined; } export interface Downstream { - response?: Rsp; + response?: Rsp | undefined; } diff --git a/src/generated/proto_download/download.ts b/src/generated/proto_download/download.ts index 12525d5..ba519c2 100644 --- a/src/generated/proto_download/download.ts +++ b/src/generated/proto_download/download.ts @@ -212,13 +212,13 @@ export interface Manifest { deprecatedLanguages: string[]; patchRequired: boolean; isCompressed: boolean; - readmeFiles?: TextFileList; - manualFiles?: TextFileList; + readmeFiles?: TextFileList | undefined; + manualFiles?: TextFileList | undefined; gameVersion: string; compressionMethod: CompressionMethod; version: number; languages: Language[]; - slicerConfig?: SlicerConfig; + slicerConfig?: SlicerConfig | undefined; } export interface ManifestLicenses { diff --git a/src/generated/proto_download_install_state/download_install_state.ts b/src/generated/proto_download_install_state/download_install_state.ts index 666371d..21161e2 100644 --- a/src/generated/proto_download_install_state/download_install_state.ts +++ b/src/generated/proto_download_install_state/download_install_state.ts @@ -61,8 +61,8 @@ export interface DownloadInstallState { bytesDownloadedOnPatchStart: number; requiredBytesDownloadedOnPatchStart: number; gameName: string; - readmeFiles?: TextFileList; - manualFiles?: TextFileList; + readmeFiles?: TextFileList | undefined; + manualFiles?: TextFileList | undefined; gameVersion: string; installedLanguages: string[]; installedAddons: number[]; diff --git a/src/generated/proto_download_service/download_service.ts b/src/generated/proto_download_service/download_service.ts index f1807e0..1383bbf 100644 --- a/src/generated/proto_download_service/download_service.ts +++ b/src/generated/proto_download_service/download_service.ts @@ -46,21 +46,21 @@ export interface InitializeRsp { export interface Req { requestId: number; - initializeReq?: InitializeReq; - urlReq?: UrlReq; - urlReqCovid?: UrlReq; + initializeReq?: InitializeReq | undefined; + urlReq?: UrlReq | undefined; + urlReqCovid?: UrlReq | undefined; } export interface Rsp { requestId: number; - initializeRsp?: InitializeRsp; - urlRsp?: UrlRsp; + initializeRsp?: InitializeRsp | undefined; + urlRsp?: UrlRsp | undefined; } export interface Upstream { - request?: Req; + request?: Req | undefined; } export interface Downstream { - response?: Rsp; + response?: Rsp | undefined; } diff --git a/src/generated/proto_friends/friends.ts b/src/generated/proto_friends/friends.ts index fd553f1..8778c07 100644 --- a/src/generated/proto_friends/friends.ts +++ b/src/generated/proto_friends/friends.ts @@ -9,7 +9,7 @@ export interface ReconnectInfo { export interface DeprecatedInitializeReq { ubiToken: Buffer; deprecatedCookie: number; - game?: Game; + game?: Game | undefined; richPresenceDeprecated: Buffer; activityStatus: Status_ActivityStatus; ubiTicket: string; @@ -21,13 +21,13 @@ export interface DeprecatedInitializeReq { export interface DeprecatedInitializeRsp { success: boolean; deprecatedCookie: number; - deprecatedReconnectInfo?: ReconnectInfo; + deprecatedReconnectInfo?: ReconnectInfo | undefined; relationship: Relationship[]; } export interface InitializeReq { protoVersion: number; - game?: Game; + game?: Game | undefined; activityStatus: Status_ActivityStatus; ubiTicket: string; localization: string; @@ -48,13 +48,13 @@ export interface Friend { } export interface DeprecatedFriendsNick { - user?: Friend; + user?: Friend | undefined; nick: string; } export interface Relationship { blacklisted: boolean; - friend?: Friend; + friend?: Friend | undefined; relation: Relationship_Relation; deprecatedChangeId: number; changeDate: string; @@ -71,7 +71,7 @@ export enum Relationship_Relation { export interface Game { uplayId: number; productName: string; - gameSession?: GameSession; + gameSession?: GameSession | undefined; } export interface GameSession { @@ -84,7 +84,7 @@ export interface GameSession { } export interface SetGameReq { - game?: Game; + game?: Game | undefined; } export interface SetGameRsp { @@ -111,7 +111,7 @@ export interface SetRichPresenceRspDeprecated { } export interface SetRichPresenceReq { - presenceState?: RichPresenceState; + presenceState?: RichPresenceState | undefined; } export interface SetRichPresenceRsp { @@ -128,9 +128,9 @@ export interface SetActivityStatusRsp { } export interface Status { - user?: Friend; + user?: Friend | undefined; onlineStatus: Status_OnlineStatus; - game?: Game; + game?: Game | undefined; richPresenceDeprecated: Buffer; voipStatus: Status_VoipStatus; activityStatus: Status_ActivityStatus; @@ -196,7 +196,7 @@ export interface DeprecatedGetNickRsp { } export interface AcceptFriendshipReq { - user?: Friend; + user?: Friend | undefined; } export interface AcceptFriendshipRsp { @@ -213,7 +213,7 @@ export interface GetBlacklistRsp { } export interface AddToBlacklistReq { - user?: Friend; + user?: Friend | undefined; } export interface AddToBlacklistRsp { @@ -221,7 +221,7 @@ export interface AddToBlacklistRsp { } export interface ClearRelationshipReq { - user?: Friend; + user?: Friend | undefined; } export interface ClearRelationshipRsp { @@ -229,7 +229,7 @@ export interface ClearRelationshipRsp { } export interface DeclineFriendshipReq { - user?: Friend; + user?: Friend | undefined; } export interface DeclineFriendshipRsp { @@ -237,7 +237,7 @@ export interface DeclineFriendshipRsp { } export interface RemoveFromBlacklistReq { - user?: Friend; + user?: Friend | undefined; } export interface RemoveFromBlacklistRsp { @@ -245,7 +245,7 @@ export interface RemoveFromBlacklistRsp { } export interface RequestFriendshipReq { - user?: Friend; + user?: Friend | undefined; } export interface RequestFriendshipRsp { @@ -262,13 +262,13 @@ export interface RequestFriendshipsRsp { export interface JoinGameInvite { accountIdFrom: string; - game?: Game; + game?: Game | undefined; deprecatedProductName: string; } export interface JoinGameInvitationReq { accountIdTo: string; - game?: Game; + game?: Game | undefined; deprecatedProductName: string; } @@ -303,67 +303,67 @@ export interface SetNicknameRsp { export interface Req { requestId: number; - deprecatedInitializeReq?: DeprecatedInitializeReq; - deprecatedGetRelationshipsListReq?: GetRelationshipsListReq; - acceptFriendshipReq?: AcceptFriendshipReq; - addToBlacklistReq?: AddToBlacklistReq; - clearRelationshipReq?: ClearRelationshipReq; - declineFriendshipReq?: DeclineFriendshipReq; - removeFromBlacklistReq?: RemoveFromBlacklistReq; - deprecatedRequestFriendshipReq?: RequestFriendshipReq; - findFriendReq?: FindFriendReq; - deprecatedGetStatusReq?: GetStatusReq; - getNickReq?: DeprecatedGetNickReq; - setGameReq?: SetGameReq; - joinGameInvitationReq?: JoinGameInvitationReq; - setRichPresenceReqDeprecated?: SetRichPresenceReqDeprecated; - requestFriendshipsReq?: RequestFriendshipsReq; - setActivityStatusReq?: SetActivityStatusReq; - setRichPresenceReq?: SetRichPresenceReq; - declineGameInviteReq?: DeclineGameInviteReq; - ubiTicketRefreshReq?: UbiTicketRefreshReq; - initializeReq?: InitializeReq; - setNicknameReq?: SetNicknameReq; - getBlacklistReq?: GetBlacklistReq; + deprecatedInitializeReq?: DeprecatedInitializeReq | undefined; + deprecatedGetRelationshipsListReq?: GetRelationshipsListReq | undefined; + acceptFriendshipReq?: AcceptFriendshipReq | undefined; + addToBlacklistReq?: AddToBlacklistReq | undefined; + clearRelationshipReq?: ClearRelationshipReq | undefined; + declineFriendshipReq?: DeclineFriendshipReq | undefined; + removeFromBlacklistReq?: RemoveFromBlacklistReq | undefined; + deprecatedRequestFriendshipReq?: RequestFriendshipReq | undefined; + findFriendReq?: FindFriendReq | undefined; + deprecatedGetStatusReq?: GetStatusReq | undefined; + getNickReq?: DeprecatedGetNickReq | undefined; + setGameReq?: SetGameReq | undefined; + joinGameInvitationReq?: JoinGameInvitationReq | undefined; + setRichPresenceReqDeprecated?: SetRichPresenceReqDeprecated | undefined; + requestFriendshipsReq?: RequestFriendshipsReq | undefined; + setActivityStatusReq?: SetActivityStatusReq | undefined; + setRichPresenceReq?: SetRichPresenceReq | undefined; + declineGameInviteReq?: DeclineGameInviteReq | undefined; + ubiTicketRefreshReq?: UbiTicketRefreshReq | undefined; + initializeReq?: InitializeReq | undefined; + setNicknameReq?: SetNicknameReq | undefined; + getBlacklistReq?: GetBlacklistReq | undefined; } export interface Rsp { requestId: number; - deprecatedInitializeRsp?: DeprecatedInitializeRsp; - deprecatedGetRelationshipsListRsp?: GetRelationshipsListRsp; - acceptFriendshipRsp?: AcceptFriendshipRsp; - addToBlacklistRsp?: AddToBlacklistRsp; - clearRelationshipRsp?: ClearRelationshipRsp; - declineFriendshipRsp?: DeclineFriendshipRsp; - removeFromBlacklistRsp?: RemoveFromBlacklistRsp; - deprecatedRequestFriendshipRsp?: RequestFriendshipRsp; - findFriendRsp?: FindFriendRsp; - deprecatedGetStatusRsp?: GetStatusRsp; - getNickRsp?: DeprecatedGetNickRsp; - setGameRsp?: SetGameRsp; - joinGameInvitationRsp?: JoinGameInvitationRsp; - setRichPresenceRspDeprected?: SetRichPresenceRspDeprecated; - requestFriendshipsRsp?: RequestFriendshipsRsp; - setActivityStatusRsp?: SetActivityStatusRsp; - setRichPresenceRsp?: SetRichPresenceRsp; - declineGameInviteRsp?: DeclineGameInviteRsp; - ubiTicketRefreshRsp?: UbiTicketRefreshRsp; - initializeRsp?: InitializeRsp; - setNicknameRsp?: SetNicknameRsp; - getBlacklistRsp?: GetBlacklistRsp; + deprecatedInitializeRsp?: DeprecatedInitializeRsp | undefined; + deprecatedGetRelationshipsListRsp?: GetRelationshipsListRsp | undefined; + acceptFriendshipRsp?: AcceptFriendshipRsp | undefined; + addToBlacklistRsp?: AddToBlacklistRsp | undefined; + clearRelationshipRsp?: ClearRelationshipRsp | undefined; + declineFriendshipRsp?: DeclineFriendshipRsp | undefined; + removeFromBlacklistRsp?: RemoveFromBlacklistRsp | undefined; + deprecatedRequestFriendshipRsp?: RequestFriendshipRsp | undefined; + findFriendRsp?: FindFriendRsp | undefined; + deprecatedGetStatusRsp?: GetStatusRsp | undefined; + getNickRsp?: DeprecatedGetNickRsp | undefined; + setGameRsp?: SetGameRsp | undefined; + joinGameInvitationRsp?: JoinGameInvitationRsp | undefined; + setRichPresenceRspDeprected?: SetRichPresenceRspDeprecated | undefined; + requestFriendshipsRsp?: RequestFriendshipsRsp | undefined; + setActivityStatusRsp?: SetActivityStatusRsp | undefined; + setRichPresenceRsp?: SetRichPresenceRsp | undefined; + declineGameInviteRsp?: DeclineGameInviteRsp | undefined; + ubiTicketRefreshRsp?: UbiTicketRefreshRsp | undefined; + initializeRsp?: InitializeRsp | undefined; + setNicknameRsp?: SetNicknameRsp | undefined; + getBlacklistRsp?: GetBlacklistRsp | undefined; } export interface PushUpdatedRelationship { - relationship?: Relationship; + relationship?: Relationship | undefined; } export interface PushUpdatedStatus { - updatesStatus?: Status; + updatesStatus?: Status | undefined; isInitialStatus: boolean; } export interface PushJoinGameInvitation { - invite?: JoinGameInvite; + invite?: JoinGameInvite | undefined; } export interface PushRecentlyMetPlayers { @@ -386,20 +386,20 @@ export interface PushIsFavoriteUpdate { } export interface Push { - pushUpdatedRelationship?: PushUpdatedRelationship; - pushUpdatedStatus?: PushUpdatedStatus; - pushJoinGameInvitation?: PushJoinGameInvitation; - pushRecentlyMetPlayers?: PushRecentlyMetPlayers; - pushGameInviteDeclined?: PushGameInviteDeclined; - pushNicknameUpdate?: PushNicknameUpdate; - pushIsFavoriteUpdate?: PushIsFavoriteUpdate; + pushUpdatedRelationship?: PushUpdatedRelationship | undefined; + pushUpdatedStatus?: PushUpdatedStatus | undefined; + pushJoinGameInvitation?: PushJoinGameInvitation | undefined; + pushRecentlyMetPlayers?: PushRecentlyMetPlayers | undefined; + pushGameInviteDeclined?: PushGameInviteDeclined | undefined; + pushNicknameUpdate?: PushNicknameUpdate | undefined; + pushIsFavoriteUpdate?: PushIsFavoriteUpdate | undefined; } export interface Upstream { - request?: Req; + request?: Req | undefined; } export interface Downstream { - response?: Rsp; - push?: Push; + response?: Rsp | undefined; + push?: Push | undefined; } diff --git a/src/generated/proto_game_catalog_extension/game_catalog_extension.ts b/src/generated/proto_game_catalog_extension/game_catalog_extension.ts index 361b6ca..a0dfd41 100644 --- a/src/generated/proto_game_catalog_extension/game_catalog_extension.ts +++ b/src/generated/proto_game_catalog_extension/game_catalog_extension.ts @@ -22,7 +22,7 @@ export enum AuthDetails_TokenPlatform { } export interface InitializeReq { - authDetails?: AuthDetails; + authDetails?: AuthDetails | undefined; doActivation: boolean; } @@ -45,13 +45,21 @@ export enum InitializeRsp_Result { } export interface LinkAccountReq { - authDetails?: AuthDetails; + authDetails?: AuthDetails | undefined; } export interface LinkAccountRsp { isLinked: boolean; } +export interface CheckUserReq { + authDetails?: AuthDetails | undefined; +} + +export interface CheckUserRsp { + isLogedIn: boolean; +} + export interface LaunchGameReq { productId: number; executableId: number; @@ -86,7 +94,7 @@ export interface ProductActions { } export interface GetProductActionsRsp { - productActions?: ProductActions; + productActions?: ProductActions | undefined; } export interface GetLocalProductDetailsReq { @@ -111,7 +119,7 @@ export enum LocalProductDetails_PatchState { export interface GetLocalProductDetailsRsp { result: GetLocalProductDetailsRsp_Result; - productDetails?: LocalProductDetails; + productDetails?: LocalProductDetails | undefined; } export enum GetLocalProductDetailsRsp_Result { @@ -191,8 +199,11 @@ export interface ProductManagementRsp { } export interface ProductActionsUpdated { - productId: number; - actions: ProductAction[]; + actions?: ProductActions | undefined; +} + +export interface LocalProductDetailsUpdated { + productDetails?: LocalProductDetails | undefined; } export interface ProductDownloadStarted { @@ -250,6 +261,7 @@ export interface Req { initialize?: InitializeReq | undefined; gameRunTime?: GameRuntimeReq | undefined; productManagement?: ProductManagementReq | undefined; + checkUser?: CheckUserReq | undefined; linkAccount?: LinkAccountReq | undefined; } @@ -258,6 +270,7 @@ export interface Rsp { initialize?: InitializeRsp | undefined; gameRunTime?: GameRuntimeRsp | undefined; productManagement?: ProductManagementRsp | undefined; + checkUser?: CheckUserRsp | undefined; linkAccount?: LinkAccountRsp | undefined; } @@ -265,6 +278,7 @@ export interface Push { gameLaunched?: GameLaunched | undefined; gameEnded?: GameEnded | undefined; productActionsUpdated?: ProductActionsUpdated | undefined; + localProductDetailsUpdated?: LocalProductDetailsUpdated | undefined; productDownloadStarted?: ProductDownloadStarted | undefined; productDownloadUpdated?: ProductDownloadUpdated | undefined; productDownloadCompleted?: ProductDownloadCompleted | undefined; @@ -273,7 +287,7 @@ export interface Push { } export interface Upstream { - req?: Req; + req?: Req | undefined; } export interface Downstream { diff --git a/src/generated/proto_game_starter/game_starter.ts b/src/generated/proto_game_starter/game_starter.ts index a629567..8467620 100644 --- a/src/generated/proto_game_starter/game_starter.ts +++ b/src/generated/proto_game_starter/game_starter.ts @@ -49,11 +49,11 @@ export interface StartReq { steamFreePackageId: number; steamRequiredProductId: number; steamProofOfPurchase: SteamProofOfPurchase[]; - oculusInfo?: OculusInfo; + oculusInfo?: OculusInfo | undefined; platform: StartReq_Platform; steamOwnerId: string; - nvidiaInfo?: NvidiaInfo; - weGameInfo?: WeGameInfo; + nvidiaInfo?: NvidiaInfo | undefined; + weGameInfo?: WeGameInfo | undefined; } export enum StartReq_Platform { @@ -92,7 +92,7 @@ export interface StartGrantedRsp { additionalArguments: string; uplayArguments: string; overlayInjectionMethod: StartGrantedRsp_OverlayInjectionMethod; - hotkeys?: Hotkeys; + hotkeys?: Hotkeys | undefined; } export enum StartGrantedRsp_OverlayInjectionMethod { @@ -118,8 +118,8 @@ export interface ConfirmationRsp { } export interface Req { - startReq?: StartReq; - hotkeyStateChangedReq?: HotkeyStateChangedReq; + startReq?: StartReq | undefined; + hotkeyStateChangedReq?: HotkeyStateChangedReq | undefined; } export interface ReconnectPush { @@ -134,27 +134,27 @@ export interface SteamOverlayShowPush { } export interface UpdateHotKeysPush { - hotkeys?: Hotkeys; + hotkeys?: Hotkeys | undefined; } export interface Push { - reconnectPush?: ReconnectPush; - userInteractionRequiredPush?: UserInteractionRequiredPush; - steamOverlayShowPush?: SteamOverlayShowPush; - updateHotKeysPush?: UpdateHotKeysPush; + reconnectPush?: ReconnectPush | undefined; + userInteractionRequiredPush?: UserInteractionRequiredPush | undefined; + steamOverlayShowPush?: SteamOverlayShowPush | undefined; + updateHotKeysPush?: UpdateHotKeysPush | undefined; } export interface Rsp { - startGrantedRsp?: StartGrantedRsp; - startDeniedRsp?: StartDeniedRsp; - discordRichPresence?: DiscordRichPresence; + startGrantedRsp?: StartGrantedRsp | undefined; + startDeniedRsp?: StartDeniedRsp | undefined; + discordRichPresence?: DiscordRichPresence | undefined; } export interface Upstream { - req?: Req; + req?: Req | undefined; } export interface Downstream { - push?: Push; - rsp?: Rsp; + push?: Push | undefined; + rsp?: Rsp | undefined; } diff --git a/src/generated/proto_installation_backup/installation_backup.ts b/src/generated/proto_installation_backup/installation_backup.ts index e3784c3..b8eb1f0 100644 --- a/src/generated/proto_installation_backup/installation_backup.ts +++ b/src/generated/proto_installation_backup/installation_backup.ts @@ -58,7 +58,7 @@ export interface InstallationBackup { licenses: License[]; manifestSha1: string; environment: string; - autorun?: Autorun; + autorun?: Autorun | undefined; languages: string[]; sha1: Buffer; productPackUplayIds: number[]; diff --git a/src/generated/proto_new_channel/new_channel.ts b/src/generated/proto_new_channel/new_channel.ts index b90f397..ba18610 100644 --- a/src/generated/proto_new_channel/new_channel.ts +++ b/src/generated/proto_new_channel/new_channel.ts @@ -47,7 +47,7 @@ export interface ChannelMetadata { export interface Channel { id: string; parentId: string; - metadata?: ChannelMetadata; + metadata?: ChannelMetadata | undefined; creatorId: string; spaceId: string; type: ChannelType; @@ -88,14 +88,14 @@ export interface GetChannelRequest { export interface CreateChannelRequest { spaceId: string; - channel?: Channel; + channel?: Channel | undefined; members: string[]; } export interface UpdateChannelMetadataRequest { spaceId: string; channelId: string; - channelMetadata?: ChannelMetadata; + channelMetadata?: ChannelMetadata | undefined; } export interface ListChannelsRequest { @@ -128,7 +128,7 @@ export interface DeleteMembershipRequest { export interface UpdateMembershipRequest { spaceId: string; channelId: string; - membership?: Membership; + membership?: Membership | undefined; } export interface GetMessageRequest { @@ -140,7 +140,7 @@ export interface GetMessageRequest { export interface CreateMessageRequest { spaceId: string; channelId: string; - message?: Message; + message?: Message | undefined; } export interface DeleteMessageRequest { @@ -153,7 +153,7 @@ export interface UpdateMessageRequest { spaceId: string; channelId: string; messageId: string; - message?: Message; + message?: Message | undefined; } export interface ListMessagesRequest { @@ -194,15 +194,15 @@ export interface PlayerNotificationContent { channelId: string; profileId: string; messageId: string; - metadata?: ChannelMetadata; - channel?: Channel; - membership?: Membership; + metadata?: ChannelMetadata | undefined; + channel?: Channel | undefined; + membership?: Membership | undefined; memberships: Membership[]; - message?: Message; + message?: Message | undefined; } export interface PlayerNotification { - content?: PlayerNotificationContent; + content?: PlayerNotificationContent | undefined; notificationType: PlayerNotificationType; profileId: string; spaceId: string; diff --git a/src/generated/proto_orbitdll/OrbitDll.ts b/src/generated/proto_orbitdll/OrbitDll.ts index 191e353..1f616d9 100644 --- a/src/generated/proto_orbitdll/OrbitDll.ts +++ b/src/generated/proto_orbitdll/OrbitDll.ts @@ -37,14 +37,14 @@ export interface InitRsp { export interface Req { requestId: number; - getLoginDetails?: GetLoginDetailsReq; - getOsi?: GetOsiReq; - init?: InitReq; + getLoginDetails?: GetLoginDetailsReq | undefined; + getOsi?: GetOsiReq | undefined; + init?: InitReq | undefined; } export interface Rsp { requestId: number; - getLoginDetails?: GetLoginDetailsRsp; - getOsi?: GetOsiRsp; - init?: InitRsp; + getLoginDetails?: GetLoginDetailsRsp | undefined; + getOsi?: GetOsiRsp | undefined; + init?: InitRsp | undefined; } diff --git a/src/generated/proto_overlay/overlay.ts b/src/generated/proto_overlay/overlay.ts index 1195282..64ab0ae 100644 --- a/src/generated/proto_overlay/overlay.ts +++ b/src/generated/proto_overlay/overlay.ts @@ -28,8 +28,8 @@ export interface StartFailureRsp { } export interface StartRsp { - successRsp?: StartSuccessRsp; - failureRsp?: StartFailureRsp; + successRsp?: StartSuccessRsp | undefined; + failureRsp?: StartFailureRsp | undefined; } export interface ResizeReq { @@ -46,8 +46,8 @@ export interface ResizeFailureRsp { } export interface ResizeRsp { - successRsp?: ResizeSuccessRsp; - failureRsp?: ResizeFailureRsp; + successRsp?: ResizeSuccessRsp | undefined; + failureRsp?: ResizeFailureRsp | undefined; } export interface Rectangle { @@ -181,7 +181,7 @@ export interface StreamingHostStartPush { export interface StreamingHostStartResponse { result: boolean; hostPeerId: string; - startConfig?: StreamingStartConfig; + startConfig?: StreamingStartConfig | undefined; errorMsg: string; errorCode: number; } @@ -194,13 +194,13 @@ export interface StreamingHostGuestPermissions { } export interface StreamingHostGuestSettingsResponse { - permissions?: StreamingHostGuestPermissions; + permissions?: StreamingHostGuestPermissions | undefined; } export interface StreamingHostGuestConnectedReq { guestId: number; profileId: string; - settings?: StreamingHostGuestSettingsResponse; + settings?: StreamingHostGuestSettingsResponse | undefined; connectedTs: number; } @@ -360,52 +360,52 @@ export interface IMEUpdateCandidatesReq { } export interface Req { - startReq?: StartReq; - resizeReq?: ResizeReq; - win32KeyMessageReq?: Win32KeyMessageReq; - appleKeyEventReq?: AppleKeyEventReq; - mouseButtonPressedReq?: MouseButtonPressedReq; - mouseButtonReleasedReq?: MouseButtonReleasedReq; - mouseMovedReq?: MouseMovedReq; - mouseWheelMovedReq?: MouseWheelMovedReq; - closeUiReq?: CloseUiReq; - refreshUiReq?: RefreshUiReq; - getConfigurationReq?: GetConfigurationReq; - mouseDoubleClickReq?: MouseDoubleClickReq; - bufferReadyReq?: BufferReadyReq; - videoFrameReadyReq?: VideoFrameReadyReq; - screenshotReadyReq?: ScreenshotReadyReq; - screenshotCaptureFailureReq?: ScreenshotCaptureFailureReq; - videoCaptureFailureReq?: VideoCaptureFailureReq; - langChangeReq?: LangChangeReq; - updateFpsReq?: UpdateFpsReq; - focusEventReq?: FocusEventReq; - imeCommitTextReq?: IMECommitText; - imeSetCompositionReq?: IMESetCompositionReq; - imeCancelCompositionReq?: IMECancelCompositionReq; - imeUpdateCandidatesReq?: IMEUpdateCandidatesReq; - streamingSettingsReq?: StreamingSettingsReq; - streamingHostStartResponse?: StreamingHostStartResponse; - streamingHostGuestConnectedReq?: StreamingHostGuestConnectedReq; - streamingHostGuestDisconnectedReq?: StreamingHostGuestDisconnectedReq; - streamingHostStopReq?: StreamingHostStopReq; + startReq?: StartReq | undefined; + resizeReq?: ResizeReq | undefined; + win32KeyMessageReq?: Win32KeyMessageReq | undefined; + appleKeyEventReq?: AppleKeyEventReq | undefined; + mouseButtonPressedReq?: MouseButtonPressedReq | undefined; + mouseButtonReleasedReq?: MouseButtonReleasedReq | undefined; + mouseMovedReq?: MouseMovedReq | undefined; + mouseWheelMovedReq?: MouseWheelMovedReq | undefined; + closeUiReq?: CloseUiReq | undefined; + refreshUiReq?: RefreshUiReq | undefined; + getConfigurationReq?: GetConfigurationReq | undefined; + mouseDoubleClickReq?: MouseDoubleClickReq | undefined; + bufferReadyReq?: BufferReadyReq | undefined; + videoFrameReadyReq?: VideoFrameReadyReq | undefined; + screenshotReadyReq?: ScreenshotReadyReq | undefined; + screenshotCaptureFailureReq?: ScreenshotCaptureFailureReq | undefined; + videoCaptureFailureReq?: VideoCaptureFailureReq | undefined; + langChangeReq?: LangChangeReq | undefined; + updateFpsReq?: UpdateFpsReq | undefined; + focusEventReq?: FocusEventReq | undefined; + imeCommitTextReq?: IMECommitText | undefined; + imeSetCompositionReq?: IMESetCompositionReq | undefined; + imeCancelCompositionReq?: IMECancelCompositionReq | undefined; + imeUpdateCandidatesReq?: IMEUpdateCandidatesReq | undefined; + streamingSettingsReq?: StreamingSettingsReq | undefined; + streamingHostStartResponse?: StreamingHostStartResponse | undefined; + streamingHostGuestConnectedReq?: StreamingHostGuestConnectedReq | undefined; + streamingHostGuestDisconnectedReq?: StreamingHostGuestDisconnectedReq | undefined; + streamingHostStopReq?: StreamingHostStopReq | undefined; streamingHostMetricsReq: StreamingHostMetricsReq[]; - streamingVgpEventReq?: StreamingVGPEventReq; - streamingHostCreateTokenReq?: StreamingHostCreateTokenReq; - streamingHostDecodeTokenReq?: StreamingHostDecodeTokenReq; - streamingHostFocusReq?: StreamingHostFocusReq; - streamingHostUpdateGuestRemainingTimeReq?: StreamingHostUpdateGuestRemainingTimeReq; - streamingHostReadyReq?: StreamingHostReadyReq; - streamingHostSignalErrorReq?: StreamingHostSignalErrorReq; - streamingHostSdkEventReq?: StreamingHostSDKEventReq; + streamingVgpEventReq?: StreamingVGPEventReq | undefined; + streamingHostCreateTokenReq?: StreamingHostCreateTokenReq | undefined; + streamingHostDecodeTokenReq?: StreamingHostDecodeTokenReq | undefined; + streamingHostFocusReq?: StreamingHostFocusReq | undefined; + streamingHostUpdateGuestRemainingTimeReq?: StreamingHostUpdateGuestRemainingTimeReq | undefined; + streamingHostReadyReq?: StreamingHostReadyReq | undefined; + streamingHostSignalErrorReq?: StreamingHostSignalErrorReq | undefined; + streamingHostSdkEventReq?: StreamingHostSDKEventReq | undefined; } export interface Rsp { - startRsp?: StartRsp; - resizeRsp?: ResizeRsp; - viewUpdatedRsp?: ViewUpdatedRsp; - getConfigurationRsp?: GetConfigurationRsp; - videoFrameReleasedRsp?: VideoFrameReleasedRsp; + startRsp?: StartRsp | undefined; + resizeRsp?: ResizeRsp | undefined; + viewUpdatedRsp?: ViewUpdatedRsp | undefined; + getConfigurationRsp?: GetConfigurationRsp | undefined; + videoFrameReleasedRsp?: VideoFrameReleasedRsp | undefined; } export interface MultipleLogin { @@ -415,32 +415,32 @@ export interface UserBannedPush { } export interface Push { - multipleLogin?: MultipleLogin; - captureScreenshot?: CaptureScreenshotPush; - cursorChange?: CursorChangePush; - userBanned?: UserBannedPush; - uiOpened?: UiOpenedPush; - uiClosed?: UiClosedPush; - imeClearComposition?: IMEClearCompositionPush; - imeSelectCandidate?: IMESelectCandidatePush; - streamingSettings?: StreamingSettingsPush; - streamingHostStart?: StreamingHostStartPush; - streamingHostStop?: StreamingHostStopPush; - streamingHostKick?: StreamingHostKickPush; - streamingHostPermissions?: StreamingHostPermissionsPush; - streamingHostCreateToken?: StreamingHostCreateTokenPush; - streamingHostDecodeToken?: StreamingHostDecodeTokenPush; - streamingHostUpdateGuestRemainingTime?: StreamingHostUpdateGuestRemainingTimePush; - streamingHostUpdateCredentials?: StreamingHostUpdateCredentialsPush; + multipleLogin?: MultipleLogin | undefined; + captureScreenshot?: CaptureScreenshotPush | undefined; + cursorChange?: CursorChangePush | undefined; + userBanned?: UserBannedPush | undefined; + uiOpened?: UiOpenedPush | undefined; + uiClosed?: UiClosedPush | undefined; + imeClearComposition?: IMEClearCompositionPush | undefined; + imeSelectCandidate?: IMESelectCandidatePush | undefined; + streamingSettings?: StreamingSettingsPush | undefined; + streamingHostStart?: StreamingHostStartPush | undefined; + streamingHostStop?: StreamingHostStopPush | undefined; + streamingHostKick?: StreamingHostKickPush | undefined; + streamingHostPermissions?: StreamingHostPermissionsPush | undefined; + streamingHostCreateToken?: StreamingHostCreateTokenPush | undefined; + streamingHostDecodeToken?: StreamingHostDecodeTokenPush | undefined; + streamingHostUpdateGuestRemainingTime?: StreamingHostUpdateGuestRemainingTimePush | undefined; + streamingHostUpdateCredentials?: StreamingHostUpdateCredentialsPush | undefined; } export interface Upstream { - req?: Req; + req?: Req | undefined; } export interface Downstream { - push?: Push; - rsp?: Rsp; + push?: Push | undefined; + rsp?: Rsp | undefined; } export interface UpdateFpsReq { diff --git a/src/generated/proto_ownership/ownership.ts b/src/generated/proto_ownership/ownership.ts index 14cf986..2c9901b 100644 --- a/src/generated/proto_ownership/ownership.ts +++ b/src/generated/proto_ownership/ownership.ts @@ -50,16 +50,16 @@ export interface OwnedGame { pendingKeystorageOwnership: boolean; ubiservicesSpaceId: string; ubiservicesAppId: string; - storeData?: StoreData; + storeData?: StoreData | undefined; packageOwnershipState: OwnedGame_PackageOwnershipState; suspensionType: OwnedGame_SuspensionType; - ingameStoreData?: StoreData; + ingameStoreData?: StoreData | undefined; activationType: OwnedGame_ActivationType; lockedBySubscription: boolean; targetPartner: OwnedGame_TargetPartner; denuvoActivationOverwrite: OwnedGame_DenuvoActivationOverwrite; subscriptionTypes: number[]; - ubiservicesDynamicConfig?: UbiServicesDynamicConfig; + ubiservicesDynamicConfig?: UbiServicesDynamicConfig | undefined; } export enum OwnedGame_PackageOwnershipState { @@ -155,12 +155,12 @@ export interface InitializeReq_ProductBranchData { export interface InitializeRsp { success: boolean; - ownedGames?: OwnedGames; - ownedGamesContainer?: OwnedGamesContainer; + ownedGames?: OwnedGames | undefined; + ownedGamesContainer?: OwnedGamesContainer | undefined; keySpamBanSeconds: number; subscriptionState: SubscriptionState; subscriptionType: number; - claimedGames?: OwnedGames; + claimedGames?: OwnedGames | undefined; } export interface DeprecatedGetProductFromCdKeyReq { @@ -170,7 +170,7 @@ export interface DeprecatedGetProductFromCdKeyReq { export interface DeprecatedGetProductFromCdKeyRsp { result: DeprecatedGetProductFromCdKeyRsp_Result; - product?: OwnedGame; + product?: OwnedGame | undefined; productAssociations: OwnedGame[]; } @@ -229,8 +229,8 @@ export interface RegisterOwnershipFromOculusReq { export interface RegisterOwnershipFromOculusRsp { result: RegisterOwnershipFromOculusRsp_Result; claimedAccountId: string; - ownedGames?: OwnedGames; - ownedGamesContainer?: OwnedGamesContainer; + ownedGames?: OwnedGames | undefined; + ownedGamesContainer?: OwnedGamesContainer | undefined; } export enum RegisterOwnershipFromOculusRsp_Result { @@ -253,8 +253,8 @@ export interface RegisterOwnershipFromWeGameReq { export interface RegisterOwnershipFromWeGameRsp { result: RegisterOwnershipFromWeGameRsp_Result; - ownedGames?: OwnedGames; - ownedGamesContainer?: OwnedGamesContainer; + ownedGames?: OwnedGames | undefined; + ownedGamesContainer?: OwnedGamesContainer | undefined; } export enum RegisterOwnershipFromWeGameRsp_Result { @@ -269,8 +269,8 @@ export enum RegisterOwnershipFromWeGameRsp_Result { export interface RegisterOwnershipRsp { result: RegisterOwnershipRsp_Result; - ownedGamesContainer?: OwnedGamesContainer; - ownedGames?: OwnedGames; + ownedGamesContainer?: OwnedGamesContainer | undefined; + ownedGames?: OwnedGames | undefined; bannedTime: number; cdkeyClaimedDate: string; } @@ -392,8 +392,8 @@ export enum GetProductConfigRsp_Result { } export interface SwitchProductBranchReq { - specifiedBranch?: SwitchProductBranchReq_SpecifiedProductBranch; - defaultBranch?: SwitchProductBranchReq_DefaultProductBranch; + specifiedBranch?: SwitchProductBranchReq_SpecifiedProductBranch | undefined; + defaultBranch?: SwitchProductBranchReq_DefaultProductBranch | undefined; } export interface SwitchProductBranchReq_SpecifiedProductBranch { @@ -408,7 +408,7 @@ export interface SwitchProductBranchReq_DefaultProductBranch { export interface SwitchProductBranchRsp { result: SwitchProductBranchRsp_Result; - products?: OwnedGames; + products?: OwnedGames | undefined; } export enum SwitchProductBranchRsp_Result { @@ -418,7 +418,7 @@ export enum SwitchProductBranchRsp_Result { } export interface UnlockProductBranchReq { - branch?: UnlockProductBranchReq_ProductBranch; + branch?: UnlockProductBranchReq_ProductBranch | undefined; } export interface UnlockProductBranchReq_ProductBranch { @@ -617,32 +617,32 @@ export interface Req { export interface Rsp { requestId: number; - initializeRsp?: InitializeRsp; - registerOwnershipRsp?: RegisterOwnershipRsp; - deprecatedGetProductFromCdKeyRsp?: DeprecatedGetProductFromCdKeyRsp; - getProductConfigRsp?: GetProductConfigRsp; - deprecatedGetLatestManifestsRsp?: DeprecatedGetLatestManifestsRsp; - getBatchDownloadUrlsRsp?: GetBatchDownloadUrlsRsp; - getUplayPcTicketRsp?: GetUplayPCTicketRsp; - consumeOwnershipRsp?: ConsumeOwnershipRsp; - switchProductBranchRsp?: SwitchProductBranchRsp; - unlockProductBranchRsp?: UnlockProductBranchRsp; - registerOwnershipSteamPopRsp?: RegisterOwnershipSteamPopRsp; - registerOwnershipFromOculusRsp?: RegisterOwnershipFromOculusRsp; - getGameTokenRsp?: GetGameTokenRsp; - claimKeystorageKeyRsp?: ClaimKeystorageKeyRsp; - getGameTimeTicketRsp?: GetGameTimeTicketRsp; - getGameWithdrawalRightsRsp?: GetGameWithdrawalRightsRsp; - waiveGameWithdrawalRightsRsp?: WaiveGameWithdrawalRightsRsp; - signOwnershipRsp?: SignOwnershipRsp; - registerOwnershipFromWegameRsp?: RegisterOwnershipFromWeGameRsp; - ownershipTokenRsp?: OwnershipTokenRsp; - registerTemporaryOwnershipRsp?: RegisterTemporaryOwnershipRsp; + initializeRsp?: InitializeRsp | undefined; + registerOwnershipRsp?: RegisterOwnershipRsp | undefined; + deprecatedGetProductFromCdKeyRsp?: DeprecatedGetProductFromCdKeyRsp | undefined; + getProductConfigRsp?: GetProductConfigRsp | undefined; + deprecatedGetLatestManifestsRsp?: DeprecatedGetLatestManifestsRsp | undefined; + getBatchDownloadUrlsRsp?: GetBatchDownloadUrlsRsp | undefined; + getUplayPcTicketRsp?: GetUplayPCTicketRsp | undefined; + consumeOwnershipRsp?: ConsumeOwnershipRsp | undefined; + switchProductBranchRsp?: SwitchProductBranchRsp | undefined; + unlockProductBranchRsp?: UnlockProductBranchRsp | undefined; + registerOwnershipSteamPopRsp?: RegisterOwnershipSteamPopRsp | undefined; + registerOwnershipFromOculusRsp?: RegisterOwnershipFromOculusRsp | undefined; + getGameTokenRsp?: GetGameTokenRsp | undefined; + claimKeystorageKeyRsp?: ClaimKeystorageKeyRsp | undefined; + getGameTimeTicketRsp?: GetGameTimeTicketRsp | undefined; + getGameWithdrawalRightsRsp?: GetGameWithdrawalRightsRsp | undefined; + waiveGameWithdrawalRightsRsp?: WaiveGameWithdrawalRightsRsp | undefined; + signOwnershipRsp?: SignOwnershipRsp | undefined; + registerOwnershipFromWegameRsp?: RegisterOwnershipFromWeGameRsp | undefined; + ownershipTokenRsp?: OwnershipTokenRsp | undefined; + registerTemporaryOwnershipRsp?: RegisterTemporaryOwnershipRsp | undefined; } export interface OwnedGamePush { - ownedGamesContainer?: OwnedGamesContainer; - ownedGames?: OwnedGames; + ownedGamesContainer?: OwnedGamesContainer | undefined; + ownedGames?: OwnedGames | undefined; removedProducts: number[]; } @@ -652,16 +652,16 @@ export interface SubscriptionPush { } export interface Push { - ownedGamePush?: OwnedGamePush; - uplayCoreGameInitializedPush?: UplayCoreGameInitializedPush; - subscriptionPush?: SubscriptionPush; + ownedGamePush?: OwnedGamePush | undefined; + uplayCoreGameInitializedPush?: UplayCoreGameInitializedPush | undefined; + subscriptionPush?: SubscriptionPush | undefined; } export interface Upstream { - request?: Req; + request?: Req | undefined; } export interface Downstream { - response?: Rsp; - push?: Push; + response?: Rsp | undefined; + push?: Push | undefined; } diff --git a/src/generated/proto_party/party.ts b/src/generated/proto_party/party.ts index 9745e59..c7f4fa0 100644 --- a/src/generated/proto_party/party.ts +++ b/src/generated/proto_party/party.ts @@ -16,7 +16,7 @@ export interface Party { export interface ReconnectInfo { reconnectOk: boolean; - party?: Party; + party?: Party | undefined; } export interface StartSessionReq { @@ -25,7 +25,7 @@ export interface StartSessionReq { export interface StartSessionRsp { cookie: number; - reconnectInfo?: ReconnectInfo; + reconnectInfo?: ReconnectInfo | undefined; } export interface User { @@ -56,15 +56,15 @@ export interface GameSession { } export interface PartyMember { - user?: User; + user?: User | undefined; status: PartyMember_Status; - gameSession?: GameSession; - gameSessionRemoved?: GameSessionRemoved; - guest?: Guest; - guestRemoved?: GuestRemoved; + gameSession?: GameSession | undefined; + gameSessionRemoved?: GameSessionRemoved | undefined; + guest?: Guest | undefined; + guestRemoved?: GuestRemoved | undefined; partyOwner: boolean; userData: Buffer; - userDataRemoved?: UserDataRemoved; + userDataRemoved?: UserDataRemoved | undefined; } export enum PartyMember_Status { @@ -86,14 +86,14 @@ export interface PartyInviteReq { productName: string; chatChannelId: number; maxPartySize: number; - guest?: Guest; + guest?: Guest | undefined; userData: Buffer; - gameSession?: GameSession; + gameSession?: GameSession | undefined; } export interface PartyInviteRsp { ok: boolean; - party?: Party; + party?: Party | undefined; } export interface LeaveReq { @@ -106,9 +106,9 @@ export interface LeaveRsp { export interface PartyInviteResponseReq { partyId: number; response: PartyInviteResponseReq_Response; - guest?: Guest; + guest?: Guest | undefined; userData: Buffer; - gameSession?: GameSession; + gameSession?: GameSession | undefined; } export enum PartyInviteResponseReq_Response { @@ -119,11 +119,11 @@ export enum PartyInviteResponseReq_Response { export interface PartyInviteResponseRsp { result: PartyReqResult; - party?: Party; + party?: Party | undefined; } export interface PromoteToLeaderReq { - user?: User; + user?: User | undefined; } export interface PromoteToLeaderRsp { @@ -146,7 +146,7 @@ export interface GameSessionInviteRsp { } export interface SetInGameSessionReq { - gameSession?: GameSession; + gameSession?: GameSession | undefined; } export interface SetInGameSessionRsp { @@ -154,7 +154,7 @@ export interface SetInGameSessionRsp { } export interface SetGuestReq { - guest?: Guest; + guest?: Guest | undefined; } export interface SetGuestRsp { @@ -166,7 +166,7 @@ export interface ChatMessage { } export interface ChatMessageReq { - chatMessage?: ChatMessage; + chatMessage?: ChatMessage | undefined; } export interface ChatMessageRsp { @@ -175,38 +175,38 @@ export interface ChatMessageRsp { export interface Req { requestId: number; - partyInviteReq?: PartyInviteReq; - partyInviteResponseReq?: PartyInviteResponseReq; - leaveReq?: LeaveReq; - gameSessionInviteReq?: GameSessionInviteReq; - setInGameSessionReq?: SetInGameSessionReq; - setUserDataReq?: SetUserDataReq; - promoteLeaderReq?: PromoteToLeaderReq; - setGuestReq?: SetGuestReq; - startSessionReq?: StartSessionReq; - chatMessageReq?: ChatMessageReq; + partyInviteReq?: PartyInviteReq | undefined; + partyInviteResponseReq?: PartyInviteResponseReq | undefined; + leaveReq?: LeaveReq | undefined; + gameSessionInviteReq?: GameSessionInviteReq | undefined; + setInGameSessionReq?: SetInGameSessionReq | undefined; + setUserDataReq?: SetUserDataReq | undefined; + promoteLeaderReq?: PromoteToLeaderReq | undefined; + setGuestReq?: SetGuestReq | undefined; + startSessionReq?: StartSessionReq | undefined; + chatMessageReq?: ChatMessageReq | undefined; } export interface Rsp { requestId: number; - partyInviteRsp?: PartyInviteRsp; - partyInviteResponseRsp?: PartyInviteResponseRsp; - leaveRsp?: LeaveRsp; - gameSessionInviteRsp?: GameSessionInviteRsp; - setInGameSessionRsp?: SetInGameSessionRsp; - setUserDataRsp?: SetUserDataRsp; - promoteLeaderRsp?: PromoteToLeaderRsp; - setGuestRsp?: SetGuestRsp; - startSessionRsp?: StartSessionRsp; - chatMessageRsp?: ChatMessageRsp; + partyInviteRsp?: PartyInviteRsp | undefined; + partyInviteResponseRsp?: PartyInviteResponseRsp | undefined; + leaveRsp?: LeaveRsp | undefined; + gameSessionInviteRsp?: GameSessionInviteRsp | undefined; + setInGameSessionRsp?: SetInGameSessionRsp | undefined; + setUserDataRsp?: SetUserDataRsp | undefined; + promoteLeaderRsp?: PromoteToLeaderRsp | undefined; + setGuestRsp?: SetGuestRsp | undefined; + startSessionRsp?: StartSessionRsp | undefined; + chatMessageRsp?: ChatMessageRsp | undefined; } export interface PartyChangedPush { - partyUpdate?: PartyUpdate; + partyUpdate?: PartyUpdate | undefined; } export interface PartyInvitationPush { - party?: Party; + party?: Party | undefined; uplayId: string; productName: string; fromAccountId: string; @@ -214,26 +214,26 @@ export interface PartyInvitationPush { } export interface GameInvitePush { - gameSession?: GameSession; + gameSession?: GameSession | undefined; } export interface ChatMessagePush { - sender?: User; - chatMessage?: ChatMessage; + sender?: User | undefined; + chatMessage?: ChatMessage | undefined; } export interface Push { - partyChangedPush?: PartyChangedPush; - partyInvitationPush?: PartyInvitationPush; - gameInvitePush?: GameInvitePush; - chatMessagePush?: ChatMessagePush; + partyChangedPush?: PartyChangedPush | undefined; + partyInvitationPush?: PartyInvitationPush | undefined; + gameInvitePush?: GameInvitePush | undefined; + chatMessagePush?: ChatMessagePush | undefined; } export interface Upstream { - request?: Req; + request?: Req | undefined; } export interface Downstream { - response?: Rsp; - push?: Push; + response?: Rsp | undefined; + push?: Push | undefined; } diff --git a/src/generated/proto_pcbang/pcbang.ts b/src/generated/proto_pcbang/pcbang.ts index 2fcc8b1..436ab63 100644 --- a/src/generated/proto_pcbang/pcbang.ts +++ b/src/generated/proto_pcbang/pcbang.ts @@ -51,9 +51,9 @@ export interface Rsp { } export interface Upstream { - request?: Req; + request?: Req | undefined; } export interface Downstream { - response?: Rsp; + response?: Rsp | undefined; } diff --git a/src/generated/proto_playtime/playtime.ts b/src/generated/proto_playtime/playtime.ts index 73f4eb6..ddd0edd 100644 --- a/src/generated/proto_playtime/playtime.ts +++ b/src/generated/proto_playtime/playtime.ts @@ -45,22 +45,22 @@ export interface GetFriendsPlaytimeRsp { export interface Req { requestId: number; - updatePlaytimeReq?: UpdatePlaytimeReq; - getPlaytimeReq?: GetPlaytimeReq; - getFriendsPlaytimeReq?: GetFriendsPlaytimeReq; + updatePlaytimeReq?: UpdatePlaytimeReq | undefined; + getPlaytimeReq?: GetPlaytimeReq | undefined; + getFriendsPlaytimeReq?: GetFriendsPlaytimeReq | undefined; } export interface Rsp { requestId: number; - updatePlaytimeRsp?: UpdatePlaytimeRsp; - getPlaytimeRsp?: GetPlaytimeRsp; - getFriendsPlaytimeRsp?: GetFriendsPlaytimeRsp; + updatePlaytimeRsp?: UpdatePlaytimeRsp | undefined; + getPlaytimeRsp?: GetPlaytimeRsp | undefined; + getFriendsPlaytimeRsp?: GetFriendsPlaytimeRsp | undefined; } export interface Upstream { - request?: Req; + request?: Req | undefined; } export interface Downstream { - response?: Rsp; + response?: Rsp | undefined; } diff --git a/src/generated/proto_settings/common_settings.ts b/src/generated/proto_settings/common_settings.ts index f3bfd8c..5c62ddd 100644 --- a/src/generated/proto_settings/common_settings.ts +++ b/src/generated/proto_settings/common_settings.ts @@ -56,8 +56,8 @@ export interface Position { } export interface ModelessPositions { - friendsWindow?: Position; - conversationsWindow?: Position; + friendsWindow?: Position | undefined; + conversationsWindow?: Position | undefined; } export interface Masters { diff --git a/src/generated/proto_settings/settings.ts b/src/generated/proto_settings/settings.ts index 47ab2e6..9068a38 100644 --- a/src/generated/proto_settings/settings.ts +++ b/src/generated/proto_settings/settings.ts @@ -43,25 +43,25 @@ export interface Notifications { } export interface SettingsModel { - user?: User; - overlay?: Overlay; - language?: Language; - misc?: Misc; - position?: Position; - notifications?: Notifications; - masters?: Masters; - hotkeysOverlayToggle?: Hotkey; - hotkeysOverlayHide?: Hotkey; - hotkeysCaptureScreenshot?: Hotkey; - downloads?: Downloads; - betas?: Betas; - autoPatching?: AutoPatching; - spotlight?: Spotlight; - modelessPositions?: ModelessPositions; - conversations?: Conversations; - epic?: Epic; - brandedInstaller?: BrandedInstaller; - sharePlay?: SharePlay; - connectView?: ConnectView; - remotePlay?: RemotePlay; + user?: User | undefined; + overlay?: Overlay | undefined; + language?: Language | undefined; + misc?: Misc | undefined; + position?: Position | undefined; + notifications?: Notifications | undefined; + masters?: Masters | undefined; + hotkeysOverlayToggle?: Hotkey | undefined; + hotkeysOverlayHide?: Hotkey | undefined; + hotkeysCaptureScreenshot?: Hotkey | undefined; + downloads?: Downloads | undefined; + betas?: Betas | undefined; + autoPatching?: AutoPatching | undefined; + spotlight?: Spotlight | undefined; + modelessPositions?: ModelessPositions | undefined; + conversations?: Conversations | undefined; + epic?: Epic | undefined; + brandedInstaller?: BrandedInstaller | undefined; + sharePlay?: SharePlay | undefined; + connectView?: ConnectView | undefined; + remotePlay?: RemotePlay | undefined; } diff --git a/src/generated/proto_statistics/Statistics.ts b/src/generated/proto_statistics/Statistics.ts index e2b3301..8d490e6 100644 --- a/src/generated/proto_statistics/Statistics.ts +++ b/src/generated/proto_statistics/Statistics.ts @@ -627,21 +627,6 @@ export interface TrustedDeviceActionData { defaultFriendlyName: boolean; } -export interface GameStarterStartRequestObjectData { - steamId: string; - steamTicket: string; -} - -export interface MercuryCheckoutRequestObjectData { - steamId: string; - partnerPlatformType: string; -} - -export interface MercuryWebshopGetObjectData { - partnerPlatformType: string; - misconfiguredProductSteamIds: string; -} - export interface SharePlayHostSessionStreamingStartData { hostPeerId: string; side: string; @@ -786,11 +771,11 @@ export interface StreamingHostLinkCreatedEvent { } export interface EventTypeData { - gameStart?: GameStartTypeData; - gameLocalization?: GameLocalizationTypeData; - contextStart?: ContextStartTypeData; - contextStop?: ContextStopTypeData; - playerNewsImpression?: PlayerNewsImpressionTypeData; + gameStart?: GameStartTypeData | undefined; + gameLocalization?: GameLocalizationTypeData | undefined; + contextStart?: ContextStartTypeData | undefined; + contextStop?: ContextStopTypeData | undefined; + playerNewsImpression?: PlayerNewsImpressionTypeData | undefined; } export interface RemotePlayHostSessionStreamingStartData { @@ -808,73 +793,70 @@ export interface RemotePlayHostSessionStreamingStopData { } export interface EventObjectData { - gameLaunch?: GameLaunchObjectData; - uiNav?: UINavObjectData; - appStart?: AppStartObjectData; - download?: DownloadObjectData; - followLink?: FollowLinkObjectData; - gameCloudSaveSync?: GameCloudSaveSyncObjectData; - settingChanged?: SettingChangedObjectData; - machineConf?: MachineConfObjectData; - dlError?: DLErrorObjectData; - appQuit?: AppQuitObjectData; - decompressSliceError?: DecompressSliceErrorObjectData; - gameEnd?: GameEndObjectData; - httpServiceRequest?: HttpServiceRequestObjectData; - importSteamFriends?: ImportSteamFriendsObjectData; - activateProduct?: ActivateProductObjectData; - friendAction?: FriendActionObjectData; - redeemReward?: RedeemRewardObjectData; - accountCreation?: AccountCreationObjectData; - streamingSession?: StreamingSessionObjectData; - accountLinking?: AccountLinkingObjectData; - chatSession?: ChatSessionObjectData; - party?: PartyObjectData; - challengeAction?: ChallengeActionObjectData; - newsClick?: NewsClickObjectData; - newsImpression?: NewsImpressionObjectData; - newsInteraction?: NewsInteractionObjectData; - shopAddToCart?: ShopAddToCartObjectData; - ticketRenewalFailure?: TicketRenewalFailureObjectData; - groupAction?: GroupActionObjectData; - diagnostic?: DiagnosticObjectData; - ingameShopAction?: IngameShopActionObjectData; - IngameShopImpression?: IngameShopImpressionObjectData; - promoTabInteraction?: PromoTabInteractionObjectData; - emailVerification?: EmailVerificationObjectData; - twoFAActivation?: TwoFAActivationObjectData; - adImpression?: AdImpressionObjectData; - popUpDisplayEvent?: PopUpDisplayEventObjectData; - newsOpen?: NewsOpenObjectData; - battlePassAction?: BattlePassActionObjectData; - trustedDeviceAction?: TrustedDeviceActionData; - friendSuggestionAction?: FriendSuggestionActionObjectData; - friendSuggestionImpression?: FriendSuggestionImpressionObjectData; - phoneSecurity?: PhoneSecurityObjectData; - SendSmsAction?: SendSmsTrackEventActionObjectData; - sharePlaySessionStart?: SharePlayHostSessionStreamingStartData; - sharePlaySessionStop?: SharePlayHostSessionStreamingStopData; - sharePlayHostPage?: SharePlayHostPageData; - sharePlayGuestInvitation?: SharePlayGuestInvitationData; - sharePlayHostInvitation?: SharePlayHostInvitationData; - sharePlayHostError?: SharePlayHostErrorData; - sharePlayHostSettings?: SharePlayHostSettingsData; - sharePlayOnboarding?: SharePlayOnboardingData; - streamingHostOutOfFocusStart?: StreamingHostOutOfFocusStartData; - streamingHostOutOfFocusStop?: StreamingHostOutOfFocusStopData; - streamingFeedBack?: StreamingFeedBackData; - streamingHostStartSession?: StreamingHostStartSessionData; - streamingHostStopSession?: StreamingHostStopSessionData; - streamingError?: StreamingErrorData; - streamingHostSessionSettings?: StreamingHostSessionSettingsChanged; - streamingVGPEvent?: StreamingVGPEvent; - streamingHostLinkCreated?: StreamingHostLinkCreatedEvent; - remotePlaySessionStart?: RemotePlayHostSessionStreamingStartData; - remotePlaySessionStop?: RemotePlayHostSessionStreamingStopData; - streamingStatus?: StreamingStatusData; - gameStarterStartRequest?: GameStarterStartRequestObjectData; - mercuryCheckoutRequest?: MercuryCheckoutRequestObjectData; - mercuryWebshopGet?: MercuryWebshopGetObjectData; + gameLaunch?: GameLaunchObjectData | undefined; + uiNav?: UINavObjectData | undefined; + appStart?: AppStartObjectData | undefined; + download?: DownloadObjectData | undefined; + followLink?: FollowLinkObjectData | undefined; + gameCloudSaveSync?: GameCloudSaveSyncObjectData | undefined; + settingChanged?: SettingChangedObjectData | undefined; + machineConf?: MachineConfObjectData | undefined; + dlError?: DLErrorObjectData | undefined; + appQuit?: AppQuitObjectData | undefined; + decompressSliceError?: DecompressSliceErrorObjectData | undefined; + gameEnd?: GameEndObjectData | undefined; + httpServiceRequest?: HttpServiceRequestObjectData | undefined; + importSteamFriends?: ImportSteamFriendsObjectData | undefined; + activateProduct?: ActivateProductObjectData | undefined; + friendAction?: FriendActionObjectData | undefined; + redeemReward?: RedeemRewardObjectData | undefined; + accountCreation?: AccountCreationObjectData | undefined; + streamingSession?: StreamingSessionObjectData | undefined; + accountLinking?: AccountLinkingObjectData | undefined; + chatSession?: ChatSessionObjectData | undefined; + party?: PartyObjectData | undefined; + challengeAction?: ChallengeActionObjectData | undefined; + newsClick?: NewsClickObjectData | undefined; + newsImpression?: NewsImpressionObjectData | undefined; + newsInteraction?: NewsInteractionObjectData | undefined; + shopAddToCart?: ShopAddToCartObjectData | undefined; + ticketRenewalFailure?: TicketRenewalFailureObjectData | undefined; + groupAction?: GroupActionObjectData | undefined; + diagnostic?: DiagnosticObjectData | undefined; + ingameShopAction?: IngameShopActionObjectData | undefined; + IngameShopImpression?: IngameShopImpressionObjectData | undefined; + promoTabInteraction?: PromoTabInteractionObjectData | undefined; + emailVerification?: EmailVerificationObjectData | undefined; + twoFAActivation?: TwoFAActivationObjectData | undefined; + adImpression?: AdImpressionObjectData | undefined; + popUpDisplayEvent?: PopUpDisplayEventObjectData | undefined; + newsOpen?: NewsOpenObjectData | undefined; + battlePassAction?: BattlePassActionObjectData | undefined; + trustedDeviceAction?: TrustedDeviceActionData | undefined; + friendSuggestionAction?: FriendSuggestionActionObjectData | undefined; + friendSuggestionImpression?: FriendSuggestionImpressionObjectData | undefined; + phoneSecurity?: PhoneSecurityObjectData | undefined; + SendSmsAction?: SendSmsTrackEventActionObjectData | undefined; + sharePlaySessionStart?: SharePlayHostSessionStreamingStartData | undefined; + sharePlaySessionStop?: SharePlayHostSessionStreamingStopData | undefined; + sharePlayHostPage?: SharePlayHostPageData | undefined; + sharePlayGuestInvitation?: SharePlayGuestInvitationData | undefined; + sharePlayHostInvitation?: SharePlayHostInvitationData | undefined; + sharePlayHostError?: SharePlayHostErrorData | undefined; + sharePlayHostSettings?: SharePlayHostSettingsData | undefined; + sharePlayOnboarding?: SharePlayOnboardingData | undefined; + streamingHostOutOfFocusStart?: StreamingHostOutOfFocusStartData | undefined; + streamingHostOutOfFocusStop?: StreamingHostOutOfFocusStopData | undefined; + streamingFeedBack?: StreamingFeedBackData | undefined; + streamingHostStartSession?: StreamingHostStartSessionData | undefined; + streamingHostStopSession?: StreamingHostStopSessionData | undefined; + streamingError?: StreamingErrorData | undefined; + streamingHostSessionSettings?: StreamingHostSessionSettingsChanged | undefined; + streamingVGPEvent?: StreamingVGPEvent | undefined; + streamingHostLinkCreated?: StreamingHostLinkCreatedEvent | undefined; + remotePlaySessionStart?: RemotePlayHostSessionStreamingStartData | undefined; + remotePlaySessionStop?: RemotePlayHostSessionStreamingStopData | undefined; + streamingStatus?: StreamingStatusData | undefined; } export interface Event { @@ -882,8 +864,8 @@ export interface Event { seqId: number; createdDate: string; contexts: number[]; - obj?: EventObjectData; - typeData?: EventTypeData; + obj?: EventObjectData | undefined; + typeData?: EventTypeData | undefined; buildNumber: number; clientVersion: string; ownedGames: number; @@ -892,7 +874,7 @@ export interface Event { } export interface TrackingSession { - endEvent?: Event; + endEvent?: Event | undefined; runtimeSeconds: number; secondsSinceStart: number; } diff --git a/src/generated/proto_steam_service/steam_service.ts b/src/generated/proto_steam_service/steam_service.ts index cd5ae36..02846c2 100644 --- a/src/generated/proto_steam_service/steam_service.ts +++ b/src/generated/proto_steam_service/steam_service.ts @@ -31,24 +31,24 @@ export interface GetSteamUserInfoReq { } export interface GetSteamUserInfoRsp { - steamUserInfo?: SteamUserInfo; + steamUserInfo?: SteamUserInfo | undefined; success: boolean; } export interface Req { - getSteamFriendsReq?: GetSteamFriendsReq; - getSteamUserInfoReq?: GetSteamUserInfoReq; + getSteamFriendsReq?: GetSteamFriendsReq | undefined; + getSteamUserInfoReq?: GetSteamUserInfoReq | undefined; } export interface Rsp { - getSteamFriendsRsp?: GetSteamFriendsRsp; - getSteamUserInfoRsp?: GetSteamUserInfoRsp; + getSteamFriendsRsp?: GetSteamFriendsRsp | undefined; + getSteamUserInfoRsp?: GetSteamUserInfoRsp | undefined; } export interface Upstream { - request?: Req; + request?: Req | undefined; } export interface Downstream { - response?: Rsp; + response?: Rsp | undefined; } diff --git a/src/generated/proto_store/store.ts b/src/generated/proto_store/store.ts index 86cc1b2..43c9169 100644 --- a/src/generated/proto_store/store.ts +++ b/src/generated/proto_store/store.ts @@ -72,7 +72,7 @@ export interface InitializeReq { export interface InitializeRsp { success: boolean; - storefront?: Storefront; + storefront?: Storefront | undefined; } export interface GetStoreReq { @@ -135,41 +135,41 @@ export interface CheckoutRsp { } export interface IngameStoreCheckoutReq { - ingameStoreCredentials?: IngameStoreCredentials; - checkoutReq?: CheckoutReq; + ingameStoreCredentials?: IngameStoreCredentials | undefined; + checkoutReq?: CheckoutReq | undefined; } export interface IngameStoreCheckoutRsp { result: StoreResult; - checkoutRsp?: CheckoutRsp; + checkoutRsp?: CheckoutRsp | undefined; } export interface Push { - storeUpdate?: StoreUpdatedPush; - revisionsUpdatedPush?: RevisionsUpdatedPush; + storeUpdate?: StoreUpdatedPush | undefined; + revisionsUpdatedPush?: RevisionsUpdatedPush | undefined; } export interface Req { requestId: number; - initializeReq?: InitializeReq; - getStoreReq?: GetStoreReq; - getDataReq?: GetDataReq; - ingameStoreCheckoutReq?: IngameStoreCheckoutReq; + initializeReq?: InitializeReq | undefined; + getStoreReq?: GetStoreReq | undefined; + getDataReq?: GetDataReq | undefined; + ingameStoreCheckoutReq?: IngameStoreCheckoutReq | undefined; } export interface Rsp { requestId: number; - initializeRsp?: InitializeRsp; - getStoreRsp?: GetStoreRsp; - getDataRsp?: GetDataRsp; - ingameStoreCheckoutRsp?: IngameStoreCheckoutRsp; + initializeRsp?: InitializeRsp | undefined; + getStoreRsp?: GetStoreRsp | undefined; + getDataRsp?: GetDataRsp | undefined; + ingameStoreCheckoutRsp?: IngameStoreCheckoutRsp | undefined; } export interface Upstream { - request?: Req; + request?: Req | undefined; } export interface Downstream { - response?: Rsp; - push?: Push; + response?: Rsp | undefined; + push?: Push | undefined; } diff --git a/src/generated/proto_uplay/Uplay.ts b/src/generated/proto_uplay/Uplay.ts index 6acd9fd..d28b890 100644 --- a/src/generated/proto_uplay/Uplay.ts +++ b/src/generated/proto_uplay/Uplay.ts @@ -17,8 +17,8 @@ export interface Product { } export interface ProductAchievements { - product?: Product; - achievements?: Achievements; + product?: Product | undefined; + achievements?: Achievements | undefined; } export interface AchievementBlob { @@ -34,7 +34,7 @@ export interface AuthenticateRsp { } export interface WriteAchievementsReq { - achievementBlob?: AchievementBlob; + achievementBlob?: AchievementBlob | undefined; } export interface WriteAchievementsRsp { @@ -42,24 +42,24 @@ export interface WriteAchievementsRsp { export interface ReadAchievementsReq { userId: string; - product?: Product; + product?: Product | undefined; } export interface ReadAchievementsRsp { userId: string; - achievementBlob?: AchievementBlob; + achievementBlob?: AchievementBlob | undefined; } export interface Req { requestId: number; - authenticateReq?: AuthenticateReq; - readAchievementsReq?: ReadAchievementsReq; - writeAchievementsReq?: WriteAchievementsReq; + authenticateReq?: AuthenticateReq | undefined; + readAchievementsReq?: ReadAchievementsReq | undefined; + writeAchievementsReq?: WriteAchievementsReq | undefined; } export interface Rsp { requestId: number; - authenticateRsp?: AuthenticateRsp; - readAchievementsRsp?: ReadAchievementsRsp; - writeAchievementsRsp?: WriteAchievementsRsp; + authenticateRsp?: AuthenticateRsp | undefined; + readAchievementsRsp?: ReadAchievementsRsp | undefined; + writeAchievementsRsp?: WriteAchievementsRsp | undefined; } diff --git a/src/generated/proto_uplay_service/uplay_service.ts b/src/generated/proto_uplay_service/uplay_service.ts index 983be8b..16843c4 100644 --- a/src/generated/proto_uplay_service/uplay_service.ts +++ b/src/generated/proto_uplay_service/uplay_service.ts @@ -27,11 +27,11 @@ export interface GearResult { } export interface Req { - startInstall?: StartInstall; - installingDependency?: InstallingDependency; - dependencyInstalled?: DependencyInstalled; - installCompleted?: InstallCompleted; - gearResult?: GearResult; + startInstall?: StartInstall | undefined; + installingDependency?: InstallingDependency | undefined; + dependencyInstalled?: DependencyInstalled | undefined; + installCompleted?: InstallCompleted | undefined; + gearResult?: GearResult | undefined; } export interface DependencyRestartRsp { @@ -39,21 +39,21 @@ export interface DependencyRestartRsp { } export interface Rsp { - restart?: DependencyRestartRsp; + restart?: DependencyRestartRsp | undefined; } export interface CancelInstallPush { } export interface Push { - cancelInstall?: CancelInstallPush; + cancelInstall?: CancelInstallPush | undefined; } export interface Upstream { - req?: Req; + req?: Req | undefined; } export interface Downstream { - rsp?: Rsp; - push?: Push; + rsp?: Rsp | undefined; + push?: Push | undefined; } diff --git a/src/generated/proto_uplayauxdll/UplayAuxDll.ts b/src/generated/proto_uplayauxdll/UplayAuxDll.ts index 9f97853..ec1d6ad 100644 --- a/src/generated/proto_uplayauxdll/UplayAuxDll.ts +++ b/src/generated/proto_uplayauxdll/UplayAuxDll.ts @@ -33,7 +33,7 @@ export interface DevArgs { export interface InitReq { uplayId: number; - devArgs?: DevArgs; + devArgs?: DevArgs | undefined; } export interface InitRsp { @@ -66,24 +66,24 @@ export interface GetBurnTicketRsp { } export interface ActivateReq { - invalidateCachedTokenReq?: InvalidateCachedTokenReq; - getCachedOrFreshTokenReq?: GetCachedOrFreshTokenReq; - getBurnTicketReq?: GetBurnTicketReq; + invalidateCachedTokenReq?: InvalidateCachedTokenReq | undefined; + getCachedOrFreshTokenReq?: GetCachedOrFreshTokenReq | undefined; + getBurnTicketReq?: GetBurnTicketReq | undefined; } export interface ActivateRsp { - getCachedOrFreshTokenRsp?: GetCachedOrFreshTokenRsp; - getBurnTicketRsp?: GetBurnTicketRsp; + getCachedOrFreshTokenRsp?: GetCachedOrFreshTokenRsp | undefined; + getBurnTicketRsp?: GetBurnTicketRsp | undefined; } export interface Req { requestId: number; - initReq?: InitReq; - activateReq?: ActivateReq; + initReq?: InitReq | undefined; + activateReq?: ActivateReq | undefined; } export interface Rsp { requestId: number; - initRsp?: InitRsp; - activateRsp?: ActivateRsp; + initRsp?: InitRsp | undefined; + activateRsp?: ActivateRsp | undefined; } diff --git a/src/generated/proto_uplaydll/UplayDll.ts b/src/generated/proto_uplaydll/UplayDll.ts index 299812e..fadf5df 100644 --- a/src/generated/proto_uplaydll/UplayDll.ts +++ b/src/generated/proto_uplaydll/UplayDll.ts @@ -216,11 +216,11 @@ export interface SDKMonitoringConfig { } export interface SDKMonitoringReq { - sdkMonitoringInfoPush?: SDKMonitoringInfoPush; + sdkMonitoringInfoPush?: SDKMonitoringInfoPush | undefined; } export interface SDKMonitoringRsp { - sdkMonitoringConfig?: SDKMonitoringConfig; + sdkMonitoringConfig?: SDKMonitoringConfig | undefined; } export interface Consumable { @@ -250,7 +250,7 @@ export interface InitProcessReq { uplayId: number; processId: number; apiVersion: number; - devArgs?: DevArgs; + devArgs?: DevArgs | undefined; uplayEnvIsSet: boolean; } @@ -269,7 +269,7 @@ export interface GameOptions { export interface GameInstall { success: boolean; - chunks?: Chunks; + chunks?: Chunks | undefined; language: string; } @@ -302,7 +302,7 @@ export interface UbiServices { export interface InitRsp { result: InitResult; - account?: Account; + account?: Account | undefined; connected: boolean; gameUplayId: number; uplayIds: number[]; @@ -311,18 +311,18 @@ export interface InitRsp { upcTicket: string; consumables: Consumable[]; uplayPID: number; - sdkMonitoringConfig?: SDKMonitoringConfig; + sdkMonitoringConfig?: SDKMonitoringConfig | undefined; devmode: boolean; - gameOptions?: GameOptions; - gameInstall?: GameInstall; - overlay?: Overlay; - hwBenchmark?: HardwareBenchmark; - storage?: Storage; - friendInit?: FriendInit; - storeInit?: StoreInit; - multiplayerInit?: MultiplayerInit; - userInit?: UserInit; - ubiServices?: UbiServices; + gameOptions?: GameOptions | undefined; + gameInstall?: GameInstall | undefined; + overlay?: Overlay | undefined; + hwBenchmark?: HardwareBenchmark | undefined; + storage?: Storage | undefined; + friendInit?: FriendInit | undefined; + storeInit?: StoreInit | undefined; + multiplayerInit?: MultiplayerInit | undefined; + userInit?: UserInit | undefined; + ubiServices?: UbiServices | undefined; } export interface InitProcessRsp { @@ -330,7 +330,7 @@ export interface InitProcessRsp { uplayPID: number; overlayEnabled: boolean; overlayInjectionMethod: OverlayInjectionMethod; - sdkMonitoringConfig?: SDKMonitoringConfig; + sdkMonitoringConfig?: SDKMonitoringConfig | undefined; devmode: boolean; } @@ -354,7 +354,7 @@ export interface SetRichPresenceRsp { } export interface RichPresenceReq { - setReq?: SetRichPresenceReq; + setReq?: SetRichPresenceReq | undefined; } export interface AchievementInBlob { @@ -369,7 +369,7 @@ export interface AchievementsBlob { } export interface TakenAchievement { - achievement?: AchievementInBlob; + achievement?: AchievementInBlob | undefined; timestamp: number; } @@ -378,7 +378,7 @@ export interface Spool { } export interface WriteAchievementsReq { - achievement?: AchievementInBlob; + achievement?: AchievementInBlob | undefined; } export interface WriteAchievementsRsp { @@ -428,15 +428,15 @@ export interface EarnAchievementRsp { } export interface AchievementReq { - getReq?: GetAchievementsReq; - imageReq?: GetAchievementImageReq; - earnReq?: EarnAchievementReq; + getReq?: GetAchievementsReq | undefined; + imageReq?: GetAchievementImageReq | undefined; + earnReq?: EarnAchievementReq | undefined; } export interface AchievementRsp { - getRsp?: GetAchievementsRsp; - imageRsp?: GetAchievementImageRsp; - earnRsp?: EarnAchievementRsp; + getRsp?: GetAchievementsRsp | undefined; + imageRsp?: GetAchievementImageRsp | undefined; + earnRsp?: EarnAchievementRsp | undefined; } export interface GameSession { @@ -458,7 +458,7 @@ export interface PartyMember { name: string; gameSessionId: number; gameSessionData: Buffer; - guest?: Guest; + guest?: Guest | undefined; userData: Buffer; } @@ -492,7 +492,7 @@ export interface InvitePartyToGameRsp { export interface ShowGameInviteOverlayUIReq { inviteId: number; - gameSession?: GameSession; + gameSession?: GameSession | undefined; } export interface PartyListUpdatedPush { @@ -520,7 +520,7 @@ export interface SetInPartyGameSessionReq { export interface GameInvitePush { inviteId: number; - gameSession?: GameSession; + gameSession?: GameSession | undefined; fromAccountId: string; } @@ -537,28 +537,28 @@ export interface PartyInvitePush { } export interface PartyReq { - initPartyReq?: InitPartyReq; - inviteToPartyReq?: InviteToPartyReq; - invitePartyToGameReq?: InvitePartyToGameReq; - setUserDataReq?: SetUserDataReq; - promoteToLeaderReq?: PromoteToLeaderReq; - gameInviteOverlayUIReq?: ShowGameInviteOverlayUIReq; + initPartyReq?: InitPartyReq | undefined; + inviteToPartyReq?: InviteToPartyReq | undefined; + invitePartyToGameReq?: InvitePartyToGameReq | undefined; + setUserDataReq?: SetUserDataReq | undefined; + promoteToLeaderReq?: PromoteToLeaderReq | undefined; + gameInviteOverlayUIReq?: ShowGameInviteOverlayUIReq | undefined; } export interface PartyRsp { - initPartyRsp?: InitPartyRsp; - listUpdatePush?: PartyListUpdatedPush; - gameInviteAcceptedPush?: GameInviteAcceptedPush; - gameInviteDeclinedPush?: GameInviteDeclinedPush; - invitePartyToGameRsp?: InvitePartyToGameRsp; - inviteToPartyRsp?: InviteToPartyRsp; - gameInvitePush?: GameInvitePush; - promoteToLeaderRsp?: PromoteToLeaderRsp; - partyInvitePush?: PartyInvitePush; + initPartyRsp?: InitPartyRsp | undefined; + listUpdatePush?: PartyListUpdatedPush | undefined; + gameInviteAcceptedPush?: GameInviteAcceptedPush | undefined; + gameInviteDeclinedPush?: GameInviteDeclinedPush | undefined; + invitePartyToGameRsp?: InvitePartyToGameRsp | undefined; + inviteToPartyRsp?: InviteToPartyRsp | undefined; + gameInvitePush?: GameInvitePush | undefined; + promoteToLeaderRsp?: PromoteToLeaderRsp | undefined; + partyInvitePush?: PartyInvitePush | undefined; } export interface SetGameSessionReq { - gameSession?: GameSession; + gameSession?: GameSession | undefined; } export interface ClearGameSessionReq { @@ -588,7 +588,7 @@ export interface ConnectionRestoredPush { export interface OwnershipAddedPush { uplayId: number; cdKey: string; - product?: Product; + product?: Product | undefined; } export interface OwnershipRemovedPush { @@ -628,7 +628,7 @@ export enum ConsumeItemRsp_Result { } export interface ConsumableUpdatedPush { - consumable?: Consumable; + consumable?: Consumable | undefined; } export interface GetProfileReq { @@ -643,22 +643,22 @@ export interface GetProfileRsp { } export interface UserReq { - getCredentialsReq?: GetCredentialsReq; - consumeItemReq?: ConsumeItemReq; - getProfileReq?: GetProfileReq; + getCredentialsReq?: GetCredentialsReq | undefined; + consumeItemReq?: ConsumeItemReq | undefined; + getProfileReq?: GetProfileReq | undefined; } export interface UserRsp { - getCredentialsRsp?: GetCredentialsRsp; - accountSharingPush?: AccountSharingPush; - ownershipAddedPush?: OwnershipAddedPush; - ticketPush?: TicketPush; - consumeItemRsp?: ConsumeItemRsp; - consumableUpdatedPush?: ConsumableUpdatedPush; - ownershipRemovedPush?: OwnershipRemovedPush; - getProfileRsp?: GetProfileRsp; - trialAboutToExpirePush?: TrialAboutToExpirePush; - trialExpiredPush?: TrialExpiredPush; + getCredentialsRsp?: GetCredentialsRsp | undefined; + accountSharingPush?: AccountSharingPush | undefined; + ownershipAddedPush?: OwnershipAddedPush | undefined; + ticketPush?: TicketPush | undefined; + consumeItemRsp?: ConsumeItemRsp | undefined; + consumableUpdatedPush?: ConsumableUpdatedPush | undefined; + ownershipRemovedPush?: OwnershipRemovedPush | undefined; + getProfileRsp?: GetProfileRsp | undefined; + trialAboutToExpirePush?: TrialAboutToExpirePush | undefined; + trialExpiredPush?: TrialExpiredPush | undefined; } export interface Friend { @@ -669,7 +669,7 @@ export interface Friend { blackListed: boolean; presence: OnlineStatus; playingCurrentGame: boolean; - gameSession?: GameSession; + gameSession?: GameSession | undefined; } export interface InitFriendsReq { @@ -692,7 +692,7 @@ export interface FriendListUpdatedPushV2 { } export interface GameSessionUpdate { - gameSession?: GameSession; + gameSession?: GameSession | undefined; } export interface RequestFriendshipReq { @@ -740,7 +740,7 @@ export interface FriendSelectionFilter { export interface ShowFriendSelectionUIReq { requestId: number; - filter?: FriendSelectionFilter; + filter?: FriendSelectionFilter | undefined; } export interface ShowFriendSelectionUISuccess { @@ -755,9 +755,9 @@ export interface ShowFriendSelectionUIEmptyList { export interface ShowFriendSelectionUIRsp { requestId: number; - success?: ShowFriendSelectionUISuccess; - cancelled?: ShowFriendSelectionUICanceled; - emptyList?: ShowFriendSelectionUIEmptyList; + success?: ShowFriendSelectionUISuccess | undefined; + cancelled?: ShowFriendSelectionUICanceled | undefined; + emptyList?: ShowFriendSelectionUIEmptyList | undefined; } export interface FriendCustomMenuItemSelectedPush { @@ -771,7 +771,7 @@ export interface FriendsGameInviteAcceptReq { } export interface FriendsGameInviteAcceptedPush { - gameSession?: GameSession; + gameSession?: GameSession | undefined; accountId: string; } @@ -842,7 +842,7 @@ export interface User { id: string; name: string; relationship: Relationship; - presence?: Presence; + presence?: Presence | undefined; } export interface GetFriendListReq { @@ -859,34 +859,34 @@ export interface GetFriendListRsp { } export interface FriendsReq { - initReq?: InitFriendsReq; - requestFriendshipReq?: RequestFriendshipReq; - addToBlackListReq?: AddToBlackListReq; - showFriendSelectionUIReq?: ShowFriendSelectionUIReq; - inviteFriendToGameReq?: InviteFriendToGameReq; - showInviteFriendsToGameUIReq?: ShowInviteFriendsToGameUIReq; - addPlayedWithReq?: AddPlayedWithReq; - removeFriendshipReq?: RemoveFriendshipReq; - removeFromBlackListReq?: RemoveFromBlackListReq; - getNameReq?: GetNameReq; - gameInviteAcceptReq?: FriendsGameInviteAcceptReq; - getFriendListReq?: GetFriendListReq; + initReq?: InitFriendsReq | undefined; + requestFriendshipReq?: RequestFriendshipReq | undefined; + addToBlackListReq?: AddToBlackListReq | undefined; + showFriendSelectionUIReq?: ShowFriendSelectionUIReq | undefined; + inviteFriendToGameReq?: InviteFriendToGameReq | undefined; + showInviteFriendsToGameUIReq?: ShowInviteFriendsToGameUIReq | undefined; + addPlayedWithReq?: AddPlayedWithReq | undefined; + removeFriendshipReq?: RemoveFriendshipReq | undefined; + removeFromBlackListReq?: RemoveFromBlackListReq | undefined; + getNameReq?: GetNameReq | undefined; + gameInviteAcceptReq?: FriendsGameInviteAcceptReq | undefined; + getFriendListReq?: GetFriendListReq | undefined; } export interface FriendsRsp { - friendListUpdatedPush?: FriendListUpdatedPush; - friendsGameInviteAcceptedPush?: FriendsGameInviteAcceptedPush; - requestFriendhipRsp?: RequestFriendshipRsp; - addToBlackListRsp?: AddToBlackListRsp; - sendGameInviteRsp?: SendGameInviteRsp; - showFriendSelectionUIRsp?: ShowFriendSelectionUIRsp; - inviteFriendToGameRsp?: InviteFriendToGameRsp; - removeFriendshipRsp?: RemoveFriendshipRsp; - removeFromBlackListRsp?: RemoveFromBlackListRsp; - getNameRsp?: GetNameRsp; - getFriendListRsp?: GetFriendListRsp; - gameInvitePush?: FriendsGameInvitePush; - friendListUpdatedPushV2?: FriendListUpdatedPushV2; + friendListUpdatedPush?: FriendListUpdatedPush | undefined; + friendsGameInviteAcceptedPush?: FriendsGameInviteAcceptedPush | undefined; + requestFriendhipRsp?: RequestFriendshipRsp | undefined; + addToBlackListRsp?: AddToBlackListRsp | undefined; + sendGameInviteRsp?: SendGameInviteRsp | undefined; + showFriendSelectionUIRsp?: ShowFriendSelectionUIRsp | undefined; + inviteFriendToGameRsp?: InviteFriendToGameRsp | undefined; + removeFriendshipRsp?: RemoveFriendshipRsp | undefined; + removeFromBlackListRsp?: RemoveFromBlackListRsp | undefined; + getNameRsp?: GetNameRsp | undefined; + getFriendListRsp?: GetFriendListRsp | undefined; + gameInvitePush?: FriendsGameInvitePush | undefined; + friendListUpdatedPushV2?: FriendListUpdatedPushV2 | undefined; } export interface GetAvatarReq { @@ -902,11 +902,11 @@ export interface GetAvatarRsp { } export interface AvatarReq { - getAvatarReq?: GetAvatarReq; + getAvatarReq?: GetAvatarReq | undefined; } export interface AvatarRsp { - getAvatarRsp?: GetAvatarRsp; + getAvatarRsp?: GetAvatarRsp | undefined; } export interface Product { @@ -945,7 +945,7 @@ export interface ProductConsumeRsp { } export interface ProductAddedPush { - product?: Product; + product?: Product | undefined; } export interface ProductUpdatedPush { @@ -956,15 +956,15 @@ export interface ProductUpdatedPush { } export interface ProductReq { - getProductListReq?: GetProductListReq; - productConsumeReq?: ProductConsumeReq; + getProductListReq?: GetProductListReq | undefined; + productConsumeReq?: ProductConsumeReq | undefined; } export interface ProductRsp { - getProductListRsp?: GetProductListRsp; - productConsumeRsp?: ProductConsumeRsp; - productAddedPush?: ProductAddedPush; - productUpdatedPush?: ProductUpdatedPush; + getProductListRsp?: GetProductListRsp | undefined; + productConsumeRsp?: ProductConsumeRsp | undefined; + productAddedPush?: ProductAddedPush | undefined; + productUpdatedPush?: ProductUpdatedPush | undefined; } export interface StoreProduct { @@ -1024,19 +1024,19 @@ export interface StoreStatusUpdatedPush { } export interface StoreReq { - getStoreProductsReq?: GetStoreProductsReq; - checkoutReq?: CheckoutReq; - showProductDetailsReq?: ShowProductDetailsReq; - showProductsReq?: ShowProductsReq; - setLanguageReq?: SetLanguageCountryCodeReq; + getStoreProductsReq?: GetStoreProductsReq | undefined; + checkoutReq?: CheckoutReq | undefined; + showProductDetailsReq?: ShowProductDetailsReq | undefined; + showProductsReq?: ShowProductsReq | undefined; + setLanguageReq?: SetLanguageCountryCodeReq | undefined; } export interface StoreRsp { - getStoreProductsRsp?: GetStoreProductsRsp; - productsListChangedPush?: ProductsListChangedPush; - storeCheckoutStartedPush?: StoreCheckoutStartedPush; - storeCheckoutFinishedPush?: StoreCheckoutFinishedPush; - storeStatusUpdatedPush?: StoreStatusUpdatedPush; + getStoreProductsRsp?: GetStoreProductsRsp | undefined; + productsListChangedPush?: ProductsListChangedPush | undefined; + storeCheckoutStartedPush?: StoreCheckoutStartedPush | undefined; + storeCheckoutFinishedPush?: StoreCheckoutFinishedPush | undefined; + storeStatusUpdatedPush?: StoreStatusUpdatedPush | undefined; } export interface MultiplayerSession { @@ -1048,13 +1048,13 @@ export interface MultiplayerSession { } export interface MultiplayerInit { - session?: MultiplayerSession; + session?: MultiplayerSession | undefined; isAvailable: boolean; } export interface MultiplayerSessionSetReq { requestId: number; - session?: MultiplayerSession; + session?: MultiplayerSession | undefined; } export interface MultiplayerSessionSetRsp { @@ -1089,12 +1089,12 @@ export interface MultiplayerInviteAnswerRsp { export interface MultiplayerInviteReceivedPush { senderId: string; - session?: MultiplayerSession; + session?: MultiplayerSession | undefined; } export interface MultiplayerInviteAcceptedPush { senderId: string; - session?: MultiplayerSession; + session?: MultiplayerSession | undefined; } export interface MultiplayerInviteDeclinedPush { @@ -1102,29 +1102,29 @@ export interface MultiplayerInviteDeclinedPush { } export interface MultiplayerSessionUpdatedPush { - session?: MultiplayerSession; + session?: MultiplayerSession | undefined; } export interface MultiplayerJoiningRequestedPush { - session?: MultiplayerSession; + session?: MultiplayerSession | undefined; } export interface MultiplayerReq { - multiplayerSessionSetReq?: MultiplayerSessionSetReq; - multiplayerInviteReq?: MultiplayerInviteReq; - multiplayerInviteCancelReq?: MultiplayerInviteCancelReq; - multiplayerInviteAnswerReq?: MultiplayerInviteAnswerReq; + multiplayerSessionSetReq?: MultiplayerSessionSetReq | undefined; + multiplayerInviteReq?: MultiplayerInviteReq | undefined; + multiplayerInviteCancelReq?: MultiplayerInviteCancelReq | undefined; + multiplayerInviteAnswerReq?: MultiplayerInviteAnswerReq | undefined; } export interface MultiplayerRsp { - multiplayerSessionSetRsp?: MultiplayerSessionSetRsp; - multiplayerInviteRsp?: MultiplayerInviteRsp; - multiplayerInviteAnswerRsp?: MultiplayerInviteAnswerRsp; - multiplayerInviteReceivedPush?: MultiplayerInviteReceivedPush; - multiplayerInviteAcceptedPush?: MultiplayerInviteAcceptedPush; - multiplayerInviteDeclinedPush?: MultiplayerInviteDeclinedPush; - multiplayerSessionUpdatedPush?: MultiplayerSessionUpdatedPush; - multiplayerJoiningRequestedPush?: MultiplayerJoiningRequestedPush; + multiplayerSessionSetRsp?: MultiplayerSessionSetRsp | undefined; + multiplayerInviteRsp?: MultiplayerInviteRsp | undefined; + multiplayerInviteAnswerRsp?: MultiplayerInviteAnswerRsp | undefined; + multiplayerInviteReceivedPush?: MultiplayerInviteReceivedPush | undefined; + multiplayerInviteAcceptedPush?: MultiplayerInviteAcceptedPush | undefined; + multiplayerInviteDeclinedPush?: MultiplayerInviteDeclinedPush | undefined; + multiplayerSessionUpdatedPush?: MultiplayerSessionUpdatedPush | undefined; + multiplayerJoiningRequestedPush?: MultiplayerJoiningRequestedPush | undefined; } export interface OverlayShowReq { @@ -1217,25 +1217,25 @@ export interface SetLanguageCountryCodeReq { } export interface OverlayReq { - overlayShowReq?: OverlayShowReq; - overlaySetShopUrlReq?: OverlaySetShopUrlReq; - overlayShowShopUrlReq?: OverlayShowShopUrlReq; - overlayShowBrowserUrlReq?: OverlayShowBrowserUrlReq; - overlayShowNotificationReq?: OverlayShowNotificationReq; - overlayShowFriendInvitationReq?: OverlayShowFriendInvitationReq; - overlayShowFriendSelectionReq?: OverlayShowFriendSelectionReq; - overlayShowMicroAppReq?: OverlayShowMicroAppReq; + overlayShowReq?: OverlayShowReq | undefined; + overlaySetShopUrlReq?: OverlaySetShopUrlReq | undefined; + overlayShowShopUrlReq?: OverlayShowShopUrlReq | undefined; + overlayShowBrowserUrlReq?: OverlayShowBrowserUrlReq | undefined; + overlayShowNotificationReq?: OverlayShowNotificationReq | undefined; + overlayShowFriendInvitationReq?: OverlayShowFriendInvitationReq | undefined; + overlayShowFriendSelectionReq?: OverlayShowFriendSelectionReq | undefined; + overlayShowMicroAppReq?: OverlayShowMicroAppReq | undefined; } export interface OverlayRsp { - overlayShowRsp?: OverlayShowRsp; - overlaySetShopUrlRsp?: OverlaySetShopUrlRsp; - overlayShowBrowserUrlRsp?: OverlayShowBrowserUrlRsp; - overlayShowNotificationRsp?: OverlayShowNotificationRsp; - overlayShowFriendInvitationRsp?: OverlayShowFriendInvitationRsp; - overlayShowFriendSelectionRsp?: OverlayShowFriendSelectionRsp; - overlayStateChangedPush?: OverlayStateChangedPush; - overlayShowMicroAppRsp?: OverlayShowMicroAppRsp; + overlayShowRsp?: OverlayShowRsp | undefined; + overlaySetShopUrlRsp?: OverlaySetShopUrlRsp | undefined; + overlayShowBrowserUrlRsp?: OverlayShowBrowserUrlRsp | undefined; + overlayShowNotificationRsp?: OverlayShowNotificationRsp | undefined; + overlayShowFriendInvitationRsp?: OverlayShowFriendInvitationRsp | undefined; + overlayShowFriendSelectionRsp?: OverlayShowFriendSelectionRsp | undefined; + overlayStateChangedPush?: OverlayStateChangedPush | undefined; + overlayShowMicroAppRsp?: OverlayShowMicroAppRsp | undefined; } export interface UserInit { @@ -1270,23 +1270,23 @@ export interface UserGetReq { export interface UserGetRsp { requestId: number; result: OperationResult; - user?: User; + user?: User | undefined; } export interface UserReqV2 { - userGetReq?: UserGetReq; - userAddToBlacklistReq?: UserAddToBlacklistReq; - setRichPresenceReq?: SetRichPresenceReq; - addPlayedWithReq?: AddPlayedWithReq; + userGetReq?: UserGetReq | undefined; + userAddToBlacklistReq?: UserAddToBlacklistReq | undefined; + setRichPresenceReq?: SetRichPresenceReq | undefined; + addPlayedWithReq?: AddPlayedWithReq | undefined; } export interface UserRspV2 { - userGetRsp?: UserGetRsp; - userAddToBlacklistRsp?: UserAddToBlacklistRsp; - setRichPresenceRsp?: SetRichPresenceRsp; - addPlayedWithRsp?: AddPlayedWithRsp; - userBlacklistUpdatedPush?: UserBlacklistUpdatedPush; - userShutdownPush?: UserShutdownPush; + userGetRsp?: UserGetRsp | undefined; + userAddToBlacklistRsp?: UserAddToBlacklistRsp | undefined; + setRichPresenceRsp?: SetRichPresenceRsp | undefined; + addPlayedWithRsp?: AddPlayedWithRsp | undefined; + userBlacklistUpdatedPush?: UserBlacklistUpdatedPush | undefined; + userShutdownPush?: UserShutdownPush | undefined; } export interface Reward { @@ -1313,7 +1313,7 @@ export interface GetRewardsRsp { } export interface RewardRedeemedPush { - reward?: Reward; + reward?: Reward | undefined; } export interface Action { @@ -1366,20 +1366,20 @@ export interface UnitBalancePush { } export interface ClubReq { - getRewardsReq?: GetRewardsReq; - refreshActionsReq?: RefreshActionsReq; - setActionsCompletedReq?: SetActionsCompletedReq; - getActionsReq?: GetActionsReq; - getUnitBalanceReq?: GetUnitBalanceReq; + getRewardsReq?: GetRewardsReq | undefined; + refreshActionsReq?: RefreshActionsReq | undefined; + setActionsCompletedReq?: SetActionsCompletedReq | undefined; + getActionsReq?: GetActionsReq | undefined; + getUnitBalanceReq?: GetUnitBalanceReq | undefined; } export interface ClubRsp { - getRewardsRsp?: GetRewardsRsp; - rewardRedeemedPush?: RewardRedeemedPush; - setActionsCompletedRsp?: SetActionsCompletedRsp; - getActionsRsp?: GetActionsRsp; - getUnitBalanceRsp?: GetUnitBalanceRsp; - unitBalancePush?: UnitBalancePush; + getRewardsRsp?: GetRewardsRsp | undefined; + rewardRedeemedPush?: RewardRedeemedPush | undefined; + setActionsCompletedRsp?: SetActionsCompletedRsp | undefined; + getActionsRsp?: GetActionsRsp | undefined; + getUnitBalanceRsp?: GetUnitBalanceRsp | undefined; + unitBalancePush?: UnitBalancePush | undefined; } export interface ChunkInfo { @@ -1394,7 +1394,7 @@ export interface Chunks { export interface UpdateInstallOrderReq { requestId: number; - chunks?: Chunks; + chunks?: Chunks | undefined; } export interface UpdateInstallOrderRsp { @@ -1424,25 +1424,25 @@ export interface InitInstallerReq { export interface InitInstallerRsp { success: boolean; - chunks?: Chunks; + chunks?: Chunks | undefined; language: string; } export interface InstallerReq { - initInstallerReq?: InitInstallerReq; - updateInstallOrderReq?: UpdateInstallOrderReq; + initInstallerReq?: InitInstallerReq | undefined; + updateInstallOrderReq?: UpdateInstallOrderReq | undefined; } export interface UpdateAvailablePush { } export interface InstallerRsp { - initInstallerRsp?: InitInstallerRsp; - updateInstallOrderRsp?: UpdateInstallOrderRsp; - chunkInstalledPush?: ChunkInstalledPush; - chunkProgressPush?: ChunkProgressPush; - progressPush?: ProgressPush; - updateAvailablePush?: UpdateAvailablePush; + initInstallerRsp?: InitInstallerRsp | undefined; + updateInstallOrderRsp?: UpdateInstallOrderRsp | undefined; + chunkInstalledPush?: ChunkInstalledPush | undefined; + chunkProgressPush?: ChunkProgressPush | undefined; + progressPush?: ProgressPush | undefined; + updateAvailablePush?: UpdateAvailablePush | undefined; } export interface SingleEventTag { @@ -1460,9 +1460,9 @@ export interface ClearContinuousTag { } export interface MetadataReq { - singleEventTag?: SingleEventTag; - continuousTag?: ContinuousTag; - clearContinuousTag?: ClearContinuousTag; + singleEventTag?: SingleEventTag | undefined; + continuousTag?: ContinuousTag | undefined; + clearContinuousTag?: ClearContinuousTag | undefined; } export interface SetGameOptionsInGameStateReq { @@ -1470,7 +1470,7 @@ export interface SetGameOptionsInGameStateReq { } export interface GameOptionsReq { - setInGameStateReq?: SetGameOptionsInGameStateReq; + setInGameStateReq?: SetGameOptionsInGameStateReq | undefined; } export interface TerminateGamePush { @@ -1549,7 +1549,7 @@ export interface Dimension2d { } export interface GetStreamingResolutionRsp { - streamingResolution?: Dimension2d; + streamingResolution?: Dimension2d | undefined; } export interface StreamingReq { @@ -1580,50 +1580,50 @@ export interface StreamingRsp { } export interface Req { - initReq?: InitReq; - initProcessReq?: InitProcessReq; - writeAchievementsReq?: WriteAchievementsReq; - partyReq?: PartyReq; - setGameSessionReq?: SetGameSessionReq; - clearGameSessionReq?: ClearGameSessionReq; - friendsReq?: FriendsReq; - achievementReq?: AchievementReq; - overlayReq?: OverlayReq; - avatarReq?: AvatarReq; - userReq?: UserReq; - clubReq?: ClubReq; - installerReq?: InstallerReq; - metadataReq?: MetadataReq; - sdkMonitoringReq?: SDKMonitoringReq; - richPresenceReq?: RichPresenceReq; - storeReq?: StoreReq; - gameOptionsReq?: GameOptionsReq; - setLanguageCountryCodeReq?: SetLanguageCountryCodeReq; - productReq?: ProductReq; - multiplayerReq?: MultiplayerReq; - userReqV2?: UserReqV2; - launchAppReq?: LaunchAppReq; - streamingReq?: StreamingReq; + initReq?: InitReq | undefined; + initProcessReq?: InitProcessReq | undefined; + writeAchievementsReq?: WriteAchievementsReq | undefined; + partyReq?: PartyReq | undefined; + setGameSessionReq?: SetGameSessionReq | undefined; + clearGameSessionReq?: ClearGameSessionReq | undefined; + friendsReq?: FriendsReq | undefined; + achievementReq?: AchievementReq | undefined; + overlayReq?: OverlayReq | undefined; + avatarReq?: AvatarReq | undefined; + userReq?: UserReq | undefined; + clubReq?: ClubReq | undefined; + installerReq?: InstallerReq | undefined; + metadataReq?: MetadataReq | undefined; + sdkMonitoringReq?: SDKMonitoringReq | undefined; + richPresenceReq?: RichPresenceReq | undefined; + storeReq?: StoreReq | undefined; + gameOptionsReq?: GameOptionsReq | undefined; + setLanguageCountryCodeReq?: SetLanguageCountryCodeReq | undefined; + productReq?: ProductReq | undefined; + multiplayerReq?: MultiplayerReq | undefined; + userReqV2?: UserReqV2 | undefined; + launchAppReq?: LaunchAppReq | undefined; + streamingReq?: StreamingReq | undefined; } export interface Rsp { - initRsp?: InitRsp; - initProcessRsp?: InitProcessRsp; - writeAchievementsRsp?: WriteAchievementsRsp; - partyRsp?: PartyRsp; - friendsRsp?: FriendsRsp; - achievementRsp?: AchievementRsp; - overlayRsp?: OverlayRsp; - avatarRsp?: AvatarRsp; - userRsp?: UserRsp; - clubRsp?: ClubRsp; - installerRsp?: InstallerRsp; - sdkMonitoringRsp?: SDKMonitoringRsp; - storeRsp?: StoreRsp; - productRsp?: ProductRsp; - multiplayerRsp?: MultiplayerRsp; - userRspV2?: UserRspV2; - terminateGamePush?: TerminateGamePush; - launchAppRsp?: LaunchAppRsp; - streamingRsp?: StreamingRsp; + initRsp?: InitRsp | undefined; + initProcessRsp?: InitProcessRsp | undefined; + writeAchievementsRsp?: WriteAchievementsRsp | undefined; + partyRsp?: PartyRsp | undefined; + friendsRsp?: FriendsRsp | undefined; + achievementRsp?: AchievementRsp | undefined; + overlayRsp?: OverlayRsp | undefined; + avatarRsp?: AvatarRsp | undefined; + userRsp?: UserRsp | undefined; + clubRsp?: ClubRsp | undefined; + installerRsp?: InstallerRsp | undefined; + sdkMonitoringRsp?: SDKMonitoringRsp | undefined; + storeRsp?: StoreRsp | undefined; + productRsp?: ProductRsp | undefined; + multiplayerRsp?: MultiplayerRsp | undefined; + userRspV2?: UserRspV2 | undefined; + terminateGamePush?: TerminateGamePush | undefined; + launchAppRsp?: LaunchAppRsp | undefined; + streamingRsp?: StreamingRsp | undefined; } diff --git a/src/generated/proto_user_settings/user_settings.ts b/src/generated/proto_user_settings/user_settings.ts index 4d54d42..99e7d02 100644 --- a/src/generated/proto_user_settings/user_settings.ts +++ b/src/generated/proto_user_settings/user_settings.ts @@ -124,26 +124,26 @@ export interface SpotlightShownTimestamps { } export interface UserSettings { - favouriteGames?: FavouriteGames; - hiddenGames?: HiddenGames; - lastPlayedGames?: PlayedGames; - productBranches?: ProductBranches; - knownBranches?: KnownBranches; + favouriteGames?: FavouriteGames | undefined; + hiddenGames?: HiddenGames | undefined; + lastPlayedGames?: PlayedGames | undefined; + productBranches?: ProductBranches | undefined; + knownBranches?: KnownBranches | undefined; dontUploadCrashReports: boolean; - autoPatching?: AutoPatching; + autoPatching?: AutoPatching | undefined; activityStatus: string; remindMeOfSteamLinking: boolean; - gameLibrary?: GameLibrary; - gamesStartArguments?: GamesStartArguments; + gameLibrary?: GameLibrary | undefined; + gamesStartArguments?: GamesStartArguments | undefined; expiredSecurityPromptTimestamp: number; lastDismissedPromoBubbleId: string; - news?: News; + news?: News | undefined; lastSecurityPromptState: SecurityPromptState; lastEmailVerificPromptTimestamp: number; lastdissmisseduplayplusbubbleid: string; isexpirationbannerdisabled: boolean; - seenPromoTabs?: SeenPromoTabs; + seenPromoTabs?: SeenPromoTabs | undefined; isunavailablebannerdisabled: boolean; - spotlightShownTimestamps?: SpotlightShownTimestamps; + spotlightShownTimestamps?: SpotlightShownTimestamps | undefined; connectBetaPromoDismissed: boolean; } diff --git a/src/generated/proto_utility/utility.ts b/src/generated/proto_utility/utility.ts index b96740e..8a594c7 100644 --- a/src/generated/proto_utility/utility.ts +++ b/src/generated/proto_utility/utility.ts @@ -11,17 +11,17 @@ export interface GeoIpRsp { } export interface Req { - geoipReq?: GeoIpReq; + geoipReq?: GeoIpReq | undefined; } export interface Rsp { - geoipRsp?: GeoIpRsp; + geoipRsp?: GeoIpRsp | undefined; } export interface Upstream { - request?: Req; + request?: Req | undefined; } export interface Downstream { - response?: Rsp; + response?: Rsp | undefined; } diff --git a/src/generated/proto_wegame_service/wegame_service.ts b/src/generated/proto_wegame_service/wegame_service.ts index e84e152..8e194c4 100644 --- a/src/generated/proto_wegame_service/wegame_service.ts +++ b/src/generated/proto_wegame_service/wegame_service.ts @@ -40,7 +40,7 @@ export interface GetPlayerProfileReq { } export interface GetPlayerProfileRsp { - playerProfile?: PlayerProfile; + playerProfile?: PlayerProfile | undefined; } export interface GetPlayerProfilesReq { @@ -54,7 +54,7 @@ export interface GetPlayerProfilesRsp { export interface GetPlayerProfilesRsp_PlayerProfileEntry { commonId: string; success: boolean; - playerProfile?: PlayerProfile; + playerProfile?: PlayerProfile | undefined; } export interface GetFriendProfilesReq { @@ -110,29 +110,29 @@ export interface GetIngameItemCheckoutUrlRsp { export interface Req { requestId: number; - getUserRailIdReq?: GetUserRailIdReq; - getPlayerProfileReq?: GetPlayerProfileReq; - getFriendProfilesReq?: GetFriendProfilesReq; - getIngameItemInfoReq?: GetIngameItemInfoReq; - getIngameItemCheckoutUrlReq?: GetIngameItemCheckoutUrlReq; - getPlayerProfilesReq?: GetPlayerProfilesReq; + getUserRailIdReq?: GetUserRailIdReq | undefined; + getPlayerProfileReq?: GetPlayerProfileReq | undefined; + getFriendProfilesReq?: GetFriendProfilesReq | undefined; + getIngameItemInfoReq?: GetIngameItemInfoReq | undefined; + getIngameItemCheckoutUrlReq?: GetIngameItemCheckoutUrlReq | undefined; + getPlayerProfilesReq?: GetPlayerProfilesReq | undefined; } export interface Rsp { requestId: number; status: Status; - getUserRailIdRsp?: GetUserRailIdRsp; - getPlayerProfileRsp?: GetPlayerProfileRsp; - getFriendProfilesRsp?: GetFriendProfilesRsp; - getIngameItemInfoRsp?: GetIngameItemInfoRsp; - getIngameItemCheckoutUrlRsp?: GetIngameItemCheckoutUrlRsp; - getPlayerProfilesRsp?: GetPlayerProfilesRsp; + getUserRailIdRsp?: GetUserRailIdRsp | undefined; + getPlayerProfileRsp?: GetPlayerProfileRsp | undefined; + getFriendProfilesRsp?: GetFriendProfilesRsp | undefined; + getIngameItemInfoRsp?: GetIngameItemInfoRsp | undefined; + getIngameItemCheckoutUrlRsp?: GetIngameItemCheckoutUrlRsp | undefined; + getPlayerProfilesRsp?: GetPlayerProfilesRsp | undefined; } export interface Upstream { - request?: Req; + request?: Req | undefined; } export interface Downstream { - response?: Rsp; + response?: Rsp | undefined; }