@xmobitea/gn-typescript-client 2.6.13 → 2.6.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +37 -0
- package/README.MD +420 -1
- package/dist/gearn.js.client.js +25056 -1056
- package/dist/gearn.js.client.min.js +1 -1
- package/dist/index.d.ts +30 -0
- package/dist/index.js +24236 -212
- package/dist/runtime/GNNetwork.d.ts +687 -3
- package/dist/runtime/GNNetworkAuthenticateApi.d.ts +327 -0
- package/dist/runtime/GNNetworkCharacterPlayerApi.d.ts +1026 -0
- package/dist/runtime/GNNetworkCloudScriptApi.d.ts +141 -0
- package/dist/runtime/GNNetworkContentApi.d.ts +243 -0
- package/dist/runtime/GNNetworkDashboardApi.d.ts +221 -0
- package/dist/runtime/GNNetworkGamePlayerApi.d.ts +1033 -0
- package/dist/runtime/GNNetworkGroupApi.d.ts +783 -0
- package/dist/runtime/GNNetworkInventoryApi.d.ts +673 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +1614 -6
- package/dist/runtime/GNNetworkMultiplayerApi.d.ts +234 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +309 -0
- package/dist/runtime/common/Action0.d.ts +30 -0
- package/dist/runtime/common/Action1.d.ts +32 -0
- package/dist/runtime/common/Action2.d.ts +21 -0
- package/dist/runtime/common/Action3.d.ts +16 -0
- package/dist/runtime/common/Action4.d.ts +17 -0
- package/dist/runtime/common/GNData.d.ts +368 -0
- package/dist/runtime/config/GNServerSettings.d.ts +442 -12
- package/dist/runtime/constant/Commands.d.ts +80 -0
- package/dist/runtime/constant/EventCode.d.ts +48 -0
- package/dist/runtime/constant/OperationCode.d.ts +74 -1
- package/dist/runtime/constant/ReturnCode.d.ts +72 -0
- package/dist/runtime/constant/enumType/ExecuteResponseStatus.d.ts +31 -0
- package/dist/runtime/constant/enumType/FriendStatus.d.ts +39 -0
- package/dist/runtime/constant/enumType/GoogleLoginType.d.ts +23 -0
- package/dist/runtime/constant/enumType/GroupStatus.d.ts +32 -0
- package/dist/runtime/constant/enumType/InvalidMemberType.d.ts +75 -0
- package/dist/runtime/constant/enumType/ItemType.d.ts +23 -0
- package/dist/runtime/constant/enumType/MatchStatus.d.ts +30 -0
- package/dist/runtime/constant/enumType/MatchmakingMemberStatus.d.ts +24 -0
- package/dist/runtime/constant/enumType/MatchmakingTicketStatus.d.ts +34 -0
- package/dist/runtime/constant/enumType/OwnerType.d.ts +40 -0
- package/dist/runtime/constant/enumType/PermissionDataItem.d.ts +22 -0
- package/dist/runtime/constant/enumType/PushPlatformType.d.ts +18 -0
- package/dist/runtime/constant/enumType/RequestRole.d.ts +32 -0
- package/dist/runtime/constant/enumType/RequestType.d.ts +70 -0
- package/dist/runtime/constant/enumType/StoreItemType.d.ts +21 -0
- package/dist/runtime/constant/enumType/StoreReceiveType.d.ts +30 -0
- package/dist/runtime/constant/errorCode/ErrorCode.d.ts +190 -8
- package/dist/runtime/constant/parameterCode/ParameterCode.d.ts +35 -5
- package/dist/runtime/entity/DataMember.d.ts +338 -0
- package/dist/runtime/entity/GNMetadata.d.ts +101 -0
- package/dist/runtime/entity/InvalidMember.d.ts +28 -0
- package/dist/runtime/entity/OperationEvent.d.ts +49 -0
- package/dist/runtime/entity/OperationRequest.d.ts +108 -0
- package/dist/runtime/entity/OperationResponse.d.ts +110 -0
- package/dist/runtime/entity/models/AuthenticateModels.d.ts +115 -0
- package/dist/runtime/entity/models/AuthenticateRequestModels.d.ts +131 -0
- package/dist/runtime/entity/models/AuthenticateResponseModels.d.ts +131 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +625 -1
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.d.ts +972 -0
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.d.ts +332 -0
- package/dist/runtime/entity/models/CloudScriptModels.d.ts +109 -0
- package/dist/runtime/entity/models/CloudScriptRequestModels.d.ts +107 -0
- package/dist/runtime/entity/models/CloudScriptResponseModels.d.ts +46 -0
- package/dist/runtime/entity/models/ContentModels.d.ts +124 -0
- package/dist/runtime/entity/models/ContentRequestModels.d.ts +152 -0
- package/dist/runtime/entity/models/ContentResponseModels.d.ts +58 -0
- package/dist/runtime/entity/models/DashboardModels.d.ts +371 -8
- package/dist/runtime/entity/models/DashboardRequestModels.d.ts +172 -0
- package/dist/runtime/entity/models/DashboardResponseModels.d.ts +170 -0
- package/dist/runtime/entity/models/GamePlayerModels.d.ts +644 -1
- package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +959 -0
- package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +333 -1
- package/dist/runtime/entity/models/GenericModels.d.ts +94 -0
- package/dist/runtime/entity/models/GroupModels.d.ts +484 -2
- package/dist/runtime/entity/models/GroupRequestModels.d.ts +737 -0
- package/dist/runtime/entity/models/GroupResponseModels.d.ts +254 -0
- package/dist/runtime/entity/models/InventoryModels.d.ts +415 -0
- package/dist/runtime/entity/models/InventoryRequestModels.d.ts +629 -0
- package/dist/runtime/entity/models/InventoryResponseModels.d.ts +218 -0
- package/dist/runtime/entity/models/MasterPlayerModels.d.ts +1065 -3
- package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +1560 -6
- package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +532 -1
- package/dist/runtime/entity/models/MultiplayerModels.d.ts +199 -0
- package/dist/runtime/entity/models/MultiplayerRequestModels.d.ts +196 -0
- package/dist/runtime/entity/models/MultiplayerResponseModels.d.ts +74 -0
- package/dist/runtime/entity/models/StoreInventoryModels.d.ts +262 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +268 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +98 -0
- package/dist/runtime/entity/request/CustomOperationRequest.d.ts +99 -0
- package/dist/runtime/entity/response/CustomOperationResponse.d.ts +118 -0
- package/dist/runtime/entity/response/GetAuthInfoResponse.d.ts +53 -0
- package/dist/runtime/entity/response/HealthCheckResponse.d.ts +56 -0
- package/dist/runtime/entity/response/UploadFileResponse.d.ts +19 -0
- package/dist/runtime/helper/CodeHelper.d.ts +122 -0
- package/dist/runtime/helper/ConverterService.d.ts +74 -0
- package/dist/runtime/helper/EnumUtility.d.ts +63 -0
- package/dist/runtime/helper/GNSupport.d.ts +64 -4
- package/dist/runtime/helper/GNUtils.d.ts +54 -0
- package/dist/runtime/helper/MessagePackConverterService.d.ts +48 -0
- package/dist/runtime/helper/OperationHelper.d.ts +51 -0
- package/dist/runtime/helper/StorageService.d.ts +48 -8
- package/dist/runtime/logger/GNDebug.d.ts +117 -0
- package/dist/runtime/networking/AuthenticateStatus.d.ts +64 -0
- package/dist/runtime/networking/IPeer.d.ts +83 -0
- package/dist/runtime/networking/NetworkingPeer.d.ts +256 -1
- package/dist/runtime/networking/OperationPending.d.ts +112 -0
- package/dist/runtime/networking/PeerBase.d.ts +231 -0
- package/dist/runtime/networking/handler/IServerEventHandler.d.ts +84 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.d.ts +69 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.d.ts +49 -0
- package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.d.ts +50 -0
- package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.d.ts +41 -0
- package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.d.ts +47 -0
- package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.d.ts +46 -0
- package/dist/runtime/networking/http/HttpPeer.d.ts +173 -0
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +87 -0
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.d.ts +113 -0
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.d.ts +145 -0
- package/dist/runtime/networking/socket/NetworkingSocketPeerBase.d.ts +198 -0
- package/dist/runtime/networking/socket/SocketPeer.d.ts +155 -0
- package/dist/runtime/typescript/ServiceUpdate.d.ts +46 -0
- package/docs/AI_CHEATSHEET.md +211 -0
- package/docs/COOKBOOK.md +912 -0
- package/docs/RULES.md +307 -0
- package/docs/ai-manifest.json +725 -0
- package/docs/guides/AUTHENTICATE.md +246 -0
- package/docs/guides/CHARACTER_PLAYER.md +439 -0
- package/docs/guides/CLOUDSCRIPT.md +335 -0
- package/docs/guides/COCOS_CREATOR_INTEGRATION.md +150 -0
- package/docs/guides/CONTENT.md +291 -0
- package/docs/guides/DASHBOARD.md +262 -0
- package/docs/guides/GAME_PLAYER.md +473 -0
- package/docs/guides/GROUP.md +412 -0
- package/docs/guides/INVENTORY.md +375 -0
- package/docs/guides/MASTER_PLAYER.md +458 -0
- package/docs/guides/MULTIPLAYER.md +303 -0
- package/docs/guides/STORE_INVENTORY.md +313 -0
- package/docs/llms-full.txt +43 -0
- package/docs/reference/API_AUTHENTICATE.md +75 -0
- package/docs/reference/API_CHARACTER_PLAYER.md +226 -0
- package/docs/reference/API_CLOUDSCRIPT.md +82 -0
- package/docs/reference/API_CONTENT.md +88 -0
- package/docs/reference/API_DASHBOARD.md +82 -0
- package/docs/reference/API_GAME_PLAYER.md +223 -0
- package/docs/reference/API_GROUP.md +187 -0
- package/docs/reference/API_INDEX.md +57 -0
- package/docs/reference/API_INVENTORY.md +169 -0
- package/docs/reference/API_MASTER_PLAYER.md +323 -0
- package/docs/reference/API_MULTIPLAYER.md +97 -0
- package/docs/reference/API_STORE_INVENTORY.md +109 -0
- package/docs/reference/CONFIG.md +107 -0
- package/docs/reference/DTO_INDEX.md +2543 -0
- package/docs/reference/ENUMS.md +433 -0
- package/docs/reference/ERROR_HANDLING.md +159 -0
- package/docs/reference/EVENTS.md +188 -0
- package/docs/reference/PERMISSION_RULES.md +55 -0
- package/docs/reference/dto/AUTHENTICATE.md +619 -0
- package/docs/reference/dto/CHARACTER_PLAYER.md +3686 -0
- package/docs/reference/dto/CLOUDSCRIPT.md +400 -0
- package/docs/reference/dto/CONTENT.md +548 -0
- package/docs/reference/dto/DASHBOARD.md +1980 -0
- package/docs/reference/dto/GAME_PLAYER.md +3631 -0
- package/docs/reference/dto/GENERIC.md +151 -0
- package/docs/reference/dto/GROUP.md +2842 -0
- package/docs/reference/dto/INVENTORY.md +2385 -0
- package/docs/reference/dto/MASTER_PLAYER.md +6024 -0
- package/docs/reference/dto/MULTIPLAYER.md +850 -0
- package/docs/reference/dto/STORE_INVENTORY.md +1262 -0
- package/llms.txt +47 -0
- package/package.json +12 -3
- package/GNServerSettings.debug.json +0 -21
- package/docs/COCOS_CREATOR_INTEGRATION.md +0 -116
- package/examples/cocos-creator/GearNExample.ts.txt +0 -176
- package/srcSwift/Package.swift +0 -32
- package/srcSwift/Sources/GearN/runtime/GNNetwork.swift +0 -530
- package/srcSwift/Sources/GearN/runtime/GNNetworkAuthenticateApi.swift +0 -178
- package/srcSwift/Sources/GearN/runtime/GNNetworkCharacterPlayerApi.swift +0 -1162
- package/srcSwift/Sources/GearN/runtime/GNNetworkCloudScriptApi.swift +0 -154
- package/srcSwift/Sources/GearN/runtime/GNNetworkContentApi.swift +0 -208
- package/srcSwift/Sources/GearN/runtime/GNNetworkDashboardApi.swift +0 -240
- package/srcSwift/Sources/GearN/runtime/GNNetworkGamePlayerApi.swift +0 -1369
- package/srcSwift/Sources/GearN/runtime/GNNetworkGroupApi.swift +0 -1100
- package/srcSwift/Sources/GearN/runtime/GNNetworkInventoryApi.swift +0 -937
- package/srcSwift/Sources/GearN/runtime/GNNetworkMasterPlayerApi.swift +0 -2323
- package/srcSwift/Sources/GearN/runtime/GNNetworkMultiplayerApi.swift +0 -298
- package/srcSwift/Sources/GearN/runtime/GNNetworkStoreInventoryApi.swift +0 -397
- package/srcSwift/Sources/GearN/runtime/common/Action0.swift +0 -3
- package/srcSwift/Sources/GearN/runtime/common/Action1.swift +0 -3
- package/srcSwift/Sources/GearN/runtime/common/Action2.swift +0 -3
- package/srcSwift/Sources/GearN/runtime/common/Action3.swift +0 -3
- package/srcSwift/Sources/GearN/runtime/common/Action4.swift +0 -3
- package/srcSwift/Sources/GearN/runtime/common/GNArray.swift +0 -204
- package/srcSwift/Sources/GearN/runtime/common/GNData.swift +0 -108
- package/srcSwift/Sources/GearN/runtime/common/GNHashtable.swift +0 -200
- package/srcSwift/Sources/GearN/runtime/config/GNServerSettings.swift +0 -95
- package/srcSwift/Sources/GearN/runtime/constant/Commands.swift +0 -28
- package/srcSwift/Sources/GearN/runtime/constant/EventCode.swift +0 -10
- package/srcSwift/Sources/GearN/runtime/constant/OperationCode.swift +0 -252
- package/srcSwift/Sources/GearN/runtime/constant/ReturnCode.swift +0 -19
- package/srcSwift/Sources/GearN/runtime/constant/enumType/ExecuteResponseStatus.swift +0 -9
- package/srcSwift/Sources/GearN/runtime/constant/enumType/FriendStatus.swift +0 -8
- package/srcSwift/Sources/GearN/runtime/constant/enumType/GoogleLoginType.swift +0 -6
- package/srcSwift/Sources/GearN/runtime/constant/enumType/GroupStatus.swift +0 -8
- package/srcSwift/Sources/GearN/runtime/constant/enumType/InvalidMemberType.swift +0 -19
- package/srcSwift/Sources/GearN/runtime/constant/enumType/ItemType.swift +0 -6
- package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingMemberStatus.swift +0 -7
- package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingTicketStatus.swift +0 -9
- package/srcSwift/Sources/GearN/runtime/constant/enumType/OwnerType.swift +0 -10
- package/srcSwift/Sources/GearN/runtime/constant/enumType/PermissionDataItem.swift +0 -6
- package/srcSwift/Sources/GearN/runtime/constant/enumType/PushPlatformType.swift +0 -6
- package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestRole.swift +0 -7
- package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestType.swift +0 -16
- package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreItemType.swift +0 -6
- package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreReceiveType.swift +0 -9
- package/srcSwift/Sources/GearN/runtime/constant/errorCode/ErrorCode.swift +0 -58
- package/srcSwift/Sources/GearN/runtime/constant/parameterCode/ParameterCode.swift +0 -672
- package/srcSwift/Sources/GearN/runtime/entity/DataMember.swift +0 -196
- package/srcSwift/Sources/GearN/runtime/entity/GNMetadata.swift +0 -9
- package/srcSwift/Sources/GearN/runtime/entity/InvalidMember.swift +0 -11
- package/srcSwift/Sources/GearN/runtime/entity/OperationEvent.swift +0 -38
- package/srcSwift/Sources/GearN/runtime/entity/OperationHelper.swift +0 -28
- package/srcSwift/Sources/GearN/runtime/entity/OperationRequest.swift +0 -62
- package/srcSwift/Sources/GearN/runtime/entity/OperationResponse.swift +0 -98
- package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateModels.swift +0 -351
- package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateRequestModels.swift +0 -81
- package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateResponseModels.swift +0 -108
- package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerModels.swift +0 -1045
- package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerRequestModels.swift +0 -821
- package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerResponseModels.swift +0 -588
- package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptModels.swift +0 -187
- package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptRequestModels.swift +0 -84
- package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptResponseModels.swift +0 -59
- package/srcSwift/Sources/GearN/runtime/entity/models/ContentModels.swift +0 -195
- package/srcSwift/Sources/GearN/runtime/entity/models/ContentRequestModels.swift +0 -116
- package/srcSwift/Sources/GearN/runtime/entity/models/ContentResponseModels.swift +0 -81
- package/srcSwift/Sources/GearN/runtime/entity/models/DashboardModels.swift +0 -426
- package/srcSwift/Sources/GearN/runtime/entity/models/DashboardRequestModels.swift +0 -160
- package/srcSwift/Sources/GearN/runtime/entity/models/DashboardResponseModels.swift +0 -82
- package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerModels.swift +0 -1334
- package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerRequestModels.swift +0 -643
- package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerResponseModels.swift +0 -213
- package/srcSwift/Sources/GearN/runtime/entity/models/GenericModels.swift +0 -171
- package/srcSwift/Sources/GearN/runtime/entity/models/GroupModels.swift +0 -850
- package/srcSwift/Sources/GearN/runtime/entity/models/GroupRequestModels.swift +0 -485
- package/srcSwift/Sources/GearN/runtime/entity/models/GroupResponseModels.swift +0 -165
- package/srcSwift/Sources/GearN/runtime/entity/models/InventoryModels.swift +0 -679
- package/srcSwift/Sources/GearN/runtime/entity/models/InventoryRequestModels.swift +0 -413
- package/srcSwift/Sources/GearN/runtime/entity/models/InventoryResponseModels.swift +0 -141
- package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerModels.swift +0 -378
- package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerRequestModels.swift +0 -147
- package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerResponseModels.swift +0 -318
- package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerModels.swift +0 -319
- package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerRequestModels.swift +0 -125
- package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerResponseModels.swift +0 -45
- package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryModels.swift +0 -633
- package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryRequestModels.swift +0 -173
- package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryResponseModels.swift +0 -61
- package/srcSwift/Sources/GearN/runtime/entity/request/CustomOperationRequest.swift +0 -42
- package/srcSwift/Sources/GearN/runtime/entity/response/CustomOperationResponse.swift +0 -49
- package/srcSwift/Sources/GearN/runtime/entity/response/GetAuthInfoResponse.swift +0 -43
- package/srcSwift/Sources/GearN/runtime/entity/response/HealthCheckResponse.swift +0 -86
- package/srcSwift/Sources/GearN/runtime/entity/response/UploadFileResponse.swift +0 -15
- package/srcSwift/Sources/GearN/runtime/helper/CodeHelper.swift +0 -107
- package/srcSwift/Sources/GearN/runtime/helper/ConverterService.swift +0 -98
- package/srcSwift/Sources/GearN/runtime/helper/EnumUtility.swift +0 -34
- package/srcSwift/Sources/GearN/runtime/helper/GNSupport.swift +0 -41
- package/srcSwift/Sources/GearN/runtime/helper/GNUtils.swift +0 -66
- package/srcSwift/Sources/GearN/runtime/helper/MessagePackConverterService.swift +0 -21
- package/srcSwift/Sources/GearN/runtime/helper/StorageService.swift +0 -29
- package/srcSwift/Sources/GearN/runtime/logger/GNDebug.swift +0 -33
- package/srcSwift/Sources/GearN/runtime/networking/AuthenticateStatus.swift +0 -24
- package/srcSwift/Sources/GearN/runtime/networking/IPeer.swift +0 -8
- package/srcSwift/Sources/GearN/runtime/networking/NetworkingPeer.swift +0 -368
- package/srcSwift/Sources/GearN/runtime/networking/OperationPending.swift +0 -81
- package/srcSwift/Sources/GearN/runtime/networking/PeerBase.swift +0 -228
- package/srcSwift/Sources/GearN/runtime/networking/handler/IServerEventHandler.swift +0 -20
- package/srcSwift/Sources/GearN/runtime/networking/http/HttpPeer.swift +0 -226
- package/srcSwift/Sources/GearN/runtime/networking/http/HttpTypes.swift +0 -24
- package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingHttpPeerBase.swift +0 -13
- package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingPeerUrlSession.swift +0 -125
- package/srcSwift/Sources/GearN/runtime/networking/request/NetRequest.swift +0 -19
- package/srcSwift/Sources/GearN/runtime/networking/response/NetResponse.swift +0 -13
- package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingPeerSocketIOClient.swift +0 -244
- package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingSocketPeerBase.swift +0 -59
- package/srcSwift/Sources/GearN/runtime/networking/socket/SocketPeer.swift +0 -136
- package/tsconfig-build.cocos.json +0 -31
- package/webpack.config.cocos.mjs +0 -78
|
@@ -1,49 +1,165 @@
|
|
|
1
1
|
import { GNHashtable } from "./../../common/GNData";
|
|
2
2
|
import { GenericModels } from "./GenericModels";
|
|
3
|
+
/**
|
|
4
|
+
* Reusable request and response DTOs for the MasterPlayer
|
|
5
|
+
* domain.
|
|
6
|
+
*
|
|
7
|
+
* MasterPlayer operations target the **account-level** record
|
|
8
|
+
* — the top-level user identity. Client variants imply the
|
|
9
|
+
* authenticated user (`userId` omitted); Server / Admin
|
|
10
|
+
* variants require an explicit `userId`.
|
|
11
|
+
*
|
|
12
|
+
* Three role variants per operation:
|
|
13
|
+
* - **Client** (no prefix): routed through
|
|
14
|
+
* `GNNetwork.masterPlayer`, `userId` is implicit.
|
|
15
|
+
* - **`Server*`**: routed through
|
|
16
|
+
* `GNNetwork.masterPlayer.server`, requires explicit
|
|
17
|
+
* `userId` and a server `secretKey`.
|
|
18
|
+
* - **`Admin*`**: routed through
|
|
19
|
+
* `GNNetwork.masterPlayer.admin`, plus admin-only knobs
|
|
20
|
+
* (force overrides, bypass-validation flags).
|
|
21
|
+
*
|
|
22
|
+
* Identity link / unlink DTOs follow the convention
|
|
23
|
+
* `Link<Provider>RequestData` / `Unlink<Provider>RequestData`
|
|
24
|
+
* — there is one pair per supported provider (Apple, Google,
|
|
25
|
+
* Facebook, Game Center, ten device-id flavours, custom-id,
|
|
26
|
+
* generic-service). Each maps onto the matching `loginBy*`
|
|
27
|
+
* flow on {@link AuthenticateApi}.
|
|
28
|
+
*
|
|
29
|
+
* Validation rules declared on each `@*DataMember` decorator
|
|
30
|
+
* are enforced server-side; failures surface as
|
|
31
|
+
* {@link InvalidMember} entries with the matching
|
|
32
|
+
* {@link InvalidMemberType} code.
|
|
33
|
+
*/
|
|
3
34
|
export declare namespace MasterPlayerModels {
|
|
35
|
+
/**
|
|
36
|
+
* Defines the reusable parameter block CustomDataParam.
|
|
37
|
+
*/
|
|
4
38
|
class CustomDataParam {
|
|
5
39
|
key: string;
|
|
6
40
|
value: any;
|
|
7
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* Selects which optional master-player fields should be returned in `infoResponseParameters`.
|
|
44
|
+
* Boolean flags default to `false`; key arrays narrow list-style fields to specific keys only.
|
|
45
|
+
*/
|
|
8
46
|
class InfoRequestParam {
|
|
47
|
+
/**
|
|
48
|
+
* Includes linked external identities such as account, device, Google, Facebook, or Apple.
|
|
49
|
+
*/
|
|
9
50
|
external?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Includes the segment names currently attached to the player.
|
|
53
|
+
*/
|
|
10
54
|
segments?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Includes custom data entries.
|
|
57
|
+
*/
|
|
11
58
|
customDatas?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Includes the player's display name.
|
|
61
|
+
*/
|
|
12
62
|
displayName?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Includes the avatar descriptor.
|
|
65
|
+
*/
|
|
13
66
|
avatar?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Includes the creation timestamp.
|
|
69
|
+
*/
|
|
14
70
|
tsCreate?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Includes tag entries.
|
|
73
|
+
*/
|
|
15
74
|
tags?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Includes the active ban state when present.
|
|
77
|
+
*/
|
|
16
78
|
playerBan?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Includes player currency entries.
|
|
81
|
+
*/
|
|
17
82
|
playerCurrencies?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Includes player statistics entries.
|
|
85
|
+
*/
|
|
18
86
|
playerStatistics?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Includes player data entries.
|
|
89
|
+
*/
|
|
19
90
|
playerDatas?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Includes the creation IP address.
|
|
93
|
+
*/
|
|
20
94
|
ipAddressCreate?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Includes the country code currently stored for the player.
|
|
97
|
+
*/
|
|
21
98
|
countryCode?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Includes the email currently stored for the player.
|
|
101
|
+
*/
|
|
22
102
|
email?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Includes the last-login timestamp.
|
|
105
|
+
*/
|
|
23
106
|
tsLastLogin?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Includes registered push-notification endpoints.
|
|
109
|
+
*/
|
|
24
110
|
pushNotifications?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Restricts `playerDatas` to the specified keys when that field is requested.
|
|
113
|
+
*/
|
|
25
114
|
playerDataKeys?: Array<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Restricts `playerCurrencies` to the specified currency keys when that field is requested.
|
|
117
|
+
*/
|
|
26
118
|
playerCurrencyKeys?: Array<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Restricts `playerStatistics` to the specified statistic keys when that field is requested.
|
|
121
|
+
*/
|
|
27
122
|
playerStatisticsKeys?: Array<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Restricts `customDatas` to the specified keys when that field is requested.
|
|
125
|
+
*/
|
|
28
126
|
customDataKeys?: Array<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Restricts `tags` to the specified tag keys when that field is requested.
|
|
129
|
+
*/
|
|
29
130
|
tagKeys?: Array<string>;
|
|
30
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* Defines the reusable parameter block PlayerCurrencyParam.
|
|
134
|
+
*/
|
|
31
135
|
class PlayerCurrencyParam {
|
|
32
136
|
key: string;
|
|
33
137
|
amount: number;
|
|
34
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* Defines the reusable parameter block PlayerDataParam.
|
|
141
|
+
*/
|
|
35
142
|
class PlayerDataParam {
|
|
36
143
|
key: string;
|
|
37
144
|
value: any;
|
|
38
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
* Defines the reusable parameter block PlayerStatisticsParam.
|
|
148
|
+
*/
|
|
39
149
|
class PlayerStatisticsParam {
|
|
40
150
|
key: string;
|
|
41
151
|
value: number;
|
|
42
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* Represents GenericService.
|
|
155
|
+
*/
|
|
43
156
|
class GenericService {
|
|
44
157
|
serviceName: string;
|
|
45
158
|
serviceId: string;
|
|
46
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* Represents Device.
|
|
162
|
+
*/
|
|
47
163
|
class Device {
|
|
48
164
|
customDeviceId?: string;
|
|
49
165
|
androidDeviceId?: string;
|
|
@@ -54,36 +170,60 @@ export declare namespace MasterPlayerModels {
|
|
|
54
170
|
macOSDeviceId?: string;
|
|
55
171
|
editorDeviceId?: string;
|
|
56
172
|
}
|
|
173
|
+
/**
|
|
174
|
+
* Represents Account.
|
|
175
|
+
*/
|
|
57
176
|
class Account {
|
|
58
177
|
username?: string;
|
|
59
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* Represents Custom.
|
|
181
|
+
*/
|
|
60
182
|
class Custom {
|
|
61
183
|
customId?: string;
|
|
62
184
|
}
|
|
185
|
+
/**
|
|
186
|
+
* Represents Apple.
|
|
187
|
+
*/
|
|
63
188
|
class Apple {
|
|
64
189
|
appleId: string;
|
|
65
190
|
email: string;
|
|
66
191
|
}
|
|
192
|
+
/**
|
|
193
|
+
* Represents Google.
|
|
194
|
+
*/
|
|
67
195
|
class Google {
|
|
68
196
|
googleId: string;
|
|
69
197
|
displayName: string;
|
|
70
198
|
email: string;
|
|
71
199
|
}
|
|
200
|
+
/**
|
|
201
|
+
* Represents Facebook.
|
|
202
|
+
*/
|
|
72
203
|
class Facebook {
|
|
73
204
|
facebookId: string;
|
|
74
205
|
displayName: string;
|
|
75
206
|
email: string;
|
|
76
207
|
}
|
|
208
|
+
/**
|
|
209
|
+
* Represents GooglePlayGameService.
|
|
210
|
+
*/
|
|
77
211
|
class GooglePlayGameService {
|
|
78
212
|
playerId: string;
|
|
79
213
|
displayName: string;
|
|
80
214
|
email: string;
|
|
81
215
|
}
|
|
216
|
+
/**
|
|
217
|
+
* Represents GameCenter.
|
|
218
|
+
*/
|
|
82
219
|
class GameCenter {
|
|
83
220
|
playerId: string;
|
|
84
221
|
displayName: string;
|
|
85
222
|
email: string;
|
|
86
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* Groups all external identities that may be linked to one master player.
|
|
226
|
+
*/
|
|
87
227
|
class ExternalItem {
|
|
88
228
|
device?: Device;
|
|
89
229
|
account?: Account;
|
|
@@ -95,190 +235,392 @@ export declare namespace MasterPlayerModels {
|
|
|
95
235
|
googlePlayGameService?: GooglePlayGameService;
|
|
96
236
|
gameCenter?: GameCenter;
|
|
97
237
|
}
|
|
238
|
+
/**
|
|
239
|
+
* Defines the request payload for AddSegment.
|
|
240
|
+
*/
|
|
98
241
|
class AddSegmentRequestData {
|
|
99
242
|
userId?: string;
|
|
100
243
|
value: string;
|
|
101
244
|
}
|
|
245
|
+
/**
|
|
246
|
+
* Defines the request payload for ServerAddSegment.
|
|
247
|
+
*/
|
|
102
248
|
class ServerAddSegmentRequestData extends AddSegmentRequestData {
|
|
103
249
|
userId: string;
|
|
104
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* Defines the request payload for AdminAddSegment.
|
|
253
|
+
*/
|
|
105
254
|
class AdminAddSegmentRequestData extends ServerAddSegmentRequestData {
|
|
106
255
|
}
|
|
256
|
+
/**
|
|
257
|
+
* Defines the request payload for ChangeAccountPassword.
|
|
258
|
+
*/
|
|
107
259
|
class ChangeAccountPasswordRequestData {
|
|
108
260
|
userId?: string;
|
|
109
261
|
currentPassword: string;
|
|
110
262
|
password: string;
|
|
111
263
|
}
|
|
264
|
+
/**
|
|
265
|
+
* Defines the request payload for GetAvatar.
|
|
266
|
+
*/
|
|
112
267
|
class GetAvatarRequestData {
|
|
113
268
|
userId?: string;
|
|
114
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* Defines the request payload for ServerGetAvatar.
|
|
272
|
+
*/
|
|
115
273
|
class ServerGetAvatarRequestData extends GetAvatarRequestData {
|
|
116
274
|
userId: string;
|
|
117
275
|
}
|
|
276
|
+
/**
|
|
277
|
+
* Defines the request payload for AdminGetAvatar.
|
|
278
|
+
*/
|
|
118
279
|
class AdminGetAvatarRequestData extends ServerGetAvatarRequestData {
|
|
119
280
|
}
|
|
281
|
+
/**
|
|
282
|
+
* Defines the request payload for GetCountryCode.
|
|
283
|
+
*/
|
|
120
284
|
class GetCountryCodeRequestData {
|
|
121
285
|
userId?: string;
|
|
122
286
|
}
|
|
287
|
+
/**
|
|
288
|
+
* Defines the request payload for ServerGetCountryCode.
|
|
289
|
+
*/
|
|
123
290
|
class ServerGetCountryCodeRequestData extends GetCountryCodeRequestData {
|
|
124
291
|
userId: string;
|
|
125
292
|
}
|
|
293
|
+
/**
|
|
294
|
+
* Defines the request payload for AdminGetCountryCode.
|
|
295
|
+
*/
|
|
126
296
|
class AdminGetCountryCodeRequestData extends ServerGetCountryCodeRequestData {
|
|
127
297
|
}
|
|
298
|
+
/**
|
|
299
|
+
* Defines the request payload for GetCustomData.
|
|
300
|
+
*/
|
|
128
301
|
class GetCustomDataRequestData {
|
|
129
302
|
userId?: string;
|
|
130
303
|
customDataKeys?: Array<string>;
|
|
131
304
|
}
|
|
305
|
+
/**
|
|
306
|
+
* Defines the request payload for ServerGetCustomData.
|
|
307
|
+
*/
|
|
132
308
|
class ServerGetCustomDataRequestData extends GetCustomDataRequestData {
|
|
133
309
|
userId: string;
|
|
134
310
|
}
|
|
311
|
+
/**
|
|
312
|
+
* Defines the request payload for AdminGetCustomData.
|
|
313
|
+
*/
|
|
135
314
|
class AdminGetCustomDataRequestData extends ServerGetCustomDataRequestData {
|
|
136
315
|
}
|
|
316
|
+
/**
|
|
317
|
+
* Defines the request payload for GetDisplayName.
|
|
318
|
+
*/
|
|
137
319
|
class GetDisplayNameRequestData {
|
|
138
320
|
userId?: string;
|
|
139
321
|
}
|
|
322
|
+
/**
|
|
323
|
+
* Defines the request payload for ServerGetDisplayName.
|
|
324
|
+
*/
|
|
140
325
|
class ServerGetDisplayNameRequestData extends GetDisplayNameRequestData {
|
|
141
326
|
userId: string;
|
|
142
327
|
}
|
|
328
|
+
/**
|
|
329
|
+
* Defines the request payload for AdminGetDisplayName.
|
|
330
|
+
*/
|
|
143
331
|
class AdminGetDisplayNameRequestData extends ServerGetDisplayNameRequestData {
|
|
144
332
|
}
|
|
333
|
+
/**
|
|
334
|
+
* Defines the request payload for GetEmail.
|
|
335
|
+
*/
|
|
145
336
|
class GetEmailRequestData {
|
|
146
337
|
userId?: string;
|
|
147
338
|
}
|
|
339
|
+
/**
|
|
340
|
+
* Defines the request payload for ServerGetEmail.
|
|
341
|
+
*/
|
|
148
342
|
class ServerGetEmailRequestData extends GetEmailRequestData {
|
|
149
343
|
userId: string;
|
|
150
344
|
}
|
|
345
|
+
/**
|
|
346
|
+
* Defines the request payload for AdminGetEmail.
|
|
347
|
+
*/
|
|
151
348
|
class AdminGetEmailRequestData extends ServerGetEmailRequestData {
|
|
152
349
|
}
|
|
350
|
+
/**
|
|
351
|
+
* Defines the request payload for GetExternal.
|
|
352
|
+
*/
|
|
153
353
|
class GetExternalRequestData {
|
|
154
354
|
userId?: string;
|
|
155
355
|
}
|
|
356
|
+
/**
|
|
357
|
+
* Defines the request payload for ServerGetExternal.
|
|
358
|
+
*/
|
|
156
359
|
class ServerGetExternalRequestData extends GetExternalRequestData {
|
|
157
360
|
userId: string;
|
|
158
361
|
}
|
|
362
|
+
/**
|
|
363
|
+
* Defines the request payload for AdminGetExternal.
|
|
364
|
+
*/
|
|
159
365
|
class AdminGetExternalRequestData extends ServerGetExternalRequestData {
|
|
160
366
|
}
|
|
367
|
+
/**
|
|
368
|
+
* Defines the request payload for GetIpAddressCreate.
|
|
369
|
+
*/
|
|
161
370
|
class GetIpAddressCreateRequestData {
|
|
162
371
|
userId?: string;
|
|
163
372
|
}
|
|
373
|
+
/**
|
|
374
|
+
* Defines the request payload for ServerGetIpAddressCreate.
|
|
375
|
+
*/
|
|
164
376
|
class ServerGetIpAddressCreateRequestData extends GetIpAddressCreateRequestData {
|
|
165
377
|
userId: string;
|
|
166
378
|
}
|
|
379
|
+
/**
|
|
380
|
+
* Defines the request payload for AdminGetIpAddressCreate.
|
|
381
|
+
*/
|
|
167
382
|
class AdminGetIpAddressCreateRequestData extends ServerGetIpAddressCreateRequestData {
|
|
168
383
|
}
|
|
384
|
+
/**
|
|
385
|
+
* Defines the request payload for GetPlayerBan.
|
|
386
|
+
*/
|
|
169
387
|
class GetPlayerBanRequestData {
|
|
170
388
|
userId?: string;
|
|
171
389
|
}
|
|
390
|
+
/**
|
|
391
|
+
* Defines the request payload for ServerGetPlayerBan.
|
|
392
|
+
*/
|
|
172
393
|
class ServerGetPlayerBanRequestData extends GetPlayerBanRequestData {
|
|
173
394
|
userId: string;
|
|
174
395
|
}
|
|
396
|
+
/**
|
|
397
|
+
* Defines the request payload for AdminGetPlayerBan.
|
|
398
|
+
*/
|
|
175
399
|
class AdminGetPlayerBanRequestData extends ServerGetPlayerBanRequestData {
|
|
176
400
|
}
|
|
401
|
+
/**
|
|
402
|
+
* Defines the request payload for GetPlayerCurrency.
|
|
403
|
+
*/
|
|
177
404
|
class GetPlayerCurrencyRequestData {
|
|
178
405
|
userId?: string;
|
|
179
406
|
playerCurrencyKeys?: Array<string>;
|
|
180
407
|
}
|
|
408
|
+
/**
|
|
409
|
+
* Defines the request payload for ServerGetPlayerCurrency.
|
|
410
|
+
*/
|
|
181
411
|
class ServerGetPlayerCurrencyRequestData extends GetPlayerCurrencyRequestData {
|
|
182
412
|
userId: string;
|
|
183
413
|
}
|
|
414
|
+
/**
|
|
415
|
+
* Defines the request payload for AdminGetPlayerCurrency.
|
|
416
|
+
*/
|
|
184
417
|
class AdminGetPlayerCurrencyRequestData extends ServerGetPlayerCurrencyRequestData {
|
|
185
418
|
}
|
|
419
|
+
/**
|
|
420
|
+
* Defines the request payload for GetPlayerData.
|
|
421
|
+
*/
|
|
186
422
|
class GetPlayerDataRequestData {
|
|
187
423
|
userId?: string;
|
|
188
424
|
playerDataKeys?: Array<string>;
|
|
189
425
|
}
|
|
426
|
+
/**
|
|
427
|
+
* Defines the request payload for ServerGetPlayerData.
|
|
428
|
+
*/
|
|
190
429
|
class ServerGetPlayerDataRequestData extends GetPlayerDataRequestData {
|
|
191
430
|
userId: string;
|
|
192
431
|
}
|
|
432
|
+
/**
|
|
433
|
+
* Defines the request payload for AdminGetPlayerData.
|
|
434
|
+
*/
|
|
193
435
|
class AdminGetPlayerDataRequestData extends ServerGetPlayerDataRequestData {
|
|
194
436
|
}
|
|
437
|
+
/**
|
|
438
|
+
* Reads the current or target master-player profile using the requested projection.
|
|
439
|
+
* On the client route, omit `userId` to target the authenticated player itself.
|
|
440
|
+
*/
|
|
195
441
|
class GetPlayerInformationRequestData {
|
|
442
|
+
/**
|
|
443
|
+
* Optional self-target shortcut on the client route.
|
|
444
|
+
*/
|
|
196
445
|
userId?: string;
|
|
446
|
+
/**
|
|
447
|
+
* Required field projection that controls which optional data is returned.
|
|
448
|
+
*/
|
|
197
449
|
infoRequestParam: InfoRequestParam;
|
|
198
450
|
}
|
|
451
|
+
/**
|
|
452
|
+
* Reads a specific target master player on a trusted route.
|
|
453
|
+
*/
|
|
199
454
|
class ServerGetPlayerInformationRequestData extends GetPlayerInformationRequestData {
|
|
200
455
|
userId: string;
|
|
201
456
|
}
|
|
457
|
+
/**
|
|
458
|
+
* Defines the request payload for AdminGetPlayerInformation.
|
|
459
|
+
*/
|
|
202
460
|
class AdminGetPlayerInformationRequestData extends ServerGetPlayerInformationRequestData {
|
|
203
461
|
}
|
|
462
|
+
/**
|
|
463
|
+
* Defines the request payload for GetPlayerStatistics.
|
|
464
|
+
*/
|
|
204
465
|
class GetPlayerStatisticsRequestData {
|
|
205
466
|
userId?: string;
|
|
206
467
|
playerStatisticsKeys?: Array<string>;
|
|
207
468
|
}
|
|
469
|
+
/**
|
|
470
|
+
* Defines the request payload for ServerGetPlayerStatistics.
|
|
471
|
+
*/
|
|
208
472
|
class ServerGetPlayerStatisticsRequestData extends GetPlayerStatisticsRequestData {
|
|
209
473
|
userId: string;
|
|
210
474
|
}
|
|
475
|
+
/**
|
|
476
|
+
* Defines the request payload for AdminGetPlayerStatistics.
|
|
477
|
+
*/
|
|
211
478
|
class AdminGetPlayerStatisticsRequestData extends ServerGetPlayerStatisticsRequestData {
|
|
212
479
|
}
|
|
480
|
+
/**
|
|
481
|
+
* Defines the request payload for GetPlayersWithApple.
|
|
482
|
+
*/
|
|
213
483
|
class GetPlayersWithAppleRequestData {
|
|
214
484
|
appleIds: Array<string>;
|
|
215
485
|
infoRequestParam: InfoRequestParam;
|
|
216
486
|
}
|
|
487
|
+
/**
|
|
488
|
+
* Defines the request payload for ServerGetPlayersWithApple.
|
|
489
|
+
*/
|
|
217
490
|
class ServerGetPlayersWithAppleRequestData extends GetPlayersWithAppleRequestData {
|
|
218
491
|
}
|
|
492
|
+
/**
|
|
493
|
+
* Defines the request payload for AdminGetPlayersWithApple.
|
|
494
|
+
*/
|
|
219
495
|
class AdminGetPlayersWithAppleRequestData extends ServerGetPlayersWithAppleRequestData {
|
|
220
496
|
}
|
|
497
|
+
/**
|
|
498
|
+
* Defines the request payload for GetPlayersWithDisplayName.
|
|
499
|
+
*/
|
|
221
500
|
class GetPlayersWithDisplayNameRequestData {
|
|
222
501
|
keyword: string;
|
|
223
502
|
infoRequestParam: InfoRequestParam;
|
|
224
503
|
skip?: number;
|
|
225
504
|
limit?: number;
|
|
226
505
|
}
|
|
506
|
+
/**
|
|
507
|
+
* Defines the request payload for ServerGetPlayersWithDisplayName.
|
|
508
|
+
*/
|
|
227
509
|
class ServerGetPlayersWithDisplayNameRequestData extends GetPlayersWithDisplayNameRequestData {
|
|
228
510
|
}
|
|
511
|
+
/**
|
|
512
|
+
* Defines the request payload for AdminGetPlayersWithDisplayName.
|
|
513
|
+
*/
|
|
229
514
|
class AdminGetPlayersWithDisplayNameRequestData extends ServerGetPlayersWithDisplayNameRequestData {
|
|
230
515
|
}
|
|
516
|
+
/**
|
|
517
|
+
* Defines the request payload for GetPlayersWithFacebook.
|
|
518
|
+
*/
|
|
231
519
|
class GetPlayersWithFacebookRequestData {
|
|
232
520
|
facebookIds: Array<string>;
|
|
233
521
|
infoRequestParam: InfoRequestParam;
|
|
234
522
|
}
|
|
523
|
+
/**
|
|
524
|
+
* Defines the request payload for ServerGetPlayersWithFacebook.
|
|
525
|
+
*/
|
|
235
526
|
class ServerGetPlayersWithFacebookRequestData extends GetPlayersWithFacebookRequestData {
|
|
236
527
|
}
|
|
528
|
+
/**
|
|
529
|
+
* Defines the request payload for AdminGetPlayersWithFacebook.
|
|
530
|
+
*/
|
|
237
531
|
class AdminGetPlayersWithFacebookRequestData extends ServerGetPlayersWithFacebookRequestData {
|
|
238
532
|
}
|
|
533
|
+
/**
|
|
534
|
+
* Defines the request payload for GetPlayersWithGenericService.
|
|
535
|
+
*/
|
|
239
536
|
class GetPlayersWithGenericServiceRequestData {
|
|
240
537
|
serviceName: string;
|
|
241
538
|
genericIds: Array<string>;
|
|
242
539
|
infoRequestParam: InfoRequestParam;
|
|
243
540
|
}
|
|
541
|
+
/**
|
|
542
|
+
* Defines the request payload for ServerGetPlayersWithGenericService.
|
|
543
|
+
*/
|
|
244
544
|
class ServerGetPlayersWithGenericServiceRequestData extends GetPlayersWithGenericServiceRequestData {
|
|
245
545
|
}
|
|
546
|
+
/**
|
|
547
|
+
* Defines the request payload for AdminGetPlayersWithGenericService.
|
|
548
|
+
*/
|
|
246
549
|
class AdminGetPlayersWithGenericServiceRequestData extends ServerGetPlayersWithGenericServiceRequestData {
|
|
247
550
|
}
|
|
551
|
+
/**
|
|
552
|
+
* Defines the request payload for GetPlayersWithGoogle.
|
|
553
|
+
*/
|
|
248
554
|
class GetPlayersWithGoogleRequestData {
|
|
249
555
|
googleIds: Array<string>;
|
|
250
556
|
infoRequestParam: InfoRequestParam;
|
|
251
557
|
}
|
|
558
|
+
/**
|
|
559
|
+
* Defines the request payload for ServerGetPlayersWithGoogle.
|
|
560
|
+
*/
|
|
252
561
|
class ServerGetPlayersWithGoogleRequestData extends GetPlayersWithGoogleRequestData {
|
|
253
562
|
}
|
|
563
|
+
/**
|
|
564
|
+
* Defines the request payload for AdminGetPlayersWithGoogle.
|
|
565
|
+
*/
|
|
254
566
|
class AdminGetPlayersWithGoogleRequestData extends ServerGetPlayersWithGoogleRequestData {
|
|
255
567
|
}
|
|
568
|
+
/**
|
|
569
|
+
* Defines the request payload for GetPlayersWithGooglePlayGameService.
|
|
570
|
+
*/
|
|
256
571
|
class GetPlayersWithGooglePlayGameServiceRequestData {
|
|
257
572
|
playerIds: Array<string>;
|
|
258
573
|
infoRequestParam: InfoRequestParam;
|
|
259
574
|
}
|
|
575
|
+
/**
|
|
576
|
+
* Defines the request payload for ServerGetPlayersWithGooglePlayGameService.
|
|
577
|
+
*/
|
|
260
578
|
class ServerGetPlayersWithGooglePlayGameServiceRequestData extends GetPlayersWithGooglePlayGameServiceRequestData {
|
|
261
579
|
}
|
|
580
|
+
/**
|
|
581
|
+
* Defines the request payload for AdminGetPlayersWithGooglePlayGameService.
|
|
582
|
+
*/
|
|
262
583
|
class AdminGetPlayersWithGooglePlayGameServiceRequestData extends ServerGetPlayersWithGooglePlayGameServiceRequestData {
|
|
263
584
|
}
|
|
585
|
+
/**
|
|
586
|
+
* Defines the request payload for GetPlayersWithGameCenter.
|
|
587
|
+
*/
|
|
264
588
|
class GetPlayersWithGameCenterRequestData {
|
|
265
589
|
playerIds: Array<string>;
|
|
266
590
|
infoRequestParam: InfoRequestParam;
|
|
267
591
|
}
|
|
592
|
+
/**
|
|
593
|
+
* Defines the request payload for ServerGetPlayersWithGameCenter.
|
|
594
|
+
*/
|
|
268
595
|
class ServerGetPlayersWithGameCenterRequestData extends GetPlayersWithGameCenterRequestData {
|
|
269
596
|
}
|
|
597
|
+
/**
|
|
598
|
+
* Defines the request payload for AdminGetPlayersWithGameCenter.
|
|
599
|
+
*/
|
|
270
600
|
class AdminGetPlayersWithGameCenterRequestData extends ServerGetPlayersWithGameCenterRequestData {
|
|
271
601
|
}
|
|
602
|
+
/**
|
|
603
|
+
* Defines the request payload for GetPlayersWithSegment.
|
|
604
|
+
*/
|
|
272
605
|
class GetPlayersWithSegmentRequestData {
|
|
273
606
|
value: string;
|
|
274
607
|
infoRequestParam: InfoRequestParam;
|
|
275
608
|
skip?: number;
|
|
276
609
|
limit?: number;
|
|
277
610
|
}
|
|
611
|
+
/**
|
|
612
|
+
* Defines the request payload for ServerGetPlayersWithSegment.
|
|
613
|
+
*/
|
|
278
614
|
class ServerGetPlayersWithSegmentRequestData extends GetPlayersWithSegmentRequestData {
|
|
279
615
|
}
|
|
616
|
+
/**
|
|
617
|
+
* Defines the request payload for AdminGetPlayersWithSegment.
|
|
618
|
+
*/
|
|
280
619
|
class AdminGetPlayersWithSegmentRequestData extends ServerGetPlayersWithSegmentRequestData {
|
|
281
620
|
}
|
|
621
|
+
/**
|
|
622
|
+
* Defines the request payload for GetPlayersWithTag.
|
|
623
|
+
*/
|
|
282
624
|
class GetPlayersWithTagRequestData {
|
|
283
625
|
key: string;
|
|
284
626
|
value: string;
|
|
@@ -286,18 +628,36 @@ export declare namespace MasterPlayerModels {
|
|
|
286
628
|
skip?: number;
|
|
287
629
|
limit?: number;
|
|
288
630
|
}
|
|
631
|
+
/**
|
|
632
|
+
* Defines the request payload for ServerGetPlayersWithTag.
|
|
633
|
+
*/
|
|
289
634
|
class ServerGetPlayersWithTagRequestData extends GetPlayersWithTagRequestData {
|
|
290
635
|
}
|
|
636
|
+
/**
|
|
637
|
+
* Defines the request payload for AdminGetPlayersWithTag.
|
|
638
|
+
*/
|
|
291
639
|
class AdminGetPlayersWithTagRequestData extends ServerGetPlayersWithTagRequestData {
|
|
292
640
|
}
|
|
641
|
+
/**
|
|
642
|
+
* Defines the request payload for GetSegment.
|
|
643
|
+
*/
|
|
293
644
|
class GetSegmentRequestData {
|
|
294
645
|
userId?: string;
|
|
295
646
|
}
|
|
647
|
+
/**
|
|
648
|
+
* Defines the request payload for ServerGetSegment.
|
|
649
|
+
*/
|
|
296
650
|
class ServerGetSegmentRequestData extends GetSegmentRequestData {
|
|
297
651
|
userId: string;
|
|
298
652
|
}
|
|
653
|
+
/**
|
|
654
|
+
* Defines the request payload for AdminGetSegment.
|
|
655
|
+
*/
|
|
299
656
|
class AdminGetSegmentRequestData extends ServerGetSegmentRequestData {
|
|
300
657
|
}
|
|
658
|
+
/**
|
|
659
|
+
* Defines the request payload for GetStatisticsLeaderboardAroundPlayer.
|
|
660
|
+
*/
|
|
301
661
|
class GetStatisticsLeaderboardAroundPlayerRequestData {
|
|
302
662
|
userId?: string;
|
|
303
663
|
key: string;
|
|
@@ -306,11 +666,20 @@ export declare namespace MasterPlayerModels {
|
|
|
306
666
|
limit?: number;
|
|
307
667
|
loadFromCache?: boolean;
|
|
308
668
|
}
|
|
669
|
+
/**
|
|
670
|
+
* Defines the request payload for ServerGetStatisticsLeaderboardAroundPlayer.
|
|
671
|
+
*/
|
|
309
672
|
class ServerGetStatisticsLeaderboardAroundPlayerRequestData extends GetStatisticsLeaderboardAroundPlayerRequestData {
|
|
310
673
|
userId: string;
|
|
311
674
|
}
|
|
675
|
+
/**
|
|
676
|
+
* Defines the request payload for AdminGetStatisticsLeaderboardAroundPlayer.
|
|
677
|
+
*/
|
|
312
678
|
class AdminGetStatisticsLeaderboardAroundPlayerRequestData extends ServerGetStatisticsLeaderboardAroundPlayerRequestData {
|
|
313
679
|
}
|
|
680
|
+
/**
|
|
681
|
+
* Defines the request payload for GetStatisticsLeaderboard.
|
|
682
|
+
*/
|
|
314
683
|
class GetStatisticsLeaderboardRequestData {
|
|
315
684
|
key: string;
|
|
316
685
|
infoRequestParam: InfoRequestParam;
|
|
@@ -319,158 +688,302 @@ export declare namespace MasterPlayerModels {
|
|
|
319
688
|
loadFromCache?: boolean;
|
|
320
689
|
version?: string;
|
|
321
690
|
}
|
|
691
|
+
/**
|
|
692
|
+
* Defines the request payload for ServerGetStatisticsLeaderboard.
|
|
693
|
+
*/
|
|
322
694
|
class ServerGetStatisticsLeaderboardRequestData extends GetStatisticsLeaderboardRequestData {
|
|
323
695
|
}
|
|
696
|
+
/**
|
|
697
|
+
* Defines the request payload for AdminGetStatisticsLeaderboard.
|
|
698
|
+
*/
|
|
324
699
|
class AdminGetStatisticsLeaderboardRequestData extends ServerGetStatisticsLeaderboardRequestData {
|
|
325
700
|
}
|
|
701
|
+
/**
|
|
702
|
+
* Defines the request payload for GetCreateLeaderboard.
|
|
703
|
+
*/
|
|
326
704
|
class GetCreateLeaderboardRequestData {
|
|
327
705
|
infoRequestParam: InfoRequestParam;
|
|
328
706
|
skip?: number;
|
|
329
707
|
limit?: number;
|
|
330
708
|
loadFromCache?: boolean;
|
|
331
709
|
}
|
|
710
|
+
/**
|
|
711
|
+
* Defines the request payload for ServerGetCreateLeaderboard.
|
|
712
|
+
*/
|
|
332
713
|
class ServerGetCreateLeaderboardRequestData extends GetCreateLeaderboardRequestData {
|
|
333
714
|
}
|
|
715
|
+
/**
|
|
716
|
+
* Defines the request payload for AdminGetCreateLeaderboard.
|
|
717
|
+
*/
|
|
334
718
|
class AdminGetCreateLeaderboardRequestData extends ServerGetCreateLeaderboardRequestData {
|
|
335
719
|
}
|
|
720
|
+
/**
|
|
721
|
+
* Defines the request payload for GetLastLoginLeaderboard.
|
|
722
|
+
*/
|
|
336
723
|
class GetLastLoginLeaderboardRequestData {
|
|
337
724
|
infoRequestParam: InfoRequestParam;
|
|
338
725
|
skip?: number;
|
|
339
726
|
limit?: number;
|
|
340
727
|
loadFromCache?: boolean;
|
|
341
728
|
}
|
|
729
|
+
/**
|
|
730
|
+
* Defines the request payload for ServerGetLastLoginLeaderboard.
|
|
731
|
+
*/
|
|
342
732
|
class ServerGetLastLoginLeaderboardRequestData extends GetLastLoginLeaderboardRequestData {
|
|
343
733
|
}
|
|
734
|
+
/**
|
|
735
|
+
* Defines the request payload for AdminGetLastLoginLeaderboard.
|
|
736
|
+
*/
|
|
344
737
|
class AdminGetLastLoginLeaderboardRequestData extends ServerGetLastLoginLeaderboardRequestData {
|
|
345
738
|
}
|
|
739
|
+
/**
|
|
740
|
+
* Defines the request payload for GetTag.
|
|
741
|
+
*/
|
|
346
742
|
class GetTagRequestData {
|
|
347
743
|
userId?: string;
|
|
348
744
|
tagKeys: Array<string>;
|
|
349
745
|
}
|
|
746
|
+
/**
|
|
747
|
+
* Defines the request payload for ServerGetTag.
|
|
748
|
+
*/
|
|
350
749
|
class ServerGetTagRequestData extends GetTagRequestData {
|
|
351
750
|
userId: string;
|
|
352
751
|
}
|
|
752
|
+
/**
|
|
753
|
+
* Defines the request payload for AdminGetTag.
|
|
754
|
+
*/
|
|
353
755
|
class AdminGetTagRequestData extends ServerGetTagRequestData {
|
|
354
756
|
}
|
|
757
|
+
/**
|
|
758
|
+
* Defines the request payload for GetTsCreate.
|
|
759
|
+
*/
|
|
355
760
|
class GetTsCreateRequestData {
|
|
356
761
|
userId?: string;
|
|
357
762
|
}
|
|
763
|
+
/**
|
|
764
|
+
* Defines the request payload for ServerGetTsCreate.
|
|
765
|
+
*/
|
|
358
766
|
class ServerGetTsCreateRequestData extends GetTsCreateRequestData {
|
|
359
767
|
userId: string;
|
|
360
768
|
}
|
|
769
|
+
/**
|
|
770
|
+
* Defines the request payload for AdminGetTsCreate.
|
|
771
|
+
*/
|
|
361
772
|
class AdminGetTsCreateRequestData extends ServerGetTsCreateRequestData {
|
|
362
773
|
}
|
|
774
|
+
/**
|
|
775
|
+
* Defines the request payload for GetTsLastLogin.
|
|
776
|
+
*/
|
|
363
777
|
class GetTsLastLoginRequestData {
|
|
364
778
|
userId?: string;
|
|
365
779
|
}
|
|
780
|
+
/**
|
|
781
|
+
* Defines the request payload for ServerGetTsLastLogin.
|
|
782
|
+
*/
|
|
366
783
|
class ServerGetTsLastLoginRequestData extends GetTsLastLoginRequestData {
|
|
367
784
|
userId: string;
|
|
368
785
|
}
|
|
786
|
+
/**
|
|
787
|
+
* Defines the request payload for AdminGetTsLastLogin.
|
|
788
|
+
*/
|
|
369
789
|
class AdminGetTsLastLoginRequestData extends ServerGetTsLastLoginRequestData {
|
|
370
790
|
}
|
|
791
|
+
/**
|
|
792
|
+
* Defines the request payload for LinkAccount.
|
|
793
|
+
*/
|
|
371
794
|
class LinkAccountRequestData {
|
|
372
795
|
userId?: string;
|
|
373
796
|
username: string;
|
|
374
797
|
password: string;
|
|
375
798
|
forceLink?: boolean;
|
|
376
799
|
}
|
|
800
|
+
/**
|
|
801
|
+
* Defines the request payload for ServerLinkAccount.
|
|
802
|
+
*/
|
|
377
803
|
class ServerLinkAccountRequestData extends LinkAccountRequestData {
|
|
378
804
|
userId: string;
|
|
379
805
|
}
|
|
806
|
+
/**
|
|
807
|
+
* Defines the request payload for AdminLinkAccount.
|
|
808
|
+
*/
|
|
380
809
|
class AdminLinkAccountRequestData extends ServerLinkAccountRequestData {
|
|
381
810
|
}
|
|
811
|
+
/**
|
|
812
|
+
* Defines the request payload for LinkAndroidDeviceId.
|
|
813
|
+
*/
|
|
382
814
|
class LinkAndroidDeviceIdRequestData {
|
|
383
815
|
userId?: string;
|
|
384
816
|
androidDeviceId: string;
|
|
385
817
|
forceLink?: boolean;
|
|
386
818
|
}
|
|
819
|
+
/**
|
|
820
|
+
* Defines the request payload for ServerLinkAndroidDeviceId.
|
|
821
|
+
*/
|
|
387
822
|
class ServerLinkAndroidDeviceIdRequestData extends LinkAndroidDeviceIdRequestData {
|
|
388
823
|
userId: string;
|
|
389
824
|
}
|
|
825
|
+
/**
|
|
826
|
+
* Defines the request payload for AdminLinkAndroidDeviceId.
|
|
827
|
+
*/
|
|
390
828
|
class AdminLinkAndroidDeviceIdRequestData extends ServerLinkAndroidDeviceIdRequestData {
|
|
391
829
|
}
|
|
830
|
+
/**
|
|
831
|
+
* Defines the request payload for LinkApple.
|
|
832
|
+
*/
|
|
392
833
|
class LinkAppleRequestData {
|
|
393
834
|
userId?: string;
|
|
394
835
|
token: string;
|
|
395
836
|
forceLink?: boolean;
|
|
396
837
|
}
|
|
838
|
+
/**
|
|
839
|
+
* Defines the request payload for ServerLinkApple.
|
|
840
|
+
*/
|
|
397
841
|
class ServerLinkAppleRequestData extends LinkAppleRequestData {
|
|
398
842
|
userId: string;
|
|
399
843
|
}
|
|
844
|
+
/**
|
|
845
|
+
* Defines the request payload for AdminLinkApple.
|
|
846
|
+
*/
|
|
400
847
|
class AdminLinkAppleRequestData extends ServerLinkAppleRequestData {
|
|
401
848
|
}
|
|
849
|
+
/**
|
|
850
|
+
* Defines the request payload for LinkCustomDeviceId.
|
|
851
|
+
*/
|
|
402
852
|
class LinkCustomDeviceIdRequestData {
|
|
403
853
|
userId?: string;
|
|
404
854
|
customDeviceId: string;
|
|
405
855
|
forceLink?: boolean;
|
|
406
856
|
}
|
|
857
|
+
/**
|
|
858
|
+
* Defines the request payload for ServerLinkCustomDeviceId.
|
|
859
|
+
*/
|
|
407
860
|
class ServerLinkCustomDeviceIdRequestData extends LinkCustomDeviceIdRequestData {
|
|
408
861
|
userId: string;
|
|
409
862
|
}
|
|
863
|
+
/**
|
|
864
|
+
* Defines the request payload for AdminLinkCustomDeviceId.
|
|
865
|
+
*/
|
|
410
866
|
class AdminLinkCustomDeviceIdRequestData extends ServerLinkCustomDeviceIdRequestData {
|
|
411
867
|
}
|
|
868
|
+
/**
|
|
869
|
+
* Defines the request payload for LinkCustomId.
|
|
870
|
+
*/
|
|
412
871
|
class LinkCustomIdRequestData {
|
|
413
872
|
userId?: string;
|
|
414
873
|
customId: string;
|
|
415
874
|
forceLink?: boolean;
|
|
416
875
|
}
|
|
876
|
+
/**
|
|
877
|
+
* Defines the request payload for ServerLinkCustomId.
|
|
878
|
+
*/
|
|
417
879
|
class ServerLinkCustomIdRequestData extends LinkCustomIdRequestData {
|
|
418
880
|
userId: string;
|
|
419
881
|
}
|
|
882
|
+
/**
|
|
883
|
+
* Defines the request payload for AdminLinkCustomId.
|
|
884
|
+
*/
|
|
420
885
|
class AdminLinkCustomIdRequestData extends ServerLinkCustomIdRequestData {
|
|
421
886
|
}
|
|
887
|
+
/**
|
|
888
|
+
* Defines the request payload for LinkEditorDeviceId.
|
|
889
|
+
*/
|
|
422
890
|
class LinkEditorDeviceIdRequestData {
|
|
423
891
|
userId?: string;
|
|
424
892
|
editorDeviceId: string;
|
|
425
893
|
forceLink?: boolean;
|
|
426
894
|
}
|
|
895
|
+
/**
|
|
896
|
+
* Defines the request payload for ServerLinkEditorDeviceId.
|
|
897
|
+
*/
|
|
427
898
|
class ServerLinkEditorDeviceIdRequestData extends LinkEditorDeviceIdRequestData {
|
|
428
899
|
userId: string;
|
|
429
900
|
}
|
|
901
|
+
/**
|
|
902
|
+
* Defines the request payload for AdminLinkEditorDeviceId.
|
|
903
|
+
*/
|
|
430
904
|
class AdminLinkEditorDeviceIdRequestData extends ServerLinkEditorDeviceIdRequestData {
|
|
431
905
|
}
|
|
906
|
+
/**
|
|
907
|
+
* Defines the request payload for LinkFacebook.
|
|
908
|
+
*/
|
|
432
909
|
class LinkFacebookRequestData {
|
|
433
910
|
userId?: string;
|
|
434
911
|
token: string;
|
|
435
912
|
forceLink?: boolean;
|
|
436
913
|
}
|
|
914
|
+
/**
|
|
915
|
+
* Defines the request payload for ServerLinkFacebook.
|
|
916
|
+
*/
|
|
437
917
|
class ServerLinkFacebookRequestData extends LinkFacebookRequestData {
|
|
438
918
|
userId: string;
|
|
439
919
|
}
|
|
920
|
+
/**
|
|
921
|
+
* Defines the request payload for AdminLinkFacebook.
|
|
922
|
+
*/
|
|
440
923
|
class AdminLinkFacebookRequestData extends ServerLinkFacebookRequestData {
|
|
441
924
|
}
|
|
925
|
+
/**
|
|
926
|
+
* Defines the request payload for LinkGenericService.
|
|
927
|
+
*/
|
|
442
928
|
class LinkGenericServiceRequestData {
|
|
443
929
|
userId?: string;
|
|
444
930
|
serviceName: string;
|
|
445
931
|
serviceData: GNHashtable;
|
|
446
932
|
forceLink?: boolean;
|
|
447
933
|
}
|
|
934
|
+
/**
|
|
935
|
+
* Defines the request payload for ServerLinkGenericService.
|
|
936
|
+
*/
|
|
448
937
|
class ServerLinkGenericServiceRequestData extends LinkGenericServiceRequestData {
|
|
449
938
|
userId: string;
|
|
450
939
|
}
|
|
940
|
+
/**
|
|
941
|
+
* Defines the request payload for AdminLinkGenericService.
|
|
942
|
+
*/
|
|
451
943
|
class AdminLinkGenericServiceRequestData extends ServerLinkGenericServiceRequestData {
|
|
452
944
|
}
|
|
945
|
+
/**
|
|
946
|
+
* Defines the request payload for LinkGoogle.
|
|
947
|
+
*/
|
|
453
948
|
class LinkGoogleRequestData {
|
|
454
949
|
userId?: string;
|
|
455
950
|
token: string;
|
|
456
951
|
type: number;
|
|
457
952
|
forceLink?: boolean;
|
|
458
953
|
}
|
|
954
|
+
/**
|
|
955
|
+
* Defines the request payload for ServerLinkGoogle.
|
|
956
|
+
*/
|
|
459
957
|
class ServerLinkGoogleRequestData extends LinkGoogleRequestData {
|
|
460
958
|
userId: string;
|
|
461
959
|
}
|
|
960
|
+
/**
|
|
961
|
+
* Defines the request payload for AdminLinkGoogle.
|
|
962
|
+
*/
|
|
462
963
|
class AdminLinkGoogleRequestData extends ServerLinkGoogleRequestData {
|
|
463
964
|
}
|
|
965
|
+
/**
|
|
966
|
+
* Defines the request payload for LinkGooglePlayGameService.
|
|
967
|
+
*/
|
|
464
968
|
class LinkGooglePlayGameServiceRequestData {
|
|
465
969
|
userId?: string;
|
|
466
970
|
token: string;
|
|
467
971
|
forceLink?: boolean;
|
|
468
972
|
}
|
|
973
|
+
/**
|
|
974
|
+
* Defines the request payload for ServerLinkGooglePlayGameService.
|
|
975
|
+
*/
|
|
469
976
|
class ServerLinkGooglePlayGameServiceRequestData extends LinkGooglePlayGameServiceRequestData {
|
|
470
977
|
userId: string;
|
|
471
978
|
}
|
|
979
|
+
/**
|
|
980
|
+
* Defines the request payload for AdminLinkGooglePlayGameService.
|
|
981
|
+
*/
|
|
472
982
|
class AdminLinkGooglePlayGameServiceRequestData extends ServerLinkGooglePlayGameServiceRequestData {
|
|
473
983
|
}
|
|
984
|
+
/**
|
|
985
|
+
* Defines the request payload for LinkGameCenter.
|
|
986
|
+
*/
|
|
474
987
|
class LinkGameCenterRequestData {
|
|
475
988
|
userId?: string;
|
|
476
989
|
playerId: string;
|
|
@@ -481,404 +994,821 @@ export declare namespace MasterPlayerModels {
|
|
|
481
994
|
timestamp: number;
|
|
482
995
|
forceLink?: boolean;
|
|
483
996
|
}
|
|
997
|
+
/**
|
|
998
|
+
* Defines the request payload for ServerLinkGameCenter.
|
|
999
|
+
*/
|
|
484
1000
|
class ServerLinkGameCenterRequestData extends LinkGameCenterRequestData {
|
|
485
1001
|
userId: string;
|
|
486
1002
|
}
|
|
1003
|
+
/**
|
|
1004
|
+
* Defines the request payload for AdminLinkGameCenter.
|
|
1005
|
+
*/
|
|
487
1006
|
class AdminLinkGameCenterRequestData extends ServerLinkGameCenterRequestData {
|
|
488
1007
|
}
|
|
1008
|
+
/**
|
|
1009
|
+
* Defines the request payload for LinkiOSDeviceId.
|
|
1010
|
+
*/
|
|
489
1011
|
class LinkiOSDeviceIdRequestData {
|
|
490
1012
|
userId?: string;
|
|
491
1013
|
iOSDeviceId: string;
|
|
492
1014
|
forceLink?: boolean;
|
|
493
1015
|
}
|
|
1016
|
+
/**
|
|
1017
|
+
* Defines the request payload for ServerLinkiOSDeviceId.
|
|
1018
|
+
*/
|
|
494
1019
|
class ServerLinkiOSDeviceIdRequestData extends LinkiOSDeviceIdRequestData {
|
|
495
1020
|
userId: string;
|
|
496
1021
|
}
|
|
1022
|
+
/**
|
|
1023
|
+
* Defines the request payload for AdminLinkiOSDeviceId.
|
|
1024
|
+
*/
|
|
497
1025
|
class AdminLinkiOSDeviceIdRequestData extends ServerLinkiOSDeviceIdRequestData {
|
|
498
1026
|
}
|
|
1027
|
+
/**
|
|
1028
|
+
* Defines the request payload for LinkLinuxDeviceId.
|
|
1029
|
+
*/
|
|
499
1030
|
class LinkLinuxDeviceIdRequestData {
|
|
500
1031
|
userId?: string;
|
|
501
1032
|
linuxDeviceId: string;
|
|
502
1033
|
forceLink?: boolean;
|
|
503
1034
|
}
|
|
1035
|
+
/**
|
|
1036
|
+
* Defines the request payload for ServerLinkLinuxDeviceId.
|
|
1037
|
+
*/
|
|
504
1038
|
class ServerLinkLinuxDeviceIdRequestData extends LinkLinuxDeviceIdRequestData {
|
|
505
1039
|
userId: string;
|
|
506
1040
|
}
|
|
1041
|
+
/**
|
|
1042
|
+
* Defines the request payload for AdminLinkLinuxDeviceId.
|
|
1043
|
+
*/
|
|
507
1044
|
class AdminLinkLinuxDeviceIdRequestData extends ServerLinkLinuxDeviceIdRequestData {
|
|
508
1045
|
}
|
|
1046
|
+
/**
|
|
1047
|
+
* Defines the request payload for LinkMacOSDeviceId.
|
|
1048
|
+
*/
|
|
509
1049
|
class LinkMacOSDeviceIdRequestData {
|
|
510
1050
|
userId?: string;
|
|
511
1051
|
macOSDeviceId: string;
|
|
512
1052
|
forceLink?: boolean;
|
|
513
1053
|
}
|
|
1054
|
+
/**
|
|
1055
|
+
* Defines the request payload for ServerLinkMacOSDeviceId.
|
|
1056
|
+
*/
|
|
514
1057
|
class ServerLinkMacOSDeviceIdRequestData extends LinkMacOSDeviceIdRequestData {
|
|
515
1058
|
userId: string;
|
|
516
1059
|
}
|
|
1060
|
+
/**
|
|
1061
|
+
* Defines the request payload for AdminLinkMacOSDeviceId.
|
|
1062
|
+
*/
|
|
517
1063
|
class AdminLinkMacOSDeviceIdRequestData extends ServerLinkMacOSDeviceIdRequestData {
|
|
518
1064
|
}
|
|
1065
|
+
/**
|
|
1066
|
+
* Defines the request payload for LinkWindowsDeviceId.
|
|
1067
|
+
*/
|
|
519
1068
|
class LinkWindowsDeviceIdRequestData {
|
|
520
1069
|
userId?: string;
|
|
521
1070
|
windowsDeviceId: string;
|
|
522
1071
|
forceLink?: boolean;
|
|
523
1072
|
}
|
|
1073
|
+
/**
|
|
1074
|
+
* Defines the request payload for ServerLinkWindowsDeviceId.
|
|
1075
|
+
*/
|
|
524
1076
|
class ServerLinkWindowsDeviceIdRequestData extends LinkWindowsDeviceIdRequestData {
|
|
525
1077
|
userId: string;
|
|
526
1078
|
}
|
|
1079
|
+
/**
|
|
1080
|
+
* Defines the request payload for AdminLinkWindowsDeviceId.
|
|
1081
|
+
*/
|
|
527
1082
|
class AdminLinkWindowsDeviceIdRequestData extends ServerLinkWindowsDeviceIdRequestData {
|
|
528
1083
|
}
|
|
1084
|
+
/**
|
|
1085
|
+
* Defines the request payload for LinkWindowsPhoneDeviceId.
|
|
1086
|
+
*/
|
|
529
1087
|
class LinkWindowsPhoneDeviceIdRequestData {
|
|
530
1088
|
userId?: string;
|
|
531
1089
|
windowsPhoneDeviceId: string;
|
|
532
1090
|
forceLink?: boolean;
|
|
533
1091
|
}
|
|
1092
|
+
/**
|
|
1093
|
+
* Defines the request payload for ServerLinkWindowsPhoneDeviceId.
|
|
1094
|
+
*/
|
|
534
1095
|
class ServerLinkWindowsPhoneDeviceIdRequestData extends LinkWindowsPhoneDeviceIdRequestData {
|
|
535
1096
|
userId: string;
|
|
536
1097
|
}
|
|
1098
|
+
/**
|
|
1099
|
+
* Defines the request payload for AdminLinkWindowsPhoneDeviceId.
|
|
1100
|
+
*/
|
|
537
1101
|
class AdminLinkWindowsPhoneDeviceIdRequestData extends ServerLinkWindowsPhoneDeviceIdRequestData {
|
|
538
1102
|
}
|
|
1103
|
+
/**
|
|
1104
|
+
* Defines the request payload for RemoveSegment.
|
|
1105
|
+
*/
|
|
539
1106
|
class RemoveSegmentRequestData {
|
|
540
1107
|
userId?: string;
|
|
541
1108
|
value: string;
|
|
542
1109
|
}
|
|
1110
|
+
/**
|
|
1111
|
+
* Defines the request payload for ServerRemoveSegment.
|
|
1112
|
+
*/
|
|
543
1113
|
class ServerRemoveSegmentRequestData extends RemoveSegmentRequestData {
|
|
544
1114
|
userId: string;
|
|
545
1115
|
}
|
|
1116
|
+
/**
|
|
1117
|
+
* Defines the request payload for AdminRemoveSegment.
|
|
1118
|
+
*/
|
|
546
1119
|
class AdminRemoveSegmentRequestData extends ServerRemoveSegmentRequestData {
|
|
547
1120
|
}
|
|
1121
|
+
/**
|
|
1122
|
+
* Defines the request payload for RemoveTag.
|
|
1123
|
+
*/
|
|
548
1124
|
class RemoveTagRequestData {
|
|
549
1125
|
userId?: string;
|
|
550
1126
|
key: string;
|
|
551
1127
|
}
|
|
1128
|
+
/**
|
|
1129
|
+
* Defines the request payload for ServerRemoveTag.
|
|
1130
|
+
*/
|
|
552
1131
|
class ServerRemoveTagRequestData extends RemoveTagRequestData {
|
|
553
1132
|
userId: string;
|
|
554
1133
|
}
|
|
1134
|
+
/**
|
|
1135
|
+
* Defines the request payload for AdminRemoveTag.
|
|
1136
|
+
*/
|
|
555
1137
|
class AdminRemoveTagRequestData extends ServerRemoveTagRequestData {
|
|
556
1138
|
}
|
|
1139
|
+
/**
|
|
1140
|
+
* Defines the request payload for ResetAccountPassword.
|
|
1141
|
+
*/
|
|
557
1142
|
class ResetAccountPasswordRequestData {
|
|
558
1143
|
userId?: string;
|
|
559
1144
|
password: string;
|
|
560
1145
|
}
|
|
1146
|
+
/**
|
|
1147
|
+
* Defines the request payload for ServerResetAccountPassword.
|
|
1148
|
+
*/
|
|
561
1149
|
class ServerResetAccountPasswordRequestData extends ResetAccountPasswordRequestData {
|
|
562
1150
|
userId: string;
|
|
563
1151
|
}
|
|
1152
|
+
/**
|
|
1153
|
+
* Defines the request payload for AdminResetAccountPassword.
|
|
1154
|
+
*/
|
|
564
1155
|
class AdminResetAccountPasswordRequestData extends ServerResetAccountPasswordRequestData {
|
|
565
1156
|
}
|
|
1157
|
+
/**
|
|
1158
|
+
* Defines the request payload for SetAvatar.
|
|
1159
|
+
*/
|
|
566
1160
|
class SetAvatarRequestData {
|
|
567
1161
|
userId?: string;
|
|
568
1162
|
type: number;
|
|
569
1163
|
value: string;
|
|
570
1164
|
}
|
|
1165
|
+
/**
|
|
1166
|
+
* Defines the request payload for ServerSetAvatar.
|
|
1167
|
+
*/
|
|
571
1168
|
class ServerSetAvatarRequestData extends SetAvatarRequestData {
|
|
572
1169
|
userId: string;
|
|
573
1170
|
}
|
|
1171
|
+
/**
|
|
1172
|
+
* Defines the request payload for AdminSetAvatar.
|
|
1173
|
+
*/
|
|
574
1174
|
class AdminSetAvatarRequestData extends ServerSetAvatarRequestData {
|
|
575
1175
|
}
|
|
1176
|
+
/**
|
|
1177
|
+
* Defines the request payload for SetCountryCode.
|
|
1178
|
+
*/
|
|
576
1179
|
class SetCountryCodeRequestData {
|
|
577
1180
|
userId?: string;
|
|
578
1181
|
countryCode: string;
|
|
579
1182
|
}
|
|
1183
|
+
/**
|
|
1184
|
+
* Defines the request payload for ServerSetCountryCode.
|
|
1185
|
+
*/
|
|
580
1186
|
class ServerSetCountryCodeRequestData extends SetCountryCodeRequestData {
|
|
581
1187
|
userId: string;
|
|
582
1188
|
}
|
|
1189
|
+
/**
|
|
1190
|
+
* Defines the request payload for AdminSetCountryCode.
|
|
1191
|
+
*/
|
|
583
1192
|
class AdminSetCountryCodeRequestData extends ServerSetCountryCodeRequestData {
|
|
584
1193
|
}
|
|
1194
|
+
/**
|
|
1195
|
+
* Defines the request payload for SetCustomData.
|
|
1196
|
+
*/
|
|
585
1197
|
class SetCustomDataRequestData {
|
|
586
1198
|
userId?: string;
|
|
587
1199
|
customDatas: Array<CustomDataParam>;
|
|
588
1200
|
}
|
|
1201
|
+
/**
|
|
1202
|
+
* Defines the request payload for ServerSetCustomData.
|
|
1203
|
+
*/
|
|
589
1204
|
class ServerSetCustomDataRequestData extends SetCustomDataRequestData {
|
|
590
1205
|
userId: string;
|
|
591
1206
|
}
|
|
1207
|
+
/**
|
|
1208
|
+
* Defines the request payload for AdminSetCustomData.
|
|
1209
|
+
*/
|
|
592
1210
|
class AdminSetCustomDataRequestData extends ServerSetCustomDataRequestData {
|
|
593
1211
|
}
|
|
1212
|
+
/**
|
|
1213
|
+
* Defines the request payload for SetDisplayName.
|
|
1214
|
+
*/
|
|
594
1215
|
class SetDisplayNameRequestData {
|
|
595
1216
|
userId?: string;
|
|
596
1217
|
displayName: string;
|
|
597
1218
|
uniqueDisplayName?: boolean;
|
|
598
1219
|
}
|
|
1220
|
+
/**
|
|
1221
|
+
* Defines the request payload for ServerSetDisplayName.
|
|
1222
|
+
*/
|
|
599
1223
|
class ServerSetDisplayNameRequestData extends SetDisplayNameRequestData {
|
|
600
1224
|
userId: string;
|
|
601
1225
|
}
|
|
1226
|
+
/**
|
|
1227
|
+
* Defines the request payload for AdminSetDisplayName.
|
|
1228
|
+
*/
|
|
602
1229
|
class AdminSetDisplayNameRequestData extends ServerSetDisplayNameRequestData {
|
|
603
1230
|
}
|
|
1231
|
+
/**
|
|
1232
|
+
* Defines the request payload for SetEmail.
|
|
1233
|
+
*/
|
|
604
1234
|
class SetEmailRequestData {
|
|
605
1235
|
userId?: string;
|
|
606
1236
|
email: string;
|
|
607
1237
|
}
|
|
1238
|
+
/**
|
|
1239
|
+
* Defines the request payload for ServerSetEmail.
|
|
1240
|
+
*/
|
|
608
1241
|
class ServerSetEmailRequestData extends SetEmailRequestData {
|
|
609
1242
|
userId: string;
|
|
610
1243
|
}
|
|
1244
|
+
/**
|
|
1245
|
+
* Defines the request payload for AdminSetEmail.
|
|
1246
|
+
*/
|
|
611
1247
|
class AdminSetEmailRequestData extends ServerSetEmailRequestData {
|
|
612
1248
|
}
|
|
1249
|
+
/**
|
|
1250
|
+
* Defines the request payload for SetPlayerBan.
|
|
1251
|
+
*/
|
|
613
1252
|
class SetPlayerBanRequestData {
|
|
614
1253
|
userId?: string;
|
|
615
1254
|
tsExpire: number;
|
|
616
1255
|
reason: string;
|
|
617
1256
|
}
|
|
1257
|
+
/**
|
|
1258
|
+
* Defines the request payload for ServerSetPlayerBan.
|
|
1259
|
+
*/
|
|
618
1260
|
class ServerSetPlayerBanRequestData extends SetPlayerBanRequestData {
|
|
619
1261
|
userId: string;
|
|
620
1262
|
}
|
|
1263
|
+
/**
|
|
1264
|
+
* Defines the request payload for AdminSetPlayerBan.
|
|
1265
|
+
*/
|
|
621
1266
|
class AdminSetPlayerBanRequestData extends ServerSetPlayerBanRequestData {
|
|
622
1267
|
}
|
|
1268
|
+
/**
|
|
1269
|
+
* Defines the request payload for ChangePlayerCurrency.
|
|
1270
|
+
*/
|
|
623
1271
|
class ChangePlayerCurrencyRequestData {
|
|
624
1272
|
userId?: string;
|
|
625
1273
|
playerCurrencies: Array<PlayerCurrencyParam>;
|
|
626
1274
|
log?: string;
|
|
627
1275
|
}
|
|
1276
|
+
/**
|
|
1277
|
+
* Defines the request payload for ServerChangePlayerCurrency.
|
|
1278
|
+
*/
|
|
628
1279
|
class ServerChangePlayerCurrencyRequestData extends ChangePlayerCurrencyRequestData {
|
|
629
1280
|
userId: string;
|
|
630
1281
|
}
|
|
1282
|
+
/**
|
|
1283
|
+
* Defines the request payload for AdminChangePlayerCurrency.
|
|
1284
|
+
*/
|
|
631
1285
|
class AdminChangePlayerCurrencyRequestData extends ServerChangePlayerCurrencyRequestData {
|
|
632
1286
|
}
|
|
1287
|
+
/**
|
|
1288
|
+
* Defines the request payload for SetPlayerData.
|
|
1289
|
+
*/
|
|
633
1290
|
class SetPlayerDataRequestData {
|
|
634
1291
|
userId?: string;
|
|
635
1292
|
playerDatas: Array<PlayerDataParam>;
|
|
636
1293
|
}
|
|
1294
|
+
/**
|
|
1295
|
+
* Defines the request payload for ServerSetPlayerData.
|
|
1296
|
+
*/
|
|
637
1297
|
class ServerSetPlayerDataRequestData extends SetPlayerDataRequestData {
|
|
638
1298
|
userId: string;
|
|
639
1299
|
}
|
|
1300
|
+
/**
|
|
1301
|
+
* Defines the request payload for AdminSetPlayerData.
|
|
1302
|
+
*/
|
|
640
1303
|
class AdminSetPlayerDataRequestData extends ServerSetPlayerDataRequestData {
|
|
641
1304
|
}
|
|
1305
|
+
/**
|
|
1306
|
+
* Defines the request payload for ChangePlayerStatistics.
|
|
1307
|
+
*/
|
|
642
1308
|
class ChangePlayerStatisticsRequestData {
|
|
643
1309
|
userId?: string;
|
|
644
1310
|
playerStatistics: Array<PlayerStatisticsParam>;
|
|
645
1311
|
log?: string;
|
|
646
1312
|
}
|
|
1313
|
+
/**
|
|
1314
|
+
* Defines the request payload for ServerChangePlayerStatistics.
|
|
1315
|
+
*/
|
|
647
1316
|
class ServerChangePlayerStatisticsRequestData extends ChangePlayerStatisticsRequestData {
|
|
648
1317
|
userId: string;
|
|
649
1318
|
}
|
|
1319
|
+
/**
|
|
1320
|
+
* Defines the request payload for AdminChangePlayerStatistics.
|
|
1321
|
+
*/
|
|
650
1322
|
class AdminChangePlayerStatisticsRequestData extends ServerChangePlayerStatisticsRequestData {
|
|
651
1323
|
}
|
|
1324
|
+
/**
|
|
1325
|
+
* Defines the request payload for SetTag.
|
|
1326
|
+
*/
|
|
652
1327
|
class SetTagRequestData {
|
|
653
1328
|
userId?: string;
|
|
654
1329
|
key: string;
|
|
655
1330
|
value: string;
|
|
656
1331
|
}
|
|
1332
|
+
/**
|
|
1333
|
+
* Defines the request payload for ServerSetTag.
|
|
1334
|
+
*/
|
|
657
1335
|
class ServerSetTagRequestData extends SetTagRequestData {
|
|
658
1336
|
userId: string;
|
|
659
1337
|
}
|
|
1338
|
+
/**
|
|
1339
|
+
* Defines the request payload for AdminSetTag.
|
|
1340
|
+
*/
|
|
660
1341
|
class AdminSetTagRequestData extends ServerSetTagRequestData {
|
|
661
1342
|
}
|
|
1343
|
+
/**
|
|
1344
|
+
* Reads currency change logs for the current or target master player.
|
|
1345
|
+
* Pagination is token-based rather than skip-based.
|
|
1346
|
+
*/
|
|
662
1347
|
class GetCurrencyLogRequestData {
|
|
663
1348
|
keys?: Array<string>;
|
|
1349
|
+
/**
|
|
1350
|
+
* Optional self-target shortcut on the client route.
|
|
1351
|
+
*/
|
|
664
1352
|
userId?: string;
|
|
665
1353
|
limit?: number;
|
|
1354
|
+
/**
|
|
1355
|
+
* Continuation token returned by the previous page.
|
|
1356
|
+
*/
|
|
666
1357
|
token?: string;
|
|
667
1358
|
}
|
|
1359
|
+
/**
|
|
1360
|
+
* Defines the request payload for ServerGetCurrencyLog.
|
|
1361
|
+
*/
|
|
668
1362
|
class ServerGetCurrencyLogRequestData extends GetCurrencyLogRequestData {
|
|
669
1363
|
}
|
|
1364
|
+
/**
|
|
1365
|
+
* Defines the request payload for AdminGetCurrencyLog.
|
|
1366
|
+
*/
|
|
670
1367
|
class AdminGetCurrencyLogRequestData extends ServerGetCurrencyLogRequestData {
|
|
671
1368
|
}
|
|
1369
|
+
/**
|
|
1370
|
+
* Reads statistic change logs for the current or target master player.
|
|
1371
|
+
* Pagination is token-based rather than skip-based.
|
|
1372
|
+
*/
|
|
672
1373
|
class GetStatisticsLogRequestData {
|
|
673
1374
|
keys?: Array<string>;
|
|
1375
|
+
/**
|
|
1376
|
+
* Optional self-target shortcut on the client route.
|
|
1377
|
+
*/
|
|
674
1378
|
userId?: string;
|
|
675
1379
|
limit?: number;
|
|
1380
|
+
/**
|
|
1381
|
+
* Continuation token returned by the previous page.
|
|
1382
|
+
*/
|
|
676
1383
|
token?: string;
|
|
677
1384
|
}
|
|
1385
|
+
/**
|
|
1386
|
+
* Defines the request payload for ServerGetStatisticsLog.
|
|
1387
|
+
*/
|
|
678
1388
|
class ServerGetStatisticsLogRequestData extends GetStatisticsLogRequestData {
|
|
679
1389
|
}
|
|
1390
|
+
/**
|
|
1391
|
+
* Defines the request payload for AdminGetStatisticsLog.
|
|
1392
|
+
*/
|
|
680
1393
|
class AdminGetStatisticsLogRequestData extends ServerGetStatisticsLogRequestData {
|
|
681
1394
|
}
|
|
682
|
-
|
|
1395
|
+
/**
|
|
1396
|
+
* Defines the request payload for UpdateTsLastLogin.
|
|
1397
|
+
*/
|
|
1398
|
+
class UpdateTsLastLoginRequestData {
|
|
683
1399
|
userId?: string;
|
|
684
1400
|
}
|
|
685
|
-
|
|
1401
|
+
/**
|
|
1402
|
+
* Defines the request payload for ServerUpdateTsLastLogin.
|
|
1403
|
+
*/
|
|
1404
|
+
class ServerUpdateTsLastLoginRequestData extends UpdateTsLastLoginRequestData {
|
|
686
1405
|
userId: string;
|
|
687
1406
|
}
|
|
688
|
-
|
|
1407
|
+
/**
|
|
1408
|
+
* Defines the request payload for AdminUpdateTsLastLogin.
|
|
1409
|
+
*/
|
|
1410
|
+
class AdminUpdateTsLastLoginRequestData extends ServerUpdateTsLastLoginRequestData {
|
|
689
1411
|
}
|
|
1412
|
+
/**
|
|
1413
|
+
* Defines the request payload for UnlinkAccount.
|
|
1414
|
+
*/
|
|
690
1415
|
class UnlinkAccountRequestData {
|
|
691
1416
|
userId?: string;
|
|
692
1417
|
username: string;
|
|
693
1418
|
}
|
|
1419
|
+
/**
|
|
1420
|
+
* Defines the request payload for ServerUnlinkAccount.
|
|
1421
|
+
*/
|
|
694
1422
|
class ServerUnlinkAccountRequestData extends UnlinkAccountRequestData {
|
|
695
1423
|
userId: string;
|
|
696
1424
|
}
|
|
1425
|
+
/**
|
|
1426
|
+
* Defines the request payload for AdminUnlinkAccount.
|
|
1427
|
+
*/
|
|
697
1428
|
class AdminUnlinkAccountRequestData extends ServerUnlinkAccountRequestData {
|
|
698
1429
|
}
|
|
1430
|
+
/**
|
|
1431
|
+
* Defines the request payload for UnlinkAndroidDeviceId.
|
|
1432
|
+
*/
|
|
699
1433
|
class UnlinkAndroidDeviceIdRequestData {
|
|
700
1434
|
userId?: string;
|
|
701
1435
|
androidDeviceId: string;
|
|
702
1436
|
}
|
|
1437
|
+
/**
|
|
1438
|
+
* Defines the request payload for ServerUnlinkAndroidDeviceId.
|
|
1439
|
+
*/
|
|
703
1440
|
class ServerUnlinkAndroidDeviceIdRequestData extends UnlinkAndroidDeviceIdRequestData {
|
|
704
1441
|
userId: string;
|
|
705
1442
|
}
|
|
1443
|
+
/**
|
|
1444
|
+
* Defines the request payload for AdminUnlinkAndroidDeviceId.
|
|
1445
|
+
*/
|
|
706
1446
|
class AdminUnlinkAndroidDeviceIdRequestData extends ServerUnlinkAndroidDeviceIdRequestData {
|
|
707
1447
|
}
|
|
1448
|
+
/**
|
|
1449
|
+
* Defines the request payload for UnlinkApple.
|
|
1450
|
+
*/
|
|
708
1451
|
class UnlinkAppleRequestData {
|
|
709
1452
|
userId?: string;
|
|
710
1453
|
appleId: string;
|
|
711
1454
|
}
|
|
1455
|
+
/**
|
|
1456
|
+
* Defines the request payload for ServerUnlinkApple.
|
|
1457
|
+
*/
|
|
712
1458
|
class ServerUnlinkAppleRequestData extends UnlinkAppleRequestData {
|
|
713
1459
|
userId: string;
|
|
714
1460
|
}
|
|
1461
|
+
/**
|
|
1462
|
+
* Defines the request payload for AdminUnlinkApple.
|
|
1463
|
+
*/
|
|
715
1464
|
class AdminUnlinkAppleRequestData extends ServerUnlinkAppleRequestData {
|
|
716
1465
|
}
|
|
1466
|
+
/**
|
|
1467
|
+
* Defines the request payload for UnlinkCustomDeviceId.
|
|
1468
|
+
*/
|
|
717
1469
|
class UnlinkCustomDeviceIdRequestData {
|
|
718
1470
|
userId?: string;
|
|
719
1471
|
customDeviceId: string;
|
|
720
1472
|
}
|
|
1473
|
+
/**
|
|
1474
|
+
* Defines the request payload for ServerUnlinkCustomDeviceId.
|
|
1475
|
+
*/
|
|
721
1476
|
class ServerUnlinkCustomDeviceIdRequestData extends UnlinkCustomDeviceIdRequestData {
|
|
722
1477
|
userId: string;
|
|
723
1478
|
}
|
|
1479
|
+
/**
|
|
1480
|
+
* Defines the request payload for AdminUnlinkCustomDeviceId.
|
|
1481
|
+
*/
|
|
724
1482
|
class AdminUnlinkCustomDeviceIdRequestData extends ServerUnlinkCustomDeviceIdRequestData {
|
|
725
1483
|
}
|
|
1484
|
+
/**
|
|
1485
|
+
* Defines the request payload for UnlinkCustomId.
|
|
1486
|
+
*/
|
|
726
1487
|
class UnlinkCustomIdRequestData {
|
|
727
1488
|
userId?: string;
|
|
728
1489
|
customId: string;
|
|
729
1490
|
}
|
|
1491
|
+
/**
|
|
1492
|
+
* Defines the request payload for ServerUnlinkCustomId.
|
|
1493
|
+
*/
|
|
730
1494
|
class ServerUnlinkCustomIdRequestData extends UnlinkCustomIdRequestData {
|
|
731
1495
|
userId: string;
|
|
732
1496
|
}
|
|
1497
|
+
/**
|
|
1498
|
+
* Defines the request payload for AdminUnlinkCustomId.
|
|
1499
|
+
*/
|
|
733
1500
|
class AdminUnlinkCustomIdRequestData extends ServerUnlinkCustomIdRequestData {
|
|
734
1501
|
}
|
|
1502
|
+
/**
|
|
1503
|
+
* Defines the request payload for UnlinkEditorDeviceId.
|
|
1504
|
+
*/
|
|
735
1505
|
class UnlinkEditorDeviceIdRequestData {
|
|
736
1506
|
userId?: string;
|
|
737
1507
|
editorDeviceId: string;
|
|
738
1508
|
}
|
|
1509
|
+
/**
|
|
1510
|
+
* Defines the request payload for ServerUnlinkEditorDeviceId.
|
|
1511
|
+
*/
|
|
739
1512
|
class ServerUnlinkEditorDeviceIdRequestData extends UnlinkEditorDeviceIdRequestData {
|
|
740
1513
|
userId: string;
|
|
741
1514
|
}
|
|
1515
|
+
/**
|
|
1516
|
+
* Defines the request payload for AdminUnlinkEditorDeviceId.
|
|
1517
|
+
*/
|
|
742
1518
|
class AdminUnlinkEditorDeviceIdRequestData extends ServerUnlinkEditorDeviceIdRequestData {
|
|
743
1519
|
}
|
|
1520
|
+
/**
|
|
1521
|
+
* Defines the request payload for UnlinkFacebook.
|
|
1522
|
+
*/
|
|
744
1523
|
class UnlinkFacebookRequestData {
|
|
745
1524
|
userId?: string;
|
|
746
1525
|
facebookId: string;
|
|
747
1526
|
}
|
|
1527
|
+
/**
|
|
1528
|
+
* Defines the request payload for ServerUnlinkFacebook.
|
|
1529
|
+
*/
|
|
748
1530
|
class ServerUnlinkFacebookRequestData extends UnlinkFacebookRequestData {
|
|
749
1531
|
userId: string;
|
|
750
1532
|
}
|
|
1533
|
+
/**
|
|
1534
|
+
* Defines the request payload for AdminUnlinkFacebook.
|
|
1535
|
+
*/
|
|
751
1536
|
class AdminUnlinkFacebookRequestData extends ServerUnlinkFacebookRequestData {
|
|
752
1537
|
}
|
|
1538
|
+
/**
|
|
1539
|
+
* Defines the request payload for UnlinkGenericService.
|
|
1540
|
+
*/
|
|
753
1541
|
class UnlinkGenericServiceRequestData {
|
|
754
1542
|
userId?: string;
|
|
755
1543
|
serviceName: string;
|
|
756
1544
|
serviceId: string;
|
|
757
1545
|
}
|
|
1546
|
+
/**
|
|
1547
|
+
* Defines the request payload for ServerUnlinkGenericService.
|
|
1548
|
+
*/
|
|
758
1549
|
class ServerUnlinkGenericServiceRequestData extends UnlinkGenericServiceRequestData {
|
|
759
1550
|
userId: string;
|
|
760
1551
|
}
|
|
1552
|
+
/**
|
|
1553
|
+
* Defines the request payload for AdminUnlinkGenericService.
|
|
1554
|
+
*/
|
|
761
1555
|
class AdminUnlinkGenericServiceRequestData extends ServerUnlinkGenericServiceRequestData {
|
|
762
1556
|
}
|
|
1557
|
+
/**
|
|
1558
|
+
* Defines the request payload for UnlinkGoogle.
|
|
1559
|
+
*/
|
|
763
1560
|
class UnlinkGoogleRequestData {
|
|
764
1561
|
userId?: string;
|
|
765
1562
|
googleId: string;
|
|
766
1563
|
}
|
|
1564
|
+
/**
|
|
1565
|
+
* Defines the request payload for ServerUnlinkGoogle.
|
|
1566
|
+
*/
|
|
767
1567
|
class ServerUnlinkGoogleRequestData extends UnlinkGoogleRequestData {
|
|
768
1568
|
userId: string;
|
|
769
1569
|
}
|
|
1570
|
+
/**
|
|
1571
|
+
* Defines the request payload for AdminUnlinkGoogle.
|
|
1572
|
+
*/
|
|
770
1573
|
class AdminUnlinkGoogleRequestData extends ServerUnlinkGoogleRequestData {
|
|
771
1574
|
}
|
|
1575
|
+
/**
|
|
1576
|
+
* Defines the request payload for UnlinkGooglePlayGameService.
|
|
1577
|
+
*/
|
|
772
1578
|
class UnlinkGooglePlayGameServiceRequestData {
|
|
773
1579
|
userId?: string;
|
|
774
1580
|
playerId: string;
|
|
775
1581
|
}
|
|
1582
|
+
/**
|
|
1583
|
+
* Defines the request payload for ServerUnlinkGooglePlayGameService.
|
|
1584
|
+
*/
|
|
776
1585
|
class ServerUnlinkGooglePlayGameServiceRequestData extends UnlinkGooglePlayGameServiceRequestData {
|
|
777
1586
|
userId: string;
|
|
778
1587
|
}
|
|
1588
|
+
/**
|
|
1589
|
+
* Defines the request payload for AdminUnlinkGooglePlayGameService.
|
|
1590
|
+
*/
|
|
779
1591
|
class AdminUnlinkGooglePlayGameServiceRequestData extends ServerUnlinkGooglePlayGameServiceRequestData {
|
|
780
1592
|
}
|
|
1593
|
+
/**
|
|
1594
|
+
* Defines the request payload for UnlinkGameCenter.
|
|
1595
|
+
*/
|
|
781
1596
|
class UnlinkGameCenterRequestData {
|
|
782
1597
|
userId?: string;
|
|
783
1598
|
playerId: string;
|
|
784
1599
|
}
|
|
1600
|
+
/**
|
|
1601
|
+
* Defines the request payload for ServerUnlinkGameCenter.
|
|
1602
|
+
*/
|
|
785
1603
|
class ServerUnlinkGameCenterRequestData extends UnlinkGameCenterRequestData {
|
|
786
1604
|
userId: string;
|
|
787
1605
|
}
|
|
1606
|
+
/**
|
|
1607
|
+
* Defines the request payload for AdminUnlinkGameCenter.
|
|
1608
|
+
*/
|
|
788
1609
|
class AdminUnlinkGameCenterRequestData extends ServerUnlinkGameCenterRequestData {
|
|
789
1610
|
}
|
|
1611
|
+
/**
|
|
1612
|
+
* Defines the request payload for UnlinkiOSDeviceId.
|
|
1613
|
+
*/
|
|
790
1614
|
class UnlinkiOSDeviceIdRequestData {
|
|
791
1615
|
userId?: string;
|
|
792
1616
|
iOSDeviceId: string;
|
|
793
1617
|
}
|
|
1618
|
+
/**
|
|
1619
|
+
* Defines the request payload for ServerUnlinkiOSDeviceId.
|
|
1620
|
+
*/
|
|
794
1621
|
class ServerUnlinkiOSDeviceIdRequestData extends UnlinkiOSDeviceIdRequestData {
|
|
795
1622
|
userId: string;
|
|
796
1623
|
}
|
|
1624
|
+
/**
|
|
1625
|
+
* Defines the request payload for AdminUnlinkiOSDeviceId.
|
|
1626
|
+
*/
|
|
797
1627
|
class AdminUnlinkiOSDeviceIdRequestData extends ServerUnlinkiOSDeviceIdRequestData {
|
|
798
1628
|
}
|
|
1629
|
+
/**
|
|
1630
|
+
* Defines the request payload for UnlinkLinuxDeviceId.
|
|
1631
|
+
*/
|
|
799
1632
|
class UnlinkLinuxDeviceIdRequestData {
|
|
800
1633
|
userId?: string;
|
|
801
1634
|
linuxDeviceId: string;
|
|
802
1635
|
}
|
|
1636
|
+
/**
|
|
1637
|
+
* Defines the request payload for ServerUnlinkLinuxDeviceId.
|
|
1638
|
+
*/
|
|
803
1639
|
class ServerUnlinkLinuxDeviceIdRequestData extends UnlinkLinuxDeviceIdRequestData {
|
|
804
1640
|
userId: string;
|
|
805
1641
|
}
|
|
1642
|
+
/**
|
|
1643
|
+
* Defines the request payload for AdminUnlinkLinuxDeviceId.
|
|
1644
|
+
*/
|
|
806
1645
|
class AdminUnlinkLinuxDeviceIdRequestData extends ServerUnlinkLinuxDeviceIdRequestData {
|
|
807
1646
|
}
|
|
1647
|
+
/**
|
|
1648
|
+
* Defines the request payload for UnlinkMacOSDeviceId.
|
|
1649
|
+
*/
|
|
808
1650
|
class UnlinkMacOSDeviceIdRequestData {
|
|
809
1651
|
userId?: string;
|
|
810
1652
|
macOSDeviceId: string;
|
|
811
1653
|
}
|
|
1654
|
+
/**
|
|
1655
|
+
* Defines the request payload for ServerUnlinkMacOSDeviceId.
|
|
1656
|
+
*/
|
|
812
1657
|
class ServerUnlinkMacOSDeviceIdRequestData extends UnlinkMacOSDeviceIdRequestData {
|
|
813
1658
|
userId: string;
|
|
814
1659
|
}
|
|
1660
|
+
/**
|
|
1661
|
+
* Defines the request payload for AdminUnlinkMacOSDeviceId.
|
|
1662
|
+
*/
|
|
815
1663
|
class AdminUnlinkMacOSDeviceIdRequestData extends ServerUnlinkMacOSDeviceIdRequestData {
|
|
816
1664
|
}
|
|
1665
|
+
/**
|
|
1666
|
+
* Defines the request payload for UnlinkWindowsDeviceId.
|
|
1667
|
+
*/
|
|
817
1668
|
class UnlinkWindowsDeviceIdRequestData {
|
|
818
1669
|
userId?: string;
|
|
819
1670
|
windowsDeviceId: string;
|
|
820
1671
|
}
|
|
1672
|
+
/**
|
|
1673
|
+
* Defines the request payload for ServerUnlinkWindowsDeviceId.
|
|
1674
|
+
*/
|
|
821
1675
|
class ServerUnlinkWindowsDeviceIdRequestData extends UnlinkWindowsDeviceIdRequestData {
|
|
822
1676
|
userId: string;
|
|
823
1677
|
}
|
|
1678
|
+
/**
|
|
1679
|
+
* Defines the request payload for AdminUnlinkWindowsDeviceId.
|
|
1680
|
+
*/
|
|
824
1681
|
class AdminUnlinkWindowsDeviceIdRequestData extends ServerUnlinkWindowsDeviceIdRequestData {
|
|
825
1682
|
}
|
|
1683
|
+
/**
|
|
1684
|
+
* Defines the request payload for UnlinkWindowsPhoneDeviceId.
|
|
1685
|
+
*/
|
|
826
1686
|
class UnlinkWindowsPhoneDeviceIdRequestData {
|
|
827
1687
|
userId?: string;
|
|
828
1688
|
windowsPhoneDeviceId: string;
|
|
829
1689
|
}
|
|
1690
|
+
/**
|
|
1691
|
+
* Defines the request payload for ServerUnlinkWindowsPhoneDeviceId.
|
|
1692
|
+
*/
|
|
830
1693
|
class ServerUnlinkWindowsPhoneDeviceIdRequestData extends UnlinkWindowsPhoneDeviceIdRequestData {
|
|
831
1694
|
userId: string;
|
|
832
1695
|
}
|
|
1696
|
+
/**
|
|
1697
|
+
* Defines the request payload for AdminUnlinkWindowsPhoneDeviceId.
|
|
1698
|
+
*/
|
|
833
1699
|
class AdminUnlinkWindowsPhoneDeviceIdRequestData extends ServerUnlinkWindowsPhoneDeviceIdRequestData {
|
|
834
1700
|
}
|
|
1701
|
+
/**
|
|
1702
|
+
* Sends a backend-routed socket event to the current or target player's active socket session.
|
|
1703
|
+
* This is still an HTTP MasterPlayer operation, not a raw socket transport call.
|
|
1704
|
+
*/
|
|
835
1705
|
class SendSocketOperationEventRequestData {
|
|
1706
|
+
/**
|
|
1707
|
+
* Optional self-target shortcut on the client route.
|
|
1708
|
+
*/
|
|
836
1709
|
userId?: string;
|
|
1710
|
+
/**
|
|
1711
|
+
* Backend-defined event code forwarded to socket listeners.
|
|
1712
|
+
*/
|
|
837
1713
|
eventCode: string;
|
|
1714
|
+
/**
|
|
1715
|
+
* Optional raw event payload delivered with the socket event.
|
|
1716
|
+
*/
|
|
838
1717
|
eventParameters?: GNHashtable;
|
|
839
1718
|
}
|
|
1719
|
+
/**
|
|
1720
|
+
* Defines the request payload for ServerSendSocketOperationEvent.
|
|
1721
|
+
*/
|
|
840
1722
|
class ServerSendSocketOperationEventRequestData extends SendSocketOperationEventRequestData {
|
|
841
1723
|
userId: string;
|
|
842
1724
|
}
|
|
1725
|
+
/**
|
|
1726
|
+
* Defines the request payload for AdminSendSocketOperationEvent.
|
|
1727
|
+
*/
|
|
843
1728
|
class AdminSendSocketOperationEventRequestData extends ServerSendSocketOperationEventRequestData {
|
|
844
1729
|
}
|
|
1730
|
+
/**
|
|
1731
|
+
* Defines the request payload for SendEmail.
|
|
1732
|
+
*/
|
|
845
1733
|
class SendEmailRequestData {
|
|
846
1734
|
userId?: string;
|
|
847
1735
|
subject: string;
|
|
848
1736
|
contentHtml: string;
|
|
849
1737
|
}
|
|
1738
|
+
/**
|
|
1739
|
+
* Defines the request payload for ServerSendEmail.
|
|
1740
|
+
*/
|
|
850
1741
|
class ServerSendEmailRequestData extends SendEmailRequestData {
|
|
851
1742
|
userId: string;
|
|
852
1743
|
}
|
|
1744
|
+
/**
|
|
1745
|
+
* Defines the request payload for AdminSendEmail.
|
|
1746
|
+
*/
|
|
853
1747
|
class AdminSendEmailRequestData extends ServerSendEmailRequestData {
|
|
854
1748
|
}
|
|
1749
|
+
/**
|
|
1750
|
+
* Registers a push-notification endpoint for the current or target master player.
|
|
1751
|
+
*/
|
|
855
1752
|
class AddPushNotificationRequestData {
|
|
856
1753
|
userId?: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* Device push token issued by the push provider.
|
|
1756
|
+
*/
|
|
857
1757
|
token: string;
|
|
1758
|
+
/**
|
|
1759
|
+
* Push platform mapped by the public `PushPlatformType` enum.
|
|
1760
|
+
*/
|
|
858
1761
|
platformType: number;
|
|
859
1762
|
}
|
|
1763
|
+
/**
|
|
1764
|
+
* Defines the request payload for ServerAddPushNotification.
|
|
1765
|
+
*/
|
|
860
1766
|
class ServerAddPushNotificationRequestData extends AddPushNotificationRequestData {
|
|
861
1767
|
userId: string;
|
|
862
1768
|
}
|
|
1769
|
+
/**
|
|
1770
|
+
* Defines the request payload for AdminAddPushNotification.
|
|
1771
|
+
*/
|
|
863
1772
|
class AdminAddPushNotificationRequestData extends ServerAddPushNotificationRequestData {
|
|
864
1773
|
}
|
|
1774
|
+
/**
|
|
1775
|
+
* Reads registered push-notification endpoints for the current or target master player.
|
|
1776
|
+
*/
|
|
865
1777
|
class GetPushNotificationRequestData {
|
|
866
1778
|
userId?: string;
|
|
867
1779
|
}
|
|
1780
|
+
/**
|
|
1781
|
+
* Defines the request payload for ServerGetPushNotification.
|
|
1782
|
+
*/
|
|
868
1783
|
class ServerGetPushNotificationRequestData extends GetPushNotificationRequestData {
|
|
869
1784
|
userId: string;
|
|
870
1785
|
}
|
|
1786
|
+
/**
|
|
1787
|
+
* Defines the request payload for AdminGetPushNotification.
|
|
1788
|
+
*/
|
|
871
1789
|
class AdminGetPushNotificationRequestData extends ServerGetPushNotificationRequestData {
|
|
872
1790
|
}
|
|
1791
|
+
/**
|
|
1792
|
+
* Defines the request payload for RemovePushNotification.
|
|
1793
|
+
*/
|
|
873
1794
|
class RemovePushNotificationRequestData {
|
|
874
1795
|
userId?: string;
|
|
875
1796
|
pushId: string;
|
|
876
1797
|
}
|
|
1798
|
+
/**
|
|
1799
|
+
* Defines the request payload for ServerRemovePushNotification.
|
|
1800
|
+
*/
|
|
877
1801
|
class ServerRemovePushNotificationRequestData extends RemovePushNotificationRequestData {
|
|
878
1802
|
userId: string;
|
|
879
1803
|
}
|
|
1804
|
+
/**
|
|
1805
|
+
* Defines the request payload for AdminRemovePushNotification.
|
|
1806
|
+
*/
|
|
880
1807
|
class AdminRemovePushNotificationRequestData extends ServerRemovePushNotificationRequestData {
|
|
881
1808
|
}
|
|
1809
|
+
/**
|
|
1810
|
+
* Triggers a push-notification send workflow for the current or target master player.
|
|
1811
|
+
*/
|
|
882
1812
|
class SendPushNotificationRequestData {
|
|
883
1813
|
userId?: string;
|
|
884
1814
|
title: string;
|
|
@@ -886,19 +1816,40 @@ export declare namespace MasterPlayerModels {
|
|
|
886
1816
|
badge?: number;
|
|
887
1817
|
sound?: string;
|
|
888
1818
|
icon?: string;
|
|
1819
|
+
/**
|
|
1820
|
+
* Platform-specific custom payload forwarded to the push provider.
|
|
1821
|
+
*/
|
|
889
1822
|
data?: GNHashtable;
|
|
890
1823
|
}
|
|
1824
|
+
/**
|
|
1825
|
+
* Defines the request payload for ServerSendPushNotification.
|
|
1826
|
+
*/
|
|
891
1827
|
class ServerSendPushNotificationRequestData extends SendPushNotificationRequestData {
|
|
892
1828
|
userId: string;
|
|
893
1829
|
}
|
|
1830
|
+
/**
|
|
1831
|
+
* Defines the request payload for AdminSendPushNotification.
|
|
1832
|
+
*/
|
|
894
1833
|
class AdminSendPushNotificationRequestData extends ServerSendPushNotificationRequestData {
|
|
895
1834
|
}
|
|
1835
|
+
/**
|
|
1836
|
+
* Describes one registered push endpoint stored for a player.
|
|
1837
|
+
*/
|
|
896
1838
|
class PushNotificationItem {
|
|
897
1839
|
token: string;
|
|
898
1840
|
pushId: string;
|
|
1841
|
+
/**
|
|
1842
|
+
* Push platform mapped by the public `PushPlatformType` enum.
|
|
1843
|
+
*/
|
|
899
1844
|
platformType: number;
|
|
900
1845
|
}
|
|
1846
|
+
/**
|
|
1847
|
+
* Contains the optional fields requested through `InfoRequestParam`.
|
|
1848
|
+
*/
|
|
901
1849
|
class InfoResponseParameters {
|
|
1850
|
+
/**
|
|
1851
|
+
* Linked external identity snapshot.
|
|
1852
|
+
*/
|
|
902
1853
|
external?: ExternalItem;
|
|
903
1854
|
segments?: Array<string>;
|
|
904
1855
|
customDatas?: Array<GenericModels.DataItem>;
|
|
@@ -914,57 +1865,123 @@ export declare namespace MasterPlayerModels {
|
|
|
914
1865
|
ipAddressCreate?: string;
|
|
915
1866
|
countryCode?: string;
|
|
916
1867
|
email?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* Registered push endpoints when `pushNotifications` was requested.
|
|
1870
|
+
*/
|
|
917
1871
|
pushNotifications?: Array<MasterPlayerModels.PushNotificationItem>;
|
|
918
1872
|
}
|
|
1873
|
+
/**
|
|
1874
|
+
* Base master-player response envelope.
|
|
1875
|
+
*/
|
|
919
1876
|
class MasterPlayerResponseData {
|
|
1877
|
+
/**
|
|
1878
|
+
* Optional field bag controlled by the corresponding `InfoRequestParam`.
|
|
1879
|
+
*/
|
|
920
1880
|
infoResponseParameters: InfoResponseParameters;
|
|
921
1881
|
}
|
|
1882
|
+
/**
|
|
1883
|
+
* Master-player envelope for generic-service link or lookup flows.
|
|
1884
|
+
*/
|
|
922
1885
|
class GenericServiceMasterPlayerResponseData extends MasterPlayerResponseData {
|
|
1886
|
+
/**
|
|
1887
|
+
* Provider-specific error text returned by the backend when available.
|
|
1888
|
+
*/
|
|
923
1889
|
errorMessage?: string;
|
|
924
1890
|
}
|
|
1891
|
+
/**
|
|
1892
|
+
* Master-player envelope that also exposes the resolved master-player user ID.
|
|
1893
|
+
*/
|
|
925
1894
|
class MasterPlayerWithUserIdResponseData extends MasterPlayerResponseData {
|
|
926
1895
|
userId: string;
|
|
927
1896
|
}
|
|
1897
|
+
/**
|
|
1898
|
+
* Defines the response payload for MasterPlayerWithAppleId.
|
|
1899
|
+
*/
|
|
928
1900
|
class MasterPlayerWithAppleIdResponseData extends MasterPlayerWithUserIdResponseData {
|
|
929
1901
|
appleId: string;
|
|
930
1902
|
}
|
|
1903
|
+
/**
|
|
1904
|
+
* Defines the response payload for GetPlayersWithApple.
|
|
1905
|
+
*/
|
|
931
1906
|
class GetPlayersWithAppleResponseData {
|
|
932
1907
|
results: Array<MasterPlayerWithAppleIdResponseData>;
|
|
933
1908
|
}
|
|
1909
|
+
/**
|
|
1910
|
+
* Defines the response payload for MasterPlayersWithUserId.
|
|
1911
|
+
*/
|
|
934
1912
|
class MasterPlayersWithUserIdResponseData {
|
|
935
1913
|
results: Array<MasterPlayerWithUserIdResponseData>;
|
|
936
1914
|
}
|
|
1915
|
+
/**
|
|
1916
|
+
* Defines the response payload for MasterPlayerWithFacebookId.
|
|
1917
|
+
*/
|
|
937
1918
|
class MasterPlayerWithFacebookIdResponseData extends MasterPlayerWithUserIdResponseData {
|
|
938
1919
|
facebookId: string;
|
|
939
1920
|
}
|
|
1921
|
+
/**
|
|
1922
|
+
* Defines the response payload for GetPlayersWithFacebook.
|
|
1923
|
+
*/
|
|
940
1924
|
class GetPlayersWithFacebookResponseData {
|
|
941
1925
|
results: Array<MasterPlayerWithFacebookIdResponseData>;
|
|
942
1926
|
}
|
|
1927
|
+
/**
|
|
1928
|
+
* Defines the response payload for MasterPlayerWithGenericServiceId.
|
|
1929
|
+
*/
|
|
943
1930
|
class MasterPlayerWithGenericServiceIdResponseData extends MasterPlayerWithUserIdResponseData {
|
|
944
1931
|
serviceId: string;
|
|
945
1932
|
}
|
|
1933
|
+
/**
|
|
1934
|
+
* Defines the response payload for GetPlayersWithGenericService.
|
|
1935
|
+
*/
|
|
946
1936
|
class GetPlayersWithGenericServiceResponseData {
|
|
947
1937
|
results: Array<MasterPlayerWithGenericServiceIdResponseData>;
|
|
948
1938
|
}
|
|
1939
|
+
/**
|
|
1940
|
+
* Defines the response payload for MasterPlayerWithGoogleId.
|
|
1941
|
+
*/
|
|
949
1942
|
class MasterPlayerWithGoogleIdResponseData extends MasterPlayerWithUserIdResponseData {
|
|
950
1943
|
googleId: string;
|
|
951
1944
|
}
|
|
1945
|
+
/**
|
|
1946
|
+
* Defines the response payload for GetPlayersWithGoogle.
|
|
1947
|
+
*/
|
|
952
1948
|
class GetPlayersWithGoogleResponseData {
|
|
953
1949
|
results: Array<MasterPlayerWithGoogleIdResponseData>;
|
|
954
1950
|
}
|
|
1951
|
+
/**
|
|
1952
|
+
* Defines the response payload for MasterPlayerWithPlayerId.
|
|
1953
|
+
*/
|
|
955
1954
|
class MasterPlayerWithPlayerIdResponseData extends MasterPlayerWithUserIdResponseData {
|
|
956
1955
|
playerId: string;
|
|
957
1956
|
}
|
|
1957
|
+
/**
|
|
1958
|
+
* Defines the response payload for GetPlayersWithGooglePlayGameService.
|
|
1959
|
+
*/
|
|
958
1960
|
class GetPlayersWithGooglePlayGameServiceResponseData {
|
|
959
1961
|
results: Array<MasterPlayerWithPlayerIdResponseData>;
|
|
960
1962
|
}
|
|
1963
|
+
/**
|
|
1964
|
+
* Defines the response payload for GetPlayersWithGameCenter.
|
|
1965
|
+
*/
|
|
961
1966
|
class GetPlayersWithGameCenterResponseData {
|
|
962
1967
|
results: Array<MasterPlayerWithPlayerIdResponseData>;
|
|
963
1968
|
}
|
|
1969
|
+
/**
|
|
1970
|
+
* One leaderboard row for master-player ranking endpoints.
|
|
1971
|
+
*/
|
|
964
1972
|
class MasterPlayerLeaderboardResponseData extends MasterPlayerWithUserIdResponseData {
|
|
1973
|
+
/**
|
|
1974
|
+
* Ranking position returned by the backend leaderboard implementation.
|
|
1975
|
+
*/
|
|
965
1976
|
position: number;
|
|
1977
|
+
/**
|
|
1978
|
+
* Optional archived score value from the last leaderboard backup.
|
|
1979
|
+
*/
|
|
966
1980
|
backupValue?: number;
|
|
967
1981
|
}
|
|
1982
|
+
/**
|
|
1983
|
+
* Describes one statistics or currency change log entry.
|
|
1984
|
+
*/
|
|
968
1985
|
class MasterPlayerLogResponseData {
|
|
969
1986
|
userId: string;
|
|
970
1987
|
tsCreate: number;
|
|
@@ -974,19 +1991,37 @@ export declare namespace MasterPlayerModels {
|
|
|
974
1991
|
startValue: number;
|
|
975
1992
|
finalValue: number;
|
|
976
1993
|
}
|
|
1994
|
+
/**
|
|
1995
|
+
* Returns a statistics leaderboard page plus its optional snapshot timestamp.
|
|
1996
|
+
*/
|
|
977
1997
|
class GetStatisticsLeaderboardResponseData {
|
|
978
1998
|
results: Array<MasterPlayerLeaderboardResponseData>;
|
|
1999
|
+
/**
|
|
2000
|
+
* Snapshot timestamp used for this leaderboard page when returned by the backend.
|
|
2001
|
+
*/
|
|
979
2002
|
tsCreate: number;
|
|
980
2003
|
}
|
|
2004
|
+
/**
|
|
2005
|
+
* Defines the response payload for GetCurrencyLeaderboard.
|
|
2006
|
+
*/
|
|
981
2007
|
class GetCurrencyLeaderboardResponseData {
|
|
982
2008
|
results: Array<MasterPlayerLeaderboardResponseData>;
|
|
983
2009
|
}
|
|
2010
|
+
/**
|
|
2011
|
+
* Defines the response payload for GetCreateLeaderboard.
|
|
2012
|
+
*/
|
|
984
2013
|
class GetCreateLeaderboardResponseData {
|
|
985
2014
|
results: Array<MasterPlayerLeaderboardResponseData>;
|
|
986
2015
|
}
|
|
2016
|
+
/**
|
|
2017
|
+
* Defines the response payload for GetLastLoginLeaderboard.
|
|
2018
|
+
*/
|
|
987
2019
|
class GetLastLoginLeaderboardResponseData {
|
|
988
2020
|
results: Array<MasterPlayerLeaderboardResponseData>;
|
|
989
2021
|
}
|
|
2022
|
+
/**
|
|
2023
|
+
* Defines the request payload for GetCurrencyLeaderboard.
|
|
2024
|
+
*/
|
|
990
2025
|
class GetCurrencyLeaderboardRequestData {
|
|
991
2026
|
key: string;
|
|
992
2027
|
infoRequestParam: InfoRequestParam;
|
|
@@ -994,24 +2029,51 @@ export declare namespace MasterPlayerModels {
|
|
|
994
2029
|
limit?: number;
|
|
995
2030
|
loadFromCache?: boolean;
|
|
996
2031
|
}
|
|
2032
|
+
/**
|
|
2033
|
+
* Defines the request payload for ServerGetCurrencyLeaderboard.
|
|
2034
|
+
*/
|
|
997
2035
|
class ServerGetCurrencyLeaderboardRequestData extends GetCurrencyLeaderboardRequestData {
|
|
998
2036
|
}
|
|
2037
|
+
/**
|
|
2038
|
+
* Defines the request payload for AdminGetCurrencyLeaderboard.
|
|
2039
|
+
*/
|
|
999
2040
|
class AdminGetCurrencyLeaderboardRequestData extends ServerGetCurrencyLeaderboardRequestData {
|
|
1000
2041
|
}
|
|
2042
|
+
/**
|
|
2043
|
+
* Returns one page of statistics logs.
|
|
2044
|
+
*/
|
|
1001
2045
|
class GetStatisticsLogResponseData {
|
|
1002
2046
|
results: Array<MasterPlayerLogResponseData>;
|
|
2047
|
+
/**
|
|
2048
|
+
* Continuation token for the next page, or `undefined` when pagination is exhausted.
|
|
2049
|
+
*/
|
|
1003
2050
|
token?: string;
|
|
1004
2051
|
}
|
|
2052
|
+
/**
|
|
2053
|
+
* Returns one page of currency logs.
|
|
2054
|
+
*/
|
|
1005
2055
|
class GetCurrencyLogResponseData {
|
|
1006
2056
|
results: Array<MasterPlayerLogResponseData>;
|
|
2057
|
+
/**
|
|
2058
|
+
* Continuation token for the next page, or `undefined` when pagination is exhausted.
|
|
2059
|
+
*/
|
|
1007
2060
|
token?: string;
|
|
1008
2061
|
}
|
|
2062
|
+
/**
|
|
2063
|
+
* Returns the backend-generated push endpoint ID.
|
|
2064
|
+
*/
|
|
1009
2065
|
class AddPushNotificationResponseData {
|
|
1010
2066
|
pushId: string;
|
|
1011
2067
|
}
|
|
2068
|
+
/**
|
|
2069
|
+
* Returns the backend send status message for push-dispatch workflows.
|
|
2070
|
+
*/
|
|
1012
2071
|
class SendPushNotificationResponseData {
|
|
1013
2072
|
message: string;
|
|
1014
2073
|
}
|
|
2074
|
+
/**
|
|
2075
|
+
* Defines an intentionally empty response payload.
|
|
2076
|
+
*/
|
|
1015
2077
|
class EmptyResponseData {
|
|
1016
2078
|
}
|
|
1017
2079
|
}
|