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

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/gearn.js.client.js +46911 -0
  2. package/dist/gearn.js.client.min.js +2 -0
  3. package/dist/gearn.js.client.min.js.LICENSE.txt +14 -0
  4. package/dist/index.js +34189 -337
  5. package/dist/runtime/config/GNServerSettings.d.ts +3 -0
  6. package/dist/runtime/constant/Commands.d.ts +1 -0
  7. package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +2 -0
  8. package/package.json +1 -1
  9. package/dist/runtime/GNNetwork.js +0 -250
  10. package/dist/runtime/GNNetworkAuthenticateApi.js +0 -122
  11. package/dist/runtime/GNNetworkCharacterPlayerApi.js +0 -968
  12. package/dist/runtime/GNNetworkCloudScriptApi.js +0 -104
  13. package/dist/runtime/GNNetworkContentApi.js +0 -140
  14. package/dist/runtime/GNNetworkDashboardApi.js +0 -170
  15. package/dist/runtime/GNNetworkGamePlayerApi.js +0 -950
  16. package/dist/runtime/GNNetworkGroupApi.js +0 -734
  17. package/dist/runtime/GNNetworkInventoryApi.js +0 -626
  18. package/dist/runtime/GNNetworkMasterPlayerApi.js +0 -1550
  19. package/dist/runtime/GNNetworkMultiplayerApi.js +0 -194
  20. package/dist/runtime/GNNetworkStoreInventoryApi.js +0 -266
  21. package/dist/runtime/common/Action0.js +0 -1
  22. package/dist/runtime/common/Action1.js +0 -1
  23. package/dist/runtime/common/Action2.js +0 -1
  24. package/dist/runtime/common/Action3.js +0 -1
  25. package/dist/runtime/common/Action4.js +0 -1
  26. package/dist/runtime/common/GNData.js +0 -211
  27. package/dist/runtime/config/GNServerSettings.js +0 -149
  28. package/dist/runtime/constant/Commands.js +0 -19
  29. package/dist/runtime/constant/EventCode.js +0 -8
  30. package/dist/runtime/constant/OperationCode.js +0 -221
  31. package/dist/runtime/constant/ReturnCode.js +0 -14
  32. package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +0 -8
  33. package/dist/runtime/constant/enumType/FriendStatus.js +0 -7
  34. package/dist/runtime/constant/enumType/GoogleLoginType.js +0 -5
  35. package/dist/runtime/constant/enumType/GroupStatus.js +0 -7
  36. package/dist/runtime/constant/enumType/InvalidMemberType.js +0 -18
  37. package/dist/runtime/constant/enumType/ItemType.js +0 -5
  38. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +0 -6
  39. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +0 -8
  40. package/dist/runtime/constant/enumType/OwnerType.js +0 -9
  41. package/dist/runtime/constant/enumType/PermissionDataItem.js +0 -5
  42. package/dist/runtime/constant/enumType/PushPlatformType.js +0 -5
  43. package/dist/runtime/constant/enumType/RequestRole.js +0 -6
  44. package/dist/runtime/constant/enumType/RequestType.js +0 -15
  45. package/dist/runtime/constant/enumType/StoreItemType.js +0 -5
  46. package/dist/runtime/constant/enumType/StoreReceiveType.js +0 -8
  47. package/dist/runtime/constant/errorCode/ErrorCode.js +0 -52
  48. package/dist/runtime/constant/parameterCode/ParameterCode.js +0 -617
  49. package/dist/runtime/entity/DataMember.js +0 -208
  50. package/dist/runtime/entity/GNMetadata.js +0 -11
  51. package/dist/runtime/entity/InvalidMember.js +0 -1
  52. package/dist/runtime/entity/OperationEvent.js +0 -24
  53. package/dist/runtime/entity/OperationHelper.js +0 -24
  54. package/dist/runtime/entity/OperationRequest.js +0 -42
  55. package/dist/runtime/entity/OperationResponse.js +0 -73
  56. package/dist/runtime/entity/models/AuthenticateModels.js +0 -426
  57. package/dist/runtime/entity/models/AuthenticateRequestModels.js +0 -188
  58. package/dist/runtime/entity/models/AuthenticateResponseModels.js +0 -131
  59. package/dist/runtime/entity/models/CharacterPlayerModels.js +0 -1433
  60. package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +0 -1386
  61. package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +0 -376
  62. package/dist/runtime/entity/models/CloudScriptModels.js +0 -197
  63. package/dist/runtime/entity/models/CloudScriptRequestModels.js +0 -138
  64. package/dist/runtime/entity/models/CloudScriptResponseModels.js +0 -40
  65. package/dist/runtime/entity/models/ContentModels.js +0 -203
  66. package/dist/runtime/entity/models/ContentRequestModels.js +0 -190
  67. package/dist/runtime/entity/models/ContentResponseModels.js +0 -54
  68. package/dist/runtime/entity/models/DashboardModels.js +0 -3002
  69. package/dist/runtime/entity/models/DashboardRequestModels.js +0 -268
  70. package/dist/runtime/entity/models/DashboardResponseModels.js +0 -187
  71. package/dist/runtime/entity/models/GamePlayerModels.js +0 -1591
  72. package/dist/runtime/entity/models/GamePlayerRequestModels.js +0 -1360
  73. package/dist/runtime/entity/models/GamePlayerResponseModels.js +0 -369
  74. package/dist/runtime/entity/models/GenericModels.js +0 -177
  75. package/dist/runtime/entity/models/GroupModels.js +0 -1135
  76. package/dist/runtime/entity/models/GroupRequestModels.js +0 -1048
  77. package/dist/runtime/entity/models/GroupResponseModels.js +0 -285
  78. package/dist/runtime/entity/models/InventoryModels.js +0 -915
  79. package/dist/runtime/entity/models/InventoryRequestModels.js +0 -892
  80. package/dist/runtime/entity/models/InventoryResponseModels.js +0 -243
  81. package/dist/runtime/entity/models/MasterPlayerModels.js +0 -2573
  82. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +0 -2228
  83. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +0 -607
  84. package/dist/runtime/entity/models/MultiplayerModels.js +0 -404
  85. package/dist/runtime/entity/models/MultiplayerRequestModels.js +0 -268
  86. package/dist/runtime/entity/models/MultiplayerResponseModels.js +0 -75
  87. package/dist/runtime/entity/models/StoreInventoryModels.js +0 -797
  88. package/dist/runtime/entity/models/StoreInventoryRequestModels.js +0 -372
  89. package/dist/runtime/entity/models/StoreInventoryResponseModels.js +0 -103
  90. package/dist/runtime/entity/request/CustomOperationRequest.js +0 -24
  91. package/dist/runtime/entity/response/CustomOperationResponse.js +0 -29
  92. package/dist/runtime/entity/response/GetAuthInfoResponse.js +0 -2
  93. package/dist/runtime/entity/response/UploadFileResponse.js +0 -2
  94. package/dist/runtime/helper/CodeHelper.js +0 -63
  95. package/dist/runtime/helper/ConverterService.js +0 -275
  96. package/dist/runtime/helper/EnumUtility.js +0 -33
  97. package/dist/runtime/helper/GNSupport.js +0 -8
  98. package/dist/runtime/helper/GNUtils.js +0 -72
  99. package/dist/runtime/helper/MessagePackConverterService.js +0 -9
  100. package/dist/runtime/logger/GNDebug.js +0 -29
  101. package/dist/runtime/networking/AuthenticateStatus.js +0 -14
  102. package/dist/runtime/networking/IPeer.js +0 -1
  103. package/dist/runtime/networking/NetworkingPeer.js +0 -178
  104. package/dist/runtime/networking/OperationPending.js +0 -53
  105. package/dist/runtime/networking/PeerBase.js +0 -161
  106. package/dist/runtime/networking/handler/IServerEventHandler.js +0 -13
  107. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +0 -39
  108. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +0 -39
  109. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +0 -39
  110. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +0 -39
  111. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +0 -35
  112. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +0 -43
  113. package/dist/runtime/networking/http/HttpPeer.js +0 -122
  114. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +0 -6
  115. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +0 -164
  116. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +0 -130
  117. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +0 -165
  118. package/dist/runtime/networking/socket/SocketPeer.js +0 -115
  119. package/dist/runtime/typescript/ServiceUpdate.js +0 -12
  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,1964 +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
- },
1750
- {
1751
- "name": "InfoRequestParam",
1752
- "details": [
1753
- {
1754
- "code": "CatalogId",
1755
- "description": "",
1756
- "optional": true,
1757
- "type": "boolean",
1758
- "gnType": "Boolean",
1759
- "defaultValue": "false",
1760
- "conditions": {}
1761
- },
1762
- {
1763
- "code": "ClassId",
1764
- "description": "",
1765
- "optional": true,
1766
- "type": "boolean",
1767
- "gnType": "Boolean",
1768
- "defaultValue": "false",
1769
- "conditions": {}
1770
- },
1771
- {
1772
- "code": "ItemType",
1773
- "description": "",
1774
- "optional": true,
1775
- "type": "boolean",
1776
- "gnType": "Boolean",
1777
- "defaultValue": "false",
1778
- "conditions": {}
1779
- },
1780
- {
1781
- "code": "Amount",
1782
- "description": "",
1783
- "optional": true,
1784
- "type": "boolean",
1785
- "gnType": "Boolean",
1786
- "defaultValue": "false",
1787
- "conditions": {}
1788
- },
1789
- {
1790
- "code": "Owner",
1791
- "description": "",
1792
- "optional": true,
1793
- "type": "boolean",
1794
- "gnType": "Boolean",
1795
- "defaultValue": "false",
1796
- "conditions": {}
1797
- },
1798
- {
1799
- "code": "RemoveStatus",
1800
- "description": "",
1801
- "optional": true,
1802
- "type": "boolean",
1803
- "gnType": "Boolean",
1804
- "defaultValue": "false",
1805
- "conditions": {}
1806
- },
1807
- {
1808
- "code": "Segments",
1809
- "description": "",
1810
- "optional": true,
1811
- "type": "boolean",
1812
- "gnType": "Boolean",
1813
- "defaultValue": "false",
1814
- "conditions": {}
1815
- },
1816
- {
1817
- "code": "CustomDatas",
1818
- "description": "",
1819
- "optional": true,
1820
- "type": "boolean",
1821
- "gnType": "Boolean",
1822
- "defaultValue": "false",
1823
- "conditions": {}
1824
- },
1825
- {
1826
- "code": "DisplayName",
1827
- "description": "",
1828
- "optional": true,
1829
- "type": "boolean",
1830
- "gnType": "Boolean",
1831
- "defaultValue": "false",
1832
- "conditions": {}
1833
- },
1834
- {
1835
- "code": "Avatar",
1836
- "description": "",
1837
- "optional": true,
1838
- "type": "boolean",
1839
- "gnType": "Boolean",
1840
- "defaultValue": "false",
1841
- "conditions": {}
1842
- },
1843
- {
1844
- "code": "TsCreate",
1845
- "description": "",
1846
- "optional": true,
1847
- "type": "boolean",
1848
- "gnType": "Boolean",
1849
- "defaultValue": "false",
1850
- "conditions": {}
1851
- },
1852
- {
1853
- "code": "Tags",
1854
- "description": "",
1855
- "optional": true,
1856
- "type": "boolean",
1857
- "gnType": "Boolean",
1858
- "defaultValue": "false",
1859
- "conditions": {}
1860
- },
1861
- {
1862
- "code": "ItemStatistics",
1863
- "description": "",
1864
- "optional": true,
1865
- "type": "boolean",
1866
- "gnType": "Boolean",
1867
- "defaultValue": "false",
1868
- "conditions": {}
1869
- },
1870
- {
1871
- "code": "ItemDatas",
1872
- "description": "",
1873
- "optional": true,
1874
- "type": "boolean",
1875
- "gnType": "Boolean",
1876
- "defaultValue": "false",
1877
- "conditions": {}
1878
- },
1879
- {
1880
- "code": "ItemDataKeys",
1881
- "description": "",
1882
- "optional": true,
1883
- "type": "string",
1884
- "gnType": "GNArray",
1885
- "conditions": {}
1886
- },
1887
- {
1888
- "code": "ItemStatisticsKeys",
1889
- "description": "",
1890
- "optional": true,
1891
- "type": "string",
1892
- "gnType": "GNArray",
1893
- "conditions": {}
1894
- },
1895
- {
1896
- "code": "CustomDataKeys",
1897
- "description": "",
1898
- "optional": true,
1899
- "type": "string",
1900
- "gnType": "GNArray",
1901
- "conditions": {}
1902
- },
1903
- {
1904
- "code": "TagKeys",
1905
- "description": "",
1906
- "optional": true,
1907
- "type": "string",
1908
- "gnType": "GNArray",
1909
- "conditions": {}
1910
- }
1911
- ]
1912
- },
1913
- {
1914
- "name": "ItemDataParam",
1915
- "details": [
1916
- {
1917
- "code": "Key",
1918
- "description": "",
1919
- "optional": false,
1920
- "type": "string",
1921
- "gnType": "String",
1922
- "conditions": {
1923
- "mustNonNull": true,
1924
- "minLength": 2,
1925
- "maxLength": 32
1926
- }
1927
- },
1928
- {
1929
- "code": "Value",
1930
- "description": "",
1931
- "optional": false,
1932
- "type": "any",
1933
- "gnType": "DataMember",
1934
- "conditions": {}
1935
- }
1936
- ]
1937
- },
1938
- {
1939
- "name": "ItemStatisticsParam",
1940
- "details": [
1941
- {
1942
- "code": "Key",
1943
- "description": "",
1944
- "optional": false,
1945
- "type": "string",
1946
- "gnType": "String",
1947
- "conditions": {
1948
- "mustNonNull": true,
1949
- "minLength": 2,
1950
- "maxLength": 32
1951
- }
1952
- },
1953
- {
1954
- "code": "Value",
1955
- "description": "",
1956
- "optional": false,
1957
- "type": "number",
1958
- "gnType": "Number",
1959
- "conditions": {}
1960
- }
1961
- ]
1962
- }
1963
- ]
1964
- }