@xmobitea/gn-typescript-client 2.3.3 → 2.4.1-esnext
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/index.js +320 -35529
- package/dist/runtime/GNNetwork.d.ts +1 -0
- package/dist/runtime/GNNetwork.js +241 -0
- package/dist/runtime/GNNetworkAuthenticateApi.js +167 -0
- package/dist/runtime/GNNetworkCharacterPlayerApi.js +1271 -0
- package/dist/runtime/GNNetworkCloudScriptApi.js +143 -0
- package/dist/runtime/GNNetworkContentApi.js +191 -0
- package/dist/runtime/GNNetworkDashboardApi.js +223 -0
- package/dist/runtime/GNNetworkGamePlayerApi.js +1247 -0
- package/dist/runtime/GNNetworkGroupApi.js +983 -0
- package/dist/runtime/GNNetworkInventoryApi.js +839 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.js +2071 -0
- package/dist/runtime/GNNetworkMultiplayerApi.js +263 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.js +311 -0
- package/dist/runtime/common/Action0.js +1 -0
- package/dist/runtime/common/Action1.js +1 -0
- package/dist/runtime/common/Action2.js +1 -0
- package/dist/runtime/common/Action3.js +1 -0
- package/dist/runtime/common/Action4.js +1 -0
- package/dist/runtime/common/GNData.js +211 -0
- package/dist/runtime/config/GNServerSettings.js +127 -0
- package/dist/runtime/constant/Commands.js +19 -0
- package/dist/runtime/constant/EventCode.js +8 -0
- package/dist/runtime/constant/OperationCode.js +218 -0
- package/dist/runtime/constant/ReturnCode.js +14 -0
- package/dist/runtime/constant/enumType/FriendStatus.js +7 -0
- package/dist/runtime/constant/enumType/GoogleLoginType.js +5 -0
- package/dist/runtime/constant/enumType/GroupStatus.js +7 -0
- package/dist/runtime/constant/enumType/InvalidMemberType.js +18 -0
- package/dist/runtime/constant/enumType/ItemType.js +5 -0
- package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +6 -0
- package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +8 -0
- package/dist/runtime/constant/enumType/OwnerType.js +8 -0
- package/dist/runtime/constant/enumType/PermissionDataItem.js +5 -0
- package/dist/runtime/constant/enumType/PushPlatformType.js +5 -0
- package/dist/runtime/constant/enumType/RequestRole.js +6 -0
- package/dist/runtime/constant/enumType/RequestType.js +15 -0
- package/dist/runtime/constant/enumType/StoreReceiveType.js +8 -0
- package/dist/runtime/constant/errorCode/GNErrorCode.js +50 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.js +565 -0
- package/dist/runtime/constant/parameterCode/ParameterCode.js +6 -0
- package/dist/runtime/entity/DataMember.js +208 -0
- package/dist/runtime/entity/GNMetadata.js +11 -0
- package/dist/runtime/entity/InvalidMember.js +1 -0
- package/dist/runtime/entity/OperationEvent.js +32 -0
- package/dist/runtime/entity/OperationHelper.js +23 -0
- package/dist/runtime/entity/OperationRequest.js +50 -0
- package/dist/runtime/entity/OperationResponse.js +81 -0
- package/dist/runtime/entity/models/AuthenticateModels.js +420 -0
- package/dist/runtime/entity/models/AuthenticateRequestModels.js +206 -0
- package/dist/runtime/entity/models/AuthenticateResponseModels.js +131 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.js +1377 -0
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +1412 -0
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +369 -0
- package/dist/runtime/entity/models/CloudScriptModels.js +197 -0
- package/dist/runtime/entity/models/CloudScriptRequestModels.js +143 -0
- package/dist/runtime/entity/models/CloudScriptResponseModels.js +40 -0
- package/dist/runtime/entity/models/ContentModels.js +211 -0
- package/dist/runtime/entity/models/ContentRequestModels.js +197 -0
- package/dist/runtime/entity/models/ContentResponseModels.js +54 -0
- package/dist/runtime/entity/models/DashboardModels.js +2759 -0
- package/dist/runtime/entity/models/DashboardRequestModels.js +283 -0
- package/dist/runtime/entity/models/DashboardResponseModels.js +180 -0
- package/dist/runtime/entity/models/GamePlayerModels.js +1543 -0
- package/dist/runtime/entity/models/GamePlayerRequestModels.js +1385 -0
- package/dist/runtime/entity/models/GamePlayerResponseModels.js +362 -0
- package/dist/runtime/entity/models/GenericModels.js +177 -0
- package/dist/runtime/entity/models/GroupModels.js +1123 -0
- package/dist/runtime/entity/models/GroupRequestModels.js +1088 -0
- package/dist/runtime/entity/models/GroupResponseModels.js +285 -0
- package/dist/runtime/entity/models/InventoryModels.js +903 -0
- package/dist/runtime/entity/models/InventoryRequestModels.js +926 -0
- package/dist/runtime/entity/models/InventoryResponseModels.js +243 -0
- package/dist/runtime/entity/models/MasterPlayerModels.js +2566 -0
- package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2314 -0
- package/dist/runtime/entity/models/MasterPlayerResponseModels.js +607 -0
- package/dist/runtime/entity/models/MultiplayerModels.js +404 -0
- package/dist/runtime/entity/models/MultiplayerRequestModels.js +278 -0
- package/dist/runtime/entity/models/MultiplayerResponseModels.js +75 -0
- package/dist/runtime/entity/models/StoreInventoryModels.js +733 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.js +332 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.js +89 -0
- package/dist/runtime/entity/request/CustomOperationRequest.js +24 -0
- package/dist/runtime/entity/response/CustomOperationResponse.js +29 -0
- package/dist/runtime/helper/CodeHelper.js +61 -0
- package/dist/runtime/helper/ConverterService.js +275 -0
- package/dist/runtime/helper/GNSupport.js +8 -0
- package/dist/runtime/logger/GNDebug.js +29 -0
- package/dist/runtime/networking/AuthenticateStatus.js +14 -0
- package/dist/runtime/networking/IPeer.js +1 -0
- package/dist/runtime/networking/NetworkingPeer.js +129 -0
- package/dist/runtime/networking/OperationPending.js +53 -0
- package/dist/runtime/networking/PeerBase.js +168 -0
- package/dist/runtime/networking/handler/IServerEventHandler.js +13 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +35 -0
- package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +35 -0
- package/dist/runtime/networking/http/HttpPeer.js +121 -0
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +6 -0
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +146 -0
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +126 -0
- package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +176 -0
- package/dist/runtime/networking/socket/SocketPeer.js +105 -0
- package/dist/runtime/typescript/ServiceUpdate.js +12 -0
- package/package.json +1 -1
- package/dist/gn.js.client.js +0 -48240
- package/dist/gn.js.client.min.js +0 -2
- package/dist/gn.js.client.min.js.LICENSE.txt +0 -14
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { GNNetwork } from "./GNNetwork";
|
|
11
|
+
import { OperationRequest } from "./entity/OperationRequest";
|
|
12
|
+
import { MultiplayerRequestModels } from "./entity/models/MultiplayerRequestModels";
|
|
13
|
+
import { MultiplayerResponseModels } from "./entity/models/MultiplayerResponseModels";
|
|
14
|
+
export class MultiplayerApi {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.server = new ServerMultiplayerApi();
|
|
17
|
+
this.admin = new AdminMultiplayerApi();
|
|
18
|
+
}
|
|
19
|
+
cancelAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
20
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
|
|
21
|
+
}
|
|
22
|
+
cancelAllMatchmakingTicketAsync(requestData_1) {
|
|
23
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
24
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
cancelMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
28
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
|
|
29
|
+
}
|
|
30
|
+
cancelMatchmakingTicketAsync(requestData_1) {
|
|
31
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
32
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
createMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
36
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
|
|
37
|
+
}
|
|
38
|
+
createMatchmakingTicketAsync(requestData_1) {
|
|
39
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
40
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
getMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
44
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
|
|
45
|
+
}
|
|
46
|
+
getMatchmakingTicketAsync(requestData_1) {
|
|
47
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
48
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
getMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
52
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
|
|
53
|
+
}
|
|
54
|
+
getMatchAsync(requestData_1) {
|
|
55
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
56
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
getQueueStatistics(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
60
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
|
|
61
|
+
}
|
|
62
|
+
getQueueStatisticsAsync(requestData_1) {
|
|
63
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
64
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetQueueStatisticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
joinMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
68
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
|
|
69
|
+
}
|
|
70
|
+
joinMatchmakingTicketAsync(requestData_1) {
|
|
71
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
72
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
listMatchmakingTicketsForPlayer(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
76
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
|
|
77
|
+
}
|
|
78
|
+
listMatchmakingTicketsForPlayerAsync(requestData_1) {
|
|
79
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
80
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
getAllMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
84
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetAllMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
|
|
85
|
+
}
|
|
86
|
+
getAllMatchAsync(requestData_1) {
|
|
87
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
88
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetAllMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
getAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
92
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
|
|
93
|
+
}
|
|
94
|
+
getAllMatchmakingTicketAsync(requestData_1) {
|
|
95
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
96
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export class ServerMultiplayerApi {
|
|
101
|
+
cancelAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
102
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
|
|
103
|
+
}
|
|
104
|
+
cancelAllMatchmakingTicketAsync(requestData_1) {
|
|
105
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
106
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
cancelMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
110
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
|
|
111
|
+
}
|
|
112
|
+
cancelMatchmakingTicketAsync(requestData_1) {
|
|
113
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
114
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
createMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
118
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
|
|
119
|
+
}
|
|
120
|
+
createMatchmakingTicketAsync(requestData_1) {
|
|
121
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
122
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
getMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
126
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
|
|
127
|
+
}
|
|
128
|
+
getMatchmakingTicketAsync(requestData_1) {
|
|
129
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
130
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
getMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
134
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
|
|
135
|
+
}
|
|
136
|
+
getMatchAsync(requestData_1) {
|
|
137
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
138
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
getQueueStatistics(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
142
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
|
|
143
|
+
}
|
|
144
|
+
getQueueStatisticsAsync(requestData_1) {
|
|
145
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
146
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
joinMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
150
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
|
|
151
|
+
}
|
|
152
|
+
joinMatchmakingTicketAsync(requestData_1) {
|
|
153
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
154
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
listMatchmakingTicketsForPlayer(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
158
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
|
|
159
|
+
}
|
|
160
|
+
listMatchmakingTicketsForPlayerAsync(requestData_1) {
|
|
161
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
162
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
getAllMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
166
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetAllMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
|
|
167
|
+
}
|
|
168
|
+
getAllMatchAsync(requestData_1) {
|
|
169
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
170
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetAllMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
getAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
174
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
|
|
175
|
+
}
|
|
176
|
+
getAllMatchmakingTicketAsync(requestData_1) {
|
|
177
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
178
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
export class AdminMultiplayerApi {
|
|
183
|
+
cancelAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
184
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
|
|
185
|
+
}
|
|
186
|
+
cancelAllMatchmakingTicketAsync(requestData_1) {
|
|
187
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
188
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
cancelMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
192
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
|
|
193
|
+
}
|
|
194
|
+
cancelMatchmakingTicketAsync(requestData_1) {
|
|
195
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
196
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
createMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
200
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
|
|
201
|
+
}
|
|
202
|
+
createMatchmakingTicketAsync(requestData_1) {
|
|
203
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
204
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
getMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
208
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
|
|
209
|
+
}
|
|
210
|
+
getMatchmakingTicketAsync(requestData_1) {
|
|
211
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
212
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
getMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
216
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
|
|
217
|
+
}
|
|
218
|
+
getMatchAsync(requestData_1) {
|
|
219
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
220
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
getQueueStatistics(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
224
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
|
|
225
|
+
}
|
|
226
|
+
getQueueStatisticsAsync(requestData_1) {
|
|
227
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
228
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
joinMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
232
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
|
|
233
|
+
}
|
|
234
|
+
joinMatchmakingTicketAsync(requestData_1) {
|
|
235
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
236
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
listMatchmakingTicketsForPlayer(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
240
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
|
|
241
|
+
}
|
|
242
|
+
listMatchmakingTicketsForPlayerAsync(requestData_1) {
|
|
243
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
244
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
getAllMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
248
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetAllMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
|
|
249
|
+
}
|
|
250
|
+
getAllMatchAsync(requestData_1) {
|
|
251
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
252
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetAllMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
getAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
256
|
+
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
|
|
257
|
+
}
|
|
258
|
+
getAllMatchmakingTicketAsync(requestData_1) {
|
|
259
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
260
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
}
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { GNNetwork } from "./GNNetwork";
|
|
11
|
+
import { OperationRequest } from "./entity/OperationRequest";
|
|
12
|
+
import { StoreInventoryRequestModels } from "./entity/models/StoreInventoryRequestModels";
|
|
13
|
+
import { StoreInventoryResponseModels } from "./entity/models/StoreInventoryResponseModels";
|
|
14
|
+
export class StoreInventoryApi {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.server = new ServerStoreInventoryApi();
|
|
17
|
+
this.admin = new AdminStoreInventoryApi();
|
|
18
|
+
}
|
|
19
|
+
buyStoreItem(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
20
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.BuyStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.BuyStoreItemOperationResponse);
|
|
21
|
+
}
|
|
22
|
+
buyStoreItemAsync(requestData_1) {
|
|
23
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
24
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.BuyStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.BuyStoreItemOperationResponse);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
getStoreItemInformation(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
28
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.GetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreItemInformationOperationResponse);
|
|
29
|
+
}
|
|
30
|
+
getStoreItemInformationAsync(requestData_1) {
|
|
31
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
32
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.GetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreItemInformationOperationResponse);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
getStoreItemsWithTag(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
36
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.GetStoreItemsWithTagOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse);
|
|
37
|
+
}
|
|
38
|
+
getStoreItemsWithTagAsync(requestData_1) {
|
|
39
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
40
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.GetStoreItemsWithTagOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
grantStoreItem(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
44
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.GrantStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GrantStoreItemOperationResponse);
|
|
45
|
+
}
|
|
46
|
+
grantStoreItemAsync(requestData_1) {
|
|
47
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
48
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.GrantStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GrantStoreItemOperationResponse);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
setRemoveStatus(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
52
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.SetRemoveStatusOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.SetRemoveStatusOperationResponse);
|
|
53
|
+
}
|
|
54
|
+
setRemoveStatusAsync(requestData_1) {
|
|
55
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
56
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.SetRemoveStatusOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.SetRemoveStatusOperationResponse);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
setStoreItemInformation(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
60
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.SetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.SetStoreItemInformationOperationResponse);
|
|
61
|
+
}
|
|
62
|
+
setStoreItemInformationAsync(requestData_1) {
|
|
63
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
64
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.SetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.SetStoreItemInformationOperationResponse);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
validateAppleAppStoreReceipt(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
68
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse);
|
|
69
|
+
}
|
|
70
|
+
validateAppleAppStoreReceiptAsync(requestData_1) {
|
|
71
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
72
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse);
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
validateFacebookStoreReceipt(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
76
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ValidateFacebookStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse);
|
|
77
|
+
}
|
|
78
|
+
validateFacebookStoreReceiptAsync(requestData_1) {
|
|
79
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
80
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ValidateFacebookStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse);
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
validateGooglePlayStoreReceipt(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
84
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse);
|
|
85
|
+
}
|
|
86
|
+
validateGooglePlayStoreReceiptAsync(requestData_1) {
|
|
87
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
88
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse);
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
getCreateLeaderboard(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
92
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.GetCreateLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse);
|
|
93
|
+
}
|
|
94
|
+
getCreateLeaderboardAsync(requestData_1) {
|
|
95
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
96
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.GetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse);
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
presentStoreItem(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
100
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.PresentStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.PresentStoreItemOperationResponse);
|
|
101
|
+
}
|
|
102
|
+
presentStoreItemAsync(requestData_1) {
|
|
103
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
104
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.PresentStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.PresentStoreItemOperationResponse);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
getStoreLog(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
108
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.GetStoreLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreLogOperationResponse);
|
|
109
|
+
}
|
|
110
|
+
getStoreLogAsync(requestData_1) {
|
|
111
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
112
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.GetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreLogOperationResponse);
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
export class ServerStoreInventoryApi {
|
|
117
|
+
buyStoreItem(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
118
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerBuyStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.BuyStoreItemOperationResponse);
|
|
119
|
+
}
|
|
120
|
+
buyStoreItemAsync(requestData_1) {
|
|
121
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
122
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerBuyStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.BuyStoreItemOperationResponse);
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
getStoreItemInformation(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
126
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerGetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreItemInformationOperationResponse);
|
|
127
|
+
}
|
|
128
|
+
getStoreItemInformationAsync(requestData_1) {
|
|
129
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
130
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerGetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreItemInformationOperationResponse);
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
getStoreItemsWithTag(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
134
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerGetStoreItemsWithTagOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse);
|
|
135
|
+
}
|
|
136
|
+
getStoreItemsWithTagAsync(requestData_1) {
|
|
137
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
138
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerGetStoreItemsWithTagOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse);
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
grantStoreItem(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
142
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerGrantStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GrantStoreItemOperationResponse);
|
|
143
|
+
}
|
|
144
|
+
grantStoreItemAsync(requestData_1) {
|
|
145
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
146
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerGrantStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GrantStoreItemOperationResponse);
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
setRemoveStatus(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
150
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerSetRemoveStatusOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.SetRemoveStatusOperationResponse);
|
|
151
|
+
}
|
|
152
|
+
setRemoveStatusAsync(requestData_1) {
|
|
153
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
154
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerSetRemoveStatusOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.SetRemoveStatusOperationResponse);
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
setStoreItemInformation(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
158
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerSetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.SetStoreItemInformationOperationResponse);
|
|
159
|
+
}
|
|
160
|
+
setStoreItemInformationAsync(requestData_1) {
|
|
161
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
162
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerSetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.SetStoreItemInformationOperationResponse);
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
validateAppleAppStoreReceipt(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
166
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse);
|
|
167
|
+
}
|
|
168
|
+
validateAppleAppStoreReceiptAsync(requestData_1) {
|
|
169
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
170
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse);
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
validateFacebookStoreReceipt(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
174
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerValidateFacebookStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse);
|
|
175
|
+
}
|
|
176
|
+
validateFacebookStoreReceiptAsync(requestData_1) {
|
|
177
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
178
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerValidateFacebookStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse);
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
validateGooglePlayStoreReceipt(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
182
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse);
|
|
183
|
+
}
|
|
184
|
+
validateGooglePlayStoreReceiptAsync(requestData_1) {
|
|
185
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
186
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse);
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
getCreateLeaderboard(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
190
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerGetCreateLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse);
|
|
191
|
+
}
|
|
192
|
+
getCreateLeaderboardAsync(requestData_1) {
|
|
193
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
194
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerGetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse);
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
presentStoreItem(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
198
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerPresentStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.PresentStoreItemOperationResponse);
|
|
199
|
+
}
|
|
200
|
+
presentStoreItemAsync(requestData_1) {
|
|
201
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
202
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerPresentStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.PresentStoreItemOperationResponse);
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
getStoreLog(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
206
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerGetStoreLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreLogOperationResponse);
|
|
207
|
+
}
|
|
208
|
+
getStoreLogAsync(requestData_1) {
|
|
209
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
210
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerGetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreLogOperationResponse);
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
export class AdminStoreInventoryApi {
|
|
215
|
+
buyStoreItem(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
216
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminBuyStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.BuyStoreItemOperationResponse);
|
|
217
|
+
}
|
|
218
|
+
buyStoreItemAsync(requestData_1) {
|
|
219
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
220
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminBuyStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.BuyStoreItemOperationResponse);
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
getStoreItemInformation(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
224
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminGetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreItemInformationOperationResponse);
|
|
225
|
+
}
|
|
226
|
+
getStoreItemInformationAsync(requestData_1) {
|
|
227
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
228
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminGetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreItemInformationOperationResponse);
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
getStoreItemsWithTag(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
232
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminGetStoreItemsWithTagOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse);
|
|
233
|
+
}
|
|
234
|
+
getStoreItemsWithTagAsync(requestData_1) {
|
|
235
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
236
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminGetStoreItemsWithTagOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse);
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
grantStoreItem(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
240
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminGrantStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GrantStoreItemOperationResponse);
|
|
241
|
+
}
|
|
242
|
+
grantStoreItemAsync(requestData_1) {
|
|
243
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
244
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminGrantStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GrantStoreItemOperationResponse);
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
setRemoveStatus(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
248
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminSetRemoveStatusOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.SetRemoveStatusOperationResponse);
|
|
249
|
+
}
|
|
250
|
+
setRemoveStatusAsync(requestData_1) {
|
|
251
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
252
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminSetRemoveStatusOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.SetRemoveStatusOperationResponse);
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
setStoreItemInformation(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
256
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminSetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.SetStoreItemInformationOperationResponse);
|
|
257
|
+
}
|
|
258
|
+
setStoreItemInformationAsync(requestData_1) {
|
|
259
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
260
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminSetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.SetStoreItemInformationOperationResponse);
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
validateAppleAppStoreReceipt(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
264
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse);
|
|
265
|
+
}
|
|
266
|
+
validateAppleAppStoreReceiptAsync(requestData_1) {
|
|
267
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
268
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse);
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
validateFacebookStoreReceipt(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
272
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminValidateFacebookStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse);
|
|
273
|
+
}
|
|
274
|
+
validateFacebookStoreReceiptAsync(requestData_1) {
|
|
275
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
276
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminValidateFacebookStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse);
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
validateGooglePlayStoreReceipt(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
280
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse);
|
|
281
|
+
}
|
|
282
|
+
validateGooglePlayStoreReceiptAsync(requestData_1) {
|
|
283
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
284
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse);
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
getCreateLeaderboard(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
288
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminGetCreateLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse);
|
|
289
|
+
}
|
|
290
|
+
getCreateLeaderboardAsync(requestData_1) {
|
|
291
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
292
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminGetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse);
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
presentStoreItem(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
296
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminPresentStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.PresentStoreItemOperationResponse);
|
|
297
|
+
}
|
|
298
|
+
presentStoreItemAsync(requestData_1) {
|
|
299
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
300
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminPresentStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.PresentStoreItemOperationResponse);
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
getStoreLog(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
304
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminGetStoreLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreLogOperationResponse);
|
|
305
|
+
}
|
|
306
|
+
getStoreLogAsync(requestData_1) {
|
|
307
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
308
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminGetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreLogOperationResponse);
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|