@xmobitea/gn-typescript-client 2.3.2 → 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 (127) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/dist/index.js +320 -34955
  3. package/dist/runtime/GNNetwork.js +238 -0
  4. package/dist/runtime/GNNetworkAuthenticateApi.js +167 -0
  5. package/dist/runtime/GNNetworkCharacterPlayerApi.js +1271 -0
  6. package/dist/runtime/GNNetworkCloudScriptApi.js +143 -0
  7. package/dist/runtime/GNNetworkContentApi.js +191 -0
  8. package/dist/runtime/GNNetworkDashboardApi.js +223 -0
  9. package/dist/runtime/GNNetworkGamePlayerApi.d.ts +0 -6
  10. package/dist/runtime/GNNetworkGamePlayerApi.js +1247 -0
  11. package/dist/runtime/GNNetworkGroupApi.js +983 -0
  12. package/dist/runtime/GNNetworkInventoryApi.js +839 -0
  13. package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +36 -0
  14. package/dist/runtime/GNNetworkMasterPlayerApi.js +2071 -0
  15. package/dist/runtime/GNNetworkMultiplayerApi.js +263 -0
  16. package/dist/runtime/GNNetworkStoreInventoryApi.js +311 -0
  17. package/dist/runtime/common/Action0.js +1 -0
  18. package/dist/runtime/common/Action1.js +1 -0
  19. package/dist/runtime/common/Action2.js +1 -0
  20. package/dist/runtime/common/Action3.js +1 -0
  21. package/dist/runtime/common/Action4.js +1 -0
  22. package/dist/runtime/common/GNData.js +211 -0
  23. package/dist/runtime/config/GNServerSettings.js +127 -0
  24. package/dist/runtime/constant/Commands.js +19 -0
  25. package/dist/runtime/constant/EventCode.js +8 -0
  26. package/dist/runtime/constant/OperationCode.d.ts +5 -1
  27. package/dist/runtime/constant/OperationCode.js +218 -0
  28. package/dist/runtime/constant/ReturnCode.js +14 -0
  29. package/dist/runtime/constant/enumType/FriendStatus.js +7 -0
  30. package/dist/runtime/constant/enumType/GoogleLoginType.js +5 -0
  31. package/dist/runtime/constant/enumType/GroupStatus.js +7 -0
  32. package/dist/runtime/constant/enumType/InvalidMemberType.js +18 -0
  33. package/dist/runtime/constant/enumType/ItemType.js +5 -0
  34. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +6 -0
  35. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +8 -0
  36. package/dist/runtime/constant/enumType/OwnerType.js +8 -0
  37. package/dist/runtime/constant/enumType/PermissionDataItem.js +5 -0
  38. package/dist/runtime/constant/enumType/PushPlatformType.d.ts +4 -0
  39. package/dist/runtime/constant/enumType/PushPlatformType.js +5 -0
  40. package/dist/runtime/constant/enumType/RequestRole.js +6 -0
  41. package/dist/runtime/constant/enumType/RequestType.js +15 -0
  42. package/dist/runtime/constant/enumType/StoreReceiveType.d.ts +7 -0
  43. package/dist/runtime/constant/enumType/StoreReceiveType.js +8 -0
  44. package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +1 -0
  45. package/dist/runtime/constant/errorCode/GNErrorCode.js +50 -0
  46. package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +23 -0
  47. package/dist/runtime/constant/parameterCode/GNParameterCode.js +565 -0
  48. package/dist/runtime/constant/parameterCode/ParameterCode.js +6 -0
  49. package/dist/runtime/entity/DataMember.js +208 -0
  50. package/dist/runtime/entity/GNMetadata.js +11 -0
  51. package/dist/runtime/entity/InvalidMember.js +1 -0
  52. package/dist/runtime/entity/OperationEvent.js +32 -0
  53. package/dist/runtime/entity/OperationHelper.js +23 -0
  54. package/dist/runtime/entity/OperationRequest.js +50 -0
  55. package/dist/runtime/entity/OperationResponse.js +81 -0
  56. package/dist/runtime/entity/models/AuthenticateModels.d.ts +1 -0
  57. package/dist/runtime/entity/models/AuthenticateModels.js +420 -0
  58. package/dist/runtime/entity/models/AuthenticateRequestModels.js +206 -0
  59. package/dist/runtime/entity/models/AuthenticateResponseModels.js +131 -0
  60. package/dist/runtime/entity/models/CharacterPlayerModels.js +1377 -0
  61. package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +1412 -0
  62. package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +369 -0
  63. package/dist/runtime/entity/models/CloudScriptModels.js +197 -0
  64. package/dist/runtime/entity/models/CloudScriptRequestModels.js +143 -0
  65. package/dist/runtime/entity/models/CloudScriptResponseModels.js +40 -0
  66. package/dist/runtime/entity/models/ContentModels.js +211 -0
  67. package/dist/runtime/entity/models/ContentRequestModels.js +197 -0
  68. package/dist/runtime/entity/models/ContentResponseModels.js +54 -0
  69. package/dist/runtime/entity/models/DashboardModels.d.ts +19 -1
  70. package/dist/runtime/entity/models/DashboardModels.js +2759 -0
  71. package/dist/runtime/entity/models/DashboardRequestModels.js +283 -0
  72. package/dist/runtime/entity/models/DashboardResponseModels.js +180 -0
  73. package/dist/runtime/entity/models/GamePlayerModels.d.ts +0 -11
  74. package/dist/runtime/entity/models/GamePlayerModels.js +1543 -0
  75. package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +0 -15
  76. package/dist/runtime/entity/models/GamePlayerRequestModels.js +1385 -0
  77. package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +0 -3
  78. package/dist/runtime/entity/models/GamePlayerResponseModels.js +362 -0
  79. package/dist/runtime/entity/models/GenericModels.js +177 -0
  80. package/dist/runtime/entity/models/GroupModels.js +1123 -0
  81. package/dist/runtime/entity/models/GroupRequestModels.js +1088 -0
  82. package/dist/runtime/entity/models/GroupResponseModels.js +285 -0
  83. package/dist/runtime/entity/models/InventoryModels.js +903 -0
  84. package/dist/runtime/entity/models/InventoryRequestModels.js +926 -0
  85. package/dist/runtime/entity/models/InventoryResponseModels.js +243 -0
  86. package/dist/runtime/entity/models/MasterPlayerModels.d.ts +75 -0
  87. package/dist/runtime/entity/models/MasterPlayerModels.js +2566 -0
  88. package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +90 -0
  89. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2314 -0
  90. package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +18 -0
  91. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +607 -0
  92. package/dist/runtime/entity/models/MultiplayerModels.js +404 -0
  93. package/dist/runtime/entity/models/MultiplayerRequestModels.js +278 -0
  94. package/dist/runtime/entity/models/MultiplayerResponseModels.js +75 -0
  95. package/dist/runtime/entity/models/StoreInventoryModels.d.ts +0 -1
  96. package/dist/runtime/entity/models/StoreInventoryModels.js +733 -0
  97. package/dist/runtime/entity/models/StoreInventoryRequestModels.js +332 -0
  98. package/dist/runtime/entity/models/StoreInventoryResponseModels.js +89 -0
  99. package/dist/runtime/entity/request/CustomOperationRequest.js +24 -0
  100. package/dist/runtime/entity/response/CustomOperationResponse.js +29 -0
  101. package/dist/runtime/helper/CodeHelper.js +61 -0
  102. package/dist/runtime/helper/ConverterService.js +275 -0
  103. package/dist/runtime/helper/GNSupport.js +8 -0
  104. package/dist/runtime/logger/GNDebug.js +29 -0
  105. package/dist/runtime/networking/AuthenticateStatus.js +14 -0
  106. package/dist/runtime/networking/IPeer.js +1 -0
  107. package/dist/runtime/networking/NetworkingPeer.js +129 -0
  108. package/dist/runtime/networking/OperationPending.js +53 -0
  109. package/dist/runtime/networking/PeerBase.js +168 -0
  110. package/dist/runtime/networking/handler/IServerEventHandler.js +13 -0
  111. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +39 -0
  112. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +39 -0
  113. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +39 -0
  114. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +39 -0
  115. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +35 -0
  116. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +35 -0
  117. package/dist/runtime/networking/http/HttpPeer.js +121 -0
  118. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +6 -0
  119. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +146 -0
  120. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +126 -0
  121. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +176 -0
  122. package/dist/runtime/networking/socket/SocketPeer.js +105 -0
  123. package/dist/runtime/typescript/ServiceUpdate.js +12 -0
  124. package/package.json +1 -1
  125. package/dist/gn.js.client.js +0 -47666
  126. package/dist/gn.js.client.min.js +0 -2
  127. package/dist/gn.js.client.min.js.LICENSE.txt +0 -14
@@ -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;