@xmobitea/gn-server 2.6.4 → 2.6.5

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 (442) hide show
  1. package/LICENSE +5 -198
  2. package/apiReferences/Authenticate.json +1 -0
  3. package/apiReferences/CharacterPlayer.json +1 -0
  4. package/apiReferences/CloudScript.json +1 -0
  5. package/apiReferences/Content.json +1 -0
  6. package/apiReferences/GamePlayer.json +1 -0
  7. package/apiReferences/Group.json +1 -0
  8. package/apiReferences/Inventory.json +1 -0
  9. package/apiReferences/MasterAdmin.json +1 -0
  10. package/apiReferences/MasterPlayer.json +1 -0
  11. package/apiReferences/Multiplayer.json +1 -0
  12. package/apiReferences/StoreInventory.json +1 -0
  13. package/dist/GN-app-api/handler/controller/RequestController.d.ts +5 -5
  14. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginBaseRequestHandler.d.ts +1 -2
  15. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByAccountRequestHandler.d.ts +1 -1
  16. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByAndroidDeviceIdRequestHandler.d.ts +1 -1
  17. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByAppleRequestHandler.d.ts +1 -1
  18. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByCustomDeviceIdRequestHandler.d.ts +1 -1
  19. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByCustomIdRequestHandler.d.ts +1 -1
  20. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByEditorDeviceIdRequestHandler.d.ts +1 -1
  21. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByFacebookRequestHandler.d.ts +1 -1
  22. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByGameCenterRequestHandler.d.ts +5 -5
  23. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByGenericServiceRequestHandler.d.ts +1 -1
  24. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByGooglePlayGameServiceRequestHandler.d.ts +5 -5
  25. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByGoogleRequestHandler.d.ts +1 -1
  26. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByLinuxDeviceIdRequestHandler.d.ts +1 -1
  27. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByMacOSDeviceIdRequestHandler.d.ts +1 -1
  28. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByWindowsDeviceIdRequestHandler.d.ts +1 -1
  29. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByWindowsPhoneDeviceIdRequestHandler.d.ts +1 -1
  30. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByiOSDeviceIdRequestHandler.d.ts +1 -1
  31. package/dist/GN-app-api/handler/controller/handler/authenticate/RefreshAuthTokenRequestHandler.d.ts +1 -1
  32. package/dist/GN-app-api/handler/controller/handler/authenticate/RegisterAccountRequestHandler.d.ts +1 -1
  33. package/dist/GN-app-api/handler/controller/handler/base/IRequestHandler.d.ts +1 -1
  34. package/dist/GN-app-api/handler/controller/handler/base/RequestHandler.d.ts +1 -1
  35. package/dist/GN-app-api/handler/controller/handler/characterPlayer/AddPlayerFriendRequestHandler.d.ts +1 -1
  36. package/dist/GN-app-api/handler/controller/handler/characterPlayer/AddSegmentRequestHandler.d.ts +1 -1
  37. package/dist/GN-app-api/handler/controller/handler/characterPlayer/{SetPlayerCurrencyRequestHandler.d.ts → ChangePlayerCurrencyRequestHandler.d.ts} +5 -5
  38. package/dist/GN-app-api/handler/controller/handler/characterPlayer/{SetPlayerStatisticsRequestHandler.d.ts → ChangePlayerStatisticsRequestHandler.d.ts} +5 -5
  39. package/dist/GN-app-api/handler/controller/handler/characterPlayer/CharacterPlayerBaseRequestHandler.d.ts +1 -1
  40. package/dist/GN-app-api/handler/controller/handler/characterPlayer/{GrantGroupRequestHandler.d.ts → CreateGroupRequestHandler.d.ts} +4 -4
  41. package/dist/GN-app-api/handler/controller/handler/characterPlayer/{GrantPlayerItemRequestHandler.d.ts → CreatePlayerItemRequestHandler.d.ts} +4 -4
  42. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetAvatarRequestHandler.d.ts +1 -1
  43. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCatalogIdRequestHandler.d.ts +1 -1
  44. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCountryCodeRequestHandler.d.ts +1 -1
  45. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCreateLeaderboardRequestHandler.d.ts +5 -5
  46. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCurrencyLeaderboardRequestHandler.d.ts +1 -1
  47. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCurrencyLogRequestHandler.d.ts +2 -2
  48. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCustomDataRequestHandler.d.ts +1 -1
  49. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetDisplayNameRequestHandler.d.ts +1 -1
  50. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetFriendStatisticsLeaderboardAroundPlayerRequestHandler.d.ts +1 -1
  51. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetFriendStatisticsLeaderboardRequestHandler.d.ts +1 -1
  52. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetIpAddressCreateRequestHandler.d.ts +1 -1
  53. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetLastLoginLeaderboardRequestHandler.d.ts +5 -5
  54. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetOwnerRequestHandler.d.ts +1 -1
  55. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerBanRequestHandler.d.ts +1 -1
  56. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerCurrencyRequestHandler.d.ts +1 -1
  57. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerDataRequestHandler.d.ts +1 -1
  58. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerFriendRequestHandler.d.ts +1 -1
  59. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerGroupRequestHandler.d.ts +1 -1
  60. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerInformationRequestHandler.d.ts +1 -1
  61. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerInventoryRequestHandler.d.ts +1 -1
  62. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerStatisticsRequestHandler.d.ts +1 -1
  63. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayersWithDisplayNameRequestHandler.d.ts +1 -1
  64. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayersWithSegmentRequestHandler.d.ts +1 -1
  65. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayersWithTagRequestHandler.d.ts +1 -1
  66. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetRemoveStatusRequestHandler.d.ts +1 -1
  67. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetSegmentRequestHandler.d.ts +1 -1
  68. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetStatisticsLeaderboardAroundPlayerRequestHandler.d.ts +1 -1
  69. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetStatisticsLeaderboardRequestHandler.d.ts +1 -1
  70. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetStatisticsLogRequestHandler.d.ts +2 -2
  71. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetTagRequestHandler.d.ts +1 -1
  72. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetTsCreateRequestHandler.d.ts +1 -1
  73. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetTsLastLoginRequestHandler.d.ts +1 -1
  74. package/dist/GN-app-api/handler/controller/handler/characterPlayer/JoinGroupRequestHandler.d.ts +1 -1
  75. package/dist/GN-app-api/handler/controller/handler/characterPlayer/LeaveGroupRequestHandler.d.ts +1 -1
  76. package/dist/GN-app-api/handler/controller/handler/characterPlayer/RemovePlayerFriendRequestHandler.d.ts +1 -1
  77. package/dist/GN-app-api/handler/controller/handler/characterPlayer/RemovePlayerItemRequestHandler.d.ts +1 -1
  78. package/dist/GN-app-api/handler/controller/handler/characterPlayer/RemoveSegmentRequestHandler.d.ts +1 -1
  79. package/dist/GN-app-api/handler/controller/handler/characterPlayer/RemoveTagRequestHandler.d.ts +1 -1
  80. package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetAvatarRequestHandler.d.ts +1 -1
  81. package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetCountryCodeRequestHandler.d.ts +1 -1
  82. package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetCustomDataRequestHandler.d.ts +2 -2
  83. package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetDisplayNameRequestHandler.d.ts +1 -1
  84. package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetOwnerRequestHandler.d.ts +1 -1
  85. package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetPlayerBanRequestHandler.d.ts +1 -1
  86. package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetPlayerDataRequestHandler.d.ts +2 -2
  87. package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetRemoveStatusRequestHandler.d.ts +1 -1
  88. package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetTagRequestHandler.d.ts +1 -1
  89. package/dist/GN-app-api/handler/controller/handler/cloudScript/AddFunctionRequestHandler.d.ts +1 -1
  90. package/dist/GN-app-api/handler/controller/handler/cloudScript/EditFunctionRequestHandler.d.ts +1 -1
  91. package/dist/GN-app-api/handler/controller/handler/cloudScript/ExecuteFunctionRequestHandler.d.ts +2 -2
  92. package/dist/GN-app-api/handler/controller/handler/cloudScript/GetFunctionRequestHandler.d.ts +1 -1
  93. package/dist/GN-app-api/handler/controller/handler/cloudScript/GetFunctionsRequestHandler.d.ts +1 -1
  94. package/dist/GN-app-api/handler/controller/handler/content/CreateNewFileUploadInfoRequestHandler.d.ts +1 -1
  95. package/dist/GN-app-api/handler/controller/handler/content/GetContentDataRequestHandler.d.ts +1 -1
  96. package/dist/GN-app-api/handler/controller/handler/content/GetFileUploadInfoListRequestHandler.d.ts +1 -1
  97. package/dist/GN-app-api/handler/controller/handler/content/GetFileUploadInfoRequestHandler.d.ts +1 -1
  98. package/dist/GN-app-api/handler/controller/handler/content/RemoveFileUploadInfoRequestHandler.d.ts +1 -1
  99. package/dist/GN-app-api/handler/controller/handler/content/RequestDownloadFileUploadInfoRequestHandler.d.ts +1 -1
  100. package/dist/GN-app-api/handler/controller/handler/content/SetContentDataRequestHandler.d.ts +1 -1
  101. package/dist/GN-app-api/handler/controller/handler/dashboard/ChangePasswordAdminAccountRequestHandler.d.ts +1 -1
  102. package/dist/GN-app-api/handler/controller/handler/dashboard/{GrantAdminAccountRequestHandler.d.ts → CreateAdminAccountRequestHandler.d.ts} +4 -4
  103. package/dist/GN-app-api/handler/controller/handler/dashboard/{GrantGameRequestHandler.d.ts → CreateGameRequestHandler.d.ts} +4 -4
  104. package/dist/GN-app-api/handler/controller/handler/dashboard/{GrantSecretInfoRequestHandler.d.ts → CreateSecretInfoRequestHandler.d.ts} +4 -4
  105. package/dist/GN-app-api/handler/controller/handler/dashboard/DeleteInDatabaseRequestHandler.d.ts +6 -6
  106. package/dist/GN-app-api/handler/controller/handler/dashboard/GetAdminAccountListRequestHandler.d.ts +1 -1
  107. package/dist/GN-app-api/handler/controller/handler/dashboard/GetAnalyticsRequestHandler.d.ts +3 -1
  108. package/dist/GN-app-api/handler/controller/handler/dashboard/GetBackupStatisticsLeaderboardVersionRequestHandler.d.ts +6 -6
  109. package/dist/GN-app-api/handler/controller/handler/dashboard/GetEventCallbackCloudScriptRequestHandler.d.ts +1 -1
  110. package/dist/GN-app-api/handler/controller/handler/dashboard/GetGameInformationRequestHandler.d.ts +1 -1
  111. package/dist/GN-app-api/handler/controller/handler/dashboard/GetGameListRequestHandler.d.ts +1 -1
  112. package/dist/GN-app-api/handler/controller/handler/dashboard/GetMasterGameSettingsRequestHandler.d.ts +1 -1
  113. package/dist/GN-app-api/handler/controller/handler/dashboard/GetSecretInfoInformationRequestHandler.d.ts +2 -2
  114. package/dist/GN-app-api/handler/controller/handler/dashboard/GetSecretInfoListRequestHandler.d.ts +1 -1
  115. package/dist/GN-app-api/handler/controller/handler/dashboard/GetServerGameDataRequestHandler.d.ts +1 -1
  116. package/dist/GN-app-api/handler/controller/handler/dashboard/GetServerLogRequestHandler.d.ts +1 -1
  117. package/dist/GN-app-api/handler/controller/handler/dashboard/GetUsernameAdminAccountRequestHandler.d.ts +1 -1
  118. package/dist/GN-app-api/handler/controller/handler/dashboard/LoginByAdminAccountRequestHandler.d.ts +1 -1
  119. package/dist/GN-app-api/handler/controller/handler/dashboard/RemoveAdminAccountRequestHandler.d.ts +1 -1
  120. package/dist/GN-app-api/handler/controller/handler/dashboard/ResetStatisticsLeaderboardRequestHandler.d.ts +1 -1
  121. package/dist/GN-app-api/handler/controller/handler/dashboard/SetEventCallbackCloudScriptRequestHandler.d.ts +1 -1
  122. package/dist/GN-app-api/handler/controller/handler/dashboard/SetGameInformationRequestHandler.d.ts +2 -2
  123. package/dist/GN-app-api/handler/controller/handler/dashboard/SetMasterGameSettingsRequestHandler.d.ts +1 -1
  124. package/dist/GN-app-api/handler/controller/handler/dashboard/SetPasswordAdminAccountRequestHandler.d.ts +1 -1
  125. package/dist/GN-app-api/handler/controller/handler/dashboard/SetSecretInfoInformationRequestHandler.d.ts +2 -2
  126. package/dist/GN-app-api/handler/controller/handler/dashboard/SetSecretKeyAdminAccountRequestHandler.d.ts +1 -1
  127. package/dist/GN-app-api/handler/controller/handler/dashboard/model/CharacterCatalogSettingsParam.d.ts +1 -1
  128. package/dist/GN-app-api/handler/controller/handler/dashboard/model/CharacterPlayerPermissionRulesParam.d.ts +4 -4
  129. package/dist/GN-app-api/handler/controller/handler/dashboard/model/CharacterPlayerSettingsParam.d.ts +1 -1
  130. package/dist/GN-app-api/handler/controller/handler/dashboard/model/CurrencySettingsParam.d.ts +1 -1
  131. package/dist/GN-app-api/handler/controller/handler/dashboard/model/DataSettingsParam.d.ts +1 -1
  132. package/dist/GN-app-api/handler/controller/handler/dashboard/model/FriendCatalogSettingsParam.d.ts +1 -0
  133. package/dist/GN-app-api/handler/controller/handler/dashboard/model/GamePlayerPermissionRulesParam.d.ts +5 -5
  134. package/dist/GN-app-api/handler/controller/handler/dashboard/model/GamePlayerSettingsParam.d.ts +1 -1
  135. package/dist/GN-app-api/handler/controller/handler/dashboard/model/GroupCatalogSettingsParam.d.ts +1 -1
  136. package/dist/GN-app-api/handler/controller/handler/dashboard/model/GroupPermissionRulesParam.d.ts +3 -3
  137. package/dist/GN-app-api/handler/controller/handler/dashboard/model/GroupSettingsParam.d.ts +1 -1
  138. package/dist/GN-app-api/handler/controller/handler/dashboard/model/InventoryPermissionRulesParam.d.ts +1 -1
  139. package/dist/GN-app-api/handler/controller/handler/dashboard/model/InventorySettingsParam.d.ts +2 -2
  140. package/dist/GN-app-api/handler/controller/handler/dashboard/model/ItemClassSettingsParam.d.ts +1 -1
  141. package/dist/GN-app-api/handler/controller/handler/dashboard/model/MasterAdminPermissionRulesParam.d.ts +3 -3
  142. package/dist/GN-app-api/handler/controller/handler/dashboard/model/MasterPlayerPermissionRulesParam.d.ts +2 -2
  143. package/dist/GN-app-api/handler/controller/handler/dashboard/model/MasterPlayerSettingsParam.d.ts +1 -1
  144. package/dist/GN-app-api/handler/controller/handler/dashboard/model/MatchmakingQueueSettingsParam.d.ts +5 -5
  145. package/dist/GN-app-api/handler/controller/handler/dashboard/model/StatisticsSettingsParam.d.ts +1 -1
  146. package/dist/GN-app-api/handler/controller/handler/dashboard/model/StoreInventoryPermissionRulesParam.d.ts +1 -1
  147. package/dist/GN-app-api/handler/controller/handler/dashboard/model/TagSettingsParam.d.ts +1 -1
  148. package/dist/GN-app-api/handler/controller/handler/gamePlayer/AddPlayerFriendRequestHandler.d.ts +1 -1
  149. package/dist/GN-app-api/handler/controller/handler/gamePlayer/AddSegmentRequestHandler.d.ts +1 -1
  150. package/dist/GN-app-api/handler/controller/handler/gamePlayer/{SetPlayerCurrencyRequestHandler.d.ts → ChangePlayerCurrencyRequestHandler.d.ts} +5 -5
  151. package/dist/GN-app-api/handler/controller/handler/gamePlayer/{SetPlayerStatisticsRequestHandler.d.ts → ChangePlayerStatisticsRequestHandler.d.ts} +5 -5
  152. package/dist/GN-app-api/handler/controller/handler/gamePlayer/{GrantGroupRequestHandler.d.ts → CreateGroupRequestHandler.d.ts} +4 -4
  153. package/dist/GN-app-api/handler/controller/handler/gamePlayer/{GrantPlayerCharacterRequestHandler.d.ts → CreatePlayerCharacterRequestHandler.d.ts} +4 -4
  154. package/dist/GN-app-api/handler/controller/handler/gamePlayer/{GrantPlayerItemRequestHandler.d.ts → CreatePlayerItemRequestHandler.d.ts} +4 -4
  155. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetAvatarRequestHandler.d.ts +1 -1
  156. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCountryCodeRequestHandler.d.ts +1 -1
  157. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCreateLeaderboardRequestHandler.d.ts +5 -5
  158. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCurrencyLeaderboardRequestHandler.d.ts +1 -1
  159. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCurrencyLogRequestHandler.d.ts +6 -6
  160. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCustomDataRequestHandler.d.ts +1 -1
  161. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetDisplayNameRequestHandler.d.ts +1 -1
  162. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetFriendStatisticsLeaderboardAroundPlayerRequestHandler.d.ts +1 -1
  163. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetFriendStatisticsLeaderboardRequestHandler.d.ts +1 -1
  164. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetIpAddressCreateRequestHandler.d.ts +1 -1
  165. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetLastLoginLeaderboardRequestHandler.d.ts +5 -5
  166. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetOnlineStatusRequestHandler.d.ts +1 -1
  167. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerBanRequestHandler.d.ts +1 -1
  168. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerCharacterRequestHandler.d.ts +1 -1
  169. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerCurrencyRequestHandler.d.ts +1 -1
  170. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerDataRequestHandler.d.ts +1 -1
  171. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerFriendRequestHandler.d.ts +1 -1
  172. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerGroupRequestHandler.d.ts +1 -1
  173. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerInformationRequestHandler.d.ts +1 -1
  174. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerInventoryRequestHandler.d.ts +1 -1
  175. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerStatisticsRequestHandler.d.ts +1 -1
  176. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayersWithDisplayNameRequestHandler.d.ts +1 -1
  177. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayersWithSegmentRequestHandler.d.ts +1 -1
  178. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayersWithTagRequestHandler.d.ts +1 -1
  179. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetSegmentRequestHandler.d.ts +1 -1
  180. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetStatisticsLeaderboardAroundPlayerRequestHandler.d.ts +1 -1
  181. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetStatisticsLeaderboardRequestHandler.d.ts +1 -1
  182. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetStatisticsLogRequestHandler.d.ts +6 -6
  183. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetTagRequestHandler.d.ts +1 -1
  184. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetTsCreateRequestHandler.d.ts +1 -1
  185. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetTsLastLoginRequestHandler.d.ts +1 -1
  186. package/dist/GN-app-api/handler/controller/handler/gamePlayer/JoinGroupRequestHandler.d.ts +1 -1
  187. package/dist/GN-app-api/handler/controller/handler/gamePlayer/LeaveGroupRequestHandler.d.ts +1 -1
  188. package/dist/GN-app-api/handler/controller/handler/gamePlayer/RemovePlayerCharacterRequestHandler.d.ts +1 -1
  189. package/dist/GN-app-api/handler/controller/handler/gamePlayer/RemovePlayerFriendRequestHandler.d.ts +1 -1
  190. package/dist/GN-app-api/handler/controller/handler/gamePlayer/RemovePlayerItemRequestHandler.d.ts +1 -1
  191. package/dist/GN-app-api/handler/controller/handler/gamePlayer/RemoveSegmentRequestHandler.d.ts +1 -1
  192. package/dist/GN-app-api/handler/controller/handler/gamePlayer/RemoveTagRequestHandler.d.ts +1 -1
  193. package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetAvatarRequestHandler.d.ts +1 -1
  194. package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetCountryCodeRequestHandler.d.ts +1 -1
  195. package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetCustomDataRequestHandler.d.ts +2 -2
  196. package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetDisplayNameRequestHandler.d.ts +1 -1
  197. package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetPlayerBanRequestHandler.d.ts +1 -1
  198. package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetPlayerDataRequestHandler.d.ts +2 -2
  199. package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetTagRequestHandler.d.ts +1 -1
  200. package/dist/GN-app-api/handler/controller/handler/group/AddMemberRequestHandler.d.ts +1 -1
  201. package/dist/GN-app-api/handler/controller/handler/group/AddSegmentRequestHandler.d.ts +1 -1
  202. package/dist/GN-app-api/handler/controller/handler/group/{SetGroupCurrencyRequestHandler.d.ts → ChangeGroupCurrencyRequestHandler.d.ts} +5 -5
  203. package/dist/GN-app-api/handler/controller/handler/group/{SetGroupStatisticsRequestHandler.d.ts → ChangeGroupStatisticsRequestHandler.d.ts} +5 -5
  204. package/dist/GN-app-api/handler/controller/handler/group/{GrantGroupItemRequestHandler.d.ts → CreateGroupItemRequestHandler.d.ts} +4 -4
  205. package/dist/GN-app-api/handler/controller/handler/group/GetAvatarRequestHandler.d.ts +1 -1
  206. package/dist/GN-app-api/handler/controller/handler/group/GetCatalogIdRequestHandler.d.ts +1 -1
  207. package/dist/GN-app-api/handler/controller/handler/group/GetCreateLeaderboardRequestHandler.d.ts +5 -5
  208. package/dist/GN-app-api/handler/controller/handler/group/GetCurrencyLeaderboardRequestHandler.d.ts +1 -1
  209. package/dist/GN-app-api/handler/controller/handler/group/GetCurrencyLogRequestHandler.d.ts +6 -6
  210. package/dist/GN-app-api/handler/controller/handler/group/GetCustomDataRequestHandler.d.ts +1 -1
  211. package/dist/GN-app-api/handler/controller/handler/group/GetDisplayNameRequestHandler.d.ts +1 -1
  212. package/dist/GN-app-api/handler/controller/handler/group/GetGroupCurrencyRequestHandler.d.ts +1 -1
  213. package/dist/GN-app-api/handler/controller/handler/group/GetGroupDataRequestHandler.d.ts +1 -1
  214. package/dist/GN-app-api/handler/controller/handler/group/GetGroupInformationRequestHandler.d.ts +1 -1
  215. package/dist/GN-app-api/handler/controller/handler/group/GetGroupInventoryRequestHandler.d.ts +1 -1
  216. package/dist/GN-app-api/handler/controller/handler/group/GetGroupMessageRequestHandler.d.ts +1 -1
  217. package/dist/GN-app-api/handler/controller/handler/group/GetGroupStatisticsRequestHandler.d.ts +1 -1
  218. package/dist/GN-app-api/handler/controller/handler/group/GetGroupsWithDisplayNameRequestHandler.d.ts +1 -1
  219. package/dist/GN-app-api/handler/controller/handler/group/GetGroupsWithSegmentRequestHandler.d.ts +1 -1
  220. package/dist/GN-app-api/handler/controller/handler/group/GetGroupsWithTagRequestHandler.d.ts +1 -1
  221. package/dist/GN-app-api/handler/controller/handler/group/GetMembersRequestHandler.d.ts +1 -1
  222. package/dist/GN-app-api/handler/controller/handler/group/GetRemoveStatusRequestHandler.d.ts +1 -1
  223. package/dist/GN-app-api/handler/controller/handler/group/GetSegmentRequestHandler.d.ts +1 -1
  224. package/dist/GN-app-api/handler/controller/handler/group/GetStatisticsLeaderboardAroundGroupRequestHandler.d.ts +1 -1
  225. package/dist/GN-app-api/handler/controller/handler/group/GetStatisticsLeaderboardRequestHandler.d.ts +1 -1
  226. package/dist/GN-app-api/handler/controller/handler/group/GetStatisticsLogRequestHandler.d.ts +6 -6
  227. package/dist/GN-app-api/handler/controller/handler/group/GetTagRequestHandler.d.ts +1 -1
  228. package/dist/GN-app-api/handler/controller/handler/group/GetTsCreateRequestHandler.d.ts +1 -1
  229. package/dist/GN-app-api/handler/controller/handler/group/GroupBaseRequestHandler.d.ts +1 -1
  230. package/dist/GN-app-api/handler/controller/handler/group/RemoveGroupItemRequestHandler.d.ts +1 -1
  231. package/dist/GN-app-api/handler/controller/handler/group/RemoveMemberRequestHandler.d.ts +1 -1
  232. package/dist/GN-app-api/handler/controller/handler/group/RemoveSegmentRequestHandler.d.ts +1 -1
  233. package/dist/GN-app-api/handler/controller/handler/group/RemoveTagRequestHandler.d.ts +1 -1
  234. package/dist/GN-app-api/handler/controller/handler/group/SendGroupMessageRequestHandler.d.ts +1 -1
  235. package/dist/GN-app-api/handler/controller/handler/group/SetAvatarRequestHandler.d.ts +1 -1
  236. package/dist/GN-app-api/handler/controller/handler/group/SetCustomDataRequestHandler.d.ts +2 -2
  237. package/dist/GN-app-api/handler/controller/handler/group/SetDisplayNameRequestHandler.d.ts +1 -1
  238. package/dist/GN-app-api/handler/controller/handler/group/SetGroupDataRequestHandler.d.ts +2 -2
  239. package/dist/GN-app-api/handler/controller/handler/group/SetRemoveStatusRequestHandler.d.ts +1 -1
  240. package/dist/GN-app-api/handler/controller/handler/group/SetTagRequestHandler.d.ts +1 -1
  241. package/dist/GN-app-api/handler/controller/handler/inventory/AddSegmentRequestHandler.d.ts +1 -1
  242. package/dist/GN-app-api/handler/controller/handler/inventory/{SetItemStatisticsRequestHandler.d.ts → ChangeItemStatisticsRequestHandler.d.ts} +5 -5
  243. package/dist/GN-app-api/handler/controller/handler/inventory/GetAmountRequestHandler.d.ts +1 -1
  244. package/dist/GN-app-api/handler/controller/handler/inventory/GetAvatarRequestHandler.d.ts +1 -1
  245. package/dist/GN-app-api/handler/controller/handler/inventory/GetCatalogIdRequestHandler.d.ts +1 -1
  246. package/dist/GN-app-api/handler/controller/handler/inventory/GetClassIdRequestHandler.d.ts +1 -1
  247. package/dist/GN-app-api/handler/controller/handler/inventory/GetCreateLeaderboardRequestHandler.d.ts +5 -5
  248. package/dist/GN-app-api/handler/controller/handler/inventory/GetCustomDataRequestHandler.d.ts +1 -1
  249. package/dist/GN-app-api/handler/controller/handler/inventory/GetDisplayNameRequestHandler.d.ts +1 -1
  250. package/dist/GN-app-api/handler/controller/handler/inventory/GetItemDataRequestHandler.d.ts +2 -2
  251. package/dist/GN-app-api/handler/controller/handler/inventory/GetItemInformationRequestHandler.d.ts +1 -1
  252. package/dist/GN-app-api/handler/controller/handler/inventory/GetItemStatisticsRequestHandler.d.ts +1 -1
  253. package/dist/GN-app-api/handler/controller/handler/inventory/GetItemTypeRequestHandler.d.ts +1 -1
  254. package/dist/GN-app-api/handler/controller/handler/inventory/GetItemsWithDisplayNameRequestHandler.d.ts +1 -1
  255. package/dist/GN-app-api/handler/controller/handler/inventory/GetItemsWithSegmentRequestHandler.d.ts +1 -1
  256. package/dist/GN-app-api/handler/controller/handler/inventory/GetItemsWithTagRequestHandler.d.ts +1 -1
  257. package/dist/GN-app-api/handler/controller/handler/inventory/GetOwnerRequestHandler.d.ts +1 -1
  258. package/dist/GN-app-api/handler/controller/handler/inventory/GetRemoveStatusRequestHandler.d.ts +1 -1
  259. package/dist/GN-app-api/handler/controller/handler/inventory/GetSegmentRequestHandler.d.ts +1 -1
  260. package/dist/GN-app-api/handler/controller/handler/inventory/GetStatisticsLeaderboardAroundItemRequestHandler.d.ts +1 -1
  261. package/dist/GN-app-api/handler/controller/handler/inventory/GetStatisticsLeaderboardRequestHandler.d.ts +1 -1
  262. package/dist/GN-app-api/handler/controller/handler/inventory/GetStatisticsLogRequestHandler.d.ts +6 -6
  263. package/dist/GN-app-api/handler/controller/handler/inventory/GetTagRequestHandler.d.ts +1 -1
  264. package/dist/GN-app-api/handler/controller/handler/inventory/GetTsCreateRequestHandler.d.ts +1 -1
  265. package/dist/GN-app-api/handler/controller/handler/inventory/ItemBaseRequestHandler.d.ts +3 -3
  266. package/dist/GN-app-api/handler/controller/handler/inventory/RemoveSegmentRequestHandler.d.ts +1 -1
  267. package/dist/GN-app-api/handler/controller/handler/inventory/RemoveTagRequestHandler.d.ts +1 -1
  268. package/dist/GN-app-api/handler/controller/handler/inventory/SetAmountRequestHandler.d.ts +1 -1
  269. package/dist/GN-app-api/handler/controller/handler/inventory/SetAvatarRequestHandler.d.ts +1 -1
  270. package/dist/GN-app-api/handler/controller/handler/inventory/SetCustomDataRequestHandler.d.ts +2 -2
  271. package/dist/GN-app-api/handler/controller/handler/inventory/SetDisplayNameRequestHandler.d.ts +1 -1
  272. package/dist/GN-app-api/handler/controller/handler/inventory/SetItemDataRequestHandler.d.ts +2 -2
  273. package/dist/GN-app-api/handler/controller/handler/inventory/SetOwnerRequestHandler.d.ts +1 -1
  274. package/dist/GN-app-api/handler/controller/handler/inventory/SetRemoveStatusRequestHandler.d.ts +1 -1
  275. package/dist/GN-app-api/handler/controller/handler/inventory/SetTagRequestHandler.d.ts +1 -1
  276. package/dist/GN-app-api/handler/controller/handler/masterPlayer/AddPushNotificationRequestHandler.d.ts +1 -1
  277. package/dist/GN-app-api/handler/controller/handler/masterPlayer/AddSegmentRequestHandler.d.ts +1 -1
  278. package/dist/GN-app-api/handler/controller/handler/masterPlayer/ChangeAccountPasswordRequestHandler.d.ts +1 -1
  279. package/dist/GN-app-api/handler/controller/handler/masterPlayer/{SetPlayerCurrencyRequestHandler.d.ts → ChangePlayerCurrencyRequestHandler.d.ts} +5 -5
  280. package/dist/GN-app-api/handler/controller/handler/masterPlayer/{SetPlayerStatisticsRequestHandler.d.ts → ChangePlayerStatisticsRequestHandler.d.ts} +5 -5
  281. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetAvatarRequestHandler.d.ts +1 -1
  282. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCountryCodeRequestHandler.d.ts +1 -1
  283. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCreateLeaderboardRequestHandler.d.ts +5 -5
  284. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCurrencyLeaderboardRequestHandler.d.ts +1 -1
  285. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCurrencyLogRequestHandler.d.ts +6 -6
  286. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCustomDataRequestHandler.d.ts +1 -1
  287. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetDisplayNameRequestHandler.d.ts +1 -1
  288. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetEmailRequestHandler.d.ts +1 -1
  289. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetExternalRequestHandler.d.ts +1 -1
  290. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetIpAddressCreateRequestHandler.d.ts +1 -1
  291. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetLastLoginLeaderboardRequestHandler.d.ts +5 -5
  292. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayerBanRequestHandler.d.ts +1 -1
  293. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayerCurrencyRequestHandler.d.ts +1 -1
  294. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayerDataRequestHandler.d.ts +1 -1
  295. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayerInformationRequestHandler.d.ts +1 -1
  296. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayerStatisticsRequestHandler.d.ts +1 -1
  297. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithAppleRequestHandler.d.ts +1 -1
  298. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithDisplayNameRequestHandler.d.ts +1 -1
  299. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithFacebookRequestHandler.d.ts +1 -1
  300. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithGameCenterRequestHandler.d.ts +5 -5
  301. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithGenericServiceRequestHandler.d.ts +1 -1
  302. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithGooglePlayGameServiceRequestHandler.d.ts +5 -5
  303. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithGoogleRequestHandler.d.ts +1 -1
  304. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithSegmentRequestHandler.d.ts +1 -1
  305. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithTagRequestHandler.d.ts +1 -1
  306. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPushNotificationRequestHandler.d.ts +1 -1
  307. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetSegmentRequestHandler.d.ts +1 -1
  308. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetStatisticsLeaderboardAroundPlayerRequestHandler.d.ts +1 -1
  309. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetStatisticsLeaderboardRequestHandler.d.ts +1 -1
  310. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetStatisticsLogRequestHandler.d.ts +6 -6
  311. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetTagRequestHandler.d.ts +1 -1
  312. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetTsCreateRequestHandler.d.ts +1 -1
  313. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetTsLastLoginRequestHandler.d.ts +1 -1
  314. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkAccountRequestHandler.d.ts +1 -1
  315. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkAndroidDeviceIdRequestHandler.d.ts +1 -1
  316. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkAppleRequestHandler.d.ts +1 -1
  317. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkCustomDeviceIdRequestHandler.d.ts +1 -1
  318. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkCustomIdRequestHandler.d.ts +1 -1
  319. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkEditorDeviceIdRequestHandler.d.ts +1 -1
  320. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkFacebookRequestHandler.d.ts +1 -1
  321. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkGameCenterRequestHandler.d.ts +5 -5
  322. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkGenericServiceRequestHandler.d.ts +1 -1
  323. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkGooglePlayGameServiceRequestHandler.d.ts +5 -5
  324. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkGoogleRequestHandler.d.ts +1 -1
  325. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkLinuxDeviceIdRequestHandler.d.ts +1 -1
  326. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkMacOSDeviceIdRequestHandler.d.ts +1 -1
  327. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkWindowsDeviceIdRequestHandler.d.ts +1 -1
  328. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkWindowsPhoneDeviceIdRequestHandler.d.ts +1 -1
  329. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkiOSDeviceIdRequestHandler.d.ts +1 -1
  330. package/dist/GN-app-api/handler/controller/handler/masterPlayer/RemovePushNotificationRequestHandler.d.ts +1 -1
  331. package/dist/GN-app-api/handler/controller/handler/masterPlayer/RemoveSegmentRequestHandler.d.ts +1 -1
  332. package/dist/GN-app-api/handler/controller/handler/masterPlayer/RemoveTagRequestHandler.d.ts +1 -1
  333. package/dist/GN-app-api/handler/controller/handler/masterPlayer/ResetAccountPasswordRequestHandler.d.ts +1 -1
  334. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SendEmailRequestHandler.d.ts +1 -1
  335. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SendPushNotificationRequestHandler.d.ts +1 -1
  336. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SendSocketOperationEventRequestHandler.d.ts +2 -3
  337. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetAvatarRequestHandler.d.ts +1 -1
  338. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetCountryCodeRequestHandler.d.ts +1 -1
  339. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetCustomDataRequestHandler.d.ts +2 -2
  340. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetDisplayNameRequestHandler.d.ts +1 -1
  341. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetEmailRequestHandler.d.ts +1 -1
  342. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetPlayerBanRequestHandler.d.ts +1 -1
  343. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetPlayerDataRequestHandler.d.ts +2 -2
  344. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetTagRequestHandler.d.ts +1 -1
  345. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetTsLastLoginRequestHandler.d.ts +1 -1
  346. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkAccountRequestHandler.d.ts +1 -1
  347. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkAndroidDeviceIdRequestHandler.d.ts +1 -1
  348. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkAppleRequestHandler.d.ts +1 -1
  349. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkCustomDeviceIdRequestHandler.d.ts +1 -1
  350. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkCustomIdRequestHandler.d.ts +1 -1
  351. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkEditorDeviceIdRequestHandler.d.ts +1 -1
  352. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkFacebookRequestHandler.d.ts +1 -1
  353. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkGameCenterRequestHandler.d.ts +5 -5
  354. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkGenericServiceRequestHandler.d.ts +1 -1
  355. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkGooglePlayGameServiceRequestHandler.d.ts +5 -5
  356. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkGoogleRequestHandler.d.ts +1 -1
  357. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkLinuxDeviceIdRequestHandler.d.ts +1 -1
  358. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkMacOSDeviceIdRequestHandler.d.ts +1 -1
  359. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkWindowsDeviceIdRequestHandler.d.ts +1 -1
  360. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkWindowsPhoneDeviceIdRequestHandler.d.ts +1 -1
  361. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkiOSDeviceIdRequestHandler.d.ts +1 -1
  362. package/dist/GN-app-api/handler/controller/handler/multiplayer/CancelAllMatchmakingTicketRequestHandler.d.ts +1 -1
  363. package/dist/GN-app-api/handler/controller/handler/multiplayer/CancelMatchmakingTicketRequestHandler.d.ts +1 -1
  364. package/dist/GN-app-api/handler/controller/handler/multiplayer/CreateMatchmakingTicketRequestHandler.d.ts +2 -2
  365. package/dist/GN-app-api/handler/controller/handler/multiplayer/GetAllMatchRequestHandler.d.ts +5 -5
  366. package/dist/GN-app-api/handler/controller/handler/multiplayer/GetAllMatchmakingTicketRequestHandler.d.ts +5 -5
  367. package/dist/GN-app-api/handler/controller/handler/multiplayer/GetMatchRequestHandler.d.ts +1 -1
  368. package/dist/GN-app-api/handler/controller/handler/multiplayer/GetMatchmakingTicketRequestHandler.d.ts +1 -1
  369. package/dist/GN-app-api/handler/controller/handler/multiplayer/GetQueueStatisticsRequestHandler.d.ts +1 -1
  370. package/dist/GN-app-api/handler/controller/handler/multiplayer/JoinMatchmakingTicketRequestHandler.d.ts +1 -1
  371. package/dist/GN-app-api/handler/controller/handler/multiplayer/ListMatchmakingTicketsForPlayerRequestHandler.d.ts +1 -1
  372. package/dist/GN-app-api/handler/controller/handler/storeInventory/BuyStoreItemRequestHandler.d.ts +1 -1
  373. package/dist/GN-app-api/handler/controller/handler/storeInventory/{GrantStoreItemRequestHandler.d.ts → CreateStoreItemRequestHandler.d.ts} +4 -4
  374. package/dist/GN-app-api/handler/controller/handler/storeInventory/GetCreateLeaderboardRequestHandler.d.ts +7 -7
  375. package/dist/GN-app-api/handler/controller/handler/storeInventory/GetStoreItemInformationRequestHandler.d.ts +1 -1
  376. package/dist/GN-app-api/handler/controller/handler/storeInventory/GetStoreItemsWithTagRequestHandler.d.ts +1 -1
  377. package/dist/GN-app-api/handler/controller/handler/storeInventory/GetStoreLogRequestHandler.d.ts +5 -5
  378. package/dist/GN-app-api/handler/controller/handler/storeInventory/GetStoreUsedRequestHandler.d.ts +6 -5
  379. package/dist/GN-app-api/handler/controller/handler/storeInventory/PresentStoreItemRequestHandler.d.ts +5 -5
  380. package/dist/GN-app-api/handler/controller/handler/storeInventory/RemoveStoreUsedRequestHandler.d.ts +5 -5
  381. package/dist/GN-app-api/handler/controller/handler/storeInventory/SetRemoveStatusRequestHandler.d.ts +1 -1
  382. package/dist/GN-app-api/handler/controller/handler/storeInventory/SetStoreItemInformationRequestHandler.d.ts +8 -8
  383. package/dist/GN-app-api/handler/controller/handler/storeInventory/StoreItemBaseRequestHandler.d.ts +1 -1
  384. package/dist/GN-app-api/handler/controller/handler/storeInventory/ValidateAppleAppStoreReceiptRequestHandler.d.ts +1 -1
  385. package/dist/GN-app-api/handler/controller/handler/storeInventory/ValidateFacebookStoreReceiptRequestHandler.d.ts +1 -1
  386. package/dist/GN-app-api/handler/controller/handler/storeInventory/ValidateGooglePlayStoreReceiptRequestHandler.d.ts +1 -1
  387. package/dist/GN-app-api/service/AnalyticsService.d.ts +1 -0
  388. package/dist/GN-app-api/service/CloudScriptService.d.ts +5 -3
  389. package/dist/GN-app-api/service/EventCallbackService.d.ts +33 -7
  390. package/dist/GN-app-api/service/IAnalyticsService.d.ts +8 -0
  391. package/dist/GN-app-api/service/IEventCallbackService.d.ts +8 -0
  392. package/dist/GN-common/constant/EventCode.d.ts +6 -6
  393. package/dist/GN-common/constant/OperationCode.d.ts +219 -219
  394. package/dist/GN-common/constant/errorCode/{GNErrorCode.d.ts → ErrorCode.d.ts} +2 -2
  395. package/dist/GN-common/constant/parameterCode/ParameterCode.d.ts +606 -0
  396. package/dist/GN-common/entity/SecretInfo.d.ts +26 -26
  397. package/dist/GN-common/entity/operationEvent/OperationEvent.d.ts +2 -5
  398. package/dist/GN-common/entity/operationHelper/OperationHelper.d.ts +26 -14
  399. package/dist/GN-common/entity/operationRequest/CommonOperationRequest.d.ts +1 -1
  400. package/dist/GN-common/entity/operationRequest/OperationRequest.d.ts +2 -9
  401. package/dist/GN-common/entity/operationRequest/base/Request.d.ts +5 -8
  402. package/dist/GN-common/entity/operationResponse/OperationResponse.d.ts +2 -5
  403. package/dist/GN-common/helper/CodeHelper.d.ts +13 -16
  404. package/dist/GN-common/helper/EnumUtility.d.ts +6 -0
  405. package/dist/GN-library/xdatabase/lib/entity/pro/Group.d.ts +2 -2
  406. package/dist/GN-library/xdatabase/lib/entity/pro/Inventory.d.ts +1 -1
  407. package/dist/GN-library/xdatabase/lib/entity/pro/PlayerBase.d.ts +2 -2
  408. package/dist/GN-library/xdatabase/lib/entity/pro/TradeInventory.d.ts +1 -1
  409. package/dist/GN-library/xdatabase/lib/entity/pro/masterAdmin/SecretInfoItem.d.ts +4 -4
  410. package/dist/GN-library/xdatabase/lib/xDatabase.d.ts +26 -10
  411. package/dist/GN-library/xsettings/lib/entity/xCharacterCatalogSettings.d.ts +1 -1
  412. package/dist/GN-library/xsettings/lib/entity/xCharacterPlayerSettings.d.ts +1 -1
  413. package/dist/GN-library/xsettings/lib/entity/xCurrencySettings.d.ts +1 -1
  414. package/dist/GN-library/xsettings/lib/entity/xDataSettings.d.ts +1 -1
  415. package/dist/GN-library/xsettings/lib/entity/xFriendCatalogSettings.d.ts +1 -0
  416. package/dist/GN-library/xsettings/lib/entity/xGamePlayerSettings.d.ts +1 -1
  417. package/dist/GN-library/xsettings/lib/entity/xGroupCatalogSettings.d.ts +1 -1
  418. package/dist/GN-library/xsettings/lib/entity/xGroupSettings.d.ts +1 -1
  419. package/dist/GN-library/xsettings/lib/entity/xInventorySettings.d.ts +2 -2
  420. package/dist/GN-library/xsettings/lib/entity/xItemCatalogSettings.d.ts +1 -1
  421. package/dist/GN-library/xsettings/lib/entity/xMasterPlayerSettings.d.ts +1 -1
  422. package/dist/GN-library/xsettings/lib/entity/xStatisticsSettings.d.ts +1 -1
  423. package/dist/GN-library/xsettings/lib/entity/xTagSettings.d.ts +1 -1
  424. package/dist/GN-startup/cloudScript/banner.txt +6 -0
  425. package/dist/GN-startup/cloudScript/eventCallbackCloudScriptData.json +117 -112
  426. package/dist/GN-startup/cloudScript/templateCloudScript.ts +277 -247
  427. package/dist/GN-startup/cloudScript/templateEventCallback.ts +196 -127
  428. package/dist/GN-startup/routes/ClusterHandler.d.ts +12 -0
  429. package/dist/GN-startup/routes/SocketAppHandler.d.ts +1 -1
  430. package/dist/GN-startup/routes/utils/wrap.d.ts +1 -1
  431. package/dist/GN-startup/settings/ApplicationSettings.d.ts +9 -0
  432. package/dist/GN-startup/settings/DatabaseSettings.d.ts +6 -0
  433. package/dist/GN-startup/settings/OtherSettings.d.ts +3 -0
  434. package/dist/GNServer.d.ts +8 -5
  435. package/dist/index.d.ts +2 -8
  436. package/gn.sh +30 -32
  437. package/index.js +26 -0
  438. package/package.json +12 -7
  439. package/dist/GN-app-api/service/GenericService.d.ts +0 -11
  440. package/dist/GN-app-api/service/IGenericService.d.ts +0 -26
  441. package/dist/GN-common/constant/parameterCode/GNParameterCode.d.ts +0 -599
  442. package/dist/index.js +0 -88041
@@ -1,78 +1,78 @@
1
- import { SecretInfo, SecretPermissionItem } from "../../index";
2
- import { AuthInfo } from "../../index";
3
- import { authenticate_InfoRequestParam as authenticate_InfoRequestParam } from "../../index";
4
- import { characterPlayer_InfoRequestParam as characterPlayer_InfoRequestParam } from "../../index";
5
- import { gamePlayer_InfoRequestParam as gamePlayer_InfoRequestParam } from "../../index";
6
- import { group_InfoRequestParam as group_InfoRequestParam } from "../../index";
7
- import { inventory_InfoRequestParam as inventory_InfoRequestParam } from "../../index";
8
- import { masterPlayer_InfoRequestParam as masterPlayer_InfoRequestParam } from "../../index";
9
- import { storeInventory_InfoRequestParam as storeInventory_InfoRequestParam } from "../../index";
10
- import { PermissionParam } from "../../index";
11
-
12
- import { ContentDataParam } from "../../index";
13
-
14
- import { CustomDataParam } from "../../index";
15
- // import { GroupMemberParam } from "../../index";
16
- import { PlayerCurrencyParam } from "../../index";
17
- import { PlayerDataParam } from "../../index";
18
- import { PlayerStatisticsParam } from "../../index";
19
-
20
- import { GroupCurrencyParam } from "../../index";
21
- import { GroupDataParam } from "../../index";
22
- import { GroupMemberParam } from "../../index";
23
- import { GroupMessageItem } from "../../index";
24
- import { GroupStatisticsParam } from "../../index";
25
-
26
- import { ItemDataParam } from "../../index";
27
- import { ItemStatisticsParam } from "../../index";
28
-
29
- import { AvatarParam } from "../../index";
30
- import { CurrencyParam } from "../../index";
31
- import { InAppPurchaseParam } from "../../index";
32
- import { StoreDataParam } from "../../index";
33
- import { StoreItemParam } from "../../index";
34
- import { TagParam } from "../../index";
35
-
36
- import { AuthenticatePermissionRulesParam } from "../../index";
37
- import { CharacterCatalogSettingsParam } from "../../index";
38
- import { CharacterPlayerPermissionRulesParam } from "../../index";
39
- import { CharacterPlayerSettingsParam } from "../../index";
40
- import { CloudScriptPermissionRulesParam } from "../../index";
41
- import { ContentPermissionRulesParam } from "../../index";
42
- import { CurrencySettingsParam } from "../../index";
43
- import { DataSettingsParam } from "../../index";
44
- import { FriendCatalogSettingsParam } from "../../index";
45
- import { GamePlayerPermissionRulesParam } from "../../index";
46
- import { GamePlayerSettingsParam } from "../../index";
47
- import { GameSettingsParam } from "../../index";
48
- import { GenericServiceSettingsParam } from "../../index";
49
- import { GroupCatalogSettingsParam } from "../../index";
50
- import { GroupPermissionRulesParam } from "../../index";
51
- import { GroupSettingsParam } from "../../index";
52
- import { InventoryPermissionRulesParam } from "../../index";
53
- import { InventorySettingsParam } from "../../index";
54
- import { ItemCatalogSettingsParam } from "../../index";
55
- import { ItemClassSettingsParam } from "../../index";
56
- import { MasterAdminPermissionRulesParam } from "../../index";
57
- import { MasterPlayerPermissionRulesParam } from "../../index";
58
- import { MasterPlayerSettingsParam } from "../../index";
59
- import { MatchmakingQueueSettingsParam } from "../../index";
60
- import { MultiplayerPermissionRulesParam } from "../../index";
61
- import { PermissionRulesParam } from "../../index";
62
- import { StatisticsSettingsParam } from "../../index";
63
- import { StoreInventoryPermissionRulesParam } from "../../index";
64
- import { TagSettingsParam } from "../../index";
65
- import { ThirtPartyAppleSettingsParam } from "../../index";
66
- import { ThirtPartyFacebookSettingsParam } from "../../index";
67
- import { ThirtPartyGameCenterSettingsParam } from "../../index";
68
- import { ThirtPartyGooglePlayGameSettingsParam } from "../../index";
69
- import { ThirtPartyParam } from "../../index";
70
- import { EmailSettingsParam } from "../../index";
71
- import { PushNotificationSettingsParam } from "../../index";
72
- import { AnalyticsRequestParams } from "../../index";
73
- import { ServerGameDataRequestParams } from "../../index";
74
- import { MatchmakingTicketCanMatch } from "../../index";
75
- import { ServerDetail } from "../../index";
1
+ import { SecretInfo, SecretPermissionItem } from "./../../index";
2
+ import { AuthInfo } from "./../../index";
3
+ import { authenticate_InfoRequestParam as authenticate_InfoRequestParam } from "./../../index";
4
+ import { characterPlayer_InfoRequestParam as characterPlayer_InfoRequestParam } from "./../../index";
5
+ import { gamePlayer_InfoRequestParam as gamePlayer_InfoRequestParam } from "./../../index";
6
+ import { group_InfoRequestParam as group_InfoRequestParam } from "./../../index";
7
+ import { inventory_InfoRequestParam as inventory_InfoRequestParam } from "./../../index";
8
+ import { masterPlayer_InfoRequestParam as masterPlayer_InfoRequestParam } from "./../../index";
9
+ import { storeInventory_InfoRequestParam as storeInventory_InfoRequestParam } from "./../../index";
10
+ import { PermissionParam } from "./../../index";
11
+
12
+ import { ContentDataParam } from "./../../index";
13
+
14
+ import { CustomDataParam } from "./../../index";
15
+ // import { GroupMemberParam } from "./../../index";
16
+ import { PlayerCurrencyParam } from "./../../index";
17
+ import { PlayerDataParam } from "./../../index";
18
+ import { PlayerStatisticsParam } from "./../../index";
19
+
20
+ import { GroupCurrencyParam } from "./../../index";
21
+ import { GroupDataParam } from "./../../index";
22
+ import { GroupMemberParam } from "./../../index";
23
+ import { GroupMessageItem } from "./../../index";
24
+ import { GroupStatisticsParam } from "./../../index";
25
+
26
+ import { ItemDataParam } from "./../../index";
27
+ import { ItemStatisticsParam } from "./../../index";
28
+
29
+ import { AvatarParam } from "./../../index";
30
+ import { CurrencyParam } from "./../../index";
31
+ import { InAppPurchaseParam } from "./../../index";
32
+ import { StoreDataParam } from "./../../index";
33
+ import { StoreItemParam } from "./../../index";
34
+ import { TagParam } from "./../../index";
35
+
36
+ import { AuthenticatePermissionRulesParam } from "./../../index";
37
+ import { CharacterCatalogSettingsParam } from "./../../index";
38
+ import { CharacterPlayerPermissionRulesParam } from "./../../index";
39
+ import { CharacterPlayerSettingsParam } from "./../../index";
40
+ import { CloudScriptPermissionRulesParam } from "./../../index";
41
+ import { ContentPermissionRulesParam } from "./../../index";
42
+ import { CurrencySettingsParam } from "./../../index";
43
+ import { DataSettingsParam } from "./../../index";
44
+ import { FriendCatalogSettingsParam } from "./../../index";
45
+ import { GamePlayerPermissionRulesParam } from "./../../index";
46
+ import { GamePlayerSettingsParam } from "./../../index";
47
+ import { GameSettingsParam } from "./../../index";
48
+ import { GenericServiceSettingsParam } from "./../../index";
49
+ import { GroupCatalogSettingsParam } from "./../../index";
50
+ import { GroupPermissionRulesParam } from "./../../index";
51
+ import { GroupSettingsParam } from "./../../index";
52
+ import { InventoryPermissionRulesParam } from "./../../index";
53
+ import { InventorySettingsParam } from "./../../index";
54
+ import { ItemCatalogSettingsParam } from "./../../index";
55
+ import { ItemClassSettingsParam } from "./../../index";
56
+ import { MasterAdminPermissionRulesParam } from "./../../index";
57
+ import { MasterPlayerPermissionRulesParam } from "./../../index";
58
+ import { MasterPlayerSettingsParam } from "./../../index";
59
+ import { MatchmakingQueueSettingsParam } from "./../../index";
60
+ import { MultiplayerPermissionRulesParam } from "./../../index";
61
+ import { PermissionRulesParam } from "./../../index";
62
+ import { StatisticsSettingsParam } from "./../../index";
63
+ import { StoreInventoryPermissionRulesParam } from "./../../index";
64
+ import { TagSettingsParam } from "./../../index";
65
+ import { ThirtPartyAppleSettingsParam } from "./../../index";
66
+ import { ThirtPartyFacebookSettingsParam } from "./../../index";
67
+ import { ThirtPartyGameCenterSettingsParam } from "./../../index";
68
+ import { ThirtPartyGooglePlayGameSettingsParam } from "./../../index";
69
+ import { ThirtPartyParam } from "./../../index";
70
+ import { EmailSettingsParam } from "./../../index";
71
+ import { PushNotificationSettingsParam } from "./../../index";
72
+ import { AnalyticsRequestParams } from "./../../index";
73
+ import { ServerGameDataRequestParams } from "./../../index";
74
+ import { MatchmakingTicketCanMatch } from "./../../index";
75
+ import { ServerDetail } from "./../../index";
76
76
 
77
77
  import {
78
78
  GNNetwork,
@@ -83,8 +83,7 @@ import {
83
83
  Action4,
84
84
  ConverterService,
85
85
  OwnerType,
86
- GNErrorCode,
87
- GNParameterCode,
86
+ ErrorCode,
88
87
  ParameterCode,
89
88
  Commands,
90
89
  EventCode,
@@ -158,9 +157,8 @@ enum CloudScriptEventType {
158
157
  interface CloudScriptEvent {
159
158
  eventType: CloudScriptEventType;
160
159
  operationEvent: {
161
- eventCode: number;
160
+ eventCode: string;
162
161
  parameters: {} | null;
163
- encrypted: boolean;
164
162
  };
165
163
  receiver: string[] | string | null;
166
164
  }
@@ -207,25 +205,25 @@ class CloudScriptAdmin {
207
205
  };
208
206
  public send(
209
207
  requestType: RequestType,
210
- requestRole: RequestRole,
208
+ role: RequestRole,
211
209
  request: OperationRequest,
212
210
  onResponse: Action1<OperationResponse>,
213
211
  overrideAuthToken: string,
214
212
  overrideSecretKey: string,
215
213
  customTags: GNHashtable
216
214
  ): void {
217
- GNNetwork.sendViaHttp(requestType, requestRole, request, onResponse, overrideAuthToken, overrideSecretKey, customTags);
215
+ GNNetwork.sendViaHttp(requestType, role, request, onResponse, overrideAuthToken, overrideSecretKey, customTags);
218
216
  }
219
217
 
220
218
  public sendAsync(
221
219
  requestType: RequestType,
222
- requestRole: RequestRole,
220
+ role: RequestRole,
223
221
  request: OperationRequest,
224
222
  overrideAuthToken: string,
225
223
  overrideSecretKey: string,
226
224
  customTags: GNHashtable
227
225
  ): Promise<OperationResponse> {
228
- return GNNetwork.sendViaHttpAsync(requestType, requestRole, request, overrideAuthToken, overrideSecretKey, customTags);
226
+ return GNNetwork.sendViaHttpAsync(requestType, role, request, overrideAuthToken, overrideSecretKey, customTags);
229
227
  }
230
228
  }
231
229
 
@@ -238,45 +236,87 @@ class CloudScriptDatabase {
238
236
  private client: mongodb.MongoClient;
239
237
  private db: mongodb.Db;
240
238
 
241
- init(url: string, dbName: string, options?: mongodb.MongoClientOptions): void {
239
+ private logClient: mongodb.MongoClient;
240
+ private logDb: mongodb.Db;
241
+
242
+ init(url: string, dbName: string, logUrl: string, logDbName: string, options?: mongodb.MongoClientOptions): void {
242
243
  this.client = new mongodb.MongoClient(url, options);
243
244
 
244
245
  this.db = this.client.db(dbName);
245
246
 
246
- this.client.connect();
247
+ if (!logUrl || logUrl == "" || logUrl == url) {
248
+ this.logClient = this.client;
249
+ this.logDb = this.db;
250
+ }
251
+ else {
252
+ this.logClient = new mongodb.MongoClient(logUrl, options);
253
+ this.logDb = this.logClient.db(logDbName);
254
+ }
247
255
  }
248
256
 
249
- public runtimeCollection(collectionName: string): mongodb.Collection<mongodb.Document> {
250
- return this.collection(CloudScriptDatabase.RUNTIME + collectionName);
257
+ public runtimeCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string): mongodb.Collection<TSchema> {
258
+ return this.collection<TSchema>(CloudScriptDatabase.RUNTIME + collectionName);
251
259
  }
252
260
 
253
- public metaCollection(collectionName: string): mongodb.Collection<mongodb.Document> {
254
- return this.collection(CloudScriptDatabase.META + collectionName);
261
+ public metaCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string): mongodb.Collection<TSchema> {
262
+ return this.collection<TSchema>(CloudScriptDatabase.META + collectionName);
255
263
  }
256
264
 
257
- public systemCollection(collectionName: string): mongodb.Collection<mongodb.Document> {
258
- return this.collection(CloudScriptDatabase.SYSTEM + collectionName);
265
+ public systemCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string): mongodb.Collection<TSchema> {
266
+ return this.collection<TSchema>(CloudScriptDatabase.SYSTEM + collectionName);
259
267
  }
260
268
 
261
- public runtimeGameCollection(collectionName: string, gameId: string): mongodb.Collection<mongodb.Document> {
262
- return this.collection(CloudScriptDatabase.RUNTIME + gameId + CloudScriptDatabase.DOT + collectionName);
269
+ public runtimeGameCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, gameId: string): mongodb.Collection<TSchema> {
270
+ return this.collection<TSchema>(CloudScriptDatabase.RUNTIME + gameId + CloudScriptDatabase.DOT + collectionName);
263
271
  }
264
272
 
265
- public metaGameCollection(collectionName: string, gameId: string): mongodb.Collection<mongodb.Document> {
266
- return this.collection(CloudScriptDatabase.META + gameId + CloudScriptDatabase.DOT + collectionName);
273
+ public metaGameCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, gameId: string): mongodb.Collection<TSchema> {
274
+ return this.collection<TSchema>(CloudScriptDatabase.META + gameId + CloudScriptDatabase.DOT + collectionName);
267
275
  }
268
276
 
269
- public systemGameCollection(collectionName: string, gameId: string): mongodb.Collection<mongodb.Document> {
270
- return this.collection(CloudScriptDatabase.SYSTEM + gameId + CloudScriptDatabase.DOT + collectionName);
277
+ public systemGameCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, gameId: string): mongodb.Collection<TSchema> {
278
+ return this.collection<TSchema>(CloudScriptDatabase.SYSTEM + gameId + CloudScriptDatabase.DOT + collectionName);
271
279
  }
272
280
 
273
- public collection(fullCollectionName: string): mongodb.Collection<mongodb.Document> {
274
- return this.db.collection(fullCollectionName);
281
+ public collection<TSchema extends mongodb.Document = mongodb.Document>(fullCollectionName: string): mongodb.Collection<TSchema> {
282
+ return this.db.collection<TSchema>(fullCollectionName);
275
283
  }
276
284
 
277
285
  public createCollection(name: string, options?: mongodb.CreateCollectionOptions): Promise<mongodb.Collection<mongodb.BSON.Document>> {
278
286
  return this.db.createCollection(name, options);
279
287
  }
288
+
289
+ public logRuntimeCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string): mongodb.Collection<TSchema> {
290
+ return this.logCollection<TSchema>(CloudScriptDatabase.RUNTIME + collectionName);
291
+ }
292
+
293
+ public logMetaCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string): mongodb.Collection<TSchema> {
294
+ return this.logCollection<TSchema>(CloudScriptDatabase.META + collectionName);
295
+ }
296
+
297
+ public logSystemCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string): mongodb.Collection<TSchema> {
298
+ return this.logCollection<TSchema>(CloudScriptDatabase.SYSTEM + collectionName);
299
+ }
300
+
301
+ public logRuntimeGameCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, gameId: string): mongodb.Collection<TSchema> {
302
+ return this.logCollection<TSchema>(CloudScriptDatabase.RUNTIME + gameId + CloudScriptDatabase.DOT + collectionName);
303
+ }
304
+
305
+ public logMetaGameCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, gameId: string): mongodb.Collection<TSchema> {
306
+ return this.logCollection<TSchema>(CloudScriptDatabase.META + gameId + CloudScriptDatabase.DOT + collectionName);
307
+ }
308
+
309
+ public logSystemGameCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, gameId: string): mongodb.Collection<TSchema> {
310
+ return this.logCollection<TSchema>(CloudScriptDatabase.SYSTEM + gameId + CloudScriptDatabase.DOT + collectionName);
311
+ }
312
+
313
+ public logCollection<TSchema extends mongodb.Document = mongodb.Document>(fullCollectionName: string): mongodb.Collection<TSchema> {
314
+ return this.logDb.collection<TSchema>(fullCollectionName);
315
+ }
316
+
317
+ public logCreateCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, options?: mongodb.CreateCollectionOptions) {
318
+ return this.logDb.createCollection<TSchema>(collectionName, options)
319
+ }
280
320
  }
281
321
 
282
322
  class CloudScriptHttp {
@@ -316,7 +356,6 @@ class CloudScriptSocket {
316
356
  receiver: userId,
317
357
  operationEvent: {
318
358
  eventCode: operationEvent.getEventCode(),
319
- encrypted: operationEvent.isEncrypted(),
320
359
  parameters: operationEvent.getParameters()?.toData() ?? null,
321
360
  },
322
361
  });
@@ -328,7 +367,6 @@ class CloudScriptSocket {
328
367
  receiver: userIds,
329
368
  operationEvent: {
330
369
  eventCode: operationEvent.getEventCode(),
331
- encrypted: operationEvent.isEncrypted(),
332
370
  parameters: operationEvent.getParameters()?.toData() ?? null,
333
371
  },
334
372
  });
@@ -340,7 +378,6 @@ class CloudScriptSocket {
340
378
  receiver: null,
341
379
  operationEvent: {
342
380
  eventCode: operationEvent.getEventCode(),
343
- encrypted: operationEvent.isEncrypted(),
344
381
  parameters: operationEvent.getParameters()?.toData() ?? null,
345
382
  },
346
383
  });
@@ -360,7 +397,6 @@ class CloudScriptMatchmaking {
360
397
  receiver: null,
361
398
  operationEvent: {
362
399
  eventCode: 0,
363
- encrypted: false,
364
400
  parameters: {
365
401
  gameId: gameId,
366
402
  matchmakingTicketCanMatch: matchmakingTicketCanMatch,
@@ -379,7 +415,6 @@ class CloudScriptMail {
379
415
  receiver: null,
380
416
  operationEvent: {
381
417
  eventCode: 0,
382
- encrypted: false,
383
418
  parameters: {
384
419
  email: email,
385
420
  subject: subject,
@@ -396,7 +431,6 @@ class CloudScriptMail {
396
431
  receiver: null,
397
432
  operationEvent: {
398
433
  eventCode: 0,
399
- encrypted: false,
400
434
  parameters: {
401
435
  emails: emails,
402
436
  subject: subject,
@@ -415,7 +449,6 @@ class CloudScriptPushNotification {
415
449
  receiver: null,
416
450
  operationEvent: {
417
451
  eventCode: 0,
418
- encrypted: false,
419
452
  parameters: {
420
453
  token: token,
421
454
  title: title,
@@ -436,7 +469,6 @@ class CloudScriptPushNotification {
436
469
  receiver: null,
437
470
  operationEvent: {
438
471
  eventCode: 0,
439
- encrypted: false,
440
472
  parameters: {
441
473
  tokens: tokens,
442
474
  title: title,
@@ -457,7 +489,6 @@ class CloudScriptPushNotification {
457
489
  receiver: null,
458
490
  operationEvent: {
459
491
  eventCode: 0,
460
- encrypted: false,
461
492
  parameters: {
462
493
  topic: topic,
463
494
  title: title,
@@ -478,7 +509,6 @@ class CloudScriptPushNotification {
478
509
  receiver: null,
479
510
  operationEvent: {
480
511
  eventCode: 0,
481
- encrypted: false,
482
512
  parameters: {
483
513
  tokens: tokens,
484
514
  topic: topic,
@@ -494,7 +524,6 @@ class CloudScriptPushNotification {
494
524
  receiver: null,
495
525
  operationEvent: {
496
526
  eventCode: 0,
497
- encrypted: false,
498
527
  parameters: {
499
528
  tokens: tokens,
500
529
  topic: topic,
@@ -524,20 +553,18 @@ interface CloudScriptRequest {
524
553
  permission: SecretPermissionItem;
525
554
  gameId: string;
526
555
  isDefault: boolean;
527
- displayName: string;
556
+ description: string;
528
557
  onlyMasterAdmin: boolean;
529
558
  };
530
559
  operationRequest: {
531
- operationCode: number;
560
+ operationCode: string;
532
561
  requestId: number;
533
562
  parameters: {};
534
- encrypted: boolean;
535
563
  };
536
564
  operationResponse?: {
537
565
  returnCode: number;
538
566
  debugMessage: string;
539
567
  parameters: {};
540
- encrypted: boolean;
541
568
  };
542
569
  log: (log: any) => void;
543
570
  }
@@ -573,7 +600,6 @@ interface FunctionResponse {
573
600
  returnCode: number;
574
601
  debugMessage: string;
575
602
  parameters?: {};
576
- encrypted: boolean;
577
603
  } | null;
578
604
  request: {
579
605
  [k: string]: any;
@@ -603,9 +629,22 @@ process?.on("message", async (request: CloudScriptRequest) => {
603
629
 
604
630
  handleResponse = await ___handleMatchmakingFunction(functionRequest);
605
631
  }
632
+ else if (request.eventName == "system_VerifyGenericService") {
633
+ let functionRequest: FunctionRequest = {
634
+ eventName: request.eventName,
635
+ operationRequest: null as any,
636
+ secretInfo: null as any,
637
+ request: request.request,
638
+ log(log: any) {
639
+ logs.push(JSON.stringify(log));
640
+ },
641
+ };
642
+
643
+ handleResponse = await ___handleGenericServiceFunction(functionRequest);
644
+ }
606
645
  else if (request.eventName == "system_OnAuthenticateSuccess") {
607
646
  let originOperationRequest = request.operationRequest;
608
- let operationRequest = new OperationRequest(originOperationRequest.operationCode, originOperationRequest.encrypted);
647
+ let operationRequest = new OperationRequest(originOperationRequest.operationCode);
609
648
  if (originOperationRequest.parameters) {
610
649
  operationRequest.setParameters(GNHashtable.builder().addAll(originOperationRequest.parameters).build());
611
650
  }
@@ -615,7 +654,7 @@ process?.on("message", async (request: CloudScriptRequest) => {
615
654
  if (originSecretInfo) {
616
655
  secretInfo = SecretInfo.Builder()
617
656
  .setSecretKey(originSecretInfo.secretKey)
618
- .setDisplayName(originSecretInfo.displayName)
657
+ .setDescription(originSecretInfo.description)
619
658
  .setRole(originSecretInfo.role)
620
659
  .setIsRemove(originSecretInfo.remove)
621
660
  .setTsExpire(originSecretInfo.tsExpire)
@@ -630,7 +669,7 @@ process?.on("message", async (request: CloudScriptRequest) => {
630
669
  let operationResponse: OperationResponse = null as any;
631
670
 
632
671
  if (originOperationResponse) {
633
- operationResponse = new OperationResponse(originOperationRequest.operationCode, originOperationRequest.requestId, originOperationRequest.encrypted);
672
+ operationResponse = new OperationResponse(originOperationRequest.operationCode, originOperationRequest.requestId);
634
673
  operationResponse.setReturnCode(originOperationResponse.returnCode);
635
674
  operationResponse.setDebugMessage(originOperationResponse.debugMessage);
636
675
 
@@ -668,7 +707,7 @@ process?.on("message", async (request: CloudScriptRequest) => {
668
707
  } else if (request.eventType == EventCallbackType.Event) {
669
708
  let originOperationEvent = request.operationRequest;
670
709
 
671
- let operationEvent = new OperationEvent(originOperationEvent.operationCode, (originOperationEvent.parameters ? GNHashtable.builder().addAll(originOperationEvent.parameters).build() : null as any), originOperationEvent.encrypted);
710
+ let operationEvent = new OperationEvent(originOperationEvent.operationCode, (originOperationEvent.parameters ? GNHashtable.builder().addAll(originOperationEvent.parameters).build() : null as any));
672
711
 
673
712
  let functionRequest: FunctionRequest = {
674
713
  eventName: request.eventName,
@@ -686,7 +725,7 @@ process?.on("message", async (request: CloudScriptRequest) => {
686
725
  handleResponse = await ___handleEventFunction(functionRequest);
687
726
  } else {
688
727
  let originOperationRequest = request.operationRequest;
689
- let operationRequest = new OperationRequest(originOperationRequest.operationCode, originOperationRequest.encrypted);
728
+ let operationRequest = new OperationRequest(originOperationRequest.operationCode);
690
729
  if (originOperationRequest.parameters) {
691
730
  operationRequest.setParameters(GNHashtable.builder().addAll(originOperationRequest.parameters).build());
692
731
  }
@@ -696,7 +735,7 @@ process?.on("message", async (request: CloudScriptRequest) => {
696
735
  if (originSecretInfo) {
697
736
  secretInfo = SecretInfo.Builder()
698
737
  .setSecretKey(originSecretInfo.secretKey)
699
- .setDisplayName(originSecretInfo.displayName)
738
+ .setDescription(originSecretInfo.description)
700
739
  .setRole(originSecretInfo.role)
701
740
  .setIsRemove(originSecretInfo.remove)
702
741
  .setTsExpire(originSecretInfo.tsExpire)
@@ -724,7 +763,7 @@ process?.on("message", async (request: CloudScriptRequest) => {
724
763
  let operationResponse: OperationResponse = null as any;
725
764
 
726
765
  if (originOperationResponse) {
727
- operationResponse = new OperationResponse(originOperationRequest.operationCode, originOperationRequest.requestId, originOperationRequest.encrypted);
766
+ operationResponse = new OperationResponse(originOperationRequest.operationCode, originOperationRequest.requestId);
728
767
  operationResponse.setReturnCode(originOperationResponse.returnCode);
729
768
  operationResponse.setDebugMessage(originOperationResponse.debugMessage);
730
769
 
@@ -803,6 +842,38 @@ async function ___handleMatchmakingFunction(request: FunctionRequest): Promise<F
803
842
  return answer;
804
843
  }
805
844
 
845
+ async function ___handleGenericServiceFunction(request: FunctionRequest): Promise<FunctionResponse> {
846
+ let handler = systemGenericServiceHandlers[request.eventName];
847
+
848
+ if (handler == null) {
849
+ return {
850
+ status: ExecuteResponseStatus.FunctionNameNotFound,
851
+ result: null,
852
+ request: null,
853
+ errorMessage: null,
854
+ };
855
+ }
856
+
857
+ let answer: FunctionResponse = {
858
+ status: ExecuteResponseStatus.Ok,
859
+ errorMessage: null,
860
+ result: null,
861
+ request: null,
862
+ };
863
+
864
+ try {
865
+ let result = await handler(request.request.serviceName, request.request.serviceData, request.log);
866
+
867
+ if (result != null)
868
+ answer.request = result;
869
+ } catch (err: any) {
870
+ answer.status = ExecuteResponseStatus.Exception;
871
+ answer.errorMessage = err.message;
872
+ }
873
+
874
+ return answer;
875
+ }
876
+
806
877
  async function ___handleSystemAuthenticateFunction(request: FunctionRequest): Promise<FunctionResponse> {
807
878
  let handler = systemAuthenticateHandlers[request.eventName];
808
879
 
@@ -829,7 +900,6 @@ async function ___handleSystemAuthenticateFunction(request: FunctionRequest): Pr
829
900
  answer.result = {
830
901
  returnCode: result.getReturnCode(),
831
902
  debugMessage: result.getDebugMessage(),
832
- encrypted: result.isEncrypted(),
833
903
  parameters: result.getParameters()?.toData(),
834
904
  };
835
905
  }
@@ -898,7 +968,6 @@ async function ___handleEventFunction(request: FunctionRequest): Promise<Functio
898
968
  answer.result = {
899
969
  returnCode: operationEvent.getEventCode(),
900
970
  debugMessage: null as any,
901
- encrypted: operationEvent.isEncrypted(),
902
971
  parameters: operationEvent.getParameters()?.toData(),
903
972
  };
904
973
 
@@ -937,7 +1006,6 @@ async function ___handlePreFunction(request: FunctionRequest): Promise<FunctionR
937
1006
  answer.result = {
938
1007
  returnCode: result.getReturnCode(),
939
1008
  debugMessage: result.getDebugMessage(),
940
- encrypted: result.isEncrypted(),
941
1009
  parameters: result.getParameters()?.toData(),
942
1010
  };
943
1011
 
@@ -976,7 +1044,6 @@ async function ___handlePostFunction(request: FunctionRequest): Promise<Function
976
1044
  answer.result = {
977
1045
  returnCode: result.getReturnCode(),
978
1046
  debugMessage: result.getDebugMessage(),
979
- encrypted: result.isEncrypted(),
980
1047
  parameters: result.getParameters()?.toData(),
981
1048
  };
982
1049
  }
@@ -1007,7 +1074,7 @@ const pushNotification = new CloudScriptPushNotification();
1007
1074
 
1008
1075
  {
1009
1076
  let dbConnection = JSON.parse(process.env.dbConnection ?? "");
1010
- database.init(dbConnection.url, dbConnection.dbName, dbConnection.options);
1077
+ database.init(dbConnection.url, dbConnection.dbName, dbConnection.logUrl, dbConnection.logDbName, dbConnection.options);
1011
1078
  }
1012
1079
 
1013
1080
  process.env.dbConnection = "";
@@ -1025,4 +1092,6 @@ const systemMatchmakingHandlers: Record<string, (gameId: string, matchmakingTick
1025
1092
 
1026
1093
  const systemAuthenticateHandlers: Record<string, (request: { userId: string, ipAddress: string, isNewUser: boolean, authenticationType: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => Promise<OperationResponse>> = {};
1027
1094
 
1095
+ const systemGenericServiceHandlers: Record<string, (serviceName: string, serviceData: { [k: string]: any; }, log: (log: any) => void) => Promise<{ success: boolean, serviceId: string, someDatas?: any, errorMessage?: string }>> = {};
1096
+
1028
1097
  //$replaceScript
@@ -3,6 +3,16 @@ interface NodeInfo {
3
3
  instanceId: string;
4
4
  fullUrl: string;
5
5
  }
6
+ interface InstanceInfoStatus {
7
+ instanceId: string;
8
+ isPrimary: boolean;
9
+ tsPrimary: number;
10
+ currentInstanceIdPrimary: string;
11
+ currentTsPrimary: number;
12
+ }
13
+ interface InstanceInfo extends InstanceInfoStatus {
14
+ lostPing: number;
15
+ }
6
16
  export declare class ClusterHandler {
7
17
  private router;
8
18
  private clusterRouter;
@@ -19,6 +29,8 @@ export declare class ClusterHandler {
19
29
  setIsPrimary(isPrimary: boolean): void;
20
30
  getIsPrimary(): boolean;
21
31
  getIsSingleNode(): boolean;
32
+ getInstanceInfoStatus(): InstanceInfoStatus;
33
+ getInstanceInfos(): InstanceInfo[];
22
34
  setPrivateKeyToken(privateKeyToken: string): void;
23
35
  setAllNodes(allNodes: NodeInfo[]): void;
24
36
  init(): void;
@@ -48,7 +48,7 @@ export declare class SocketAppHandler {
48
48
  sendEventToRoom(roomId: string, operationEvent: OperationEvent, useMsgPack?: boolean): void;
49
49
  sendEventToMoreUser(userIds: string[], operationEvent: OperationEvent, useMsgPack?: boolean): void;
50
50
  sendEventToAllPlayer(operationEvent: OperationEvent, useMsgPack?: boolean): void;
51
- sendEventToNamespace(namespace: string, operationEvent: OperationEvent): void;
51
+ sendEventToNamespace(namespace: string, operationEvent: OperationEvent, useMsgPack?: boolean): void;
52
52
  getSocketViaSocketId(socketId: string): Socket;
53
53
  getSockets(userId: string): import("socket.io").BroadcastOperator<import("socket.io/dist/typed-events").DecorateAcknowledgementsWithMultipleResponses<import("socket.io").DefaultEventsMap>, any>;
54
54
  joinRoom(userId: string, roomId: string): void;
@@ -1,2 +1,2 @@
1
- import { Request, Response, NextFunction, RequestHandler } from 'express';
1
+ import { Request, Response, NextFunction, RequestHandler } from "express";
2
2
  export declare function wrap(fn: (req: Request, res: Response, next: NextFunction) => any): RequestHandler;
@@ -7,6 +7,9 @@ declare abstract class BuilderBase {
7
7
  protected certFilePath: string;
8
8
  protected expiredToken: number;
9
9
  protected privateKeyToken: string;
10
+ protected initRootUsername: string;
11
+ protected initRootPassword: string;
12
+ protected restoreRootPassword: string;
10
13
  getPort(): number;
11
14
  getSocketPort(): number;
12
15
  getUseSSL(): boolean;
@@ -14,6 +17,9 @@ declare abstract class BuilderBase {
14
17
  getCertFilePath(): string;
15
18
  getExpiredToken(): number;
16
19
  getPrivateKeyToken(): string;
20
+ getInitRootUsername(): string;
21
+ getInitRootPassword(): string;
22
+ getRestoreRootPassword(): string;
17
23
  constructor();
18
24
  }
19
25
  declare class Builder extends BuilderBase implements IBuilder<ApplicationSettings> {
@@ -24,6 +30,9 @@ declare class Builder extends BuilderBase implements IBuilder<ApplicationSetting
24
30
  setCertFilePath(certFilePath: string): Builder;
25
31
  setExpiredToken(expiredToken: number): Builder;
26
32
  setPrivateKeyToken(privateKeyToken: string): Builder;
33
+ setInitRootUsername(initRootUsername: string): Builder;
34
+ setInitRootPassword(initRootPassword: string): Builder;
35
+ setRestoreRootUsername(restoreRootPassword: string): Builder;
27
36
  constructor();
28
37
  build(): ApplicationSettings;
29
38
  }