@xmobitea/gn-typescript-client 2.6.9 → 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 (89) hide show
  1. package/dist/gearn.js.client.js +31 -4
  2. package/dist/gearn.js.client.min.js +1 -1
  3. package/dist/index.js +31 -4
  4. package/dist/runtime/config/GNServerSettings.d.ts +3 -0
  5. package/dist/runtime/constant/Commands.d.ts +1 -0
  6. package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +2 -0
  7. package/package.json +1 -1
  8. package/responseModel/chatgpt/Authenticate.json +0 -724
  9. package/responseModel/chatgpt/CharacterPlayer.json +0 -1890
  10. package/responseModel/chatgpt/CloudScript.json +0 -254
  11. package/responseModel/chatgpt/Content.json +0 -273
  12. package/responseModel/chatgpt/Dashboard.json +0 -4110
  13. package/responseModel/chatgpt/GamePlayer.json +0 -2306
  14. package/responseModel/chatgpt/Generic.json +0 -253
  15. package/responseModel/chatgpt/Group.json +0 -1509
  16. package/responseModel/chatgpt/Inventory.json +0 -1211
  17. package/responseModel/chatgpt/MasterPlayer.json +0 -3801
  18. package/responseModel/chatgpt/Multiplayer.json +0 -634
  19. package/responseModel/chatgpt/StoreInventory.json +0 -1099
  20. package/responseModel/clients/AuthenticateModels.json +0 -271
  21. package/responseModel/clients/CharacterPlayerModels.json +0 -792
  22. package/responseModel/clients/CloudScriptModels.json +0 -191
  23. package/responseModel/clients/ContentModels.json +0 -178
  24. package/responseModel/clients/DashboardModels.json +0 -5423
  25. package/responseModel/clients/GamePlayerModels.json +0 -781
  26. package/responseModel/clients/GenericModels.json +0 -344
  27. package/responseModel/clients/GroupModels.json +0 -705
  28. package/responseModel/clients/InventoryModels.json +0 -568
  29. package/responseModel/clients/MasterPlayerModels.json +0 -1281
  30. package/responseModel/clients/MultiplayerModels.json +0 -439
  31. package/responseModel/clients/StoreInventoryModels.json +0 -971
  32. package/responseModel/finalChatgpt/Authenticate.json +0 -1475
  33. package/responseModel/finalChatgpt/CharacterPlayer.json +0 -4104
  34. package/responseModel/finalChatgpt/CloudScript.json +0 -515
  35. package/responseModel/finalChatgpt/Content.json +0 -536
  36. package/responseModel/finalChatgpt/Dashboard.json +0 -6712
  37. package/responseModel/finalChatgpt/GamePlayer.json +0 -5142
  38. package/responseModel/finalChatgpt/Generic.json +0 -333
  39. package/responseModel/finalChatgpt/Group.json +0 -3232
  40. package/responseModel/finalChatgpt/Inventory.json +0 -2606
  41. package/responseModel/finalChatgpt/MasterPlayer.json +0 -8385
  42. package/responseModel/finalChatgpt/Multiplayer.json +0 -1196
  43. package/responseModel/finalChatgpt/StoreInventory.json +0 -2085
  44. package/responseModel/finals/Authenticate.json +0 -1460
  45. package/responseModel/finals/CharacterPlayer.json +0 -3639
  46. package/responseModel/finals/CloudScript.json +0 -465
  47. package/responseModel/finals/Content.json +0 -479
  48. package/responseModel/finals/Dashboard.json +0 -6718
  49. package/responseModel/finals/GamePlayer.json +0 -4291
  50. package/responseModel/finals/Generic.json +0 -345
  51. package/responseModel/finals/Group.json +0 -2885
  52. package/responseModel/finals/Inventory.json +0 -2309
  53. package/responseModel/finals/MasterPlayer.json +0 -7018
  54. package/responseModel/finals/Multiplayer.json +0 -1082
  55. package/responseModel/finals/StoreInventory.json +0 -1979
  56. package/responseModel/finalsShort/Authenticate.json +0 -723
  57. package/responseModel/finalsShort/CharacterPlayer.json +0 -1889
  58. package/responseModel/finalsShort/CloudScript.json +0 -253
  59. package/responseModel/finalsShort/Content.json +0 -272
  60. package/responseModel/finalsShort/Dashboard.json +0 -4109
  61. package/responseModel/finalsShort/GamePlayer.json +0 -2305
  62. package/responseModel/finalsShort/Generic.json +0 -252
  63. package/responseModel/finalsShort/Group.json +0 -1508
  64. package/responseModel/finalsShort/Inventory.json +0 -1210
  65. package/responseModel/finalsShort/MasterPlayer.json +0 -3800
  66. package/responseModel/finalsShort/Multiplayer.json +0 -633
  67. package/responseModel/finalsShort/StoreInventory.json +0 -1098
  68. package/responseModel/operationResponse/AuthenticateResponseModels.json +0 -77
  69. package/responseModel/operationResponse/CharacterPlayerResponseModels.json +0 -217
  70. package/responseModel/operationResponse/CloudScriptResponseModels.json +0 -25
  71. package/responseModel/operationResponse/ContentResponseModels.json +0 -33
  72. package/responseModel/operationResponse/DashboardResponseModels.json +0 -109
  73. package/responseModel/operationResponse/GamePlayerResponseModels.json +0 -213
  74. package/responseModel/operationResponse/GroupResponseModels.json +0 -165
  75. package/responseModel/operationResponse/InventoryResponseModels.json +0 -141
  76. package/responseModel/operationResponse/MasterPlayerResponseModels.json +0 -349
  77. package/responseModel/operationResponse/MultiplayerResponseModels.json +0 -45
  78. package/responseModel/operationResponse/StoreInventoryResponseModels.json +0 -61
  79. package/responseModel/servers/Authenticate.json +0 -1328
  80. package/responseModel/servers/CharacterPlayer.json +0 -3199
  81. package/responseModel/servers/CloudScript.json +0 -278
  82. package/responseModel/servers/Content.json +0 -324
  83. package/responseModel/servers/GamePlayer.json +0 -3844
  84. package/responseModel/servers/Group.json +0 -2454
  85. package/responseModel/servers/Inventory.json +0 -1964
  86. package/responseModel/servers/MasterAdmin.json +0 -5569
  87. package/responseModel/servers/MasterPlayer.json +0 -5924
  88. package/responseModel/servers/Multiplayer.json +0 -545
  89. package/responseModel/servers/StoreInventory.json +0 -1290
@@ -1,634 +0,0 @@
1
- {
2
- "requestType": "Multiplayer",
3
- "description": "API endpoints for managing matchmaking, match creation, player ticketing, and multiplayer server metadata.",
4
- "operations": [
5
- {
6
- "operationCode": "CancelAllMatchmakingTicket",
7
- "details": [
8
- {
9
- "role": "Client",
10
- "requestData": [
11
- {
12
- "code": "QueueName",
13
- "description": "The name of the matchmaking queue in which the ticket resides.",
14
- "type": "string"
15
- }
16
- ]
17
- },
18
- {
19
- "role": "Server",
20
- "requestData": [
21
- {
22
- "code": "UserId",
23
- "description": "UserId parameter.",
24
- "type": "string"
25
- }
26
- ]
27
- }
28
- ],
29
- "description": "Cancels all matchmaking tickets associated with the player."
30
- },
31
- {
32
- "operationCode": "CancelMatchmakingTicket",
33
- "details": [
34
- {
35
- "role": "Client",
36
- "requestData": [
37
- {
38
- "code": "TicketId",
39
- "description": "The unique identifier of the matchmaking ticket.",
40
- "type": "string"
41
- }
42
- ]
43
- },
44
- {
45
- "role": "Server",
46
- "requestData": [
47
- {
48
- "code": "UserId",
49
- "description": "UserId parameter.",
50
- "type": "string"
51
- }
52
- ]
53
- }
54
- ],
55
- "description": "Cancels a specific matchmaking ticket by its unique ticket ID."
56
- },
57
- {
58
- "operationCode": "CreateMatchmakingTicket",
59
- "details": [
60
- {
61
- "role": "Client",
62
- "requestData": [
63
- {
64
- "code": "GiveUpAfterSeconds",
65
- "description": "The timeout duration after which the matchmaking ticket will expire.",
66
- "type": "number"
67
- },
68
- {
69
- "code": "QueueName",
70
- "description": "The name of the matchmaking queue in which the ticket resides.",
71
- "type": "string"
72
- },
73
- {
74
- "code": "Attribute",
75
- "description": "Attribute parameter.",
76
- "type": "GNHashtable"
77
- },
78
- {
79
- "code": "Members",
80
- "description": "A list of players to include in the matchmaking request.",
81
- "type": "Array<string>"
82
- }
83
- ]
84
- },
85
- {
86
- "role": "Server",
87
- "requestData": [
88
- {
89
- "code": "UserId",
90
- "description": "UserId parameter.",
91
- "type": "string"
92
- }
93
- ]
94
- }
95
- ],
96
- "description": "Creates a new matchmaking ticket with specified members and configuration."
97
- },
98
- {
99
- "operationCode": "GetAllMatchmakingTicket",
100
- "details": [
101
- {
102
- "role": "Client",
103
- "requestData": [
104
- {
105
- "code": "Status",
106
- "description": "Status parameter.",
107
- "type": "number"
108
- },
109
- {
110
- "code": "ReturnMember",
111
- "description": "ReturnMember parameter.",
112
- "type": "boolean",
113
- "defaultValue": "false"
114
- },
115
- {
116
- "code": "Skip",
117
- "description": "Skip parameter.",
118
- "type": "number",
119
- "defaultValue": "0"
120
- },
121
- {
122
- "code": "Limit",
123
- "description": "Limit parameter.",
124
- "type": "number",
125
- "defaultValue": "10"
126
- }
127
- ]
128
- }
129
- ],
130
- "description": "Retrieves all active matchmaking tickets for the current player or context."
131
- },
132
- {
133
- "operationCode": "GetAllMatch",
134
- "details": [
135
- {
136
- "role": "Client",
137
- "requestData": [
138
- {
139
- "code": "ReturnMember",
140
- "description": "ReturnMember parameter.",
141
- "type": "boolean",
142
- "defaultValue": "false"
143
- },
144
- {
145
- "code": "Skip",
146
- "description": "Skip parameter.",
147
- "type": "number",
148
- "defaultValue": "0"
149
- },
150
- {
151
- "code": "Limit",
152
- "description": "Limit parameter.",
153
- "type": "number",
154
- "defaultValue": "10"
155
- }
156
- ]
157
- }
158
- ],
159
- "description": "Returns all active or available matches that can be joined or observed."
160
- },
161
- {
162
- "operationCode": "GetMatchmakingTicket",
163
- "details": [
164
- {
165
- "role": "Client",
166
- "requestData": [
167
- {
168
- "code": "TicketId",
169
- "description": "The unique identifier of the matchmaking ticket.",
170
- "type": "string"
171
- },
172
- {
173
- "code": "ReturnMember",
174
- "description": "ReturnMember parameter.",
175
- "type": "boolean",
176
- "defaultValue": "false"
177
- }
178
- ]
179
- }
180
- ],
181
- "description": "Fetches detailed information for a specific matchmaking ticket."
182
- },
183
- {
184
- "operationCode": "GetMatch",
185
- "details": [
186
- {
187
- "role": "Client",
188
- "requestData": [
189
- {
190
- "code": "MatchId",
191
- "description": "The unique identifier of the match.",
192
- "type": "string"
193
- },
194
- {
195
- "code": "ReturnMember",
196
- "description": "ReturnMember parameter.",
197
- "type": "boolean",
198
- "defaultValue": "false"
199
- }
200
- ]
201
- }
202
- ],
203
- "description": "Retrieves full metadata and status of a match using its match ID."
204
- },
205
- {
206
- "operationCode": "GetQueueStatistics",
207
- "details": [
208
- {
209
- "role": "Client",
210
- "requestData": [
211
- {
212
- "code": "QueueName",
213
- "description": "The name of the matchmaking queue in which the ticket resides.",
214
- "type": "string"
215
- },
216
- {
217
- "code": "TimeInSeconds",
218
- "description": "TimeInSeconds parameter.",
219
- "type": "number"
220
- }
221
- ]
222
- }
223
- ],
224
- "description": "Returns statistics and metrics for a specific matchmaking queue."
225
- },
226
- {
227
- "operationCode": "JoinMatchmakingTicket",
228
- "details": [
229
- {
230
- "role": "Client",
231
- "requestData": [
232
- {
233
- "code": "TicketId",
234
- "description": "The unique identifier of the matchmaking ticket.",
235
- "type": "string"
236
- },
237
- {
238
- "code": "Attribute",
239
- "description": "Attribute parameter.",
240
- "type": "GNHashtable"
241
- }
242
- ]
243
- },
244
- {
245
- "role": "Server",
246
- "requestData": [
247
- {
248
- "code": "UserId",
249
- "description": "UserId parameter.",
250
- "type": "string"
251
- }
252
- ]
253
- }
254
- ],
255
- "description": "Adds a player to an existing matchmaking ticket."
256
- },
257
- {
258
- "operationCode": "ListMatchmakingTicketsForPlayer",
259
- "details": [
260
- {
261
- "role": "Client",
262
- "requestData": [
263
- {
264
- "code": "QueueName",
265
- "description": "The name of the matchmaking queue in which the ticket resides.",
266
- "type": "string"
267
- }
268
- ]
269
- },
270
- {
271
- "role": "Server",
272
- "requestData": [
273
- {
274
- "code": "UserId",
275
- "description": "UserId parameter.",
276
- "type": "string"
277
- }
278
- ]
279
- }
280
- ],
281
- "description": "Returns all tickets currently associated with a given player."
282
- }
283
- ],
284
- "models": [
285
- {
286
- "name": "CancelAllMatchmakingTicketResponseData",
287
- "details": [
288
- {
289
- "code": "TicketIds",
290
- "description": "TicketIds field in CancelAllMatchmakingTicketResponseData.",
291
- "type": "Array<string>"
292
- }
293
- ],
294
- "extends": null,
295
- "description": "Response returned after canceling all matchmaking tickets."
296
- },
297
- {
298
- "name": "CreateMatchmakingTicketResponseData",
299
- "details": [
300
- {
301
- "code": "TicketId",
302
- "description": "Unique identifier of the matchmaking ticket.",
303
- "type": "string"
304
- }
305
- ],
306
- "extends": null,
307
- "description": "Response containing the ticket ID of the newly created matchmaking ticket."
308
- },
309
- {
310
- "name": "MatchmakingTicketMember",
311
- "details": [
312
- {
313
- "code": "UserId",
314
- "description": "UserId field in MatchmakingTicketMember.",
315
- "type": "string"
316
- },
317
- {
318
- "code": "Status",
319
- "description": "Current status of the ticket or match.",
320
- "type": "number"
321
- },
322
- {
323
- "code": "Attribute",
324
- "description": "Attribute field in MatchmakingTicketMember.",
325
- "type": "GNHashtable"
326
- }
327
- ],
328
- "extends": null,
329
- "description": "Represents a single player participating in a matchmaking ticket."
330
- },
331
- {
332
- "name": "MatchmakingTicketResponseData",
333
- "details": [
334
- {
335
- "code": "TsCreate",
336
- "description": "TsCreate field in MatchmakingTicketResponseData.",
337
- "type": "number"
338
- },
339
- {
340
- "code": "CreatorId",
341
- "description": "CreatorId field in MatchmakingTicketResponseData.",
342
- "type": "string"
343
- },
344
- {
345
- "code": "GiveUpAfterSeconds",
346
- "description": "Maximum number of seconds the matchmaking system will search before expiring the ticket.",
347
- "type": "number"
348
- },
349
- {
350
- "code": "QueueName",
351
- "description": "Name of the matchmaking queue.",
352
- "type": "string"
353
- },
354
- {
355
- "code": "Status",
356
- "description": "Current status of the ticket or match.",
357
- "type": "number"
358
- },
359
- {
360
- "code": "MatchId",
361
- "description": "Unique identifier of the match.",
362
- "type": "string"
363
- },
364
- {
365
- "code": "Members",
366
- "description": "List of players included in the matchmaking ticket or match.",
367
- "type": "Array<MatchmakingTicketMember>"
368
- }
369
- ],
370
- "extends": null,
371
- "description": "Metadata about a matchmaking ticket, including status and player info."
372
- },
373
- {
374
- "name": "MatchmakingTicketWithTicketIdResponseData",
375
- "details": [
376
- {
377
- "code": "TicketId",
378
- "description": "Unique identifier of the matchmaking ticket.",
379
- "type": "string"
380
- },
381
- {
382
- "code": "TsCreate",
383
- "description": "TsCreate field in MatchmakingTicketWithTicketIdResponseData.",
384
- "type": "number"
385
- },
386
- {
387
- "code": "CreatorId",
388
- "description": "CreatorId field in MatchmakingTicketWithTicketIdResponseData.",
389
- "type": "string"
390
- },
391
- {
392
- "code": "GiveUpAfterSeconds",
393
- "description": "Maximum number of seconds the matchmaking system will search before expiring the ticket.",
394
- "type": "number"
395
- },
396
- {
397
- "code": "QueueName",
398
- "description": "Name of the matchmaking queue.",
399
- "type": "string"
400
- },
401
- {
402
- "code": "Status",
403
- "description": "Current status of the ticket or match.",
404
- "type": "number"
405
- },
406
- {
407
- "code": "MatchId",
408
- "description": "Unique identifier of the match.",
409
- "type": "string"
410
- },
411
- {
412
- "code": "Members",
413
- "description": "List of players included in the matchmaking ticket or match.",
414
- "type": "Array<MatchmakingTicketMember>"
415
- }
416
- ],
417
- "extends": null,
418
- "description": "Matchmaking ticket information paired with its ticket ID."
419
- },
420
- {
421
- "name": "GetMatchmakingTicketResponseData",
422
- "details": [
423
- {
424
- "code": "MatchmakingTicket",
425
- "description": "MatchmakingTicket field in GetMatchmakingTicketResponseData.",
426
- "type": "MatchmakingTicketResponseData"
427
- }
428
- ],
429
- "extends": null,
430
- "description": "Full ticket detail returned by GetMatchmakingTicket."
431
- },
432
- {
433
- "name": "MatchMember",
434
- "details": [
435
- {
436
- "code": "UserId",
437
- "description": "UserId field in MatchMember.",
438
- "type": "string"
439
- },
440
- {
441
- "code": "TeamId",
442
- "description": "TeamId field in MatchMember.",
443
- "type": "string"
444
- },
445
- {
446
- "code": "Attribute",
447
- "description": "Attribute field in MatchMember.",
448
- "type": "GNHashtable"
449
- }
450
- ],
451
- "extends": null,
452
- "description": "Represents a participant in a match, including identifiers and attributes."
453
- },
454
- {
455
- "name": "PortInfo",
456
- "details": [
457
- {
458
- "code": "Name",
459
- "description": "Name field in PortInfo.",
460
- "type": "string"
461
- },
462
- {
463
- "code": "PublicPort",
464
- "description": "PublicPort field in PortInfo.",
465
- "type": "number"
466
- },
467
- {
468
- "code": "PrivatePort",
469
- "description": "PrivatePort field in PortInfo.",
470
- "type": "number"
471
- },
472
- {
473
- "code": "Protocol",
474
- "description": "Protocol field in PortInfo.",
475
- "type": "number"
476
- }
477
- ],
478
- "extends": null,
479
- "description": "Networking port configuration for multiplayer server communication."
480
- },
481
- {
482
- "name": "ServerDetail",
483
- "details": [
484
- {
485
- "code": "IpV4Address",
486
- "description": "IpV4Address field in ServerDetail.",
487
- "type": "string"
488
- },
489
- {
490
- "code": "Ports",
491
- "description": "Network ports allocated for player-server communication.",
492
- "type": "Array<PortInfo>"
493
- }
494
- ],
495
- "extends": null,
496
- "description": "Information about the allocated game server, including connection endpoints."
497
- },
498
- {
499
- "name": "MatchResponseData",
500
- "details": [
501
- {
502
- "code": "TsCreate",
503
- "description": "TsCreate field in MatchResponseData.",
504
- "type": "number"
505
- },
506
- {
507
- "code": "QueueName",
508
- "description": "Name of the matchmaking queue.",
509
- "type": "string"
510
- },
511
- {
512
- "code": "Members",
513
- "description": "List of players included in the matchmaking ticket or match.",
514
- "type": "Array<MatchMember>"
515
- },
516
- {
517
- "code": "TimeToMatchInSeconds",
518
- "description": "TimeToMatchInSeconds field in MatchResponseData.",
519
- "type": "number"
520
- }
521
- ],
522
- "extends": null,
523
- "description": "Metadata about a completed or ongoing match."
524
- },
525
- {
526
- "name": "MatchWithMatchIdResponseData",
527
- "details": [
528
- {
529
- "code": "MatchId",
530
- "description": "Unique identifier of the match.",
531
- "type": "string"
532
- },
533
- {
534
- "code": "TsCreate",
535
- "description": "TsCreate field in MatchWithMatchIdResponseData.",
536
- "type": "number"
537
- },
538
- {
539
- "code": "QueueName",
540
- "description": "Name of the matchmaking queue.",
541
- "type": "string"
542
- },
543
- {
544
- "code": "Members",
545
- "description": "List of players included in the matchmaking ticket or match.",
546
- "type": "Array<MatchMember>"
547
- },
548
- {
549
- "code": "TimeToMatchInSeconds",
550
- "description": "TimeToMatchInSeconds field in MatchWithMatchIdResponseData.",
551
- "type": "number"
552
- }
553
- ],
554
- "extends": null,
555
- "description": "Match data referenced by its unique match ID."
556
- },
557
- {
558
- "name": "GetMatchResponseData",
559
- "details": [
560
- {
561
- "code": "Match",
562
- "description": "Match field in GetMatchResponseData.",
563
- "type": "MatchResponseData"
564
- }
565
- ],
566
- "extends": null,
567
- "description": "Response payload for GetMatch, including server and member info."
568
- },
569
- {
570
- "name": "GetQueueStatisticsResponseData",
571
- "details": [
572
- {
573
- "code": "PendingMemberCount",
574
- "description": "PendingMemberCount field in GetQueueStatisticsResponseData.",
575
- "type": "number"
576
- },
577
- {
578
- "code": "PendingTicketCount",
579
- "description": "PendingTicketCount field in GetQueueStatisticsResponseData.",
580
- "type": "number"
581
- },
582
- {
583
- "code": "AverageMatchmakingTimeInSeconds",
584
- "description": "AverageMatchmakingTimeInSeconds field in GetQueueStatisticsResponseData.",
585
- "type": "number"
586
- }
587
- ],
588
- "extends": null,
589
- "description": "Statistics for a matchmaking queue, such as average wait times."
590
- },
591
- {
592
- "name": "ListMatchmakingTicketsForPlayerResponseData",
593
- "details": [
594
- {
595
- "code": "TicketIds",
596
- "description": "TicketIds field in ListMatchmakingTicketsForPlayerResponseData.",
597
- "type": "Array<string>"
598
- }
599
- ],
600
- "extends": null,
601
- "description": "List of all active or pending tickets for a player."
602
- },
603
- {
604
- "name": "GetAllMatchResponseData",
605
- "details": [
606
- {
607
- "code": "Results",
608
- "description": "Results field in GetAllMatchResponseData.",
609
- "type": "Array<MatchWithMatchIdResponseData>"
610
- }
611
- ],
612
- "extends": null,
613
- "description": "List of all available matches in the current environment."
614
- },
615
- {
616
- "name": "GetAllMatchmakingTicketResponseData",
617
- "details": [
618
- {
619
- "code": "Results",
620
- "description": "Results field in GetAllMatchmakingTicketResponseData.",
621
- "type": "Array<MatchmakingTicketWithTicketIdResponseData>"
622
- }
623
- ],
624
- "extends": null,
625
- "description": "Returns all matchmaking tickets in the environment."
626
- },
627
- {
628
- "name": "EmptyResponseData",
629
- "details": [],
630
- "extends": null,
631
- "description": "Standard response used when no data is returned upon success."
632
- }
633
- ]
634
- }