@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,163 +1,495 @@
|
|
|
1
1
|
import { CustomOperationResponseAbstract } from "./../response/CustomOperationResponse";
|
|
2
2
|
import { CharacterPlayerModels } from "./CharacterPlayerModels";
|
|
3
|
+
/**
|
|
4
|
+
* Typed response wrappers for the CharacterPlayer domain.
|
|
5
|
+
*
|
|
6
|
+
* Each class extends {@link CustomOperationResponseAbstract}
|
|
7
|
+
* and binds a response DTO from {@link CharacterPlayerModels}.
|
|
8
|
+
* The same wrapper class is reused across the
|
|
9
|
+
* client / server / admin role variants because the response
|
|
10
|
+
* shape does not depend on which role issued the request.
|
|
11
|
+
*
|
|
12
|
+
* Many read operations resolve to a profile-style envelope
|
|
13
|
+
* (`CharacterPlayerResponseData` or a derived shape) whose
|
|
14
|
+
* `infoResponseParameters` field is gated by the matching
|
|
15
|
+
* request DTO's `infoRequestParam` flags.
|
|
16
|
+
*/
|
|
3
17
|
export declare namespace CharacterPlayerResponseModels {
|
|
18
|
+
/**
|
|
19
|
+
* Maps the AddPlayerFriend operation to a typed response wrapper.
|
|
20
|
+
*/
|
|
4
21
|
class AddPlayerFriendOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
22
|
+
/**
|
|
23
|
+
* Creates a new AddPlayerFriendOperationResponse instance.
|
|
24
|
+
*/
|
|
5
25
|
constructor();
|
|
6
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Maps the AddSegment operation to a typed response wrapper.
|
|
29
|
+
*/
|
|
7
30
|
class AddSegmentOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
31
|
+
/**
|
|
32
|
+
* Creates a new AddSegmentOperationResponse instance.
|
|
33
|
+
*/
|
|
8
34
|
constructor();
|
|
9
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Maps the GetAvatar operation to a typed response wrapper.
|
|
38
|
+
*/
|
|
10
39
|
class GetAvatarOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
40
|
+
/**
|
|
41
|
+
* Creates a new GetAvatarOperationResponse instance.
|
|
42
|
+
*/
|
|
11
43
|
constructor();
|
|
12
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* Maps the GetCatalogId operation to a typed response wrapper.
|
|
47
|
+
*/
|
|
13
48
|
class GetCatalogIdOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
49
|
+
/**
|
|
50
|
+
* Creates a new GetCatalogIdOperationResponse instance.
|
|
51
|
+
*/
|
|
14
52
|
constructor();
|
|
15
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* Maps the GetCountryCode operation to a typed response wrapper.
|
|
56
|
+
*/
|
|
16
57
|
class GetCountryCodeOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
58
|
+
/**
|
|
59
|
+
* Creates a new GetCountryCodeOperationResponse instance.
|
|
60
|
+
*/
|
|
17
61
|
constructor();
|
|
18
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* Maps the GetCustomData operation to a typed response wrapper.
|
|
65
|
+
*/
|
|
19
66
|
class GetCustomDataOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
67
|
+
/**
|
|
68
|
+
* Creates a new GetCustomDataOperationResponse instance.
|
|
69
|
+
*/
|
|
20
70
|
constructor();
|
|
21
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* Maps the GetDisplayName operation to a typed response wrapper.
|
|
74
|
+
*/
|
|
22
75
|
class GetDisplayNameOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
76
|
+
/**
|
|
77
|
+
* Creates a new GetDisplayNameOperationResponse instance.
|
|
78
|
+
*/
|
|
23
79
|
constructor();
|
|
24
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* Maps the GetFriendStatisticsLeaderboardAroundPlayer operation to a typed response wrapper.
|
|
83
|
+
*/
|
|
25
84
|
class GetFriendStatisticsLeaderboardAroundPlayerOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetStatisticsLeaderboardResponseData> {
|
|
85
|
+
/**
|
|
86
|
+
* Creates a new GetFriendStatisticsLeaderboardAroundPlayerOperationResponse instance.
|
|
87
|
+
*/
|
|
26
88
|
constructor();
|
|
27
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* Maps the GetFriendStatisticsLeaderboard operation to a typed response wrapper.
|
|
92
|
+
*/
|
|
28
93
|
class GetFriendStatisticsLeaderboardOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetStatisticsLeaderboardResponseData> {
|
|
94
|
+
/**
|
|
95
|
+
* Creates a new GetFriendStatisticsLeaderboardOperationResponse instance.
|
|
96
|
+
*/
|
|
29
97
|
constructor();
|
|
30
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* Maps the GetIpAddressCreate operation to a typed response wrapper.
|
|
101
|
+
*/
|
|
31
102
|
class GetIpAddressCreateOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
103
|
+
/**
|
|
104
|
+
* Creates a new GetIpAddressCreateOperationResponse instance.
|
|
105
|
+
*/
|
|
32
106
|
constructor();
|
|
33
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* Maps the GetOwner operation to a typed response wrapper.
|
|
110
|
+
*/
|
|
34
111
|
class GetOwnerOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
112
|
+
/**
|
|
113
|
+
* Creates a new GetOwnerOperationResponse instance.
|
|
114
|
+
*/
|
|
35
115
|
constructor();
|
|
36
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* Maps the GetPlayerBan operation to a typed response wrapper.
|
|
119
|
+
*/
|
|
37
120
|
class GetPlayerBanOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
121
|
+
/**
|
|
122
|
+
* Creates a new GetPlayerBanOperationResponse instance.
|
|
123
|
+
*/
|
|
38
124
|
constructor();
|
|
39
125
|
}
|
|
126
|
+
/**
|
|
127
|
+
* Maps the GetPlayerCurrency operation to a typed response wrapper.
|
|
128
|
+
*/
|
|
40
129
|
class GetPlayerCurrencyOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
130
|
+
/**
|
|
131
|
+
* Creates a new GetPlayerCurrencyOperationResponse instance.
|
|
132
|
+
*/
|
|
41
133
|
constructor();
|
|
42
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* Maps the GetPlayerData operation to a typed response wrapper.
|
|
137
|
+
*/
|
|
43
138
|
class GetPlayerDataOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
139
|
+
/**
|
|
140
|
+
* Creates a new GetPlayerDataOperationResponse instance.
|
|
141
|
+
*/
|
|
44
142
|
constructor();
|
|
45
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* Maps the GetPlayerFriend operation to a typed response wrapper.
|
|
146
|
+
*/
|
|
46
147
|
class GetPlayerFriendOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
148
|
+
/**
|
|
149
|
+
* Creates a new GetPlayerFriendOperationResponse instance.
|
|
150
|
+
*/
|
|
47
151
|
constructor();
|
|
48
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* Maps the GetPlayerGroup operation to a typed response wrapper.
|
|
155
|
+
*/
|
|
49
156
|
class GetPlayerGroupOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
157
|
+
/**
|
|
158
|
+
* Creates a new GetPlayerGroupOperationResponse instance.
|
|
159
|
+
*/
|
|
50
160
|
constructor();
|
|
51
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* Maps the GetPlayerInformation operation to a typed response wrapper.
|
|
164
|
+
*/
|
|
52
165
|
class GetPlayerInformationOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
166
|
+
/**
|
|
167
|
+
* Creates a new GetPlayerInformationOperationResponse instance.
|
|
168
|
+
*/
|
|
53
169
|
constructor();
|
|
54
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* Maps the GetPlayerInventory operation to a typed response wrapper.
|
|
173
|
+
*/
|
|
55
174
|
class GetPlayerInventoryOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
175
|
+
/**
|
|
176
|
+
* Creates a new GetPlayerInventoryOperationResponse instance.
|
|
177
|
+
*/
|
|
56
178
|
constructor();
|
|
57
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
* Maps the GetPlayerStatistics operation to a typed response wrapper.
|
|
182
|
+
*/
|
|
58
183
|
class GetPlayerStatisticsOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
184
|
+
/**
|
|
185
|
+
* Creates a new GetPlayerStatisticsOperationResponse instance.
|
|
186
|
+
*/
|
|
59
187
|
constructor();
|
|
60
188
|
}
|
|
189
|
+
/**
|
|
190
|
+
* Maps the GetPlayersWithDisplayName operation to a typed response wrapper.
|
|
191
|
+
*/
|
|
61
192
|
class GetPlayersWithDisplayNameOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayersWithCharacterIdResponseData> {
|
|
193
|
+
/**
|
|
194
|
+
* Creates a new GetPlayersWithDisplayNameOperationResponse instance.
|
|
195
|
+
*/
|
|
62
196
|
constructor();
|
|
63
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* Maps the GetPlayersWithSegment operation to a typed response wrapper.
|
|
200
|
+
*/
|
|
64
201
|
class GetPlayersWithSegmentOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayersWithCharacterIdResponseData> {
|
|
202
|
+
/**
|
|
203
|
+
* Creates a new GetPlayersWithSegmentOperationResponse instance.
|
|
204
|
+
*/
|
|
65
205
|
constructor();
|
|
66
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* Maps the GetPlayersWithTag operation to a typed response wrapper.
|
|
209
|
+
*/
|
|
67
210
|
class GetPlayersWithTagOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayersWithCharacterIdResponseData> {
|
|
211
|
+
/**
|
|
212
|
+
* Creates a new GetPlayersWithTagOperationResponse instance.
|
|
213
|
+
*/
|
|
68
214
|
constructor();
|
|
69
215
|
}
|
|
216
|
+
/**
|
|
217
|
+
* Maps the GetRemoveStatus operation to a typed response wrapper.
|
|
218
|
+
*/
|
|
70
219
|
class GetRemoveStatusOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
220
|
+
/**
|
|
221
|
+
* Creates a new GetRemoveStatusOperationResponse instance.
|
|
222
|
+
*/
|
|
71
223
|
constructor();
|
|
72
224
|
}
|
|
225
|
+
/**
|
|
226
|
+
* Maps the GetSegment operation to a typed response wrapper.
|
|
227
|
+
*/
|
|
73
228
|
class GetSegmentOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
229
|
+
/**
|
|
230
|
+
* Creates a new GetSegmentOperationResponse instance.
|
|
231
|
+
*/
|
|
74
232
|
constructor();
|
|
75
233
|
}
|
|
234
|
+
/**
|
|
235
|
+
* Maps the GetStatisticsLeaderboardAroundPlayer operation to a typed response wrapper.
|
|
236
|
+
*/
|
|
76
237
|
class GetStatisticsLeaderboardAroundPlayerOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetStatisticsLeaderboardResponseData> {
|
|
238
|
+
/**
|
|
239
|
+
* Creates a new GetStatisticsLeaderboardAroundPlayerOperationResponse instance.
|
|
240
|
+
*/
|
|
77
241
|
constructor();
|
|
78
242
|
}
|
|
243
|
+
/**
|
|
244
|
+
* Maps the GetStatisticsLeaderboard operation to a typed response wrapper.
|
|
245
|
+
*/
|
|
79
246
|
class GetStatisticsLeaderboardOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetStatisticsLeaderboardResponseData> {
|
|
247
|
+
/**
|
|
248
|
+
* Creates a new GetStatisticsLeaderboardOperationResponse instance.
|
|
249
|
+
*/
|
|
80
250
|
constructor();
|
|
81
251
|
}
|
|
252
|
+
/**
|
|
253
|
+
* Maps the GetTag operation to a typed response wrapper.
|
|
254
|
+
*/
|
|
82
255
|
class GetTagOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
256
|
+
/**
|
|
257
|
+
* Creates a new GetTagOperationResponse instance.
|
|
258
|
+
*/
|
|
83
259
|
constructor();
|
|
84
260
|
}
|
|
261
|
+
/**
|
|
262
|
+
* Maps the GetTsCreate operation to a typed response wrapper.
|
|
263
|
+
*/
|
|
85
264
|
class GetTsCreateOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
265
|
+
/**
|
|
266
|
+
* Creates a new GetTsCreateOperationResponse instance.
|
|
267
|
+
*/
|
|
86
268
|
constructor();
|
|
87
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* Maps the GetTsLastLogin operation to a typed response wrapper.
|
|
272
|
+
*/
|
|
88
273
|
class GetTsLastLoginOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
274
|
+
/**
|
|
275
|
+
* Creates a new GetTsLastLoginOperationResponse instance.
|
|
276
|
+
*/
|
|
89
277
|
constructor();
|
|
90
278
|
}
|
|
279
|
+
/**
|
|
280
|
+
* Maps the CreateGroup operation to a typed response wrapper.
|
|
281
|
+
*/
|
|
91
282
|
class CreateGroupOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
283
|
+
/**
|
|
284
|
+
* Creates a new CreateGroupOperationResponse instance.
|
|
285
|
+
*/
|
|
92
286
|
constructor();
|
|
93
287
|
}
|
|
288
|
+
/**
|
|
289
|
+
* Maps the CreatePlayerItem operation to a typed response wrapper.
|
|
290
|
+
*/
|
|
94
291
|
class CreatePlayerItemOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
292
|
+
/**
|
|
293
|
+
* Creates a new CreatePlayerItemOperationResponse instance.
|
|
294
|
+
*/
|
|
95
295
|
constructor();
|
|
96
296
|
}
|
|
297
|
+
/**
|
|
298
|
+
* Maps the JoinGroup operation to a typed response wrapper.
|
|
299
|
+
*/
|
|
97
300
|
class JoinGroupOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
301
|
+
/**
|
|
302
|
+
* Creates a new JoinGroupOperationResponse instance.
|
|
303
|
+
*/
|
|
98
304
|
constructor();
|
|
99
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* Maps the LeaveGroup operation to a typed response wrapper.
|
|
308
|
+
*/
|
|
100
309
|
class LeaveGroupOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
310
|
+
/**
|
|
311
|
+
* Creates a new LeaveGroupOperationResponse instance.
|
|
312
|
+
*/
|
|
101
313
|
constructor();
|
|
102
314
|
}
|
|
315
|
+
/**
|
|
316
|
+
* Maps the RemovePlayerFriend operation to a typed response wrapper.
|
|
317
|
+
*/
|
|
103
318
|
class RemovePlayerFriendOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
319
|
+
/**
|
|
320
|
+
* Creates a new RemovePlayerFriendOperationResponse instance.
|
|
321
|
+
*/
|
|
104
322
|
constructor();
|
|
105
323
|
}
|
|
324
|
+
/**
|
|
325
|
+
* Maps the RemovePlayerItem operation to a typed response wrapper.
|
|
326
|
+
*/
|
|
106
327
|
class RemovePlayerItemOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
328
|
+
/**
|
|
329
|
+
* Creates a new RemovePlayerItemOperationResponse instance.
|
|
330
|
+
*/
|
|
107
331
|
constructor();
|
|
108
332
|
}
|
|
333
|
+
/**
|
|
334
|
+
* Maps the RemoveSegment operation to a typed response wrapper.
|
|
335
|
+
*/
|
|
109
336
|
class RemoveSegmentOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
337
|
+
/**
|
|
338
|
+
* Creates a new RemoveSegmentOperationResponse instance.
|
|
339
|
+
*/
|
|
110
340
|
constructor();
|
|
111
341
|
}
|
|
342
|
+
/**
|
|
343
|
+
* Maps the RemoveTag operation to a typed response wrapper.
|
|
344
|
+
*/
|
|
112
345
|
class RemoveTagOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
346
|
+
/**
|
|
347
|
+
* Creates a new RemoveTagOperationResponse instance.
|
|
348
|
+
*/
|
|
113
349
|
constructor();
|
|
114
350
|
}
|
|
351
|
+
/**
|
|
352
|
+
* Maps the SetAvatar operation to a typed response wrapper.
|
|
353
|
+
*/
|
|
115
354
|
class SetAvatarOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
355
|
+
/**
|
|
356
|
+
* Creates a new SetAvatarOperationResponse instance.
|
|
357
|
+
*/
|
|
116
358
|
constructor();
|
|
117
359
|
}
|
|
360
|
+
/**
|
|
361
|
+
* Maps the SetCountryCode operation to a typed response wrapper.
|
|
362
|
+
*/
|
|
118
363
|
class SetCountryCodeOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
364
|
+
/**
|
|
365
|
+
* Creates a new SetCountryCodeOperationResponse instance.
|
|
366
|
+
*/
|
|
119
367
|
constructor();
|
|
120
368
|
}
|
|
369
|
+
/**
|
|
370
|
+
* Maps the SetCustomData operation to a typed response wrapper.
|
|
371
|
+
*/
|
|
121
372
|
class SetCustomDataOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
373
|
+
/**
|
|
374
|
+
* Creates a new SetCustomDataOperationResponse instance.
|
|
375
|
+
*/
|
|
122
376
|
constructor();
|
|
123
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* Maps the SetDisplayName operation to a typed response wrapper.
|
|
380
|
+
*/
|
|
124
381
|
class SetDisplayNameOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
382
|
+
/**
|
|
383
|
+
* Creates a new SetDisplayNameOperationResponse instance.
|
|
384
|
+
*/
|
|
125
385
|
constructor();
|
|
126
386
|
}
|
|
387
|
+
/**
|
|
388
|
+
* Maps the SetOwner operation to a typed response wrapper.
|
|
389
|
+
*/
|
|
127
390
|
class SetOwnerOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
391
|
+
/**
|
|
392
|
+
* Creates a new SetOwnerOperationResponse instance.
|
|
393
|
+
*/
|
|
128
394
|
constructor();
|
|
129
395
|
}
|
|
396
|
+
/**
|
|
397
|
+
* Maps the SetPlayerBan operation to a typed response wrapper.
|
|
398
|
+
*/
|
|
130
399
|
class SetPlayerBanOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
400
|
+
/**
|
|
401
|
+
* Creates a new SetPlayerBanOperationResponse instance.
|
|
402
|
+
*/
|
|
131
403
|
constructor();
|
|
132
404
|
}
|
|
405
|
+
/**
|
|
406
|
+
* Maps the ChangePlayerCurrency operation to a typed response wrapper.
|
|
407
|
+
*/
|
|
133
408
|
class ChangePlayerCurrencyOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
409
|
+
/**
|
|
410
|
+
* Creates a new ChangePlayerCurrencyOperationResponse instance.
|
|
411
|
+
*/
|
|
134
412
|
constructor();
|
|
135
413
|
}
|
|
414
|
+
/**
|
|
415
|
+
* Maps the SetPlayerData operation to a typed response wrapper.
|
|
416
|
+
*/
|
|
136
417
|
class SetPlayerDataOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
418
|
+
/**
|
|
419
|
+
* Creates a new SetPlayerDataOperationResponse instance.
|
|
420
|
+
*/
|
|
137
421
|
constructor();
|
|
138
422
|
}
|
|
423
|
+
/**
|
|
424
|
+
* Maps the ChangePlayerStatistics operation to a typed response wrapper.
|
|
425
|
+
*/
|
|
139
426
|
class ChangePlayerStatisticsOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
427
|
+
/**
|
|
428
|
+
* Creates a new ChangePlayerStatisticsOperationResponse instance.
|
|
429
|
+
*/
|
|
140
430
|
constructor();
|
|
141
431
|
}
|
|
432
|
+
/**
|
|
433
|
+
* Maps the SetRemoveStatus operation to a typed response wrapper.
|
|
434
|
+
*/
|
|
142
435
|
class SetRemoveStatusOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
436
|
+
/**
|
|
437
|
+
* Creates a new SetRemoveStatusOperationResponse instance.
|
|
438
|
+
*/
|
|
143
439
|
constructor();
|
|
144
440
|
}
|
|
441
|
+
/**
|
|
442
|
+
* Maps the SetTag operation to a typed response wrapper.
|
|
443
|
+
*/
|
|
145
444
|
class SetTagOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
445
|
+
/**
|
|
446
|
+
* Creates a new SetTagOperationResponse instance.
|
|
447
|
+
*/
|
|
146
448
|
constructor();
|
|
147
449
|
}
|
|
450
|
+
/**
|
|
451
|
+
* Maps the GetCurrencyLeaderboard operation to a typed response wrapper.
|
|
452
|
+
*/
|
|
148
453
|
class GetCurrencyLeaderboardOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetCurrencyLeaderboardResponseData> {
|
|
454
|
+
/**
|
|
455
|
+
* Creates a new GetCurrencyLeaderboardOperationResponse instance.
|
|
456
|
+
*/
|
|
149
457
|
constructor();
|
|
150
458
|
}
|
|
459
|
+
/**
|
|
460
|
+
* Maps the GetCreateLeaderboard operation to a typed response wrapper.
|
|
461
|
+
*/
|
|
151
462
|
class GetCreateLeaderboardOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetCreateLeaderboardResponseData> {
|
|
463
|
+
/**
|
|
464
|
+
* Creates a new GetCreateLeaderboardOperationResponse instance.
|
|
465
|
+
*/
|
|
152
466
|
constructor();
|
|
153
467
|
}
|
|
468
|
+
/**
|
|
469
|
+
* Maps the GetLastLoginLeaderboard operation to a typed response wrapper.
|
|
470
|
+
*/
|
|
154
471
|
class GetLastLoginLeaderboardOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetLastLoginLeaderboardResponseData> {
|
|
472
|
+
/**
|
|
473
|
+
* Creates a new GetLastLoginLeaderboardOperationResponse instance.
|
|
474
|
+
*/
|
|
155
475
|
constructor();
|
|
156
476
|
}
|
|
477
|
+
/**
|
|
478
|
+
* Maps the GetStatisticsLog operation to a typed response wrapper.
|
|
479
|
+
*/
|
|
157
480
|
class GetStatisticsLogOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetStatisticsLogResponseData> {
|
|
481
|
+
/**
|
|
482
|
+
* Creates a new GetStatisticsLogOperationResponse instance.
|
|
483
|
+
*/
|
|
158
484
|
constructor();
|
|
159
485
|
}
|
|
486
|
+
/**
|
|
487
|
+
* Maps the GetCurrencyLog operation to a typed response wrapper.
|
|
488
|
+
*/
|
|
160
489
|
class GetCurrencyLogOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetCurrencyLogResponseData> {
|
|
490
|
+
/**
|
|
491
|
+
* Creates a new GetCurrencyLogOperationResponse instance.
|
|
492
|
+
*/
|
|
161
493
|
constructor();
|
|
162
494
|
}
|
|
163
495
|
}
|
|
@@ -1,71 +1,180 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reusable request and response DTOs for the CloudScript
|
|
3
|
+
* domain.
|
|
4
|
+
*
|
|
5
|
+
* Two distinct flows live here:
|
|
6
|
+
*
|
|
7
|
+
* 1. **Function execution** — `ExecuteFunctionRequestData` /
|
|
8
|
+
* `ExecuteFunctionResponseData`. The application invokes a
|
|
9
|
+
* named function inside a specific script version and
|
|
10
|
+
* receives the result, which carries an
|
|
11
|
+
* {@link ExecuteResponseStatus} discriminator. Available to
|
|
12
|
+
* Client / Server / Admin roles depending on the backend
|
|
13
|
+
* permission table.
|
|
14
|
+
*
|
|
15
|
+
* 2. **Function management** — `AddFunctionRequestData` /
|
|
16
|
+
* `SetFunctionRequestData` / `RemoveFunctionRequestData` /
|
|
17
|
+
* version-management DTOs. Reserved for Server / Admin
|
|
18
|
+
* callers in practice; the dashboard is the primary
|
|
19
|
+
* consumer.
|
|
20
|
+
*
|
|
21
|
+
* Validation rules declared on each `@*DataMember` decorator
|
|
22
|
+
* are enforced server-side; failures surface as
|
|
23
|
+
* {@link InvalidMember} entries.
|
|
24
|
+
*/
|
|
1
25
|
export declare namespace CloudScriptModels {
|
|
26
|
+
/**
|
|
27
|
+
* Creates a new CloudScript version from raw script source.
|
|
28
|
+
*/
|
|
2
29
|
class AddFunctionRequestData {
|
|
3
30
|
script: string;
|
|
4
31
|
canExecute: boolean;
|
|
5
32
|
isLive: boolean;
|
|
6
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Defines the request payload for ServerAddFunction.
|
|
36
|
+
*/
|
|
7
37
|
class ServerAddFunctionRequestData extends AddFunctionRequestData {
|
|
8
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Defines the request payload for AdminAddFunction.
|
|
41
|
+
*/
|
|
9
42
|
class AdminAddFunctionRequestData extends ServerAddFunctionRequestData {
|
|
10
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* Updates execution flags for an existing CloudScript version without changing its source code.
|
|
46
|
+
*/
|
|
11
47
|
class EditFunctionRequestData {
|
|
12
48
|
version: string;
|
|
13
49
|
canExecute: boolean;
|
|
14
50
|
isLive: boolean;
|
|
15
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Defines the request payload for ServerEditFunction.
|
|
54
|
+
*/
|
|
16
55
|
class ServerEditFunctionRequestData extends EditFunctionRequestData {
|
|
17
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Defines the request payload for AdminEditFunction.
|
|
59
|
+
*/
|
|
18
60
|
class AdminEditFunctionRequestData extends ServerEditFunctionRequestData {
|
|
19
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* Executes one function from the selected CloudScript version.
|
|
64
|
+
*/
|
|
20
65
|
class ExecuteFunctionRequestData {
|
|
66
|
+
/**
|
|
67
|
+
* Optional self-target shortcut on the client route; trusted routes require it through derived classes.
|
|
68
|
+
*/
|
|
21
69
|
userId?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Function name inside the script version, not the version identifier itself.
|
|
72
|
+
*/
|
|
22
73
|
functionName: string;
|
|
74
|
+
/**
|
|
75
|
+
* Arbitrary payload forwarded to the CloudScript function.
|
|
76
|
+
*/
|
|
23
77
|
functionParameters?: any;
|
|
78
|
+
/**
|
|
79
|
+
* Optional version override; when omitted, backend execution rules decide which live version is used.
|
|
80
|
+
*/
|
|
24
81
|
version?: string;
|
|
25
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* Defines the request payload for ServerExecuteFunction.
|
|
85
|
+
*/
|
|
26
86
|
class ServerExecuteFunctionRequestData extends ExecuteFunctionRequestData {
|
|
27
87
|
userId: string;
|
|
28
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* Defines the request payload for AdminExecuteFunction.
|
|
91
|
+
*/
|
|
29
92
|
class AdminExecuteFunctionRequestData extends ServerExecuteFunctionRequestData {
|
|
30
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* Defines the request payload for GetFunction.
|
|
96
|
+
*/
|
|
31
97
|
class GetFunctionRequestData {
|
|
32
98
|
version: string;
|
|
33
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* Defines the request payload for ServerGetFunction.
|
|
102
|
+
*/
|
|
34
103
|
class ServerGetFunctionRequestData extends GetFunctionRequestData {
|
|
35
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* Defines the request payload for AdminGetFunction.
|
|
107
|
+
*/
|
|
36
108
|
class AdminGetFunctionRequestData extends ServerGetFunctionRequestData {
|
|
37
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* Defines the request payload for GetFunctions.
|
|
112
|
+
*/
|
|
38
113
|
class GetFunctionsRequestData {
|
|
39
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* Defines the request payload for ServerGetFunctions.
|
|
117
|
+
*/
|
|
40
118
|
class ServerGetFunctionsRequestData extends GetFunctionsRequestData {
|
|
41
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* Defines the request payload for AdminGetFunctions.
|
|
122
|
+
*/
|
|
42
123
|
class AdminGetFunctionsRequestData extends ServerGetFunctionsRequestData {
|
|
43
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* Returns the created version plus backend validation feedback.
|
|
127
|
+
*/
|
|
44
128
|
class AddFunctionResponseData {
|
|
45
129
|
version: string;
|
|
46
130
|
errorMessage: string;
|
|
47
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* Returns backend validation feedback for an edit workflow.
|
|
134
|
+
*/
|
|
48
135
|
class EditFunctionResponseData {
|
|
49
136
|
errorMessage: string;
|
|
50
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* Returns runtime telemetry and function output for one execution.
|
|
140
|
+
*/
|
|
51
141
|
class ExecuteFunctionResponseData {
|
|
142
|
+
/**
|
|
143
|
+
* Raw execution status code returned by the backend.
|
|
144
|
+
* The public package does not currently expose a dedicated enum for this field.
|
|
145
|
+
*/
|
|
52
146
|
status: number;
|
|
53
147
|
executionTimeInMs: number;
|
|
54
148
|
memoryUsedInBytes: number;
|
|
149
|
+
/**
|
|
150
|
+
* Arbitrary function return value.
|
|
151
|
+
*/
|
|
55
152
|
functionResult: any;
|
|
56
153
|
errorMessage: string;
|
|
154
|
+
/**
|
|
155
|
+
* Ordered execution logs captured during the function run.
|
|
156
|
+
*/
|
|
57
157
|
functionLogs: Array<string>;
|
|
58
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* Returns one full CloudScript version snapshot.
|
|
161
|
+
*/
|
|
59
162
|
class GetFunctionResponseData {
|
|
60
163
|
script: string;
|
|
61
164
|
canExecute: boolean;
|
|
62
165
|
isLive: boolean;
|
|
63
166
|
tsCreate: number;
|
|
64
167
|
}
|
|
168
|
+
/**
|
|
169
|
+
* Describes one lightweight function-version summary.
|
|
170
|
+
*/
|
|
65
171
|
class FunctionResponseData {
|
|
66
172
|
version: string;
|
|
67
173
|
canExecute: boolean;
|
|
68
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* Returns the available function-version list plus latest/live pointers.
|
|
177
|
+
*/
|
|
69
178
|
class GetFunctionsResponseData {
|
|
70
179
|
results: Array<FunctionResponseData>;
|
|
71
180
|
latestVersion: string;
|