@xmobitea/gn-typescript-client 2.6.13-tsc → 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 +71354 -0
- package/dist/gearn.js.client.min.js +2 -0
- package/dist/gearn.js.client.min.js.LICENSE.txt +14 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +58386 -339
- 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 +11 -2
- package/GNServerSettings.debug.json +0 -21
- package/dist/runtime/GNNetwork.js +0 -273
- package/dist/runtime/GNNetworkAuthenticateApi.js +0 -122
- package/dist/runtime/GNNetworkCharacterPlayerApi.js +0 -968
- package/dist/runtime/GNNetworkCloudScriptApi.js +0 -104
- package/dist/runtime/GNNetworkContentApi.js +0 -140
- package/dist/runtime/GNNetworkDashboardApi.js +0 -170
- package/dist/runtime/GNNetworkGamePlayerApi.js +0 -950
- package/dist/runtime/GNNetworkGroupApi.js +0 -734
- package/dist/runtime/GNNetworkInventoryApi.js +0 -626
- package/dist/runtime/GNNetworkMasterPlayerApi.js +0 -1550
- package/dist/runtime/GNNetworkMultiplayerApi.js +0 -194
- package/dist/runtime/GNNetworkStoreInventoryApi.js +0 -266
- package/dist/runtime/common/Action0.js +0 -1
- package/dist/runtime/common/Action1.js +0 -1
- package/dist/runtime/common/Action2.js +0 -1
- package/dist/runtime/common/Action3.js +0 -1
- package/dist/runtime/common/Action4.js +0 -1
- package/dist/runtime/common/GNData.js +0 -209
- package/dist/runtime/config/GNServerSettings.js +0 -156
- package/dist/runtime/constant/Commands.js +0 -20
- package/dist/runtime/constant/EventCode.js +0 -8
- package/dist/runtime/constant/OperationCode.js +0 -221
- package/dist/runtime/constant/ReturnCode.js +0 -14
- package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +0 -8
- package/dist/runtime/constant/enumType/FriendStatus.js +0 -7
- package/dist/runtime/constant/enumType/GoogleLoginType.js +0 -5
- package/dist/runtime/constant/enumType/GroupStatus.js +0 -7
- package/dist/runtime/constant/enumType/InvalidMemberType.js +0 -18
- package/dist/runtime/constant/enumType/ItemType.js +0 -5
- package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +0 -6
- package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +0 -8
- package/dist/runtime/constant/enumType/OwnerType.js +0 -9
- package/dist/runtime/constant/enumType/PermissionDataItem.js +0 -5
- package/dist/runtime/constant/enumType/PushPlatformType.js +0 -5
- package/dist/runtime/constant/enumType/RequestRole.js +0 -6
- package/dist/runtime/constant/enumType/RequestType.js +0 -15
- package/dist/runtime/constant/enumType/StoreItemType.js +0 -5
- package/dist/runtime/constant/enumType/StoreReceiveType.js +0 -8
- package/dist/runtime/constant/errorCode/ErrorCode.js +0 -52
- package/dist/runtime/constant/parameterCode/ParameterCode.js +0 -617
- package/dist/runtime/entity/DataMember.js +0 -208
- package/dist/runtime/entity/GNMetadata.js +0 -11
- package/dist/runtime/entity/InvalidMember.js +0 -1
- package/dist/runtime/entity/OperationEvent.js +0 -24
- package/dist/runtime/entity/OperationRequest.js +0 -42
- package/dist/runtime/entity/OperationResponse.js +0 -73
- package/dist/runtime/entity/models/AuthenticateModels.js +0 -426
- package/dist/runtime/entity/models/AuthenticateRequestModels.js +0 -188
- package/dist/runtime/entity/models/AuthenticateResponseModels.js +0 -131
- package/dist/runtime/entity/models/CharacterPlayerModels.js +0 -1433
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +0 -1386
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +0 -376
- package/dist/runtime/entity/models/CloudScriptModels.js +0 -197
- package/dist/runtime/entity/models/CloudScriptRequestModels.js +0 -138
- package/dist/runtime/entity/models/CloudScriptResponseModels.js +0 -40
- package/dist/runtime/entity/models/ContentModels.js +0 -203
- package/dist/runtime/entity/models/ContentRequestModels.js +0 -190
- package/dist/runtime/entity/models/ContentResponseModels.js +0 -54
- package/dist/runtime/entity/models/DashboardModels.js +0 -3002
- package/dist/runtime/entity/models/DashboardRequestModels.js +0 -268
- package/dist/runtime/entity/models/DashboardResponseModels.js +0 -187
- package/dist/runtime/entity/models/GamePlayerModels.js +0 -1591
- package/dist/runtime/entity/models/GamePlayerRequestModels.js +0 -1360
- package/dist/runtime/entity/models/GamePlayerResponseModels.js +0 -369
- package/dist/runtime/entity/models/GenericModels.js +0 -177
- package/dist/runtime/entity/models/GroupModels.js +0 -1135
- package/dist/runtime/entity/models/GroupRequestModels.js +0 -1048
- package/dist/runtime/entity/models/GroupResponseModels.js +0 -285
- package/dist/runtime/entity/models/InventoryModels.js +0 -915
- package/dist/runtime/entity/models/InventoryRequestModels.js +0 -892
- package/dist/runtime/entity/models/InventoryResponseModels.js +0 -243
- package/dist/runtime/entity/models/MasterPlayerModels.js +0 -2573
- package/dist/runtime/entity/models/MasterPlayerRequestModels.js +0 -2228
- package/dist/runtime/entity/models/MasterPlayerResponseModels.js +0 -607
- package/dist/runtime/entity/models/MultiplayerModels.js +0 -404
- package/dist/runtime/entity/models/MultiplayerRequestModels.js +0 -268
- package/dist/runtime/entity/models/MultiplayerResponseModels.js +0 -75
- package/dist/runtime/entity/models/StoreInventoryModels.js +0 -797
- package/dist/runtime/entity/models/StoreInventoryRequestModels.js +0 -372
- package/dist/runtime/entity/models/StoreInventoryResponseModels.js +0 -103
- package/dist/runtime/entity/request/CustomOperationRequest.js +0 -24
- package/dist/runtime/entity/response/CustomOperationResponse.js +0 -29
- package/dist/runtime/entity/response/GetAuthInfoResponse.js +0 -2
- package/dist/runtime/entity/response/HealthCheckResponse.js +0 -2
- package/dist/runtime/entity/response/UploadFileResponse.js +0 -2
- package/dist/runtime/helper/CodeHelper.js +0 -63
- package/dist/runtime/helper/ConverterService.js +0 -275
- package/dist/runtime/helper/EnumUtility.js +0 -33
- package/dist/runtime/helper/GNSupport.js +0 -47
- package/dist/runtime/helper/GNUtils.js +0 -72
- package/dist/runtime/helper/MessagePackConverterService.js +0 -9
- package/dist/runtime/helper/OperationHelper.js +0 -24
- package/dist/runtime/helper/StorageService.js +0 -62
- package/dist/runtime/logger/GNDebug.js +0 -29
- package/dist/runtime/networking/AuthenticateStatus.js +0 -14
- package/dist/runtime/networking/IPeer.js +0 -1
- package/dist/runtime/networking/NetworkingPeer.js +0 -210
- package/dist/runtime/networking/OperationPending.js +0 -53
- package/dist/runtime/networking/PeerBase.js +0 -161
- package/dist/runtime/networking/handler/IServerEventHandler.js +0 -13
- package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +0 -39
- package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +0 -39
- package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +0 -39
- package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +0 -39
- package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +0 -35
- package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +0 -43
- package/dist/runtime/networking/http/HttpPeer.js +0 -123
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +0 -9
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +0 -179
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +0 -130
- package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +0 -165
- package/dist/runtime/networking/socket/SocketPeer.js +0 -115
- package/dist/runtime/typescript/ServiceUpdate.js +0 -22
- 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,39 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reusable request and response DTOs for the Dashboard
|
|
3
|
+
* domain.
|
|
4
|
+
*
|
|
5
|
+
* Dashboard operations cover game / account / secret
|
|
6
|
+
* management, server analytics, server logs, leaderboard
|
|
7
|
+
* maintenance and CloudScript event-callback wiring. They are
|
|
8
|
+
* sent over HTTP with {@link RequestType.Dashboard} and
|
|
9
|
+
* {@link RequestRole.Client} — the backend resolves admin
|
|
10
|
+
* privilege from the auth token (`loginByAdminAccount`)
|
|
11
|
+
* rather than from the wire role.
|
|
12
|
+
*
|
|
13
|
+
* Most DTOs accept an explicit `gameId` so multi-game
|
|
14
|
+
* dashboards can switch between games on the same admin
|
|
15
|
+
* session. Some destructive maintenance DTOs
|
|
16
|
+
* (`DeleteInDatabaseRequestData`,
|
|
17
|
+
* `RemoveAdminAccountRequestData`,
|
|
18
|
+
* `ResetStatisticsLeaderboardRequestData`) require additional
|
|
19
|
+
* confirmation fields server-side; consult the backend
|
|
20
|
+
* documentation before use.
|
|
21
|
+
*/
|
|
1
22
|
export declare namespace DashboardModels {
|
|
23
|
+
/**
|
|
24
|
+
* Defines the reusable permission-rule block used by secret-info and master settings payloads.
|
|
25
|
+
*
|
|
26
|
+
* These flags map directly to the GearN Server permission checks described in the public docs.
|
|
27
|
+
*/
|
|
2
28
|
class PermissionRulesParam {
|
|
29
|
+
/** Allows the operation on resources that belong to the authenticated user context. */
|
|
3
30
|
selfEnable?: boolean;
|
|
31
|
+
/** Allows the operation on resources that do not belong to the authenticated user context. */
|
|
4
32
|
otherSelfEnable?: boolean;
|
|
33
|
+
/** Allows the operation through admin-scoped execution context. */
|
|
5
34
|
adminSelfEnable?: boolean;
|
|
35
|
+
/** Allows the operation through server-scoped execution context. */
|
|
6
36
|
serverSelfEnable?: boolean;
|
|
7
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Defines the reusable parameter block FriendCatalogSettingsParam.
|
|
40
|
+
*/
|
|
8
41
|
class FriendCatalogSettingsParam {
|
|
9
42
|
catalogId: string;
|
|
10
43
|
description: string;
|
|
11
44
|
forceAcceptFriend: boolean;
|
|
12
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* Defines the reusable parameter block ItemClassSettingsParam.
|
|
48
|
+
*/
|
|
13
49
|
class ItemClassSettingsParam {
|
|
14
50
|
classId: string;
|
|
15
51
|
description: string;
|
|
16
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Defines the reusable parameter block ItemCatalogSettingsParam.
|
|
55
|
+
*/
|
|
17
56
|
class ItemCatalogSettingsParam {
|
|
18
57
|
catalogId: string;
|
|
19
58
|
itemType: number;
|
|
20
59
|
itemClassSettings: Array<ItemClassSettingsParam>;
|
|
21
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* Defines the reusable parameter block GroupCatalogSettingsParam.
|
|
63
|
+
*/
|
|
22
64
|
class GroupCatalogSettingsParam {
|
|
23
65
|
catalogId: string;
|
|
24
66
|
description: string;
|
|
25
67
|
forceAcceptMember: boolean;
|
|
26
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* Defines the reusable parameter block TagSettingsParam.
|
|
71
|
+
*/
|
|
27
72
|
class TagSettingsParam {
|
|
28
73
|
key: string;
|
|
29
74
|
description: string;
|
|
30
75
|
index: boolean;
|
|
31
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* Defines the reusable parameter block DataSettingsParam.
|
|
79
|
+
*/
|
|
32
80
|
class DataSettingsParam {
|
|
33
81
|
key: string;
|
|
34
82
|
description: string;
|
|
35
83
|
permission: number;
|
|
36
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* Defines the reusable parameter block StatisticsSettingsParam.
|
|
87
|
+
*/
|
|
37
88
|
class StatisticsSettingsParam {
|
|
38
89
|
key: string;
|
|
39
90
|
statisticsAggregationMethod: number;
|
|
@@ -43,16 +94,25 @@ export declare namespace DashboardModels {
|
|
|
43
94
|
description: string;
|
|
44
95
|
index: boolean;
|
|
45
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Defines the reusable parameter block CurrencySettingsParam.
|
|
99
|
+
*/
|
|
46
100
|
class CurrencySettingsParam {
|
|
47
101
|
key: string;
|
|
48
102
|
initialValue: number;
|
|
49
103
|
description: string;
|
|
50
104
|
index: boolean;
|
|
51
105
|
}
|
|
106
|
+
/**
|
|
107
|
+
* Defines the reusable parameter block CharacterCatalogSettingsParam.
|
|
108
|
+
*/
|
|
52
109
|
class CharacterCatalogSettingsParam {
|
|
53
110
|
catalogId: string;
|
|
54
111
|
description: string;
|
|
55
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* Defines the reusable parameter block CharacterPlayerPermissionRulesParam.
|
|
115
|
+
*/
|
|
56
116
|
class CharacterPlayerPermissionRulesParam {
|
|
57
117
|
addSegment?: PermissionRulesParam;
|
|
58
118
|
removeSegment?: PermissionRulesParam;
|
|
@@ -108,6 +168,9 @@ export declare namespace DashboardModels {
|
|
|
108
168
|
getStatisticsLog?: PermissionRulesParam;
|
|
109
169
|
getCurrencyLog?: PermissionRulesParam;
|
|
110
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* Defines the reusable parameter block CharacterPlayerSettingsParam.
|
|
173
|
+
*/
|
|
111
174
|
class CharacterPlayerSettingsParam {
|
|
112
175
|
playerCurrenciesSettings?: Array<CurrencySettingsParam>;
|
|
113
176
|
playerStatisticsSettings?: Array<StatisticsSettingsParam>;
|
|
@@ -118,6 +181,9 @@ export declare namespace DashboardModels {
|
|
|
118
181
|
playerItemCatalogSettings?: Array<ItemCatalogSettingsParam>;
|
|
119
182
|
playerFriendCatalogSettings?: Array<FriendCatalogSettingsParam>;
|
|
120
183
|
}
|
|
184
|
+
/**
|
|
185
|
+
* Defines the reusable parameter block ContentPermissionRulesParam.
|
|
186
|
+
*/
|
|
121
187
|
class ContentPermissionRulesParam {
|
|
122
188
|
getContentData?: PermissionRulesParam;
|
|
123
189
|
setContentData?: PermissionRulesParam;
|
|
@@ -127,6 +193,9 @@ export declare namespace DashboardModels {
|
|
|
127
193
|
removeFileUploadInfo?: PermissionRulesParam;
|
|
128
194
|
requestDownloadFileUploadInfo?: PermissionRulesParam;
|
|
129
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* Defines the reusable parameter block ThirtPartyAppleSettingsParam.
|
|
198
|
+
*/
|
|
130
199
|
class ThirtPartyAppleSettingsParam {
|
|
131
200
|
appleClientId: string;
|
|
132
201
|
sandboxEnable: boolean;
|
|
@@ -134,25 +203,40 @@ export declare namespace DashboardModels {
|
|
|
134
203
|
keyId: string;
|
|
135
204
|
p8Content: string;
|
|
136
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* Defines the reusable parameter block ThirtPartyFacebookSettingsParam.
|
|
208
|
+
*/
|
|
137
209
|
class ThirtPartyFacebookSettingsParam {
|
|
138
210
|
facebookAppId: string;
|
|
139
211
|
facebookAppToken: string;
|
|
140
212
|
facebookInappSecret: string;
|
|
141
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* Defines the reusable parameter block ThirtPartyGoogleSettingsParam.
|
|
216
|
+
*/
|
|
142
217
|
class ThirtPartyGoogleSettingsParam {
|
|
143
218
|
googleClientId: string;
|
|
144
219
|
packageId: string;
|
|
145
220
|
publicRSAKey: string;
|
|
146
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* Defines the reusable parameter block ThirtPartyGameCenterSettingsParam.
|
|
224
|
+
*/
|
|
147
225
|
class ThirtPartyGameCenterSettingsParam {
|
|
148
226
|
packageId: string;
|
|
149
227
|
}
|
|
228
|
+
/**
|
|
229
|
+
* Defines the reusable parameter block ThirtPartyGooglePlayGameSettingsParam.
|
|
230
|
+
*/
|
|
150
231
|
class ThirtPartyGooglePlayGameSettingsParam {
|
|
151
232
|
redirectUri: string;
|
|
152
233
|
clientId: string;
|
|
153
234
|
clientSecret: string;
|
|
154
235
|
applicationId: string;
|
|
155
236
|
}
|
|
237
|
+
/**
|
|
238
|
+
* Defines the reusable parameter block ThirtPartyParam.
|
|
239
|
+
*/
|
|
156
240
|
class ThirtPartyParam {
|
|
157
241
|
googleSettings?: ThirtPartyGoogleSettingsParam;
|
|
158
242
|
facebookSettings?: ThirtPartyFacebookSettingsParam;
|
|
@@ -160,6 +244,9 @@ export declare namespace DashboardModels {
|
|
|
160
244
|
googlePlayGameSettings?: ThirtPartyGooglePlayGameSettingsParam;
|
|
161
245
|
gameCenterSettings?: ThirtPartyGameCenterSettingsParam;
|
|
162
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
* Defines the reusable parameter block EmailSettingsParam.
|
|
249
|
+
*/
|
|
163
250
|
class EmailSettingsParam {
|
|
164
251
|
sendFrom: string;
|
|
165
252
|
secure: boolean;
|
|
@@ -168,11 +255,17 @@ export declare namespace DashboardModels {
|
|
|
168
255
|
username: string;
|
|
169
256
|
password: string;
|
|
170
257
|
}
|
|
258
|
+
/**
|
|
259
|
+
* Defines the reusable parameter block PushNotificationSettingsParam.
|
|
260
|
+
*/
|
|
171
261
|
class PushNotificationSettingsParam {
|
|
172
262
|
projectId: string;
|
|
173
263
|
clientEmail: string;
|
|
174
264
|
privateKey: string;
|
|
175
265
|
}
|
|
266
|
+
/**
|
|
267
|
+
* Defines the reusable parameter block GamePlayerPermissionRulesParam.
|
|
268
|
+
*/
|
|
176
269
|
class GamePlayerPermissionRulesParam {
|
|
177
270
|
addSegment?: PermissionRulesParam;
|
|
178
271
|
removeSegment?: PermissionRulesParam;
|
|
@@ -227,6 +320,9 @@ export declare namespace DashboardModels {
|
|
|
227
320
|
getStatisticsLog?: PermissionRulesParam;
|
|
228
321
|
getCurrencyLog?: PermissionRulesParam;
|
|
229
322
|
}
|
|
323
|
+
/**
|
|
324
|
+
* Defines the reusable parameter block GamePlayerSettingsParam.
|
|
325
|
+
*/
|
|
230
326
|
class GamePlayerSettingsParam {
|
|
231
327
|
playerCurrenciesSettings?: Array<CurrencySettingsParam>;
|
|
232
328
|
playerStatisticsSettings?: Array<StatisticsSettingsParam>;
|
|
@@ -238,6 +334,9 @@ export declare namespace DashboardModels {
|
|
|
238
334
|
playerItemCatalogSettings?: Array<ItemCatalogSettingsParam>;
|
|
239
335
|
playerFriendCatalogSettings?: Array<FriendCatalogSettingsParam>;
|
|
240
336
|
}
|
|
337
|
+
/**
|
|
338
|
+
* Defines the reusable parameter block GroupSettingsParam.
|
|
339
|
+
*/
|
|
241
340
|
class GroupSettingsParam {
|
|
242
341
|
groupCurrenciesSettings?: Array<CurrencySettingsParam>;
|
|
243
342
|
groupStatisticsSettings?: Array<StatisticsSettingsParam>;
|
|
@@ -246,21 +345,33 @@ export declare namespace DashboardModels {
|
|
|
246
345
|
tagsSettings?: Array<TagSettingsParam>;
|
|
247
346
|
groupItemCatalogSettings?: Array<ItemCatalogSettingsParam>;
|
|
248
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* Defines the reusable parameter block InventorySettingsParam.
|
|
350
|
+
*/
|
|
249
351
|
class InventorySettingsParam {
|
|
250
352
|
itemStatisticsSettings?: Array<StatisticsSettingsParam>;
|
|
251
353
|
itemDatasSettings?: Array<DataSettingsParam>;
|
|
252
354
|
customDatasSettings?: Array<DataSettingsParam>;
|
|
253
355
|
tagsSettings?: Array<TagSettingsParam>;
|
|
254
356
|
}
|
|
357
|
+
/**
|
|
358
|
+
* Defines the reusable parameter block GameSettingsParam.
|
|
359
|
+
*/
|
|
255
360
|
class GameSettingsParam {
|
|
256
361
|
gamePlayerSettings?: GamePlayerSettingsParam;
|
|
257
362
|
characterPlayerSettings?: CharacterPlayerSettingsParam;
|
|
258
363
|
groupSettings?: GroupSettingsParam;
|
|
259
364
|
inventorySettings?: InventorySettingsParam;
|
|
260
365
|
}
|
|
366
|
+
/**
|
|
367
|
+
* Defines the reusable parameter block GenericServiceSettingsParam.
|
|
368
|
+
*/
|
|
261
369
|
class GenericServiceSettingsParam {
|
|
262
370
|
serviceName: string;
|
|
263
371
|
}
|
|
372
|
+
/**
|
|
373
|
+
* Defines the reusable parameter block GroupPermissionRulesParam.
|
|
374
|
+
*/
|
|
264
375
|
class GroupPermissionRulesParam {
|
|
265
376
|
addSegment?: PermissionRulesParam;
|
|
266
377
|
removeSegment?: PermissionRulesParam;
|
|
@@ -303,6 +414,9 @@ export declare namespace DashboardModels {
|
|
|
303
414
|
getStatisticsLog?: PermissionRulesParam;
|
|
304
415
|
getCurrencyLog?: PermissionRulesParam;
|
|
305
416
|
}
|
|
417
|
+
/**
|
|
418
|
+
* Defines the reusable parameter block InventoryPermissionRulesParam.
|
|
419
|
+
*/
|
|
306
420
|
class InventoryPermissionRulesParam {
|
|
307
421
|
addSegment?: PermissionRulesParam;
|
|
308
422
|
removeSegment?: PermissionRulesParam;
|
|
@@ -339,7 +453,10 @@ export declare namespace DashboardModels {
|
|
|
339
453
|
getCreateLeaderboard?: PermissionRulesParam;
|
|
340
454
|
getStatisticsLog?: PermissionRulesParam;
|
|
341
455
|
}
|
|
342
|
-
|
|
456
|
+
/**
|
|
457
|
+
* Defines the reusable parameter block DashboardPermissionRulesParam.
|
|
458
|
+
*/
|
|
459
|
+
class DashboardPermissionRulesParam {
|
|
343
460
|
setMasterGameSettings?: PermissionRulesParam;
|
|
344
461
|
createAdminAccount?: PermissionRulesParam;
|
|
345
462
|
removeAdminAccount?: PermissionRulesParam;
|
|
@@ -366,6 +483,9 @@ export declare namespace DashboardModels {
|
|
|
366
483
|
getServerGameData?: PermissionRulesParam;
|
|
367
484
|
deleteInDatabase?: PermissionRulesParam;
|
|
368
485
|
}
|
|
486
|
+
/**
|
|
487
|
+
* Defines the reusable parameter block MultiplayerPermissionRulesParam.
|
|
488
|
+
*/
|
|
369
489
|
class MultiplayerPermissionRulesParam {
|
|
370
490
|
cancelAllMatchmakingTicket?: PermissionRulesParam;
|
|
371
491
|
cancelMatchmakingTicket?: PermissionRulesParam;
|
|
@@ -378,6 +498,9 @@ export declare namespace DashboardModels {
|
|
|
378
498
|
getAllMatchmakingTicket?: PermissionRulesParam;
|
|
379
499
|
getAllMatch?: PermissionRulesParam;
|
|
380
500
|
}
|
|
501
|
+
/**
|
|
502
|
+
* Defines the reusable parameter block MasterPlayerPermissionRulesParam.
|
|
503
|
+
*/
|
|
381
504
|
class MasterPlayerPermissionRulesParam {
|
|
382
505
|
linkAccount?: PermissionRulesParam;
|
|
383
506
|
linkAndroidDeviceId?: PermissionRulesParam;
|
|
@@ -421,7 +544,7 @@ export declare namespace DashboardModels {
|
|
|
421
544
|
setDisplayName?: PermissionRulesParam;
|
|
422
545
|
getTsCreate?: PermissionRulesParam;
|
|
423
546
|
getIpAddressCreate?: PermissionRulesParam;
|
|
424
|
-
|
|
547
|
+
updateTsLastLogin?: PermissionRulesParam;
|
|
425
548
|
getTsLastLogin?: PermissionRulesParam;
|
|
426
549
|
setPlayerBan?: PermissionRulesParam;
|
|
427
550
|
getPlayerBan?: PermissionRulesParam;
|
|
@@ -466,6 +589,9 @@ export declare namespace DashboardModels {
|
|
|
466
589
|
removePushNotification?: PermissionRulesParam;
|
|
467
590
|
getPushNotification?: PermissionRulesParam;
|
|
468
591
|
}
|
|
592
|
+
/**
|
|
593
|
+
* Defines the reusable parameter block MasterPlayerSettingsParam.
|
|
594
|
+
*/
|
|
469
595
|
class MasterPlayerSettingsParam {
|
|
470
596
|
genericServiceSettings?: Array<GenericServiceSettingsParam>;
|
|
471
597
|
playerCurrenciesSettings?: Array<CurrencySettingsParam>;
|
|
@@ -474,31 +600,49 @@ export declare namespace DashboardModels {
|
|
|
474
600
|
customDatasSettings?: Array<DataSettingsParam>;
|
|
475
601
|
tagsSettings?: Array<TagSettingsParam>;
|
|
476
602
|
}
|
|
603
|
+
/**
|
|
604
|
+
* Defines the reusable parameter block SizeParam.
|
|
605
|
+
*/
|
|
477
606
|
class SizeParam {
|
|
478
607
|
min: number;
|
|
479
608
|
max: number;
|
|
480
609
|
}
|
|
610
|
+
/**
|
|
611
|
+
* Defines the reusable parameter block TeamParam.
|
|
612
|
+
*/
|
|
481
613
|
class TeamParam {
|
|
482
614
|
teamId: string;
|
|
483
615
|
teamSize: SizeParam;
|
|
484
616
|
}
|
|
617
|
+
/**
|
|
618
|
+
* Defines the reusable parameter block LinearExpansionsParam.
|
|
619
|
+
*/
|
|
485
620
|
class LinearExpansionsParam {
|
|
486
621
|
secondsBetweenExpansions: number;
|
|
487
622
|
delta?: number;
|
|
488
623
|
limit?: number;
|
|
489
624
|
}
|
|
625
|
+
/**
|
|
626
|
+
* Defines the reusable parameter block CustomExpansionsParam.
|
|
627
|
+
*/
|
|
490
628
|
class CustomExpansionsParam {
|
|
491
629
|
secondsBetweenExpansions: number;
|
|
492
630
|
overrideValue?: Array<any>;
|
|
493
631
|
overrideMin?: Array<any>;
|
|
494
632
|
overrideMax?: Array<any>;
|
|
495
633
|
}
|
|
634
|
+
/**
|
|
635
|
+
* Defines the reusable parameter block AdvancedSettingsParam.
|
|
636
|
+
*/
|
|
496
637
|
class AdvancedSettingsParam {
|
|
497
638
|
secondsUntilOptional: number;
|
|
498
639
|
expansionType?: number;
|
|
499
640
|
linearExpansions?: LinearExpansionsParam;
|
|
500
641
|
customExpansions?: CustomExpansionsParam;
|
|
501
642
|
}
|
|
643
|
+
/**
|
|
644
|
+
* Defines the reusable parameter block RuleParam.
|
|
645
|
+
*/
|
|
502
646
|
class RuleParam {
|
|
503
647
|
name: string;
|
|
504
648
|
type: number;
|
|
@@ -511,9 +655,15 @@ export declare namespace DashboardModels {
|
|
|
511
655
|
max?: number;
|
|
512
656
|
advancedSettings?: AdvancedSettingsParam;
|
|
513
657
|
}
|
|
658
|
+
/**
|
|
659
|
+
* Defines the reusable parameter block ServerAllocationParam.
|
|
660
|
+
*/
|
|
514
661
|
class ServerAllocationParam {
|
|
515
662
|
enable: boolean;
|
|
516
663
|
}
|
|
664
|
+
/**
|
|
665
|
+
* Defines the reusable parameter block MatchmakingQueueSettingsParam.
|
|
666
|
+
*/
|
|
517
667
|
class MatchmakingQueueSettingsParam {
|
|
518
668
|
queueName: string;
|
|
519
669
|
matchSize: SizeParam;
|
|
@@ -523,6 +673,9 @@ export declare namespace DashboardModels {
|
|
|
523
673
|
rules?: Array<RuleParam>;
|
|
524
674
|
remove?: boolean;
|
|
525
675
|
}
|
|
676
|
+
/**
|
|
677
|
+
* Defines the reusable parameter block AuthenticatePermissionRulesParam.
|
|
678
|
+
*/
|
|
526
679
|
class AuthenticatePermissionRulesParam {
|
|
527
680
|
loginByAccount?: PermissionRulesParam;
|
|
528
681
|
loginByAndroidDeviceId?: PermissionRulesParam;
|
|
@@ -543,6 +696,9 @@ export declare namespace DashboardModels {
|
|
|
543
696
|
loginByWindowsDeviceId?: PermissionRulesParam;
|
|
544
697
|
refreshAuthToken?: PermissionRulesParam;
|
|
545
698
|
}
|
|
699
|
+
/**
|
|
700
|
+
* Defines the reusable parameter block StoreInventoryPermissionRulesParam.
|
|
701
|
+
*/
|
|
546
702
|
class StoreInventoryPermissionRulesParam {
|
|
547
703
|
buyStoreItem?: PermissionRulesParam;
|
|
548
704
|
getStoreItemInformation?: PermissionRulesParam;
|
|
@@ -559,6 +715,9 @@ export declare namespace DashboardModels {
|
|
|
559
715
|
getStoreUsed?: PermissionRulesParam;
|
|
560
716
|
removeStoreUsed?: PermissionRulesParam;
|
|
561
717
|
}
|
|
718
|
+
/**
|
|
719
|
+
* Defines the reusable parameter block CloudScriptPermissionRulesParam.
|
|
720
|
+
*/
|
|
562
721
|
class CloudScriptPermissionRulesParam {
|
|
563
722
|
executeFunction?: PermissionRulesParam;
|
|
564
723
|
addFunction?: PermissionRulesParam;
|
|
@@ -566,6 +725,11 @@ export declare namespace DashboardModels {
|
|
|
566
725
|
getFunction?: PermissionRulesParam;
|
|
567
726
|
editFunction?: PermissionRulesParam;
|
|
568
727
|
}
|
|
728
|
+
/**
|
|
729
|
+
* Defines the top-level permission tree assigned to one secret info entry.
|
|
730
|
+
*
|
|
731
|
+
* Each optional property groups permission rules by API domain.
|
|
732
|
+
*/
|
|
569
733
|
class PermissionParam {
|
|
570
734
|
authenticate?: AuthenticatePermissionRulesParam;
|
|
571
735
|
masterPlayer?: MasterPlayerPermissionRulesParam;
|
|
@@ -575,53 +739,102 @@ export declare namespace DashboardModels {
|
|
|
575
739
|
group?: GroupPermissionRulesParam;
|
|
576
740
|
inventory?: InventoryPermissionRulesParam;
|
|
577
741
|
storeInventory?: StoreInventoryPermissionRulesParam;
|
|
578
|
-
|
|
742
|
+
dashboard?: DashboardPermissionRulesParam;
|
|
579
743
|
multiplayer?: MultiplayerPermissionRulesParam;
|
|
580
744
|
cloudScript?: CloudScriptPermissionRulesParam;
|
|
581
745
|
}
|
|
746
|
+
/**
|
|
747
|
+
* Defines the request payload for ChangePasswordAdminAccount.
|
|
748
|
+
*/
|
|
582
749
|
class ChangePasswordAdminAccountRequestData {
|
|
583
750
|
currentPassword: string;
|
|
584
751
|
password: string;
|
|
585
752
|
}
|
|
753
|
+
/**
|
|
754
|
+
* Defines the request payload for GetAdminAccountList.
|
|
755
|
+
*/
|
|
586
756
|
class GetAdminAccountListRequestData {
|
|
587
757
|
}
|
|
758
|
+
/**
|
|
759
|
+
* Defines the request payload for GetGameInformation.
|
|
760
|
+
*/
|
|
588
761
|
class GetGameInformationRequestData {
|
|
589
762
|
gameId: string;
|
|
590
763
|
}
|
|
764
|
+
/**
|
|
765
|
+
* Defines the request payload for GetGameList.
|
|
766
|
+
*/
|
|
591
767
|
class GetGameListRequestData {
|
|
592
768
|
}
|
|
769
|
+
/**
|
|
770
|
+
* Defines the request payload for GetMasterGameSettings.
|
|
771
|
+
*/
|
|
593
772
|
class GetMasterGameSettingsRequestData {
|
|
594
773
|
}
|
|
774
|
+
/**
|
|
775
|
+
* Defines the request payload for GetSecretInfoInformation.
|
|
776
|
+
*/
|
|
595
777
|
class GetSecretInfoInformationRequestData {
|
|
596
778
|
secretKey: string;
|
|
597
779
|
}
|
|
780
|
+
/**
|
|
781
|
+
* Defines the request payload for GetSecretInfoList.
|
|
782
|
+
*/
|
|
598
783
|
class GetSecretInfoListRequestData {
|
|
599
784
|
}
|
|
785
|
+
/**
|
|
786
|
+
* Defines the request payload for GetServerLog.
|
|
787
|
+
*/
|
|
600
788
|
class GetServerLogRequestData {
|
|
601
789
|
skip?: number;
|
|
602
790
|
limit?: number;
|
|
603
791
|
}
|
|
792
|
+
/**
|
|
793
|
+
* Defines the request payload for CreateAdminAccount.
|
|
794
|
+
*/
|
|
604
795
|
class CreateAdminAccountRequestData {
|
|
605
796
|
username: string;
|
|
606
797
|
password: string;
|
|
607
798
|
secretKey: string;
|
|
608
799
|
}
|
|
800
|
+
/**
|
|
801
|
+
* Defines the request payload for CreateGame.
|
|
802
|
+
*/
|
|
609
803
|
class CreateGameRequestData {
|
|
610
804
|
gameId: string;
|
|
611
805
|
}
|
|
806
|
+
/**
|
|
807
|
+
* Defines the request payload for `createSecretInfo`.
|
|
808
|
+
*
|
|
809
|
+
* `permissionParam` is the authoritative permission tree that controls which operations
|
|
810
|
+
* the created secret key may execute on the GearN Server.
|
|
811
|
+
*/
|
|
612
812
|
class CreateSecretInfoRequestData {
|
|
813
|
+
/** Optional custom secret key. If omitted, the backend may generate one. */
|
|
613
814
|
secretKey?: string;
|
|
815
|
+
/** Optional target game id when creating a secret for a specific game. */
|
|
614
816
|
gameId?: string;
|
|
615
|
-
|
|
817
|
+
/** Optional permission tree granted to the new secret key. */
|
|
616
818
|
permissionParam?: PermissionParam;
|
|
617
819
|
}
|
|
820
|
+
/**
|
|
821
|
+
* Defines the request payload for `loginByAdminAccount`.
|
|
822
|
+
*
|
|
823
|
+
* A successful response returns an auth token that later dashboard calls reuse so backend middleware can resolve admin context.
|
|
824
|
+
*/
|
|
618
825
|
class LoginByAdminAccountRequestData {
|
|
619
826
|
username: string;
|
|
620
827
|
password: string;
|
|
621
828
|
}
|
|
829
|
+
/**
|
|
830
|
+
* Defines the request payload for RemoveAdminAccount.
|
|
831
|
+
*/
|
|
622
832
|
class RemoveAdminAccountRequestData {
|
|
623
833
|
userId: string;
|
|
624
834
|
}
|
|
835
|
+
/**
|
|
836
|
+
* Defines the request payload for SetGameInformation.
|
|
837
|
+
*/
|
|
625
838
|
class SetGameInformationRequestData {
|
|
626
839
|
gameId: string;
|
|
627
840
|
gameName?: string;
|
|
@@ -630,16 +843,25 @@ export declare namespace DashboardModels {
|
|
|
630
843
|
gameSettings?: GameSettingsParam;
|
|
631
844
|
matchmakingQueueSettings?: Array<MatchmakingQueueSettingsParam>;
|
|
632
845
|
}
|
|
846
|
+
/**
|
|
847
|
+
* Defines the request payload for SetMasterGameSettings.
|
|
848
|
+
*/
|
|
633
849
|
class SetMasterGameSettingsRequestData {
|
|
634
850
|
thirtPartySettings?: ThirtPartyParam;
|
|
635
851
|
masterPlayerSettings?: MasterPlayerSettingsParam;
|
|
636
852
|
emailSettings?: EmailSettingsParam;
|
|
637
853
|
pushNotificationSettings?: PushNotificationSettingsParam;
|
|
638
854
|
}
|
|
855
|
+
/**
|
|
856
|
+
* Defines the request payload for SetPasswordAdminAccount.
|
|
857
|
+
*/
|
|
639
858
|
class SetPasswordAdminAccountRequestData {
|
|
640
859
|
userId: string;
|
|
641
860
|
password: string;
|
|
642
861
|
}
|
|
862
|
+
/**
|
|
863
|
+
* Defines the request payload for SetSecretInfoInformation.
|
|
864
|
+
*/
|
|
643
865
|
class SetSecretInfoInformationRequestData {
|
|
644
866
|
secretKey: string;
|
|
645
867
|
remove?: boolean;
|
|
@@ -647,10 +869,16 @@ export declare namespace DashboardModels {
|
|
|
647
869
|
description?: string;
|
|
648
870
|
permissionParam?: PermissionParam;
|
|
649
871
|
}
|
|
872
|
+
/**
|
|
873
|
+
* Defines the request payload for SetSecretKeyAdminAccount.
|
|
874
|
+
*/
|
|
650
875
|
class SetSecretKeyAdminAccountRequestData {
|
|
651
876
|
userId: string;
|
|
652
877
|
secretKey: string;
|
|
653
878
|
}
|
|
879
|
+
/**
|
|
880
|
+
* Defines the request payload for GetAnalytics.
|
|
881
|
+
*/
|
|
654
882
|
class GetAnalyticsRequestData {
|
|
655
883
|
timestamp?: number;
|
|
656
884
|
analyticsItem?: boolean;
|
|
@@ -662,15 +890,27 @@ export declare namespace DashboardModels {
|
|
|
662
890
|
cost?: boolean;
|
|
663
891
|
monthlyCost?: boolean;
|
|
664
892
|
}
|
|
893
|
+
/**
|
|
894
|
+
* Defines the request payload for GetUsernameAdminAccount.
|
|
895
|
+
*/
|
|
665
896
|
class GetUsernameAdminAccountRequestData {
|
|
666
897
|
userId: string;
|
|
667
898
|
}
|
|
899
|
+
/**
|
|
900
|
+
* Defines the request payload for GetEventCallbackCloudScript.
|
|
901
|
+
*/
|
|
668
902
|
class GetEventCallbackCloudScriptRequestData {
|
|
669
903
|
}
|
|
904
|
+
/**
|
|
905
|
+
* Defines the request payload for SetEventCallbackCloudScript.
|
|
906
|
+
*/
|
|
670
907
|
class SetEventCallbackCloudScriptRequestData {
|
|
671
908
|
eventName: string;
|
|
672
909
|
script: string;
|
|
673
910
|
}
|
|
911
|
+
/**
|
|
912
|
+
* Defines the request payload for ResetStatisticsLeaderboard.
|
|
913
|
+
*/
|
|
674
914
|
class ResetStatisticsLeaderboardRequestData {
|
|
675
915
|
type: number;
|
|
676
916
|
key: string;
|
|
@@ -679,17 +919,26 @@ export declare namespace DashboardModels {
|
|
|
679
919
|
log?: string;
|
|
680
920
|
catalogId?: string;
|
|
681
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
* Defines the request payload for DeleteInDatabase.
|
|
924
|
+
*/
|
|
682
925
|
class DeleteInDatabaseRequestData {
|
|
683
926
|
type: number;
|
|
684
927
|
id: string;
|
|
685
928
|
gameId: string;
|
|
686
929
|
log?: string;
|
|
687
930
|
}
|
|
931
|
+
/**
|
|
932
|
+
* Defines the request payload for GetBackupStatisticsLeaderboardVersion.
|
|
933
|
+
*/
|
|
688
934
|
class GetBackupStatisticsLeaderboardVersionRequestData {
|
|
689
935
|
gameId: string;
|
|
690
936
|
type: number;
|
|
691
937
|
key: string;
|
|
692
938
|
}
|
|
939
|
+
/**
|
|
940
|
+
* Defines the request payload for GetServerGameData.
|
|
941
|
+
*/
|
|
693
942
|
class GetServerGameDataRequestData {
|
|
694
943
|
gameId: string;
|
|
695
944
|
masterPlayerCount?: boolean;
|
|
@@ -701,14 +950,23 @@ export declare namespace DashboardModels {
|
|
|
701
950
|
country?: boolean;
|
|
702
951
|
version?: boolean;
|
|
703
952
|
}
|
|
953
|
+
/**
|
|
954
|
+
* Defines the response payload for AdminAccount.
|
|
955
|
+
*/
|
|
704
956
|
class AdminAccountResponseData {
|
|
705
957
|
userId: string;
|
|
706
958
|
username: string;
|
|
707
959
|
secretKey: string;
|
|
708
960
|
}
|
|
961
|
+
/**
|
|
962
|
+
* Defines the response payload for GetAdminAccountList.
|
|
963
|
+
*/
|
|
709
964
|
class GetAdminAccountListResponseData {
|
|
710
965
|
results: Array<AdminAccountResponseData>;
|
|
711
966
|
}
|
|
967
|
+
/**
|
|
968
|
+
* Defines the response payload for GetGameInformation.
|
|
969
|
+
*/
|
|
712
970
|
class GetGameInformationResponseData {
|
|
713
971
|
gameId: string;
|
|
714
972
|
tsCreate: number;
|
|
@@ -719,49 +977,91 @@ export declare namespace DashboardModels {
|
|
|
719
977
|
gameSettings: GameSettingsParam;
|
|
720
978
|
matchmakingQueueSettings: Array<MatchmakingQueueSettingsParam>;
|
|
721
979
|
}
|
|
980
|
+
/**
|
|
981
|
+
* Defines the response payload for GameWithGameId.
|
|
982
|
+
*/
|
|
722
983
|
class GameWithGameIdResponseData {
|
|
723
984
|
gameId: string;
|
|
724
985
|
}
|
|
986
|
+
/**
|
|
987
|
+
* Defines the response payload for GetGameList.
|
|
988
|
+
*/
|
|
725
989
|
class GetGameListResponseData {
|
|
726
990
|
results: Array<GameWithGameIdResponseData>;
|
|
727
991
|
}
|
|
992
|
+
/**
|
|
993
|
+
* Defines the response payload for `getMasterGameSettings`.
|
|
994
|
+
*
|
|
995
|
+
* This payload contains the full top-level dashboard configuration snapshot used to provision a game.
|
|
996
|
+
*/
|
|
728
997
|
class GetMasterGameSettingsResponseData {
|
|
729
998
|
thirtPartySettings: ThirtPartyParam;
|
|
730
999
|
masterPlayerSettings: MasterPlayerSettingsParam;
|
|
731
1000
|
emailSettings: EmailSettingsParam;
|
|
732
1001
|
pushNotificationSettings: PushNotificationSettingsParam;
|
|
733
1002
|
}
|
|
1003
|
+
/**
|
|
1004
|
+
* Defines the response payload for `getSecretInfoInformation`.
|
|
1005
|
+
*
|
|
1006
|
+
* This is the detailed secret-info record, including role, lifecycle flags, and permission tree.
|
|
1007
|
+
*/
|
|
734
1008
|
class GetSecretInfoInformationResponseData {
|
|
1009
|
+
/** Secret key whose detailed configuration was requested. */
|
|
735
1010
|
secretKey: string;
|
|
736
1011
|
gameId: string;
|
|
737
|
-
role: number;
|
|
738
1012
|
tsCreate: number;
|
|
739
1013
|
creatorId: string;
|
|
740
1014
|
remove: boolean;
|
|
741
1015
|
tsExpire: number;
|
|
742
1016
|
description: string;
|
|
1017
|
+
/** Permission tree granted to this secret key. */
|
|
743
1018
|
permissionParam: PermissionParam;
|
|
744
1019
|
}
|
|
1020
|
+
/**
|
|
1021
|
+
* Defines a lightweight secret-info item returned by secret-list queries.
|
|
1022
|
+
*/
|
|
745
1023
|
class SecretInfoWithSecretKeyResponseData {
|
|
746
1024
|
secretKey: string;
|
|
747
1025
|
}
|
|
1026
|
+
/**
|
|
1027
|
+
* Defines the response payload for `getSecretInfoList`.
|
|
1028
|
+
*
|
|
1029
|
+
* Results are grouped by secret role instead of being returned as one flat array.
|
|
1030
|
+
*/
|
|
748
1031
|
class GetSecretInfoListResponseData {
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
playerSecretKeys: Array<SecretInfoWithSecretKeyResponseData>;
|
|
1032
|
+
/** Secret keys whose role is admin. */
|
|
1033
|
+
secretKeys: Array<SecretInfoWithSecretKeyResponseData>;
|
|
752
1034
|
}
|
|
1035
|
+
/**
|
|
1036
|
+
* Defines the response payload for AdminAccountWithUserId.
|
|
1037
|
+
*/
|
|
753
1038
|
class AdminAccountWithUserIdResponseData {
|
|
754
1039
|
userId: string;
|
|
755
1040
|
}
|
|
1041
|
+
/**
|
|
1042
|
+
* Defines the response payload for CreateAdminAccount.
|
|
1043
|
+
*/
|
|
756
1044
|
class CreateAdminAccountResponseData {
|
|
757
1045
|
results: Array<AdminAccountWithUserIdResponseData>;
|
|
758
1046
|
}
|
|
1047
|
+
/**
|
|
1048
|
+
* Defines the response payload for `loginByAdminAccount`.
|
|
1049
|
+
*
|
|
1050
|
+
* The returned auth token should be cached and reused for subsequent dashboard requests.
|
|
1051
|
+
*/
|
|
759
1052
|
class LoginByAdminAccountResponseData {
|
|
1053
|
+
/** Auth token representing the authenticated admin account. */
|
|
760
1054
|
authToken: string;
|
|
761
1055
|
}
|
|
1056
|
+
/**
|
|
1057
|
+
* Defines the response payload for GetServerLog.
|
|
1058
|
+
*/
|
|
762
1059
|
class GetServerLogResponseData {
|
|
763
1060
|
results: Array<string>;
|
|
764
1061
|
}
|
|
1062
|
+
/**
|
|
1063
|
+
* Defines the response payload for CountryRegion.
|
|
1064
|
+
*/
|
|
765
1065
|
class CountryRegionResponseData {
|
|
766
1066
|
regionCode: string;
|
|
767
1067
|
regionName: string;
|
|
@@ -769,10 +1069,16 @@ export declare namespace DashboardModels {
|
|
|
769
1069
|
latitude: number;
|
|
770
1070
|
longitude: number;
|
|
771
1071
|
}
|
|
1072
|
+
/**
|
|
1073
|
+
* Defines the response payload for Country.
|
|
1074
|
+
*/
|
|
772
1075
|
class CountryResponseData {
|
|
773
1076
|
countryCode: string;
|
|
774
1077
|
regions: Array<CountryRegionResponseData>;
|
|
775
1078
|
}
|
|
1079
|
+
/**
|
|
1080
|
+
* Defines the response payload for AnalyticsItem.
|
|
1081
|
+
*/
|
|
776
1082
|
class AnalyticsItemResponseData {
|
|
777
1083
|
ccu: number;
|
|
778
1084
|
dau: number;
|
|
@@ -789,15 +1095,24 @@ export declare namespace DashboardModels {
|
|
|
789
1095
|
mrtSince0h1: number;
|
|
790
1096
|
analyticsPrice: number;
|
|
791
1097
|
}
|
|
1098
|
+
/**
|
|
1099
|
+
* Defines the response payload for MemoryUsage.
|
|
1100
|
+
*/
|
|
792
1101
|
class MemoryUsageResponseData {
|
|
793
1102
|
freeMemoryInBytes: number;
|
|
794
1103
|
totalMemoryInBytes: number;
|
|
795
1104
|
}
|
|
1105
|
+
/**
|
|
1106
|
+
* Defines the response payload for StorageUsage.
|
|
1107
|
+
*/
|
|
796
1108
|
class StorageUsageResponseData {
|
|
797
1109
|
name: string;
|
|
798
1110
|
fsTotalSizeInBytes: number;
|
|
799
1111
|
fsUsedSizeInBytes: number;
|
|
800
1112
|
}
|
|
1113
|
+
/**
|
|
1114
|
+
* Defines the response payload for DatabaseSystem.
|
|
1115
|
+
*/
|
|
801
1116
|
class DatabaseSystemResponseData {
|
|
802
1117
|
fsTotalSizeInBytes: number;
|
|
803
1118
|
fsUsedSizeInBytes: number;
|
|
@@ -806,19 +1121,31 @@ export declare namespace DashboardModels {
|
|
|
806
1121
|
objects: number;
|
|
807
1122
|
indexes: number;
|
|
808
1123
|
}
|
|
1124
|
+
/**
|
|
1125
|
+
* Defines the response payload for OperationSystem.
|
|
1126
|
+
*/
|
|
809
1127
|
class OperationSystemResponseData {
|
|
810
1128
|
cpuUsage: number;
|
|
811
1129
|
memoryUsage: MemoryUsageResponseData;
|
|
812
1130
|
storageUsage: Array<StorageUsageResponseData>;
|
|
813
1131
|
}
|
|
1132
|
+
/**
|
|
1133
|
+
* Defines the response payload for RequestCompleteErrorCode.
|
|
1134
|
+
*/
|
|
814
1135
|
class RequestCompleteErrorCodeResponseData {
|
|
815
1136
|
errorCode: number;
|
|
816
1137
|
count: number;
|
|
817
1138
|
}
|
|
1139
|
+
/**
|
|
1140
|
+
* Defines the response payload for RequestComplete.
|
|
1141
|
+
*/
|
|
818
1142
|
class RequestCompleteResponseData {
|
|
819
1143
|
eventName: string;
|
|
820
1144
|
results: Array<RequestCompleteErrorCodeResponseData>;
|
|
821
1145
|
}
|
|
1146
|
+
/**
|
|
1147
|
+
* Defines the response payload for Cost.
|
|
1148
|
+
*/
|
|
822
1149
|
class CostResponseData {
|
|
823
1150
|
requestCount: number;
|
|
824
1151
|
matchmakingRequestCount: number;
|
|
@@ -826,6 +1153,9 @@ export declare namespace DashboardModels {
|
|
|
826
1153
|
storageSizeInBytes: number;
|
|
827
1154
|
dataTransferSizeInBytes: number;
|
|
828
1155
|
}
|
|
1156
|
+
/**
|
|
1157
|
+
* Defines the response payload for GetAnalytics.
|
|
1158
|
+
*/
|
|
829
1159
|
class GetAnalyticsResponseData {
|
|
830
1160
|
analyticsItem?: AnalyticsItemResponseData;
|
|
831
1161
|
country?: Array<CountryResponseData>;
|
|
@@ -836,34 +1166,62 @@ export declare namespace DashboardModels {
|
|
|
836
1166
|
cost?: CostResponseData;
|
|
837
1167
|
monthlyCost?: CostResponseData;
|
|
838
1168
|
}
|
|
1169
|
+
/**
|
|
1170
|
+
* Defines the response payload for GetUsernameAdminAccount.
|
|
1171
|
+
*/
|
|
839
1172
|
class GetUsernameAdminAccountResponseData {
|
|
840
1173
|
username: string;
|
|
841
1174
|
}
|
|
1175
|
+
/**
|
|
1176
|
+
* Defines the response payload for ChildScript.
|
|
1177
|
+
*/
|
|
842
1178
|
class ChildScriptResponseData {
|
|
843
1179
|
eventName: string;
|
|
844
1180
|
script: string;
|
|
845
1181
|
hasEdit: boolean;
|
|
846
1182
|
}
|
|
1183
|
+
/**
|
|
1184
|
+
* Defines the response payload for EventCallbackCloudScript.
|
|
1185
|
+
*/
|
|
847
1186
|
class EventCallbackCloudScriptResponseData {
|
|
848
1187
|
type: string;
|
|
849
1188
|
tsCreate: number;
|
|
850
1189
|
version: string;
|
|
851
1190
|
childScripts: Array<ChildScriptResponseData>;
|
|
852
1191
|
}
|
|
1192
|
+
/**
|
|
1193
|
+
* Defines the response payload for `getEventCallbackCloudScript`.
|
|
1194
|
+
*
|
|
1195
|
+
* Each result links one event callback registration to a CloudScript target.
|
|
1196
|
+
*/
|
|
853
1197
|
class GetEventCallbackCloudScriptResponseData {
|
|
854
1198
|
results: Array<EventCallbackCloudScriptResponseData>;
|
|
855
1199
|
}
|
|
1200
|
+
/**
|
|
1201
|
+
* Defines the response payload for SetEventCallbackCloudScript.
|
|
1202
|
+
*/
|
|
856
1203
|
class SetEventCallbackCloudScriptResponseData {
|
|
857
1204
|
errorMessage: string;
|
|
858
1205
|
}
|
|
1206
|
+
/**
|
|
1207
|
+
* Defines the response payload for BackupStatisticsLeaderboardVersion.
|
|
1208
|
+
*/
|
|
859
1209
|
class BackupStatisticsLeaderboardVersionResponseData {
|
|
860
1210
|
version: string;
|
|
861
1211
|
log: string;
|
|
862
1212
|
tsCreate: number;
|
|
863
1213
|
}
|
|
1214
|
+
/**
|
|
1215
|
+
* Defines the response payload for GetBackupStatisticsLeaderboardVersion.
|
|
1216
|
+
*/
|
|
864
1217
|
class GetBackupStatisticsLeaderboardVersionResponseData {
|
|
865
1218
|
results: Array<BackupStatisticsLeaderboardVersionResponseData>;
|
|
866
1219
|
}
|
|
1220
|
+
/**
|
|
1221
|
+
* Defines the response payload for `getServerGameData`.
|
|
1222
|
+
*
|
|
1223
|
+
* This is a high-level telemetry snapshot of entity counts, country breakdown, and server version data.
|
|
1224
|
+
*/
|
|
867
1225
|
class GetServerGameDataResponseData {
|
|
868
1226
|
masterPlayerCount?: number;
|
|
869
1227
|
gamePlayerCount?: number;
|
|
@@ -871,9 +1229,14 @@ export declare namespace DashboardModels {
|
|
|
871
1229
|
inventoryCount?: number;
|
|
872
1230
|
storeInventoryCount?: number;
|
|
873
1231
|
groupCount?: number;
|
|
1232
|
+
/** Optional country-level breakdown returned by the backend. */
|
|
874
1233
|
country?: Array<CountryResponseData>;
|
|
1234
|
+
/** Optional server or game-data version string reported by the backend. */
|
|
875
1235
|
version?: string;
|
|
876
1236
|
}
|
|
1237
|
+
/**
|
|
1238
|
+
* Defines an intentionally empty response payload.
|
|
1239
|
+
*/
|
|
877
1240
|
class EmptyResponseData {
|
|
878
1241
|
}
|
|
879
1242
|
}
|