@xmobitea/gn-server 2.6.3 → 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.
- package/LICENSE +5 -198
- package/apiReferences/Authenticate.json +1 -0
- package/apiReferences/CharacterPlayer.json +1 -0
- package/apiReferences/CloudScript.json +1 -0
- package/apiReferences/Content.json +1 -0
- package/apiReferences/GamePlayer.json +1 -0
- package/apiReferences/Group.json +1 -0
- package/apiReferences/Inventory.json +1 -0
- package/apiReferences/MasterAdmin.json +1 -0
- package/apiReferences/MasterPlayer.json +1 -0
- package/apiReferences/Multiplayer.json +1 -0
- package/apiReferences/StoreInventory.json +1 -0
- package/dist/GN-app-api/handler/controller/RequestController.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginBaseRequestHandler.d.ts +1 -2
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByAccountRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByAndroidDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByAppleRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByCustomDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByCustomIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByEditorDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByFacebookRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByGameCenterRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByGenericServiceRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByGooglePlayGameServiceRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByGoogleRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByLinuxDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByMacOSDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByWindowsDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByWindowsPhoneDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByiOSDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/RefreshAuthTokenRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/RegisterAccountRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/base/IRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/base/RequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/AddPlayerFriendRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/AddSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/{SetPlayerCurrencyRequestHandler.d.ts → ChangePlayerCurrencyRequestHandler.d.ts} +5 -5
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/{SetPlayerStatisticsRequestHandler.d.ts → ChangePlayerStatisticsRequestHandler.d.ts} +5 -5
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/CharacterPlayerBaseRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/{GrantGroupRequestHandler.d.ts → CreateGroupRequestHandler.d.ts} +4 -4
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/{GrantPlayerItemRequestHandler.d.ts → CreatePlayerItemRequestHandler.d.ts} +4 -4
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetAvatarRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCatalogIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCountryCodeRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCreateLeaderboardRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCurrencyLeaderboardRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCurrencyLogRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCustomDataRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetFriendStatisticsLeaderboardAroundPlayerRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetFriendStatisticsLeaderboardRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetIpAddressCreateRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetLastLoginLeaderboardRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetOwnerRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerBanRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerCurrencyRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerDataRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerFriendRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerGroupRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerInformationRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerInventoryRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayerStatisticsRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayersWithDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayersWithSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetPlayersWithTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetRemoveStatusRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetStatisticsLeaderboardAroundPlayerRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetStatisticsLeaderboardRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetStatisticsLogRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetTsCreateRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetTsLastLoginRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/JoinGroupRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/LeaveGroupRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/RemovePlayerFriendRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/RemovePlayerItemRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/RemoveSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/RemoveTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetAvatarRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetCountryCodeRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetCustomDataRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetOwnerRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetPlayerBanRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetPlayerDataRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetRemoveStatusRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/cloudScript/AddFunctionRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/cloudScript/EditFunctionRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/cloudScript/ExecuteFunctionRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/cloudScript/GetFunctionRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/cloudScript/GetFunctionsRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/content/CreateNewFileUploadInfoRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/content/GetContentDataRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/content/GetFileUploadInfoListRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/content/GetFileUploadInfoRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/content/RemoveFileUploadInfoRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/content/RequestDownloadFileUploadInfoRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/content/SetContentDataRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/ChangePasswordAdminAccountRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/{GrantAdminAccountRequestHandler.d.ts → CreateAdminAccountRequestHandler.d.ts} +4 -4
- package/dist/GN-app-api/handler/controller/handler/dashboard/{GrantGameRequestHandler.d.ts → CreateGameRequestHandler.d.ts} +4 -4
- package/dist/GN-app-api/handler/controller/handler/dashboard/{GrantSecretInfoRequestHandler.d.ts → CreateSecretInfoRequestHandler.d.ts} +4 -4
- package/dist/GN-app-api/handler/controller/handler/dashboard/DeleteInDatabaseRequestHandler.d.ts +6 -6
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetAdminAccountListRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetAnalyticsRequestHandler.d.ts +3 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetBackupStatisticsLeaderboardVersionRequestHandler.d.ts +6 -6
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetEventCallbackCloudScriptRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetGameInformationRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetGameListRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetMasterGameSettingsRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetSecretInfoInformationRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetSecretInfoListRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetServerGameDataRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetServerLogRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetUsernameAdminAccountRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/LoginByAdminAccountRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/RemoveAdminAccountRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/ResetStatisticsLeaderboardRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/SetEventCallbackCloudScriptRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/SetGameInformationRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/dashboard/SetMasterGameSettingsRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/SetPasswordAdminAccountRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/SetSecretInfoInformationRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/dashboard/SetSecretKeyAdminAccountRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/CharacterCatalogSettingsParam.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/CharacterPlayerPermissionRulesParam.d.ts +4 -4
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/CharacterPlayerSettingsParam.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/CurrencySettingsParam.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/DataSettingsParam.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/FriendCatalogSettingsParam.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/GamePlayerPermissionRulesParam.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/GamePlayerSettingsParam.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/GroupCatalogSettingsParam.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/GroupPermissionRulesParam.d.ts +3 -3
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/GroupSettingsParam.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/InventoryPermissionRulesParam.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/InventorySettingsParam.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/ItemClassSettingsParam.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/MasterAdminPermissionRulesParam.d.ts +3 -3
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/MasterPlayerPermissionRulesParam.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/MasterPlayerSettingsParam.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/MatchmakingQueueSettingsParam.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/StatisticsSettingsParam.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/StoreInventoryPermissionRulesParam.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/TagSettingsParam.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/AddPlayerFriendRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/AddSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/{SetPlayerCurrencyRequestHandler.d.ts → ChangePlayerCurrencyRequestHandler.d.ts} +5 -5
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/{SetPlayerStatisticsRequestHandler.d.ts → ChangePlayerStatisticsRequestHandler.d.ts} +5 -5
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/{GrantGroupRequestHandler.d.ts → CreateGroupRequestHandler.d.ts} +4 -4
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/{GrantPlayerCharacterRequestHandler.d.ts → CreatePlayerCharacterRequestHandler.d.ts} +4 -4
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/{GrantPlayerItemRequestHandler.d.ts → CreatePlayerItemRequestHandler.d.ts} +4 -4
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetAvatarRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCountryCodeRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCreateLeaderboardRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCurrencyLeaderboardRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCurrencyLogRequestHandler.d.ts +6 -6
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCustomDataRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetFriendStatisticsLeaderboardAroundPlayerRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetFriendStatisticsLeaderboardRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetIpAddressCreateRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetLastLoginLeaderboardRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetOnlineStatusRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerBanRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerCharacterRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerCurrencyRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerDataRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerFriendRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerGroupRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerInformationRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerInventoryRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayerStatisticsRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayersWithDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayersWithSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetPlayersWithTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetStatisticsLeaderboardAroundPlayerRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetStatisticsLeaderboardRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetStatisticsLogRequestHandler.d.ts +6 -6
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetTsCreateRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetTsLastLoginRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/JoinGroupRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/LeaveGroupRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/RemovePlayerCharacterRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/RemovePlayerFriendRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/RemovePlayerItemRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/RemoveSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/RemoveTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetAvatarRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetCountryCodeRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetCustomDataRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetPlayerBanRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetPlayerDataRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/AddMemberRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/AddSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/{SetGroupCurrencyRequestHandler.d.ts → ChangeGroupCurrencyRequestHandler.d.ts} +5 -5
- package/dist/GN-app-api/handler/controller/handler/group/{SetGroupStatisticsRequestHandler.d.ts → ChangeGroupStatisticsRequestHandler.d.ts} +5 -5
- package/dist/GN-app-api/handler/controller/handler/group/{GrantGroupItemRequestHandler.d.ts → CreateGroupItemRequestHandler.d.ts} +4 -4
- package/dist/GN-app-api/handler/controller/handler/group/GetAvatarRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetCatalogIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetCreateLeaderboardRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/group/GetCurrencyLeaderboardRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetCurrencyLogRequestHandler.d.ts +6 -6
- package/dist/GN-app-api/handler/controller/handler/group/GetCustomDataRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetGroupCurrencyRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetGroupDataRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetGroupInformationRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetGroupInventoryRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetGroupMessageRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetGroupStatisticsRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetGroupsWithDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetGroupsWithSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetGroupsWithTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetMembersRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetRemoveStatusRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetStatisticsLeaderboardAroundGroupRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetStatisticsLeaderboardRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetStatisticsLogRequestHandler.d.ts +6 -6
- package/dist/GN-app-api/handler/controller/handler/group/GetTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetTsCreateRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/GroupBaseRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/RemoveGroupItemRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/RemoveMemberRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/RemoveSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/RemoveTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/SendGroupMessageRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/SetAvatarRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/SetCustomDataRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/group/SetDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/SetGroupDataRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/group/SetRemoveStatusRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/SetTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/AddSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/{SetItemStatisticsRequestHandler.d.ts → ChangeItemStatisticsRequestHandler.d.ts} +5 -5
- package/dist/GN-app-api/handler/controller/handler/inventory/GetAmountRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetAvatarRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetCatalogIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetClassIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetCreateLeaderboardRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/inventory/GetCustomDataRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetItemDataRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/inventory/GetItemInformationRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetItemStatisticsRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetItemTypeRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetItemsWithDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetItemsWithSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetItemsWithTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetOwnerRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetRemoveStatusRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetStatisticsLeaderboardAroundItemRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetStatisticsLeaderboardRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetStatisticsLogRequestHandler.d.ts +6 -6
- package/dist/GN-app-api/handler/controller/handler/inventory/GetTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetTsCreateRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/ItemBaseRequestHandler.d.ts +3 -3
- package/dist/GN-app-api/handler/controller/handler/inventory/RemoveSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/RemoveTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/SetAmountRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/SetAvatarRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/SetCustomDataRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/inventory/SetDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/SetItemDataRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/inventory/SetOwnerRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/SetRemoveStatusRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/SetTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/AddPushNotificationRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/AddSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/ChangeAccountPasswordRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/{SetPlayerCurrencyRequestHandler.d.ts → ChangePlayerCurrencyRequestHandler.d.ts} +5 -5
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/{SetPlayerStatisticsRequestHandler.d.ts → ChangePlayerStatisticsRequestHandler.d.ts} +5 -5
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetAvatarRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCountryCodeRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCreateLeaderboardRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCurrencyLeaderboardRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCurrencyLogRequestHandler.d.ts +6 -6
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCustomDataRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetEmailRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetExternalRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetIpAddressCreateRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetLastLoginLeaderboardRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayerBanRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayerCurrencyRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayerDataRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayerInformationRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayerStatisticsRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithAppleRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithFacebookRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithGameCenterRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithGenericServiceRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithGooglePlayGameServiceRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithGoogleRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPushNotificationRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetStatisticsLeaderboardAroundPlayerRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetStatisticsLeaderboardRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetStatisticsLogRequestHandler.d.ts +6 -6
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetTsCreateRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetTsLastLoginRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkAccountRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkAndroidDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkAppleRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkCustomDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkCustomIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkEditorDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkFacebookRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkGameCenterRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkGenericServiceRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkGooglePlayGameServiceRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkGoogleRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkLinuxDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkMacOSDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkWindowsDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkWindowsPhoneDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkiOSDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/RemovePushNotificationRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/RemoveSegmentRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/RemoveTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/ResetAccountPasswordRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SendEmailRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SendPushNotificationRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SendSocketOperationEventRequestHandler.d.ts +2 -3
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetAvatarRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetCountryCodeRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetCustomDataRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetDisplayNameRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetEmailRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetPlayerBanRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetPlayerDataRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetTsLastLoginRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkAccountRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkAndroidDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkAppleRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkCustomDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkCustomIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkEditorDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkFacebookRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkGameCenterRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkGenericServiceRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkGooglePlayGameServiceRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkGoogleRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkLinuxDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkMacOSDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkWindowsDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkWindowsPhoneDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkiOSDeviceIdRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/multiplayer/CancelAllMatchmakingTicketRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/multiplayer/CancelMatchmakingTicketRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/multiplayer/CreateMatchmakingTicketRequestHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/multiplayer/GetAllMatchRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/multiplayer/GetAllMatchmakingTicketRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/multiplayer/GetMatchRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/multiplayer/GetMatchmakingTicketRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/multiplayer/GetQueueStatisticsRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/multiplayer/JoinMatchmakingTicketRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/multiplayer/ListMatchmakingTicketsForPlayerRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/storeInventory/BuyStoreItemRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/storeInventory/{GrantStoreItemRequestHandler.d.ts → CreateStoreItemRequestHandler.d.ts} +4 -4
- package/dist/GN-app-api/handler/controller/handler/storeInventory/GetCreateLeaderboardRequestHandler.d.ts +7 -7
- package/dist/GN-app-api/handler/controller/handler/storeInventory/GetStoreItemInformationRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/storeInventory/GetStoreItemsWithTagRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/storeInventory/GetStoreLogRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/storeInventory/GetStoreUsedRequestHandler.d.ts +6 -5
- package/dist/GN-app-api/handler/controller/handler/storeInventory/PresentStoreItemRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/storeInventory/RemoveStoreUsedRequestHandler.d.ts +5 -5
- package/dist/GN-app-api/handler/controller/handler/storeInventory/SetRemoveStatusRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/storeInventory/SetStoreItemInformationRequestHandler.d.ts +8 -8
- package/dist/GN-app-api/handler/controller/handler/storeInventory/StoreItemBaseRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/storeInventory/ValidateAppleAppStoreReceiptRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/storeInventory/ValidateFacebookStoreReceiptRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/storeInventory/ValidateGooglePlayStoreReceiptRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/service/AnalyticsService.d.ts +1 -0
- package/dist/GN-app-api/service/CloudScriptService.d.ts +5 -3
- package/dist/GN-app-api/service/EventCallbackService.d.ts +51 -7
- package/dist/GN-app-api/service/IAnalyticsService.d.ts +8 -0
- package/dist/GN-app-api/service/IEventCallbackService.d.ts +14 -0
- package/dist/GN-common/constant/EventCode.d.ts +6 -6
- package/dist/GN-common/constant/OperationCode.d.ts +219 -219
- package/dist/GN-common/constant/errorCode/{GNErrorCode.d.ts → ErrorCode.d.ts} +2 -2
- package/dist/GN-common/constant/parameterCode/ParameterCode.d.ts +606 -0
- package/dist/GN-common/entity/SecretInfo.d.ts +26 -26
- package/dist/GN-common/entity/operationEvent/OperationEvent.d.ts +2 -5
- package/dist/GN-common/entity/operationHelper/OperationHelper.d.ts +26 -14
- package/dist/GN-common/entity/operationRequest/CommonOperationRequest.d.ts +1 -1
- package/dist/GN-common/entity/operationRequest/OperationRequest.d.ts +2 -9
- package/dist/GN-common/entity/operationRequest/base/Request.d.ts +5 -8
- package/dist/GN-common/entity/operationResponse/OperationResponse.d.ts +2 -5
- package/dist/GN-common/helper/CodeHelper.d.ts +13 -16
- package/dist/GN-common/helper/EnumUtility.d.ts +6 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/Group.d.ts +2 -2
- package/dist/GN-library/xdatabase/lib/entity/pro/Inventory.d.ts +1 -1
- package/dist/GN-library/xdatabase/lib/entity/pro/PlayerBase.d.ts +2 -2
- package/dist/GN-library/xdatabase/lib/entity/pro/TradeInventory.d.ts +1 -1
- package/dist/GN-library/xdatabase/lib/entity/pro/masterAdmin/SecretInfoItem.d.ts +4 -4
- package/dist/GN-library/xdatabase/lib/xDatabase.d.ts +26 -10
- package/dist/GN-library/xsettings/lib/entity/xCharacterCatalogSettings.d.ts +1 -1
- package/dist/GN-library/xsettings/lib/entity/xCharacterPlayerSettings.d.ts +1 -1
- package/dist/GN-library/xsettings/lib/entity/xCurrencySettings.d.ts +1 -1
- package/dist/GN-library/xsettings/lib/entity/xDataSettings.d.ts +1 -1
- package/dist/GN-library/xsettings/lib/entity/xFriendCatalogSettings.d.ts +1 -0
- package/dist/GN-library/xsettings/lib/entity/xGamePlayerSettings.d.ts +1 -1
- package/dist/GN-library/xsettings/lib/entity/xGroupCatalogSettings.d.ts +1 -1
- package/dist/GN-library/xsettings/lib/entity/xGroupSettings.d.ts +1 -1
- package/dist/GN-library/xsettings/lib/entity/xInventorySettings.d.ts +2 -2
- package/dist/GN-library/xsettings/lib/entity/xItemCatalogSettings.d.ts +1 -1
- package/dist/GN-library/xsettings/lib/entity/xMasterPlayerSettings.d.ts +1 -1
- package/dist/GN-library/xsettings/lib/entity/xStatisticsSettings.d.ts +1 -1
- package/dist/GN-library/xsettings/lib/entity/xTagSettings.d.ts +1 -1
- package/dist/GN-startup/cloudScript/banner.txt +6 -0
- package/dist/GN-startup/cloudScript/eventCallbackCloudScriptData.json +121 -111
- package/dist/GN-startup/cloudScript/templateCloudScript.ts +277 -247
- package/dist/GN-startup/cloudScript/templateEventCallback.ts +578 -415
- package/dist/GN-startup/routes/ClusterHandler.d.ts +12 -0
- package/dist/GN-startup/routes/SocketAppHandler.d.ts +1 -1
- package/dist/GN-startup/routes/utils/wrap.d.ts +1 -1
- package/dist/GN-startup/settings/ApplicationSettings.d.ts +9 -0
- package/dist/GN-startup/settings/DatabaseSettings.d.ts +6 -0
- package/dist/GN-startup/settings/OtherSettings.d.ts +3 -0
- package/dist/GNServer.d.ts +8 -5
- package/dist/index.d.ts +2 -8
- package/gn.sh +30 -32
- package/index.js +26 -0
- package/package.json +12 -7
- package/dist/GN-app-api/service/GenericService.d.ts +0 -11
- package/dist/GN-app-api/service/IGenericService.d.ts +0 -26
- package/dist/GN-common/constant/parameterCode/GNParameterCode.d.ts +0 -599
- package/dist/index.js +0 -87844
|
@@ -7,8 +7,7 @@ import {
|
|
|
7
7
|
Action4,
|
|
8
8
|
ConverterService,
|
|
9
9
|
OwnerType,
|
|
10
|
-
|
|
11
|
-
GNParameterCode,
|
|
10
|
+
ErrorCode,
|
|
12
11
|
ParameterCode,
|
|
13
12
|
Commands,
|
|
14
13
|
EventCode,
|
|
@@ -60,14 +59,14 @@ import {
|
|
|
60
59
|
GroupStatus,
|
|
61
60
|
GNDebug,
|
|
62
61
|
ItemType,
|
|
63
|
-
|
|
62
|
+
StoreItemType,
|
|
64
63
|
LogType,
|
|
65
64
|
GNSupport,
|
|
66
65
|
PostType,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
GetAuthInfoResponse,
|
|
67
|
+
PushPlatformType,
|
|
68
|
+
StoreReceiveType,
|
|
69
|
+
GNUtils,
|
|
71
70
|
} from "@xmobitea/gn-typescript-client";
|
|
72
71
|
|
|
73
72
|
import * as mongodb from "mongodb";
|
|
@@ -82,9 +81,8 @@ enum CloudScriptEventType {
|
|
|
82
81
|
interface CloudScriptEvent {
|
|
83
82
|
eventType: CloudScriptEventType;
|
|
84
83
|
operationEvent: {
|
|
85
|
-
eventCode:
|
|
84
|
+
eventCode: string;
|
|
86
85
|
parameters: {} | null;
|
|
87
|
-
encrypted: boolean;
|
|
88
86
|
};
|
|
89
87
|
receiver: string[] | string | null;
|
|
90
88
|
}
|
|
@@ -100,56 +98,56 @@ class CloudScriptAdmin {
|
|
|
100
98
|
public readonly multiplayer = GNNetwork.multiplayer.admin;
|
|
101
99
|
public readonly cloudScript = GNNetwork.cloudScript.admin;
|
|
102
100
|
public readonly dashboard = {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
101
|
+
getAdminAccountList: GNNetwork.dashboard.getAdminAccountList,
|
|
102
|
+
getAdminAccountListAsync: GNNetwork.dashboard.getAdminAccountListAsync,
|
|
103
|
+
getGameInformation: GNNetwork.dashboard.getGameInformation,
|
|
104
|
+
getGameInformationAsync: GNNetwork.dashboard.getGameInformationAsync,
|
|
105
|
+
getGameList: GNNetwork.dashboard.getGameList,
|
|
106
|
+
getGameListAsync: GNNetwork.dashboard.getGameListAsync,
|
|
107
|
+
getMasterGameSettings: GNNetwork.dashboard.getMasterGameSettings,
|
|
108
|
+
getMasterGameSettingsAsync: GNNetwork.dashboard.getMasterGameSettingsAsync,
|
|
109
|
+
getSecretInfoInformation: GNNetwork.dashboard.getSecretInfoInformation,
|
|
110
|
+
getSecretInfoInformationAsync: GNNetwork.dashboard.getSecretInfoInformationAsync,
|
|
111
|
+
getSecretInfoList: GNNetwork.dashboard.getSecretInfoList,
|
|
112
|
+
getSecretInfoListAsync: GNNetwork.dashboard.getSecretInfoListAsync,
|
|
113
|
+
getServerLog: GNNetwork.dashboard.getServerLog,
|
|
114
|
+
getServerLogAsync: GNNetwork.dashboard.getServerLogAsync,
|
|
115
|
+
setGameInformation: GNNetwork.dashboard.setGameInformation,
|
|
116
|
+
setGameInformationAsync: GNNetwork.dashboard.setGameInformationAsync,
|
|
117
|
+
getUsernameAdminAccount: GNNetwork.dashboard.getUsernameAdminAccount,
|
|
118
|
+
getUsernameAdminAccountAsync: GNNetwork.dashboard.getUsernameAdminAccountAsync,
|
|
119
|
+
getAnalytics: GNNetwork.dashboard.getAnalytics,
|
|
120
|
+
getAnalyticsAsync: GNNetwork.dashboard.getAnalyticsAsync,
|
|
121
|
+
resetStatisticsLeaderboard: GNNetwork.dashboard.resetStatisticsLeaderboard,
|
|
122
|
+
resetStatisticsLeaderboardAsync: GNNetwork.dashboard.resetStatisticsLeaderboardAsync,
|
|
123
|
+
getBackupStatisticsLeaderboardVersion: GNNetwork.dashboard.getBackupStatisticsLeaderboardVersion,
|
|
124
|
+
getBackupStatisticsLeaderboardVersionAsync: GNNetwork.dashboard.getBackupStatisticsLeaderboardVersionAsync,
|
|
125
|
+
getServerGameData: GNNetwork.dashboard.getServerGameData,
|
|
126
|
+
getServerGameDataAsync: GNNetwork.dashboard.getServerGameDataAsync,
|
|
127
|
+
deleteInDatabase: GNNetwork.dashboard.deleteInDatabase,
|
|
128
|
+
deleteInDatabaseAsync: GNNetwork.dashboard.deleteInDatabaseAsync,
|
|
129
|
+
};
|
|
132
130
|
public send(
|
|
133
131
|
requestType: RequestType,
|
|
134
|
-
|
|
132
|
+
role: RequestRole,
|
|
135
133
|
request: OperationRequest,
|
|
136
134
|
onResponse: Action1<OperationResponse>,
|
|
137
135
|
overrideAuthToken: string,
|
|
138
136
|
overrideSecretKey: string,
|
|
139
137
|
customTags: GNHashtable
|
|
140
138
|
): void {
|
|
141
|
-
GNNetwork.sendViaHttp(requestType,
|
|
139
|
+
GNNetwork.sendViaHttp(requestType, role, request, onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
142
140
|
}
|
|
143
141
|
|
|
144
142
|
public sendAsync(
|
|
145
143
|
requestType: RequestType,
|
|
146
|
-
|
|
144
|
+
role: RequestRole,
|
|
147
145
|
request: OperationRequest,
|
|
148
146
|
overrideAuthToken: string,
|
|
149
147
|
overrideSecretKey: string,
|
|
150
148
|
customTags: GNHashtable
|
|
151
149
|
): Promise<OperationResponse> {
|
|
152
|
-
return GNNetwork.sendViaHttpAsync(requestType,
|
|
150
|
+
return GNNetwork.sendViaHttpAsync(requestType, role, request, overrideAuthToken, overrideSecretKey, customTags);
|
|
153
151
|
}
|
|
154
152
|
}
|
|
155
153
|
|
|
@@ -162,45 +160,87 @@ class CloudScriptDatabase {
|
|
|
162
160
|
private client: mongodb.MongoClient;
|
|
163
161
|
private db: mongodb.Db;
|
|
164
162
|
|
|
165
|
-
|
|
163
|
+
private logClient: mongodb.MongoClient;
|
|
164
|
+
private logDb: mongodb.Db;
|
|
165
|
+
|
|
166
|
+
init(url: string, dbName: string, logUrl: string, logDbName: string, options?: mongodb.MongoClientOptions): void {
|
|
166
167
|
this.client = new mongodb.MongoClient(url, options);
|
|
167
168
|
|
|
168
169
|
this.db = this.client.db(dbName);
|
|
169
170
|
|
|
170
|
-
|
|
171
|
+
if (!logUrl || logUrl == "" || logUrl == url) {
|
|
172
|
+
this.logClient = this.client;
|
|
173
|
+
this.logDb = this.db;
|
|
174
|
+
}
|
|
175
|
+
else {
|
|
176
|
+
this.logClient = new mongodb.MongoClient(logUrl, options);
|
|
177
|
+
this.logDb = this.logClient.db(logDbName);
|
|
178
|
+
}
|
|
171
179
|
}
|
|
172
180
|
|
|
173
|
-
public runtimeCollection(collectionName: string): mongodb.Collection<
|
|
174
|
-
return this.collection(CloudScriptDatabase.RUNTIME + collectionName);
|
|
181
|
+
public runtimeCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string): mongodb.Collection<TSchema> {
|
|
182
|
+
return this.collection<TSchema>(CloudScriptDatabase.RUNTIME + collectionName);
|
|
175
183
|
}
|
|
176
184
|
|
|
177
|
-
public metaCollection(collectionName: string): mongodb.Collection<
|
|
178
|
-
return this.collection(CloudScriptDatabase.META + collectionName);
|
|
185
|
+
public metaCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string): mongodb.Collection<TSchema> {
|
|
186
|
+
return this.collection<TSchema>(CloudScriptDatabase.META + collectionName);
|
|
179
187
|
}
|
|
180
188
|
|
|
181
|
-
public systemCollection(collectionName: string): mongodb.Collection<
|
|
182
|
-
return this.collection(CloudScriptDatabase.SYSTEM + collectionName);
|
|
189
|
+
public systemCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string): mongodb.Collection<TSchema> {
|
|
190
|
+
return this.collection<TSchema>(CloudScriptDatabase.SYSTEM + collectionName);
|
|
183
191
|
}
|
|
184
192
|
|
|
185
|
-
public runtimeGameCollection(collectionName: string, gameId: string): mongodb.Collection<
|
|
186
|
-
return this.collection(CloudScriptDatabase.RUNTIME + gameId + CloudScriptDatabase.DOT + collectionName);
|
|
193
|
+
public runtimeGameCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, gameId: string): mongodb.Collection<TSchema> {
|
|
194
|
+
return this.collection<TSchema>(CloudScriptDatabase.RUNTIME + gameId + CloudScriptDatabase.DOT + collectionName);
|
|
187
195
|
}
|
|
188
196
|
|
|
189
|
-
public metaGameCollection(collectionName: string, gameId: string): mongodb.Collection<
|
|
190
|
-
return this.collection(CloudScriptDatabase.META + gameId + CloudScriptDatabase.DOT + collectionName);
|
|
197
|
+
public metaGameCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, gameId: string): mongodb.Collection<TSchema> {
|
|
198
|
+
return this.collection<TSchema>(CloudScriptDatabase.META + gameId + CloudScriptDatabase.DOT + collectionName);
|
|
191
199
|
}
|
|
192
200
|
|
|
193
|
-
public systemGameCollection(collectionName: string, gameId: string): mongodb.Collection<
|
|
194
|
-
return this.collection(CloudScriptDatabase.SYSTEM + gameId + CloudScriptDatabase.DOT + collectionName);
|
|
201
|
+
public systemGameCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, gameId: string): mongodb.Collection<TSchema> {
|
|
202
|
+
return this.collection<TSchema>(CloudScriptDatabase.SYSTEM + gameId + CloudScriptDatabase.DOT + collectionName);
|
|
195
203
|
}
|
|
196
204
|
|
|
197
|
-
public collection(fullCollectionName: string): mongodb.Collection<
|
|
198
|
-
return this.db.collection(fullCollectionName);
|
|
205
|
+
public collection<TSchema extends mongodb.Document = mongodb.Document>(fullCollectionName: string): mongodb.Collection<TSchema> {
|
|
206
|
+
return this.db.collection<TSchema>(fullCollectionName);
|
|
199
207
|
}
|
|
200
208
|
|
|
201
209
|
public createCollection(name: string, options?: mongodb.CreateCollectionOptions): Promise<mongodb.Collection<mongodb.BSON.Document>> {
|
|
202
210
|
return this.db.createCollection(name, options);
|
|
203
211
|
}
|
|
212
|
+
|
|
213
|
+
public logRuntimeCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string): mongodb.Collection<TSchema> {
|
|
214
|
+
return this.logCollection<TSchema>(CloudScriptDatabase.RUNTIME + collectionName);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
public logMetaCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string): mongodb.Collection<TSchema> {
|
|
218
|
+
return this.logCollection<TSchema>(CloudScriptDatabase.META + collectionName);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
public logSystemCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string): mongodb.Collection<TSchema> {
|
|
222
|
+
return this.logCollection<TSchema>(CloudScriptDatabase.SYSTEM + collectionName);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
public logRuntimeGameCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, gameId: string): mongodb.Collection<TSchema> {
|
|
226
|
+
return this.logCollection<TSchema>(CloudScriptDatabase.RUNTIME + gameId + CloudScriptDatabase.DOT + collectionName);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
public logMetaGameCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, gameId: string): mongodb.Collection<TSchema> {
|
|
230
|
+
return this.logCollection<TSchema>(CloudScriptDatabase.META + gameId + CloudScriptDatabase.DOT + collectionName);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
public logSystemGameCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, gameId: string): mongodb.Collection<TSchema> {
|
|
234
|
+
return this.logCollection<TSchema>(CloudScriptDatabase.SYSTEM + gameId + CloudScriptDatabase.DOT + collectionName);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
public logCollection<TSchema extends mongodb.Document = mongodb.Document>(fullCollectionName: string): mongodb.Collection<TSchema> {
|
|
238
|
+
return this.logDb.collection<TSchema>(fullCollectionName);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
public logCreateCollection<TSchema extends mongodb.Document = mongodb.Document>(collectionName: string, options?: mongodb.CreateCollectionOptions) {
|
|
242
|
+
return this.logDb.createCollection<TSchema>(collectionName, options)
|
|
243
|
+
}
|
|
204
244
|
}
|
|
205
245
|
|
|
206
246
|
class CloudScriptHttp {
|
|
@@ -240,7 +280,6 @@ class CloudScriptSocket {
|
|
|
240
280
|
receiver: userId,
|
|
241
281
|
operationEvent: {
|
|
242
282
|
eventCode: operationEvent.getEventCode(),
|
|
243
|
-
encrypted: operationEvent.isEncrypted(),
|
|
244
283
|
parameters: operationEvent.getParameters()?.toData() ?? null,
|
|
245
284
|
}
|
|
246
285
|
});
|
|
@@ -252,7 +291,6 @@ class CloudScriptSocket {
|
|
|
252
291
|
receiver: userIds,
|
|
253
292
|
operationEvent: {
|
|
254
293
|
eventCode: operationEvent.getEventCode(),
|
|
255
|
-
encrypted: operationEvent.isEncrypted(),
|
|
256
294
|
parameters: operationEvent.getParameters()?.toData() ?? null,
|
|
257
295
|
}
|
|
258
296
|
});
|
|
@@ -264,7 +302,6 @@ class CloudScriptSocket {
|
|
|
264
302
|
receiver: null,
|
|
265
303
|
operationEvent: {
|
|
266
304
|
eventCode: operationEvent.getEventCode(),
|
|
267
|
-
encrypted: operationEvent.isEncrypted(),
|
|
268
305
|
parameters: operationEvent.getParameters()?.toData() ?? null,
|
|
269
306
|
}
|
|
270
307
|
});
|
|
@@ -272,140 +309,133 @@ class CloudScriptSocket {
|
|
|
272
309
|
|
|
273
310
|
private async sendEvent(event: CloudScriptEvent) {
|
|
274
311
|
if (process?.send)
|
|
275
|
-
|
|
312
|
+
process.send(event);
|
|
276
313
|
}
|
|
277
314
|
}
|
|
278
315
|
|
|
279
316
|
class CloudScriptMail {
|
|
280
317
|
public async send(email: string, subject: string, contentHtml: string) {
|
|
281
318
|
if (process?.send)
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
});
|
|
319
|
+
process.send({
|
|
320
|
+
eventType: 20,
|
|
321
|
+
receiver: null,
|
|
322
|
+
operationEvent: {
|
|
323
|
+
eventCode: 0,
|
|
324
|
+
parameters: {
|
|
325
|
+
email: email,
|
|
326
|
+
subject: subject,
|
|
327
|
+
contentHtml: contentHtml,
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
});
|
|
295
331
|
}
|
|
296
332
|
|
|
297
333
|
public async sendToMore(emails: string[], subject: string, contentHtml: string) {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
});
|
|
334
|
+
if (process?.send)
|
|
335
|
+
process.send({
|
|
336
|
+
eventType: 21,
|
|
337
|
+
receiver: null,
|
|
338
|
+
operationEvent: {
|
|
339
|
+
eventCode: 0,
|
|
340
|
+
parameters: {
|
|
341
|
+
emails: emails,
|
|
342
|
+
subject: subject,
|
|
343
|
+
contentHtml: contentHtml,
|
|
344
|
+
},
|
|
345
|
+
},
|
|
346
|
+
});
|
|
312
347
|
}
|
|
313
348
|
}
|
|
314
349
|
|
|
315
350
|
class CloudScriptPushNotification {
|
|
316
351
|
public async send(token: string, title: string, body: string, badge?: number, sound?: string, icon?: string, data?: { [k: string]: any }) {
|
|
317
352
|
if (process?.send)
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
});
|
|
353
|
+
process.send({
|
|
354
|
+
eventType: 30,
|
|
355
|
+
receiver: null,
|
|
356
|
+
operationEvent: {
|
|
357
|
+
eventCode: 0,
|
|
358
|
+
parameters: {
|
|
359
|
+
token: token,
|
|
360
|
+
title: title,
|
|
361
|
+
body: body,
|
|
362
|
+
badge: badge,
|
|
363
|
+
sound: sound,
|
|
364
|
+
icon: icon,
|
|
365
|
+
data: data,
|
|
366
|
+
},
|
|
367
|
+
},
|
|
368
|
+
});
|
|
335
369
|
}
|
|
336
370
|
|
|
337
371
|
public async sendToMore(tokens: string[], title: string, body: string, badge?: number, sound?: string, icon?: string, data?: { [k: string]: any }) {
|
|
338
372
|
if (process?.send)
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
});
|
|
373
|
+
process.send({
|
|
374
|
+
eventType: 31,
|
|
375
|
+
receiver: null,
|
|
376
|
+
operationEvent: {
|
|
377
|
+
eventCode: 0,
|
|
378
|
+
parameters: {
|
|
379
|
+
tokens: tokens,
|
|
380
|
+
title: title,
|
|
381
|
+
body: body,
|
|
382
|
+
badge: badge,
|
|
383
|
+
sound: sound,
|
|
384
|
+
icon: icon,
|
|
385
|
+
data: data,
|
|
386
|
+
},
|
|
387
|
+
},
|
|
388
|
+
});
|
|
356
389
|
}
|
|
357
390
|
|
|
358
391
|
public async sendToTopic(topic: string, title: string, body: string, badge?: number, sound?: string, icon?: string, data?: { [k: string]: any }) {
|
|
359
392
|
if (process?.send)
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
public async subscribeToTopic(tokens: string[], topic: string) {
|
|
393
|
+
process.send({
|
|
394
|
+
eventType: 32,
|
|
395
|
+
receiver: null,
|
|
396
|
+
operationEvent: {
|
|
397
|
+
eventCode: 0,
|
|
398
|
+
parameters: {
|
|
399
|
+
topic: topic,
|
|
400
|
+
title: title,
|
|
401
|
+
body: body,
|
|
402
|
+
badge: badge,
|
|
403
|
+
sound: sound,
|
|
404
|
+
icon: icon,
|
|
405
|
+
data: data,
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
});
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
public async subscribeToTopic(tokens: string[], topic: string) {
|
|
380
412
|
if (process?.send)
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
public async unsubscribeFromTopic(tokens: string[], topic: string) {
|
|
413
|
+
process.send({
|
|
414
|
+
eventType: 33,
|
|
415
|
+
receiver: null,
|
|
416
|
+
operationEvent: {
|
|
417
|
+
eventCode: 0,
|
|
418
|
+
parameters: {
|
|
419
|
+
tokens: tokens,
|
|
420
|
+
topic: topic,
|
|
421
|
+
},
|
|
422
|
+
},
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
public async unsubscribeFromTopic(tokens: string[], topic: string) {
|
|
396
427
|
if (process?.send)
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
});
|
|
428
|
+
process.send({
|
|
429
|
+
eventType: 34,
|
|
430
|
+
receiver: null,
|
|
431
|
+
operationEvent: {
|
|
432
|
+
eventCode: 0,
|
|
433
|
+
parameters: {
|
|
434
|
+
tokens: tokens,
|
|
435
|
+
topic: topic,
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
});
|
|
409
439
|
}
|
|
410
440
|
}
|
|
411
441
|
|
|
@@ -501,82 +531,82 @@ const ConvertArray = (results: any[]) => {
|
|
|
501
531
|
}
|
|
502
532
|
|
|
503
533
|
process?.on("message", async (request: CloudScriptRequest) => {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
534
|
+
let startTime = performance.now();
|
|
535
|
+
let startMemoryUsage = process.memoryUsage();
|
|
536
|
+
|
|
537
|
+
let logs: string[] = [];
|
|
538
|
+
let functionRequest: FunctionRequest = {
|
|
539
|
+
userId: request.userId,
|
|
540
|
+
name: request.name,
|
|
541
|
+
parameters: request.parameters,
|
|
542
|
+
context: {},
|
|
543
|
+
customTags: request.customTags,
|
|
544
|
+
log(log: any) {
|
|
545
|
+
logs.push(JSON.stringify(log));
|
|
546
|
+
},
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
let handleResponse = await ___handleFunction(functionRequest);
|
|
550
|
+
|
|
551
|
+
if (handleResponse.result) {
|
|
552
|
+
if (handleResponse.result instanceof GNHashtable) {
|
|
553
|
+
handleResponse.result = (<GNHashtable>handleResponse.result).toData();
|
|
554
|
+
}
|
|
555
|
+
else if (handleResponse.result instanceof GNArray) {
|
|
556
|
+
handleResponse.result = (<GNArray>handleResponse.result).toData();
|
|
557
|
+
}
|
|
558
|
+
else {
|
|
559
|
+
let typeofResult = typeof (handleResponse.result);
|
|
560
|
+
|
|
561
|
+
if (typeofResult == "boolean") {
|
|
562
|
+
|
|
563
|
+
}
|
|
564
|
+
else if (typeofResult == "number") {
|
|
565
|
+
|
|
566
|
+
}
|
|
567
|
+
else if (typeofResult == "object") {
|
|
568
|
+
if (Array.isArray(handleResponse.result)) {
|
|
569
|
+
|
|
570
|
+
handleResponse.result = ConvertArray(handleResponse.result as any[]);
|
|
571
|
+
//answer.push(this.deserializeArray(gnArray.getGNArray(i), cls));
|
|
572
|
+
}
|
|
573
|
+
else {
|
|
574
|
+
handleResponse.result = ConvertObject(handleResponse.result);
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
else if (typeofResult == "string") {
|
|
578
|
+
|
|
579
|
+
}
|
|
580
|
+
else {
|
|
581
|
+
handleResponse.result = null;
|
|
582
|
+
|
|
583
|
+
handleResponse.errorMessage = "CloudScript must return void, number, string, boolean, null, json dictionary, json array, GNHashtable or GNArray";
|
|
584
|
+
handleResponse.status = ExecuteResponseStatus.Exception;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
let endTime = performance.now();
|
|
590
|
+
let endMemoryUsage = process.memoryUsage();
|
|
591
|
+
|
|
592
|
+
let memoryUsedInBytes = endMemoryUsage.heapUsed - startMemoryUsage.heapUsed;
|
|
593
|
+
if (memoryUsedInBytes <= 0) memoryUsedInBytes = 8192;
|
|
594
|
+
let executeTimeInMs = endTime - startTime;
|
|
595
|
+
|
|
596
|
+
//let cost = (memoryUsedInGb * executeTime) / 1000 * 0.022;
|
|
597
|
+
|
|
598
|
+
let response: CloudScriptResponse = {
|
|
599
|
+
responseId: request.requestId,
|
|
600
|
+
response: handleResponse,
|
|
601
|
+
stats: {
|
|
602
|
+
executeTimeInMs: executeTimeInMs,
|
|
603
|
+
memoryUsedInBytes: memoryUsedInBytes,
|
|
604
|
+
},
|
|
605
|
+
logs: logs,
|
|
606
|
+
};
|
|
607
|
+
|
|
608
|
+
if (process?.send)
|
|
609
|
+
process.send(response);
|
|
580
610
|
});
|
|
581
611
|
|
|
582
612
|
async function ___handleFunction(request: FunctionRequest): Promise<FunctionResponse> {
|
|
@@ -627,7 +657,7 @@ const pushNotification = new CloudScriptPushNotification();
|
|
|
627
657
|
|
|
628
658
|
{
|
|
629
659
|
let dbConnection = JSON.parse(process.env.dbConnection ?? "");
|
|
630
|
-
database.init(dbConnection.url, dbConnection.dbName, dbConnection.options);
|
|
660
|
+
database.init(dbConnection.url, dbConnection.dbName, dbConnection.logUrl, dbConnection.logDbName, dbConnection.options);
|
|
631
661
|
}
|
|
632
662
|
|
|
633
663
|
process.env.dbConnection = "";
|