@xmobitea/gn-typescript-client 2.6.8-tsc → 2.6.9-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 (91) hide show
  1. package/LICENSE +198 -5
  2. package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +0 -1
  3. package/dist/runtime/entity/models/CharacterPlayerModels.js +1 -5
  4. package/dist/runtime/entity/models/DashboardModels.d.ts +7 -7
  5. package/dist/runtime/entity/models/DashboardModels.js +2 -2
  6. package/dist/runtime/entity/models/GroupModels.d.ts +0 -1
  7. package/dist/runtime/entity/models/GroupModels.js +0 -4
  8. package/dist/runtime/entity/models/MultiplayerModels.d.ts +1 -1
  9. package/package.json +2 -2
  10. package/responseModel/chatgpt/Authenticate.json +724 -0
  11. package/responseModel/chatgpt/CharacterPlayer.json +1890 -0
  12. package/responseModel/chatgpt/CloudScript.json +254 -0
  13. package/responseModel/chatgpt/Content.json +273 -0
  14. package/responseModel/chatgpt/Dashboard.json +4110 -0
  15. package/responseModel/chatgpt/GamePlayer.json +2306 -0
  16. package/responseModel/chatgpt/Generic.json +253 -0
  17. package/responseModel/chatgpt/Group.json +1509 -0
  18. package/responseModel/chatgpt/Inventory.json +1211 -0
  19. package/responseModel/chatgpt/MasterPlayer.json +3801 -0
  20. package/responseModel/chatgpt/Multiplayer.json +634 -0
  21. package/responseModel/chatgpt/StoreInventory.json +1099 -0
  22. package/responseModel/clients/AuthenticateModels.json +271 -0
  23. package/responseModel/clients/CharacterPlayerModels.json +792 -0
  24. package/responseModel/clients/CloudScriptModels.json +191 -0
  25. package/responseModel/clients/ContentModels.json +178 -0
  26. package/responseModel/clients/DashboardModels.json +5423 -0
  27. package/responseModel/clients/GamePlayerModels.json +781 -0
  28. package/responseModel/clients/GenericModels.json +344 -0
  29. package/responseModel/clients/GroupModels.json +705 -0
  30. package/responseModel/clients/InventoryModels.json +568 -0
  31. package/responseModel/clients/MasterPlayerModels.json +1281 -0
  32. package/responseModel/clients/MultiplayerModels.json +439 -0
  33. package/responseModel/clients/StoreInventoryModels.json +971 -0
  34. package/responseModel/finalChatgpt/Authenticate.json +1475 -0
  35. package/responseModel/finalChatgpt/CharacterPlayer.json +4104 -0
  36. package/responseModel/finalChatgpt/CloudScript.json +515 -0
  37. package/responseModel/finalChatgpt/Content.json +536 -0
  38. package/responseModel/finalChatgpt/Dashboard.json +6712 -0
  39. package/responseModel/finalChatgpt/GamePlayer.json +5142 -0
  40. package/responseModel/finalChatgpt/Generic.json +333 -0
  41. package/responseModel/finalChatgpt/Group.json +3232 -0
  42. package/responseModel/finalChatgpt/Inventory.json +2606 -0
  43. package/responseModel/finalChatgpt/MasterPlayer.json +8385 -0
  44. package/responseModel/finalChatgpt/Multiplayer.json +1196 -0
  45. package/responseModel/finalChatgpt/StoreInventory.json +2085 -0
  46. package/responseModel/finals/Authenticate.json +1460 -0
  47. package/responseModel/finals/CharacterPlayer.json +3639 -0
  48. package/responseModel/finals/CloudScript.json +465 -0
  49. package/responseModel/finals/Content.json +479 -0
  50. package/responseModel/finals/Dashboard.json +6718 -0
  51. package/responseModel/finals/GamePlayer.json +4291 -0
  52. package/responseModel/finals/Generic.json +345 -0
  53. package/responseModel/finals/Group.json +2885 -0
  54. package/responseModel/finals/Inventory.json +2309 -0
  55. package/responseModel/finals/MasterPlayer.json +7018 -0
  56. package/responseModel/finals/Multiplayer.json +1082 -0
  57. package/responseModel/finals/StoreInventory.json +1979 -0
  58. package/responseModel/finalsShort/Authenticate.json +723 -0
  59. package/responseModel/finalsShort/CharacterPlayer.json +1889 -0
  60. package/responseModel/finalsShort/CloudScript.json +253 -0
  61. package/responseModel/finalsShort/Content.json +272 -0
  62. package/responseModel/finalsShort/Dashboard.json +4109 -0
  63. package/responseModel/finalsShort/GamePlayer.json +2305 -0
  64. package/responseModel/finalsShort/Generic.json +252 -0
  65. package/responseModel/finalsShort/Group.json +1508 -0
  66. package/responseModel/finalsShort/Inventory.json +1210 -0
  67. package/responseModel/finalsShort/MasterPlayer.json +3800 -0
  68. package/responseModel/finalsShort/Multiplayer.json +633 -0
  69. package/responseModel/finalsShort/StoreInventory.json +1098 -0
  70. package/responseModel/operationResponse/AuthenticateResponseModels.json +77 -0
  71. package/responseModel/operationResponse/CharacterPlayerResponseModels.json +217 -0
  72. package/responseModel/operationResponse/CloudScriptResponseModels.json +25 -0
  73. package/responseModel/operationResponse/ContentResponseModels.json +33 -0
  74. package/responseModel/operationResponse/DashboardResponseModels.json +109 -0
  75. package/responseModel/operationResponse/GamePlayerResponseModels.json +213 -0
  76. package/responseModel/operationResponse/GroupResponseModels.json +165 -0
  77. package/responseModel/operationResponse/InventoryResponseModels.json +141 -0
  78. package/responseModel/operationResponse/MasterPlayerResponseModels.json +349 -0
  79. package/responseModel/operationResponse/MultiplayerResponseModels.json +45 -0
  80. package/responseModel/operationResponse/StoreInventoryResponseModels.json +61 -0
  81. package/responseModel/servers/Authenticate.json +1328 -0
  82. package/responseModel/servers/CharacterPlayer.json +3199 -0
  83. package/responseModel/servers/CloudScript.json +278 -0
  84. package/responseModel/servers/Content.json +324 -0
  85. package/responseModel/servers/GamePlayer.json +3844 -0
  86. package/responseModel/servers/Group.json +2454 -0
  87. package/responseModel/servers/Inventory.json +1964 -0
  88. package/responseModel/servers/MasterAdmin.json +5569 -0
  89. package/responseModel/servers/MasterPlayer.json +5924 -0
  90. package/responseModel/servers/Multiplayer.json +545 -0
  91. package/responseModel/servers/StoreInventory.json +1290 -0
@@ -0,0 +1,1290 @@
1
+ {
2
+ "requestType": "StoreInventory",
3
+ "operations": [
4
+ {
5
+ "operationCode": "BuyStoreItem",
6
+ "details": [
7
+ {
8
+ "role": "Client",
9
+ "requestData": [
10
+ {
11
+ "code": "StoreId",
12
+ "description": "",
13
+ "optional": false,
14
+ "type": "string",
15
+ "gnType": "String",
16
+ "conditions": {
17
+ "mustNonNull": true,
18
+ "minLength": 10,
19
+ "maxLength": 32
20
+ }
21
+ },
22
+ {
23
+ "code": "Id",
24
+ "description": "",
25
+ "optional": false,
26
+ "type": "string",
27
+ "gnType": "String",
28
+ "conditions": {
29
+ "mustNonNull": true,
30
+ "minLength": 10,
31
+ "maxLength": 11
32
+ }
33
+ },
34
+ {
35
+ "code": "Type",
36
+ "description": "",
37
+ "optional": false,
38
+ "type": "number",
39
+ "gnType": "Number",
40
+ "conditions": {
41
+ "mustInt": true
42
+ }
43
+ },
44
+ {
45
+ "code": "Log",
46
+ "description": "",
47
+ "optional": true,
48
+ "type": "string",
49
+ "gnType": "String",
50
+ "conditions": {
51
+ "mustNonNull": true,
52
+ "minLength": 1,
53
+ "maxLength": 256
54
+ }
55
+ }
56
+ ]
57
+ }
58
+ ],
59
+ "responseData": [
60
+ {
61
+ "code": "ErrorCode",
62
+ "value": [
63
+ "StoreItemNotFound",
64
+ "StoreItemHadBeenRemove",
65
+ "StoreItemHadPurchaseAndNonConsumable",
66
+ "CanNotBuyThisStoreItem",
67
+ "BuyerNotFound",
68
+ "NotEnoughCurrency",
69
+ "Ok"
70
+ ]
71
+ },
72
+ {
73
+ "code": "InfoResponseParameters"
74
+ },
75
+ {
76
+ "code": "StoreCurrencies"
77
+ },
78
+ {
79
+ "code": "StoreItems"
80
+ },
81
+ {
82
+ "code": "PriceCurrencies"
83
+ }
84
+ ],
85
+ "description": ""
86
+ },
87
+ {
88
+ "operationCode": "CreateStoreItem",
89
+ "details": [
90
+ {
91
+ "role": "Client",
92
+ "requestData": [
93
+ {
94
+ "code": "StoreId",
95
+ "description": "",
96
+ "optional": true,
97
+ "type": "string",
98
+ "gnType": "String",
99
+ "conditions": {
100
+ "mustNonNull": true,
101
+ "minLength": 10,
102
+ "maxLength": 32
103
+ }
104
+ },
105
+ {
106
+ "code": "DisplayName",
107
+ "description": "",
108
+ "optional": true,
109
+ "type": "string",
110
+ "gnType": "String",
111
+ "defaultValue": "\"\"",
112
+ "conditions": {}
113
+ }
114
+ ]
115
+ }
116
+ ],
117
+ "responseData": [
118
+ {
119
+ "code": "ErrorCode",
120
+ "value": [
121
+ "StoreItemHadExists",
122
+ "Ok"
123
+ ]
124
+ },
125
+ {
126
+ "code": "StoreId"
127
+ }
128
+ ],
129
+ "description": ""
130
+ },
131
+ {
132
+ "operationCode": "GetCreateLeaderboard",
133
+ "details": [
134
+ {
135
+ "role": "Client",
136
+ "requestData": [
137
+ {
138
+ "code": "InfoRequestParam",
139
+ "description": "",
140
+ "optional": false,
141
+ "type": "InfoRequestParam",
142
+ "gnType": "GNHashtable",
143
+ "conditions": {
144
+ "mustNonNull": true
145
+ }
146
+ },
147
+ {
148
+ "code": "Skip",
149
+ "description": "",
150
+ "optional": true,
151
+ "type": "number",
152
+ "gnType": "Number",
153
+ "defaultValue": "0",
154
+ "conditions": {
155
+ "mustInt": true,
156
+ "minValue": 0
157
+ }
158
+ },
159
+ {
160
+ "code": "Limit",
161
+ "description": "",
162
+ "optional": true,
163
+ "type": "number",
164
+ "gnType": "Number",
165
+ "defaultValue": "10",
166
+ "conditions": {
167
+ "mustInt": true,
168
+ "minValue": 1,
169
+ "maxValue": 100
170
+ }
171
+ },
172
+ {
173
+ "code": "LoadFromCache",
174
+ "description": "",
175
+ "optional": true,
176
+ "type": "boolean",
177
+ "gnType": "Boolean",
178
+ "defaultValue": "true",
179
+ "conditions": {}
180
+ }
181
+ ]
182
+ }
183
+ ],
184
+ "responseData": [
185
+ {
186
+ "code": "ErrorCode",
187
+ "value": [
188
+ "Ok"
189
+ ]
190
+ },
191
+ {
192
+ "code": "Results"
193
+ }
194
+ ],
195
+ "description": ""
196
+ },
197
+ {
198
+ "operationCode": "GetStoreItemInformation",
199
+ "details": [
200
+ {
201
+ "role": "Client",
202
+ "requestData": [
203
+ {
204
+ "code": "StoreId",
205
+ "description": "",
206
+ "optional": false,
207
+ "type": "string",
208
+ "gnType": "String",
209
+ "conditions": {
210
+ "mustNonNull": true,
211
+ "minLength": 10,
212
+ "maxLength": 32
213
+ }
214
+ },
215
+ {
216
+ "code": "InfoRequestParam",
217
+ "description": "",
218
+ "optional": false,
219
+ "type": "InfoRequestParam",
220
+ "gnType": "GNHashtable",
221
+ "conditions": {
222
+ "mustNonNull": true
223
+ }
224
+ }
225
+ ]
226
+ }
227
+ ],
228
+ "responseData": [
229
+ {
230
+ "code": "ErrorCode",
231
+ "value": [
232
+ "StoreItemNotFound",
233
+ "Ok"
234
+ ]
235
+ },
236
+ {
237
+ "code": "InfoResponseParameters"
238
+ }
239
+ ],
240
+ "description": ""
241
+ },
242
+ {
243
+ "operationCode": "GetStoreItemsWithTag",
244
+ "details": [
245
+ {
246
+ "role": "Client",
247
+ "requestData": [
248
+ {
249
+ "code": "Key",
250
+ "description": "",
251
+ "optional": false,
252
+ "type": "string",
253
+ "gnType": "String",
254
+ "conditions": {
255
+ "mustNonNull": true,
256
+ "minLength": 2,
257
+ "maxLength": 32
258
+ }
259
+ },
260
+ {
261
+ "code": "Value",
262
+ "description": "",
263
+ "optional": false,
264
+ "type": "string",
265
+ "gnType": "String",
266
+ "conditions": {
267
+ "mustNonNull": true,
268
+ "minLength": 2,
269
+ "maxLength": 32
270
+ }
271
+ },
272
+ {
273
+ "code": "InfoRequestParam",
274
+ "description": "",
275
+ "optional": false,
276
+ "type": "InfoRequestParam",
277
+ "gnType": "GNHashtable",
278
+ "conditions": {
279
+ "mustNonNull": true
280
+ }
281
+ },
282
+ {
283
+ "code": "Skip",
284
+ "description": "",
285
+ "optional": true,
286
+ "type": "number",
287
+ "gnType": "Number",
288
+ "defaultValue": "0",
289
+ "conditions": {
290
+ "mustInt": true,
291
+ "minValue": 0
292
+ }
293
+ },
294
+ {
295
+ "code": "Limit",
296
+ "description": "",
297
+ "optional": true,
298
+ "type": "number",
299
+ "gnType": "Number",
300
+ "defaultValue": "10",
301
+ "conditions": {
302
+ "mustInt": true,
303
+ "minValue": 1,
304
+ "maxValue": 100
305
+ }
306
+ }
307
+ ]
308
+ }
309
+ ],
310
+ "responseData": [
311
+ {
312
+ "code": "ErrorCode",
313
+ "value": [
314
+ "Ok"
315
+ ]
316
+ },
317
+ {
318
+ "code": "Results"
319
+ }
320
+ ],
321
+ "description": ""
322
+ },
323
+ {
324
+ "operationCode": "GetStoreLog",
325
+ "details": [
326
+ {
327
+ "role": "Client",
328
+ "requestData": [
329
+ {
330
+ "code": "StoreId",
331
+ "description": "",
332
+ "optional": true,
333
+ "type": "string",
334
+ "gnType": "String",
335
+ "conditions": {
336
+ "mustNonNull": true,
337
+ "minLength": 10,
338
+ "maxLength": 32
339
+ }
340
+ },
341
+ {
342
+ "code": "StoreReceiveTypes",
343
+ "description": "",
344
+ "optional": true,
345
+ "type": "number",
346
+ "gnType": "GNArray",
347
+ "conditions": {
348
+ "mustNonNull": true,
349
+ "minLength": 1,
350
+ "maxLength": 10
351
+ }
352
+ },
353
+ {
354
+ "code": "Id",
355
+ "description": "",
356
+ "optional": true,
357
+ "type": "string",
358
+ "gnType": "String",
359
+ "conditions": {
360
+ "mustNonNull": true,
361
+ "minLength": 10,
362
+ "maxLength": 11
363
+ }
364
+ },
365
+ {
366
+ "code": "Limit",
367
+ "description": "",
368
+ "optional": true,
369
+ "type": "number",
370
+ "gnType": "Number",
371
+ "defaultValue": "10",
372
+ "conditions": {
373
+ "mustInt": true,
374
+ "minValue": 1,
375
+ "maxValue": 100
376
+ }
377
+ },
378
+ {
379
+ "code": "Token",
380
+ "description": "",
381
+ "optional": true,
382
+ "type": "string",
383
+ "gnType": "String",
384
+ "conditions": {
385
+ "mustNonNull": true,
386
+ "minLength": 24,
387
+ "maxLength": 24
388
+ }
389
+ }
390
+ ]
391
+ }
392
+ ],
393
+ "responseData": [
394
+ {
395
+ "code": "ErrorCode",
396
+ "value": [
397
+ "Ok"
398
+ ]
399
+ },
400
+ {
401
+ "code": "Results"
402
+ },
403
+ {
404
+ "code": "Token"
405
+ }
406
+ ],
407
+ "description": ""
408
+ },
409
+ {
410
+ "operationCode": "GetStoreUsed",
411
+ "details": [
412
+ {
413
+ "role": "Client",
414
+ "requestData": [
415
+ {
416
+ "code": "StoreId",
417
+ "description": "",
418
+ "optional": false,
419
+ "type": "string",
420
+ "gnType": "String",
421
+ "conditions": {
422
+ "mustNonNull": true,
423
+ "minLength": 10,
424
+ "maxLength": 32
425
+ }
426
+ }
427
+ ]
428
+ }
429
+ ],
430
+ "responseData": [
431
+ {
432
+ "code": "ErrorCode",
433
+ "value": [
434
+ "Ok"
435
+ ]
436
+ },
437
+ {
438
+ "code": "Results"
439
+ }
440
+ ],
441
+ "description": ""
442
+ },
443
+ {
444
+ "operationCode": "PresentStoreItem",
445
+ "details": [
446
+ {
447
+ "role": "Client",
448
+ "requestData": [
449
+ {
450
+ "code": "StoreId",
451
+ "description": "",
452
+ "optional": false,
453
+ "type": "string",
454
+ "gnType": "String",
455
+ "conditions": {
456
+ "mustNonNull": true,
457
+ "minLength": 10,
458
+ "maxLength": 32
459
+ }
460
+ },
461
+ {
462
+ "code": "Id",
463
+ "description": "",
464
+ "optional": false,
465
+ "type": "string",
466
+ "gnType": "String",
467
+ "conditions": {
468
+ "mustNonNull": true,
469
+ "minLength": 10,
470
+ "maxLength": 11
471
+ }
472
+ },
473
+ {
474
+ "code": "Type",
475
+ "description": "",
476
+ "optional": false,
477
+ "type": "number",
478
+ "gnType": "Number",
479
+ "conditions": {
480
+ "mustInt": true
481
+ }
482
+ },
483
+ {
484
+ "code": "Log",
485
+ "description": "",
486
+ "optional": true,
487
+ "type": "string",
488
+ "gnType": "String",
489
+ "conditions": {
490
+ "mustNonNull": true,
491
+ "minLength": 1,
492
+ "maxLength": 256
493
+ }
494
+ }
495
+ ]
496
+ }
497
+ ],
498
+ "responseData": [
499
+ {
500
+ "code": "ErrorCode",
501
+ "value": [
502
+ "StoreItemNotFound",
503
+ "StoreItemHadBeenRemove",
504
+ "StoreItemHadPurchaseAndNonConsumable",
505
+ "BuyerNotFound",
506
+ "Ok"
507
+ ]
508
+ },
509
+ {
510
+ "code": "InfoResponseParameters"
511
+ },
512
+ {
513
+ "code": "StoreCurrencies"
514
+ },
515
+ {
516
+ "code": "StoreItems"
517
+ },
518
+ {
519
+ "code": "PriceCurrencies"
520
+ }
521
+ ],
522
+ "description": ""
523
+ },
524
+ {
525
+ "operationCode": "RemoveStoreUsed",
526
+ "details": [
527
+ {
528
+ "role": "Client",
529
+ "requestData": [
530
+ {
531
+ "code": "StoreId",
532
+ "description": "",
533
+ "optional": false,
534
+ "type": "string",
535
+ "gnType": "String",
536
+ "conditions": {
537
+ "mustNonNull": true,
538
+ "minLength": 10,
539
+ "maxLength": 32
540
+ }
541
+ },
542
+ {
543
+ "code": "OwnerIds",
544
+ "description": "",
545
+ "optional": true,
546
+ "type": "string",
547
+ "gnType": "GNArray",
548
+ "conditions": {}
549
+ }
550
+ ]
551
+ }
552
+ ],
553
+ "responseData": [
554
+ {
555
+ "code": "ErrorCode",
556
+ "value": [
557
+ "Ok"
558
+ ]
559
+ }
560
+ ],
561
+ "description": ""
562
+ },
563
+ {
564
+ "operationCode": "SetRemoveStatus",
565
+ "details": [
566
+ {
567
+ "role": "Client",
568
+ "requestData": [
569
+ {
570
+ "code": "StoreId",
571
+ "description": "",
572
+ "optional": false,
573
+ "type": "string",
574
+ "gnType": "String",
575
+ "conditions": {
576
+ "mustNonNull": true,
577
+ "minLength": 10,
578
+ "maxLength": 32
579
+ }
580
+ },
581
+ {
582
+ "code": "Reason",
583
+ "description": "",
584
+ "optional": true,
585
+ "type": "string",
586
+ "gnType": "String",
587
+ "defaultValue": "\"\"",
588
+ "conditions": {}
589
+ }
590
+ ]
591
+ }
592
+ ],
593
+ "responseData": [
594
+ {
595
+ "code": "ErrorCode",
596
+ "value": [
597
+ "StoreItemNotFound",
598
+ "Ok"
599
+ ]
600
+ }
601
+ ],
602
+ "description": ""
603
+ },
604
+ {
605
+ "operationCode": "SetStoreItemInformation",
606
+ "details": [
607
+ {
608
+ "role": "Client",
609
+ "requestData": [
610
+ {
611
+ "code": "StoreId",
612
+ "description": "",
613
+ "optional": false,
614
+ "type": "string",
615
+ "gnType": "String",
616
+ "conditions": {
617
+ "mustNonNull": true,
618
+ "minLength": 10,
619
+ "maxLength": 32
620
+ }
621
+ },
622
+ {
623
+ "code": "StoreItemType",
624
+ "description": "",
625
+ "optional": true,
626
+ "type": "number",
627
+ "gnType": "Number",
628
+ "conditions": {
629
+ "mustInt": true,
630
+ "minValue": 1,
631
+ "maxValue": 2
632
+ }
633
+ },
634
+ {
635
+ "code": "StoreDatas",
636
+ "description": "",
637
+ "optional": true,
638
+ "type": "StoreDataParam",
639
+ "gnType": "GNArray",
640
+ "conditions": {
641
+ "mustNonNull": true,
642
+ "minLength": 0,
643
+ "maxLength": 32
644
+ }
645
+ },
646
+ {
647
+ "code": "StoreItems",
648
+ "description": "",
649
+ "optional": true,
650
+ "type": "StoreItemParam",
651
+ "gnType": "GNArray",
652
+ "conditions": {
653
+ "mustNonNull": true,
654
+ "minLength": 0,
655
+ "maxLength": 32
656
+ }
657
+ },
658
+ {
659
+ "code": "StoreCurrencies",
660
+ "description": "",
661
+ "optional": true,
662
+ "type": "CurrencyParam",
663
+ "gnType": "GNArray",
664
+ "conditions": {
665
+ "mustNonNull": true,
666
+ "minLength": 0,
667
+ "maxLength": 32
668
+ }
669
+ },
670
+ {
671
+ "code": "PriceCurrencies",
672
+ "description": "",
673
+ "optional": true,
674
+ "type": "CurrencyParam",
675
+ "gnType": "GNArray",
676
+ "conditions": {
677
+ "mustNonNull": true,
678
+ "minLength": 0,
679
+ "maxLength": 32
680
+ }
681
+ },
682
+ {
683
+ "code": "InAppPurchase",
684
+ "description": "",
685
+ "optional": true,
686
+ "type": "InAppPurchaseParam",
687
+ "gnType": "GNHashtable",
688
+ "conditions": {
689
+ "mustNonNull": true
690
+ }
691
+ },
692
+ {
693
+ "code": "DisplayName",
694
+ "description": "",
695
+ "optional": true,
696
+ "type": "string",
697
+ "gnType": "String",
698
+ "conditions": {
699
+ "mustNonNull": true
700
+ }
701
+ },
702
+ {
703
+ "code": "Avatar",
704
+ "description": "",
705
+ "optional": true,
706
+ "type": "AvatarParam",
707
+ "gnType": "GNHashtable",
708
+ "conditions": {
709
+ "mustNonNull": true
710
+ }
711
+ },
712
+ {
713
+ "code": "Tags",
714
+ "description": "",
715
+ "optional": true,
716
+ "type": "TagParam",
717
+ "gnType": "GNArray",
718
+ "conditions": {
719
+ "mustNonNull": true,
720
+ "minLength": 0,
721
+ "maxLength": 32
722
+ }
723
+ }
724
+ ]
725
+ }
726
+ ],
727
+ "responseData": [
728
+ {
729
+ "code": "ErrorCode",
730
+ "value": [
731
+ "StoreItemNotFound",
732
+ "Ok"
733
+ ]
734
+ },
735
+ {
736
+ "code": "InfoResponseParameters"
737
+ }
738
+ ],
739
+ "description": ""
740
+ },
741
+ {
742
+ "operationCode": "ValidateAppleAppStoreReceipt",
743
+ "details": [
744
+ {
745
+ "role": "Client",
746
+ "requestData": [
747
+ {
748
+ "code": "Receipt",
749
+ "description": "",
750
+ "optional": false,
751
+ "type": "string",
752
+ "gnType": "String",
753
+ "conditions": {
754
+ "mustNonNull": true,
755
+ "minLength": 10,
756
+ "maxLength": 2048
757
+ }
758
+ },
759
+ {
760
+ "code": "Id",
761
+ "description": "",
762
+ "optional": false,
763
+ "type": "string",
764
+ "gnType": "String",
765
+ "conditions": {
766
+ "mustNonNull": true,
767
+ "minLength": 10,
768
+ "maxLength": 11
769
+ }
770
+ },
771
+ {
772
+ "code": "Type",
773
+ "description": "",
774
+ "optional": false,
775
+ "type": "number",
776
+ "gnType": "Number",
777
+ "conditions": {
778
+ "mustInt": true
779
+ }
780
+ },
781
+ {
782
+ "code": "Log",
783
+ "description": "",
784
+ "optional": true,
785
+ "type": "string",
786
+ "gnType": "String",
787
+ "conditions": {
788
+ "mustNonNull": true,
789
+ "minLength": 1,
790
+ "maxLength": 256
791
+ }
792
+ }
793
+ ]
794
+ }
795
+ ],
796
+ "responseData": [
797
+ {
798
+ "code": "ErrorCode",
799
+ "value": [
800
+ "StoreInvalid",
801
+ "ReceiptInvalid",
802
+ "ExceptionWhenValidateReceipt",
803
+ "StoreItemNotFound",
804
+ "StoreItemHadBeenRemove",
805
+ "StoreItemHadPurchaseAndNonConsumable",
806
+ "BuyerNotFound",
807
+ "Ok"
808
+ ]
809
+ },
810
+ {
811
+ "code": "InfoResponseParameters"
812
+ },
813
+ {
814
+ "code": "StoreCurrencies"
815
+ },
816
+ {
817
+ "code": "StoreItems"
818
+ },
819
+ {
820
+ "code": "PriceCurrencies"
821
+ }
822
+ ],
823
+ "description": ""
824
+ },
825
+ {
826
+ "operationCode": "ValidateFacebookStoreReceipt",
827
+ "details": [
828
+ {
829
+ "role": "Client",
830
+ "requestData": [
831
+ {
832
+ "code": "Receipt",
833
+ "description": "",
834
+ "optional": false,
835
+ "type": "string",
836
+ "gnType": "String",
837
+ "conditions": {
838
+ "mustNonNull": true,
839
+ "minLength": 10,
840
+ "maxLength": 2048
841
+ }
842
+ },
843
+ {
844
+ "code": "Id",
845
+ "description": "",
846
+ "optional": false,
847
+ "type": "string",
848
+ "gnType": "String",
849
+ "conditions": {
850
+ "mustNonNull": true,
851
+ "minLength": 10,
852
+ "maxLength": 11
853
+ }
854
+ },
855
+ {
856
+ "code": "Type",
857
+ "description": "",
858
+ "optional": false,
859
+ "type": "number",
860
+ "gnType": "Number",
861
+ "conditions": {
862
+ "mustInt": true
863
+ }
864
+ },
865
+ {
866
+ "code": "Log",
867
+ "description": "",
868
+ "optional": true,
869
+ "type": "string",
870
+ "gnType": "String",
871
+ "conditions": {
872
+ "mustNonNull": true,
873
+ "minLength": 1,
874
+ "maxLength": 256
875
+ }
876
+ }
877
+ ]
878
+ }
879
+ ],
880
+ "responseData": [
881
+ {
882
+ "code": "ErrorCode",
883
+ "value": [
884
+ "StoreInvalid",
885
+ "ReceiptInvalid",
886
+ "ExceptionWhenValidateReceipt",
887
+ "StoreItemNotFound",
888
+ "StoreItemHadBeenRemove",
889
+ "StoreItemHadPurchaseAndNonConsumable",
890
+ "BuyerNotFound",
891
+ "Ok"
892
+ ]
893
+ },
894
+ {
895
+ "code": "InfoResponseParameters"
896
+ },
897
+ {
898
+ "code": "StoreCurrencies"
899
+ },
900
+ {
901
+ "code": "StoreItems"
902
+ },
903
+ {
904
+ "code": "PriceCurrencies"
905
+ }
906
+ ],
907
+ "description": ""
908
+ },
909
+ {
910
+ "operationCode": "ValidateGooglePlayStoreReceipt",
911
+ "details": [
912
+ {
913
+ "role": "Client",
914
+ "requestData": [
915
+ {
916
+ "code": "Receipt",
917
+ "description": "",
918
+ "optional": false,
919
+ "type": "string",
920
+ "gnType": "String",
921
+ "conditions": {
922
+ "mustNonNull": true,
923
+ "minLength": 10,
924
+ "maxLength": 2048
925
+ }
926
+ },
927
+ {
928
+ "code": "Id",
929
+ "description": "",
930
+ "optional": false,
931
+ "type": "string",
932
+ "gnType": "String",
933
+ "conditions": {
934
+ "mustNonNull": true,
935
+ "minLength": 10,
936
+ "maxLength": 11
937
+ }
938
+ },
939
+ {
940
+ "code": "Type",
941
+ "description": "",
942
+ "optional": false,
943
+ "type": "number",
944
+ "gnType": "Number",
945
+ "conditions": {
946
+ "mustInt": true
947
+ }
948
+ },
949
+ {
950
+ "code": "Log",
951
+ "description": "",
952
+ "optional": true,
953
+ "type": "string",
954
+ "gnType": "String",
955
+ "conditions": {
956
+ "mustNonNull": true,
957
+ "minLength": 1,
958
+ "maxLength": 256
959
+ }
960
+ }
961
+ ]
962
+ }
963
+ ],
964
+ "responseData": [
965
+ {
966
+ "code": "ErrorCode",
967
+ "value": [
968
+ "StoreInvalid",
969
+ "ReceiptInvalid",
970
+ "ExceptionWhenValidateReceipt",
971
+ "StoreItemNotFound",
972
+ "StoreItemHadBeenRemove",
973
+ "StoreItemHadPurchaseAndNonConsumable",
974
+ "BuyerNotFound",
975
+ "Ok"
976
+ ]
977
+ },
978
+ {
979
+ "code": "InfoResponseParameters"
980
+ },
981
+ {
982
+ "code": "StoreCurrencies"
983
+ },
984
+ {
985
+ "code": "StoreItems"
986
+ },
987
+ {
988
+ "code": "PriceCurrencies"
989
+ }
990
+ ],
991
+ "description": ""
992
+ }
993
+ ],
994
+ "models": [
995
+ {
996
+ "name": "AvatarParam",
997
+ "details": [
998
+ {
999
+ "code": "Type",
1000
+ "description": "",
1001
+ "optional": false,
1002
+ "type": "number",
1003
+ "gnType": "Number",
1004
+ "conditions": {
1005
+ "mustInt": true
1006
+ }
1007
+ },
1008
+ {
1009
+ "code": "Value",
1010
+ "description": "",
1011
+ "optional": false,
1012
+ "type": "string",
1013
+ "gnType": "String",
1014
+ "conditions": {
1015
+ "mustNonNull": true,
1016
+ "minLength": 1,
1017
+ "maxLength": 128
1018
+ }
1019
+ }
1020
+ ]
1021
+ },
1022
+ {
1023
+ "name": "CurrencyParam",
1024
+ "details": [
1025
+ {
1026
+ "code": "Key",
1027
+ "description": "",
1028
+ "optional": false,
1029
+ "type": "string",
1030
+ "gnType": "String",
1031
+ "conditions": {
1032
+ "mustNonNull": true,
1033
+ "minLength": 2,
1034
+ "maxLength": 32
1035
+ }
1036
+ },
1037
+ {
1038
+ "code": "Value",
1039
+ "description": "",
1040
+ "optional": false,
1041
+ "type": "number",
1042
+ "gnType": "Number",
1043
+ "conditions": {}
1044
+ }
1045
+ ]
1046
+ },
1047
+ {
1048
+ "name": "InAppPurchaseParam",
1049
+ "details": [
1050
+ {
1051
+ "code": "FacebookStoreId",
1052
+ "description": "",
1053
+ "optional": true,
1054
+ "type": "string",
1055
+ "gnType": "String",
1056
+ "conditions": {
1057
+ "mustNonNull": true,
1058
+ "minLength": 1,
1059
+ "maxLength": 128
1060
+ }
1061
+ },
1062
+ {
1063
+ "code": "GooglePlayStoreId",
1064
+ "description": "",
1065
+ "optional": true,
1066
+ "type": "string",
1067
+ "gnType": "String",
1068
+ "conditions": {
1069
+ "mustNonNull": true,
1070
+ "minLength": 1,
1071
+ "maxLength": 128
1072
+ }
1073
+ },
1074
+ {
1075
+ "code": "AppleAppStoreId",
1076
+ "description": "",
1077
+ "optional": true,
1078
+ "type": "string",
1079
+ "gnType": "String",
1080
+ "conditions": {
1081
+ "mustNonNull": true,
1082
+ "minLength": 1,
1083
+ "maxLength": 128
1084
+ }
1085
+ },
1086
+ {
1087
+ "code": "AnalyticsPrice",
1088
+ "description": "",
1089
+ "optional": true,
1090
+ "type": "number",
1091
+ "gnType": "Number",
1092
+ "conditions": {}
1093
+ }
1094
+ ]
1095
+ },
1096
+ {
1097
+ "name": "InfoRequestParam",
1098
+ "details": [
1099
+ {
1100
+ "code": "StoreItems",
1101
+ "description": "",
1102
+ "optional": true,
1103
+ "type": "boolean",
1104
+ "gnType": "Boolean",
1105
+ "defaultValue": "false",
1106
+ "conditions": {}
1107
+ },
1108
+ {
1109
+ "code": "StoreItemType",
1110
+ "description": "",
1111
+ "optional": true,
1112
+ "type": "boolean",
1113
+ "gnType": "Boolean",
1114
+ "defaultValue": "false",
1115
+ "conditions": {}
1116
+ },
1117
+ {
1118
+ "code": "StoreCurrencies",
1119
+ "description": "",
1120
+ "optional": true,
1121
+ "type": "boolean",
1122
+ "gnType": "Boolean",
1123
+ "defaultValue": "false",
1124
+ "conditions": {}
1125
+ },
1126
+ {
1127
+ "code": "PriceCurrencies",
1128
+ "description": "",
1129
+ "optional": true,
1130
+ "type": "boolean",
1131
+ "gnType": "Boolean",
1132
+ "defaultValue": "false",
1133
+ "conditions": {}
1134
+ },
1135
+ {
1136
+ "code": "InAppPurchase",
1137
+ "description": "",
1138
+ "optional": true,
1139
+ "type": "boolean",
1140
+ "gnType": "Boolean",
1141
+ "defaultValue": "false",
1142
+ "conditions": {}
1143
+ },
1144
+ {
1145
+ "code": "RemoveStatus",
1146
+ "description": "",
1147
+ "optional": true,
1148
+ "type": "boolean",
1149
+ "gnType": "Boolean",
1150
+ "defaultValue": "false",
1151
+ "conditions": {}
1152
+ },
1153
+ {
1154
+ "code": "DisplayName",
1155
+ "description": "",
1156
+ "optional": true,
1157
+ "type": "boolean",
1158
+ "gnType": "Boolean",
1159
+ "defaultValue": "false",
1160
+ "conditions": {}
1161
+ },
1162
+ {
1163
+ "code": "Avatar",
1164
+ "description": "",
1165
+ "optional": true,
1166
+ "type": "boolean",
1167
+ "gnType": "Boolean",
1168
+ "defaultValue": "false",
1169
+ "conditions": {}
1170
+ },
1171
+ {
1172
+ "code": "TsCreate",
1173
+ "description": "",
1174
+ "optional": true,
1175
+ "type": "boolean",
1176
+ "gnType": "Boolean",
1177
+ "defaultValue": "false",
1178
+ "conditions": {}
1179
+ },
1180
+ {
1181
+ "code": "Tags",
1182
+ "description": "",
1183
+ "optional": true,
1184
+ "type": "boolean",
1185
+ "gnType": "Boolean",
1186
+ "defaultValue": "false",
1187
+ "conditions": {}
1188
+ },
1189
+ {
1190
+ "code": "StoreDatas",
1191
+ "description": "",
1192
+ "optional": true,
1193
+ "type": "boolean",
1194
+ "gnType": "Boolean",
1195
+ "defaultValue": "false",
1196
+ "conditions": {}
1197
+ }
1198
+ ]
1199
+ },
1200
+ {
1201
+ "name": "StoreDataParam",
1202
+ "details": [
1203
+ {
1204
+ "code": "Key",
1205
+ "description": "",
1206
+ "optional": false,
1207
+ "type": "string",
1208
+ "gnType": "String",
1209
+ "conditions": {
1210
+ "mustNonNull": true,
1211
+ "minLength": 2,
1212
+ "maxLength": 32
1213
+ }
1214
+ },
1215
+ {
1216
+ "code": "Value",
1217
+ "description": "",
1218
+ "optional": false,
1219
+ "type": "any",
1220
+ "gnType": "DataMember",
1221
+ "conditions": {}
1222
+ }
1223
+ ]
1224
+ },
1225
+ {
1226
+ "name": "StoreItemParam",
1227
+ "details": [
1228
+ {
1229
+ "code": "CatalogId",
1230
+ "description": "",
1231
+ "optional": false,
1232
+ "type": "string",
1233
+ "gnType": "String",
1234
+ "conditions": {
1235
+ "minLength": 2,
1236
+ "maxLength": 32
1237
+ }
1238
+ },
1239
+ {
1240
+ "code": "ClassId",
1241
+ "description": "",
1242
+ "optional": false,
1243
+ "type": "string",
1244
+ "gnType": "String",
1245
+ "conditions": {
1246
+ "minLength": 2,
1247
+ "maxLength": 32
1248
+ }
1249
+ },
1250
+ {
1251
+ "code": "Amount",
1252
+ "description": "",
1253
+ "optional": false,
1254
+ "type": "number",
1255
+ "gnType": "Number",
1256
+ "conditions": {}
1257
+ }
1258
+ ]
1259
+ },
1260
+ {
1261
+ "name": "TagParam",
1262
+ "details": [
1263
+ {
1264
+ "code": "Key",
1265
+ "description": "",
1266
+ "optional": false,
1267
+ "type": "string",
1268
+ "gnType": "String",
1269
+ "conditions": {
1270
+ "mustNonNull": true,
1271
+ "minLength": 2,
1272
+ "maxLength": 32
1273
+ }
1274
+ },
1275
+ {
1276
+ "code": "Value",
1277
+ "description": "",
1278
+ "optional": false,
1279
+ "type": "string",
1280
+ "gnType": "String",
1281
+ "conditions": {
1282
+ "mustNonNull": true,
1283
+ "minLength": 2,
1284
+ "maxLength": 32
1285
+ }
1286
+ }
1287
+ ]
1288
+ }
1289
+ ]
1290
+ }