@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
@@ -1,2309 +0,0 @@
1
- {
2
- "requestType": "Inventory",
3
- "operations": [
4
- {
5
- "operationCode": "AddSegment",
6
- "details": [
7
- {
8
- "role": "Client",
9
- "requestData": [
10
- {
11
- "code": "ItemId",
12
- "description": "",
13
- "optional": false,
14
- "type": "string",
15
- "gnType": "String",
16
- "conditions": {
17
- "mustNonNull": true,
18
- "minLength": 12,
19
- "maxLength": 12
20
- }
21
- },
22
- {
23
- "code": "Value",
24
- "description": "",
25
- "optional": false,
26
- "type": "string",
27
- "gnType": "String",
28
- "conditions": {
29
- "mustNonNull": true,
30
- "minLength": 6,
31
- "maxLength": 32
32
- }
33
- }
34
- ]
35
- }
36
- ],
37
- "responseData": [
38
- {
39
- "code": "ErrorCode",
40
- "value": [
41
- "ItemNotFound",
42
- "Ok"
43
- ]
44
- }
45
- ],
46
- "description": ""
47
- },
48
- {
49
- "operationCode": "ChangeItemStatistics",
50
- "details": [
51
- {
52
- "role": "Client",
53
- "requestData": [
54
- {
55
- "code": "ItemId",
56
- "description": "",
57
- "optional": false,
58
- "type": "string",
59
- "gnType": "String",
60
- "conditions": {
61
- "mustNonNull": true,
62
- "minLength": 12,
63
- "maxLength": 12
64
- }
65
- },
66
- {
67
- "code": "ItemStatistics",
68
- "description": "",
69
- "optional": false,
70
- "type": "ItemStatisticsParam",
71
- "gnType": "GNArray",
72
- "conditions": {
73
- "mustNonNull": true,
74
- "minLength": 1,
75
- "maxLength": 32
76
- }
77
- },
78
- {
79
- "code": "Log",
80
- "description": "",
81
- "optional": true,
82
- "type": "string",
83
- "gnType": "String",
84
- "conditions": {
85
- "mustNonNull": true,
86
- "minLength": 1,
87
- "maxLength": 256
88
- }
89
- }
90
- ]
91
- }
92
- ],
93
- "responseData": [
94
- {
95
- "code": "ErrorCode",
96
- "value": [
97
- "ItemNotFound",
98
- "Ok"
99
- ]
100
- },
101
- {
102
- "code": "InfoResponseParameters"
103
- }
104
- ],
105
- "description": ""
106
- },
107
- {
108
- "operationCode": "GetAmount",
109
- "details": [
110
- {
111
- "role": "Client",
112
- "requestData": [
113
- {
114
- "code": "ItemId",
115
- "description": "",
116
- "optional": false,
117
- "type": "string",
118
- "gnType": "String",
119
- "conditions": {
120
- "mustNonNull": true,
121
- "minLength": 12,
122
- "maxLength": 12
123
- }
124
- }
125
- ]
126
- }
127
- ],
128
- "responseData": [
129
- {
130
- "code": "ErrorCode",
131
- "value": [
132
- "ItemNotFound",
133
- "Ok"
134
- ]
135
- },
136
- {
137
- "code": "InfoResponseParameters"
138
- }
139
- ],
140
- "description": ""
141
- },
142
- {
143
- "operationCode": "GetAvatar",
144
- "details": [
145
- {
146
- "role": "Client",
147
- "requestData": [
148
- {
149
- "code": "ItemId",
150
- "description": "",
151
- "optional": false,
152
- "type": "string",
153
- "gnType": "String",
154
- "conditions": {
155
- "mustNonNull": true,
156
- "minLength": 12,
157
- "maxLength": 12
158
- }
159
- }
160
- ]
161
- }
162
- ],
163
- "responseData": [
164
- {
165
- "code": "ErrorCode",
166
- "value": [
167
- "ItemNotFound",
168
- "Ok"
169
- ]
170
- },
171
- {
172
- "code": "InfoResponseParameters"
173
- }
174
- ],
175
- "description": ""
176
- },
177
- {
178
- "operationCode": "GetCatalogId",
179
- "details": [
180
- {
181
- "role": "Client",
182
- "requestData": [
183
- {
184
- "code": "ItemId",
185
- "description": "",
186
- "optional": false,
187
- "type": "string",
188
- "gnType": "String",
189
- "conditions": {
190
- "mustNonNull": true,
191
- "minLength": 12,
192
- "maxLength": 12
193
- }
194
- }
195
- ]
196
- }
197
- ],
198
- "responseData": [
199
- {
200
- "code": "ErrorCode",
201
- "value": [
202
- "ItemNotFound",
203
- "Ok"
204
- ]
205
- },
206
- {
207
- "code": "InfoResponseParameters"
208
- }
209
- ],
210
- "description": ""
211
- },
212
- {
213
- "operationCode": "GetClassId",
214
- "details": [
215
- {
216
- "role": "Client",
217
- "requestData": [
218
- {
219
- "code": "ItemId",
220
- "description": "",
221
- "optional": false,
222
- "type": "string",
223
- "gnType": "String",
224
- "conditions": {
225
- "mustNonNull": true,
226
- "minLength": 12,
227
- "maxLength": 12
228
- }
229
- }
230
- ]
231
- }
232
- ],
233
- "responseData": [
234
- {
235
- "code": "ErrorCode",
236
- "value": [
237
- "ItemNotFound",
238
- "Ok"
239
- ]
240
- },
241
- {
242
- "code": "InfoResponseParameters"
243
- }
244
- ],
245
- "description": ""
246
- },
247
- {
248
- "operationCode": "GetCreateLeaderboard",
249
- "details": [
250
- {
251
- "role": "Client",
252
- "requestData": [
253
- {
254
- "code": "InfoRequestParam",
255
- "description": "",
256
- "optional": false,
257
- "type": "InfoRequestParam",
258
- "gnType": "GNHashtable",
259
- "conditions": {
260
- "mustNonNull": true
261
- }
262
- },
263
- {
264
- "code": "Skip",
265
- "description": "",
266
- "optional": true,
267
- "type": "number",
268
- "gnType": "Number",
269
- "defaultValue": "0",
270
- "conditions": {
271
- "mustInt": true,
272
- "minValue": 0
273
- }
274
- },
275
- {
276
- "code": "Limit",
277
- "description": "",
278
- "optional": true,
279
- "type": "number",
280
- "gnType": "Number",
281
- "defaultValue": "10",
282
- "conditions": {
283
- "mustInt": true,
284
- "minValue": 1,
285
- "maxValue": 100
286
- }
287
- },
288
- {
289
- "code": "LoadFromCache",
290
- "description": "",
291
- "optional": true,
292
- "type": "boolean",
293
- "gnType": "Boolean",
294
- "defaultValue": "true",
295
- "conditions": {}
296
- }
297
- ]
298
- }
299
- ],
300
- "responseData": [
301
- {
302
- "code": "ErrorCode",
303
- "value": [
304
- "Ok"
305
- ]
306
- },
307
- {
308
- "code": "Results"
309
- }
310
- ],
311
- "description": ""
312
- },
313
- {
314
- "operationCode": "GetCustomData",
315
- "details": [
316
- {
317
- "role": "Client",
318
- "requestData": [
319
- {
320
- "code": "ItemId",
321
- "description": "",
322
- "optional": false,
323
- "type": "string",
324
- "gnType": "String",
325
- "conditions": {
326
- "mustNonNull": true,
327
- "minLength": 12,
328
- "maxLength": 12
329
- }
330
- },
331
- {
332
- "code": "CustomDataKeys",
333
- "description": "",
334
- "optional": true,
335
- "type": "string",
336
- "gnType": "GNArray",
337
- "conditions": {}
338
- }
339
- ]
340
- }
341
- ],
342
- "responseData": [
343
- {
344
- "code": "ErrorCode",
345
- "value": [
346
- "ItemNotFound",
347
- "Ok"
348
- ]
349
- },
350
- {
351
- "code": "InfoResponseParameters"
352
- }
353
- ],
354
- "description": ""
355
- },
356
- {
357
- "operationCode": "GetDisplayName",
358
- "details": [
359
- {
360
- "role": "Client",
361
- "requestData": [
362
- {
363
- "code": "ItemId",
364
- "description": "",
365
- "optional": false,
366
- "type": "string",
367
- "gnType": "String",
368
- "conditions": {
369
- "mustNonNull": true,
370
- "minLength": 12,
371
- "maxLength": 12
372
- }
373
- }
374
- ]
375
- }
376
- ],
377
- "responseData": [
378
- {
379
- "code": "ErrorCode",
380
- "value": [
381
- "ItemNotFound",
382
- "Ok"
383
- ]
384
- },
385
- {
386
- "code": "InfoResponseParameters"
387
- }
388
- ],
389
- "description": ""
390
- },
391
- {
392
- "operationCode": "GetItemData",
393
- "details": [
394
- {
395
- "role": "Client",
396
- "requestData": [
397
- {
398
- "code": "ItemId",
399
- "description": "",
400
- "optional": false,
401
- "type": "string",
402
- "gnType": "String",
403
- "conditions": {
404
- "mustNonNull": true,
405
- "minLength": 12,
406
- "maxLength": 12
407
- }
408
- },
409
- {
410
- "code": "ItemDataKeys",
411
- "description": "",
412
- "optional": true,
413
- "type": "string",
414
- "gnType": "GNArray",
415
- "conditions": {}
416
- }
417
- ]
418
- }
419
- ],
420
- "responseData": [
421
- {
422
- "code": "ErrorCode",
423
- "value": [
424
- "ItemNotFound",
425
- "Ok"
426
- ]
427
- },
428
- {
429
- "code": "InfoResponseParameters"
430
- }
431
- ],
432
- "description": ""
433
- },
434
- {
435
- "operationCode": "GetItemInformation",
436
- "details": [
437
- {
438
- "role": "Client",
439
- "requestData": [
440
- {
441
- "code": "ItemId",
442
- "description": "",
443
- "optional": false,
444
- "type": "string",
445
- "gnType": "String",
446
- "conditions": {
447
- "mustNonNull": true,
448
- "minLength": 12,
449
- "maxLength": 12
450
- }
451
- },
452
- {
453
- "code": "InfoRequestParam",
454
- "description": "",
455
- "optional": false,
456
- "type": "InfoRequestParam",
457
- "gnType": "GNHashtable",
458
- "conditions": {
459
- "mustNonNull": true
460
- }
461
- }
462
- ]
463
- }
464
- ],
465
- "responseData": [
466
- {
467
- "code": "ErrorCode",
468
- "value": [
469
- "ItemNotFound",
470
- "Ok"
471
- ]
472
- },
473
- {
474
- "code": "InfoResponseParameters"
475
- }
476
- ],
477
- "description": ""
478
- },
479
- {
480
- "operationCode": "GetItemStatistics",
481
- "details": [
482
- {
483
- "role": "Client",
484
- "requestData": [
485
- {
486
- "code": "ItemId",
487
- "description": "",
488
- "optional": false,
489
- "type": "string",
490
- "gnType": "String",
491
- "conditions": {
492
- "mustNonNull": true,
493
- "minLength": 12,
494
- "maxLength": 12
495
- }
496
- },
497
- {
498
- "code": "StatisticsKeys",
499
- "description": "",
500
- "optional": true,
501
- "type": "string",
502
- "gnType": "GNArray",
503
- "conditions": {}
504
- }
505
- ]
506
- }
507
- ],
508
- "responseData": [
509
- {
510
- "code": "ErrorCode",
511
- "value": [
512
- "ItemNotFound",
513
- "Ok"
514
- ]
515
- },
516
- {
517
- "code": "InfoResponseParameters"
518
- }
519
- ],
520
- "description": ""
521
- },
522
- {
523
- "operationCode": "GetItemsWithDisplayName",
524
- "details": [
525
- {
526
- "role": "Client",
527
- "requestData": [
528
- {
529
- "code": "Keyword",
530
- "description": "",
531
- "optional": false,
532
- "type": "string",
533
- "gnType": "String",
534
- "conditions": {
535
- "minLength": 2,
536
- "maxLength": 32
537
- }
538
- },
539
- {
540
- "code": "InfoRequestParam",
541
- "description": "",
542
- "optional": false,
543
- "type": "InfoRequestParam",
544
- "gnType": "GNHashtable",
545
- "conditions": {
546
- "mustNonNull": true
547
- }
548
- },
549
- {
550
- "code": "Skip",
551
- "description": "",
552
- "optional": true,
553
- "type": "number",
554
- "gnType": "Number",
555
- "defaultValue": "0",
556
- "conditions": {
557
- "mustInt": true,
558
- "minValue": 0
559
- }
560
- },
561
- {
562
- "code": "Limit",
563
- "description": "",
564
- "optional": true,
565
- "type": "number",
566
- "gnType": "Number",
567
- "defaultValue": "10",
568
- "conditions": {
569
- "mustInt": true,
570
- "minValue": 1,
571
- "maxValue": 100
572
- }
573
- }
574
- ]
575
- }
576
- ],
577
- "responseData": [
578
- {
579
- "code": "ErrorCode",
580
- "value": [
581
- "Ok"
582
- ]
583
- },
584
- {
585
- "code": "Results"
586
- }
587
- ],
588
- "description": ""
589
- },
590
- {
591
- "operationCode": "GetItemsWithSegment",
592
- "details": [
593
- {
594
- "role": "Client",
595
- "requestData": [
596
- {
597
- "code": "Value",
598
- "description": "",
599
- "optional": false,
600
- "type": "string",
601
- "gnType": "String",
602
- "conditions": {
603
- "mustNonNull": true,
604
- "minLength": 2,
605
- "maxLength": 32
606
- }
607
- },
608
- {
609
- "code": "InfoRequestParam",
610
- "description": "",
611
- "optional": false,
612
- "type": "InfoRequestParam",
613
- "gnType": "GNHashtable",
614
- "conditions": {
615
- "mustNonNull": true
616
- }
617
- },
618
- {
619
- "code": "Skip",
620
- "description": "",
621
- "optional": true,
622
- "type": "number",
623
- "gnType": "Number",
624
- "defaultValue": "0",
625
- "conditions": {
626
- "mustInt": true,
627
- "minValue": 0
628
- }
629
- },
630
- {
631
- "code": "Limit",
632
- "description": "",
633
- "optional": true,
634
- "type": "number",
635
- "gnType": "Number",
636
- "defaultValue": "10",
637
- "conditions": {
638
- "mustInt": true,
639
- "minValue": 1,
640
- "maxValue": 100
641
- }
642
- }
643
- ]
644
- }
645
- ],
646
- "responseData": [
647
- {
648
- "code": "ErrorCode",
649
- "value": [
650
- "Ok"
651
- ]
652
- },
653
- {
654
- "code": "Results"
655
- }
656
- ],
657
- "description": ""
658
- },
659
- {
660
- "operationCode": "GetItemsWithTag",
661
- "details": [
662
- {
663
- "role": "Client",
664
- "requestData": [
665
- {
666
- "code": "Key",
667
- "description": "",
668
- "optional": false,
669
- "type": "string",
670
- "gnType": "String",
671
- "conditions": {
672
- "mustNonNull": true,
673
- "minLength": 2,
674
- "maxLength": 32
675
- }
676
- },
677
- {
678
- "code": "Value",
679
- "description": "",
680
- "optional": false,
681
- "type": "string",
682
- "gnType": "String",
683
- "conditions": {
684
- "mustNonNull": true,
685
- "minLength": 2,
686
- "maxLength": 32
687
- }
688
- },
689
- {
690
- "code": "InfoRequestParam",
691
- "description": "",
692
- "optional": false,
693
- "type": "InfoRequestParam",
694
- "gnType": "GNHashtable",
695
- "conditions": {
696
- "mustNonNull": true
697
- }
698
- },
699
- {
700
- "code": "Skip",
701
- "description": "",
702
- "optional": true,
703
- "type": "number",
704
- "gnType": "Number",
705
- "defaultValue": "0",
706
- "conditions": {
707
- "mustInt": true,
708
- "minValue": 0
709
- }
710
- },
711
- {
712
- "code": "Limit",
713
- "description": "",
714
- "optional": true,
715
- "type": "number",
716
- "gnType": "Number",
717
- "defaultValue": "10",
718
- "conditions": {
719
- "mustInt": true,
720
- "minValue": 1,
721
- "maxValue": 100
722
- }
723
- }
724
- ]
725
- }
726
- ],
727
- "responseData": [
728
- {
729
- "code": "ErrorCode",
730
- "value": [
731
- "KeyNotFound",
732
- "Ok"
733
- ]
734
- },
735
- {
736
- "code": "Results"
737
- }
738
- ],
739
- "description": ""
740
- },
741
- {
742
- "operationCode": "GetItemType",
743
- "details": [
744
- {
745
- "role": "Client",
746
- "requestData": [
747
- {
748
- "code": "ItemId",
749
- "description": "",
750
- "optional": false,
751
- "type": "string",
752
- "gnType": "String",
753
- "conditions": {
754
- "mustNonNull": true,
755
- "minLength": 12,
756
- "maxLength": 12
757
- }
758
- }
759
- ]
760
- }
761
- ],
762
- "responseData": [
763
- {
764
- "code": "ErrorCode",
765
- "value": [
766
- "ItemNotFound",
767
- "Ok"
768
- ]
769
- },
770
- {
771
- "code": "InfoResponseParameters"
772
- }
773
- ],
774
- "description": ""
775
- },
776
- {
777
- "operationCode": "GetOwner",
778
- "details": [
779
- {
780
- "role": "Client",
781
- "requestData": [
782
- {
783
- "code": "ItemId",
784
- "description": "",
785
- "optional": false,
786
- "type": "string",
787
- "gnType": "String",
788
- "conditions": {
789
- "mustNonNull": true,
790
- "minLength": 12,
791
- "maxLength": 12
792
- }
793
- }
794
- ]
795
- }
796
- ],
797
- "responseData": [
798
- {
799
- "code": "ErrorCode",
800
- "value": [
801
- "ItemNotFound",
802
- "Ok"
803
- ]
804
- },
805
- {
806
- "code": "InfoResponseParameters"
807
- }
808
- ],
809
- "description": ""
810
- },
811
- {
812
- "operationCode": "GetRemoveStatus",
813
- "details": [
814
- {
815
- "role": "Client",
816
- "requestData": [
817
- {
818
- "code": "ItemId",
819
- "description": "",
820
- "optional": false,
821
- "type": "string",
822
- "gnType": "String",
823
- "conditions": {
824
- "mustNonNull": true,
825
- "minLength": 12,
826
- "maxLength": 12
827
- }
828
- }
829
- ]
830
- }
831
- ],
832
- "responseData": [
833
- {
834
- "code": "ErrorCode",
835
- "value": [
836
- "ItemNotFound",
837
- "Ok"
838
- ]
839
- },
840
- {
841
- "code": "InfoResponseParameters"
842
- }
843
- ],
844
- "description": ""
845
- },
846
- {
847
- "operationCode": "GetSegment",
848
- "details": [
849
- {
850
- "role": "Client",
851
- "requestData": [
852
- {
853
- "code": "ItemId",
854
- "description": "",
855
- "optional": false,
856
- "type": "string",
857
- "gnType": "String",
858
- "conditions": {
859
- "mustNonNull": true,
860
- "minLength": 12,
861
- "maxLength": 12
862
- }
863
- }
864
- ]
865
- }
866
- ],
867
- "responseData": [
868
- {
869
- "code": "ErrorCode",
870
- "value": [
871
- "ItemNotFound",
872
- "Ok"
873
- ]
874
- },
875
- {
876
- "code": "InfoResponseParameters"
877
- }
878
- ],
879
- "description": ""
880
- },
881
- {
882
- "operationCode": "GetStatisticsLeaderboardAroundItem",
883
- "details": [
884
- {
885
- "role": "Client",
886
- "requestData": [
887
- {
888
- "code": "ItemId",
889
- "description": "",
890
- "optional": false,
891
- "type": "string",
892
- "gnType": "String",
893
- "conditions": {
894
- "mustNonNull": true,
895
- "minLength": 12,
896
- "maxLength": 12
897
- }
898
- },
899
- {
900
- "code": "Key",
901
- "description": "",
902
- "optional": false,
903
- "type": "string",
904
- "gnType": "String",
905
- "conditions": {
906
- "mustNonNull": true,
907
- "minLength": 2,
908
- "maxLength": 32
909
- }
910
- },
911
- {
912
- "code": "InfoRequestParam",
913
- "description": "",
914
- "optional": false,
915
- "type": "InfoRequestParam",
916
- "gnType": "GNHashtable",
917
- "conditions": {
918
- "mustNonNull": true
919
- }
920
- },
921
- {
922
- "code": "Skip",
923
- "description": "",
924
- "optional": true,
925
- "type": "number",
926
- "gnType": "Number",
927
- "defaultValue": "0",
928
- "conditions": {
929
- "mustInt": true,
930
- "minValue": 0
931
- }
932
- },
933
- {
934
- "code": "Limit",
935
- "description": "",
936
- "optional": true,
937
- "type": "number",
938
- "gnType": "Number",
939
- "defaultValue": "10",
940
- "conditions": {
941
- "mustInt": true,
942
- "minValue": 1,
943
- "maxValue": 100
944
- }
945
- },
946
- {
947
- "code": "LoadFromCache",
948
- "description": "",
949
- "optional": true,
950
- "type": "boolean",
951
- "gnType": "Boolean",
952
- "defaultValue": "true",
953
- "conditions": {}
954
- },
955
- {
956
- "code": "CatalogId",
957
- "description": "",
958
- "optional": true,
959
- "type": "string",
960
- "gnType": "String",
961
- "conditions": {
962
- "mustNonNull": true,
963
- "minLength": 2,
964
- "maxLength": 32
965
- }
966
- }
967
- ]
968
- }
969
- ],
970
- "responseData": [
971
- {
972
- "code": "ErrorCode",
973
- "value": [
974
- "KeyNotFound",
975
- "Ok"
976
- ]
977
- },
978
- {
979
- "code": "Results"
980
- }
981
- ],
982
- "description": ""
983
- },
984
- {
985
- "operationCode": "GetStatisticsLeaderboard",
986
- "details": [
987
- {
988
- "role": "Client",
989
- "requestData": [
990
- {
991
- "code": "Key",
992
- "description": "",
993
- "optional": false,
994
- "type": "string",
995
- "gnType": "String",
996
- "conditions": {
997
- "mustNonNull": true,
998
- "minLength": 2,
999
- "maxLength": 32
1000
- }
1001
- },
1002
- {
1003
- "code": "InfoRequestParam",
1004
- "description": "",
1005
- "optional": false,
1006
- "type": "InfoRequestParam",
1007
- "gnType": "GNHashtable",
1008
- "conditions": {
1009
- "mustNonNull": true
1010
- }
1011
- },
1012
- {
1013
- "code": "Skip",
1014
- "description": "",
1015
- "optional": true,
1016
- "type": "number",
1017
- "gnType": "Number",
1018
- "defaultValue": "0",
1019
- "conditions": {
1020
- "mustInt": true,
1021
- "minValue": 0
1022
- }
1023
- },
1024
- {
1025
- "code": "Limit",
1026
- "description": "",
1027
- "optional": true,
1028
- "type": "number",
1029
- "gnType": "Number",
1030
- "defaultValue": "10",
1031
- "conditions": {
1032
- "mustInt": true,
1033
- "minValue": 1,
1034
- "maxValue": 100
1035
- }
1036
- },
1037
- {
1038
- "code": "LoadFromCache",
1039
- "description": "",
1040
- "optional": true,
1041
- "type": "boolean",
1042
- "gnType": "Boolean",
1043
- "defaultValue": "true",
1044
- "conditions": {}
1045
- },
1046
- {
1047
- "code": "Version",
1048
- "description": "",
1049
- "optional": true,
1050
- "type": "string",
1051
- "gnType": "String",
1052
- "conditions": {
1053
- "mustNonNull": true,
1054
- "minLength": 2,
1055
- "maxLength": 32
1056
- }
1057
- },
1058
- {
1059
- "code": "CatalogId",
1060
- "description": "",
1061
- "optional": true,
1062
- "type": "string",
1063
- "gnType": "String",
1064
- "conditions": {
1065
- "mustNonNull": true,
1066
- "minLength": 2,
1067
- "maxLength": 32
1068
- }
1069
- }
1070
- ]
1071
- }
1072
- ],
1073
- "responseData": [
1074
- {
1075
- "code": "ErrorCode",
1076
- "value": [
1077
- "KeyNotFound",
1078
- "VersionInvalid",
1079
- "Ok"
1080
- ]
1081
- },
1082
- {
1083
- "code": "Results"
1084
- },
1085
- {
1086
- "code": "TsCreate"
1087
- }
1088
- ],
1089
- "description": ""
1090
- },
1091
- {
1092
- "operationCode": "GetStatisticsLog",
1093
- "details": [
1094
- {
1095
- "role": "Client",
1096
- "requestData": [
1097
- {
1098
- "code": "Keys",
1099
- "description": "",
1100
- "optional": true,
1101
- "type": "string",
1102
- "gnType": "GNArray",
1103
- "conditions": {
1104
- "mustNonNull": true,
1105
- "minLength": 1,
1106
- "maxLength": 32
1107
- }
1108
- },
1109
- {
1110
- "code": "ItemId",
1111
- "description": "",
1112
- "optional": true,
1113
- "type": "string",
1114
- "gnType": "String",
1115
- "conditions": {
1116
- "mustNonNull": true,
1117
- "minLength": 12,
1118
- "maxLength": 12
1119
- }
1120
- },
1121
- {
1122
- "code": "Limit",
1123
- "description": "",
1124
- "optional": true,
1125
- "type": "number",
1126
- "gnType": "Number",
1127
- "defaultValue": "10",
1128
- "conditions": {
1129
- "mustInt": true,
1130
- "minValue": 1,
1131
- "maxValue": 100
1132
- }
1133
- },
1134
- {
1135
- "code": "Token",
1136
- "description": "",
1137
- "optional": true,
1138
- "type": "string",
1139
- "gnType": "String",
1140
- "conditions": {
1141
- "mustNonNull": true,
1142
- "minLength": 24,
1143
- "maxLength": 24
1144
- }
1145
- }
1146
- ]
1147
- }
1148
- ],
1149
- "responseData": [
1150
- {
1151
- "code": "ErrorCode",
1152
- "value": [
1153
- "Ok"
1154
- ]
1155
- },
1156
- {
1157
- "code": "Results"
1158
- },
1159
- {
1160
- "code": "Token"
1161
- }
1162
- ],
1163
- "description": ""
1164
- },
1165
- {
1166
- "operationCode": "GetTag",
1167
- "details": [
1168
- {
1169
- "role": "Client",
1170
- "requestData": [
1171
- {
1172
- "code": "ItemId",
1173
- "description": "",
1174
- "optional": false,
1175
- "type": "string",
1176
- "gnType": "String",
1177
- "conditions": {
1178
- "mustNonNull": true,
1179
- "minLength": 12,
1180
- "maxLength": 12
1181
- }
1182
- },
1183
- {
1184
- "code": "TagKeys",
1185
- "description": "",
1186
- "optional": false,
1187
- "type": "string",
1188
- "gnType": "GNArray",
1189
- "conditions": {}
1190
- }
1191
- ]
1192
- }
1193
- ],
1194
- "responseData": [
1195
- {
1196
- "code": "ErrorCode",
1197
- "value": [
1198
- "ItemNotFound",
1199
- "Ok"
1200
- ]
1201
- },
1202
- {
1203
- "code": "InfoResponseParameters"
1204
- }
1205
- ],
1206
- "description": ""
1207
- },
1208
- {
1209
- "operationCode": "GetTsCreate",
1210
- "details": [
1211
- {
1212
- "role": "Client",
1213
- "requestData": [
1214
- {
1215
- "code": "ItemId",
1216
- "description": "",
1217
- "optional": false,
1218
- "type": "string",
1219
- "gnType": "String",
1220
- "conditions": {
1221
- "mustNonNull": true,
1222
- "minLength": 12,
1223
- "maxLength": 12
1224
- }
1225
- }
1226
- ]
1227
- }
1228
- ],
1229
- "responseData": [
1230
- {
1231
- "code": "ErrorCode",
1232
- "value": [
1233
- "ItemNotFound",
1234
- "Ok"
1235
- ]
1236
- },
1237
- {
1238
- "code": "InfoResponseParameters"
1239
- }
1240
- ],
1241
- "description": ""
1242
- },
1243
- {
1244
- "operationCode": "RemoveSegment",
1245
- "details": [
1246
- {
1247
- "role": "Client",
1248
- "requestData": [
1249
- {
1250
- "code": "ItemId",
1251
- "description": "",
1252
- "optional": false,
1253
- "type": "string",
1254
- "gnType": "String",
1255
- "conditions": {
1256
- "mustNonNull": true,
1257
- "minLength": 12,
1258
- "maxLength": 12
1259
- }
1260
- },
1261
- {
1262
- "code": "Value",
1263
- "description": "",
1264
- "optional": false,
1265
- "type": "string",
1266
- "gnType": "String",
1267
- "conditions": {
1268
- "mustNonNull": true,
1269
- "minLength": 2,
1270
- "maxLength": 32
1271
- }
1272
- }
1273
- ]
1274
- }
1275
- ],
1276
- "responseData": [
1277
- {
1278
- "code": "ErrorCode",
1279
- "value": [
1280
- "ItemNotFound",
1281
- "Ok"
1282
- ]
1283
- }
1284
- ],
1285
- "description": ""
1286
- },
1287
- {
1288
- "operationCode": "RemoveTag",
1289
- "details": [
1290
- {
1291
- "role": "Client",
1292
- "requestData": [
1293
- {
1294
- "code": "ItemId",
1295
- "description": "",
1296
- "optional": false,
1297
- "type": "string",
1298
- "gnType": "String",
1299
- "conditions": {
1300
- "mustNonNull": true,
1301
- "minLength": 12,
1302
- "maxLength": 12
1303
- }
1304
- },
1305
- {
1306
- "code": "Key",
1307
- "description": "",
1308
- "optional": false,
1309
- "type": "string",
1310
- "gnType": "String",
1311
- "conditions": {
1312
- "mustNonNull": true,
1313
- "minLength": 2,
1314
- "maxLength": 32
1315
- }
1316
- }
1317
- ]
1318
- }
1319
- ],
1320
- "responseData": [
1321
- {
1322
- "code": "ErrorCode",
1323
- "value": [
1324
- "ItemNotFound",
1325
- "Ok"
1326
- ]
1327
- }
1328
- ],
1329
- "description": ""
1330
- },
1331
- {
1332
- "operationCode": "SetAmount",
1333
- "details": [
1334
- {
1335
- "role": "Client",
1336
- "requestData": [
1337
- {
1338
- "code": "ItemId",
1339
- "description": "",
1340
- "optional": false,
1341
- "type": "string",
1342
- "gnType": "String",
1343
- "conditions": {
1344
- "mustNonNull": true,
1345
- "minLength": 12,
1346
- "maxLength": 12
1347
- }
1348
- },
1349
- {
1350
- "code": "Amount",
1351
- "description": "",
1352
- "optional": false,
1353
- "type": "number",
1354
- "gnType": "Number",
1355
- "conditions": {
1356
- "mustInt": true
1357
- }
1358
- }
1359
- ]
1360
- }
1361
- ],
1362
- "responseData": [
1363
- {
1364
- "code": "ErrorCode",
1365
- "value": [
1366
- "ItemNotFound",
1367
- "ItemNotStackable",
1368
- "Ok"
1369
- ]
1370
- },
1371
- {
1372
- "code": "InfoResponseParameters"
1373
- }
1374
- ],
1375
- "description": ""
1376
- },
1377
- {
1378
- "operationCode": "SetAvatar",
1379
- "details": [
1380
- {
1381
- "role": "Client",
1382
- "requestData": [
1383
- {
1384
- "code": "ItemId",
1385
- "description": "",
1386
- "optional": false,
1387
- "type": "string",
1388
- "gnType": "String",
1389
- "conditions": {
1390
- "mustNonNull": true,
1391
- "minLength": 12,
1392
- "maxLength": 12
1393
- }
1394
- },
1395
- {
1396
- "code": "Type",
1397
- "description": "",
1398
- "optional": false,
1399
- "type": "number",
1400
- "gnType": "Number",
1401
- "conditions": {
1402
- "mustInt": true
1403
- }
1404
- },
1405
- {
1406
- "code": "Value",
1407
- "description": "",
1408
- "optional": false,
1409
- "type": "string",
1410
- "gnType": "String",
1411
- "conditions": {
1412
- "mustNonNull": true,
1413
- "minLength": 1,
1414
- "maxLength": 128
1415
- }
1416
- }
1417
- ]
1418
- }
1419
- ],
1420
- "responseData": [
1421
- {
1422
- "code": "ErrorCode",
1423
- "value": [
1424
- "ItemNotFound",
1425
- "Ok"
1426
- ]
1427
- }
1428
- ],
1429
- "description": ""
1430
- },
1431
- {
1432
- "operationCode": "SetCustomData",
1433
- "details": [
1434
- {
1435
- "role": "Client",
1436
- "requestData": [
1437
- {
1438
- "code": "ItemId",
1439
- "description": "",
1440
- "optional": false,
1441
- "type": "string",
1442
- "gnType": "String",
1443
- "conditions": {
1444
- "mustNonNull": true,
1445
- "minLength": 12,
1446
- "maxLength": 12
1447
- }
1448
- },
1449
- {
1450
- "code": "CustomDatas",
1451
- "description": "",
1452
- "optional": false,
1453
- "type": "CustomDataParam",
1454
- "gnType": "GNArray",
1455
- "conditions": {
1456
- "mustNonNull": true,
1457
- "minLength": 1,
1458
- "maxLength": 32
1459
- }
1460
- }
1461
- ]
1462
- }
1463
- ],
1464
- "responseData": [
1465
- {
1466
- "code": "ErrorCode",
1467
- "value": [
1468
- "ItemNotFound",
1469
- "Ok"
1470
- ]
1471
- },
1472
- {
1473
- "code": "InfoResponseParameters"
1474
- }
1475
- ],
1476
- "description": ""
1477
- },
1478
- {
1479
- "operationCode": "SetDisplayName",
1480
- "details": [
1481
- {
1482
- "role": "Client",
1483
- "requestData": [
1484
- {
1485
- "code": "ItemId",
1486
- "description": "",
1487
- "optional": false,
1488
- "type": "string",
1489
- "gnType": "String",
1490
- "conditions": {
1491
- "mustNonNull": true,
1492
- "minLength": 12,
1493
- "maxLength": 12
1494
- }
1495
- },
1496
- {
1497
- "code": "DisplayName",
1498
- "description": "",
1499
- "optional": false,
1500
- "type": "string",
1501
- "gnType": "String",
1502
- "conditions": {
1503
- "mustNonNull": true,
1504
- "minLength": 5,
1505
- "maxLength": 32
1506
- }
1507
- }
1508
- ]
1509
- }
1510
- ],
1511
- "responseData": [
1512
- {
1513
- "code": "ErrorCode",
1514
- "value": [
1515
- "ItemNotFound",
1516
- "Ok"
1517
- ]
1518
- }
1519
- ],
1520
- "description": ""
1521
- },
1522
- {
1523
- "operationCode": "SetItemData",
1524
- "details": [
1525
- {
1526
- "role": "Client",
1527
- "requestData": [
1528
- {
1529
- "code": "ItemId",
1530
- "description": "",
1531
- "optional": false,
1532
- "type": "string",
1533
- "gnType": "String",
1534
- "conditions": {
1535
- "mustNonNull": true,
1536
- "minLength": 12,
1537
- "maxLength": 12
1538
- }
1539
- },
1540
- {
1541
- "code": "ItemDatas",
1542
- "description": "",
1543
- "optional": false,
1544
- "type": "ItemDataParam",
1545
- "gnType": "GNArray",
1546
- "conditions": {
1547
- "mustNonNull": true,
1548
- "minLength": 1,
1549
- "maxLength": 32
1550
- }
1551
- }
1552
- ]
1553
- }
1554
- ],
1555
- "responseData": [
1556
- {
1557
- "code": "ErrorCode",
1558
- "value": [
1559
- "ItemNotFound",
1560
- "Ok"
1561
- ]
1562
- },
1563
- {
1564
- "code": "InfoResponseParameters"
1565
- }
1566
- ],
1567
- "description": ""
1568
- },
1569
- {
1570
- "operationCode": "SetOwner",
1571
- "details": [
1572
- {
1573
- "role": "Client",
1574
- "requestData": [
1575
- {
1576
- "code": "ItemId",
1577
- "description": "",
1578
- "optional": false,
1579
- "type": "string",
1580
- "gnType": "String",
1581
- "conditions": {
1582
- "mustNonNull": true,
1583
- "minLength": 11,
1584
- "maxLength": 11
1585
- }
1586
- },
1587
- {
1588
- "code": "NewOwnerId",
1589
- "description": "",
1590
- "optional": false,
1591
- "type": "string",
1592
- "gnType": "String",
1593
- "conditions": {
1594
- "mustNonNull": true,
1595
- "minLength": 10,
1596
- "maxLength": 12
1597
- }
1598
- },
1599
- {
1600
- "code": "NewOwnerType",
1601
- "description": "",
1602
- "optional": false,
1603
- "type": "number",
1604
- "gnType": "Number",
1605
- "conditions": {
1606
- "mustInt": true
1607
- }
1608
- }
1609
- ]
1610
- }
1611
- ],
1612
- "responseData": [
1613
- {
1614
- "code": "ErrorCode",
1615
- "value": [
1616
- "ItemNotFound",
1617
- "OwnerNotFound",
1618
- "OwnerTypeNotSupport",
1619
- "Ok"
1620
- ]
1621
- }
1622
- ],
1623
- "description": ""
1624
- },
1625
- {
1626
- "operationCode": "SetRemoveStatus",
1627
- "details": [
1628
- {
1629
- "role": "Client",
1630
- "requestData": [
1631
- {
1632
- "code": "ItemId",
1633
- "description": "",
1634
- "optional": false,
1635
- "type": "string",
1636
- "gnType": "String",
1637
- "conditions": {
1638
- "mustNonNull": true,
1639
- "minLength": 12,
1640
- "maxLength": 12
1641
- }
1642
- },
1643
- {
1644
- "code": "Reason",
1645
- "description": "",
1646
- "optional": true,
1647
- "type": "string",
1648
- "gnType": "String",
1649
- "defaultValue": "\"\"",
1650
- "conditions": {}
1651
- }
1652
- ]
1653
- }
1654
- ],
1655
- "responseData": [
1656
- {
1657
- "code": "ErrorCode",
1658
- "value": [
1659
- "ItemNotFound",
1660
- "Ok"
1661
- ]
1662
- }
1663
- ],
1664
- "description": ""
1665
- },
1666
- {
1667
- "operationCode": "SetTag",
1668
- "details": [
1669
- {
1670
- "role": "Client",
1671
- "requestData": [
1672
- {
1673
- "code": "ItemId",
1674
- "description": "",
1675
- "optional": false,
1676
- "type": "string",
1677
- "gnType": "String",
1678
- "conditions": {
1679
- "mustNonNull": true,
1680
- "minLength": 12,
1681
- "maxLength": 12
1682
- }
1683
- },
1684
- {
1685
- "code": "Key",
1686
- "description": "",
1687
- "optional": false,
1688
- "type": "string",
1689
- "gnType": "String",
1690
- "conditions": {
1691
- "mustNonNull": true,
1692
- "minLength": 2,
1693
- "maxLength": 32
1694
- }
1695
- },
1696
- {
1697
- "code": "Value",
1698
- "description": "",
1699
- "optional": false,
1700
- "type": "string",
1701
- "gnType": "String",
1702
- "conditions": {
1703
- "mustNonNull": true,
1704
- "minLength": 2,
1705
- "maxLength": 32
1706
- }
1707
- }
1708
- ]
1709
- }
1710
- ],
1711
- "responseData": [
1712
- {
1713
- "code": "ErrorCode",
1714
- "value": [
1715
- "KeyNotFound",
1716
- "ItemNotFound",
1717
- "Ok"
1718
- ]
1719
- }
1720
- ],
1721
- "description": ""
1722
- }
1723
- ],
1724
- "models": [
1725
- {
1726
- "name": "CustomDataParam",
1727
- "details": [
1728
- {
1729
- "code": "Key",
1730
- "description": "",
1731
- "optional": false,
1732
- "type": "string",
1733
- "gnType": "String",
1734
- "conditions": {
1735
- "mustNonNull": true,
1736
- "minLength": 2,
1737
- "maxLength": 32
1738
- }
1739
- },
1740
- {
1741
- "code": "Value",
1742
- "description": "",
1743
- "optional": false,
1744
- "type": "any",
1745
- "gnType": "DataMember",
1746
- "conditions": {}
1747
- }
1748
- ],
1749
- "description": ""
1750
- },
1751
- {
1752
- "name": "InfoRequestParam",
1753
- "details": [
1754
- {
1755
- "code": "CatalogId",
1756
- "description": "",
1757
- "optional": true,
1758
- "type": "boolean",
1759
- "gnType": "Boolean",
1760
- "defaultValue": "false",
1761
- "conditions": {}
1762
- },
1763
- {
1764
- "code": "ClassId",
1765
- "description": "",
1766
- "optional": true,
1767
- "type": "boolean",
1768
- "gnType": "Boolean",
1769
- "defaultValue": "false",
1770
- "conditions": {}
1771
- },
1772
- {
1773
- "code": "ItemType",
1774
- "description": "",
1775
- "optional": true,
1776
- "type": "boolean",
1777
- "gnType": "Boolean",
1778
- "defaultValue": "false",
1779
- "conditions": {}
1780
- },
1781
- {
1782
- "code": "Amount",
1783
- "description": "",
1784
- "optional": true,
1785
- "type": "boolean",
1786
- "gnType": "Boolean",
1787
- "defaultValue": "false",
1788
- "conditions": {}
1789
- },
1790
- {
1791
- "code": "Owner",
1792
- "description": "",
1793
- "optional": true,
1794
- "type": "boolean",
1795
- "gnType": "Boolean",
1796
- "defaultValue": "false",
1797
- "conditions": {}
1798
- },
1799
- {
1800
- "code": "RemoveStatus",
1801
- "description": "",
1802
- "optional": true,
1803
- "type": "boolean",
1804
- "gnType": "Boolean",
1805
- "defaultValue": "false",
1806
- "conditions": {}
1807
- },
1808
- {
1809
- "code": "Segments",
1810
- "description": "",
1811
- "optional": true,
1812
- "type": "boolean",
1813
- "gnType": "Boolean",
1814
- "defaultValue": "false",
1815
- "conditions": {}
1816
- },
1817
- {
1818
- "code": "CustomDatas",
1819
- "description": "",
1820
- "optional": true,
1821
- "type": "boolean",
1822
- "gnType": "Boolean",
1823
- "defaultValue": "false",
1824
- "conditions": {}
1825
- },
1826
- {
1827
- "code": "DisplayName",
1828
- "description": "",
1829
- "optional": true,
1830
- "type": "boolean",
1831
- "gnType": "Boolean",
1832
- "defaultValue": "false",
1833
- "conditions": {}
1834
- },
1835
- {
1836
- "code": "Avatar",
1837
- "description": "",
1838
- "optional": true,
1839
- "type": "boolean",
1840
- "gnType": "Boolean",
1841
- "defaultValue": "false",
1842
- "conditions": {}
1843
- },
1844
- {
1845
- "code": "TsCreate",
1846
- "description": "",
1847
- "optional": true,
1848
- "type": "boolean",
1849
- "gnType": "Boolean",
1850
- "defaultValue": "false",
1851
- "conditions": {}
1852
- },
1853
- {
1854
- "code": "Tags",
1855
- "description": "",
1856
- "optional": true,
1857
- "type": "boolean",
1858
- "gnType": "Boolean",
1859
- "defaultValue": "false",
1860
- "conditions": {}
1861
- },
1862
- {
1863
- "code": "ItemStatistics",
1864
- "description": "",
1865
- "optional": true,
1866
- "type": "boolean",
1867
- "gnType": "Boolean",
1868
- "defaultValue": "false",
1869
- "conditions": {}
1870
- },
1871
- {
1872
- "code": "ItemDatas",
1873
- "description": "",
1874
- "optional": true,
1875
- "type": "boolean",
1876
- "gnType": "Boolean",
1877
- "defaultValue": "false",
1878
- "conditions": {}
1879
- },
1880
- {
1881
- "code": "ItemDataKeys",
1882
- "description": "",
1883
- "optional": true,
1884
- "type": "string",
1885
- "gnType": "GNArray",
1886
- "conditions": {}
1887
- },
1888
- {
1889
- "code": "ItemStatisticsKeys",
1890
- "description": "",
1891
- "optional": true,
1892
- "type": "string",
1893
- "gnType": "GNArray",
1894
- "conditions": {}
1895
- },
1896
- {
1897
- "code": "CustomDataKeys",
1898
- "description": "",
1899
- "optional": true,
1900
- "type": "string",
1901
- "gnType": "GNArray",
1902
- "conditions": {}
1903
- },
1904
- {
1905
- "code": "TagKeys",
1906
- "description": "",
1907
- "optional": true,
1908
- "type": "string",
1909
- "gnType": "GNArray",
1910
- "conditions": {}
1911
- }
1912
- ],
1913
- "description": ""
1914
- },
1915
- {
1916
- "name": "ItemDataParam",
1917
- "details": [
1918
- {
1919
- "code": "Key",
1920
- "description": "",
1921
- "optional": false,
1922
- "type": "string",
1923
- "gnType": "String",
1924
- "conditions": {
1925
- "mustNonNull": true,
1926
- "minLength": 2,
1927
- "maxLength": 32
1928
- }
1929
- },
1930
- {
1931
- "code": "Value",
1932
- "description": "",
1933
- "optional": false,
1934
- "type": "any",
1935
- "gnType": "DataMember",
1936
- "conditions": {}
1937
- }
1938
- ],
1939
- "description": ""
1940
- },
1941
- {
1942
- "name": "ItemStatisticsParam",
1943
- "details": [
1944
- {
1945
- "code": "Key",
1946
- "description": "",
1947
- "optional": false,
1948
- "type": "string",
1949
- "gnType": "String",
1950
- "conditions": {
1951
- "mustNonNull": true,
1952
- "minLength": 2,
1953
- "maxLength": 32
1954
- }
1955
- },
1956
- {
1957
- "code": "Value",
1958
- "description": "",
1959
- "optional": false,
1960
- "type": "number",
1961
- "gnType": "Number",
1962
- "conditions": {}
1963
- }
1964
- ],
1965
- "description": ""
1966
- },
1967
- {
1968
- "name": "InfoResponseParameters",
1969
- "details": [
1970
- {
1971
- "code": "CatalogId",
1972
- "description": "",
1973
- "optional": true,
1974
- "type": "string",
1975
- "gnType": "String",
1976
- "conditions": {}
1977
- },
1978
- {
1979
- "code": "ClassId",
1980
- "description": "",
1981
- "optional": true,
1982
- "type": "string",
1983
- "gnType": "String",
1984
- "conditions": {}
1985
- },
1986
- {
1987
- "code": "ItemType",
1988
- "description": "",
1989
- "optional": true,
1990
- "type": "number",
1991
- "gnType": "Number",
1992
- "conditions": {}
1993
- },
1994
- {
1995
- "code": "Amount",
1996
- "description": "",
1997
- "optional": true,
1998
- "type": "number",
1999
- "gnType": "Number",
2000
- "conditions": {}
2001
- },
2002
- {
2003
- "code": "Owner",
2004
- "description": "",
2005
- "optional": true,
2006
- "type": "GenericModels.OwnerItem",
2007
- "gnType": "GNHashtable",
2008
- "conditions": {}
2009
- },
2010
- {
2011
- "code": "RemoveStatus",
2012
- "description": "",
2013
- "optional": true,
2014
- "type": "GenericModels.RemoveStatusItem",
2015
- "gnType": "GNHashtable",
2016
- "conditions": {}
2017
- },
2018
- {
2019
- "code": "Segments",
2020
- "description": "",
2021
- "optional": true,
2022
- "type": "string",
2023
- "gnType": "GNArray",
2024
- "conditions": {}
2025
- },
2026
- {
2027
- "code": "CustomDatas",
2028
- "description": "",
2029
- "optional": true,
2030
- "type": "GenericModels.DataItem",
2031
- "gnType": "GNArray",
2032
- "conditions": {}
2033
- },
2034
- {
2035
- "code": "DisplayName",
2036
- "description": "",
2037
- "optional": true,
2038
- "type": "string",
2039
- "gnType": "String",
2040
- "conditions": {}
2041
- },
2042
- {
2043
- "code": "Avatar",
2044
- "description": "",
2045
- "optional": true,
2046
- "type": "GenericModels.AvatarItem",
2047
- "gnType": "GNHashtable",
2048
- "conditions": {}
2049
- },
2050
- {
2051
- "code": "TsCreate",
2052
- "description": "",
2053
- "optional": true,
2054
- "type": "number",
2055
- "gnType": "Number",
2056
- "conditions": {}
2057
- },
2058
- {
2059
- "code": "Tags",
2060
- "description": "",
2061
- "optional": true,
2062
- "type": "GenericModels.TagItem",
2063
- "gnType": "GNArray",
2064
- "conditions": {}
2065
- },
2066
- {
2067
- "code": "ItemDatas",
2068
- "description": "",
2069
- "optional": true,
2070
- "type": "GenericModels.DataItem",
2071
- "gnType": "GNArray",
2072
- "conditions": {}
2073
- },
2074
- {
2075
- "code": "ItemStatistics",
2076
- "description": "",
2077
- "optional": true,
2078
- "type": "GenericModels.StatisticsItem",
2079
- "gnType": "GNArray",
2080
- "conditions": {}
2081
- }
2082
- ],
2083
- "extends": null,
2084
- "description": ""
2085
- },
2086
- {
2087
- "name": "InventoryResponseData",
2088
- "details": [
2089
- {
2090
- "code": "InfoResponseParameters",
2091
- "description": "",
2092
- "optional": false,
2093
- "type": "InfoResponseParameters",
2094
- "gnType": "GNHashtable",
2095
- "conditions": {}
2096
- }
2097
- ],
2098
- "extends": null,
2099
- "description": ""
2100
- },
2101
- {
2102
- "name": "InventoryWithItemIdResponseData",
2103
- "details": [
2104
- {
2105
- "code": "ItemId",
2106
- "description": "",
2107
- "optional": false,
2108
- "type": "string",
2109
- "gnType": "String",
2110
- "conditions": {}
2111
- },
2112
- {
2113
- "code": "InfoResponseParameters",
2114
- "description": "",
2115
- "optional": false,
2116
- "type": "InfoResponseParameters",
2117
- "gnType": "GNHashtable",
2118
- "conditions": {}
2119
- }
2120
- ],
2121
- "extends": null,
2122
- "description": ""
2123
- },
2124
- {
2125
- "name": "InventoryLeaderboardResponseData",
2126
- "details": [
2127
- {
2128
- "code": "Position",
2129
- "description": "",
2130
- "optional": false,
2131
- "type": "number",
2132
- "gnType": "Number",
2133
- "conditions": {}
2134
- },
2135
- {
2136
- "code": "BackupValue",
2137
- "description": "",
2138
- "optional": true,
2139
- "type": "number",
2140
- "gnType": "Number",
2141
- "conditions": {}
2142
- },
2143
- {
2144
- "code": "ItemId",
2145
- "description": "",
2146
- "optional": false,
2147
- "type": "string",
2148
- "gnType": "String",
2149
- "conditions": {}
2150
- },
2151
- {
2152
- "code": "InfoResponseParameters",
2153
- "description": "",
2154
- "optional": false,
2155
- "type": "InfoResponseParameters",
2156
- "gnType": "GNHashtable",
2157
- "conditions": {}
2158
- }
2159
- ],
2160
- "extends": null,
2161
- "description": ""
2162
- },
2163
- {
2164
- "name": "InventoryLogResponseData",
2165
- "details": [
2166
- {
2167
- "code": "ItemId",
2168
- "description": "",
2169
- "optional": false,
2170
- "type": "string",
2171
- "gnType": "String",
2172
- "conditions": {}
2173
- },
2174
- {
2175
- "code": "TsCreate",
2176
- "description": "",
2177
- "optional": false,
2178
- "type": "number",
2179
- "gnType": "Number",
2180
- "conditions": {}
2181
- },
2182
- {
2183
- "code": "Log",
2184
- "description": "",
2185
- "optional": false,
2186
- "type": "string",
2187
- "gnType": "String",
2188
- "conditions": {}
2189
- },
2190
- {
2191
- "code": "Key",
2192
- "description": "",
2193
- "optional": false,
2194
- "type": "string",
2195
- "gnType": "String",
2196
- "conditions": {}
2197
- },
2198
- {
2199
- "code": "Amount",
2200
- "description": "",
2201
- "optional": false,
2202
- "type": "number",
2203
- "gnType": "Number",
2204
- "conditions": {}
2205
- },
2206
- {
2207
- "code": "StartValue",
2208
- "description": "",
2209
- "optional": false,
2210
- "type": "number",
2211
- "gnType": "Number",
2212
- "conditions": {}
2213
- },
2214
- {
2215
- "code": "FinalValue",
2216
- "description": "",
2217
- "optional": false,
2218
- "type": "number",
2219
- "gnType": "Number",
2220
- "conditions": {}
2221
- }
2222
- ],
2223
- "extends": null,
2224
- "description": ""
2225
- },
2226
- {
2227
- "name": "GetStatisticsLeaderboardResponseData",
2228
- "details": [
2229
- {
2230
- "code": "Results",
2231
- "description": "",
2232
- "optional": false,
2233
- "type": "InventoryLeaderboardResponseData",
2234
- "gnType": "GNArray",
2235
- "conditions": {}
2236
- },
2237
- {
2238
- "code": "TsCreate",
2239
- "description": "",
2240
- "optional": true,
2241
- "type": "number",
2242
- "gnType": "Number",
2243
- "conditions": {}
2244
- }
2245
- ],
2246
- "extends": null,
2247
- "description": ""
2248
- },
2249
- {
2250
- "name": "InventoriesWithItemIdResponseData",
2251
- "details": [
2252
- {
2253
- "code": "Results",
2254
- "description": "",
2255
- "optional": false,
2256
- "type": "InventoryWithItemIdResponseData",
2257
- "gnType": "GNArray",
2258
- "conditions": {}
2259
- }
2260
- ],
2261
- "extends": null,
2262
- "description": ""
2263
- },
2264
- {
2265
- "name": "GetCreateLeaderboardResponseData",
2266
- "details": [
2267
- {
2268
- "code": "Results",
2269
- "description": "",
2270
- "optional": false,
2271
- "type": "InventoryLeaderboardResponseData",
2272
- "gnType": "GNArray",
2273
- "conditions": {}
2274
- }
2275
- ],
2276
- "extends": null,
2277
- "description": ""
2278
- },
2279
- {
2280
- "name": "GetStatisticsLogResponseData",
2281
- "details": [
2282
- {
2283
- "code": "Results",
2284
- "description": "",
2285
- "optional": false,
2286
- "type": "InventoryLogResponseData",
2287
- "gnType": "GNArray",
2288
- "conditions": {}
2289
- },
2290
- {
2291
- "code": "Token",
2292
- "description": "",
2293
- "optional": true,
2294
- "type": "string",
2295
- "gnType": "String",
2296
- "conditions": {}
2297
- }
2298
- ],
2299
- "extends": null,
2300
- "description": ""
2301
- },
2302
- {
2303
- "name": "EmptyResponseData",
2304
- "details": [],
2305
- "extends": null,
2306
- "description": ""
2307
- }
2308
- ]
2309
- }