@xmobitea/gn-typescript-client 2.4.10 → 2.5.0
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/GNServerSettingsConfig.debug.json +1 -0
- package/dist/gn.js.client.js +319 -10
- package/dist/gn.js.client.min.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +319 -10
- package/dist/runtime/GNNetworkCharacterPlayerApi.d.ts +6 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +12 -0
- package/dist/runtime/config/GNServerSettings.d.ts +4 -0
- package/dist/runtime/constant/OperationCode.d.ts +2 -0
- package/dist/runtime/constant/enumType/StoreItemType.d.ts +4 -0
- package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +2 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +4 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +13 -0
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.d.ts +15 -0
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.d.ts +3 -0
- package/dist/runtime/entity/models/DashboardModels.d.ts +3 -0
- package/dist/runtime/entity/models/StoreInventoryModels.d.ts +26 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +30 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +6 -0
- package/package.json +1 -1
package/dist/gn.js.client.js
CHANGED
|
@@ -2968,6 +2968,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2968
2968
|
StoreInventoryModels: () => (/* reexport */ StoreInventoryModels),
|
|
2969
2969
|
StoreInventoryRequestModels: () => (/* reexport */ StoreInventoryRequestModels),
|
|
2970
2970
|
StoreInventoryResponseModels: () => (/* reexport */ StoreInventoryResponseModels),
|
|
2971
|
+
StoreItemType: () => (/* reexport */ StoreItemType),
|
|
2971
2972
|
StoreReceiveType: () => (/* reexport */ StoreReceiveType),
|
|
2972
2973
|
StringDataMember: () => (/* reexport */ StringDataMember)
|
|
2973
2974
|
});
|
|
@@ -3243,6 +3244,7 @@ class GNServerSettings {
|
|
|
3243
3244
|
constructor() {
|
|
3244
3245
|
this.serverAddress = "127.0.0.1";
|
|
3245
3246
|
this.serverPort = 2202;
|
|
3247
|
+
this.serverSocketPort = 2901;
|
|
3246
3248
|
this.useSsl = false;
|
|
3247
3249
|
this.useSocket = true;
|
|
3248
3250
|
this.useHttp = true;
|
|
@@ -3255,6 +3257,7 @@ class GNServerSettings {
|
|
|
3255
3257
|
config(options) {
|
|
3256
3258
|
this.serverAddress = options.serverAddress;
|
|
3257
3259
|
this.serverPort = options.serverPort;
|
|
3260
|
+
this.serverSocketPort = options.serverSocketPort;
|
|
3258
3261
|
this.useSsl = options.useSsl;
|
|
3259
3262
|
this.useSocket = options.useSocket;
|
|
3260
3263
|
this.useHttp = options.useHttp;
|
|
@@ -3280,6 +3283,12 @@ class GNServerSettings {
|
|
|
3280
3283
|
setServerPort(serverPort) {
|
|
3281
3284
|
this.serverPort = serverPort;
|
|
3282
3285
|
}
|
|
3286
|
+
getServerSocketPort() {
|
|
3287
|
+
return this.serverSocketPort;
|
|
3288
|
+
}
|
|
3289
|
+
setServerSocketPort(serverSocketPort) {
|
|
3290
|
+
this.serverSocketPort = serverSocketPort;
|
|
3291
|
+
}
|
|
3283
3292
|
isUseSsl() {
|
|
3284
3293
|
return this.useSsl;
|
|
3285
3294
|
}
|
|
@@ -3353,10 +3362,10 @@ class GNServerSettings {
|
|
|
3353
3362
|
this.logType = logType;
|
|
3354
3363
|
}
|
|
3355
3364
|
getSocketUrl() {
|
|
3356
|
-
if (this.
|
|
3365
|
+
if (this.serverSocketPort < 0)
|
|
3357
3366
|
return (this.useSsl ? "https" : "http") + "://" + this.serverAddress;
|
|
3358
3367
|
else
|
|
3359
|
-
return (this.useSsl ? "https" : "http") + "://" + this.serverAddress + ":" + this.
|
|
3368
|
+
return (this.useSsl ? "https" : "http") + "://" + this.serverAddress + ":" + this.serverSocketPort;
|
|
3360
3369
|
}
|
|
3361
3370
|
getHttpUrl() {
|
|
3362
3371
|
if (this.serverPort < 0)
|
|
@@ -3418,6 +3427,13 @@ var ItemType;
|
|
|
3418
3427
|
ItemType[ItemType["Stackable"] = 2] = "Stackable";
|
|
3419
3428
|
})(ItemType || (ItemType = {}));
|
|
3420
3429
|
|
|
3430
|
+
;// ./src/runtime/constant/enumType/StoreItemType.ts
|
|
3431
|
+
var StoreItemType;
|
|
3432
|
+
(function (StoreItemType) {
|
|
3433
|
+
StoreItemType[StoreItemType["NonConsumable"] = 1] = "NonConsumable";
|
|
3434
|
+
StoreItemType[StoreItemType["Consumable"] = 2] = "Consumable";
|
|
3435
|
+
})(StoreItemType || (StoreItemType = {}));
|
|
3436
|
+
|
|
3421
3437
|
;// ./src/runtime/constant/enumType/MatchmakingMemberStatus.ts
|
|
3422
3438
|
var MatchmakingMemberStatus;
|
|
3423
3439
|
(function (MatchmakingMemberStatus) {
|
|
@@ -3556,6 +3572,8 @@ GNErrorCode.TicketSizeError = 45;
|
|
|
3556
3572
|
GNErrorCode.ExecuteError = 46;
|
|
3557
3573
|
GNErrorCode.VersionInvalid = 47;
|
|
3558
3574
|
GNErrorCode.EmailInvalid = 48;
|
|
3575
|
+
GNErrorCode.StoreItemHadPurchaseAndNonConsumable = 49;
|
|
3576
|
+
GNErrorCode.StoreItemHadExists = 50;
|
|
3559
3577
|
|
|
3560
3578
|
;// ./src/runtime/constant/parameterCode/GNParameterCode.ts
|
|
3561
3579
|
class GNParameterCode {
|
|
@@ -4147,6 +4165,10 @@ GNParameterCode.MatchmakingRequestCount = "matchmakingRequestCount";
|
|
|
4147
4165
|
GNParameterCode.CloudScriptGBs = "cloudScriptGBs";
|
|
4148
4166
|
GNParameterCode.StorageSizeInBytes = "storageSizeInBytes";
|
|
4149
4167
|
GNParameterCode.DataTransferSizeInBytes = "dataTransferSizeInBytes";
|
|
4168
|
+
GNParameterCode.StoreItemType = "storeItemType";
|
|
4169
|
+
GNParameterCode.OwnerIds = "ownerIds";
|
|
4170
|
+
GNParameterCode.GetStoreUsed = "getStoreUsed";
|
|
4171
|
+
GNParameterCode.RemoveStoreUsed = "removeStoreUsed";
|
|
4150
4172
|
|
|
4151
4173
|
;// ./src/runtime/constant/parameterCode/ParameterCode.ts
|
|
4152
4174
|
class ParameterCode {
|
|
@@ -4407,6 +4429,8 @@ OperationCode.SendPushNotification = 188;
|
|
|
4407
4429
|
OperationCode.AddPushNotification = 189;
|
|
4408
4430
|
OperationCode.RemovePushNotification = 190;
|
|
4409
4431
|
OperationCode.GetPushNotification = 191;
|
|
4432
|
+
OperationCode.GetStoreUsed = 192;
|
|
4433
|
+
OperationCode.RemoveStoreUsed = 193;
|
|
4410
4434
|
|
|
4411
4435
|
;// ./src/runtime/constant/ReturnCode.ts
|
|
4412
4436
|
class ReturnCode {
|
|
@@ -9366,6 +9390,31 @@ var CharacterPlayerModels;
|
|
|
9366
9390
|
class AdminGetCreateLeaderboardRequestData extends ServerGetCreateLeaderboardRequestData {
|
|
9367
9391
|
}
|
|
9368
9392
|
CharacterPlayerModels.AdminGetCreateLeaderboardRequestData = AdminGetCreateLeaderboardRequestData;
|
|
9393
|
+
class GetLastLoginLeaderboardRequestData {
|
|
9394
|
+
}
|
|
9395
|
+
CharacterPlayerModels_decorate([
|
|
9396
|
+
GNHashtableDataMember({ code: GNParameterCode.InfoRequestParam, mustNonNull: true }),
|
|
9397
|
+
CharacterPlayerModels_metadata("design:type", InfoRequestParam)
|
|
9398
|
+
], GetLastLoginLeaderboardRequestData.prototype, "infoRequestParam", void 0);
|
|
9399
|
+
CharacterPlayerModels_decorate([
|
|
9400
|
+
NumberDataMember({ code: GNParameterCode.Skip, defaultValue: 0, minValue: 0, mustInt: true, isOptional: true }),
|
|
9401
|
+
CharacterPlayerModels_metadata("design:type", Number)
|
|
9402
|
+
], GetLastLoginLeaderboardRequestData.prototype, "skip", void 0);
|
|
9403
|
+
CharacterPlayerModels_decorate([
|
|
9404
|
+
NumberDataMember({ code: GNParameterCode.Limit, defaultValue: 10, minValue: 1, maxValue: 100, mustInt: true, isOptional: true }),
|
|
9405
|
+
CharacterPlayerModels_metadata("design:type", Number)
|
|
9406
|
+
], GetLastLoginLeaderboardRequestData.prototype, "limit", void 0);
|
|
9407
|
+
CharacterPlayerModels_decorate([
|
|
9408
|
+
BooleanDataMember({ code: GNParameterCode.LoadFromCache, defaultValue: true, isOptional: true }),
|
|
9409
|
+
CharacterPlayerModels_metadata("design:type", Boolean)
|
|
9410
|
+
], GetLastLoginLeaderboardRequestData.prototype, "loadFromCache", void 0);
|
|
9411
|
+
CharacterPlayerModels.GetLastLoginLeaderboardRequestData = GetLastLoginLeaderboardRequestData;
|
|
9412
|
+
class ServerGetLastLoginLeaderboardRequestData extends GetLastLoginLeaderboardRequestData {
|
|
9413
|
+
}
|
|
9414
|
+
CharacterPlayerModels.ServerGetLastLoginLeaderboardRequestData = ServerGetLastLoginLeaderboardRequestData;
|
|
9415
|
+
class AdminGetLastLoginLeaderboardRequestData extends ServerGetLastLoginLeaderboardRequestData {
|
|
9416
|
+
}
|
|
9417
|
+
CharacterPlayerModels.AdminGetLastLoginLeaderboardRequestData = AdminGetLastLoginLeaderboardRequestData;
|
|
9369
9418
|
class GetTagRequestData {
|
|
9370
9419
|
}
|
|
9371
9420
|
CharacterPlayerModels_decorate([
|
|
@@ -9989,6 +10038,13 @@ var CharacterPlayerModels;
|
|
|
9989
10038
|
CharacterPlayerModels_metadata("design:type", Array)
|
|
9990
10039
|
], GetCreateLeaderboardResponseData.prototype, "results", void 0);
|
|
9991
10040
|
CharacterPlayerModels.GetCreateLeaderboardResponseData = GetCreateLeaderboardResponseData;
|
|
10041
|
+
class GetLastLoginLeaderboardResponseData {
|
|
10042
|
+
}
|
|
10043
|
+
CharacterPlayerModels_decorate([
|
|
10044
|
+
GNArrayDataMember({ code: GNParameterCode.Results, elementCls: CharacterPlayerLeaderboardResponseData }),
|
|
10045
|
+
CharacterPlayerModels_metadata("design:type", Array)
|
|
10046
|
+
], GetLastLoginLeaderboardResponseData.prototype, "results", void 0);
|
|
10047
|
+
CharacterPlayerModels.GetLastLoginLeaderboardResponseData = GetLastLoginLeaderboardResponseData;
|
|
9992
10048
|
class GetStatisticsLogResponseData {
|
|
9993
10049
|
}
|
|
9994
10050
|
CharacterPlayerModels_decorate([
|
|
@@ -11374,6 +11430,33 @@ var CharacterPlayerRequestModels;
|
|
|
11374
11430
|
}
|
|
11375
11431
|
}
|
|
11376
11432
|
CharacterPlayerRequestModels.AdminGetCreateLeaderboardOperationRequest = AdminGetCreateLeaderboardOperationRequest;
|
|
11433
|
+
class GetLastLoginLeaderboardOperationRequest extends CustomOperationRequestAbstract {
|
|
11434
|
+
constructor(requestData, timeout) {
|
|
11435
|
+
super(requestData, timeout);
|
|
11436
|
+
this.operationCode = OperationCode.GetLastLoginLeaderboard;
|
|
11437
|
+
this.operationEncrypted = true;
|
|
11438
|
+
this.requestType = RequestType.CharacterPlayer;
|
|
11439
|
+
this.requestRole = RequestRole.Client;
|
|
11440
|
+
this.requestDataCls = CharacterPlayerModels.GetLastLoginLeaderboardRequestData;
|
|
11441
|
+
}
|
|
11442
|
+
}
|
|
11443
|
+
CharacterPlayerRequestModels.GetLastLoginLeaderboardOperationRequest = GetLastLoginLeaderboardOperationRequest;
|
|
11444
|
+
class ServerGetLastLoginLeaderboardOperationRequest extends GetLastLoginLeaderboardOperationRequest {
|
|
11445
|
+
constructor(requestData, timeout) {
|
|
11446
|
+
super(requestData, timeout);
|
|
11447
|
+
this.requestRole = RequestRole.Server;
|
|
11448
|
+
this.requestDataCls = CharacterPlayerModels.ServerGetLastLoginLeaderboardRequestData;
|
|
11449
|
+
}
|
|
11450
|
+
}
|
|
11451
|
+
CharacterPlayerRequestModels.ServerGetLastLoginLeaderboardOperationRequest = ServerGetLastLoginLeaderboardOperationRequest;
|
|
11452
|
+
class AdminGetLastLoginLeaderboardOperationRequest extends GetLastLoginLeaderboardOperationRequest {
|
|
11453
|
+
constructor(requestData, timeout) {
|
|
11454
|
+
super(requestData, timeout);
|
|
11455
|
+
this.requestRole = RequestRole.Admin;
|
|
11456
|
+
this.requestDataCls = CharacterPlayerModels.AdminGetLastLoginLeaderboardRequestData;
|
|
11457
|
+
}
|
|
11458
|
+
}
|
|
11459
|
+
CharacterPlayerRequestModels.AdminGetLastLoginLeaderboardOperationRequest = AdminGetLastLoginLeaderboardOperationRequest;
|
|
11377
11460
|
class GetStatisticsLogOperationRequest extends CustomOperationRequestAbstract {
|
|
11378
11461
|
constructor(requestData, timeout) {
|
|
11379
11462
|
super(requestData, timeout);
|
|
@@ -11785,6 +11868,13 @@ var CharacterPlayerResponseModels;
|
|
|
11785
11868
|
}
|
|
11786
11869
|
}
|
|
11787
11870
|
CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse = GetCreateLeaderboardOperationResponse;
|
|
11871
|
+
class GetLastLoginLeaderboardOperationResponse extends CustomOperationResponseAbstract {
|
|
11872
|
+
constructor() {
|
|
11873
|
+
super();
|
|
11874
|
+
this.responseDataCls = CharacterPlayerModels.GetLastLoginLeaderboardResponseData;
|
|
11875
|
+
}
|
|
11876
|
+
}
|
|
11877
|
+
CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse = GetLastLoginLeaderboardOperationResponse;
|
|
11788
11878
|
class GetStatisticsLogOperationResponse extends CustomOperationResponseAbstract {
|
|
11789
11879
|
constructor() {
|
|
11790
11880
|
super();
|
|
@@ -12648,6 +12738,10 @@ var DashboardModels;
|
|
|
12648
12738
|
GNHashtableDataMember({ code: GNParameterCode.GetCreateLeaderboard, isOptional: true }),
|
|
12649
12739
|
DashboardModels_metadata("design:type", PermissionRulesParam)
|
|
12650
12740
|
], CharacterPlayerPermissionRulesParam.prototype, "getCreateLeaderboard", void 0);
|
|
12741
|
+
DashboardModels_decorate([
|
|
12742
|
+
GNHashtableDataMember({ code: GNParameterCode.GetLastLoginLeaderboard, isOptional: true }),
|
|
12743
|
+
DashboardModels_metadata("design:type", PermissionRulesParam)
|
|
12744
|
+
], CharacterPlayerPermissionRulesParam.prototype, "getLastLoginLeaderboard", void 0);
|
|
12651
12745
|
DashboardModels_decorate([
|
|
12652
12746
|
GNHashtableDataMember({ code: GNParameterCode.GetStatisticsLog, isOptional: true }),
|
|
12653
12747
|
DashboardModels_metadata("design:type", PermissionRulesParam)
|
|
@@ -14276,6 +14370,14 @@ var DashboardModels;
|
|
|
14276
14370
|
GNHashtableDataMember({ code: GNParameterCode.GetStoreLog, isOptional: true }),
|
|
14277
14371
|
DashboardModels_metadata("design:type", PermissionRulesParam)
|
|
14278
14372
|
], StoreInventoryPermissionRulesParam.prototype, "getStoreLog", void 0);
|
|
14373
|
+
DashboardModels_decorate([
|
|
14374
|
+
GNHashtableDataMember({ code: GNParameterCode.GetStoreUsed, isOptional: true }),
|
|
14375
|
+
DashboardModels_metadata("design:type", PermissionRulesParam)
|
|
14376
|
+
], StoreInventoryPermissionRulesParam.prototype, "getStoreUsed", void 0);
|
|
14377
|
+
DashboardModels_decorate([
|
|
14378
|
+
GNHashtableDataMember({ code: GNParameterCode.RemoveStoreUsed, isOptional: true }),
|
|
14379
|
+
DashboardModels_metadata("design:type", PermissionRulesParam)
|
|
14380
|
+
], StoreInventoryPermissionRulesParam.prototype, "removeStoreUsed", void 0);
|
|
14279
14381
|
DashboardModels.StoreInventoryPermissionRulesParam = StoreInventoryPermissionRulesParam;
|
|
14280
14382
|
class CloudScriptPermissionRulesParam {
|
|
14281
14383
|
}
|
|
@@ -26672,6 +26774,10 @@ var StoreInventoryModels;
|
|
|
26672
26774
|
BooleanDataMember({ code: GNParameterCode.StoreItems, isOptional: true, defaultValue: false }),
|
|
26673
26775
|
StoreInventoryModels_metadata("design:type", Boolean)
|
|
26674
26776
|
], InfoRequestParam.prototype, "storeItems", void 0);
|
|
26777
|
+
StoreInventoryModels_decorate([
|
|
26778
|
+
BooleanDataMember({ code: GNParameterCode.StoreItemType, isOptional: true, defaultValue: false }),
|
|
26779
|
+
StoreInventoryModels_metadata("design:type", Boolean)
|
|
26780
|
+
], InfoRequestParam.prototype, "storeItemType", void 0);
|
|
26675
26781
|
StoreInventoryModels_decorate([
|
|
26676
26782
|
BooleanDataMember({ code: GNParameterCode.StoreCurrencies, isOptional: true, defaultValue: false }),
|
|
26677
26783
|
StoreInventoryModels_metadata("design:type", Boolean)
|
|
@@ -26809,7 +26915,7 @@ var StoreInventoryModels;
|
|
|
26809
26915
|
class BuyStoreItemRequestData {
|
|
26810
26916
|
}
|
|
26811
26917
|
StoreInventoryModels_decorate([
|
|
26812
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
26918
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
26813
26919
|
StoreInventoryModels_metadata("design:type", String)
|
|
26814
26920
|
], BuyStoreItemRequestData.prototype, "storeId", void 0);
|
|
26815
26921
|
StoreInventoryModels_decorate([
|
|
@@ -26834,7 +26940,7 @@ var StoreInventoryModels;
|
|
|
26834
26940
|
class PresentStoreItemRequestData {
|
|
26835
26941
|
}
|
|
26836
26942
|
StoreInventoryModels_decorate([
|
|
26837
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
26943
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
26838
26944
|
StoreInventoryModels_metadata("design:type", String)
|
|
26839
26945
|
], PresentStoreItemRequestData.prototype, "storeId", void 0);
|
|
26840
26946
|
StoreInventoryModels_decorate([
|
|
@@ -26859,7 +26965,7 @@ var StoreInventoryModels;
|
|
|
26859
26965
|
class GetStoreLogRequestData {
|
|
26860
26966
|
}
|
|
26861
26967
|
StoreInventoryModels_decorate([
|
|
26862
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
26968
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true, isOptional: true }),
|
|
26863
26969
|
StoreInventoryModels_metadata("design:type", String)
|
|
26864
26970
|
], GetStoreLogRequestData.prototype, "storeId", void 0);
|
|
26865
26971
|
StoreInventoryModels_decorate([
|
|
@@ -26885,10 +26991,40 @@ var StoreInventoryModels;
|
|
|
26885
26991
|
class AdminGetStoreLogRequestData extends ServerGetStoreLogRequestData {
|
|
26886
26992
|
}
|
|
26887
26993
|
StoreInventoryModels.AdminGetStoreLogRequestData = AdminGetStoreLogRequestData;
|
|
26994
|
+
class GetStoreUsedRequestData {
|
|
26995
|
+
}
|
|
26996
|
+
StoreInventoryModels_decorate([
|
|
26997
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
26998
|
+
StoreInventoryModels_metadata("design:type", String)
|
|
26999
|
+
], GetStoreUsedRequestData.prototype, "storeId", void 0);
|
|
27000
|
+
StoreInventoryModels.GetStoreUsedRequestData = GetStoreUsedRequestData;
|
|
27001
|
+
class ServerGetStoreUsedRequestData extends GetStoreUsedRequestData {
|
|
27002
|
+
}
|
|
27003
|
+
StoreInventoryModels.ServerGetStoreUsedRequestData = ServerGetStoreUsedRequestData;
|
|
27004
|
+
class AdminGetStoreUsedRequestData extends ServerGetStoreUsedRequestData {
|
|
27005
|
+
}
|
|
27006
|
+
StoreInventoryModels.AdminGetStoreUsedRequestData = AdminGetStoreUsedRequestData;
|
|
27007
|
+
class RemoveStoreUsedRequestData {
|
|
27008
|
+
}
|
|
27009
|
+
StoreInventoryModels_decorate([
|
|
27010
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
27011
|
+
StoreInventoryModels_metadata("design:type", String)
|
|
27012
|
+
], RemoveStoreUsedRequestData.prototype, "storeId", void 0);
|
|
27013
|
+
StoreInventoryModels_decorate([
|
|
27014
|
+
GNArrayDataMember({ code: GNParameterCode.OwnerIds, elementCls: String, isOptional: true }),
|
|
27015
|
+
StoreInventoryModels_metadata("design:type", Array)
|
|
27016
|
+
], RemoveStoreUsedRequestData.prototype, "ownerIds", void 0);
|
|
27017
|
+
StoreInventoryModels.RemoveStoreUsedRequestData = RemoveStoreUsedRequestData;
|
|
27018
|
+
class ServerRemoveStoreUsedRequestData extends RemoveStoreUsedRequestData {
|
|
27019
|
+
}
|
|
27020
|
+
StoreInventoryModels.ServerRemoveStoreUsedRequestData = ServerRemoveStoreUsedRequestData;
|
|
27021
|
+
class AdminRemoveStoreUsedRequestData extends ServerRemoveStoreUsedRequestData {
|
|
27022
|
+
}
|
|
27023
|
+
StoreInventoryModels.AdminRemoveStoreUsedRequestData = AdminRemoveStoreUsedRequestData;
|
|
26888
27024
|
class GetStoreItemInformationRequestData {
|
|
26889
27025
|
}
|
|
26890
27026
|
StoreInventoryModels_decorate([
|
|
26891
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
27027
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
26892
27028
|
StoreInventoryModels_metadata("design:type", String)
|
|
26893
27029
|
], GetStoreItemInformationRequestData.prototype, "storeId", void 0);
|
|
26894
27030
|
StoreInventoryModels_decorate([
|
|
@@ -26934,7 +27070,7 @@ var StoreInventoryModels;
|
|
|
26934
27070
|
class GrantStoreItemRequestData {
|
|
26935
27071
|
}
|
|
26936
27072
|
StoreInventoryModels_decorate([
|
|
26937
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
27073
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true, isOptional: true }),
|
|
26938
27074
|
StoreInventoryModels_metadata("design:type", String)
|
|
26939
27075
|
], GrantStoreItemRequestData.prototype, "storeId", void 0);
|
|
26940
27076
|
StoreInventoryModels_decorate([
|
|
@@ -26951,7 +27087,7 @@ var StoreInventoryModels;
|
|
|
26951
27087
|
class SetRemoveStatusRequestData {
|
|
26952
27088
|
}
|
|
26953
27089
|
StoreInventoryModels_decorate([
|
|
26954
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
27090
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
26955
27091
|
StoreInventoryModels_metadata("design:type", String)
|
|
26956
27092
|
], SetRemoveStatusRequestData.prototype, "storeId", void 0);
|
|
26957
27093
|
StoreInventoryModels_decorate([
|
|
@@ -26968,9 +27104,13 @@ var StoreInventoryModels;
|
|
|
26968
27104
|
class SetStoreItemInformationRequestData {
|
|
26969
27105
|
}
|
|
26970
27106
|
StoreInventoryModels_decorate([
|
|
26971
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
27107
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
26972
27108
|
StoreInventoryModels_metadata("design:type", String)
|
|
26973
27109
|
], SetStoreItemInformationRequestData.prototype, "storeId", void 0);
|
|
27110
|
+
StoreInventoryModels_decorate([
|
|
27111
|
+
NumberDataMember({ code: GNParameterCode.StoreItemType, minValue: 1, maxValue: 2, mustInt: true, isOptional: true }),
|
|
27112
|
+
StoreInventoryModels_metadata("design:type", Number)
|
|
27113
|
+
], SetStoreItemInformationRequestData.prototype, "storeItemType", void 0);
|
|
26974
27114
|
StoreInventoryModels_decorate([
|
|
26975
27115
|
GNArrayDataMember({ code: GNParameterCode.StoreDatas, minLength: 0, maxLength: 32, mustNonNull: true, isOptional: true, elementCls: StoreDataParam }),
|
|
26976
27116
|
StoreInventoryModels_metadata("design:type", Array)
|
|
@@ -27116,6 +27256,10 @@ var StoreInventoryModels;
|
|
|
27116
27256
|
GNArrayDataMember({ code: GNParameterCode.StoreItems, isOptional: true, elementCls: StoreInventoryItem }),
|
|
27117
27257
|
StoreInventoryModels_metadata("design:type", Array)
|
|
27118
27258
|
], InfoResponseParameters.prototype, "storeItems", void 0);
|
|
27259
|
+
StoreInventoryModels_decorate([
|
|
27260
|
+
NumberDataMember({ code: GNParameterCode.StoreItemType, isOptional: true }),
|
|
27261
|
+
StoreInventoryModels_metadata("design:type", Number)
|
|
27262
|
+
], InfoResponseParameters.prototype, "storeItemType", void 0);
|
|
27119
27263
|
StoreInventoryModels_decorate([
|
|
27120
27264
|
GNArrayDataMember({ code: GNParameterCode.StoreCurrencies, isOptional: true, elementCls: PriceCurrencyItem }),
|
|
27121
27265
|
StoreInventoryModels_metadata("design:type", Array)
|
|
@@ -27322,6 +27466,21 @@ var StoreInventoryModels;
|
|
|
27322
27466
|
StoreInventoryModels_metadata("design:type", String)
|
|
27323
27467
|
], StoreLogResponseData.prototype, "log", void 0);
|
|
27324
27468
|
StoreInventoryModels.StoreLogResponseData = StoreLogResponseData;
|
|
27469
|
+
class StoreUsedResponseData {
|
|
27470
|
+
}
|
|
27471
|
+
StoreInventoryModels_decorate([
|
|
27472
|
+
StringDataMember({ code: GNParameterCode.OwnerId }),
|
|
27473
|
+
StoreInventoryModels_metadata("design:type", String)
|
|
27474
|
+
], StoreUsedResponseData.prototype, "id", void 0);
|
|
27475
|
+
StoreInventoryModels_decorate([
|
|
27476
|
+
NumberDataMember({ code: GNParameterCode.OwnerType }),
|
|
27477
|
+
StoreInventoryModels_metadata("design:type", Number)
|
|
27478
|
+
], StoreUsedResponseData.prototype, "type", void 0);
|
|
27479
|
+
StoreInventoryModels_decorate([
|
|
27480
|
+
NumberDataMember({ code: GNParameterCode.TsCreate }),
|
|
27481
|
+
StoreInventoryModels_metadata("design:type", Number)
|
|
27482
|
+
], StoreUsedResponseData.prototype, "tsCreate", void 0);
|
|
27483
|
+
StoreInventoryModels.StoreUsedResponseData = StoreUsedResponseData;
|
|
27325
27484
|
class GetCreateLeaderboardResponseData {
|
|
27326
27485
|
}
|
|
27327
27486
|
StoreInventoryModels_decorate([
|
|
@@ -27340,6 +27499,13 @@ var StoreInventoryModels;
|
|
|
27340
27499
|
StoreInventoryModels_metadata("design:type", String)
|
|
27341
27500
|
], GetStoreLogResponseData.prototype, "token", void 0);
|
|
27342
27501
|
StoreInventoryModels.GetStoreLogResponseData = GetStoreLogResponseData;
|
|
27502
|
+
class GetStoreUsedResponseData {
|
|
27503
|
+
}
|
|
27504
|
+
StoreInventoryModels_decorate([
|
|
27505
|
+
GNArrayDataMember({ code: GNParameterCode.Results, elementCls: StoreUsedResponseData }),
|
|
27506
|
+
StoreInventoryModels_metadata("design:type", Array)
|
|
27507
|
+
], GetStoreUsedResponseData.prototype, "results", void 0);
|
|
27508
|
+
StoreInventoryModels.GetStoreUsedResponseData = GetStoreUsedResponseData;
|
|
27343
27509
|
class EmptyResponseData {
|
|
27344
27510
|
}
|
|
27345
27511
|
StoreInventoryModels.EmptyResponseData = EmptyResponseData;
|
|
@@ -27677,6 +27843,60 @@ var StoreInventoryRequestModels;
|
|
|
27677
27843
|
}
|
|
27678
27844
|
}
|
|
27679
27845
|
StoreInventoryRequestModels.AdminGetStoreLogOperationRequest = AdminGetStoreLogOperationRequest;
|
|
27846
|
+
class GetStoreUsedOperationRequest extends CustomOperationRequestAbstract {
|
|
27847
|
+
constructor(requestData, timeout) {
|
|
27848
|
+
super(requestData, timeout);
|
|
27849
|
+
this.operationCode = OperationCode.GetStoreUsed;
|
|
27850
|
+
this.operationEncrypted = true;
|
|
27851
|
+
this.requestType = RequestType.StoreInventory;
|
|
27852
|
+
this.requestRole = RequestRole.Client;
|
|
27853
|
+
this.requestDataCls = StoreInventoryModels.GetStoreUsedRequestData;
|
|
27854
|
+
}
|
|
27855
|
+
}
|
|
27856
|
+
StoreInventoryRequestModels.GetStoreUsedOperationRequest = GetStoreUsedOperationRequest;
|
|
27857
|
+
class ServerGetStoreUsedOperationRequest extends GetStoreUsedOperationRequest {
|
|
27858
|
+
constructor(requestData, timeout) {
|
|
27859
|
+
super(requestData, timeout);
|
|
27860
|
+
this.requestRole = RequestRole.Server;
|
|
27861
|
+
this.requestDataCls = StoreInventoryModels.ServerGetStoreUsedRequestData;
|
|
27862
|
+
}
|
|
27863
|
+
}
|
|
27864
|
+
StoreInventoryRequestModels.ServerGetStoreUsedOperationRequest = ServerGetStoreUsedOperationRequest;
|
|
27865
|
+
class AdminGetStoreUsedOperationRequest extends GetStoreUsedOperationRequest {
|
|
27866
|
+
constructor(requestData, timeout) {
|
|
27867
|
+
super(requestData, timeout);
|
|
27868
|
+
this.requestRole = RequestRole.Admin;
|
|
27869
|
+
this.requestDataCls = StoreInventoryModels.AdminGetStoreUsedRequestData;
|
|
27870
|
+
}
|
|
27871
|
+
}
|
|
27872
|
+
StoreInventoryRequestModels.AdminGetStoreUsedOperationRequest = AdminGetStoreUsedOperationRequest;
|
|
27873
|
+
class RemoveStoreUsedOperationRequest extends CustomOperationRequestAbstract {
|
|
27874
|
+
constructor(requestData, timeout) {
|
|
27875
|
+
super(requestData, timeout);
|
|
27876
|
+
this.operationCode = OperationCode.RemoveStoreUsed;
|
|
27877
|
+
this.operationEncrypted = true;
|
|
27878
|
+
this.requestType = RequestType.StoreInventory;
|
|
27879
|
+
this.requestRole = RequestRole.Client;
|
|
27880
|
+
this.requestDataCls = StoreInventoryModels.RemoveStoreUsedRequestData;
|
|
27881
|
+
}
|
|
27882
|
+
}
|
|
27883
|
+
StoreInventoryRequestModels.RemoveStoreUsedOperationRequest = RemoveStoreUsedOperationRequest;
|
|
27884
|
+
class ServerRemoveStoreUsedOperationRequest extends RemoveStoreUsedOperationRequest {
|
|
27885
|
+
constructor(requestData, timeout) {
|
|
27886
|
+
super(requestData, timeout);
|
|
27887
|
+
this.requestRole = RequestRole.Server;
|
|
27888
|
+
this.requestDataCls = StoreInventoryModels.ServerRemoveStoreUsedRequestData;
|
|
27889
|
+
}
|
|
27890
|
+
}
|
|
27891
|
+
StoreInventoryRequestModels.ServerRemoveStoreUsedOperationRequest = ServerRemoveStoreUsedOperationRequest;
|
|
27892
|
+
class AdminRemoveStoreUsedOperationRequest extends RemoveStoreUsedOperationRequest {
|
|
27893
|
+
constructor(requestData, timeout) {
|
|
27894
|
+
super(requestData, timeout);
|
|
27895
|
+
this.requestRole = RequestRole.Admin;
|
|
27896
|
+
this.requestDataCls = StoreInventoryModels.AdminRemoveStoreUsedRequestData;
|
|
27897
|
+
}
|
|
27898
|
+
}
|
|
27899
|
+
StoreInventoryRequestModels.AdminRemoveStoreUsedOperationRequest = AdminRemoveStoreUsedOperationRequest;
|
|
27680
27900
|
})(StoreInventoryRequestModels || (StoreInventoryRequestModels = {}));
|
|
27681
27901
|
|
|
27682
27902
|
;// ./src/runtime/entity/models/StoreInventoryResponseModels.ts
|
|
@@ -27768,6 +27988,20 @@ var StoreInventoryResponseModels;
|
|
|
27768
27988
|
}
|
|
27769
27989
|
}
|
|
27770
27990
|
StoreInventoryResponseModels.PresentStoreItemOperationResponse = PresentStoreItemOperationResponse;
|
|
27991
|
+
class GetStoreUsedOperationResponse extends CustomOperationResponseAbstract {
|
|
27992
|
+
constructor() {
|
|
27993
|
+
super();
|
|
27994
|
+
this.responseDataCls = StoreInventoryModels.GetStoreUsedResponseData;
|
|
27995
|
+
}
|
|
27996
|
+
}
|
|
27997
|
+
StoreInventoryResponseModels.GetStoreUsedOperationResponse = GetStoreUsedOperationResponse;
|
|
27998
|
+
class RemoveStoreUsedOperationResponse extends CustomOperationResponseAbstract {
|
|
27999
|
+
constructor() {
|
|
28000
|
+
super();
|
|
28001
|
+
this.responseDataCls = StoreInventoryModels.EmptyResponseData;
|
|
28002
|
+
}
|
|
28003
|
+
}
|
|
28004
|
+
StoreInventoryResponseModels.RemoveStoreUsedOperationResponse = RemoveStoreUsedOperationResponse;
|
|
27771
28005
|
})(StoreInventoryResponseModels || (StoreInventoryResponseModels = {}));
|
|
27772
28006
|
|
|
27773
28007
|
;// ./src/runtime/entity/models/CloudScriptModels.ts
|
|
@@ -36430,6 +36664,14 @@ class CharacterPlayerApi {
|
|
|
36430
36664
|
return GNNetwork.sendViaHttpTRequestTResponseAsync(new CharacterPlayerRequestModels.GetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse);
|
|
36431
36665
|
});
|
|
36432
36666
|
}
|
|
36667
|
+
getLastLoginLeaderboard(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
36668
|
+
GNNetwork.sendViaHttpTRequestTResponse(new CharacterPlayerRequestModels.GetLastLoginLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse);
|
|
36669
|
+
}
|
|
36670
|
+
getLastLoginLeaderboardAsync(requestData_1) {
|
|
36671
|
+
return GNNetworkCharacterPlayerApi_awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
36672
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new CharacterPlayerRequestModels.GetLastLoginLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse);
|
|
36673
|
+
});
|
|
36674
|
+
}
|
|
36433
36675
|
getStatisticsLog(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
36434
36676
|
GNNetwork.sendViaHttpTRequestTResponse(new CharacterPlayerRequestModels.GetStatisticsLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetStatisticsLogOperationResponse);
|
|
36435
36677
|
}
|
|
@@ -36848,6 +37090,14 @@ class ServerCharacterPlayerApi {
|
|
|
36848
37090
|
return GNNetwork.sendViaHttpTRequestTResponseAsync(new CharacterPlayerRequestModels.ServerGetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse);
|
|
36849
37091
|
});
|
|
36850
37092
|
}
|
|
37093
|
+
getLastLoginLeaderboard(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
37094
|
+
GNNetwork.sendViaHttpTRequestTResponse(new CharacterPlayerRequestModels.ServerGetLastLoginLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse);
|
|
37095
|
+
}
|
|
37096
|
+
getLastLoginLeaderboardAsync(requestData_1) {
|
|
37097
|
+
return GNNetworkCharacterPlayerApi_awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
37098
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new CharacterPlayerRequestModels.ServerGetLastLoginLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse);
|
|
37099
|
+
});
|
|
37100
|
+
}
|
|
36851
37101
|
getStatisticsLog(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
36852
37102
|
GNNetwork.sendViaHttpTRequestTResponse(new CharacterPlayerRequestModels.ServerGetStatisticsLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetStatisticsLogOperationResponse);
|
|
36853
37103
|
}
|
|
@@ -37266,6 +37516,14 @@ class AdminCharacterPlayerApi {
|
|
|
37266
37516
|
return GNNetwork.sendViaHttpTRequestTResponseAsync(new CharacterPlayerRequestModels.AdminGetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse);
|
|
37267
37517
|
});
|
|
37268
37518
|
}
|
|
37519
|
+
getLastLoginLeaderboard(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
37520
|
+
GNNetwork.sendViaHttpTRequestTResponse(new CharacterPlayerRequestModels.AdminGetLastLoginLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse);
|
|
37521
|
+
}
|
|
37522
|
+
getLastLoginLeaderboardAsync(requestData_1) {
|
|
37523
|
+
return GNNetworkCharacterPlayerApi_awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
37524
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new CharacterPlayerRequestModels.AdminGetLastLoginLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse);
|
|
37525
|
+
});
|
|
37526
|
+
}
|
|
37269
37527
|
getStatisticsLog(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
37270
37528
|
GNNetwork.sendViaHttpTRequestTResponse(new CharacterPlayerRequestModels.AdminGetStatisticsLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetStatisticsLogOperationResponse);
|
|
37271
37529
|
}
|
|
@@ -42997,6 +43255,22 @@ class StoreInventoryApi {
|
|
|
42997
43255
|
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.GetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreLogOperationResponse);
|
|
42998
43256
|
});
|
|
42999
43257
|
}
|
|
43258
|
+
getStoreUsed(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
43259
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.GetStoreUsedOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreUsedOperationResponse);
|
|
43260
|
+
}
|
|
43261
|
+
getStoreUsedAsync(requestData_1) {
|
|
43262
|
+
return GNNetworkStoreInventoryApi_awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
43263
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.GetStoreUsedOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreUsedOperationResponse);
|
|
43264
|
+
});
|
|
43265
|
+
}
|
|
43266
|
+
removeStoreUsed(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
43267
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.RemoveStoreUsedOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.RemoveStoreUsedOperationResponse);
|
|
43268
|
+
}
|
|
43269
|
+
removeStoreUsedAsync(requestData_1) {
|
|
43270
|
+
return GNNetworkStoreInventoryApi_awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
43271
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.RemoveStoreUsedOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.RemoveStoreUsedOperationResponse);
|
|
43272
|
+
});
|
|
43273
|
+
}
|
|
43000
43274
|
}
|
|
43001
43275
|
class ServerStoreInventoryApi {
|
|
43002
43276
|
buyStoreItem(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
@@ -43095,6 +43369,22 @@ class ServerStoreInventoryApi {
|
|
|
43095
43369
|
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerGetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreLogOperationResponse);
|
|
43096
43370
|
});
|
|
43097
43371
|
}
|
|
43372
|
+
getStoreUsed(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
43373
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerGetStoreUsedOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreUsedOperationResponse);
|
|
43374
|
+
}
|
|
43375
|
+
getStoreUsedAsync(requestData_1) {
|
|
43376
|
+
return GNNetworkStoreInventoryApi_awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
43377
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerGetStoreUsedOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreUsedOperationResponse);
|
|
43378
|
+
});
|
|
43379
|
+
}
|
|
43380
|
+
removeStoreUsed(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
43381
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerRemoveStoreUsedOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.RemoveStoreUsedOperationResponse);
|
|
43382
|
+
}
|
|
43383
|
+
removeStoreUsedAsync(requestData_1) {
|
|
43384
|
+
return GNNetworkStoreInventoryApi_awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
43385
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerRemoveStoreUsedOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.RemoveStoreUsedOperationResponse);
|
|
43386
|
+
});
|
|
43387
|
+
}
|
|
43098
43388
|
}
|
|
43099
43389
|
class AdminStoreInventoryApi {
|
|
43100
43390
|
buyStoreItem(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
@@ -43193,6 +43483,22 @@ class AdminStoreInventoryApi {
|
|
|
43193
43483
|
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminGetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreLogOperationResponse);
|
|
43194
43484
|
});
|
|
43195
43485
|
}
|
|
43486
|
+
getStoreUsed(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
43487
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminGetStoreUsedOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreUsedOperationResponse);
|
|
43488
|
+
}
|
|
43489
|
+
getStoreUsedAsync(requestData_1) {
|
|
43490
|
+
return GNNetworkStoreInventoryApi_awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
43491
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminGetStoreUsedOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreUsedOperationResponse);
|
|
43492
|
+
});
|
|
43493
|
+
}
|
|
43494
|
+
removeStoreUsed(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
43495
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminRemoveStoreUsedOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.RemoveStoreUsedOperationResponse);
|
|
43496
|
+
}
|
|
43497
|
+
removeStoreUsedAsync(requestData_1) {
|
|
43498
|
+
return GNNetworkStoreInventoryApi_awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
43499
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminRemoveStoreUsedOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.RemoveStoreUsedOperationResponse);
|
|
43500
|
+
});
|
|
43501
|
+
}
|
|
43196
43502
|
}
|
|
43197
43503
|
|
|
43198
43504
|
;// ./src/runtime/GNNetworkMultiplayerApi.ts
|
|
@@ -43615,7 +43921,7 @@ var GNNetwork_awaiter = (undefined && undefined.__awaiter) || function (thisArg,
|
|
|
43615
43921
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43616
43922
|
});
|
|
43617
43923
|
};
|
|
43618
|
-
const VERSION = "2.
|
|
43924
|
+
const VERSION = "2.5";
|
|
43619
43925
|
|
|
43620
43926
|
|
|
43621
43927
|
|
|
@@ -48582,6 +48888,8 @@ OnGroupMessageUpdateEventHandler = OnGroupMessageUpdateEventHandler_1 = OnGroupM
|
|
|
48582
48888
|
|
|
48583
48889
|
|
|
48584
48890
|
|
|
48891
|
+
|
|
48892
|
+
|
|
48585
48893
|
|
|
48586
48894
|
|
|
48587
48895
|
|
|
@@ -48673,6 +48981,7 @@ const gn = {
|
|
|
48673
48981
|
GroupStatus: GroupStatus,
|
|
48674
48982
|
InvalidMemberType: InvalidMemberType,
|
|
48675
48983
|
ItemType: ItemType,
|
|
48984
|
+
StoreItemType: StoreItemType,
|
|
48676
48985
|
MatchmakingMemberStatus: MatchmakingMemberStatus,
|
|
48677
48986
|
MatchmakingTicketStatus: MatchmakingTicketStatus,
|
|
48678
48987
|
OwnerType: OwnerType,
|