@xmobitea/gn-typescript-client 2.4.10-esnext → 2.5.0-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/GNServerSettingsConfig.debug.json +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -0
- package/dist/runtime/GNNetwork.js +1 -1
- package/dist/runtime/GNNetworkCharacterPlayerApi.d.ts +6 -0
- package/dist/runtime/GNNetworkCharacterPlayerApi.js +24 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +12 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.js +48 -0
- package/dist/runtime/config/GNServerSettings.d.ts +4 -0
- package/dist/runtime/config/GNServerSettings.js +10 -2
- package/dist/runtime/constant/OperationCode.d.ts +2 -0
- package/dist/runtime/constant/OperationCode.js +2 -0
- package/dist/runtime/constant/enumType/StoreItemType.d.ts +4 -0
- package/dist/runtime/constant/enumType/StoreItemType.js +5 -0
- package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +2 -0
- package/dist/runtime/constant/errorCode/GNErrorCode.js +2 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +4 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.js +4 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +13 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.js +32 -0
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.d.ts +15 -0
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +27 -0
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.d.ts +3 -0
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +7 -0
- package/dist/runtime/entity/models/DashboardModels.d.ts +3 -0
- package/dist/runtime/entity/models/DashboardModels.js +12 -0
- package/dist/runtime/entity/models/StoreInventoryModels.d.ts +26 -0
- package/dist/runtime/entity/models/StoreInventoryModels.js +71 -7
- package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +30 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.js +54 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +6 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.js +14 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { GoogleLoginType } from "./runtime/constant/enumType/GoogleLoginType";
|
|
|
17
17
|
import { GroupStatus } from "./runtime/constant/enumType/GroupStatus";
|
|
18
18
|
import { InvalidMemberType } from "./runtime/constant/enumType/InvalidMemberType";
|
|
19
19
|
import { ItemType } from "./runtime/constant/enumType/ItemType";
|
|
20
|
+
import { StoreItemType } from "./runtime/constant/enumType/StoreItemType";
|
|
20
21
|
import { MatchmakingMemberStatus } from "./runtime/constant/enumType/MatchmakingMemberStatus";
|
|
21
22
|
import { MatchmakingTicketStatus } from "./runtime/constant/enumType/MatchmakingTicketStatus";
|
|
22
23
|
import { OwnerType } from "./runtime/constant/enumType/OwnerType";
|
|
@@ -31,6 +32,7 @@ export { GoogleLoginType };
|
|
|
31
32
|
export { GroupStatus };
|
|
32
33
|
export { InvalidMemberType };
|
|
33
34
|
export { ItemType };
|
|
35
|
+
export { StoreItemType };
|
|
34
36
|
export { MatchmakingMemberStatus };
|
|
35
37
|
export { MatchmakingTicketStatus };
|
|
36
38
|
export { OwnerType };
|
package/dist/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import { GoogleLoginType } from "./runtime/constant/enumType/GoogleLoginType";
|
|
|
7
7
|
import { GroupStatus } from "./runtime/constant/enumType/GroupStatus";
|
|
8
8
|
import { InvalidMemberType } from "./runtime/constant/enumType/InvalidMemberType";
|
|
9
9
|
import { ItemType } from "./runtime/constant/enumType/ItemType";
|
|
10
|
+
import { StoreItemType } from "./runtime/constant/enumType/StoreItemType";
|
|
10
11
|
import { MatchmakingMemberStatus } from "./runtime/constant/enumType/MatchmakingMemberStatus";
|
|
11
12
|
import { MatchmakingTicketStatus } from "./runtime/constant/enumType/MatchmakingTicketStatus";
|
|
12
13
|
import { OwnerType } from "./runtime/constant/enumType/OwnerType";
|
|
@@ -21,6 +22,7 @@ export { GoogleLoginType };
|
|
|
21
22
|
export { GroupStatus };
|
|
22
23
|
export { InvalidMemberType };
|
|
23
24
|
export { ItemType };
|
|
25
|
+
export { StoreItemType };
|
|
24
26
|
export { MatchmakingMemberStatus };
|
|
25
27
|
export { MatchmakingTicketStatus };
|
|
26
28
|
export { OwnerType };
|
|
@@ -217,6 +219,7 @@ const gn = {
|
|
|
217
219
|
GroupStatus,
|
|
218
220
|
InvalidMemberType,
|
|
219
221
|
ItemType,
|
|
222
|
+
StoreItemType,
|
|
220
223
|
MatchmakingMemberStatus,
|
|
221
224
|
MatchmakingTicketStatus,
|
|
222
225
|
OwnerType,
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
const VERSION = "2.
|
|
10
|
+
const VERSION = "2.5";
|
|
11
11
|
import { GNDebug } from "./logger/GNDebug";
|
|
12
12
|
import { GNSupport } from "./helper/GNSupport";
|
|
13
13
|
import { NetworkingPeer } from "./networking/NetworkingPeer";
|
|
@@ -105,6 +105,8 @@ export declare class CharacterPlayerApi {
|
|
|
105
105
|
getCurrencyLeaderboardAsync(requestData: CharacterPlayerModels.GetCurrencyLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<CharacterPlayerResponseModels.GetCurrencyLeaderboardOperationResponse>;
|
|
106
106
|
getCreateLeaderboard(requestData: CharacterPlayerModels.GetCreateLeaderboardRequestData, onResponse?: Action1<CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
107
107
|
getCreateLeaderboardAsync(requestData: CharacterPlayerModels.GetCreateLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse>;
|
|
108
|
+
getLastLoginLeaderboard(requestData: CharacterPlayerModels.GetLastLoginLeaderboardRequestData, onResponse?: Action1<CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
109
|
+
getLastLoginLeaderboardAsync(requestData: CharacterPlayerModels.GetLastLoginLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse>;
|
|
108
110
|
getStatisticsLog(requestData: CharacterPlayerModels.GetStatisticsLogRequestData, onResponse?: Action1<CharacterPlayerResponseModels.GetStatisticsLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
109
111
|
getStatisticsLogAsync(requestData: CharacterPlayerModels.GetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<CharacterPlayerResponseModels.GetStatisticsLogOperationResponse>;
|
|
110
112
|
getCurrencyLog(requestData: CharacterPlayerModels.GetCurrencyLogRequestData, onResponse?: Action1<CharacterPlayerResponseModels.GetCurrencyLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
@@ -211,6 +213,8 @@ export declare class ServerCharacterPlayerApi {
|
|
|
211
213
|
getCurrencyLeaderboardAsync(requestData: CharacterPlayerModels.ServerGetCurrencyLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<CharacterPlayerResponseModels.GetCurrencyLeaderboardOperationResponse>;
|
|
212
214
|
getCreateLeaderboard(requestData: CharacterPlayerModels.ServerGetCreateLeaderboardRequestData, onResponse?: Action1<CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
213
215
|
getCreateLeaderboardAsync(requestData: CharacterPlayerModels.ServerGetCreateLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse>;
|
|
216
|
+
getLastLoginLeaderboard(requestData: CharacterPlayerModels.ServerGetLastLoginLeaderboardRequestData, onResponse?: Action1<CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
217
|
+
getLastLoginLeaderboardAsync(requestData: CharacterPlayerModels.ServerGetLastLoginLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse>;
|
|
214
218
|
getStatisticsLog(requestData: CharacterPlayerModels.ServerGetStatisticsLogRequestData, onResponse?: Action1<CharacterPlayerResponseModels.GetStatisticsLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
215
219
|
getStatisticsLogAsync(requestData: CharacterPlayerModels.ServerGetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<CharacterPlayerResponseModels.GetStatisticsLogOperationResponse>;
|
|
216
220
|
getCurrencyLog(requestData: CharacterPlayerModels.ServerGetCurrencyLogRequestData, onResponse?: Action1<CharacterPlayerResponseModels.GetCurrencyLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
@@ -317,6 +321,8 @@ export declare class AdminCharacterPlayerApi {
|
|
|
317
321
|
getCurrencyLeaderboardAsync(requestData: CharacterPlayerModels.AdminGetCurrencyLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<CharacterPlayerResponseModels.GetCurrencyLeaderboardOperationResponse>;
|
|
318
322
|
getCreateLeaderboard(requestData: CharacterPlayerModels.AdminGetCreateLeaderboardRequestData, onResponse?: Action1<CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
319
323
|
getCreateLeaderboardAsync(requestData: CharacterPlayerModels.AdminGetCreateLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse>;
|
|
324
|
+
getLastLoginLeaderboard(requestData: CharacterPlayerModels.AdminGetLastLoginLeaderboardRequestData, onResponse?: Action1<CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
325
|
+
getLastLoginLeaderboardAsync(requestData: CharacterPlayerModels.AdminGetLastLoginLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse>;
|
|
320
326
|
getStatisticsLog(requestData: CharacterPlayerModels.AdminGetStatisticsLogRequestData, onResponse?: Action1<CharacterPlayerResponseModels.GetStatisticsLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
321
327
|
getStatisticsLogAsync(requestData: CharacterPlayerModels.AdminGetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<CharacterPlayerResponseModels.GetStatisticsLogOperationResponse>;
|
|
322
328
|
getCurrencyLog(requestData: CharacterPlayerModels.AdminGetCurrencyLogRequestData, onResponse?: Action1<CharacterPlayerResponseModels.GetCurrencyLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
@@ -416,6 +416,14 @@ export class CharacterPlayerApi {
|
|
|
416
416
|
return GNNetwork.sendViaHttpTRequestTResponseAsync(new CharacterPlayerRequestModels.GetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse);
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
|
+
getLastLoginLeaderboard(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
420
|
+
GNNetwork.sendViaHttpTRequestTResponse(new CharacterPlayerRequestModels.GetLastLoginLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse);
|
|
421
|
+
}
|
|
422
|
+
getLastLoginLeaderboardAsync(requestData_1) {
|
|
423
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
424
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new CharacterPlayerRequestModels.GetLastLoginLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse);
|
|
425
|
+
});
|
|
426
|
+
}
|
|
419
427
|
getStatisticsLog(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
420
428
|
GNNetwork.sendViaHttpTRequestTResponse(new CharacterPlayerRequestModels.GetStatisticsLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetStatisticsLogOperationResponse);
|
|
421
429
|
}
|
|
@@ -834,6 +842,14 @@ export class ServerCharacterPlayerApi {
|
|
|
834
842
|
return GNNetwork.sendViaHttpTRequestTResponseAsync(new CharacterPlayerRequestModels.ServerGetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse);
|
|
835
843
|
});
|
|
836
844
|
}
|
|
845
|
+
getLastLoginLeaderboard(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
846
|
+
GNNetwork.sendViaHttpTRequestTResponse(new CharacterPlayerRequestModels.ServerGetLastLoginLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse);
|
|
847
|
+
}
|
|
848
|
+
getLastLoginLeaderboardAsync(requestData_1) {
|
|
849
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
850
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new CharacterPlayerRequestModels.ServerGetLastLoginLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse);
|
|
851
|
+
});
|
|
852
|
+
}
|
|
837
853
|
getStatisticsLog(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
838
854
|
GNNetwork.sendViaHttpTRequestTResponse(new CharacterPlayerRequestModels.ServerGetStatisticsLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetStatisticsLogOperationResponse);
|
|
839
855
|
}
|
|
@@ -1252,6 +1268,14 @@ export class AdminCharacterPlayerApi {
|
|
|
1252
1268
|
return GNNetwork.sendViaHttpTRequestTResponseAsync(new CharacterPlayerRequestModels.AdminGetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse);
|
|
1253
1269
|
});
|
|
1254
1270
|
}
|
|
1271
|
+
getLastLoginLeaderboard(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
1272
|
+
GNNetwork.sendViaHttpTRequestTResponse(new CharacterPlayerRequestModels.AdminGetLastLoginLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse);
|
|
1273
|
+
}
|
|
1274
|
+
getLastLoginLeaderboardAsync(requestData_1) {
|
|
1275
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
1276
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new CharacterPlayerRequestModels.AdminGetLastLoginLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse);
|
|
1277
|
+
});
|
|
1278
|
+
}
|
|
1255
1279
|
getStatisticsLog(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
1256
1280
|
GNNetwork.sendViaHttpTRequestTResponse(new CharacterPlayerRequestModels.AdminGetStatisticsLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, CharacterPlayerResponseModels.GetStatisticsLogOperationResponse);
|
|
1257
1281
|
}
|
|
@@ -29,6 +29,10 @@ export declare class StoreInventoryApi {
|
|
|
29
29
|
presentStoreItemAsync(requestData: StoreInventoryModels.PresentStoreItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.PresentStoreItemOperationResponse>;
|
|
30
30
|
getStoreLog(requestData: StoreInventoryModels.GetStoreLogRequestData, onResponse?: Action1<StoreInventoryResponseModels.GetStoreLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
31
31
|
getStoreLogAsync(requestData: StoreInventoryModels.GetStoreLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GetStoreLogOperationResponse>;
|
|
32
|
+
getStoreUsed(requestData: StoreInventoryModels.GetStoreUsedRequestData, onResponse?: Action1<StoreInventoryResponseModels.GetStoreUsedOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
33
|
+
getStoreUsedAsync(requestData: StoreInventoryModels.GetStoreUsedRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GetStoreUsedOperationResponse>;
|
|
34
|
+
removeStoreUsed(requestData: StoreInventoryModels.RemoveStoreUsedRequestData, onResponse?: Action1<StoreInventoryResponseModels.RemoveStoreUsedOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
35
|
+
removeStoreUsedAsync(requestData: StoreInventoryModels.RemoveStoreUsedRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.RemoveStoreUsedOperationResponse>;
|
|
32
36
|
}
|
|
33
37
|
export declare class ServerStoreInventoryApi {
|
|
34
38
|
buyStoreItem(requestData: StoreInventoryModels.ServerBuyStoreItemRequestData, onResponse?: Action1<StoreInventoryResponseModels.BuyStoreItemOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
@@ -55,6 +59,10 @@ export declare class ServerStoreInventoryApi {
|
|
|
55
59
|
presentStoreItemAsync(requestData: StoreInventoryModels.ServerPresentStoreItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.PresentStoreItemOperationResponse>;
|
|
56
60
|
getStoreLog(requestData: StoreInventoryModels.ServerGetStoreLogRequestData, onResponse?: Action1<StoreInventoryResponseModels.GetStoreLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
57
61
|
getStoreLogAsync(requestData: StoreInventoryModels.ServerGetStoreLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GetStoreLogOperationResponse>;
|
|
62
|
+
getStoreUsed(requestData: StoreInventoryModels.ServerGetStoreUsedRequestData, onResponse?: Action1<StoreInventoryResponseModels.GetStoreUsedOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
63
|
+
getStoreUsedAsync(requestData: StoreInventoryModels.ServerGetStoreUsedRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GetStoreUsedOperationResponse>;
|
|
64
|
+
removeStoreUsed(requestData: StoreInventoryModels.ServerRemoveStoreUsedRequestData, onResponse?: Action1<StoreInventoryResponseModels.RemoveStoreUsedOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
65
|
+
removeStoreUsedAsync(requestData: StoreInventoryModels.ServerRemoveStoreUsedRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.RemoveStoreUsedOperationResponse>;
|
|
58
66
|
}
|
|
59
67
|
export declare class AdminStoreInventoryApi {
|
|
60
68
|
buyStoreItem(requestData: StoreInventoryModels.AdminBuyStoreItemRequestData, onResponse?: Action1<StoreInventoryResponseModels.BuyStoreItemOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
@@ -81,4 +89,8 @@ export declare class AdminStoreInventoryApi {
|
|
|
81
89
|
presentStoreItemAsync(requestData: StoreInventoryModels.AdminPresentStoreItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.PresentStoreItemOperationResponse>;
|
|
82
90
|
getStoreLog(requestData: StoreInventoryModels.AdminGetStoreLogRequestData, onResponse?: Action1<StoreInventoryResponseModels.GetStoreLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
83
91
|
getStoreLogAsync(requestData: StoreInventoryModels.AdminGetStoreLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GetStoreLogOperationResponse>;
|
|
92
|
+
getStoreUsed(requestData: StoreInventoryModels.AdminGetStoreUsedRequestData, onResponse?: Action1<StoreInventoryResponseModels.GetStoreUsedOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
93
|
+
getStoreUsedAsync(requestData: StoreInventoryModels.AdminGetStoreUsedRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GetStoreUsedOperationResponse>;
|
|
94
|
+
removeStoreUsed(requestData: StoreInventoryModels.AdminRemoveStoreUsedRequestData, onResponse?: Action1<StoreInventoryResponseModels.RemoveStoreUsedOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
95
|
+
removeStoreUsedAsync(requestData: StoreInventoryModels.AdminRemoveStoreUsedRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.RemoveStoreUsedOperationResponse>;
|
|
84
96
|
}
|
|
@@ -112,6 +112,22 @@ export class StoreInventoryApi {
|
|
|
112
112
|
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.GetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreLogOperationResponse);
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
+
getStoreUsed(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
116
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.GetStoreUsedOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreUsedOperationResponse);
|
|
117
|
+
}
|
|
118
|
+
getStoreUsedAsync(requestData_1) {
|
|
119
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
120
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.GetStoreUsedOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreUsedOperationResponse);
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
removeStoreUsed(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
124
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.RemoveStoreUsedOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.RemoveStoreUsedOperationResponse);
|
|
125
|
+
}
|
|
126
|
+
removeStoreUsedAsync(requestData_1) {
|
|
127
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
128
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.RemoveStoreUsedOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.RemoveStoreUsedOperationResponse);
|
|
129
|
+
});
|
|
130
|
+
}
|
|
115
131
|
}
|
|
116
132
|
export class ServerStoreInventoryApi {
|
|
117
133
|
buyStoreItem(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
@@ -210,6 +226,22 @@ export class ServerStoreInventoryApi {
|
|
|
210
226
|
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerGetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreLogOperationResponse);
|
|
211
227
|
});
|
|
212
228
|
}
|
|
229
|
+
getStoreUsed(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
230
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerGetStoreUsedOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreUsedOperationResponse);
|
|
231
|
+
}
|
|
232
|
+
getStoreUsedAsync(requestData_1) {
|
|
233
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
234
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerGetStoreUsedOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreUsedOperationResponse);
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
removeStoreUsed(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
238
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.ServerRemoveStoreUsedOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.RemoveStoreUsedOperationResponse);
|
|
239
|
+
}
|
|
240
|
+
removeStoreUsedAsync(requestData_1) {
|
|
241
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
242
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.ServerRemoveStoreUsedOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.RemoveStoreUsedOperationResponse);
|
|
243
|
+
});
|
|
244
|
+
}
|
|
213
245
|
}
|
|
214
246
|
export class AdminStoreInventoryApi {
|
|
215
247
|
buyStoreItem(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
@@ -308,4 +340,20 @@ export class AdminStoreInventoryApi {
|
|
|
308
340
|
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminGetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreLogOperationResponse);
|
|
309
341
|
});
|
|
310
342
|
}
|
|
343
|
+
getStoreUsed(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
344
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminGetStoreUsedOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreUsedOperationResponse);
|
|
345
|
+
}
|
|
346
|
+
getStoreUsedAsync(requestData_1) {
|
|
347
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
348
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminGetStoreUsedOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.GetStoreUsedOperationResponse);
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
removeStoreUsed(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
352
|
+
GNNetwork.sendViaHttpTRequestTResponse(new StoreInventoryRequestModels.AdminRemoveStoreUsedOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.RemoveStoreUsedOperationResponse);
|
|
353
|
+
}
|
|
354
|
+
removeStoreUsedAsync(requestData_1) {
|
|
355
|
+
return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
356
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new StoreInventoryRequestModels.AdminRemoveStoreUsedOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, StoreInventoryResponseModels.RemoveStoreUsedOperationResponse);
|
|
357
|
+
});
|
|
358
|
+
}
|
|
311
359
|
}
|
|
@@ -2,6 +2,7 @@ import { LogType } from "./../logger/GNDebug";
|
|
|
2
2
|
export interface GNServerSettingsOptions {
|
|
3
3
|
serverAddress: string;
|
|
4
4
|
serverPort: number;
|
|
5
|
+
serverSocketPort: number;
|
|
5
6
|
useSsl: boolean;
|
|
6
7
|
useSocket: boolean;
|
|
7
8
|
useHttp: boolean;
|
|
@@ -18,6 +19,7 @@ export interface GNServerSettingsOptions {
|
|
|
18
19
|
export declare class GNServerSettings {
|
|
19
20
|
private serverAddress;
|
|
20
21
|
private serverPort;
|
|
22
|
+
private serverSocketPort;
|
|
21
23
|
private useSsl;
|
|
22
24
|
private useSocket;
|
|
23
25
|
private useHttp;
|
|
@@ -35,6 +37,8 @@ export declare class GNServerSettings {
|
|
|
35
37
|
setServerAddress(serverAddress: string): void;
|
|
36
38
|
getServerPort(): number;
|
|
37
39
|
setServerPort(serverPort: number): void;
|
|
40
|
+
getServerSocketPort(): number;
|
|
41
|
+
setServerSocketPort(serverSocketPort: number): void;
|
|
38
42
|
isUseSsl(): boolean;
|
|
39
43
|
setUseSsl(useSsl: boolean): void;
|
|
40
44
|
isUseSocket(): boolean;
|
|
@@ -3,6 +3,7 @@ export class GNServerSettings {
|
|
|
3
3
|
constructor() {
|
|
4
4
|
this.serverAddress = "127.0.0.1";
|
|
5
5
|
this.serverPort = 2202;
|
|
6
|
+
this.serverSocketPort = 2901;
|
|
6
7
|
this.useSsl = false;
|
|
7
8
|
this.useSocket = true;
|
|
8
9
|
this.useHttp = true;
|
|
@@ -15,6 +16,7 @@ export class GNServerSettings {
|
|
|
15
16
|
config(options) {
|
|
16
17
|
this.serverAddress = options.serverAddress;
|
|
17
18
|
this.serverPort = options.serverPort;
|
|
19
|
+
this.serverSocketPort = options.serverSocketPort;
|
|
18
20
|
this.useSsl = options.useSsl;
|
|
19
21
|
this.useSocket = options.useSocket;
|
|
20
22
|
this.useHttp = options.useHttp;
|
|
@@ -40,6 +42,12 @@ export class GNServerSettings {
|
|
|
40
42
|
setServerPort(serverPort) {
|
|
41
43
|
this.serverPort = serverPort;
|
|
42
44
|
}
|
|
45
|
+
getServerSocketPort() {
|
|
46
|
+
return this.serverSocketPort;
|
|
47
|
+
}
|
|
48
|
+
setServerSocketPort(serverSocketPort) {
|
|
49
|
+
this.serverSocketPort = serverSocketPort;
|
|
50
|
+
}
|
|
43
51
|
isUseSsl() {
|
|
44
52
|
return this.useSsl;
|
|
45
53
|
}
|
|
@@ -113,10 +121,10 @@ export class GNServerSettings {
|
|
|
113
121
|
this.logType = logType;
|
|
114
122
|
}
|
|
115
123
|
getSocketUrl() {
|
|
116
|
-
if (this.
|
|
124
|
+
if (this.serverSocketPort < 0)
|
|
117
125
|
return (this.useSsl ? "https" : "http") + "://" + this.serverAddress;
|
|
118
126
|
else
|
|
119
|
-
return (this.useSsl ? "https" : "http") + "://" + this.serverAddress + ":" + this.
|
|
127
|
+
return (this.useSsl ? "https" : "http") + "://" + this.serverAddress + ":" + this.serverSocketPort;
|
|
120
128
|
}
|
|
121
129
|
getHttpUrl() {
|
|
122
130
|
if (this.serverPort < 0)
|
|
@@ -216,4 +216,6 @@ export declare class OperationCode {
|
|
|
216
216
|
static readonly AddPushNotification: number;
|
|
217
217
|
static readonly RemovePushNotification: number;
|
|
218
218
|
static readonly GetPushNotification: number;
|
|
219
|
+
static readonly GetStoreUsed: number;
|
|
220
|
+
static readonly RemoveStoreUsed: number;
|
|
219
221
|
}
|
|
@@ -47,4 +47,6 @@ export declare class GNErrorCode {
|
|
|
47
47
|
static readonly ExecuteError: number;
|
|
48
48
|
static readonly VersionInvalid: number;
|
|
49
49
|
static readonly EmailInvalid: number;
|
|
50
|
+
static readonly StoreItemHadPurchaseAndNonConsumable: number;
|
|
51
|
+
static readonly StoreItemHadExists: number;
|
|
50
52
|
}
|
|
@@ -586,4 +586,8 @@ export declare class GNParameterCode {
|
|
|
586
586
|
static readonly CloudScriptGBs: string;
|
|
587
587
|
static readonly StorageSizeInBytes: string;
|
|
588
588
|
static readonly DataTransferSizeInBytes: string;
|
|
589
|
+
static readonly StoreItemType: string;
|
|
590
|
+
static readonly OwnerIds: string;
|
|
591
|
+
static readonly GetStoreUsed: string;
|
|
592
|
+
static readonly RemoveStoreUsed: string;
|
|
589
593
|
}
|
|
@@ -587,3 +587,7 @@ GNParameterCode.MatchmakingRequestCount = "matchmakingRequestCount";
|
|
|
587
587
|
GNParameterCode.CloudScriptGBs = "cloudScriptGBs";
|
|
588
588
|
GNParameterCode.StorageSizeInBytes = "storageSizeInBytes";
|
|
589
589
|
GNParameterCode.DataTransferSizeInBytes = "dataTransferSizeInBytes";
|
|
590
|
+
GNParameterCode.StoreItemType = "storeItemType";
|
|
591
|
+
GNParameterCode.OwnerIds = "ownerIds";
|
|
592
|
+
GNParameterCode.GetStoreUsed = "getStoreUsed";
|
|
593
|
+
GNParameterCode.RemoveStoreUsed = "removeStoreUsed";
|
|
@@ -297,6 +297,16 @@ export declare namespace CharacterPlayerModels {
|
|
|
297
297
|
}
|
|
298
298
|
class AdminGetCreateLeaderboardRequestData extends ServerGetCreateLeaderboardRequestData {
|
|
299
299
|
}
|
|
300
|
+
class GetLastLoginLeaderboardRequestData {
|
|
301
|
+
infoRequestParam: InfoRequestParam;
|
|
302
|
+
skip?: number;
|
|
303
|
+
limit?: number;
|
|
304
|
+
loadFromCache?: boolean;
|
|
305
|
+
}
|
|
306
|
+
class ServerGetLastLoginLeaderboardRequestData extends GetLastLoginLeaderboardRequestData {
|
|
307
|
+
}
|
|
308
|
+
class AdminGetLastLoginLeaderboardRequestData extends ServerGetLastLoginLeaderboardRequestData {
|
|
309
|
+
}
|
|
300
310
|
class GetTagRequestData {
|
|
301
311
|
characterId: string;
|
|
302
312
|
tagKeys: Array<string>;
|
|
@@ -554,6 +564,9 @@ export declare namespace CharacterPlayerModels {
|
|
|
554
564
|
class GetCreateLeaderboardResponseData {
|
|
555
565
|
results: Array<CharacterPlayerLeaderboardResponseData>;
|
|
556
566
|
}
|
|
567
|
+
class GetLastLoginLeaderboardResponseData {
|
|
568
|
+
results: Array<CharacterPlayerLeaderboardResponseData>;
|
|
569
|
+
}
|
|
557
570
|
class GetStatisticsLogResponseData {
|
|
558
571
|
results: Array<CharacterPlayerLogResponseData>;
|
|
559
572
|
token?: string;
|
|
@@ -750,6 +750,31 @@ export var CharacterPlayerModels;
|
|
|
750
750
|
class AdminGetCreateLeaderboardRequestData extends ServerGetCreateLeaderboardRequestData {
|
|
751
751
|
}
|
|
752
752
|
CharacterPlayerModels.AdminGetCreateLeaderboardRequestData = AdminGetCreateLeaderboardRequestData;
|
|
753
|
+
class GetLastLoginLeaderboardRequestData {
|
|
754
|
+
}
|
|
755
|
+
__decorate([
|
|
756
|
+
GNHashtableDataMember({ code: GNParameterCode.InfoRequestParam, mustNonNull: true }),
|
|
757
|
+
__metadata("design:type", InfoRequestParam)
|
|
758
|
+
], GetLastLoginLeaderboardRequestData.prototype, "infoRequestParam", void 0);
|
|
759
|
+
__decorate([
|
|
760
|
+
NumberDataMember({ code: GNParameterCode.Skip, defaultValue: 0, minValue: 0, mustInt: true, isOptional: true }),
|
|
761
|
+
__metadata("design:type", Number)
|
|
762
|
+
], GetLastLoginLeaderboardRequestData.prototype, "skip", void 0);
|
|
763
|
+
__decorate([
|
|
764
|
+
NumberDataMember({ code: GNParameterCode.Limit, defaultValue: 10, minValue: 1, maxValue: 100, mustInt: true, isOptional: true }),
|
|
765
|
+
__metadata("design:type", Number)
|
|
766
|
+
], GetLastLoginLeaderboardRequestData.prototype, "limit", void 0);
|
|
767
|
+
__decorate([
|
|
768
|
+
BooleanDataMember({ code: GNParameterCode.LoadFromCache, defaultValue: true, isOptional: true }),
|
|
769
|
+
__metadata("design:type", Boolean)
|
|
770
|
+
], GetLastLoginLeaderboardRequestData.prototype, "loadFromCache", void 0);
|
|
771
|
+
CharacterPlayerModels.GetLastLoginLeaderboardRequestData = GetLastLoginLeaderboardRequestData;
|
|
772
|
+
class ServerGetLastLoginLeaderboardRequestData extends GetLastLoginLeaderboardRequestData {
|
|
773
|
+
}
|
|
774
|
+
CharacterPlayerModels.ServerGetLastLoginLeaderboardRequestData = ServerGetLastLoginLeaderboardRequestData;
|
|
775
|
+
class AdminGetLastLoginLeaderboardRequestData extends ServerGetLastLoginLeaderboardRequestData {
|
|
776
|
+
}
|
|
777
|
+
CharacterPlayerModels.AdminGetLastLoginLeaderboardRequestData = AdminGetLastLoginLeaderboardRequestData;
|
|
753
778
|
class GetTagRequestData {
|
|
754
779
|
}
|
|
755
780
|
__decorate([
|
|
@@ -1373,6 +1398,13 @@ export var CharacterPlayerModels;
|
|
|
1373
1398
|
__metadata("design:type", Array)
|
|
1374
1399
|
], GetCreateLeaderboardResponseData.prototype, "results", void 0);
|
|
1375
1400
|
CharacterPlayerModels.GetCreateLeaderboardResponseData = GetCreateLeaderboardResponseData;
|
|
1401
|
+
class GetLastLoginLeaderboardResponseData {
|
|
1402
|
+
}
|
|
1403
|
+
__decorate([
|
|
1404
|
+
GNArrayDataMember({ code: GNParameterCode.Results, elementCls: CharacterPlayerLeaderboardResponseData }),
|
|
1405
|
+
__metadata("design:type", Array)
|
|
1406
|
+
], GetLastLoginLeaderboardResponseData.prototype, "results", void 0);
|
|
1407
|
+
CharacterPlayerModels.GetLastLoginLeaderboardResponseData = GetLastLoginLeaderboardResponseData;
|
|
1376
1408
|
class GetStatisticsLogResponseData {
|
|
1377
1409
|
}
|
|
1378
1410
|
__decorate([
|
|
@@ -753,6 +753,21 @@ export declare namespace CharacterPlayerRequestModels {
|
|
|
753
753
|
protected requestRole: RequestRole;
|
|
754
754
|
constructor(requestData: CharacterPlayerModels.AdminGetCreateLeaderboardRequestData, timeout: number);
|
|
755
755
|
}
|
|
756
|
+
class GetLastLoginLeaderboardOperationRequest extends CustomOperationRequestAbstract<CharacterPlayerModels.GetLastLoginLeaderboardRequestData> {
|
|
757
|
+
protected operationCode: number;
|
|
758
|
+
protected operationEncrypted: boolean;
|
|
759
|
+
protected requestType: RequestType;
|
|
760
|
+
protected requestRole: RequestRole;
|
|
761
|
+
constructor(requestData: CharacterPlayerModels.GetLastLoginLeaderboardRequestData, timeout: number);
|
|
762
|
+
}
|
|
763
|
+
class ServerGetLastLoginLeaderboardOperationRequest extends GetLastLoginLeaderboardOperationRequest {
|
|
764
|
+
protected requestRole: RequestRole;
|
|
765
|
+
constructor(requestData: CharacterPlayerModels.ServerGetLastLoginLeaderboardRequestData, timeout: number);
|
|
766
|
+
}
|
|
767
|
+
class AdminGetLastLoginLeaderboardOperationRequest extends GetLastLoginLeaderboardOperationRequest {
|
|
768
|
+
protected requestRole: RequestRole;
|
|
769
|
+
constructor(requestData: CharacterPlayerModels.AdminGetLastLoginLeaderboardRequestData, timeout: number);
|
|
770
|
+
}
|
|
756
771
|
class GetStatisticsLogOperationRequest extends CustomOperationRequestAbstract<CharacterPlayerModels.GetStatisticsLogRequestData> {
|
|
757
772
|
protected operationCode: number;
|
|
758
773
|
protected operationEncrypted: boolean;
|
|
@@ -1355,6 +1355,33 @@ export var CharacterPlayerRequestModels;
|
|
|
1355
1355
|
}
|
|
1356
1356
|
}
|
|
1357
1357
|
CharacterPlayerRequestModels.AdminGetCreateLeaderboardOperationRequest = AdminGetCreateLeaderboardOperationRequest;
|
|
1358
|
+
class GetLastLoginLeaderboardOperationRequest extends CustomOperationRequestAbstract {
|
|
1359
|
+
constructor(requestData, timeout) {
|
|
1360
|
+
super(requestData, timeout);
|
|
1361
|
+
this.operationCode = OperationCode.GetLastLoginLeaderboard;
|
|
1362
|
+
this.operationEncrypted = true;
|
|
1363
|
+
this.requestType = RequestType.CharacterPlayer;
|
|
1364
|
+
this.requestRole = RequestRole.Client;
|
|
1365
|
+
this.requestDataCls = CharacterPlayerModels.GetLastLoginLeaderboardRequestData;
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
CharacterPlayerRequestModels.GetLastLoginLeaderboardOperationRequest = GetLastLoginLeaderboardOperationRequest;
|
|
1369
|
+
class ServerGetLastLoginLeaderboardOperationRequest extends GetLastLoginLeaderboardOperationRequest {
|
|
1370
|
+
constructor(requestData, timeout) {
|
|
1371
|
+
super(requestData, timeout);
|
|
1372
|
+
this.requestRole = RequestRole.Server;
|
|
1373
|
+
this.requestDataCls = CharacterPlayerModels.ServerGetLastLoginLeaderboardRequestData;
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
CharacterPlayerRequestModels.ServerGetLastLoginLeaderboardOperationRequest = ServerGetLastLoginLeaderboardOperationRequest;
|
|
1377
|
+
class AdminGetLastLoginLeaderboardOperationRequest extends GetLastLoginLeaderboardOperationRequest {
|
|
1378
|
+
constructor(requestData, timeout) {
|
|
1379
|
+
super(requestData, timeout);
|
|
1380
|
+
this.requestRole = RequestRole.Admin;
|
|
1381
|
+
this.requestDataCls = CharacterPlayerModels.AdminGetLastLoginLeaderboardRequestData;
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
CharacterPlayerRequestModels.AdminGetLastLoginLeaderboardOperationRequest = AdminGetLastLoginLeaderboardOperationRequest;
|
|
1358
1385
|
class GetStatisticsLogOperationRequest extends CustomOperationRequestAbstract {
|
|
1359
1386
|
constructor(requestData, timeout) {
|
|
1360
1387
|
super(requestData, timeout);
|
|
@@ -151,6 +151,9 @@ export declare namespace CharacterPlayerResponseModels {
|
|
|
151
151
|
class GetCreateLeaderboardOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetCreateLeaderboardResponseData> {
|
|
152
152
|
constructor();
|
|
153
153
|
}
|
|
154
|
+
class GetLastLoginLeaderboardOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetLastLoginLeaderboardResponseData> {
|
|
155
|
+
constructor();
|
|
156
|
+
}
|
|
154
157
|
class GetStatisticsLogOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetStatisticsLogResponseData> {
|
|
155
158
|
constructor();
|
|
156
159
|
}
|
|
@@ -352,6 +352,13 @@ export var CharacterPlayerResponseModels;
|
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
CharacterPlayerResponseModels.GetCreateLeaderboardOperationResponse = GetCreateLeaderboardOperationResponse;
|
|
355
|
+
class GetLastLoginLeaderboardOperationResponse extends CustomOperationResponseAbstract {
|
|
356
|
+
constructor() {
|
|
357
|
+
super();
|
|
358
|
+
this.responseDataCls = CharacterPlayerModels.GetLastLoginLeaderboardResponseData;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
CharacterPlayerResponseModels.GetLastLoginLeaderboardOperationResponse = GetLastLoginLeaderboardOperationResponse;
|
|
355
362
|
class GetStatisticsLogOperationResponse extends CustomOperationResponseAbstract {
|
|
356
363
|
constructor() {
|
|
357
364
|
super();
|
|
@@ -103,6 +103,7 @@ export declare namespace DashboardModels {
|
|
|
103
103
|
getFriendStatisticsLeaderboard?: PermissionRulesParam;
|
|
104
104
|
getCurrencyLeaderboard?: PermissionRulesParam;
|
|
105
105
|
getCreateLeaderboard?: PermissionRulesParam;
|
|
106
|
+
getLastLoginLeaderboard?: PermissionRulesParam;
|
|
106
107
|
getStatisticsLog?: PermissionRulesParam;
|
|
107
108
|
getCurrencyLog?: PermissionRulesParam;
|
|
108
109
|
}
|
|
@@ -550,6 +551,8 @@ export declare namespace DashboardModels {
|
|
|
550
551
|
getCreateLeaderboard?: PermissionRulesParam;
|
|
551
552
|
presentStoreItem?: PermissionRulesParam;
|
|
552
553
|
getStoreLog?: PermissionRulesParam;
|
|
554
|
+
getStoreUsed?: PermissionRulesParam;
|
|
555
|
+
removeStoreUsed?: PermissionRulesParam;
|
|
553
556
|
}
|
|
554
557
|
class CloudScriptPermissionRulesParam {
|
|
555
558
|
executeFunction?: PermissionRulesParam;
|
|
@@ -376,6 +376,10 @@ export var DashboardModels;
|
|
|
376
376
|
GNHashtableDataMember({ code: GNParameterCode.GetCreateLeaderboard, isOptional: true }),
|
|
377
377
|
__metadata("design:type", PermissionRulesParam)
|
|
378
378
|
], CharacterPlayerPermissionRulesParam.prototype, "getCreateLeaderboard", void 0);
|
|
379
|
+
__decorate([
|
|
380
|
+
GNHashtableDataMember({ code: GNParameterCode.GetLastLoginLeaderboard, isOptional: true }),
|
|
381
|
+
__metadata("design:type", PermissionRulesParam)
|
|
382
|
+
], CharacterPlayerPermissionRulesParam.prototype, "getLastLoginLeaderboard", void 0);
|
|
379
383
|
__decorate([
|
|
380
384
|
GNHashtableDataMember({ code: GNParameterCode.GetStatisticsLog, isOptional: true }),
|
|
381
385
|
__metadata("design:type", PermissionRulesParam)
|
|
@@ -2004,6 +2008,14 @@ export var DashboardModels;
|
|
|
2004
2008
|
GNHashtableDataMember({ code: GNParameterCode.GetStoreLog, isOptional: true }),
|
|
2005
2009
|
__metadata("design:type", PermissionRulesParam)
|
|
2006
2010
|
], StoreInventoryPermissionRulesParam.prototype, "getStoreLog", void 0);
|
|
2011
|
+
__decorate([
|
|
2012
|
+
GNHashtableDataMember({ code: GNParameterCode.GetStoreUsed, isOptional: true }),
|
|
2013
|
+
__metadata("design:type", PermissionRulesParam)
|
|
2014
|
+
], StoreInventoryPermissionRulesParam.prototype, "getStoreUsed", void 0);
|
|
2015
|
+
__decorate([
|
|
2016
|
+
GNHashtableDataMember({ code: GNParameterCode.RemoveStoreUsed, isOptional: true }),
|
|
2017
|
+
__metadata("design:type", PermissionRulesParam)
|
|
2018
|
+
], StoreInventoryPermissionRulesParam.prototype, "removeStoreUsed", void 0);
|
|
2007
2019
|
DashboardModels.StoreInventoryPermissionRulesParam = StoreInventoryPermissionRulesParam;
|
|
2008
2020
|
class CloudScriptPermissionRulesParam {
|
|
2009
2021
|
}
|
|
@@ -16,6 +16,7 @@ export declare namespace StoreInventoryModels {
|
|
|
16
16
|
}
|
|
17
17
|
class InfoRequestParam {
|
|
18
18
|
storeItems?: boolean;
|
|
19
|
+
storeItemType?: boolean;
|
|
19
20
|
storeCurrencies?: boolean;
|
|
20
21
|
priceCurrencies?: boolean;
|
|
21
22
|
inAppPurchase?: boolean;
|
|
@@ -90,6 +91,21 @@ export declare namespace StoreInventoryModels {
|
|
|
90
91
|
}
|
|
91
92
|
class AdminGetStoreLogRequestData extends ServerGetStoreLogRequestData {
|
|
92
93
|
}
|
|
94
|
+
class GetStoreUsedRequestData {
|
|
95
|
+
storeId: string;
|
|
96
|
+
}
|
|
97
|
+
class ServerGetStoreUsedRequestData extends GetStoreUsedRequestData {
|
|
98
|
+
}
|
|
99
|
+
class AdminGetStoreUsedRequestData extends ServerGetStoreUsedRequestData {
|
|
100
|
+
}
|
|
101
|
+
class RemoveStoreUsedRequestData {
|
|
102
|
+
storeId: string;
|
|
103
|
+
ownerIds?: Array<string>;
|
|
104
|
+
}
|
|
105
|
+
class ServerRemoveStoreUsedRequestData extends RemoveStoreUsedRequestData {
|
|
106
|
+
}
|
|
107
|
+
class AdminRemoveStoreUsedRequestData extends ServerRemoveStoreUsedRequestData {
|
|
108
|
+
}
|
|
93
109
|
class GetStoreItemInformationRequestData {
|
|
94
110
|
storeId: string;
|
|
95
111
|
infoRequestParam: InfoRequestParam;
|
|
@@ -127,6 +143,7 @@ export declare namespace StoreInventoryModels {
|
|
|
127
143
|
}
|
|
128
144
|
class SetStoreItemInformationRequestData {
|
|
129
145
|
storeId: string;
|
|
146
|
+
storeItemType: number;
|
|
130
147
|
storeDataParams?: Array<StoreDataParam>;
|
|
131
148
|
storeItemParams?: Array<StoreItemParam>;
|
|
132
149
|
storeCurrencyParams?: Array<CurrencyParam>;
|
|
@@ -182,6 +199,7 @@ export declare namespace StoreInventoryModels {
|
|
|
182
199
|
}
|
|
183
200
|
class InfoResponseParameters {
|
|
184
201
|
storeItems?: Array<StoreInventoryItem>;
|
|
202
|
+
storeItemType?: number;
|
|
185
203
|
storeCurrencies?: Array<PriceCurrencyItem>;
|
|
186
204
|
priceCurrencies?: Array<PriceCurrencyItem>;
|
|
187
205
|
inAppPurchase?: InAppPurchaseItem;
|
|
@@ -248,6 +266,11 @@ export declare namespace StoreInventoryModels {
|
|
|
248
266
|
tsCreate: number;
|
|
249
267
|
log: string;
|
|
250
268
|
}
|
|
269
|
+
class StoreUsedResponseData {
|
|
270
|
+
id: string;
|
|
271
|
+
type: number;
|
|
272
|
+
tsCreate: number;
|
|
273
|
+
}
|
|
251
274
|
class GetCreateLeaderboardResponseData {
|
|
252
275
|
results: Array<StoreInventoryLeaderboardResponseData>;
|
|
253
276
|
}
|
|
@@ -255,6 +278,9 @@ export declare namespace StoreInventoryModels {
|
|
|
255
278
|
results: Array<StoreLogResponseData>;
|
|
256
279
|
token?: string;
|
|
257
280
|
}
|
|
281
|
+
class GetStoreUsedResponseData {
|
|
282
|
+
results: Array<StoreUsedResponseData>;
|
|
283
|
+
}
|
|
258
284
|
class EmptyResponseData {
|
|
259
285
|
}
|
|
260
286
|
}
|
|
@@ -59,6 +59,10 @@ export var StoreInventoryModels;
|
|
|
59
59
|
BooleanDataMember({ code: GNParameterCode.StoreItems, isOptional: true, defaultValue: false }),
|
|
60
60
|
__metadata("design:type", Boolean)
|
|
61
61
|
], InfoRequestParam.prototype, "storeItems", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
BooleanDataMember({ code: GNParameterCode.StoreItemType, isOptional: true, defaultValue: false }),
|
|
64
|
+
__metadata("design:type", Boolean)
|
|
65
|
+
], InfoRequestParam.prototype, "storeItemType", void 0);
|
|
62
66
|
__decorate([
|
|
63
67
|
BooleanDataMember({ code: GNParameterCode.StoreCurrencies, isOptional: true, defaultValue: false }),
|
|
64
68
|
__metadata("design:type", Boolean)
|
|
@@ -196,7 +200,7 @@ export var StoreInventoryModels;
|
|
|
196
200
|
class BuyStoreItemRequestData {
|
|
197
201
|
}
|
|
198
202
|
__decorate([
|
|
199
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
203
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
200
204
|
__metadata("design:type", String)
|
|
201
205
|
], BuyStoreItemRequestData.prototype, "storeId", void 0);
|
|
202
206
|
__decorate([
|
|
@@ -221,7 +225,7 @@ export var StoreInventoryModels;
|
|
|
221
225
|
class PresentStoreItemRequestData {
|
|
222
226
|
}
|
|
223
227
|
__decorate([
|
|
224
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
228
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
225
229
|
__metadata("design:type", String)
|
|
226
230
|
], PresentStoreItemRequestData.prototype, "storeId", void 0);
|
|
227
231
|
__decorate([
|
|
@@ -246,7 +250,7 @@ export var StoreInventoryModels;
|
|
|
246
250
|
class GetStoreLogRequestData {
|
|
247
251
|
}
|
|
248
252
|
__decorate([
|
|
249
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
253
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true, isOptional: true }),
|
|
250
254
|
__metadata("design:type", String)
|
|
251
255
|
], GetStoreLogRequestData.prototype, "storeId", void 0);
|
|
252
256
|
__decorate([
|
|
@@ -272,10 +276,40 @@ export var StoreInventoryModels;
|
|
|
272
276
|
class AdminGetStoreLogRequestData extends ServerGetStoreLogRequestData {
|
|
273
277
|
}
|
|
274
278
|
StoreInventoryModels.AdminGetStoreLogRequestData = AdminGetStoreLogRequestData;
|
|
279
|
+
class GetStoreUsedRequestData {
|
|
280
|
+
}
|
|
281
|
+
__decorate([
|
|
282
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
283
|
+
__metadata("design:type", String)
|
|
284
|
+
], GetStoreUsedRequestData.prototype, "storeId", void 0);
|
|
285
|
+
StoreInventoryModels.GetStoreUsedRequestData = GetStoreUsedRequestData;
|
|
286
|
+
class ServerGetStoreUsedRequestData extends GetStoreUsedRequestData {
|
|
287
|
+
}
|
|
288
|
+
StoreInventoryModels.ServerGetStoreUsedRequestData = ServerGetStoreUsedRequestData;
|
|
289
|
+
class AdminGetStoreUsedRequestData extends ServerGetStoreUsedRequestData {
|
|
290
|
+
}
|
|
291
|
+
StoreInventoryModels.AdminGetStoreUsedRequestData = AdminGetStoreUsedRequestData;
|
|
292
|
+
class RemoveStoreUsedRequestData {
|
|
293
|
+
}
|
|
294
|
+
__decorate([
|
|
295
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
296
|
+
__metadata("design:type", String)
|
|
297
|
+
], RemoveStoreUsedRequestData.prototype, "storeId", void 0);
|
|
298
|
+
__decorate([
|
|
299
|
+
GNArrayDataMember({ code: GNParameterCode.OwnerIds, elementCls: String, isOptional: true }),
|
|
300
|
+
__metadata("design:type", Array)
|
|
301
|
+
], RemoveStoreUsedRequestData.prototype, "ownerIds", void 0);
|
|
302
|
+
StoreInventoryModels.RemoveStoreUsedRequestData = RemoveStoreUsedRequestData;
|
|
303
|
+
class ServerRemoveStoreUsedRequestData extends RemoveStoreUsedRequestData {
|
|
304
|
+
}
|
|
305
|
+
StoreInventoryModels.ServerRemoveStoreUsedRequestData = ServerRemoveStoreUsedRequestData;
|
|
306
|
+
class AdminRemoveStoreUsedRequestData extends ServerRemoveStoreUsedRequestData {
|
|
307
|
+
}
|
|
308
|
+
StoreInventoryModels.AdminRemoveStoreUsedRequestData = AdminRemoveStoreUsedRequestData;
|
|
275
309
|
class GetStoreItemInformationRequestData {
|
|
276
310
|
}
|
|
277
311
|
__decorate([
|
|
278
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
312
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
279
313
|
__metadata("design:type", String)
|
|
280
314
|
], GetStoreItemInformationRequestData.prototype, "storeId", void 0);
|
|
281
315
|
__decorate([
|
|
@@ -321,7 +355,7 @@ export var StoreInventoryModels;
|
|
|
321
355
|
class GrantStoreItemRequestData {
|
|
322
356
|
}
|
|
323
357
|
__decorate([
|
|
324
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
358
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true, isOptional: true }),
|
|
325
359
|
__metadata("design:type", String)
|
|
326
360
|
], GrantStoreItemRequestData.prototype, "storeId", void 0);
|
|
327
361
|
__decorate([
|
|
@@ -338,7 +372,7 @@ export var StoreInventoryModels;
|
|
|
338
372
|
class SetRemoveStatusRequestData {
|
|
339
373
|
}
|
|
340
374
|
__decorate([
|
|
341
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
375
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
342
376
|
__metadata("design:type", String)
|
|
343
377
|
], SetRemoveStatusRequestData.prototype, "storeId", void 0);
|
|
344
378
|
__decorate([
|
|
@@ -355,9 +389,13 @@ export var StoreInventoryModels;
|
|
|
355
389
|
class SetStoreItemInformationRequestData {
|
|
356
390
|
}
|
|
357
391
|
__decorate([
|
|
358
|
-
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength:
|
|
392
|
+
StringDataMember({ code: GNParameterCode.StoreId, minLength: 10, maxLength: 32, mustNonNull: true }),
|
|
359
393
|
__metadata("design:type", String)
|
|
360
394
|
], SetStoreItemInformationRequestData.prototype, "storeId", void 0);
|
|
395
|
+
__decorate([
|
|
396
|
+
NumberDataMember({ code: GNParameterCode.StoreItemType, minValue: 1, maxValue: 2, mustInt: true, isOptional: true }),
|
|
397
|
+
__metadata("design:type", Number)
|
|
398
|
+
], SetStoreItemInformationRequestData.prototype, "storeItemType", void 0);
|
|
361
399
|
__decorate([
|
|
362
400
|
GNArrayDataMember({ code: GNParameterCode.StoreDatas, minLength: 0, maxLength: 32, mustNonNull: true, isOptional: true, elementCls: StoreDataParam }),
|
|
363
401
|
__metadata("design:type", Array)
|
|
@@ -503,6 +541,10 @@ export var StoreInventoryModels;
|
|
|
503
541
|
GNArrayDataMember({ code: GNParameterCode.StoreItems, isOptional: true, elementCls: StoreInventoryItem }),
|
|
504
542
|
__metadata("design:type", Array)
|
|
505
543
|
], InfoResponseParameters.prototype, "storeItems", void 0);
|
|
544
|
+
__decorate([
|
|
545
|
+
NumberDataMember({ code: GNParameterCode.StoreItemType, isOptional: true }),
|
|
546
|
+
__metadata("design:type", Number)
|
|
547
|
+
], InfoResponseParameters.prototype, "storeItemType", void 0);
|
|
506
548
|
__decorate([
|
|
507
549
|
GNArrayDataMember({ code: GNParameterCode.StoreCurrencies, isOptional: true, elementCls: PriceCurrencyItem }),
|
|
508
550
|
__metadata("design:type", Array)
|
|
@@ -709,6 +751,21 @@ export var StoreInventoryModels;
|
|
|
709
751
|
__metadata("design:type", String)
|
|
710
752
|
], StoreLogResponseData.prototype, "log", void 0);
|
|
711
753
|
StoreInventoryModels.StoreLogResponseData = StoreLogResponseData;
|
|
754
|
+
class StoreUsedResponseData {
|
|
755
|
+
}
|
|
756
|
+
__decorate([
|
|
757
|
+
StringDataMember({ code: GNParameterCode.OwnerId }),
|
|
758
|
+
__metadata("design:type", String)
|
|
759
|
+
], StoreUsedResponseData.prototype, "id", void 0);
|
|
760
|
+
__decorate([
|
|
761
|
+
NumberDataMember({ code: GNParameterCode.OwnerType }),
|
|
762
|
+
__metadata("design:type", Number)
|
|
763
|
+
], StoreUsedResponseData.prototype, "type", void 0);
|
|
764
|
+
__decorate([
|
|
765
|
+
NumberDataMember({ code: GNParameterCode.TsCreate }),
|
|
766
|
+
__metadata("design:type", Number)
|
|
767
|
+
], StoreUsedResponseData.prototype, "tsCreate", void 0);
|
|
768
|
+
StoreInventoryModels.StoreUsedResponseData = StoreUsedResponseData;
|
|
712
769
|
class GetCreateLeaderboardResponseData {
|
|
713
770
|
}
|
|
714
771
|
__decorate([
|
|
@@ -727,6 +784,13 @@ export var StoreInventoryModels;
|
|
|
727
784
|
__metadata("design:type", String)
|
|
728
785
|
], GetStoreLogResponseData.prototype, "token", void 0);
|
|
729
786
|
StoreInventoryModels.GetStoreLogResponseData = GetStoreLogResponseData;
|
|
787
|
+
class GetStoreUsedResponseData {
|
|
788
|
+
}
|
|
789
|
+
__decorate([
|
|
790
|
+
GNArrayDataMember({ code: GNParameterCode.Results, elementCls: StoreUsedResponseData }),
|
|
791
|
+
__metadata("design:type", Array)
|
|
792
|
+
], GetStoreUsedResponseData.prototype, "results", void 0);
|
|
793
|
+
StoreInventoryModels.GetStoreUsedResponseData = GetStoreUsedResponseData;
|
|
730
794
|
class EmptyResponseData {
|
|
731
795
|
}
|
|
732
796
|
StoreInventoryModels.EmptyResponseData = EmptyResponseData;
|
|
@@ -183,4 +183,34 @@ export declare namespace StoreInventoryRequestModels {
|
|
|
183
183
|
protected requestRole: RequestRole;
|
|
184
184
|
constructor(requestData: StoreInventoryModels.AdminGetStoreLogRequestData, timeout: number);
|
|
185
185
|
}
|
|
186
|
+
class GetStoreUsedOperationRequest extends CustomOperationRequestAbstract<StoreInventoryModels.GetStoreUsedRequestData> {
|
|
187
|
+
protected operationCode: number;
|
|
188
|
+
protected operationEncrypted: boolean;
|
|
189
|
+
protected requestType: RequestType;
|
|
190
|
+
protected requestRole: RequestRole;
|
|
191
|
+
constructor(requestData: StoreInventoryModels.GetStoreUsedRequestData, timeout: number);
|
|
192
|
+
}
|
|
193
|
+
class ServerGetStoreUsedOperationRequest extends GetStoreUsedOperationRequest {
|
|
194
|
+
protected requestRole: RequestRole;
|
|
195
|
+
constructor(requestData: StoreInventoryModels.ServerGetStoreUsedRequestData, timeout: number);
|
|
196
|
+
}
|
|
197
|
+
class AdminGetStoreUsedOperationRequest extends GetStoreUsedOperationRequest {
|
|
198
|
+
protected requestRole: RequestRole;
|
|
199
|
+
constructor(requestData: StoreInventoryModels.AdminGetStoreUsedRequestData, timeout: number);
|
|
200
|
+
}
|
|
201
|
+
class RemoveStoreUsedOperationRequest extends CustomOperationRequestAbstract<StoreInventoryModels.RemoveStoreUsedRequestData> {
|
|
202
|
+
protected operationCode: number;
|
|
203
|
+
protected operationEncrypted: boolean;
|
|
204
|
+
protected requestType: RequestType;
|
|
205
|
+
protected requestRole: RequestRole;
|
|
206
|
+
constructor(requestData: StoreInventoryModels.RemoveStoreUsedRequestData, timeout: number);
|
|
207
|
+
}
|
|
208
|
+
class ServerRemoveStoreUsedOperationRequest extends RemoveStoreUsedOperationRequest {
|
|
209
|
+
protected requestRole: RequestRole;
|
|
210
|
+
constructor(requestData: StoreInventoryModels.ServerRemoveStoreUsedRequestData, timeout: number);
|
|
211
|
+
}
|
|
212
|
+
class AdminRemoveStoreUsedOperationRequest extends RemoveStoreUsedOperationRequest {
|
|
213
|
+
protected requestRole: RequestRole;
|
|
214
|
+
constructor(requestData: StoreInventoryModels.AdminRemoveStoreUsedRequestData, timeout: number);
|
|
215
|
+
}
|
|
186
216
|
}
|
|
@@ -329,4 +329,58 @@ export var StoreInventoryRequestModels;
|
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
StoreInventoryRequestModels.AdminGetStoreLogOperationRequest = AdminGetStoreLogOperationRequest;
|
|
332
|
+
class GetStoreUsedOperationRequest extends CustomOperationRequestAbstract {
|
|
333
|
+
constructor(requestData, timeout) {
|
|
334
|
+
super(requestData, timeout);
|
|
335
|
+
this.operationCode = OperationCode.GetStoreUsed;
|
|
336
|
+
this.operationEncrypted = true;
|
|
337
|
+
this.requestType = RequestType.StoreInventory;
|
|
338
|
+
this.requestRole = RequestRole.Client;
|
|
339
|
+
this.requestDataCls = StoreInventoryModels.GetStoreUsedRequestData;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
StoreInventoryRequestModels.GetStoreUsedOperationRequest = GetStoreUsedOperationRequest;
|
|
343
|
+
class ServerGetStoreUsedOperationRequest extends GetStoreUsedOperationRequest {
|
|
344
|
+
constructor(requestData, timeout) {
|
|
345
|
+
super(requestData, timeout);
|
|
346
|
+
this.requestRole = RequestRole.Server;
|
|
347
|
+
this.requestDataCls = StoreInventoryModels.ServerGetStoreUsedRequestData;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
StoreInventoryRequestModels.ServerGetStoreUsedOperationRequest = ServerGetStoreUsedOperationRequest;
|
|
351
|
+
class AdminGetStoreUsedOperationRequest extends GetStoreUsedOperationRequest {
|
|
352
|
+
constructor(requestData, timeout) {
|
|
353
|
+
super(requestData, timeout);
|
|
354
|
+
this.requestRole = RequestRole.Admin;
|
|
355
|
+
this.requestDataCls = StoreInventoryModels.AdminGetStoreUsedRequestData;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
StoreInventoryRequestModels.AdminGetStoreUsedOperationRequest = AdminGetStoreUsedOperationRequest;
|
|
359
|
+
class RemoveStoreUsedOperationRequest extends CustomOperationRequestAbstract {
|
|
360
|
+
constructor(requestData, timeout) {
|
|
361
|
+
super(requestData, timeout);
|
|
362
|
+
this.operationCode = OperationCode.RemoveStoreUsed;
|
|
363
|
+
this.operationEncrypted = true;
|
|
364
|
+
this.requestType = RequestType.StoreInventory;
|
|
365
|
+
this.requestRole = RequestRole.Client;
|
|
366
|
+
this.requestDataCls = StoreInventoryModels.RemoveStoreUsedRequestData;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
StoreInventoryRequestModels.RemoveStoreUsedOperationRequest = RemoveStoreUsedOperationRequest;
|
|
370
|
+
class ServerRemoveStoreUsedOperationRequest extends RemoveStoreUsedOperationRequest {
|
|
371
|
+
constructor(requestData, timeout) {
|
|
372
|
+
super(requestData, timeout);
|
|
373
|
+
this.requestRole = RequestRole.Server;
|
|
374
|
+
this.requestDataCls = StoreInventoryModels.ServerRemoveStoreUsedRequestData;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
StoreInventoryRequestModels.ServerRemoveStoreUsedOperationRequest = ServerRemoveStoreUsedOperationRequest;
|
|
378
|
+
class AdminRemoveStoreUsedOperationRequest extends RemoveStoreUsedOperationRequest {
|
|
379
|
+
constructor(requestData, timeout) {
|
|
380
|
+
super(requestData, timeout);
|
|
381
|
+
this.requestRole = RequestRole.Admin;
|
|
382
|
+
this.requestDataCls = StoreInventoryModels.AdminRemoveStoreUsedRequestData;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
StoreInventoryRequestModels.AdminRemoveStoreUsedOperationRequest = AdminRemoveStoreUsedOperationRequest;
|
|
332
386
|
})(StoreInventoryRequestModels || (StoreInventoryRequestModels = {}));
|
|
@@ -37,4 +37,10 @@ export declare namespace StoreInventoryResponseModels {
|
|
|
37
37
|
class PresentStoreItemOperationResponse extends CustomOperationResponseAbstract<StoreInventoryModels.PresentStoreInventoryResponseData> {
|
|
38
38
|
constructor();
|
|
39
39
|
}
|
|
40
|
+
class GetStoreUsedOperationResponse extends CustomOperationResponseAbstract<StoreInventoryModels.GetStoreUsedResponseData> {
|
|
41
|
+
constructor();
|
|
42
|
+
}
|
|
43
|
+
class RemoveStoreUsedOperationResponse extends CustomOperationResponseAbstract<StoreInventoryModels.EmptyResponseData> {
|
|
44
|
+
constructor();
|
|
45
|
+
}
|
|
40
46
|
}
|
|
@@ -86,4 +86,18 @@ export var StoreInventoryResponseModels;
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
StoreInventoryResponseModels.PresentStoreItemOperationResponse = PresentStoreItemOperationResponse;
|
|
89
|
+
class GetStoreUsedOperationResponse extends CustomOperationResponseAbstract {
|
|
90
|
+
constructor() {
|
|
91
|
+
super();
|
|
92
|
+
this.responseDataCls = StoreInventoryModels.GetStoreUsedResponseData;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
StoreInventoryResponseModels.GetStoreUsedOperationResponse = GetStoreUsedOperationResponse;
|
|
96
|
+
class RemoveStoreUsedOperationResponse extends CustomOperationResponseAbstract {
|
|
97
|
+
constructor() {
|
|
98
|
+
super();
|
|
99
|
+
this.responseDataCls = StoreInventoryModels.EmptyResponseData;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
StoreInventoryResponseModels.RemoveStoreUsedOperationResponse = RemoveStoreUsedOperationResponse;
|
|
89
103
|
})(StoreInventoryResponseModels || (StoreInventoryResponseModels = {}));
|