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

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 (203) hide show
  1. package/LICENSE +198 -5
  2. package/dist/gearn.js.client.js +46884 -0
  3. package/dist/gearn.js.client.min.js +2 -0
  4. package/dist/gearn.js.client.min.js.LICENSE.txt +14 -0
  5. package/dist/index.js +34162 -337
  6. package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +0 -1
  7. package/dist/runtime/entity/models/DashboardModels.d.ts +7 -7
  8. package/dist/runtime/entity/models/GroupModels.d.ts +0 -1
  9. package/dist/runtime/entity/models/MultiplayerModels.d.ts +1 -1
  10. package/package.json +2 -2
  11. package/responseModel/chatgpt/Authenticate.json +724 -0
  12. package/responseModel/chatgpt/CharacterPlayer.json +1890 -0
  13. package/responseModel/chatgpt/CloudScript.json +254 -0
  14. package/responseModel/chatgpt/Content.json +273 -0
  15. package/responseModel/chatgpt/Dashboard.json +4110 -0
  16. package/responseModel/chatgpt/GamePlayer.json +2306 -0
  17. package/responseModel/chatgpt/Generic.json +253 -0
  18. package/responseModel/chatgpt/Group.json +1509 -0
  19. package/responseModel/chatgpt/Inventory.json +1211 -0
  20. package/responseModel/chatgpt/MasterPlayer.json +3801 -0
  21. package/responseModel/chatgpt/Multiplayer.json +634 -0
  22. package/responseModel/chatgpt/StoreInventory.json +1099 -0
  23. package/responseModel/clients/AuthenticateModels.json +271 -0
  24. package/responseModel/clients/CharacterPlayerModels.json +792 -0
  25. package/responseModel/clients/CloudScriptModels.json +191 -0
  26. package/responseModel/clients/ContentModels.json +178 -0
  27. package/responseModel/clients/DashboardModels.json +5423 -0
  28. package/responseModel/clients/GamePlayerModels.json +781 -0
  29. package/responseModel/clients/GenericModels.json +344 -0
  30. package/responseModel/clients/GroupModels.json +705 -0
  31. package/responseModel/clients/InventoryModels.json +568 -0
  32. package/responseModel/clients/MasterPlayerModels.json +1281 -0
  33. package/responseModel/clients/MultiplayerModels.json +439 -0
  34. package/responseModel/clients/StoreInventoryModels.json +971 -0
  35. package/responseModel/finalChatgpt/Authenticate.json +1475 -0
  36. package/responseModel/finalChatgpt/CharacterPlayer.json +4104 -0
  37. package/responseModel/finalChatgpt/CloudScript.json +515 -0
  38. package/responseModel/finalChatgpt/Content.json +536 -0
  39. package/responseModel/finalChatgpt/Dashboard.json +6712 -0
  40. package/responseModel/finalChatgpt/GamePlayer.json +5142 -0
  41. package/responseModel/finalChatgpt/Generic.json +333 -0
  42. package/responseModel/finalChatgpt/Group.json +3232 -0
  43. package/responseModel/finalChatgpt/Inventory.json +2606 -0
  44. package/responseModel/finalChatgpt/MasterPlayer.json +8385 -0
  45. package/responseModel/finalChatgpt/Multiplayer.json +1196 -0
  46. package/responseModel/finalChatgpt/StoreInventory.json +2085 -0
  47. package/responseModel/finals/Authenticate.json +1460 -0
  48. package/responseModel/finals/CharacterPlayer.json +3639 -0
  49. package/responseModel/finals/CloudScript.json +465 -0
  50. package/responseModel/finals/Content.json +479 -0
  51. package/responseModel/finals/Dashboard.json +6718 -0
  52. package/responseModel/finals/GamePlayer.json +4291 -0
  53. package/responseModel/finals/Generic.json +345 -0
  54. package/responseModel/finals/Group.json +2885 -0
  55. package/responseModel/finals/Inventory.json +2309 -0
  56. package/responseModel/finals/MasterPlayer.json +7018 -0
  57. package/responseModel/finals/Multiplayer.json +1082 -0
  58. package/responseModel/finals/StoreInventory.json +1979 -0
  59. package/responseModel/finalsShort/Authenticate.json +723 -0
  60. package/responseModel/finalsShort/CharacterPlayer.json +1889 -0
  61. package/responseModel/finalsShort/CloudScript.json +253 -0
  62. package/responseModel/finalsShort/Content.json +272 -0
  63. package/responseModel/finalsShort/Dashboard.json +4109 -0
  64. package/responseModel/finalsShort/GamePlayer.json +2305 -0
  65. package/responseModel/finalsShort/Generic.json +252 -0
  66. package/responseModel/finalsShort/Group.json +1508 -0
  67. package/responseModel/finalsShort/Inventory.json +1210 -0
  68. package/responseModel/finalsShort/MasterPlayer.json +3800 -0
  69. package/responseModel/finalsShort/Multiplayer.json +633 -0
  70. package/responseModel/finalsShort/StoreInventory.json +1098 -0
  71. package/responseModel/operationResponse/AuthenticateResponseModels.json +77 -0
  72. package/responseModel/operationResponse/CharacterPlayerResponseModels.json +217 -0
  73. package/responseModel/operationResponse/CloudScriptResponseModels.json +25 -0
  74. package/responseModel/operationResponse/ContentResponseModels.json +33 -0
  75. package/responseModel/operationResponse/DashboardResponseModels.json +109 -0
  76. package/responseModel/operationResponse/GamePlayerResponseModels.json +213 -0
  77. package/responseModel/operationResponse/GroupResponseModels.json +165 -0
  78. package/responseModel/operationResponse/InventoryResponseModels.json +141 -0
  79. package/responseModel/operationResponse/MasterPlayerResponseModels.json +349 -0
  80. package/responseModel/operationResponse/MultiplayerResponseModels.json +45 -0
  81. package/responseModel/operationResponse/StoreInventoryResponseModels.json +61 -0
  82. package/responseModel/servers/Authenticate.json +1328 -0
  83. package/responseModel/servers/CharacterPlayer.json +3199 -0
  84. package/responseModel/servers/CloudScript.json +278 -0
  85. package/responseModel/servers/Content.json +324 -0
  86. package/responseModel/servers/GamePlayer.json +3844 -0
  87. package/responseModel/servers/Group.json +2454 -0
  88. package/responseModel/servers/Inventory.json +1964 -0
  89. package/responseModel/servers/MasterAdmin.json +5569 -0
  90. package/responseModel/servers/MasterPlayer.json +5924 -0
  91. package/responseModel/servers/Multiplayer.json +545 -0
  92. package/responseModel/servers/StoreInventory.json +1290 -0
  93. package/dist/runtime/GNNetwork.js +0 -250
  94. package/dist/runtime/GNNetworkAuthenticateApi.js +0 -122
  95. package/dist/runtime/GNNetworkCharacterPlayerApi.js +0 -968
  96. package/dist/runtime/GNNetworkCloudScriptApi.js +0 -104
  97. package/dist/runtime/GNNetworkContentApi.js +0 -140
  98. package/dist/runtime/GNNetworkDashboardApi.js +0 -170
  99. package/dist/runtime/GNNetworkGamePlayerApi.js +0 -950
  100. package/dist/runtime/GNNetworkGroupApi.js +0 -734
  101. package/dist/runtime/GNNetworkInventoryApi.js +0 -626
  102. package/dist/runtime/GNNetworkMasterPlayerApi.js +0 -1550
  103. package/dist/runtime/GNNetworkMultiplayerApi.js +0 -194
  104. package/dist/runtime/GNNetworkStoreInventoryApi.js +0 -266
  105. package/dist/runtime/common/Action0.js +0 -1
  106. package/dist/runtime/common/Action1.js +0 -1
  107. package/dist/runtime/common/Action2.js +0 -1
  108. package/dist/runtime/common/Action3.js +0 -1
  109. package/dist/runtime/common/Action4.js +0 -1
  110. package/dist/runtime/common/GNData.js +0 -211
  111. package/dist/runtime/config/GNServerSettings.js +0 -149
  112. package/dist/runtime/constant/Commands.js +0 -19
  113. package/dist/runtime/constant/EventCode.js +0 -8
  114. package/dist/runtime/constant/OperationCode.js +0 -221
  115. package/dist/runtime/constant/ReturnCode.js +0 -14
  116. package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +0 -8
  117. package/dist/runtime/constant/enumType/FriendStatus.js +0 -7
  118. package/dist/runtime/constant/enumType/GoogleLoginType.js +0 -5
  119. package/dist/runtime/constant/enumType/GroupStatus.js +0 -7
  120. package/dist/runtime/constant/enumType/InvalidMemberType.js +0 -18
  121. package/dist/runtime/constant/enumType/ItemType.js +0 -5
  122. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +0 -6
  123. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +0 -8
  124. package/dist/runtime/constant/enumType/OwnerType.js +0 -9
  125. package/dist/runtime/constant/enumType/PermissionDataItem.js +0 -5
  126. package/dist/runtime/constant/enumType/PushPlatformType.js +0 -5
  127. package/dist/runtime/constant/enumType/RequestRole.js +0 -6
  128. package/dist/runtime/constant/enumType/RequestType.js +0 -15
  129. package/dist/runtime/constant/enumType/StoreItemType.js +0 -5
  130. package/dist/runtime/constant/enumType/StoreReceiveType.js +0 -8
  131. package/dist/runtime/constant/errorCode/ErrorCode.js +0 -52
  132. package/dist/runtime/constant/parameterCode/ParameterCode.js +0 -617
  133. package/dist/runtime/entity/DataMember.js +0 -208
  134. package/dist/runtime/entity/GNMetadata.js +0 -11
  135. package/dist/runtime/entity/InvalidMember.js +0 -1
  136. package/dist/runtime/entity/OperationEvent.js +0 -24
  137. package/dist/runtime/entity/OperationHelper.js +0 -24
  138. package/dist/runtime/entity/OperationRequest.js +0 -42
  139. package/dist/runtime/entity/OperationResponse.js +0 -73
  140. package/dist/runtime/entity/models/AuthenticateModels.js +0 -426
  141. package/dist/runtime/entity/models/AuthenticateRequestModels.js +0 -188
  142. package/dist/runtime/entity/models/AuthenticateResponseModels.js +0 -131
  143. package/dist/runtime/entity/models/CharacterPlayerModels.js +0 -1437
  144. package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +0 -1386
  145. package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +0 -376
  146. package/dist/runtime/entity/models/CloudScriptModels.js +0 -197
  147. package/dist/runtime/entity/models/CloudScriptRequestModels.js +0 -138
  148. package/dist/runtime/entity/models/CloudScriptResponseModels.js +0 -40
  149. package/dist/runtime/entity/models/ContentModels.js +0 -203
  150. package/dist/runtime/entity/models/ContentRequestModels.js +0 -190
  151. package/dist/runtime/entity/models/ContentResponseModels.js +0 -54
  152. package/dist/runtime/entity/models/DashboardModels.js +0 -3002
  153. package/dist/runtime/entity/models/DashboardRequestModels.js +0 -268
  154. package/dist/runtime/entity/models/DashboardResponseModels.js +0 -187
  155. package/dist/runtime/entity/models/GamePlayerModels.js +0 -1591
  156. package/dist/runtime/entity/models/GamePlayerRequestModels.js +0 -1360
  157. package/dist/runtime/entity/models/GamePlayerResponseModels.js +0 -369
  158. package/dist/runtime/entity/models/GenericModels.js +0 -177
  159. package/dist/runtime/entity/models/GroupModels.js +0 -1139
  160. package/dist/runtime/entity/models/GroupRequestModels.js +0 -1048
  161. package/dist/runtime/entity/models/GroupResponseModels.js +0 -285
  162. package/dist/runtime/entity/models/InventoryModels.js +0 -915
  163. package/dist/runtime/entity/models/InventoryRequestModels.js +0 -892
  164. package/dist/runtime/entity/models/InventoryResponseModels.js +0 -243
  165. package/dist/runtime/entity/models/MasterPlayerModels.js +0 -2573
  166. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +0 -2228
  167. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +0 -607
  168. package/dist/runtime/entity/models/MultiplayerModels.js +0 -404
  169. package/dist/runtime/entity/models/MultiplayerRequestModels.js +0 -268
  170. package/dist/runtime/entity/models/MultiplayerResponseModels.js +0 -75
  171. package/dist/runtime/entity/models/StoreInventoryModels.js +0 -797
  172. package/dist/runtime/entity/models/StoreInventoryRequestModels.js +0 -372
  173. package/dist/runtime/entity/models/StoreInventoryResponseModels.js +0 -103
  174. package/dist/runtime/entity/request/CustomOperationRequest.js +0 -24
  175. package/dist/runtime/entity/response/CustomOperationResponse.js +0 -29
  176. package/dist/runtime/entity/response/GetAuthInfoResponse.js +0 -2
  177. package/dist/runtime/entity/response/UploadFileResponse.js +0 -2
  178. package/dist/runtime/helper/CodeHelper.js +0 -63
  179. package/dist/runtime/helper/ConverterService.js +0 -275
  180. package/dist/runtime/helper/EnumUtility.js +0 -33
  181. package/dist/runtime/helper/GNSupport.js +0 -8
  182. package/dist/runtime/helper/GNUtils.js +0 -72
  183. package/dist/runtime/helper/MessagePackConverterService.js +0 -9
  184. package/dist/runtime/logger/GNDebug.js +0 -29
  185. package/dist/runtime/networking/AuthenticateStatus.js +0 -14
  186. package/dist/runtime/networking/IPeer.js +0 -1
  187. package/dist/runtime/networking/NetworkingPeer.js +0 -178
  188. package/dist/runtime/networking/OperationPending.js +0 -53
  189. package/dist/runtime/networking/PeerBase.js +0 -161
  190. package/dist/runtime/networking/handler/IServerEventHandler.js +0 -13
  191. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +0 -39
  192. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +0 -39
  193. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +0 -39
  194. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +0 -39
  195. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +0 -35
  196. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +0 -43
  197. package/dist/runtime/networking/http/HttpPeer.js +0 -122
  198. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +0 -6
  199. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +0 -164
  200. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +0 -130
  201. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +0 -165
  202. package/dist/runtime/networking/socket/SocketPeer.js +0 -115
  203. package/dist/runtime/typescript/ServiceUpdate.js +0 -12
@@ -0,0 +1,278 @@
1
+ {
2
+ "requestType": "CloudScript",
3
+ "operations": [
4
+ {
5
+ "operationCode": "AddFunction",
6
+ "details": [
7
+ {
8
+ "role": "Client",
9
+ "requestData": [
10
+ {
11
+ "code": "Script",
12
+ "description": "",
13
+ "optional": false,
14
+ "type": "string",
15
+ "gnType": "String",
16
+ "conditions": {
17
+ "mustNonNull": true,
18
+ "minLength": 0,
19
+ "maxLength": null
20
+ }
21
+ },
22
+ {
23
+ "code": "CanExecute",
24
+ "description": "",
25
+ "optional": false,
26
+ "type": "boolean",
27
+ "gnType": "Boolean",
28
+ "conditions": {}
29
+ },
30
+ {
31
+ "code": "IsLive",
32
+ "description": "",
33
+ "optional": false,
34
+ "type": "boolean",
35
+ "gnType": "Boolean",
36
+ "conditions": {}
37
+ }
38
+ ]
39
+ }
40
+ ],
41
+ "responseData": [
42
+ {
43
+ "code": "ErrorCode",
44
+ "value": [
45
+ "GameNotFound",
46
+ "ExecuteError",
47
+ "Ok"
48
+ ]
49
+ },
50
+ {
51
+ "code": "ErrorMessage"
52
+ },
53
+ {
54
+ "code": "Version"
55
+ }
56
+ ],
57
+ "description": ""
58
+ },
59
+ {
60
+ "operationCode": "EditFunction",
61
+ "details": [
62
+ {
63
+ "role": "Client",
64
+ "requestData": [
65
+ {
66
+ "code": "Version",
67
+ "description": "",
68
+ "optional": false,
69
+ "type": "string",
70
+ "gnType": "String",
71
+ "conditions": {
72
+ "mustNonNull": true,
73
+ "minLength": 7,
74
+ "maxLength": 7
75
+ }
76
+ },
77
+ {
78
+ "code": "CanExecute",
79
+ "description": "",
80
+ "optional": false,
81
+ "type": "boolean",
82
+ "gnType": "Boolean",
83
+ "conditions": {}
84
+ },
85
+ {
86
+ "code": "IsLive",
87
+ "description": "",
88
+ "optional": false,
89
+ "type": "boolean",
90
+ "gnType": "Boolean",
91
+ "conditions": {}
92
+ }
93
+ ]
94
+ }
95
+ ],
96
+ "responseData": [
97
+ {
98
+ "code": "ErrorCode",
99
+ "value": [
100
+ "GameNotFound",
101
+ "Ok",
102
+ "ExecuteError"
103
+ ]
104
+ },
105
+ {
106
+ "code": "ErrorMessage"
107
+ }
108
+ ],
109
+ "description": ""
110
+ },
111
+ {
112
+ "operationCode": "ExecuteFunction",
113
+ "details": [
114
+ {
115
+ "role": "Client",
116
+ "requestData": [
117
+ {
118
+ "code": "UserId",
119
+ "description": "",
120
+ "optional": true,
121
+ "type": "string",
122
+ "gnType": "String",
123
+ "conditions": {
124
+ "minLength": 10,
125
+ "maxLength": 10
126
+ }
127
+ },
128
+ {
129
+ "code": "FunctionName",
130
+ "description": "",
131
+ "optional": false,
132
+ "type": "string",
133
+ "gnType": "String",
134
+ "conditions": {
135
+ "mustNonNull": true,
136
+ "minLength": 3,
137
+ "maxLength": 30
138
+ }
139
+ },
140
+ {
141
+ "code": "FunctionParameters",
142
+ "description": "",
143
+ "optional": true,
144
+ "type": "object",
145
+ "gnType": "DataMember",
146
+ "conditions": {}
147
+ },
148
+ {
149
+ "code": "Version",
150
+ "description": "",
151
+ "optional": true,
152
+ "type": "string",
153
+ "gnType": "String",
154
+ "conditions": {
155
+ "minLength": 7,
156
+ "maxLength": 7
157
+ }
158
+ }
159
+ ]
160
+ },
161
+ {
162
+ "role": "Server",
163
+ "requestData": [
164
+ {
165
+ "code": "UserId",
166
+ "description": "",
167
+ "optional": false,
168
+ "type": "string",
169
+ "gnType": "String",
170
+ "conditions": {
171
+ "mustNonNull": true,
172
+ "minLength": 10,
173
+ "maxLength": 10
174
+ }
175
+ }
176
+ ]
177
+ }
178
+ ],
179
+ "responseData": [
180
+ {
181
+ "code": "ErrorCode",
182
+ "value": [
183
+ "GameNotFound",
184
+ "Ok",
185
+ "ExecuteError"
186
+ ]
187
+ },
188
+ {
189
+ "code": "FunctionLogs"
190
+ },
191
+ {
192
+ "code": "Status"
193
+ },
194
+ {
195
+ "code": "ExecutionTimeInMs"
196
+ },
197
+ {
198
+ "code": "MemoryUsedInBytes"
199
+ },
200
+ {
201
+ "code": "FunctionResult"
202
+ },
203
+ {
204
+ "code": "ErrorMessage"
205
+ }
206
+ ],
207
+ "description": ""
208
+ },
209
+ {
210
+ "operationCode": "GetFunction",
211
+ "details": [
212
+ {
213
+ "role": "Client",
214
+ "requestData": [
215
+ {
216
+ "code": "Version",
217
+ "description": "",
218
+ "optional": false,
219
+ "type": "string",
220
+ "gnType": "String",
221
+ "conditions": {
222
+ "mustNonNull": true,
223
+ "minLength": 7,
224
+ "maxLength": 7
225
+ }
226
+ }
227
+ ]
228
+ }
229
+ ],
230
+ "responseData": [
231
+ {
232
+ "code": "ErrorCode",
233
+ "value": [
234
+ "GameNotFound",
235
+ "Ok"
236
+ ]
237
+ },
238
+ {
239
+ "code": "Script"
240
+ },
241
+ {
242
+ "code": "CanExecute"
243
+ },
244
+ {
245
+ "code": "IsLive"
246
+ },
247
+ {
248
+ "code": "TsCreate"
249
+ }
250
+ ],
251
+ "description": ""
252
+ },
253
+ {
254
+ "operationCode": "GetFunctions",
255
+ "details": [],
256
+ "responseData": [
257
+ {
258
+ "code": "ErrorCode",
259
+ "value": [
260
+ "GameNotFound",
261
+ "Ok"
262
+ ]
263
+ },
264
+ {
265
+ "code": "Results"
266
+ },
267
+ {
268
+ "code": "LatestVersion"
269
+ },
270
+ {
271
+ "code": "LiveLatestVersion"
272
+ }
273
+ ],
274
+ "description": ""
275
+ }
276
+ ],
277
+ "models": []
278
+ }
@@ -0,0 +1,324 @@
1
+ {
2
+ "requestType": "Content",
3
+ "operations": [
4
+ {
5
+ "operationCode": "CreateNewFileUploadInfo",
6
+ "details": [
7
+ {
8
+ "role": "Client",
9
+ "requestData": [
10
+ {
11
+ "code": "FileName",
12
+ "description": "",
13
+ "optional": false,
14
+ "type": "string",
15
+ "gnType": "String",
16
+ "conditions": {
17
+ "mustNonNull": true,
18
+ "minLength": 5,
19
+ "maxLength": 50
20
+ }
21
+ }
22
+ ]
23
+ }
24
+ ],
25
+ "responseData": [
26
+ {
27
+ "code": "ErrorCode",
28
+ "value": [
29
+ "Ok"
30
+ ]
31
+ },
32
+ {
33
+ "code": "FileId"
34
+ }
35
+ ],
36
+ "description": ""
37
+ },
38
+ {
39
+ "operationCode": "GetContentData",
40
+ "details": [
41
+ {
42
+ "role": "Client",
43
+ "requestData": [
44
+ {
45
+ "code": "Keys",
46
+ "description": "",
47
+ "optional": true,
48
+ "type": "string",
49
+ "gnType": "GNArray",
50
+ "conditions": {}
51
+ },
52
+ {
53
+ "code": "Label",
54
+ "description": "",
55
+ "optional": true,
56
+ "type": "string",
57
+ "gnType": "String",
58
+ "defaultValue": "\"\"",
59
+ "conditions": {
60
+ "minLength": 2,
61
+ "maxLength": 32
62
+ }
63
+ }
64
+ ]
65
+ }
66
+ ],
67
+ "responseData": [
68
+ {
69
+ "code": "ErrorCode",
70
+ "value": [
71
+ "GameNotFound",
72
+ "Ok"
73
+ ]
74
+ },
75
+ {
76
+ "code": "Configs"
77
+ }
78
+ ],
79
+ "description": ""
80
+ },
81
+ {
82
+ "operationCode": "GetFileUploadInfoList",
83
+ "details": [
84
+ {
85
+ "role": "Client",
86
+ "requestData": [
87
+ {
88
+ "code": "Skip",
89
+ "description": "",
90
+ "optional": true,
91
+ "type": "number",
92
+ "gnType": "Number",
93
+ "defaultValue": "0",
94
+ "conditions": {
95
+ "mustInt": true,
96
+ "minValue": 0
97
+ }
98
+ },
99
+ {
100
+ "code": "Limit",
101
+ "description": "",
102
+ "optional": true,
103
+ "type": "number",
104
+ "gnType": "Number",
105
+ "defaultValue": "10",
106
+ "conditions": {
107
+ "mustInt": true,
108
+ "minValue": 1,
109
+ "maxValue": 100
110
+ }
111
+ }
112
+ ]
113
+ }
114
+ ],
115
+ "responseData": [
116
+ {
117
+ "code": "ErrorCode",
118
+ "value": [
119
+ "Ok"
120
+ ]
121
+ },
122
+ {
123
+ "code": "Results"
124
+ }
125
+ ],
126
+ "description": ""
127
+ },
128
+ {
129
+ "operationCode": "GetFileUploadInfo",
130
+ "details": [
131
+ {
132
+ "role": "Client",
133
+ "requestData": [
134
+ {
135
+ "code": "FileId",
136
+ "description": "",
137
+ "optional": false,
138
+ "type": "string",
139
+ "gnType": "String",
140
+ "conditions": {
141
+ "mustNonNull": true,
142
+ "minLength": 15,
143
+ "maxLength": 15
144
+ }
145
+ }
146
+ ]
147
+ }
148
+ ],
149
+ "responseData": [
150
+ {
151
+ "code": "ErrorCode",
152
+ "value": [
153
+ "FileNotFound",
154
+ "Ok"
155
+ ]
156
+ },
157
+ {
158
+ "code": "FileId"
159
+ },
160
+ {
161
+ "code": "FileName"
162
+ },
163
+ {
164
+ "code": "TsCreate"
165
+ },
166
+ {
167
+ "code": "RemoveStatus"
168
+ },
169
+ {
170
+ "code": "FileUpload"
171
+ },
172
+ {
173
+ "code": "TsUploadExpire"
174
+ }
175
+ ],
176
+ "description": ""
177
+ },
178
+ {
179
+ "operationCode": "RemoveFileUploadInfo",
180
+ "details": [
181
+ {
182
+ "role": "Client",
183
+ "requestData": [
184
+ {
185
+ "code": "FileId",
186
+ "description": "",
187
+ "optional": false,
188
+ "type": "string",
189
+ "gnType": "String",
190
+ "conditions": {
191
+ "mustNonNull": true,
192
+ "minLength": 15,
193
+ "maxLength": 15
194
+ }
195
+ },
196
+ {
197
+ "code": "Reason",
198
+ "description": "",
199
+ "optional": true,
200
+ "type": "string",
201
+ "gnType": "String",
202
+ "defaultValue": "\"\"",
203
+ "conditions": {}
204
+ }
205
+ ]
206
+ }
207
+ ],
208
+ "responseData": [
209
+ {
210
+ "code": "ErrorCode",
211
+ "value": [
212
+ "FileNotFound",
213
+ "Ok"
214
+ ]
215
+ }
216
+ ],
217
+ "description": ""
218
+ },
219
+ {
220
+ "operationCode": "RequestDownloadFileUploadInfo",
221
+ "details": [
222
+ {
223
+ "role": "Client",
224
+ "requestData": [
225
+ {
226
+ "code": "FileId",
227
+ "description": "",
228
+ "optional": false,
229
+ "type": "string",
230
+ "gnType": "String",
231
+ "conditions": {
232
+ "mustNonNull": true,
233
+ "minLength": 15,
234
+ "maxLength": 15
235
+ }
236
+ }
237
+ ]
238
+ }
239
+ ],
240
+ "responseData": [
241
+ {
242
+ "code": "ErrorCode",
243
+ "value": [
244
+ "FileNotFound",
245
+ "FileNotUpload",
246
+ "Ok"
247
+ ]
248
+ },
249
+ {
250
+ "code": "DownloadToken"
251
+ }
252
+ ],
253
+ "description": ""
254
+ },
255
+ {
256
+ "operationCode": "SetContentData",
257
+ "details": [
258
+ {
259
+ "role": "Client",
260
+ "requestData": [
261
+ {
262
+ "code": "Configs",
263
+ "description": "",
264
+ "optional": false,
265
+ "type": "ContentDataParam",
266
+ "gnType": "GNArray",
267
+ "conditions": {
268
+ "mustNonNull": true
269
+ }
270
+ },
271
+ {
272
+ "code": "Label",
273
+ "description": "",
274
+ "optional": true,
275
+ "type": "string",
276
+ "gnType": "String",
277
+ "conditions": {
278
+ "minLength": 2,
279
+ "maxLength": 32
280
+ }
281
+ }
282
+ ]
283
+ }
284
+ ],
285
+ "responseData": [
286
+ {
287
+ "code": "ErrorCode",
288
+ "value": [
289
+ "GameNotFound",
290
+ "Ok"
291
+ ]
292
+ }
293
+ ],
294
+ "description": ""
295
+ }
296
+ ],
297
+ "models": [
298
+ {
299
+ "name": "ContentDataParam",
300
+ "details": [
301
+ {
302
+ "code": "Key",
303
+ "description": "",
304
+ "optional": false,
305
+ "type": "string",
306
+ "gnType": "String",
307
+ "conditions": {
308
+ "mustNonNull": true,
309
+ "minLength": 2,
310
+ "maxLength": 32
311
+ }
312
+ },
313
+ {
314
+ "code": "Data",
315
+ "description": "",
316
+ "optional": false,
317
+ "type": "GNHashtable",
318
+ "gnType": "GNHashtable",
319
+ "conditions": {}
320
+ }
321
+ ]
322
+ }
323
+ ]
324
+ }