@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,397 +0,0 @@
|
|
|
1
|
-
import Foundation
|
|
2
|
-
|
|
3
|
-
/// StoreInventory API - Main client class with server and admin sub-APIs
|
|
4
|
-
public class StoreInventoryApi {
|
|
5
|
-
public var server: ServerStoreInventoryApi = ServerStoreInventoryApi()
|
|
6
|
-
public var admin: AdminStoreInventoryApi = AdminStoreInventoryApi()
|
|
7
|
-
|
|
8
|
-
public init() {}
|
|
9
|
-
|
|
10
|
-
// MARK: - buyStoreItem
|
|
11
|
-
public func buyStoreItem(requestData: StoreInventoryModels.BuyStoreItemRequestData, onResponse: Action1<StoreInventoryResponseModels.BuyStoreItemOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
12
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.BuyStoreItemOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.BuyStoreItemOperationResponse.self)
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
public func buyStoreItemAsync(requestData: StoreInventoryModels.BuyStoreItemRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.BuyStoreItemOperationResponse {
|
|
16
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.BuyStoreItemOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.BuyStoreItemOperationResponse.self)
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// MARK: - getStoreItemInformation
|
|
20
|
-
public func getStoreItemInformation(requestData: StoreInventoryModels.GetStoreItemInformationRequestData, onResponse: Action1<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
21
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.GetStoreItemInformationOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreItemInformationOperationResponse.self)
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
public func getStoreItemInformationAsync(requestData: StoreInventoryModels.GetStoreItemInformationRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetStoreItemInformationOperationResponse {
|
|
25
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.GetStoreItemInformationOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreItemInformationOperationResponse.self)
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// MARK: - getStoreItemsWithTag
|
|
29
|
-
public func getStoreItemsWithTag(requestData: StoreInventoryModels.GetStoreItemsWithTagRequestData, onResponse: Action1<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
30
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.GetStoreItemsWithTagOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse.self)
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
public func getStoreItemsWithTagAsync(requestData: StoreInventoryModels.GetStoreItemsWithTagRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse {
|
|
34
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.GetStoreItemsWithTagOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse.self)
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// MARK: - validateAppleAppStoreReceipt
|
|
38
|
-
public func validateAppleAppStoreReceipt(requestData: StoreInventoryModels.ValidateAppleAppStoreReceiptRequestData, onResponse: Action1<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
39
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ValidateAppleAppStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse.self)
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
public func validateAppleAppStoreReceiptAsync(requestData: StoreInventoryModels.ValidateAppleAppStoreReceiptRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse {
|
|
43
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ValidateAppleAppStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse.self)
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// MARK: - validateGooglePlayStoreReceipt
|
|
47
|
-
public func validateGooglePlayStoreReceipt(requestData: StoreInventoryModels.ValidateGooglePlayStoreReceiptRequestData, onResponse: Action1<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
48
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ValidateGooglePlayStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse.self)
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
public func validateGooglePlayStoreReceiptAsync(requestData: StoreInventoryModels.ValidateGooglePlayStoreReceiptRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse {
|
|
52
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ValidateGooglePlayStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse.self)
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// MARK: - createStoreItem
|
|
56
|
-
public func createStoreItem(requestData: StoreInventoryModels.CreateStoreItemRequestData, onResponse: Action1<StoreInventoryResponseModels.CreateStoreItemOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
57
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.CreateStoreItemOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.CreateStoreItemOperationResponse.self)
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
public func createStoreItemAsync(requestData: StoreInventoryModels.CreateStoreItemRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.CreateStoreItemOperationResponse {
|
|
61
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.CreateStoreItemOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.CreateStoreItemOperationResponse.self)
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// MARK: - setRemoveStatus
|
|
65
|
-
public func setRemoveStatus(requestData: StoreInventoryModels.SetRemoveStatusRequestData, onResponse: Action1<StoreInventoryResponseModels.SetRemoveStatusOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
66
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.SetRemoveStatusOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.SetRemoveStatusOperationResponse.self)
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
public func setRemoveStatusAsync(requestData: StoreInventoryModels.SetRemoveStatusRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.SetRemoveStatusOperationResponse {
|
|
70
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.SetRemoveStatusOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.SetRemoveStatusOperationResponse.self)
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// MARK: - setStoreItemInformation
|
|
74
|
-
public func setStoreItemInformation(requestData: StoreInventoryModels.SetStoreItemInformationRequestData, onResponse: Action1<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
75
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.SetStoreItemInformationOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.SetStoreItemInformationOperationResponse.self)
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
public func setStoreItemInformationAsync(requestData: StoreInventoryModels.SetStoreItemInformationRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.SetStoreItemInformationOperationResponse {
|
|
79
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.SetStoreItemInformationOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.SetStoreItemInformationOperationResponse.self)
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// MARK: - validateFacebookStoreReceipt
|
|
83
|
-
public func validateFacebookStoreReceipt(requestData: StoreInventoryModels.ValidateFacebookStoreReceiptRequestData, onResponse: Action1<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
84
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ValidateFacebookStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse.self)
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
public func validateFacebookStoreReceiptAsync(requestData: StoreInventoryModels.ValidateFacebookStoreReceiptRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse {
|
|
88
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ValidateFacebookStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse.self)
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
// MARK: - getCreateLeaderboard
|
|
92
|
-
public func getCreateLeaderboard(requestData: StoreInventoryModels.GetCreateLeaderboardRequestData, onResponse: Action1<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
93
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.GetCreateLeaderboardOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse.self)
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
public func getCreateLeaderboardAsync(requestData: StoreInventoryModels.GetCreateLeaderboardRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse {
|
|
97
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.GetCreateLeaderboardOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse.self)
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// MARK: - presentStoreItem
|
|
101
|
-
public func presentStoreItem(requestData: StoreInventoryModels.PresentStoreItemRequestData, onResponse: Action1<StoreInventoryResponseModels.PresentStoreItemOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
102
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.PresentStoreItemOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.PresentStoreItemOperationResponse.self)
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
public func presentStoreItemAsync(requestData: StoreInventoryModels.PresentStoreItemRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.PresentStoreItemOperationResponse {
|
|
106
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.PresentStoreItemOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.PresentStoreItemOperationResponse.self)
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// MARK: - getStoreLog
|
|
110
|
-
public func getStoreLog(requestData: StoreInventoryModels.GetStoreLogRequestData, onResponse: Action1<StoreInventoryResponseModels.GetStoreLogOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
111
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.GetStoreLogOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreLogOperationResponse.self)
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
public func getStoreLogAsync(requestData: StoreInventoryModels.GetStoreLogRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetStoreLogOperationResponse {
|
|
115
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.GetStoreLogOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreLogOperationResponse.self)
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
// MARK: - getStoreUsed
|
|
119
|
-
public func getStoreUsed(requestData: StoreInventoryModels.GetStoreUsedRequestData, onResponse: Action1<StoreInventoryResponseModels.GetStoreUsedOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
120
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.GetStoreUsedOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreUsedOperationResponse.self)
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
public func getStoreUsedAsync(requestData: StoreInventoryModels.GetStoreUsedRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetStoreUsedOperationResponse {
|
|
124
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.GetStoreUsedOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreUsedOperationResponse.self)
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
// MARK: - removeStoreUsed
|
|
128
|
-
public func removeStoreUsed(requestData: StoreInventoryModels.RemoveStoreUsedRequestData, onResponse: Action1<StoreInventoryResponseModels.RemoveStoreUsedOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
129
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.RemoveStoreUsedOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.RemoveStoreUsedOperationResponse.self)
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
public func removeStoreUsedAsync(requestData: StoreInventoryModels.RemoveStoreUsedRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.RemoveStoreUsedOperationResponse {
|
|
133
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.RemoveStoreUsedOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.RemoveStoreUsedOperationResponse.self)
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
// MARK: - ServerStoreInventoryApi
|
|
138
|
-
public class ServerStoreInventoryApi {
|
|
139
|
-
public init() {}
|
|
140
|
-
|
|
141
|
-
// MARK: - buyStoreItem
|
|
142
|
-
public func buyStoreItem(requestData: StoreInventoryModels.ServerBuyStoreItemRequestData, onResponse: Action1<StoreInventoryResponseModels.BuyStoreItemOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
143
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerBuyStoreItemOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.BuyStoreItemOperationResponse.self)
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
public func buyStoreItemAsync(requestData: StoreInventoryModels.ServerBuyStoreItemRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.BuyStoreItemOperationResponse {
|
|
147
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerBuyStoreItemOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.BuyStoreItemOperationResponse.self)
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
// MARK: - createStoreItem
|
|
151
|
-
public func createStoreItem(requestData: StoreInventoryModels.ServerCreateStoreItemRequestData, onResponse: Action1<StoreInventoryResponseModels.CreateStoreItemOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
152
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerCreateStoreItemOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.CreateStoreItemOperationResponse.self)
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
public func createStoreItemAsync(requestData: StoreInventoryModels.ServerCreateStoreItemRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.CreateStoreItemOperationResponse {
|
|
156
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerCreateStoreItemOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.CreateStoreItemOperationResponse.self)
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
// MARK: - getStoreItemInformation
|
|
160
|
-
public func getStoreItemInformation(requestData: StoreInventoryModels.ServerGetStoreItemInformationRequestData, onResponse: Action1<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
161
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerGetStoreItemInformationOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreItemInformationOperationResponse.self)
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
public func getStoreItemInformationAsync(requestData: StoreInventoryModels.ServerGetStoreItemInformationRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetStoreItemInformationOperationResponse {
|
|
165
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerGetStoreItemInformationOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreItemInformationOperationResponse.self)
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
// MARK: - setRemoveStatus
|
|
169
|
-
public func setRemoveStatus(requestData: StoreInventoryModels.ServerSetRemoveStatusRequestData, onResponse: Action1<StoreInventoryResponseModels.SetRemoveStatusOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
170
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerSetRemoveStatusOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.SetRemoveStatusOperationResponse.self)
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
public func setRemoveStatusAsync(requestData: StoreInventoryModels.ServerSetRemoveStatusRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.SetRemoveStatusOperationResponse {
|
|
174
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerSetRemoveStatusOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.SetRemoveStatusOperationResponse.self)
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
// MARK: - getStoreItemsWithTag
|
|
178
|
-
public func getStoreItemsWithTag(requestData: StoreInventoryModels.ServerGetStoreItemsWithTagRequestData, onResponse: Action1<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
179
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerGetStoreItemsWithTagOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse.self)
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
public func getStoreItemsWithTagAsync(requestData: StoreInventoryModels.ServerGetStoreItemsWithTagRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse {
|
|
183
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerGetStoreItemsWithTagOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse.self)
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
// MARK: - setStoreItemInformation
|
|
187
|
-
public func setStoreItemInformation(requestData: StoreInventoryModels.ServerSetStoreItemInformationRequestData, onResponse: Action1<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
188
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerSetStoreItemInformationOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.SetStoreItemInformationOperationResponse.self)
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
public func setStoreItemInformationAsync(requestData: StoreInventoryModels.ServerSetStoreItemInformationRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.SetStoreItemInformationOperationResponse {
|
|
192
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerSetStoreItemInformationOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.SetStoreItemInformationOperationResponse.self)
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
// MARK: - validateAppleAppStoreReceipt
|
|
196
|
-
public func validateAppleAppStoreReceipt(requestData: StoreInventoryModels.ServerValidateAppleAppStoreReceiptRequestData, onResponse: Action1<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
197
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerValidateAppleAppStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse.self)
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
public func validateAppleAppStoreReceiptAsync(requestData: StoreInventoryModels.ServerValidateAppleAppStoreReceiptRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse {
|
|
201
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerValidateAppleAppStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse.self)
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
// MARK: - validateFacebookStoreReceipt
|
|
205
|
-
public func validateFacebookStoreReceipt(requestData: StoreInventoryModels.ServerValidateFacebookStoreReceiptRequestData, onResponse: Action1<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
206
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerValidateFacebookStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse.self)
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
public func validateFacebookStoreReceiptAsync(requestData: StoreInventoryModels.ServerValidateFacebookStoreReceiptRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse {
|
|
210
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerValidateFacebookStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse.self)
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
// MARK: - validateGooglePlayStoreReceipt
|
|
214
|
-
public func validateGooglePlayStoreReceipt(requestData: StoreInventoryModels.ServerValidateGooglePlayStoreReceiptRequestData, onResponse: Action1<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
215
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerValidateGooglePlayStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse.self)
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
public func validateGooglePlayStoreReceiptAsync(requestData: StoreInventoryModels.ServerValidateGooglePlayStoreReceiptRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse {
|
|
219
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerValidateGooglePlayStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse.self)
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
// MARK: - getCreateLeaderboard
|
|
223
|
-
public func getCreateLeaderboard(requestData: StoreInventoryModels.ServerGetCreateLeaderboardRequestData, onResponse: Action1<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
224
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerGetCreateLeaderboardOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse.self)
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
public func getCreateLeaderboardAsync(requestData: StoreInventoryModels.ServerGetCreateLeaderboardRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse {
|
|
228
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerGetCreateLeaderboardOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse.self)
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
// MARK: - presentStoreItem
|
|
232
|
-
public func presentStoreItem(requestData: StoreInventoryModels.ServerPresentStoreItemRequestData, onResponse: Action1<StoreInventoryResponseModels.PresentStoreItemOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
233
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerPresentStoreItemOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.PresentStoreItemOperationResponse.self)
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
public func presentStoreItemAsync(requestData: StoreInventoryModels.ServerPresentStoreItemRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.PresentStoreItemOperationResponse {
|
|
237
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerPresentStoreItemOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.PresentStoreItemOperationResponse.self)
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
// MARK: - getStoreLog
|
|
241
|
-
public func getStoreLog(requestData: StoreInventoryModels.ServerGetStoreLogRequestData, onResponse: Action1<StoreInventoryResponseModels.GetStoreLogOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
242
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerGetStoreLogOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreLogOperationResponse.self)
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
public func getStoreLogAsync(requestData: StoreInventoryModels.ServerGetStoreLogRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetStoreLogOperationResponse {
|
|
246
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerGetStoreLogOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreLogOperationResponse.self)
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
// MARK: - getStoreUsed
|
|
250
|
-
public func getStoreUsed(requestData: StoreInventoryModels.ServerGetStoreUsedRequestData, onResponse: Action1<StoreInventoryResponseModels.GetStoreUsedOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
251
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerGetStoreUsedOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreUsedOperationResponse.self)
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
public func getStoreUsedAsync(requestData: StoreInventoryModels.ServerGetStoreUsedRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetStoreUsedOperationResponse {
|
|
255
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerGetStoreUsedOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreUsedOperationResponse.self)
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
// MARK: - removeStoreUsed
|
|
259
|
-
public func removeStoreUsed(requestData: StoreInventoryModels.ServerRemoveStoreUsedRequestData, onResponse: Action1<StoreInventoryResponseModels.RemoveStoreUsedOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
260
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.ServerRemoveStoreUsedOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.RemoveStoreUsedOperationResponse.self)
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
public func removeStoreUsedAsync(requestData: StoreInventoryModels.ServerRemoveStoreUsedRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.RemoveStoreUsedOperationResponse {
|
|
264
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.ServerRemoveStoreUsedOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.RemoveStoreUsedOperationResponse.self)
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
// MARK: - AdminStoreInventoryApi
|
|
269
|
-
public class AdminStoreInventoryApi {
|
|
270
|
-
public init() {}
|
|
271
|
-
|
|
272
|
-
// MARK: - buyStoreItem
|
|
273
|
-
public func buyStoreItem(requestData: StoreInventoryModels.AdminBuyStoreItemRequestData, onResponse: Action1<StoreInventoryResponseModels.BuyStoreItemOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
274
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminBuyStoreItemOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.BuyStoreItemOperationResponse.self)
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
public func buyStoreItemAsync(requestData: StoreInventoryModels.AdminBuyStoreItemRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.BuyStoreItemOperationResponse {
|
|
278
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminBuyStoreItemOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.BuyStoreItemOperationResponse.self)
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
// MARK: - getStoreItemInformation
|
|
282
|
-
public func getStoreItemInformation(requestData: StoreInventoryModels.AdminGetStoreItemInformationRequestData, onResponse: Action1<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
283
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminGetStoreItemInformationOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreItemInformationOperationResponse.self)
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
public func getStoreItemInformationAsync(requestData: StoreInventoryModels.AdminGetStoreItemInformationRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetStoreItemInformationOperationResponse {
|
|
287
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminGetStoreItemInformationOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreItemInformationOperationResponse.self)
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
// MARK: - getStoreItemsWithTag
|
|
291
|
-
public func getStoreItemsWithTag(requestData: StoreInventoryModels.AdminGetStoreItemsWithTagRequestData, onResponse: Action1<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
292
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminGetStoreItemsWithTagOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse.self)
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
public func getStoreItemsWithTagAsync(requestData: StoreInventoryModels.AdminGetStoreItemsWithTagRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse {
|
|
296
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminGetStoreItemsWithTagOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse.self)
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
// MARK: - createStoreItem
|
|
300
|
-
public func createStoreItem(requestData: StoreInventoryModels.AdminCreateStoreItemRequestData, onResponse: Action1<StoreInventoryResponseModels.CreateStoreItemOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
301
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminCreateStoreItemOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.CreateStoreItemOperationResponse.self)
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
public func createStoreItemAsync(requestData: StoreInventoryModels.AdminCreateStoreItemRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.CreateStoreItemOperationResponse {
|
|
305
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminCreateStoreItemOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.CreateStoreItemOperationResponse.self)
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
// MARK: - setRemoveStatus
|
|
309
|
-
public func setRemoveStatus(requestData: StoreInventoryModels.AdminSetRemoveStatusRequestData, onResponse: Action1<StoreInventoryResponseModels.SetRemoveStatusOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
310
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminSetRemoveStatusOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.SetRemoveStatusOperationResponse.self)
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
public func setRemoveStatusAsync(requestData: StoreInventoryModels.AdminSetRemoveStatusRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.SetRemoveStatusOperationResponse {
|
|
314
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminSetRemoveStatusOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.SetRemoveStatusOperationResponse.self)
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
// MARK: - setStoreItemInformation
|
|
318
|
-
public func setStoreItemInformation(requestData: StoreInventoryModels.AdminSetStoreItemInformationRequestData, onResponse: Action1<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
319
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminSetStoreItemInformationOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.SetStoreItemInformationOperationResponse.self)
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
public func setStoreItemInformationAsync(requestData: StoreInventoryModels.AdminSetStoreItemInformationRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.SetStoreItemInformationOperationResponse {
|
|
323
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminSetStoreItemInformationOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.SetStoreItemInformationOperationResponse.self)
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
// MARK: - validateAppleAppStoreReceipt
|
|
327
|
-
public func validateAppleAppStoreReceipt(requestData: StoreInventoryModels.AdminValidateAppleAppStoreReceiptRequestData, onResponse: Action1<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
328
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminValidateAppleAppStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse.self)
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
public func validateAppleAppStoreReceiptAsync(requestData: StoreInventoryModels.AdminValidateAppleAppStoreReceiptRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse {
|
|
332
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminValidateAppleAppStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse.self)
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
// MARK: - validateFacebookStoreReceipt
|
|
336
|
-
public func validateFacebookStoreReceipt(requestData: StoreInventoryModels.AdminValidateFacebookStoreReceiptRequestData, onResponse: Action1<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
337
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminValidateFacebookStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse.self)
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
public func validateFacebookStoreReceiptAsync(requestData: StoreInventoryModels.AdminValidateFacebookStoreReceiptRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse {
|
|
341
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminValidateFacebookStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse.self)
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
// MARK: - validateGooglePlayStoreReceipt
|
|
345
|
-
public func validateGooglePlayStoreReceipt(requestData: StoreInventoryModels.AdminValidateGooglePlayStoreReceiptRequestData, onResponse: Action1<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
346
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminValidateGooglePlayStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse.self)
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
public func validateGooglePlayStoreReceiptAsync(requestData: StoreInventoryModels.AdminValidateGooglePlayStoreReceiptRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse {
|
|
350
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminValidateGooglePlayStoreReceiptOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse.self)
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
// MARK: - getCreateLeaderboard
|
|
354
|
-
public func getCreateLeaderboard(requestData: StoreInventoryModels.AdminGetCreateLeaderboardRequestData, onResponse: Action1<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
355
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminGetCreateLeaderboardOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse.self)
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
public func getCreateLeaderboardAsync(requestData: StoreInventoryModels.AdminGetCreateLeaderboardRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse {
|
|
359
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminGetCreateLeaderboardOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse.self)
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
// MARK: - presentStoreItem
|
|
363
|
-
public func presentStoreItem(requestData: StoreInventoryModels.AdminPresentStoreItemRequestData, onResponse: Action1<StoreInventoryResponseModels.PresentStoreItemOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
364
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminPresentStoreItemOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.PresentStoreItemOperationResponse.self)
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
public func presentStoreItemAsync(requestData: StoreInventoryModels.AdminPresentStoreItemRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.PresentStoreItemOperationResponse {
|
|
368
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminPresentStoreItemOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.PresentStoreItemOperationResponse.self)
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
// MARK: - getStoreLog
|
|
372
|
-
public func getStoreLog(requestData: StoreInventoryModels.AdminGetStoreLogRequestData, onResponse: Action1<StoreInventoryResponseModels.GetStoreLogOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
373
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminGetStoreLogOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreLogOperationResponse.self)
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
public func getStoreLogAsync(requestData: StoreInventoryModels.AdminGetStoreLogRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetStoreLogOperationResponse {
|
|
377
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminGetStoreLogOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreLogOperationResponse.self)
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
// MARK: - getStoreUsed
|
|
381
|
-
public func getStoreUsed(requestData: StoreInventoryModels.AdminGetStoreUsedRequestData, onResponse: Action1<StoreInventoryResponseModels.GetStoreUsedOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
382
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminGetStoreUsedOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreUsedOperationResponse.self)
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
public func getStoreUsedAsync(requestData: StoreInventoryModels.AdminGetStoreUsedRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.GetStoreUsedOperationResponse {
|
|
386
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminGetStoreUsedOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.GetStoreUsedOperationResponse.self)
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
// MARK: - removeStoreUsed
|
|
390
|
-
public func removeStoreUsed(requestData: StoreInventoryModels.AdminRemoveStoreUsedRequestData, onResponse: Action1<StoreInventoryResponseModels.RemoveStoreUsedOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
391
|
-
GNNetwork.sendViaHttpTRequestTResponse(request: StoreInventoryRequestModels.AdminRemoveStoreUsedOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.RemoveStoreUsedOperationResponse.self)
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
public func removeStoreUsedAsync(requestData: StoreInventoryModels.AdminRemoveStoreUsedRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> StoreInventoryResponseModels.RemoveStoreUsedOperationResponse {
|
|
395
|
-
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: StoreInventoryRequestModels.AdminRemoveStoreUsedOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: StoreInventoryResponseModels.RemoveStoreUsedOperationResponse.self)
|
|
396
|
-
}
|
|
397
|
-
}
|