@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
|
@@ -2,103 +2,255 @@ import { RequestRole } from "./../../constant/enumType/RequestRole";
|
|
|
2
2
|
import { RequestType } from "./../../constant/enumType/RequestType";
|
|
3
3
|
import { CustomOperationRequestAbstract } from "./../request/CustomOperationRequest";
|
|
4
4
|
import { ContentModels } from "./ContentModels";
|
|
5
|
+
/**
|
|
6
|
+
* Typed request wrappers for the Content domain.
|
|
7
|
+
*
|
|
8
|
+
* Each class extends {@link CustomOperationRequestAbstract} and
|
|
9
|
+
* binds a typed `*RequestData` DTO from {@link ContentModels} to
|
|
10
|
+
* the matching {@link OperationCode}, the
|
|
11
|
+
* {@link RequestType.Content} domain, and one of the three
|
|
12
|
+
* {@link RequestRole} variants.
|
|
13
|
+
*
|
|
14
|
+
* The wrappers cover three role flavours:
|
|
15
|
+
* - **Client** — used from player-facing application code
|
|
16
|
+
* (`GNNetwork.content.*`).
|
|
17
|
+
* - **Server** (`Server*OperationRequest`) — used from trusted
|
|
18
|
+
* backend code (`GNNetwork.content.server.*`); accepts
|
|
19
|
+
* additional `userId` / `ownerId` parameters so a backend can
|
|
20
|
+
* act on behalf of any player.
|
|
21
|
+
* - **Admin** (`Admin*OperationRequest`) — used from dashboard /
|
|
22
|
+
* backoffice tooling (`GNNetwork.content.admin.*`).
|
|
23
|
+
*
|
|
24
|
+
* Note that Content operations stay strictly HTTP — the binary
|
|
25
|
+
* upload / download bytes are transferred through the dedicated
|
|
26
|
+
* helpers {@link GNNetwork.uploadFile} and
|
|
27
|
+
* {@link GNNetwork.getDownloadFileUrl}, not through the typed
|
|
28
|
+
* operation layer. The `*FileUploadInfo*` operations only
|
|
29
|
+
* register / inspect / revoke the metadata slot.
|
|
30
|
+
*/
|
|
5
31
|
export declare namespace ContentRequestModels {
|
|
32
|
+
/**
|
|
33
|
+
* Maps the CreateNewFileUploadInfo operation to a typed request wrapper.
|
|
34
|
+
*/
|
|
6
35
|
class CreateNewFileUploadInfoOperationRequest extends CustomOperationRequestAbstract<ContentModels.CreateNewFileUploadInfoRequestData> {
|
|
7
36
|
protected operationCode: string;
|
|
8
37
|
protected requestType: RequestType;
|
|
9
38
|
protected role: RequestRole;
|
|
39
|
+
/**
|
|
40
|
+
* Creates a new CreateNewFileUploadInfoOperationRequest instance.
|
|
41
|
+
*/
|
|
10
42
|
constructor(requestData: ContentModels.CreateNewFileUploadInfoRequestData, timeout: number);
|
|
11
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* Maps the ServerCreateNewFileUploadInfo operation to a typed request wrapper.
|
|
46
|
+
*/
|
|
12
47
|
class ServerCreateNewFileUploadInfoOperationRequest extends CreateNewFileUploadInfoOperationRequest {
|
|
13
48
|
protected role: RequestRole;
|
|
49
|
+
/**
|
|
50
|
+
* Creates a new ServerCreateNewFileUploadInfoOperationRequest instance.
|
|
51
|
+
*/
|
|
14
52
|
constructor(requestData: ContentModels.ServerCreateNewFileUploadInfoRequestData, timeout: number);
|
|
15
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* Maps the AdminCreateNewFileUploadInfo operation to a typed request wrapper.
|
|
56
|
+
*/
|
|
16
57
|
class AdminCreateNewFileUploadInfoOperationRequest extends CreateNewFileUploadInfoOperationRequest {
|
|
17
58
|
protected role: RequestRole;
|
|
59
|
+
/**
|
|
60
|
+
* Creates a new AdminCreateNewFileUploadInfoOperationRequest instance.
|
|
61
|
+
*/
|
|
18
62
|
constructor(requestData: ContentModels.AdminCreateNewFileUploadInfoRequestData, timeout: number);
|
|
19
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* Maps the GetContentData operation to a typed request wrapper.
|
|
66
|
+
*/
|
|
20
67
|
class GetContentDataOperationRequest extends CustomOperationRequestAbstract<ContentModels.GetContentDataRequestData> {
|
|
21
68
|
protected operationCode: string;
|
|
22
69
|
protected requestType: RequestType;
|
|
23
70
|
protected role: RequestRole;
|
|
71
|
+
/**
|
|
72
|
+
* Creates a new GetContentDataOperationRequest instance.
|
|
73
|
+
*/
|
|
24
74
|
constructor(requestData: ContentModels.GetContentDataRequestData, timeout: number);
|
|
25
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Maps the ServerGetContentData operation to a typed request wrapper.
|
|
78
|
+
*/
|
|
26
79
|
class ServerGetContentDataOperationRequest extends GetContentDataOperationRequest {
|
|
27
80
|
protected role: RequestRole;
|
|
81
|
+
/**
|
|
82
|
+
* Creates a new ServerGetContentDataOperationRequest instance.
|
|
83
|
+
*/
|
|
28
84
|
constructor(requestData: ContentModels.ServerGetContentDataRequestData, timeout: number);
|
|
29
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* Maps the AdminGetContentData operation to a typed request wrapper.
|
|
88
|
+
*/
|
|
30
89
|
class AdminGetContentDataOperationRequest extends GetContentDataOperationRequest {
|
|
31
90
|
protected role: RequestRole;
|
|
91
|
+
/**
|
|
92
|
+
* Creates a new AdminGetContentDataOperationRequest instance.
|
|
93
|
+
*/
|
|
32
94
|
constructor(requestData: ContentModels.AdminGetContentDataRequestData, timeout: number);
|
|
33
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* Maps the GetFileUploadInfoList operation to a typed request wrapper.
|
|
98
|
+
*/
|
|
34
99
|
class GetFileUploadInfoListOperationRequest extends CustomOperationRequestAbstract<ContentModels.GetFileUploadInfoListRequestData> {
|
|
35
100
|
protected operationCode: string;
|
|
36
101
|
protected requestType: RequestType;
|
|
37
102
|
protected role: RequestRole;
|
|
103
|
+
/**
|
|
104
|
+
* Creates a new GetFileUploadInfoListOperationRequest instance.
|
|
105
|
+
*/
|
|
38
106
|
constructor(requestData: ContentModels.GetFileUploadInfoListRequestData, timeout: number);
|
|
39
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* Maps the ServerGetFileUploadInfoList operation to a typed request wrapper.
|
|
110
|
+
*/
|
|
40
111
|
class ServerGetFileUploadInfoListOperationRequest extends GetFileUploadInfoListOperationRequest {
|
|
41
112
|
protected role: RequestRole;
|
|
113
|
+
/**
|
|
114
|
+
* Creates a new ServerGetFileUploadInfoListOperationRequest instance.
|
|
115
|
+
*/
|
|
42
116
|
constructor(requestData: ContentModels.ServerGetFileUploadInfoListRequestData, timeout: number);
|
|
43
117
|
}
|
|
118
|
+
/**
|
|
119
|
+
* Maps the AdminGetFileUploadInfoList operation to a typed request wrapper.
|
|
120
|
+
*/
|
|
44
121
|
class AdminGetFileUploadInfoListOperationRequest extends GetFileUploadInfoListOperationRequest {
|
|
45
122
|
protected role: RequestRole;
|
|
123
|
+
/**
|
|
124
|
+
* Creates a new AdminGetFileUploadInfoListOperationRequest instance.
|
|
125
|
+
*/
|
|
46
126
|
constructor(requestData: ContentModels.AdminGetFileUploadInfoListRequestData, timeout: number);
|
|
47
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* Maps the GetFileUploadInfo operation to a typed request wrapper.
|
|
130
|
+
*/
|
|
48
131
|
class GetFileUploadInfoOperationRequest extends CustomOperationRequestAbstract<ContentModels.GetFileUploadInfoRequestData> {
|
|
49
132
|
protected operationCode: string;
|
|
50
133
|
protected requestType: RequestType;
|
|
51
134
|
protected role: RequestRole;
|
|
135
|
+
/**
|
|
136
|
+
* Creates a new GetFileUploadInfoOperationRequest instance.
|
|
137
|
+
*/
|
|
52
138
|
constructor(requestData: ContentModels.GetFileUploadInfoRequestData, timeout: number);
|
|
53
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* Maps the ServerGetFileUploadInfo operation to a typed request wrapper.
|
|
142
|
+
*/
|
|
54
143
|
class ServerGetFileUploadInfoOperationRequest extends GetFileUploadInfoOperationRequest {
|
|
55
144
|
protected role: RequestRole;
|
|
145
|
+
/**
|
|
146
|
+
* Creates a new ServerGetFileUploadInfoOperationRequest instance.
|
|
147
|
+
*/
|
|
56
148
|
constructor(requestData: ContentModels.ServerGetFileUploadInfoRequestData, timeout: number);
|
|
57
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* Maps the AdminGetFileUploadInfo operation to a typed request wrapper.
|
|
152
|
+
*/
|
|
58
153
|
class AdminGetFileUploadInfoOperationRequest extends GetFileUploadInfoOperationRequest {
|
|
59
154
|
protected role: RequestRole;
|
|
155
|
+
/**
|
|
156
|
+
* Creates a new AdminGetFileUploadInfoOperationRequest instance.
|
|
157
|
+
*/
|
|
60
158
|
constructor(requestData: ContentModels.AdminGetFileUploadInfoRequestData, timeout: number);
|
|
61
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* Maps the RemoveFileUploadInfo operation to a typed request wrapper.
|
|
162
|
+
*/
|
|
62
163
|
class RemoveFileUploadInfoOperationRequest extends CustomOperationRequestAbstract<ContentModels.RemoveFileUploadInfoRequestData> {
|
|
63
164
|
protected operationCode: string;
|
|
64
165
|
protected requestType: RequestType;
|
|
65
166
|
protected role: RequestRole;
|
|
167
|
+
/**
|
|
168
|
+
* Creates a new RemoveFileUploadInfoOperationRequest instance.
|
|
169
|
+
*/
|
|
66
170
|
constructor(requestData: ContentModels.RemoveFileUploadInfoRequestData, timeout: number);
|
|
67
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
* Maps the ServerRemoveFileUploadInfo operation to a typed request wrapper.
|
|
174
|
+
*/
|
|
68
175
|
class ServerRemoveFileUploadInfoOperationRequest extends RemoveFileUploadInfoOperationRequest {
|
|
69
176
|
protected role: RequestRole;
|
|
177
|
+
/**
|
|
178
|
+
* Creates a new ServerRemoveFileUploadInfoOperationRequest instance.
|
|
179
|
+
*/
|
|
70
180
|
constructor(requestData: ContentModels.ServerRemoveFileUploadInfoRequestData, timeout: number);
|
|
71
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* Maps the AdminRemoveFileUploadInfo operation to a typed request wrapper.
|
|
184
|
+
*/
|
|
72
185
|
class AdminRemoveFileUploadInfoOperationRequest extends RemoveFileUploadInfoOperationRequest {
|
|
73
186
|
protected role: RequestRole;
|
|
187
|
+
/**
|
|
188
|
+
* Creates a new AdminRemoveFileUploadInfoOperationRequest instance.
|
|
189
|
+
*/
|
|
74
190
|
constructor(requestData: ContentModels.AdminRemoveFileUploadInfoRequestData, timeout: number);
|
|
75
191
|
}
|
|
192
|
+
/**
|
|
193
|
+
* Maps the RequestDownloadFileUploadInfo operation to a typed request wrapper.
|
|
194
|
+
*/
|
|
76
195
|
class RequestDownloadFileUploadInfoOperationRequest extends CustomOperationRequestAbstract<ContentModels.RequestDownloadFileUploadInfoRequestData> {
|
|
77
196
|
protected operationCode: string;
|
|
78
197
|
protected requestType: RequestType;
|
|
79
198
|
protected role: RequestRole;
|
|
199
|
+
/**
|
|
200
|
+
* Creates a new RequestDownloadFileUploadInfoOperationRequest instance.
|
|
201
|
+
*/
|
|
80
202
|
constructor(requestData: ContentModels.RequestDownloadFileUploadInfoRequestData, timeout: number);
|
|
81
203
|
}
|
|
204
|
+
/**
|
|
205
|
+
* Maps the ServerRequestDownloadFileUploadInfo operation to a typed request wrapper.
|
|
206
|
+
*/
|
|
82
207
|
class ServerRequestDownloadFileUploadInfoOperationRequest extends RequestDownloadFileUploadInfoOperationRequest {
|
|
83
208
|
protected role: RequestRole;
|
|
209
|
+
/**
|
|
210
|
+
* Creates a new ServerRequestDownloadFileUploadInfoOperationRequest instance.
|
|
211
|
+
*/
|
|
84
212
|
constructor(requestData: ContentModels.ServerRequestDownloadFileUploadInfoRequestData, timeout: number);
|
|
85
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* Maps the AdminRequestDownloadFileUploadInfo operation to a typed request wrapper.
|
|
216
|
+
*/
|
|
86
217
|
class AdminRequestDownloadFileUploadInfoOperationRequest extends RequestDownloadFileUploadInfoOperationRequest {
|
|
87
218
|
protected role: RequestRole;
|
|
219
|
+
/**
|
|
220
|
+
* Creates a new AdminRequestDownloadFileUploadInfoOperationRequest instance.
|
|
221
|
+
*/
|
|
88
222
|
constructor(requestData: ContentModels.AdminRequestDownloadFileUploadInfoRequestData, timeout: number);
|
|
89
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* Maps the SetContentData operation to a typed request wrapper.
|
|
226
|
+
*/
|
|
90
227
|
class SetContentDataOperationRequest extends CustomOperationRequestAbstract<ContentModels.SetContentDataRequestData> {
|
|
91
228
|
protected operationCode: string;
|
|
92
229
|
protected requestType: RequestType;
|
|
93
230
|
protected role: RequestRole;
|
|
231
|
+
/**
|
|
232
|
+
* Creates a new SetContentDataOperationRequest instance.
|
|
233
|
+
*/
|
|
94
234
|
constructor(requestData: ContentModels.SetContentDataRequestData, timeout: number);
|
|
95
235
|
}
|
|
236
|
+
/**
|
|
237
|
+
* Maps the ServerSetContentData operation to a typed request wrapper.
|
|
238
|
+
*/
|
|
96
239
|
class ServerSetContentDataOperationRequest extends SetContentDataOperationRequest {
|
|
97
240
|
protected role: RequestRole;
|
|
241
|
+
/**
|
|
242
|
+
* Creates a new ServerSetContentDataOperationRequest instance.
|
|
243
|
+
*/
|
|
98
244
|
constructor(requestData: ContentModels.ServerSetContentDataRequestData, timeout: number);
|
|
99
245
|
}
|
|
246
|
+
/**
|
|
247
|
+
* Maps the AdminSetContentData operation to a typed request wrapper.
|
|
248
|
+
*/
|
|
100
249
|
class AdminSetContentDataOperationRequest extends SetContentDataOperationRequest {
|
|
101
250
|
protected role: RequestRole;
|
|
251
|
+
/**
|
|
252
|
+
* Creates a new AdminSetContentDataOperationRequest instance.
|
|
253
|
+
*/
|
|
102
254
|
constructor(requestData: ContentModels.AdminSetContentDataRequestData, timeout: number);
|
|
103
255
|
}
|
|
104
256
|
}
|
|
@@ -1,25 +1,83 @@
|
|
|
1
1
|
import { CustomOperationResponseAbstract } from "./../response/CustomOperationResponse";
|
|
2
2
|
import { ContentModels } from "./ContentModels";
|
|
3
|
+
/**
|
|
4
|
+
* Typed response wrappers for the Content domain.
|
|
5
|
+
*
|
|
6
|
+
* Each class extends {@link CustomOperationResponseAbstract} and
|
|
7
|
+
* binds a response DTO from {@link ContentModels}. Most file
|
|
8
|
+
* operations resolve to lightweight responses that carry just
|
|
9
|
+
* the `fileId` plus the associated upload / download token —
|
|
10
|
+
* pair them with the byte-transfer helpers
|
|
11
|
+
* {@link GNNetwork.uploadFile} and
|
|
12
|
+
* {@link GNNetwork.getDownloadFileUrl} to complete the workflow.
|
|
13
|
+
*
|
|
14
|
+
* The same wrapper classes are reused across the
|
|
15
|
+
* client / server / admin role variants because the response
|
|
16
|
+
* shape is identical regardless of which role issued the
|
|
17
|
+
* request.
|
|
18
|
+
*/
|
|
3
19
|
export declare namespace ContentResponseModels {
|
|
20
|
+
/**
|
|
21
|
+
* Maps the CreateNewFileUploadInfo operation to a typed response wrapper.
|
|
22
|
+
*/
|
|
4
23
|
class CreateNewFileUploadInfoOperationResponse extends CustomOperationResponseAbstract<ContentModels.FileIdUploadResponseData> {
|
|
24
|
+
/**
|
|
25
|
+
* Creates a new CreateNewFileUploadInfoOperationResponse instance.
|
|
26
|
+
*/
|
|
5
27
|
constructor();
|
|
6
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Maps the GetContentData operation to a typed response wrapper.
|
|
31
|
+
*/
|
|
7
32
|
class GetContentDataOperationResponse extends CustomOperationResponseAbstract<ContentModels.GetContentDataResponseData> {
|
|
33
|
+
/**
|
|
34
|
+
* Creates a new GetContentDataOperationResponse instance.
|
|
35
|
+
*/
|
|
8
36
|
constructor();
|
|
9
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Maps the GetFileUploadInfoList operation to a typed response wrapper.
|
|
40
|
+
*/
|
|
10
41
|
class GetFileUploadInfoListOperationResponse extends CustomOperationResponseAbstract<ContentModels.GetFileUploadInfoListResponseData> {
|
|
42
|
+
/**
|
|
43
|
+
* Creates a new GetFileUploadInfoListOperationResponse instance.
|
|
44
|
+
*/
|
|
11
45
|
constructor();
|
|
12
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Maps the GetFileUploadInfo operation to a typed response wrapper.
|
|
49
|
+
*/
|
|
13
50
|
class GetFileUploadInfoOperationResponse extends CustomOperationResponseAbstract<ContentModels.GetFileUploadInfoResponseData> {
|
|
51
|
+
/**
|
|
52
|
+
* Creates a new GetFileUploadInfoOperationResponse instance.
|
|
53
|
+
*/
|
|
14
54
|
constructor();
|
|
15
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Maps the RemoveFileUploadInfo operation to a typed response wrapper.
|
|
58
|
+
*/
|
|
16
59
|
class RemoveFileUploadInfoOperationResponse extends CustomOperationResponseAbstract<ContentModels.EmptyResponseData> {
|
|
60
|
+
/**
|
|
61
|
+
* Creates a new RemoveFileUploadInfoOperationResponse instance.
|
|
62
|
+
*/
|
|
17
63
|
constructor();
|
|
18
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* Maps the RequestDownloadFileUploadInfo operation to a typed response wrapper.
|
|
67
|
+
*/
|
|
19
68
|
class RequestDownloadFileUploadInfoOperationResponse extends CustomOperationResponseAbstract<ContentModels.RequestDownloadFileUploadInfoResponseData> {
|
|
69
|
+
/**
|
|
70
|
+
* Creates a new RequestDownloadFileUploadInfoOperationResponse instance.
|
|
71
|
+
*/
|
|
20
72
|
constructor();
|
|
21
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Maps the SetContentData operation to a typed response wrapper.
|
|
76
|
+
*/
|
|
22
77
|
class SetContentDataOperationResponse extends CustomOperationResponseAbstract<ContentModels.EmptyResponseData> {
|
|
78
|
+
/**
|
|
79
|
+
* Creates a new SetContentDataOperationResponse instance.
|
|
80
|
+
*/
|
|
23
81
|
constructor();
|
|
24
82
|
}
|
|
25
83
|
}
|