@xmobitea/gn-typescript-client 2.3.2-esnext → 2.3.3-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.
Files changed (35) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/dist/index.js +6 -0
  3. package/dist/runtime/GNNetworkGamePlayerApi.d.ts +0 -6
  4. package/dist/runtime/GNNetworkGamePlayerApi.js +0 -24
  5. package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +36 -0
  6. package/dist/runtime/GNNetworkMasterPlayerApi.js +144 -0
  7. package/dist/runtime/constant/OperationCode.d.ts +5 -1
  8. package/dist/runtime/constant/OperationCode.js +5 -1
  9. package/dist/runtime/constant/enumType/PushPlatformType.d.ts +4 -0
  10. package/dist/runtime/constant/enumType/PushPlatformType.js +5 -0
  11. package/dist/runtime/constant/enumType/StoreReceiveType.d.ts +7 -0
  12. package/dist/runtime/constant/enumType/StoreReceiveType.js +8 -0
  13. package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +1 -0
  14. package/dist/runtime/constant/errorCode/GNErrorCode.js +1 -0
  15. package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +23 -0
  16. package/dist/runtime/constant/parameterCode/GNParameterCode.js +23 -0
  17. package/dist/runtime/entity/models/AuthenticateModels.d.ts +1 -0
  18. package/dist/runtime/entity/models/AuthenticateModels.js +4 -0
  19. package/dist/runtime/entity/models/DashboardModels.d.ts +19 -1
  20. package/dist/runtime/entity/models/DashboardModels.js +66 -4
  21. package/dist/runtime/entity/models/GamePlayerModels.d.ts +0 -11
  22. package/dist/runtime/entity/models/GamePlayerModels.js +0 -26
  23. package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +0 -15
  24. package/dist/runtime/entity/models/GamePlayerRequestModels.js +1 -28
  25. package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +0 -3
  26. package/dist/runtime/entity/models/GamePlayerResponseModels.js +0 -7
  27. package/dist/runtime/entity/models/MasterPlayerModels.d.ts +75 -0
  28. package/dist/runtime/entity/models/MasterPlayerModels.js +195 -0
  29. package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +90 -0
  30. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +162 -0
  31. package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +18 -0
  32. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +42 -0
  33. package/dist/runtime/entity/models/StoreInventoryModels.d.ts +0 -1
  34. package/dist/runtime/entity/models/StoreInventoryModels.js +0 -4
  35. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -23,6 +23,8 @@ import { OwnerType } from "./runtime/constant/enumType/OwnerType";
23
23
  import { PermissionDataItem } from "./runtime/constant/enumType/PermissionDataItem";
24
24
  import { RequestRole } from "./runtime/constant/enumType/RequestRole";
25
25
  import { RequestType } from "./runtime/constant/enumType/RequestType";
26
+ import { PushPlatformType } from "./runtime/constant/enumType/PushPlatformType";
27
+ import { StoreReceiveType } from "./runtime/constant/enumType/StoreReceiveType";
26
28
  export { FriendStatus };
27
29
  export { GoogleLoginType };
28
30
  export { GroupStatus };
@@ -34,6 +36,8 @@ export { OwnerType };
34
36
  export { PermissionDataItem };
35
37
  export { RequestRole };
36
38
  export { RequestType };
39
+ export { PushPlatformType };
40
+ export { StoreReceiveType };
37
41
  import { GNErrorCode } from "./runtime/constant/errorCode/GNErrorCode";
38
42
  export { GNErrorCode };
39
43
  import { GNParameterCode } from "./runtime/constant/parameterCode/GNParameterCode";
package/dist/index.js CHANGED
@@ -13,6 +13,8 @@ import { OwnerType } from "./runtime/constant/enumType/OwnerType";
13
13
  import { PermissionDataItem } from "./runtime/constant/enumType/PermissionDataItem";
14
14
  import { RequestRole } from "./runtime/constant/enumType/RequestRole";
15
15
  import { RequestType } from "./runtime/constant/enumType/RequestType";
16
+ import { PushPlatformType } from "./runtime/constant/enumType/PushPlatformType";
17
+ import { StoreReceiveType } from "./runtime/constant/enumType/StoreReceiveType";
16
18
  export { FriendStatus };
17
19
  export { GoogleLoginType };
18
20
  export { GroupStatus };
@@ -24,6 +26,8 @@ export { OwnerType };
24
26
  export { PermissionDataItem };
25
27
  export { RequestRole };
26
28
  export { RequestType };
29
+ export { PushPlatformType };
30
+ export { StoreReceiveType };
27
31
  import { GNErrorCode } from "./runtime/constant/errorCode/GNErrorCode";
28
32
  export { GNErrorCode };
29
33
  import { GNParameterCode } from "./runtime/constant/parameterCode/GNParameterCode";
@@ -211,6 +215,8 @@ const gn = {
211
215
  MatchmakingTicketStatus,
212
216
  OwnerType,
213
217
  PermissionDataItem,
218
+ PushPlatformType,
219
+ StoreReceiveType,
214
220
  RequestRole,
215
221
  RequestType,
216
222
  GNErrorCode,
@@ -103,8 +103,6 @@ export declare class GamePlayerApi {
103
103
  getCurrencyLeaderboardAsync(requestData: GamePlayerModels.GetCurrencyLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<GamePlayerResponseModels.GetCurrencyLeaderboardOperationResponse>;
104
104
  getCreateLeaderboard(requestData: GamePlayerModels.GetCreateLeaderboardRequestData, onResponse?: Action1<GamePlayerResponseModels.GetCreateLeaderboardOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
105
105
  getCreateLeaderboardAsync(requestData: GamePlayerModels.GetCreateLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<GamePlayerResponseModels.GetCreateLeaderboardOperationResponse>;
106
- sendSocketOperationEvent(requestData: GamePlayerModels.SendSocketOperationEventRequestData, onResponse?: Action1<GamePlayerResponseModels.SendSocketOperationEventOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
107
- sendSocketOperationEventAsync(requestData: GamePlayerModels.SendSocketOperationEventRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<GamePlayerResponseModels.SendSocketOperationEventOperationResponse>;
108
106
  getStatisticsLog(requestData: GamePlayerModels.GetStatisticsLogRequestData, onResponse?: Action1<GamePlayerResponseModels.GetStatisticsLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
109
107
  getStatisticsLogAsync(requestData: GamePlayerModels.GetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<GamePlayerResponseModels.GetStatisticsLogOperationResponse>;
110
108
  getCurrencyLog(requestData: GamePlayerModels.GetCurrencyLogRequestData, onResponse?: Action1<GamePlayerResponseModels.GetCurrencyLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
@@ -209,8 +207,6 @@ export declare class ServerGamePlayerApi {
209
207
  getCurrencyLeaderboardAsync(requestData: GamePlayerModels.ServerGetCurrencyLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<GamePlayerResponseModels.GetCurrencyLeaderboardOperationResponse>;
210
208
  getCreateLeaderboard(requestData: GamePlayerModels.ServerGetCreateLeaderboardRequestData, onResponse?: Action1<GamePlayerResponseModels.GetCreateLeaderboardOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
211
209
  getCreateLeaderboardAsync(requestData: GamePlayerModels.ServerGetCreateLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<GamePlayerResponseModels.GetCreateLeaderboardOperationResponse>;
212
- sendSocketOperationEvent(requestData: GamePlayerModels.ServerSendSocketOperationEventRequestData, onResponse?: Action1<GamePlayerResponseModels.SendSocketOperationEventOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
213
- sendSocketOperationEventAsync(requestData: GamePlayerModels.ServerSendSocketOperationEventRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<GamePlayerResponseModels.SendSocketOperationEventOperationResponse>;
214
210
  getStatisticsLog(requestData: GamePlayerModels.ServerGetStatisticsLogRequestData, onResponse?: Action1<GamePlayerResponseModels.GetStatisticsLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
215
211
  getStatisticsLogAsync(requestData: GamePlayerModels.ServerGetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<GamePlayerResponseModels.GetStatisticsLogOperationResponse>;
216
212
  getCurrencyLog(requestData: GamePlayerModels.ServerGetCurrencyLogRequestData, onResponse?: Action1<GamePlayerResponseModels.GetCurrencyLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
@@ -315,8 +311,6 @@ export declare class AdminGamePlayerApi {
315
311
  getCurrencyLeaderboardAsync(requestData: GamePlayerModels.AdminGetCurrencyLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<GamePlayerResponseModels.GetCurrencyLeaderboardOperationResponse>;
316
312
  getCreateLeaderboard(requestData: GamePlayerModels.AdminGetCreateLeaderboardRequestData, onResponse?: Action1<GamePlayerResponseModels.GetCreateLeaderboardOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
317
313
  getCreateLeaderboardAsync(requestData: GamePlayerModels.AdminGetCreateLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<GamePlayerResponseModels.GetCreateLeaderboardOperationResponse>;
318
- sendSocketOperationEvent(requestData: GamePlayerModels.AdminSendSocketOperationEventRequestData, onResponse?: Action1<GamePlayerResponseModels.SendSocketOperationEventOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
319
- sendSocketOperationEventAsync(requestData: GamePlayerModels.AdminSendSocketOperationEventRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<GamePlayerResponseModels.SendSocketOperationEventOperationResponse>;
320
314
  getStatisticsLog(requestData: GamePlayerModels.AdminGetStatisticsLogRequestData, onResponse?: Action1<GamePlayerResponseModels.GetStatisticsLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
321
315
  getStatisticsLogAsync(requestData: GamePlayerModels.AdminGetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<GamePlayerResponseModels.GetStatisticsLogOperationResponse>;
322
316
  getCurrencyLog(requestData: GamePlayerModels.AdminGetCurrencyLogRequestData, onResponse?: Action1<GamePlayerResponseModels.GetCurrencyLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
@@ -408,14 +408,6 @@ export class GamePlayerApi {
408
408
  return GNNetwork.sendViaHttpTRequestTResponseAsync(new GamePlayerRequestModels.GetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, GamePlayerResponseModels.GetCreateLeaderboardOperationResponse);
409
409
  });
410
410
  }
411
- sendSocketOperationEvent(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
412
- GNNetwork.sendViaHttpTRequestTResponse(new GamePlayerRequestModels.SendSocketOperationEventOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, GamePlayerResponseModels.SendSocketOperationEventOperationResponse);
413
- }
414
- sendSocketOperationEventAsync(requestData_1) {
415
- return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
416
- return GNNetwork.sendViaHttpTRequestTResponseAsync(new GamePlayerRequestModels.SendSocketOperationEventOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, GamePlayerResponseModels.SendSocketOperationEventOperationResponse);
417
- });
418
- }
419
411
  getStatisticsLog(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
420
412
  GNNetwork.sendViaHttpTRequestTResponse(new GamePlayerRequestModels.GetStatisticsLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, GamePlayerResponseModels.GetStatisticsLogOperationResponse);
421
413
  }
@@ -826,14 +818,6 @@ export class ServerGamePlayerApi {
826
818
  return GNNetwork.sendViaHttpTRequestTResponseAsync(new GamePlayerRequestModels.ServerGetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, GamePlayerResponseModels.GetCreateLeaderboardOperationResponse);
827
819
  });
828
820
  }
829
- sendSocketOperationEvent(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
830
- GNNetwork.sendViaHttpTRequestTResponse(new GamePlayerRequestModels.ServerSendSocketOperationEventOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, GamePlayerResponseModels.SendSocketOperationEventOperationResponse);
831
- }
832
- sendSocketOperationEventAsync(requestData_1) {
833
- return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
834
- return GNNetwork.sendViaHttpTRequestTResponseAsync(new GamePlayerRequestModels.ServerSendSocketOperationEventOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, GamePlayerResponseModels.SendSocketOperationEventOperationResponse);
835
- });
836
- }
837
821
  getStatisticsLog(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
838
822
  GNNetwork.sendViaHttpTRequestTResponse(new GamePlayerRequestModels.ServerGetStatisticsLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, GamePlayerResponseModels.GetStatisticsLogOperationResponse);
839
823
  }
@@ -1244,14 +1228,6 @@ export class AdminGamePlayerApi {
1244
1228
  return GNNetwork.sendViaHttpTRequestTResponseAsync(new GamePlayerRequestModels.AdminGetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, GamePlayerResponseModels.GetCreateLeaderboardOperationResponse);
1245
1229
  });
1246
1230
  }
1247
- sendSocketOperationEvent(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1248
- GNNetwork.sendViaHttpTRequestTResponse(new GamePlayerRequestModels.AdminSendSocketOperationEventOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, GamePlayerResponseModels.SendSocketOperationEventOperationResponse);
1249
- }
1250
- sendSocketOperationEventAsync(requestData_1) {
1251
- return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1252
- return GNNetwork.sendViaHttpTRequestTResponseAsync(new GamePlayerRequestModels.AdminSendSocketOperationEventOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, GamePlayerResponseModels.SendSocketOperationEventOperationResponse);
1253
- });
1254
- }
1255
1231
  getStatisticsLog(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1256
1232
  GNNetwork.sendViaHttpTRequestTResponse(new GamePlayerRequestModels.AdminGetStatisticsLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, GamePlayerResponseModels.GetStatisticsLogOperationResponse);
1257
1233
  }
@@ -165,6 +165,18 @@ export declare class MasterPlayerApi {
165
165
  getStatisticsLogAsync(requestData: MasterPlayerModels.GetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.GetStatisticsLogOperationResponse>;
166
166
  getCurrencyLog(requestData: MasterPlayerModels.GetCurrencyLogRequestData, onResponse?: Action1<MasterPlayerResponseModels.GetCurrencyLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
167
167
  getCurrencyLogAsync(requestData: MasterPlayerModels.GetCurrencyLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.GetCurrencyLogOperationResponse>;
168
+ sendSocketOperationEvent(requestData: MasterPlayerModels.SendSocketOperationEventRequestData, onResponse?: Action1<MasterPlayerResponseModels.SendSocketOperationEventOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
169
+ sendSocketOperationEventAsync(requestData: MasterPlayerModels.SendSocketOperationEventRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.SendSocketOperationEventOperationResponse>;
170
+ sendEmail(requestData: MasterPlayerModels.SendEmailRequestData, onResponse?: Action1<MasterPlayerResponseModels.SendEmailOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
171
+ sendEmailAsync(requestData: MasterPlayerModels.SendEmailRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.SendEmailOperationResponse>;
172
+ addPushNotification(requestData: MasterPlayerModels.AddPushNotificationRequestData, onResponse?: Action1<MasterPlayerResponseModels.AddPushNotificationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
173
+ addPushNotificationAsync(requestData: MasterPlayerModels.AddPushNotificationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.AddPushNotificationOperationResponse>;
174
+ removePushNotification(requestData: MasterPlayerModels.RemovePushNotificationRequestData, onResponse?: Action1<MasterPlayerResponseModels.RemovePushNotificationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
175
+ removePushNotificationAsync(requestData: MasterPlayerModels.RemovePushNotificationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.RemovePushNotificationOperationResponse>;
176
+ getPushNotification(requestData: MasterPlayerModels.GetPushNotificationRequestData, onResponse?: Action1<MasterPlayerResponseModels.GetPushNotificationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
177
+ getPushNotificationAsync(requestData: MasterPlayerModels.GetPushNotificationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.GetPushNotificationOperationResponse>;
178
+ sendPushNotification(requestData: MasterPlayerModels.SendPushNotificationRequestData, onResponse?: Action1<MasterPlayerResponseModels.SendPushNotificationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
179
+ sendPushNotificationAsync(requestData: MasterPlayerModels.SendPushNotificationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.SendPushNotificationOperationResponse>;
168
180
  }
169
181
  export declare class ServerMasterPlayerApi {
170
182
  addSegment(requestData: MasterPlayerModels.ServerAddSegmentRequestData, onResponse?: Action1<MasterPlayerResponseModels.AddSegmentOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
@@ -325,6 +337,18 @@ export declare class ServerMasterPlayerApi {
325
337
  getStatisticsLogAsync(requestData: MasterPlayerModels.ServerGetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.GetStatisticsLogOperationResponse>;
326
338
  getCurrencyLog(requestData: MasterPlayerModels.ServerGetCurrencyLogRequestData, onResponse?: Action1<MasterPlayerResponseModels.GetCurrencyLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
327
339
  getCurrencyLogAsync(requestData: MasterPlayerModels.ServerGetCurrencyLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.GetCurrencyLogOperationResponse>;
340
+ sendSocketOperationEvent(requestData: MasterPlayerModels.ServerSendSocketOperationEventRequestData, onResponse?: Action1<MasterPlayerResponseModels.SendSocketOperationEventOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
341
+ sendSocketOperationEventAsync(requestData: MasterPlayerModels.ServerSendSocketOperationEventRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.SendSocketOperationEventOperationResponse>;
342
+ sendEmail(requestData: MasterPlayerModels.ServerSendEmailRequestData, onResponse?: Action1<MasterPlayerResponseModels.SendEmailOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
343
+ sendEmailAsync(requestData: MasterPlayerModels.ServerSendEmailRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.SendEmailOperationResponse>;
344
+ addPushNotification(requestData: MasterPlayerModels.ServerAddPushNotificationRequestData, onResponse?: Action1<MasterPlayerResponseModels.AddPushNotificationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
345
+ addPushNotificationAsync(requestData: MasterPlayerModels.ServerAddPushNotificationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.AddPushNotificationOperationResponse>;
346
+ removePushNotification(requestData: MasterPlayerModels.ServerRemovePushNotificationRequestData, onResponse?: Action1<MasterPlayerResponseModels.RemovePushNotificationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
347
+ removePushNotificationAsync(requestData: MasterPlayerModels.ServerRemovePushNotificationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.RemovePushNotificationOperationResponse>;
348
+ getPushNotification(requestData: MasterPlayerModels.ServerGetPushNotificationRequestData, onResponse?: Action1<MasterPlayerResponseModels.GetPushNotificationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
349
+ getPushNotificationAsync(requestData: MasterPlayerModels.ServerGetPushNotificationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.GetPushNotificationOperationResponse>;
350
+ sendPushNotification(requestData: MasterPlayerModels.ServerSendPushNotificationRequestData, onResponse?: Action1<MasterPlayerResponseModels.SendPushNotificationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
351
+ sendPushNotificationAsync(requestData: MasterPlayerModels.ServerSendPushNotificationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.SendPushNotificationOperationResponse>;
328
352
  }
329
353
  export declare class AdminMasterPlayerApi {
330
354
  addSegment(requestData: MasterPlayerModels.AdminAddSegmentRequestData, onResponse?: Action1<MasterPlayerResponseModels.AddSegmentOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
@@ -485,4 +509,16 @@ export declare class AdminMasterPlayerApi {
485
509
  getStatisticsLogAsync(requestData: MasterPlayerModels.AdminGetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.GetStatisticsLogOperationResponse>;
486
510
  getCurrencyLog(requestData: MasterPlayerModels.AdminGetCurrencyLogRequestData, onResponse?: Action1<MasterPlayerResponseModels.GetCurrencyLogOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
487
511
  getCurrencyLogAsync(requestData: MasterPlayerModels.AdminGetCurrencyLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.GetCurrencyLogOperationResponse>;
512
+ sendSocketOperationEvent(requestData: MasterPlayerModels.AdminSendSocketOperationEventRequestData, onResponse?: Action1<MasterPlayerResponseModels.SendSocketOperationEventOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
513
+ sendSocketOperationEventAsync(requestData: MasterPlayerModels.AdminSendSocketOperationEventRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.SendSocketOperationEventOperationResponse>;
514
+ sendEmail(requestData: MasterPlayerModels.AdminSendEmailRequestData, onResponse?: Action1<MasterPlayerResponseModels.SendEmailOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
515
+ sendEmailAsync(requestData: MasterPlayerModels.AdminSendEmailRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.SendEmailOperationResponse>;
516
+ addPushNotification(requestData: MasterPlayerModels.AdminAddPushNotificationRequestData, onResponse?: Action1<MasterPlayerResponseModels.AddPushNotificationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
517
+ addPushNotificationAsync(requestData: MasterPlayerModels.AdminAddPushNotificationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.AddPushNotificationOperationResponse>;
518
+ removePushNotification(requestData: MasterPlayerModels.AdminRemovePushNotificationRequestData, onResponse?: Action1<MasterPlayerResponseModels.RemovePushNotificationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
519
+ removePushNotificationAsync(requestData: MasterPlayerModels.AdminRemovePushNotificationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.RemovePushNotificationOperationResponse>;
520
+ getPushNotification(requestData: MasterPlayerModels.AdminGetPushNotificationRequestData, onResponse?: Action1<MasterPlayerResponseModels.GetPushNotificationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
521
+ getPushNotificationAsync(requestData: MasterPlayerModels.AdminGetPushNotificationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.GetPushNotificationOperationResponse>;
522
+ sendPushNotification(requestData: MasterPlayerModels.AdminSendPushNotificationRequestData, onResponse?: Action1<MasterPlayerResponseModels.SendPushNotificationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
523
+ sendPushNotificationAsync(requestData: MasterPlayerModels.AdminSendPushNotificationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MasterPlayerResponseModels.SendPushNotificationOperationResponse>;
488
524
  }
@@ -656,6 +656,54 @@ export class MasterPlayerApi {
656
656
  return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.GetCurrencyLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.GetCurrencyLogOperationResponse);
657
657
  });
658
658
  }
659
+ sendSocketOperationEvent(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
660
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.SendSocketOperationEventOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendSocketOperationEventOperationResponse);
661
+ }
662
+ sendSocketOperationEventAsync(requestData_1) {
663
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
664
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.SendSocketOperationEventOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendSocketOperationEventOperationResponse);
665
+ });
666
+ }
667
+ sendEmail(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
668
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.SendEmailOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendEmailOperationResponse);
669
+ }
670
+ sendEmailAsync(requestData_1) {
671
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
672
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.SendEmailOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendEmailOperationResponse);
673
+ });
674
+ }
675
+ addPushNotification(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
676
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.AddPushNotificationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.AddPushNotificationOperationResponse);
677
+ }
678
+ addPushNotificationAsync(requestData_1) {
679
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
680
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.AddPushNotificationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.AddPushNotificationOperationResponse);
681
+ });
682
+ }
683
+ removePushNotification(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
684
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.RemovePushNotificationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.RemovePushNotificationOperationResponse);
685
+ }
686
+ removePushNotificationAsync(requestData_1) {
687
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
688
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.RemovePushNotificationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.RemovePushNotificationOperationResponse);
689
+ });
690
+ }
691
+ getPushNotification(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
692
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.GetPushNotificationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.GetPushNotificationOperationResponse);
693
+ }
694
+ getPushNotificationAsync(requestData_1) {
695
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
696
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.GetPushNotificationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.GetPushNotificationOperationResponse);
697
+ });
698
+ }
699
+ sendPushNotification(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
700
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.SendPushNotificationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendPushNotificationOperationResponse);
701
+ }
702
+ sendPushNotificationAsync(requestData_1) {
703
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
704
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.SendPushNotificationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendPushNotificationOperationResponse);
705
+ });
706
+ }
659
707
  }
660
708
  export class ServerMasterPlayerApi {
661
709
  addSegment(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
@@ -1290,6 +1338,54 @@ export class ServerMasterPlayerApi {
1290
1338
  return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.ServerGetCurrencyLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.GetCurrencyLogOperationResponse);
1291
1339
  });
1292
1340
  }
1341
+ sendSocketOperationEvent(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1342
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.ServerSendSocketOperationEventOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendSocketOperationEventOperationResponse);
1343
+ }
1344
+ sendSocketOperationEventAsync(requestData_1) {
1345
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1346
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.ServerSendSocketOperationEventOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendSocketOperationEventOperationResponse);
1347
+ });
1348
+ }
1349
+ sendEmail(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1350
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.ServerSendEmailOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendEmailOperationResponse);
1351
+ }
1352
+ sendEmailAsync(requestData_1) {
1353
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1354
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.ServerSendEmailOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendEmailOperationResponse);
1355
+ });
1356
+ }
1357
+ addPushNotification(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1358
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.ServerAddPushNotificationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.AddPushNotificationOperationResponse);
1359
+ }
1360
+ addPushNotificationAsync(requestData_1) {
1361
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1362
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.ServerAddPushNotificationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.AddPushNotificationOperationResponse);
1363
+ });
1364
+ }
1365
+ removePushNotification(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1366
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.ServerRemovePushNotificationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.RemovePushNotificationOperationResponse);
1367
+ }
1368
+ removePushNotificationAsync(requestData_1) {
1369
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1370
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.ServerRemovePushNotificationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.RemovePushNotificationOperationResponse);
1371
+ });
1372
+ }
1373
+ getPushNotification(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1374
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.ServerGetPushNotificationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.GetPushNotificationOperationResponse);
1375
+ }
1376
+ getPushNotificationAsync(requestData_1) {
1377
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1378
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.ServerGetPushNotificationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.GetPushNotificationOperationResponse);
1379
+ });
1380
+ }
1381
+ sendPushNotification(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1382
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.ServerSendPushNotificationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendPushNotificationOperationResponse);
1383
+ }
1384
+ sendPushNotificationAsync(requestData_1) {
1385
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
1386
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.ServerSendPushNotificationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendPushNotificationOperationResponse);
1387
+ });
1388
+ }
1293
1389
  }
1294
1390
  export class AdminMasterPlayerApi {
1295
1391
  addSegment(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
@@ -1924,4 +2020,52 @@ export class AdminMasterPlayerApi {
1924
2020
  return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.AdminGetCurrencyLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.GetCurrencyLogOperationResponse);
1925
2021
  });
1926
2022
  }
2023
+ sendSocketOperationEvent(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
2024
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.AdminSendSocketOperationEventOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendSocketOperationEventOperationResponse);
2025
+ }
2026
+ sendSocketOperationEventAsync(requestData_1) {
2027
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
2028
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.AdminSendSocketOperationEventOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendSocketOperationEventOperationResponse);
2029
+ });
2030
+ }
2031
+ sendEmail(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
2032
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.AdminSendEmailOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendEmailOperationResponse);
2033
+ }
2034
+ sendEmailAsync(requestData_1) {
2035
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
2036
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.AdminSendEmailOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendEmailOperationResponse);
2037
+ });
2038
+ }
2039
+ addPushNotification(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
2040
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.AdminAddPushNotificationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.AddPushNotificationOperationResponse);
2041
+ }
2042
+ addPushNotificationAsync(requestData_1) {
2043
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
2044
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.AdminAddPushNotificationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.AddPushNotificationOperationResponse);
2045
+ });
2046
+ }
2047
+ removePushNotification(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
2048
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.AdminRemovePushNotificationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.RemovePushNotificationOperationResponse);
2049
+ }
2050
+ removePushNotificationAsync(requestData_1) {
2051
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
2052
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.AdminRemovePushNotificationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.RemovePushNotificationOperationResponse);
2053
+ });
2054
+ }
2055
+ getPushNotification(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
2056
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.AdminGetPushNotificationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.GetPushNotificationOperationResponse);
2057
+ }
2058
+ getPushNotificationAsync(requestData_1) {
2059
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
2060
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.AdminGetPushNotificationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.GetPushNotificationOperationResponse);
2061
+ });
2062
+ }
2063
+ sendPushNotification(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
2064
+ GNNetwork.sendViaHttpTRequestTResponse(new MasterPlayerRequestModels.AdminSendPushNotificationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendPushNotificationOperationResponse);
2065
+ }
2066
+ sendPushNotificationAsync(requestData_1) {
2067
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
2068
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MasterPlayerRequestModels.AdminSendPushNotificationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MasterPlayerResponseModels.SendPushNotificationOperationResponse);
2069
+ });
2070
+ }
1927
2071
  }
@@ -19,7 +19,6 @@ export declare class OperationCode {
19
19
  static readonly SetSecretInfoInformation: number;
20
20
  static readonly GetUsernameAdminAccount: number;
21
21
  static readonly GetAnalytics: number;
22
- static readonly Get: number;
23
22
  static readonly GetEventCallbackCloudScript: number;
24
23
  static readonly SetEventCallbackCloudScript: number;
25
24
  static readonly ResetStatisticsLeaderboard: number;
@@ -211,4 +210,9 @@ export declare class OperationCode {
211
210
  static readonly GetCurrencyLog: number;
212
211
  static readonly PresentStoreItem: number;
213
212
  static readonly GetStoreLog: number;
213
+ static readonly SendEmail: number;
214
+ static readonly SendPushNotification: number;
215
+ static readonly AddPushNotification: number;
216
+ static readonly RemovePushNotification: number;
217
+ static readonly GetPushNotification: number;
214
218
  }
@@ -20,7 +20,6 @@ OperationCode.GrantSecretInfo = -17;
20
20
  OperationCode.SetSecretInfoInformation = -18;
21
21
  OperationCode.GetUsernameAdminAccount = -19;
22
22
  OperationCode.GetAnalytics = -20;
23
- OperationCode.Get = -20;
24
23
  OperationCode.GetEventCallbackCloudScript = -21;
25
24
  OperationCode.SetEventCallbackCloudScript = -22;
26
25
  OperationCode.ResetStatisticsLeaderboard = -23;
@@ -212,3 +211,8 @@ OperationCode.GetStatisticsLog = 183;
212
211
  OperationCode.GetCurrencyLog = 184;
213
212
  OperationCode.PresentStoreItem = 185;
214
213
  OperationCode.GetStoreLog = 186;
214
+ OperationCode.SendEmail = 187;
215
+ OperationCode.SendPushNotification = 188;
216
+ OperationCode.AddPushNotification = 189;
217
+ OperationCode.RemovePushNotification = 190;
218
+ OperationCode.GetPushNotification = 191;
@@ -0,0 +1,4 @@
1
+ export declare enum PushPlatformType {
2
+ Android = 1,
3
+ iOS = 2
4
+ }
@@ -0,0 +1,5 @@
1
+ export var PushPlatformType;
2
+ (function (PushPlatformType) {
3
+ PushPlatformType[PushPlatformType["Android"] = 1] = "Android";
4
+ PushPlatformType[PushPlatformType["iOS"] = 2] = "iOS";
5
+ })(PushPlatformType || (PushPlatformType = {}));
@@ -0,0 +1,7 @@
1
+ export declare enum StoreReceiveType {
2
+ Buy = 1,
3
+ Present = 2,
4
+ AppleAppStore = 3,
5
+ FacebookStore = 4,
6
+ GooglePlayStore = 5
7
+ }
@@ -0,0 +1,8 @@
1
+ export var StoreReceiveType;
2
+ (function (StoreReceiveType) {
3
+ StoreReceiveType[StoreReceiveType["Buy"] = 1] = "Buy";
4
+ StoreReceiveType[StoreReceiveType["Present"] = 2] = "Present";
5
+ StoreReceiveType[StoreReceiveType["AppleAppStore"] = 3] = "AppleAppStore";
6
+ StoreReceiveType[StoreReceiveType["FacebookStore"] = 4] = "FacebookStore";
7
+ StoreReceiveType[StoreReceiveType["GooglePlayStore"] = 5] = "GooglePlayStore";
8
+ })(StoreReceiveType || (StoreReceiveType = {}));
@@ -46,4 +46,5 @@ export declare class GNErrorCode {
46
46
  static readonly TicketSizeError: number;
47
47
  static readonly ExecuteError: number;
48
48
  static readonly VersionInvalid: number;
49
+ static readonly EmailInvalid: number;
49
50
  }
@@ -47,3 +47,4 @@ GNErrorCode.MatchmakingQueueNotFound = 44;
47
47
  GNErrorCode.TicketSizeError = 45;
48
48
  GNErrorCode.ExecuteError = 46;
49
49
  GNErrorCode.VersionInvalid = 47;
50
+ GNErrorCode.EmailInvalid = 48;
@@ -539,4 +539,27 @@ export declare class GNParameterCode {
539
539
  static readonly P8Content: string;
540
540
  static readonly ServerAllocation: string;
541
541
  static readonly Enable: string;
542
+ static readonly SendEmail: string;
543
+ static readonly SendPushNotification: string;
544
+ static readonly AddPushNotification: string;
545
+ static readonly RemovePushNotification: string;
546
+ static readonly GetPushNotification: string;
547
+ static readonly EmailSettings: string;
548
+ static readonly PushNotificationSettings: string;
549
+ static readonly SendFrom: string;
550
+ static readonly SendGridApiKey: string;
551
+ static readonly Subject: string;
552
+ static readonly ContentHtml: string;
553
+ static readonly PushNotifications: string;
554
+ static readonly PushId: string;
555
+ static readonly PlatformType: string;
556
+ static readonly ProjectId: string;
557
+ static readonly ClientEmail: string;
558
+ static readonly PrivateKey: string;
559
+ static readonly Badge: string;
560
+ static readonly Icon: string;
561
+ static readonly Sound: string;
562
+ static readonly Title: string;
563
+ static readonly Body: string;
564
+ static readonly TargetPlatforms: string;
542
565
  }
@@ -540,3 +540,26 @@ GNParameterCode.KeyId = "KeyId";
540
540
  GNParameterCode.P8Content = "P8Content";
541
541
  GNParameterCode.ServerAllocation = "ServerAllocation";
542
542
  GNParameterCode.Enable = "Enable";
543
+ GNParameterCode.SendEmail = "SendEmail";
544
+ GNParameterCode.SendPushNotification = "SendPushNotification";
545
+ GNParameterCode.AddPushNotification = "AddPushNotification";
546
+ GNParameterCode.RemovePushNotification = "RemovePushNotification";
547
+ GNParameterCode.GetPushNotification = "GetPushNotification";
548
+ GNParameterCode.EmailSettings = "EmailSettings";
549
+ GNParameterCode.PushNotificationSettings = "PushNotificationSettings";
550
+ GNParameterCode.SendFrom = "SendFrom";
551
+ GNParameterCode.SendGridApiKey = "SendGridApiKey";
552
+ GNParameterCode.Subject = "Subject";
553
+ GNParameterCode.ContentHtml = "ContentHtml";
554
+ GNParameterCode.PushNotifications = "PushNotifications";
555
+ GNParameterCode.PushId = "PushId";
556
+ GNParameterCode.PlatformType = "PlatformType";
557
+ GNParameterCode.ProjectId = "ProjectId";
558
+ GNParameterCode.ClientEmail = "ClientEmail";
559
+ GNParameterCode.PrivateKey = "PrivateKey";
560
+ GNParameterCode.Badge = "Badge";
561
+ GNParameterCode.Icon = "Icon";
562
+ GNParameterCode.Sound = "Sound";
563
+ GNParameterCode.Title = "Title";
564
+ GNParameterCode.Body = "Body";
565
+ GNParameterCode.TargetPlatforms = "TargetPlatforms";
@@ -18,6 +18,7 @@ export declare namespace AuthenticateModels {
18
18
  countryCode?: boolean;
19
19
  email?: boolean;
20
20
  tsLastLogin?: boolean;
21
+ pushNotifications?: boolean;
21
22
  playerDataKeys?: Array<string>;
22
23
  playerCurrencyKeys?: Array<string>;
23
24
  playerStatisticsKeys?: Array<string>;
@@ -77,6 +77,10 @@ export var AuthenticateModels;
77
77
  BooleanDataMember({ code: GNParameterCode.TsLastLogin, isOptional: true, defaultValue: false }),
78
78
  __metadata("design:type", Boolean)
79
79
  ], InfoRequestParam.prototype, "tsLastLogin", void 0);
80
+ __decorate([
81
+ BooleanDataMember({ code: GNParameterCode.PushNotifications, isOptional: true, defaultValue: false }),
82
+ __metadata("design:type", Boolean)
83
+ ], InfoRequestParam.prototype, "pushNotifications", void 0);
80
84
  __decorate([
81
85
  GNArrayDataMember({ code: GNParameterCode.PlayerDataKeys, isOptional: true, elementCls: String }),
82
86
  __metadata("design:type", Array)
@@ -157,6 +157,15 @@ export declare namespace DashboardModels {
157
157
  googlePlayGameSettings?: ThirtPartyGooglePlayGameSettingsParam;
158
158
  gameCenterSettings?: ThirtPartyGameCenterSettingsParam;
159
159
  }
160
+ class EmailSettingsParam {
161
+ sendFrom: string;
162
+ sendGridApiKey: string;
163
+ }
164
+ class PushNotificationSettingsParam {
165
+ projectId: string;
166
+ clientEmail: string;
167
+ privateKey: string;
168
+ }
160
169
  class GamePlayerPermissionRulesParam {
161
170
  addSegment?: PermissionRulesParam;
162
171
  removeSegment?: PermissionRulesParam;
@@ -207,7 +216,6 @@ export declare namespace DashboardModels {
207
216
  getFriendStatisticsLeaderboard?: PermissionRulesParam;
208
217
  getCurrencyLeaderboard?: PermissionRulesParam;
209
218
  getCreateLeaderboard?: PermissionRulesParam;
210
- sendSocketOperationEvent?: PermissionRulesParam;
211
219
  getStatisticsLog?: PermissionRulesParam;
212
220
  getCurrencyLog?: PermissionRulesParam;
213
221
  }
@@ -442,6 +450,12 @@ export declare namespace DashboardModels {
442
450
  getCreateLeaderboard?: PermissionRulesParam;
443
451
  getStatisticsLog?: PermissionRulesParam;
444
452
  getCurrencyLog?: PermissionRulesParam;
453
+ sendSocketOperationEvent?: PermissionRulesParam;
454
+ sendEmail?: PermissionRulesParam;
455
+ sendPushNotification?: PermissionRulesParam;
456
+ addPushNotification?: PermissionRulesParam;
457
+ removePushNotification?: PermissionRulesParam;
458
+ getPushNotification?: PermissionRulesParam;
445
459
  }
446
460
  class MasterPlayerSettingsParam {
447
461
  genericServiceSettings?: Array<GenericServiceSettingsParam>;
@@ -608,6 +622,8 @@ export declare namespace DashboardModels {
608
622
  class SetMasterGameSettingsRequestData {
609
623
  thirtPartySettings?: ThirtPartyParam;
610
624
  masterPlayerSettings?: MasterPlayerSettingsParam;
625
+ emailSettings?: EmailSettingsParam;
626
+ pushNotificationSettings?: PushNotificationSettingsParam;
611
627
  }
612
628
  class SetPasswordAdminAccountRequestData {
613
629
  userId: string;
@@ -687,6 +703,8 @@ export declare namespace DashboardModels {
687
703
  class GetMasterGameSettingsResponseData {
688
704
  thirtPartySettings: ThirtPartyParam;
689
705
  masterPlayerSettings: MasterPlayerSettingsParam;
706
+ emailSettings: EmailSettingsParam;
707
+ pushNotificationSettings: PushNotificationSettingsParam;
690
708
  }
691
709
  class GetSecretInfoInformationResponseData {
692
710
  secretKey: string;