@xmobitea/gn-typescript-client 2.6.9 → 2.6.10-tsc

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 (201) hide show
  1. package/dist/index.js +337 -34162
  2. package/dist/runtime/GNNetwork.js +250 -0
  3. package/dist/runtime/GNNetworkAuthenticateApi.js +122 -0
  4. package/dist/runtime/GNNetworkCharacterPlayerApi.js +968 -0
  5. package/dist/runtime/GNNetworkCloudScriptApi.js +104 -0
  6. package/dist/runtime/GNNetworkContentApi.js +140 -0
  7. package/dist/runtime/GNNetworkDashboardApi.js +170 -0
  8. package/dist/runtime/GNNetworkGamePlayerApi.js +950 -0
  9. package/dist/runtime/GNNetworkGroupApi.js +734 -0
  10. package/dist/runtime/GNNetworkInventoryApi.js +626 -0
  11. package/dist/runtime/GNNetworkMasterPlayerApi.js +1550 -0
  12. package/dist/runtime/GNNetworkMultiplayerApi.js +194 -0
  13. package/dist/runtime/GNNetworkStoreInventoryApi.js +266 -0
  14. package/dist/runtime/common/Action0.js +1 -0
  15. package/dist/runtime/common/Action1.js +1 -0
  16. package/dist/runtime/common/Action2.js +1 -0
  17. package/dist/runtime/common/Action3.js +1 -0
  18. package/dist/runtime/common/Action4.js +1 -0
  19. package/dist/runtime/common/GNData.js +211 -0
  20. package/dist/runtime/config/GNServerSettings.d.ts +3 -0
  21. package/dist/runtime/config/GNServerSettings.js +156 -0
  22. package/dist/runtime/constant/Commands.d.ts +1 -0
  23. package/dist/runtime/constant/Commands.js +20 -0
  24. package/dist/runtime/constant/EventCode.js +8 -0
  25. package/dist/runtime/constant/OperationCode.js +221 -0
  26. package/dist/runtime/constant/ReturnCode.js +14 -0
  27. package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +8 -0
  28. package/dist/runtime/constant/enumType/FriendStatus.js +7 -0
  29. package/dist/runtime/constant/enumType/GoogleLoginType.js +5 -0
  30. package/dist/runtime/constant/enumType/GroupStatus.js +7 -0
  31. package/dist/runtime/constant/enumType/InvalidMemberType.js +18 -0
  32. package/dist/runtime/constant/enumType/ItemType.js +5 -0
  33. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +6 -0
  34. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +8 -0
  35. package/dist/runtime/constant/enumType/OwnerType.js +9 -0
  36. package/dist/runtime/constant/enumType/PermissionDataItem.js +5 -0
  37. package/dist/runtime/constant/enumType/PushPlatformType.js +5 -0
  38. package/dist/runtime/constant/enumType/RequestRole.js +6 -0
  39. package/dist/runtime/constant/enumType/RequestType.js +15 -0
  40. package/dist/runtime/constant/enumType/StoreItemType.js +5 -0
  41. package/dist/runtime/constant/enumType/StoreReceiveType.js +8 -0
  42. package/dist/runtime/constant/errorCode/ErrorCode.js +52 -0
  43. package/dist/runtime/constant/parameterCode/ParameterCode.js +617 -0
  44. package/dist/runtime/entity/DataMember.js +208 -0
  45. package/dist/runtime/entity/GNMetadata.js +11 -0
  46. package/dist/runtime/entity/InvalidMember.js +1 -0
  47. package/dist/runtime/entity/OperationEvent.js +24 -0
  48. package/dist/runtime/entity/OperationHelper.js +24 -0
  49. package/dist/runtime/entity/OperationRequest.js +42 -0
  50. package/dist/runtime/entity/OperationResponse.js +73 -0
  51. package/dist/runtime/entity/models/AuthenticateModels.js +426 -0
  52. package/dist/runtime/entity/models/AuthenticateRequestModels.js +188 -0
  53. package/dist/runtime/entity/models/AuthenticateResponseModels.js +131 -0
  54. package/dist/runtime/entity/models/CharacterPlayerModels.js +1433 -0
  55. package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +1386 -0
  56. package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +376 -0
  57. package/dist/runtime/entity/models/CloudScriptModels.js +197 -0
  58. package/dist/runtime/entity/models/CloudScriptRequestModels.js +138 -0
  59. package/dist/runtime/entity/models/CloudScriptResponseModels.js +40 -0
  60. package/dist/runtime/entity/models/ContentModels.js +203 -0
  61. package/dist/runtime/entity/models/ContentRequestModels.js +190 -0
  62. package/dist/runtime/entity/models/ContentResponseModels.js +54 -0
  63. package/dist/runtime/entity/models/DashboardModels.js +3002 -0
  64. package/dist/runtime/entity/models/DashboardRequestModels.js +268 -0
  65. package/dist/runtime/entity/models/DashboardResponseModels.js +187 -0
  66. package/dist/runtime/entity/models/GamePlayerModels.js +1591 -0
  67. package/dist/runtime/entity/models/GamePlayerRequestModels.js +1360 -0
  68. package/dist/runtime/entity/models/GamePlayerResponseModels.js +369 -0
  69. package/dist/runtime/entity/models/GenericModels.js +177 -0
  70. package/dist/runtime/entity/models/GroupModels.js +1135 -0
  71. package/dist/runtime/entity/models/GroupRequestModels.js +1048 -0
  72. package/dist/runtime/entity/models/GroupResponseModels.js +285 -0
  73. package/dist/runtime/entity/models/InventoryModels.js +915 -0
  74. package/dist/runtime/entity/models/InventoryRequestModels.js +892 -0
  75. package/dist/runtime/entity/models/InventoryResponseModels.js +243 -0
  76. package/dist/runtime/entity/models/MasterPlayerModels.js +2573 -0
  77. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2228 -0
  78. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +607 -0
  79. package/dist/runtime/entity/models/MultiplayerModels.js +404 -0
  80. package/dist/runtime/entity/models/MultiplayerRequestModels.js +268 -0
  81. package/dist/runtime/entity/models/MultiplayerResponseModels.js +75 -0
  82. package/dist/runtime/entity/models/StoreInventoryModels.js +797 -0
  83. package/dist/runtime/entity/models/StoreInventoryRequestModels.js +372 -0
  84. package/dist/runtime/entity/models/StoreInventoryResponseModels.js +103 -0
  85. package/dist/runtime/entity/request/CustomOperationRequest.js +24 -0
  86. package/dist/runtime/entity/response/CustomOperationResponse.js +29 -0
  87. package/dist/runtime/entity/response/GetAuthInfoResponse.js +2 -0
  88. package/dist/runtime/entity/response/UploadFileResponse.js +2 -0
  89. package/dist/runtime/helper/CodeHelper.js +63 -0
  90. package/dist/runtime/helper/ConverterService.js +275 -0
  91. package/dist/runtime/helper/EnumUtility.js +33 -0
  92. package/dist/runtime/helper/GNSupport.js +8 -0
  93. package/dist/runtime/helper/GNUtils.js +72 -0
  94. package/dist/runtime/helper/MessagePackConverterService.js +9 -0
  95. package/dist/runtime/logger/GNDebug.js +29 -0
  96. package/dist/runtime/networking/AuthenticateStatus.js +14 -0
  97. package/dist/runtime/networking/IPeer.js +1 -0
  98. package/dist/runtime/networking/NetworkingPeer.js +178 -0
  99. package/dist/runtime/networking/OperationPending.js +53 -0
  100. package/dist/runtime/networking/PeerBase.js +161 -0
  101. package/dist/runtime/networking/handler/IServerEventHandler.js +13 -0
  102. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +39 -0
  103. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +39 -0
  104. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +39 -0
  105. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +39 -0
  106. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +35 -0
  107. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +43 -0
  108. package/dist/runtime/networking/http/HttpPeer.js +123 -0
  109. package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +2 -0
  110. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +9 -0
  111. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +179 -0
  112. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +130 -0
  113. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +165 -0
  114. package/dist/runtime/networking/socket/SocketPeer.js +115 -0
  115. package/dist/runtime/typescript/ServiceUpdate.js +12 -0
  116. package/package.json +1 -1
  117. package/dist/gearn.js.client.js +0 -46884
  118. package/dist/gearn.js.client.min.js +0 -2
  119. package/dist/gearn.js.client.min.js.LICENSE.txt +0 -14
  120. package/responseModel/chatgpt/Authenticate.json +0 -724
  121. package/responseModel/chatgpt/CharacterPlayer.json +0 -1890
  122. package/responseModel/chatgpt/CloudScript.json +0 -254
  123. package/responseModel/chatgpt/Content.json +0 -273
  124. package/responseModel/chatgpt/Dashboard.json +0 -4110
  125. package/responseModel/chatgpt/GamePlayer.json +0 -2306
  126. package/responseModel/chatgpt/Generic.json +0 -253
  127. package/responseModel/chatgpt/Group.json +0 -1509
  128. package/responseModel/chatgpt/Inventory.json +0 -1211
  129. package/responseModel/chatgpt/MasterPlayer.json +0 -3801
  130. package/responseModel/chatgpt/Multiplayer.json +0 -634
  131. package/responseModel/chatgpt/StoreInventory.json +0 -1099
  132. package/responseModel/clients/AuthenticateModels.json +0 -271
  133. package/responseModel/clients/CharacterPlayerModels.json +0 -792
  134. package/responseModel/clients/CloudScriptModels.json +0 -191
  135. package/responseModel/clients/ContentModels.json +0 -178
  136. package/responseModel/clients/DashboardModels.json +0 -5423
  137. package/responseModel/clients/GamePlayerModels.json +0 -781
  138. package/responseModel/clients/GenericModels.json +0 -344
  139. package/responseModel/clients/GroupModels.json +0 -705
  140. package/responseModel/clients/InventoryModels.json +0 -568
  141. package/responseModel/clients/MasterPlayerModels.json +0 -1281
  142. package/responseModel/clients/MultiplayerModels.json +0 -439
  143. package/responseModel/clients/StoreInventoryModels.json +0 -971
  144. package/responseModel/finalChatgpt/Authenticate.json +0 -1475
  145. package/responseModel/finalChatgpt/CharacterPlayer.json +0 -4104
  146. package/responseModel/finalChatgpt/CloudScript.json +0 -515
  147. package/responseModel/finalChatgpt/Content.json +0 -536
  148. package/responseModel/finalChatgpt/Dashboard.json +0 -6712
  149. package/responseModel/finalChatgpt/GamePlayer.json +0 -5142
  150. package/responseModel/finalChatgpt/Generic.json +0 -333
  151. package/responseModel/finalChatgpt/Group.json +0 -3232
  152. package/responseModel/finalChatgpt/Inventory.json +0 -2606
  153. package/responseModel/finalChatgpt/MasterPlayer.json +0 -8385
  154. package/responseModel/finalChatgpt/Multiplayer.json +0 -1196
  155. package/responseModel/finalChatgpt/StoreInventory.json +0 -2085
  156. package/responseModel/finals/Authenticate.json +0 -1460
  157. package/responseModel/finals/CharacterPlayer.json +0 -3639
  158. package/responseModel/finals/CloudScript.json +0 -465
  159. package/responseModel/finals/Content.json +0 -479
  160. package/responseModel/finals/Dashboard.json +0 -6718
  161. package/responseModel/finals/GamePlayer.json +0 -4291
  162. package/responseModel/finals/Generic.json +0 -345
  163. package/responseModel/finals/Group.json +0 -2885
  164. package/responseModel/finals/Inventory.json +0 -2309
  165. package/responseModel/finals/MasterPlayer.json +0 -7018
  166. package/responseModel/finals/Multiplayer.json +0 -1082
  167. package/responseModel/finals/StoreInventory.json +0 -1979
  168. package/responseModel/finalsShort/Authenticate.json +0 -723
  169. package/responseModel/finalsShort/CharacterPlayer.json +0 -1889
  170. package/responseModel/finalsShort/CloudScript.json +0 -253
  171. package/responseModel/finalsShort/Content.json +0 -272
  172. package/responseModel/finalsShort/Dashboard.json +0 -4109
  173. package/responseModel/finalsShort/GamePlayer.json +0 -2305
  174. package/responseModel/finalsShort/Generic.json +0 -252
  175. package/responseModel/finalsShort/Group.json +0 -1508
  176. package/responseModel/finalsShort/Inventory.json +0 -1210
  177. package/responseModel/finalsShort/MasterPlayer.json +0 -3800
  178. package/responseModel/finalsShort/Multiplayer.json +0 -633
  179. package/responseModel/finalsShort/StoreInventory.json +0 -1098
  180. package/responseModel/operationResponse/AuthenticateResponseModels.json +0 -77
  181. package/responseModel/operationResponse/CharacterPlayerResponseModels.json +0 -217
  182. package/responseModel/operationResponse/CloudScriptResponseModels.json +0 -25
  183. package/responseModel/operationResponse/ContentResponseModels.json +0 -33
  184. package/responseModel/operationResponse/DashboardResponseModels.json +0 -109
  185. package/responseModel/operationResponse/GamePlayerResponseModels.json +0 -213
  186. package/responseModel/operationResponse/GroupResponseModels.json +0 -165
  187. package/responseModel/operationResponse/InventoryResponseModels.json +0 -141
  188. package/responseModel/operationResponse/MasterPlayerResponseModels.json +0 -349
  189. package/responseModel/operationResponse/MultiplayerResponseModels.json +0 -45
  190. package/responseModel/operationResponse/StoreInventoryResponseModels.json +0 -61
  191. package/responseModel/servers/Authenticate.json +0 -1328
  192. package/responseModel/servers/CharacterPlayer.json +0 -3199
  193. package/responseModel/servers/CloudScript.json +0 -278
  194. package/responseModel/servers/Content.json +0 -324
  195. package/responseModel/servers/GamePlayer.json +0 -3844
  196. package/responseModel/servers/Group.json +0 -2454
  197. package/responseModel/servers/Inventory.json +0 -1964
  198. package/responseModel/servers/MasterAdmin.json +0 -5569
  199. package/responseModel/servers/MasterPlayer.json +0 -5924
  200. package/responseModel/servers/Multiplayer.json +0 -545
  201. package/responseModel/servers/StoreInventory.json +0 -1290
@@ -0,0 +1,268 @@
1
+ import { OperationCode } from "./../../constant/OperationCode";
2
+ import { RequestRole } from "./../../constant/enumType/RequestRole";
3
+ import { RequestType } from "./../../constant/enumType/RequestType";
4
+ import { CustomOperationRequestAbstract } from "./../request/CustomOperationRequest";
5
+ import { DashboardModels } from "./DashboardModels";
6
+ export var DashboardRequestModels;
7
+ (function (DashboardRequestModels) {
8
+ class ChangePasswordAdminAccountOperationRequest extends CustomOperationRequestAbstract {
9
+ constructor(requestData, timeout) {
10
+ super(requestData, timeout);
11
+ this.operationCode = OperationCode.ChangePasswordAdminAccount;
12
+ this.requestType = RequestType.Dashboard;
13
+ this.role = RequestRole.Client;
14
+ this.requestDataCls = DashboardModels.ChangePasswordAdminAccountRequestData;
15
+ }
16
+ }
17
+ DashboardRequestModels.ChangePasswordAdminAccountOperationRequest = ChangePasswordAdminAccountOperationRequest;
18
+ class GetAdminAccountListOperationRequest extends CustomOperationRequestAbstract {
19
+ constructor(requestData, timeout) {
20
+ super(requestData, timeout);
21
+ this.operationCode = OperationCode.GetAdminAccountList;
22
+ this.requestType = RequestType.Dashboard;
23
+ this.role = RequestRole.Client;
24
+ this.requestDataCls = DashboardModels.GetAdminAccountListRequestData;
25
+ }
26
+ }
27
+ DashboardRequestModels.GetAdminAccountListOperationRequest = GetAdminAccountListOperationRequest;
28
+ class GetGameInformationOperationRequest extends CustomOperationRequestAbstract {
29
+ constructor(requestData, timeout) {
30
+ super(requestData, timeout);
31
+ this.operationCode = OperationCode.GetGameInformation;
32
+ this.requestType = RequestType.Dashboard;
33
+ this.role = RequestRole.Client;
34
+ this.requestDataCls = DashboardModels.GetGameInformationRequestData;
35
+ }
36
+ }
37
+ DashboardRequestModels.GetGameInformationOperationRequest = GetGameInformationOperationRequest;
38
+ class GetGameListOperationRequest extends CustomOperationRequestAbstract {
39
+ constructor(requestData, timeout) {
40
+ super(requestData, timeout);
41
+ this.operationCode = OperationCode.GetGameList;
42
+ this.requestType = RequestType.Dashboard;
43
+ this.role = RequestRole.Client;
44
+ this.requestDataCls = DashboardModels.GetGameListRequestData;
45
+ }
46
+ }
47
+ DashboardRequestModels.GetGameListOperationRequest = GetGameListOperationRequest;
48
+ class GetMasterGameSettingsOperationRequest extends CustomOperationRequestAbstract {
49
+ constructor(requestData, timeout) {
50
+ super(requestData, timeout);
51
+ this.operationCode = OperationCode.GetMasterGameSettings;
52
+ this.requestType = RequestType.Dashboard;
53
+ this.role = RequestRole.Client;
54
+ this.requestDataCls = DashboardModels.GetMasterGameSettingsRequestData;
55
+ }
56
+ }
57
+ DashboardRequestModels.GetMasterGameSettingsOperationRequest = GetMasterGameSettingsOperationRequest;
58
+ class GetSecretInfoInformationOperationRequest extends CustomOperationRequestAbstract {
59
+ constructor(requestData, timeout) {
60
+ super(requestData, timeout);
61
+ this.operationCode = OperationCode.GetSecretInfoInformation;
62
+ this.requestType = RequestType.Dashboard;
63
+ this.role = RequestRole.Client;
64
+ this.requestDataCls = DashboardModels.GetSecretInfoInformationRequestData;
65
+ }
66
+ }
67
+ DashboardRequestModels.GetSecretInfoInformationOperationRequest = GetSecretInfoInformationOperationRequest;
68
+ class GetSecretInfoListOperationRequest extends CustomOperationRequestAbstract {
69
+ constructor(requestData, timeout) {
70
+ super(requestData, timeout);
71
+ this.operationCode = OperationCode.GetSecretInfoList;
72
+ this.requestType = RequestType.Dashboard;
73
+ this.role = RequestRole.Client;
74
+ this.requestDataCls = DashboardModels.GetSecretInfoListRequestData;
75
+ }
76
+ }
77
+ DashboardRequestModels.GetSecretInfoListOperationRequest = GetSecretInfoListOperationRequest;
78
+ class GetServerLogOperationRequest extends CustomOperationRequestAbstract {
79
+ constructor(requestData, timeout) {
80
+ super(requestData, timeout);
81
+ this.operationCode = OperationCode.GetServerLog;
82
+ this.requestType = RequestType.Dashboard;
83
+ this.role = RequestRole.Client;
84
+ this.requestDataCls = DashboardModels.GetServerLogRequestData;
85
+ }
86
+ }
87
+ DashboardRequestModels.GetServerLogOperationRequest = GetServerLogOperationRequest;
88
+ class CreateAdminAccountOperationRequest extends CustomOperationRequestAbstract {
89
+ constructor(requestData, timeout) {
90
+ super(requestData, timeout);
91
+ this.operationCode = OperationCode.CreateAdminAccount;
92
+ this.requestType = RequestType.Dashboard;
93
+ this.role = RequestRole.Client;
94
+ this.requestDataCls = DashboardModels.CreateAdminAccountRequestData;
95
+ }
96
+ }
97
+ DashboardRequestModels.CreateAdminAccountOperationRequest = CreateAdminAccountOperationRequest;
98
+ class CreateGameOperationRequest extends CustomOperationRequestAbstract {
99
+ constructor(requestData, timeout) {
100
+ super(requestData, timeout);
101
+ this.operationCode = OperationCode.CreateGame;
102
+ this.requestType = RequestType.Dashboard;
103
+ this.role = RequestRole.Client;
104
+ this.requestDataCls = DashboardModels.CreateGameRequestData;
105
+ }
106
+ }
107
+ DashboardRequestModels.CreateGameOperationRequest = CreateGameOperationRequest;
108
+ class CreateSecretInfoOperationRequest extends CustomOperationRequestAbstract {
109
+ constructor(requestData, timeout) {
110
+ super(requestData, timeout);
111
+ this.operationCode = OperationCode.CreateSecretInfo;
112
+ this.requestType = RequestType.Dashboard;
113
+ this.role = RequestRole.Client;
114
+ this.requestDataCls = DashboardModels.CreateSecretInfoRequestData;
115
+ }
116
+ }
117
+ DashboardRequestModels.CreateSecretInfoOperationRequest = CreateSecretInfoOperationRequest;
118
+ class LoginByAdminAccountOperationRequest extends CustomOperationRequestAbstract {
119
+ constructor(requestData, timeout) {
120
+ super(requestData, timeout);
121
+ this.operationCode = OperationCode.LoginByAdminAccount;
122
+ this.requestType = RequestType.Dashboard;
123
+ this.role = RequestRole.Client;
124
+ this.requestDataCls = DashboardModels.LoginByAdminAccountRequestData;
125
+ }
126
+ }
127
+ DashboardRequestModels.LoginByAdminAccountOperationRequest = LoginByAdminAccountOperationRequest;
128
+ class RemoveAdminAccountOperationRequest extends CustomOperationRequestAbstract {
129
+ constructor(requestData, timeout) {
130
+ super(requestData, timeout);
131
+ this.operationCode = OperationCode.RemoveAdminAccount;
132
+ this.requestType = RequestType.Dashboard;
133
+ this.role = RequestRole.Client;
134
+ this.requestDataCls = DashboardModels.RemoveAdminAccountRequestData;
135
+ }
136
+ }
137
+ DashboardRequestModels.RemoveAdminAccountOperationRequest = RemoveAdminAccountOperationRequest;
138
+ class SetGameInformationOperationRequest extends CustomOperationRequestAbstract {
139
+ constructor(requestData, timeout) {
140
+ super(requestData, timeout);
141
+ this.operationCode = OperationCode.SetGameInformation;
142
+ this.requestType = RequestType.Dashboard;
143
+ this.role = RequestRole.Client;
144
+ this.requestDataCls = DashboardModels.SetGameInformationRequestData;
145
+ }
146
+ }
147
+ DashboardRequestModels.SetGameInformationOperationRequest = SetGameInformationOperationRequest;
148
+ class SetMasterGameSettingsOperationRequest extends CustomOperationRequestAbstract {
149
+ constructor(requestData, timeout) {
150
+ super(requestData, timeout);
151
+ this.operationCode = OperationCode.SetMasterGameSettings;
152
+ this.requestType = RequestType.Dashboard;
153
+ this.role = RequestRole.Client;
154
+ this.requestDataCls = DashboardModels.SetMasterGameSettingsRequestData;
155
+ }
156
+ }
157
+ DashboardRequestModels.SetMasterGameSettingsOperationRequest = SetMasterGameSettingsOperationRequest;
158
+ class SetPasswordAdminAccountOperationRequest extends CustomOperationRequestAbstract {
159
+ constructor(requestData, timeout) {
160
+ super(requestData, timeout);
161
+ this.operationCode = OperationCode.SetPasswordAdminAccount;
162
+ this.requestType = RequestType.Dashboard;
163
+ this.role = RequestRole.Client;
164
+ this.requestDataCls = DashboardModels.SetPasswordAdminAccountRequestData;
165
+ }
166
+ }
167
+ DashboardRequestModels.SetPasswordAdminAccountOperationRequest = SetPasswordAdminAccountOperationRequest;
168
+ class SetSecretInfoInformationOperationRequest extends CustomOperationRequestAbstract {
169
+ constructor(requestData, timeout) {
170
+ super(requestData, timeout);
171
+ this.operationCode = OperationCode.SetSecretInfoInformation;
172
+ this.requestType = RequestType.Dashboard;
173
+ this.role = RequestRole.Client;
174
+ this.requestDataCls = DashboardModels.SetSecretInfoInformationRequestData;
175
+ }
176
+ }
177
+ DashboardRequestModels.SetSecretInfoInformationOperationRequest = SetSecretInfoInformationOperationRequest;
178
+ class SetSecretKeyAdminAccountOperationRequest extends CustomOperationRequestAbstract {
179
+ constructor(requestData, timeout) {
180
+ super(requestData, timeout);
181
+ this.operationCode = OperationCode.SetSecretKeyAdminAccount;
182
+ this.requestType = RequestType.Dashboard;
183
+ this.role = RequestRole.Client;
184
+ this.requestDataCls = DashboardModels.SetSecretKeyAdminAccountRequestData;
185
+ }
186
+ }
187
+ DashboardRequestModels.SetSecretKeyAdminAccountOperationRequest = SetSecretKeyAdminAccountOperationRequest;
188
+ class GetUsernameAdminAccountOperationRequest extends CustomOperationRequestAbstract {
189
+ constructor(requestData, timeout) {
190
+ super(requestData, timeout);
191
+ this.operationCode = OperationCode.GetUsernameAdminAccount;
192
+ this.requestType = RequestType.Dashboard;
193
+ this.role = RequestRole.Client;
194
+ this.requestDataCls = DashboardModels.GetUsernameAdminAccountRequestData;
195
+ }
196
+ }
197
+ DashboardRequestModels.GetUsernameAdminAccountOperationRequest = GetUsernameAdminAccountOperationRequest;
198
+ class GetAnalyticsOperationRequest extends CustomOperationRequestAbstract {
199
+ constructor(requestData, timeout) {
200
+ super(requestData, timeout);
201
+ this.operationCode = OperationCode.GetAnalytics;
202
+ this.requestType = RequestType.Dashboard;
203
+ this.role = RequestRole.Client;
204
+ this.requestDataCls = DashboardModels.GetAnalyticsRequestData;
205
+ }
206
+ }
207
+ DashboardRequestModels.GetAnalyticsOperationRequest = GetAnalyticsOperationRequest;
208
+ class GetEventCallbackCloudScriptOperationRequest extends CustomOperationRequestAbstract {
209
+ constructor(requestData, timeout) {
210
+ super(requestData, timeout);
211
+ this.operationCode = OperationCode.GetEventCallbackCloudScript;
212
+ this.requestType = RequestType.Dashboard;
213
+ this.role = RequestRole.Client;
214
+ this.requestDataCls = DashboardModels.GetEventCallbackCloudScriptRequestData;
215
+ }
216
+ }
217
+ DashboardRequestModels.GetEventCallbackCloudScriptOperationRequest = GetEventCallbackCloudScriptOperationRequest;
218
+ class SetEventCallbackCloudScriptOperationRequest extends CustomOperationRequestAbstract {
219
+ constructor(requestData, timeout) {
220
+ super(requestData, timeout);
221
+ this.operationCode = OperationCode.SetEventCallbackCloudScript;
222
+ this.requestType = RequestType.Dashboard;
223
+ this.role = RequestRole.Client;
224
+ this.requestDataCls = DashboardModels.SetEventCallbackCloudScriptRequestData;
225
+ }
226
+ }
227
+ DashboardRequestModels.SetEventCallbackCloudScriptOperationRequest = SetEventCallbackCloudScriptOperationRequest;
228
+ class ResetStatisticsLeaderboardOperationRequest extends CustomOperationRequestAbstract {
229
+ constructor(requestData, timeout) {
230
+ super(requestData, timeout);
231
+ this.operationCode = OperationCode.ResetStatisticsLeaderboard;
232
+ this.requestType = RequestType.Dashboard;
233
+ this.role = RequestRole.Client;
234
+ this.requestDataCls = DashboardModels.ResetStatisticsLeaderboardRequestData;
235
+ }
236
+ }
237
+ DashboardRequestModels.ResetStatisticsLeaderboardOperationRequest = ResetStatisticsLeaderboardOperationRequest;
238
+ class GetBackupStatisticsLeaderboardVersionOperationRequest extends CustomOperationRequestAbstract {
239
+ constructor(requestData, timeout) {
240
+ super(requestData, timeout);
241
+ this.operationCode = OperationCode.GetBackupStatisticsLeaderboardVersion;
242
+ this.requestType = RequestType.Dashboard;
243
+ this.role = RequestRole.Client;
244
+ this.requestDataCls = DashboardModels.GetBackupStatisticsLeaderboardVersionRequestData;
245
+ }
246
+ }
247
+ DashboardRequestModels.GetBackupStatisticsLeaderboardVersionOperationRequest = GetBackupStatisticsLeaderboardVersionOperationRequest;
248
+ class GetServerGameDataOperationRequest extends CustomOperationRequestAbstract {
249
+ constructor(requestData, timeout) {
250
+ super(requestData, timeout);
251
+ this.operationCode = OperationCode.GetServerGameData;
252
+ this.requestType = RequestType.Dashboard;
253
+ this.role = RequestRole.Client;
254
+ this.requestDataCls = DashboardModels.GetServerGameDataRequestData;
255
+ }
256
+ }
257
+ DashboardRequestModels.GetServerGameDataOperationRequest = GetServerGameDataOperationRequest;
258
+ class DeleteInDatabaseOperationRequest extends CustomOperationRequestAbstract {
259
+ constructor(requestData, timeout) {
260
+ super(requestData, timeout);
261
+ this.operationCode = OperationCode.DeleteInDatabase;
262
+ this.requestType = RequestType.Dashboard;
263
+ this.role = RequestRole.Client;
264
+ this.requestDataCls = DashboardModels.DeleteInDatabaseRequestData;
265
+ }
266
+ }
267
+ DashboardRequestModels.DeleteInDatabaseOperationRequest = DeleteInDatabaseOperationRequest;
268
+ })(DashboardRequestModels || (DashboardRequestModels = {}));
@@ -0,0 +1,187 @@
1
+ import { CustomOperationResponseAbstract } from "./../response/CustomOperationResponse";
2
+ import { DashboardModels } from "./DashboardModels";
3
+ export var DashboardResponseModels;
4
+ (function (DashboardResponseModels) {
5
+ class ChangePasswordAdminAccountOperationResponse extends CustomOperationResponseAbstract {
6
+ constructor() {
7
+ super();
8
+ this.responseDataCls = DashboardModels.EmptyResponseData;
9
+ }
10
+ }
11
+ DashboardResponseModels.ChangePasswordAdminAccountOperationResponse = ChangePasswordAdminAccountOperationResponse;
12
+ class GetAdminAccountListOperationResponse extends CustomOperationResponseAbstract {
13
+ constructor() {
14
+ super();
15
+ this.responseDataCls = DashboardModels.GetAdminAccountListResponseData;
16
+ }
17
+ }
18
+ DashboardResponseModels.GetAdminAccountListOperationResponse = GetAdminAccountListOperationResponse;
19
+ class GetGameInformationOperationResponse extends CustomOperationResponseAbstract {
20
+ constructor() {
21
+ super();
22
+ this.responseDataCls = DashboardModels.GetGameInformationResponseData;
23
+ }
24
+ }
25
+ DashboardResponseModels.GetGameInformationOperationResponse = GetGameInformationOperationResponse;
26
+ class GetGameListOperationResponse extends CustomOperationResponseAbstract {
27
+ constructor() {
28
+ super();
29
+ this.responseDataCls = DashboardModels.GetGameListResponseData;
30
+ }
31
+ }
32
+ DashboardResponseModels.GetGameListOperationResponse = GetGameListOperationResponse;
33
+ class GetMasterGameSettingsOperationResponse extends CustomOperationResponseAbstract {
34
+ constructor() {
35
+ super();
36
+ this.responseDataCls = DashboardModels.GetMasterGameSettingsResponseData;
37
+ }
38
+ }
39
+ DashboardResponseModels.GetMasterGameSettingsOperationResponse = GetMasterGameSettingsOperationResponse;
40
+ class GetSecretInfoInformationOperationResponse extends CustomOperationResponseAbstract {
41
+ constructor() {
42
+ super();
43
+ this.responseDataCls = DashboardModels.GetSecretInfoInformationResponseData;
44
+ }
45
+ }
46
+ DashboardResponseModels.GetSecretInfoInformationOperationResponse = GetSecretInfoInformationOperationResponse;
47
+ class GetSecretInfoListOperationResponse extends CustomOperationResponseAbstract {
48
+ constructor() {
49
+ super();
50
+ this.responseDataCls = DashboardModels.GetSecretInfoListResponseData;
51
+ }
52
+ }
53
+ DashboardResponseModels.GetSecretInfoListOperationResponse = GetSecretInfoListOperationResponse;
54
+ class GetServerLogOperationResponse extends CustomOperationResponseAbstract {
55
+ constructor() {
56
+ super();
57
+ this.responseDataCls = DashboardModels.GetServerLogResponseData;
58
+ }
59
+ }
60
+ DashboardResponseModels.GetServerLogOperationResponse = GetServerLogOperationResponse;
61
+ class CreateAdminAccountOperationResponse extends CustomOperationResponseAbstract {
62
+ constructor() {
63
+ super();
64
+ this.responseDataCls = DashboardModels.CreateAdminAccountResponseData;
65
+ }
66
+ }
67
+ DashboardResponseModels.CreateAdminAccountOperationResponse = CreateAdminAccountOperationResponse;
68
+ class CreateGameOperationResponse extends CustomOperationResponseAbstract {
69
+ constructor() {
70
+ super();
71
+ this.responseDataCls = DashboardModels.GameWithGameIdResponseData;
72
+ }
73
+ }
74
+ DashboardResponseModels.CreateGameOperationResponse = CreateGameOperationResponse;
75
+ class CreateSecretInfoOperationResponse extends CustomOperationResponseAbstract {
76
+ constructor() {
77
+ super();
78
+ this.responseDataCls = DashboardModels.SecretInfoWithSecretKeyResponseData;
79
+ }
80
+ }
81
+ DashboardResponseModels.CreateSecretInfoOperationResponse = CreateSecretInfoOperationResponse;
82
+ class LoginByAdminAccountOperationResponse extends CustomOperationResponseAbstract {
83
+ constructor() {
84
+ super();
85
+ this.responseDataCls = DashboardModels.LoginByAdminAccountResponseData;
86
+ }
87
+ }
88
+ DashboardResponseModels.LoginByAdminAccountOperationResponse = LoginByAdminAccountOperationResponse;
89
+ class RemoveAdminAccountOperationResponse extends CustomOperationResponseAbstract {
90
+ constructor() {
91
+ super();
92
+ this.responseDataCls = DashboardModels.EmptyResponseData;
93
+ }
94
+ }
95
+ DashboardResponseModels.RemoveAdminAccountOperationResponse = RemoveAdminAccountOperationResponse;
96
+ class SetGameInformationOperationResponse extends CustomOperationResponseAbstract {
97
+ constructor() {
98
+ super();
99
+ this.responseDataCls = DashboardModels.EmptyResponseData;
100
+ }
101
+ }
102
+ DashboardResponseModels.SetGameInformationOperationResponse = SetGameInformationOperationResponse;
103
+ class SetMasterGameSettingsOperationResponse extends CustomOperationResponseAbstract {
104
+ constructor() {
105
+ super();
106
+ this.responseDataCls = DashboardModels.EmptyResponseData;
107
+ }
108
+ }
109
+ DashboardResponseModels.SetMasterGameSettingsOperationResponse = SetMasterGameSettingsOperationResponse;
110
+ class SetPasswordAdminAccountOperationResponse extends CustomOperationResponseAbstract {
111
+ constructor() {
112
+ super();
113
+ this.responseDataCls = DashboardModels.EmptyResponseData;
114
+ }
115
+ }
116
+ DashboardResponseModels.SetPasswordAdminAccountOperationResponse = SetPasswordAdminAccountOperationResponse;
117
+ class SetSecretInfoInformationOperationResponse extends CustomOperationResponseAbstract {
118
+ constructor() {
119
+ super();
120
+ this.responseDataCls = DashboardModels.EmptyResponseData;
121
+ }
122
+ }
123
+ DashboardResponseModels.SetSecretInfoInformationOperationResponse = SetSecretInfoInformationOperationResponse;
124
+ class SetSecretKeyAdminAccountOperationResponse extends CustomOperationResponseAbstract {
125
+ constructor() {
126
+ super();
127
+ this.responseDataCls = DashboardModels.EmptyResponseData;
128
+ }
129
+ }
130
+ DashboardResponseModels.SetSecretKeyAdminAccountOperationResponse = SetSecretKeyAdminAccountOperationResponse;
131
+ class GetUsernameAdminAccountOperationResponse extends CustomOperationResponseAbstract {
132
+ constructor() {
133
+ super();
134
+ this.responseDataCls = DashboardModels.GetUsernameAdminAccountResponseData;
135
+ }
136
+ }
137
+ DashboardResponseModels.GetUsernameAdminAccountOperationResponse = GetUsernameAdminAccountOperationResponse;
138
+ class GetAnalyticsOperationResponse extends CustomOperationResponseAbstract {
139
+ constructor() {
140
+ super();
141
+ this.responseDataCls = DashboardModels.GetAnalyticsResponseData;
142
+ }
143
+ }
144
+ DashboardResponseModels.GetAnalyticsOperationResponse = GetAnalyticsOperationResponse;
145
+ class GetEventCallbackCloudScriptOperationResponse extends CustomOperationResponseAbstract {
146
+ constructor() {
147
+ super();
148
+ this.responseDataCls = DashboardModels.GetEventCallbackCloudScriptResponseData;
149
+ }
150
+ }
151
+ DashboardResponseModels.GetEventCallbackCloudScriptOperationResponse = GetEventCallbackCloudScriptOperationResponse;
152
+ class SetEventCallbackCloudScriptOperationResponse extends CustomOperationResponseAbstract {
153
+ constructor() {
154
+ super();
155
+ this.responseDataCls = DashboardModels.SetEventCallbackCloudScriptResponseData;
156
+ }
157
+ }
158
+ DashboardResponseModels.SetEventCallbackCloudScriptOperationResponse = SetEventCallbackCloudScriptOperationResponse;
159
+ class ResetStatisticsLeaderboardOperationResponse extends CustomOperationResponseAbstract {
160
+ constructor() {
161
+ super();
162
+ this.responseDataCls = DashboardModels.EmptyResponseData;
163
+ }
164
+ }
165
+ DashboardResponseModels.ResetStatisticsLeaderboardOperationResponse = ResetStatisticsLeaderboardOperationResponse;
166
+ class GetBackupStatisticsLeaderboardVersionOperationResponse extends CustomOperationResponseAbstract {
167
+ constructor() {
168
+ super();
169
+ this.responseDataCls = DashboardModels.GetBackupStatisticsLeaderboardVersionResponseData;
170
+ }
171
+ }
172
+ DashboardResponseModels.GetBackupStatisticsLeaderboardVersionOperationResponse = GetBackupStatisticsLeaderboardVersionOperationResponse;
173
+ class GetServerGameDataOperationResponse extends CustomOperationResponseAbstract {
174
+ constructor() {
175
+ super();
176
+ this.responseDataCls = DashboardModels.GetServerGameDataResponseData;
177
+ }
178
+ }
179
+ DashboardResponseModels.GetServerGameDataOperationResponse = GetServerGameDataOperationResponse;
180
+ class DeleteInDatabaseOperationResponse extends CustomOperationResponseAbstract {
181
+ constructor() {
182
+ super();
183
+ this.responseDataCls = DashboardModels.EmptyResponseData;
184
+ }
185
+ }
186
+ DashboardResponseModels.DeleteInDatabaseOperationResponse = DeleteInDatabaseOperationResponse;
187
+ })(DashboardResponseModels || (DashboardResponseModels = {}));