@xmobitea/gn-typescript-client 2.6.12 → 2.6.13
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/dist/gearn.js.client.js +183 -57
- package/dist/gearn.js.client.min.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +183 -57
- package/dist/runtime/GNNetwork.d.ts +1 -1
- package/dist/runtime/helper/GNSupport.d.ts +20 -0
- package/dist/runtime/{entity → helper}/OperationHelper.d.ts +1 -1
- package/dist/runtime/helper/StorageService.d.ts +18 -0
- package/dist/runtime/networking/NetworkingPeer.d.ts +1 -1
- package/dist/runtime/typescript/ServiceUpdate.d.ts +2 -0
- package/docs/COCOS_CREATOR_INTEGRATION.md +116 -0
- package/examples/cocos-creator/GearNExample.ts.txt +176 -0
- package/package.json +3 -2
- package/srcSwift/Package.swift +32 -0
- package/srcSwift/Sources/GearN/runtime/GNNetwork.swift +530 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkAuthenticateApi.swift +178 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkCharacterPlayerApi.swift +1162 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkCloudScriptApi.swift +154 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkContentApi.swift +208 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkDashboardApi.swift +240 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkGamePlayerApi.swift +1369 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkGroupApi.swift +1100 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkInventoryApi.swift +937 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkMasterPlayerApi.swift +2323 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkMultiplayerApi.swift +298 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkStoreInventoryApi.swift +397 -0
- package/srcSwift/Sources/GearN/runtime/common/Action0.swift +3 -0
- package/srcSwift/Sources/GearN/runtime/common/Action1.swift +3 -0
- package/srcSwift/Sources/GearN/runtime/common/Action2.swift +3 -0
- package/srcSwift/Sources/GearN/runtime/common/Action3.swift +3 -0
- package/srcSwift/Sources/GearN/runtime/common/Action4.swift +3 -0
- package/srcSwift/Sources/GearN/runtime/common/GNArray.swift +204 -0
- package/srcSwift/Sources/GearN/runtime/common/GNData.swift +108 -0
- package/srcSwift/Sources/GearN/runtime/common/GNHashtable.swift +200 -0
- package/srcSwift/Sources/GearN/runtime/config/GNServerSettings.swift +95 -0
- package/srcSwift/Sources/GearN/runtime/constant/Commands.swift +28 -0
- package/srcSwift/Sources/GearN/runtime/constant/EventCode.swift +10 -0
- package/srcSwift/Sources/GearN/runtime/constant/OperationCode.swift +252 -0
- package/srcSwift/Sources/GearN/runtime/constant/ReturnCode.swift +19 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/ExecuteResponseStatus.swift +9 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/FriendStatus.swift +8 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/GoogleLoginType.swift +6 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/GroupStatus.swift +8 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/InvalidMemberType.swift +19 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/ItemType.swift +6 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingMemberStatus.swift +7 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingTicketStatus.swift +9 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/OwnerType.swift +10 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/PermissionDataItem.swift +6 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/PushPlatformType.swift +6 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestRole.swift +7 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestType.swift +16 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreItemType.swift +6 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreReceiveType.swift +9 -0
- package/srcSwift/Sources/GearN/runtime/constant/errorCode/ErrorCode.swift +58 -0
- package/srcSwift/Sources/GearN/runtime/constant/parameterCode/ParameterCode.swift +672 -0
- package/srcSwift/Sources/GearN/runtime/entity/DataMember.swift +196 -0
- package/srcSwift/Sources/GearN/runtime/entity/GNMetadata.swift +9 -0
- package/srcSwift/Sources/GearN/runtime/entity/InvalidMember.swift +11 -0
- package/srcSwift/Sources/GearN/runtime/entity/OperationEvent.swift +38 -0
- package/srcSwift/Sources/GearN/runtime/entity/OperationHelper.swift +28 -0
- package/srcSwift/Sources/GearN/runtime/entity/OperationRequest.swift +62 -0
- package/srcSwift/Sources/GearN/runtime/entity/OperationResponse.swift +98 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateModels.swift +351 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateRequestModels.swift +81 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateResponseModels.swift +108 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerModels.swift +1045 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerRequestModels.swift +821 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerResponseModels.swift +588 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptModels.swift +187 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptRequestModels.swift +84 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptResponseModels.swift +59 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/ContentModels.swift +195 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/ContentRequestModels.swift +116 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/ContentResponseModels.swift +81 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/DashboardModels.swift +426 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/DashboardRequestModels.swift +160 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/DashboardResponseModels.swift +82 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerModels.swift +1334 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerRequestModels.swift +643 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerResponseModels.swift +213 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GenericModels.swift +171 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GroupModels.swift +850 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GroupRequestModels.swift +485 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GroupResponseModels.swift +165 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/InventoryModels.swift +679 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/InventoryRequestModels.swift +413 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/InventoryResponseModels.swift +141 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerModels.swift +378 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerRequestModels.swift +147 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerResponseModels.swift +318 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerModels.swift +319 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerRequestModels.swift +125 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerResponseModels.swift +45 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryModels.swift +633 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryRequestModels.swift +173 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryResponseModels.swift +61 -0
- package/srcSwift/Sources/GearN/runtime/entity/request/CustomOperationRequest.swift +42 -0
- package/srcSwift/Sources/GearN/runtime/entity/response/CustomOperationResponse.swift +49 -0
- package/srcSwift/Sources/GearN/runtime/entity/response/GetAuthInfoResponse.swift +43 -0
- package/srcSwift/Sources/GearN/runtime/entity/response/HealthCheckResponse.swift +86 -0
- package/srcSwift/Sources/GearN/runtime/entity/response/UploadFileResponse.swift +15 -0
- package/srcSwift/Sources/GearN/runtime/helper/CodeHelper.swift +107 -0
- package/srcSwift/Sources/GearN/runtime/helper/ConverterService.swift +98 -0
- package/srcSwift/Sources/GearN/runtime/helper/EnumUtility.swift +34 -0
- package/srcSwift/Sources/GearN/runtime/helper/GNSupport.swift +41 -0
- package/srcSwift/Sources/GearN/runtime/helper/GNUtils.swift +66 -0
- package/srcSwift/Sources/GearN/runtime/helper/MessagePackConverterService.swift +21 -0
- package/srcSwift/Sources/GearN/runtime/helper/StorageService.swift +29 -0
- package/srcSwift/Sources/GearN/runtime/logger/GNDebug.swift +33 -0
- package/srcSwift/Sources/GearN/runtime/networking/AuthenticateStatus.swift +24 -0
- package/srcSwift/Sources/GearN/runtime/networking/IPeer.swift +8 -0
- package/srcSwift/Sources/GearN/runtime/networking/NetworkingPeer.swift +368 -0
- package/srcSwift/Sources/GearN/runtime/networking/OperationPending.swift +81 -0
- package/srcSwift/Sources/GearN/runtime/networking/PeerBase.swift +228 -0
- package/srcSwift/Sources/GearN/runtime/networking/handler/IServerEventHandler.swift +20 -0
- package/srcSwift/Sources/GearN/runtime/networking/http/HttpPeer.swift +226 -0
- package/srcSwift/Sources/GearN/runtime/networking/http/HttpTypes.swift +24 -0
- package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingHttpPeerBase.swift +13 -0
- package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingPeerUrlSession.swift +125 -0
- package/srcSwift/Sources/GearN/runtime/networking/request/NetRequest.swift +19 -0
- package/srcSwift/Sources/GearN/runtime/networking/response/NetResponse.swift +13 -0
- package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingPeerSocketIOClient.swift +244 -0
- package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingSocketPeerBase.swift +59 -0
- package/srcSwift/Sources/GearN/runtime/networking/socket/SocketPeer.swift +136 -0
- package/tsconfig-build.cocos.json +31 -0
- package/webpack.config.cocos.mjs +78 -0
|
@@ -0,0 +1,397 @@
|
|
|
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
|
+
}
|