@takaro/apiclient 0.0.0-dev.5ce9265 → 0.0.0-dev.5e8eaed
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.
- package/dist/.source-hash +1 -1
- package/dist/generated/api.d.ts +10018 -4738
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +2236 -170
- package/dist/generated/api.js.map +1 -1
- package/dist/generated/base.d.ts.map +1 -1
- package/dist/generated/base.js.map +1 -1
- package/dist/generated/common.d.ts.map +1 -1
- package/dist/generated/common.js.map +1 -1
- package/dist/generated/configuration.d.ts.map +1 -1
- package/dist/generated/configuration.js.map +1 -1
- package/dist/generated-management/api.d.ts +8930 -6300
- package/dist/generated-management/api.d.ts.map +1 -1
- package/dist/generated-management/api.js +386 -0
- package/dist/generated-management/api.js.map +1 -1
- package/dist/generated-management/base.d.ts.map +1 -1
- package/dist/generated-management/base.js.map +1 -1
- package/dist/generated-management/common.d.ts.map +1 -1
- package/dist/generated-management/common.js.map +1 -1
- package/dist/generated-management/configuration.d.ts.map +1 -1
- package/dist/generated-management/configuration.js.map +1 -1
- package/dist/lib/adminClient.d.ts.map +1 -1
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/client.d.ts +3 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +22 -11
- package/dist/lib/client.js.map +1 -1
- package/dist/lib/distributorClient.d.ts.map +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.d.ts.map +1 -1
- package/package.json +5 -4
package/dist/generated/api.js
CHANGED
|
@@ -59,6 +59,20 @@ export const ApiKeySearchInputDTOSortDirectionEnum = {
|
|
|
59
59
|
Asc: 'asc',
|
|
60
60
|
Desc: 'desc',
|
|
61
61
|
};
|
|
62
|
+
export const AreaGainDTOCauseEnum = {
|
|
63
|
+
Pickup: 'pickup',
|
|
64
|
+
Drop: 'drop',
|
|
65
|
+
Craft: 'craft',
|
|
66
|
+
Loot: 'loot',
|
|
67
|
+
Trade: 'trade',
|
|
68
|
+
Death: 'death',
|
|
69
|
+
Other: 'other',
|
|
70
|
+
Unknown: 'unknown',
|
|
71
|
+
};
|
|
72
|
+
export const AreaGainDTOPositionSourceEnum = {
|
|
73
|
+
Reported: 'reported',
|
|
74
|
+
Sampled: 'sampled',
|
|
75
|
+
};
|
|
62
76
|
export const BanSearchInputDTOExtendEnum = {
|
|
63
77
|
Player: 'player',
|
|
64
78
|
GameServer: 'gameServer',
|
|
@@ -267,6 +281,7 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
267
281
|
SettingsSet: 'settings-set',
|
|
268
282
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
269
283
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
284
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
270
285
|
ServerStatusChanged: 'server-status-changed',
|
|
271
286
|
ModuleCreated: 'module-created',
|
|
272
287
|
ModuleUpdated: 'module-updated',
|
|
@@ -281,6 +296,8 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
281
296
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
282
297
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
283
298
|
PlayerLinked: 'player-linked',
|
|
299
|
+
PlayerUnlinked: 'player-unlinked',
|
|
300
|
+
PlayerMerged: 'player-merged',
|
|
284
301
|
GameserverCreated: 'gameserver-created',
|
|
285
302
|
GameserverUpdated: 'gameserver-updated',
|
|
286
303
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -290,6 +307,7 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
290
307
|
PlayerDeleted: 'player-deleted',
|
|
291
308
|
ShopActionExecuted: 'shop-action-executed',
|
|
292
309
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
310
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
293
311
|
EventRateLimited: 'event-rate-limited',
|
|
294
312
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
295
313
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -327,6 +345,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
|
|
|
327
345
|
SettingsSet: 'settings-set',
|
|
328
346
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
329
347
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
348
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
330
349
|
ServerStatusChanged: 'server-status-changed',
|
|
331
350
|
ModuleCreated: 'module-created',
|
|
332
351
|
ModuleUpdated: 'module-updated',
|
|
@@ -341,6 +360,8 @@ export const EventExploreFiltersDTOEventNameEnum = {
|
|
|
341
360
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
342
361
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
343
362
|
PlayerLinked: 'player-linked',
|
|
363
|
+
PlayerUnlinked: 'player-unlinked',
|
|
364
|
+
PlayerMerged: 'player-merged',
|
|
344
365
|
GameserverCreated: 'gameserver-created',
|
|
345
366
|
GameserverUpdated: 'gameserver-updated',
|
|
346
367
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -350,6 +371,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
|
|
|
350
371
|
PlayerDeleted: 'player-deleted',
|
|
351
372
|
ShopActionExecuted: 'shop-action-executed',
|
|
352
373
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
374
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
353
375
|
EventRateLimited: 'event-rate-limited',
|
|
354
376
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
355
377
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -371,6 +393,15 @@ export const EventExploreFiltersDTOEventNameEnum = {
|
|
|
371
393
|
PlayerDeath: 'player-death',
|
|
372
394
|
EntityKilled: 'entity-killed',
|
|
373
395
|
};
|
|
396
|
+
export const EventInventoryChangedCauseEnum = {
|
|
397
|
+
Pickup: 'pickup',
|
|
398
|
+
Drop: 'drop',
|
|
399
|
+
Craft: 'craft',
|
|
400
|
+
Loot: 'loot',
|
|
401
|
+
Trade: 'trade',
|
|
402
|
+
Death: 'death',
|
|
403
|
+
Other: 'other',
|
|
404
|
+
};
|
|
374
405
|
export const EventOutputDTOEventNameEnum = {
|
|
375
406
|
RoleAssigned: 'role-assigned',
|
|
376
407
|
RoleRemoved: 'role-removed',
|
|
@@ -387,6 +418,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
387
418
|
SettingsSet: 'settings-set',
|
|
388
419
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
389
420
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
421
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
390
422
|
ServerStatusChanged: 'server-status-changed',
|
|
391
423
|
ModuleCreated: 'module-created',
|
|
392
424
|
ModuleUpdated: 'module-updated',
|
|
@@ -401,6 +433,8 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
401
433
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
402
434
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
403
435
|
PlayerLinked: 'player-linked',
|
|
436
|
+
PlayerUnlinked: 'player-unlinked',
|
|
437
|
+
PlayerMerged: 'player-merged',
|
|
404
438
|
GameserverCreated: 'gameserver-created',
|
|
405
439
|
GameserverUpdated: 'gameserver-updated',
|
|
406
440
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -410,6 +444,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
410
444
|
PlayerDeleted: 'player-deleted',
|
|
411
445
|
ShopActionExecuted: 'shop-action-executed',
|
|
412
446
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
447
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
413
448
|
EventRateLimited: 'event-rate-limited',
|
|
414
449
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
415
450
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -447,6 +482,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
447
482
|
SettingsSet: 'settings-set',
|
|
448
483
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
449
484
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
485
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
450
486
|
ServerStatusChanged: 'server-status-changed',
|
|
451
487
|
ModuleCreated: 'module-created',
|
|
452
488
|
ModuleUpdated: 'module-updated',
|
|
@@ -461,6 +497,8 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
461
497
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
462
498
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
463
499
|
PlayerLinked: 'player-linked',
|
|
500
|
+
PlayerUnlinked: 'player-unlinked',
|
|
501
|
+
PlayerMerged: 'player-merged',
|
|
464
502
|
GameserverCreated: 'gameserver-created',
|
|
465
503
|
GameserverUpdated: 'gameserver-updated',
|
|
466
504
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -470,6 +508,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
470
508
|
PlayerDeleted: 'player-deleted',
|
|
471
509
|
ShopActionExecuted: 'shop-action-executed',
|
|
472
510
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
511
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
473
512
|
EventRateLimited: 'event-rate-limited',
|
|
474
513
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
475
514
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -586,6 +625,7 @@ export const GetJobInputDTOTypeEnum = {
|
|
|
586
625
|
SyncItems: 'syncItems',
|
|
587
626
|
SyncEntities: 'syncEntities',
|
|
588
627
|
SyncBans: 'syncBans',
|
|
628
|
+
SyncLocations: 'syncLocations',
|
|
589
629
|
SyncMapImages: 'syncMapImages',
|
|
590
630
|
SyncMapUploads: 'syncMapUploads',
|
|
591
631
|
SyncGameIcons: 'syncGameIcons',
|
|
@@ -595,6 +635,7 @@ export const GetJobInputDTOTypeEnum = {
|
|
|
595
635
|
CleanRevokedApiKeys: 'cleanRevokedApiKeys',
|
|
596
636
|
CleanExecutionClaims: 'cleanExecutionClaims',
|
|
597
637
|
DeleteClickHouseEvents: 'deleteClickHouseEvents',
|
|
638
|
+
RepointClickHouseEvents: 'repointClickHouseEvents',
|
|
598
639
|
CleanConnectorMigrations: 'cleanConnectorMigrations',
|
|
599
640
|
};
|
|
600
641
|
export const GetSettingsInputKeysEnum = {
|
|
@@ -643,6 +684,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
643
684
|
SettingsSet: 'settings-set',
|
|
644
685
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
645
686
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
687
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
646
688
|
ServerStatusChanged: 'server-status-changed',
|
|
647
689
|
ModuleCreated: 'module-created',
|
|
648
690
|
ModuleUpdated: 'module-updated',
|
|
@@ -657,6 +699,8 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
657
699
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
658
700
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
659
701
|
PlayerLinked: 'player-linked',
|
|
702
|
+
PlayerUnlinked: 'player-unlinked',
|
|
703
|
+
PlayerMerged: 'player-merged',
|
|
660
704
|
GameserverCreated: 'gameserver-created',
|
|
661
705
|
GameserverUpdated: 'gameserver-updated',
|
|
662
706
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -666,6 +710,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
666
710
|
PlayerDeleted: 'player-deleted',
|
|
667
711
|
ShopActionExecuted: 'shop-action-executed',
|
|
668
712
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
713
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
669
714
|
EventRateLimited: 'event-rate-limited',
|
|
670
715
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
671
716
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -705,6 +750,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
705
750
|
SettingsSet: 'settings-set',
|
|
706
751
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
707
752
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
753
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
708
754
|
ServerStatusChanged: 'server-status-changed',
|
|
709
755
|
ModuleCreated: 'module-created',
|
|
710
756
|
ModuleUpdated: 'module-updated',
|
|
@@ -719,6 +765,8 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
719
765
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
720
766
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
721
767
|
PlayerLinked: 'player-linked',
|
|
768
|
+
PlayerUnlinked: 'player-unlinked',
|
|
769
|
+
PlayerMerged: 'player-merged',
|
|
722
770
|
GameserverCreated: 'gameserver-created',
|
|
723
771
|
GameserverUpdated: 'gameserver-updated',
|
|
724
772
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -728,6 +776,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
728
776
|
PlayerDeleted: 'player-deleted',
|
|
729
777
|
ShopActionExecuted: 'shop-action-executed',
|
|
730
778
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
779
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
731
780
|
EventRateLimited: 'event-rate-limited',
|
|
732
781
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
733
782
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -767,6 +816,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
767
816
|
SettingsSet: 'settings-set',
|
|
768
817
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
769
818
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
819
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
770
820
|
ServerStatusChanged: 'server-status-changed',
|
|
771
821
|
ModuleCreated: 'module-created',
|
|
772
822
|
ModuleUpdated: 'module-updated',
|
|
@@ -781,6 +831,8 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
781
831
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
782
832
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
783
833
|
PlayerLinked: 'player-linked',
|
|
834
|
+
PlayerUnlinked: 'player-unlinked',
|
|
835
|
+
PlayerMerged: 'player-merged',
|
|
784
836
|
GameserverCreated: 'gameserver-created',
|
|
785
837
|
GameserverUpdated: 'gameserver-updated',
|
|
786
838
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -790,6 +842,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
790
842
|
PlayerDeleted: 'player-deleted',
|
|
791
843
|
ShopActionExecuted: 'shop-action-executed',
|
|
792
844
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
845
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
793
846
|
EventRateLimited: 'event-rate-limited',
|
|
794
847
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
795
848
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -837,6 +890,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
837
890
|
SettingsSet: 'settings-set',
|
|
838
891
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
839
892
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
893
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
840
894
|
ServerStatusChanged: 'server-status-changed',
|
|
841
895
|
ModuleCreated: 'module-created',
|
|
842
896
|
ModuleUpdated: 'module-updated',
|
|
@@ -851,6 +905,8 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
851
905
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
852
906
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
853
907
|
PlayerLinked: 'player-linked',
|
|
908
|
+
PlayerUnlinked: 'player-unlinked',
|
|
909
|
+
PlayerMerged: 'player-merged',
|
|
854
910
|
GameserverCreated: 'gameserver-created',
|
|
855
911
|
GameserverUpdated: 'gameserver-updated',
|
|
856
912
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -860,6 +916,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
860
916
|
PlayerDeleted: 'player-deleted',
|
|
861
917
|
ShopActionExecuted: 'shop-action-executed',
|
|
862
918
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
919
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
863
920
|
EventRateLimited: 'event-rate-limited',
|
|
864
921
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
865
922
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -899,6 +956,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
899
956
|
SettingsSet: 'settings-set',
|
|
900
957
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
901
958
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
959
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
902
960
|
ServerStatusChanged: 'server-status-changed',
|
|
903
961
|
ModuleCreated: 'module-created',
|
|
904
962
|
ModuleUpdated: 'module-updated',
|
|
@@ -913,6 +971,8 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
913
971
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
914
972
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
915
973
|
PlayerLinked: 'player-linked',
|
|
974
|
+
PlayerUnlinked: 'player-unlinked',
|
|
975
|
+
PlayerMerged: 'player-merged',
|
|
916
976
|
GameserverCreated: 'gameserver-created',
|
|
917
977
|
GameserverUpdated: 'gameserver-updated',
|
|
918
978
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -922,6 +982,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
922
982
|
PlayerDeleted: 'player-deleted',
|
|
923
983
|
ShopActionExecuted: 'shop-action-executed',
|
|
924
984
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
985
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
925
986
|
EventRateLimited: 'event-rate-limited',
|
|
926
987
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
927
988
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -966,6 +1027,7 @@ export const IHookEventTypeEnum = {
|
|
|
966
1027
|
SettingsSet: 'settings-set',
|
|
967
1028
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
968
1029
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
1030
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
969
1031
|
ServerStatusChanged: 'server-status-changed',
|
|
970
1032
|
ModuleCreated: 'module-created',
|
|
971
1033
|
ModuleUpdated: 'module-updated',
|
|
@@ -980,6 +1042,8 @@ export const IHookEventTypeEnum = {
|
|
|
980
1042
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
981
1043
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
982
1044
|
PlayerLinked: 'player-linked',
|
|
1045
|
+
PlayerUnlinked: 'player-unlinked',
|
|
1046
|
+
PlayerMerged: 'player-merged',
|
|
983
1047
|
GameserverCreated: 'gameserver-created',
|
|
984
1048
|
GameserverUpdated: 'gameserver-updated',
|
|
985
1049
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -989,6 +1053,7 @@ export const IHookEventTypeEnum = {
|
|
|
989
1053
|
PlayerDeleted: 'player-deleted',
|
|
990
1054
|
ShopActionExecuted: 'shop-action-executed',
|
|
991
1055
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
1056
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
992
1057
|
EventRateLimited: 'event-rate-limited',
|
|
993
1058
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
994
1059
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -1009,6 +1074,29 @@ export const ITakaroQuerySortDirectionEnum = {
|
|
|
1009
1074
|
Asc: 'asc',
|
|
1010
1075
|
Desc: 'desc',
|
|
1011
1076
|
};
|
|
1077
|
+
export const InventoryChangeCounterpartDTOKindEnum = {
|
|
1078
|
+
Container: 'container',
|
|
1079
|
+
Player: 'player',
|
|
1080
|
+
};
|
|
1081
|
+
export const InventoryChangeDTOChangeTypeEnum = {
|
|
1082
|
+
Added: 'added',
|
|
1083
|
+
Removed: 'removed',
|
|
1084
|
+
Changed: 'changed',
|
|
1085
|
+
};
|
|
1086
|
+
export const InventoryChangeDTOCauseEnum = {
|
|
1087
|
+
Pickup: 'pickup',
|
|
1088
|
+
Drop: 'drop',
|
|
1089
|
+
Craft: 'craft',
|
|
1090
|
+
Loot: 'loot',
|
|
1091
|
+
Trade: 'trade',
|
|
1092
|
+
Death: 'death',
|
|
1093
|
+
Other: 'other',
|
|
1094
|
+
Unknown: 'unknown',
|
|
1095
|
+
};
|
|
1096
|
+
export const InventoryCounterpartDTOKindEnum = {
|
|
1097
|
+
Container: 'container',
|
|
1098
|
+
Player: 'player',
|
|
1099
|
+
};
|
|
1012
1100
|
export const InviteLinkCreateResultDTOStatusEnum = {
|
|
1013
1101
|
Active: 'ACTIVE',
|
|
1014
1102
|
Revoked: 'REVOKED',
|
|
@@ -1031,6 +1119,21 @@ export const InviteLinkSearchInputDTOSortDirectionEnum = {
|
|
|
1031
1119
|
Asc: 'asc',
|
|
1032
1120
|
Desc: 'desc',
|
|
1033
1121
|
};
|
|
1122
|
+
export const ItemHolderChangeDTOChangeTypeEnum = {
|
|
1123
|
+
Added: 'added',
|
|
1124
|
+
Removed: 'removed',
|
|
1125
|
+
Changed: 'changed',
|
|
1126
|
+
};
|
|
1127
|
+
export const ItemHolderChangeDTOCauseEnum = {
|
|
1128
|
+
Pickup: 'pickup',
|
|
1129
|
+
Drop: 'drop',
|
|
1130
|
+
Craft: 'craft',
|
|
1131
|
+
Loot: 'loot',
|
|
1132
|
+
Trade: 'trade',
|
|
1133
|
+
Death: 'death',
|
|
1134
|
+
Other: 'other',
|
|
1135
|
+
Unknown: 'unknown',
|
|
1136
|
+
};
|
|
1034
1137
|
export const ItemSearchInputDTOExtendEnum = {
|
|
1035
1138
|
Gameserver: 'gameserver',
|
|
1036
1139
|
};
|
|
@@ -1064,6 +1167,10 @@ export const JobStatusOutputDTOStatusEnum = {
|
|
|
1064
1167
|
Waiting: 'waiting',
|
|
1065
1168
|
WaitingChildren: 'waiting-children',
|
|
1066
1169
|
};
|
|
1170
|
+
export const LocationSearchInputDTOSortDirectionEnum = {
|
|
1171
|
+
Asc: 'asc',
|
|
1172
|
+
Desc: 'desc',
|
|
1173
|
+
};
|
|
1067
1174
|
export const LoginQueryParamsLocaleEnum = {
|
|
1068
1175
|
En: 'en',
|
|
1069
1176
|
Nl: 'nl',
|
|
@@ -1129,6 +1236,12 @@ export const MetaFilterGroupOrLeafDTOOperatorEnum = {
|
|
|
1129
1236
|
LessThan: '<',
|
|
1130
1237
|
ArrayContains: 'array_contains',
|
|
1131
1238
|
};
|
|
1239
|
+
export const ModuleInstallationComponentKpiDTOTypeEnum = {
|
|
1240
|
+
Hook: 'hook',
|
|
1241
|
+
Cron: 'cron',
|
|
1242
|
+
Command: 'command',
|
|
1243
|
+
ShopAction: 'shopAction',
|
|
1244
|
+
};
|
|
1132
1245
|
export const ModuleInstallationKpisQueryDTOPeriodEnum = {
|
|
1133
1246
|
_24h: '24h',
|
|
1134
1247
|
_7d: '7d',
|
|
@@ -1183,6 +1296,8 @@ export const PERMISSIONS = {
|
|
|
1183
1296
|
ViewDiscordInfo: 'VIEW_DISCORD_INFO',
|
|
1184
1297
|
SendDiscordMessage: 'SEND_DISCORD_MESSAGE',
|
|
1185
1298
|
ManageApiKeys: 'MANAGE_API_KEYS',
|
|
1299
|
+
ReadMap: 'READ_MAP',
|
|
1300
|
+
ReadTracking: 'READ_TRACKING',
|
|
1186
1301
|
};
|
|
1187
1302
|
export const ParamKeyKeyEnum = {
|
|
1188
1303
|
CommandPrefix: 'commandPrefix',
|
|
@@ -1198,6 +1313,39 @@ export const ParamKeyKeyEnum = {
|
|
|
1198
1313
|
UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
|
|
1199
1314
|
TakaroAiEnabled: 'takaroAiEnabled',
|
|
1200
1315
|
};
|
|
1316
|
+
export const PlayerMergeGameServerDTOOutcomeEnum = {
|
|
1317
|
+
Moved: 'moved',
|
|
1318
|
+
Combined: 'combined',
|
|
1319
|
+
};
|
|
1320
|
+
export const PlayerMergeGameServerDTOKeptPogFromEnum = {
|
|
1321
|
+
Survivor: 'survivor',
|
|
1322
|
+
Absorbed: 'absorbed',
|
|
1323
|
+
};
|
|
1324
|
+
export const PlayerMergeGameServerDTOInventoryFromEnum = {
|
|
1325
|
+
Survivor: 'survivor',
|
|
1326
|
+
Absorbed: 'absorbed',
|
|
1327
|
+
};
|
|
1328
|
+
export const PlayerMergeIdentifierDTOIdentifierEnum = {
|
|
1329
|
+
SteamId: 'steamId',
|
|
1330
|
+
EpicOnlineServicesId: 'epicOnlineServicesId',
|
|
1331
|
+
XboxLiveId: 'xboxLiveId',
|
|
1332
|
+
PlatformId: 'platformId',
|
|
1333
|
+
};
|
|
1334
|
+
export const PlayerMergeIdentifierDTOFromEnum = {
|
|
1335
|
+
Survivor: 'survivor',
|
|
1336
|
+
Absorbed: 'absorbed',
|
|
1337
|
+
};
|
|
1338
|
+
export const PlayerMergeRefusalDTOCodeEnum = {
|
|
1339
|
+
SamePlayer: 'same-player',
|
|
1340
|
+
IdentifierConflict: 'identifier-conflict',
|
|
1341
|
+
FixturePlayer: 'fixture-player',
|
|
1342
|
+
};
|
|
1343
|
+
export const PlayerMergeRefusalDTOIdentifierEnum = {
|
|
1344
|
+
SteamId: 'steamId',
|
|
1345
|
+
EpicOnlineServicesId: 'epicOnlineServicesId',
|
|
1346
|
+
XboxLiveId: 'xboxLiveId',
|
|
1347
|
+
PlatformId: 'platformId',
|
|
1348
|
+
};
|
|
1201
1349
|
export const PlayerOnGameServerSearchInputDTOExtendEnum = {
|
|
1202
1350
|
GameServer: 'gameServer',
|
|
1203
1351
|
Player: 'player',
|
|
@@ -1206,6 +1354,24 @@ export const PlayerOnGameServerSearchInputDTOSortDirectionEnum = {
|
|
|
1206
1354
|
Asc: 'asc',
|
|
1207
1355
|
Desc: 'desc',
|
|
1208
1356
|
};
|
|
1357
|
+
export const PlayerPortalLinkCodeDTOStatusEnum = {
|
|
1358
|
+
Valid: 'valid',
|
|
1359
|
+
Expired: 'expired',
|
|
1360
|
+
Invalid: 'invalid',
|
|
1361
|
+
};
|
|
1362
|
+
export const PlayerPortalLinkDTOSourceEnum = {
|
|
1363
|
+
GameCode: 'game-code',
|
|
1364
|
+
WebCode: 'web-code',
|
|
1365
|
+
SteamAuto: 'steam-auto',
|
|
1366
|
+
Admin: 'admin',
|
|
1367
|
+
Unknown: 'unknown',
|
|
1368
|
+
};
|
|
1369
|
+
export const PlayerPortalServerDTOGameServerTypeEnum = {
|
|
1370
|
+
Sevendaystodie: 'SEVENDAYSTODIE',
|
|
1371
|
+
Rust: 'RUST',
|
|
1372
|
+
Generic: 'GENERIC',
|
|
1373
|
+
Mock: 'MOCK',
|
|
1374
|
+
};
|
|
1209
1375
|
export const PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum = {
|
|
1210
1376
|
Global: 'global',
|
|
1211
1377
|
GameServer: 'gameServer',
|
|
@@ -1220,6 +1386,23 @@ export const PlayerSearchInputDTOSortDirectionEnum = {
|
|
|
1220
1386
|
Asc: 'asc',
|
|
1221
1387
|
Desc: 'desc',
|
|
1222
1388
|
};
|
|
1389
|
+
export const PogProgressionOutputDTOSourceEnum = {
|
|
1390
|
+
Server: 'server',
|
|
1391
|
+
ClientReported: 'client-reported',
|
|
1392
|
+
};
|
|
1393
|
+
export const PositionAreaShapeDTOTypeEnum = {
|
|
1394
|
+
Circle: 'circle',
|
|
1395
|
+
Rectangle: 'rectangle',
|
|
1396
|
+
Polygon: 'polygon',
|
|
1397
|
+
};
|
|
1398
|
+
export const ProgressionHistoryPointDTOKindEnum = {
|
|
1399
|
+
LevelChange: 'level-change',
|
|
1400
|
+
Experience: 'experience',
|
|
1401
|
+
};
|
|
1402
|
+
export const ProgressionHistoryPointDTOSourceEnum = {
|
|
1403
|
+
Server: 'server',
|
|
1404
|
+
ClientReported: 'client-reported',
|
|
1405
|
+
};
|
|
1223
1406
|
export const RecentOrderDTOStatusEnum = {
|
|
1224
1407
|
Completed: 'COMPLETED',
|
|
1225
1408
|
Paid: 'PAID',
|
|
@@ -1382,16 +1565,76 @@ export const TakaroEventDomainCreatedOriginEnum = {
|
|
|
1382
1565
|
Subscription: 'subscription',
|
|
1383
1566
|
AdminSecret: 'admin_secret',
|
|
1384
1567
|
};
|
|
1568
|
+
export const TakaroEventInventoryCounterpartKindEnum = {
|
|
1569
|
+
Container: 'container',
|
|
1570
|
+
Player: 'player',
|
|
1571
|
+
};
|
|
1385
1572
|
export const TakaroEventItemsGivenLineResultEnum = {
|
|
1386
1573
|
Delivered: 'DELIVERED',
|
|
1387
1574
|
Failed: 'FAILED',
|
|
1388
1575
|
Unknown: 'UNKNOWN',
|
|
1389
1576
|
};
|
|
1577
|
+
export const TakaroEventPlayerIdentityConflictUnwrittenIdentifiersEnum = {
|
|
1578
|
+
SteamId: 'steamId',
|
|
1579
|
+
EpicOnlineServicesId: 'epicOnlineServicesId',
|
|
1580
|
+
XboxLiveId: 'xboxLiveId',
|
|
1581
|
+
PlatformId: 'platformId',
|
|
1582
|
+
};
|
|
1583
|
+
export const TakaroEventPlayerIdentityConflictMatchMatchedOnEnum = {
|
|
1584
|
+
SteamId: 'steamId',
|
|
1585
|
+
EpicOnlineServicesId: 'epicOnlineServicesId',
|
|
1586
|
+
XboxLiveId: 'xboxLiveId',
|
|
1587
|
+
PlatformId: 'platformId',
|
|
1588
|
+
};
|
|
1390
1589
|
export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
|
|
1391
1590
|
Added: 'added',
|
|
1392
1591
|
Removed: 'removed',
|
|
1393
1592
|
Changed: 'changed',
|
|
1394
1593
|
};
|
|
1594
|
+
export const TakaroEventPlayerInventoryChangedCauseEnum = {
|
|
1595
|
+
Pickup: 'pickup',
|
|
1596
|
+
Drop: 'drop',
|
|
1597
|
+
Craft: 'craft',
|
|
1598
|
+
Loot: 'loot',
|
|
1599
|
+
Trade: 'trade',
|
|
1600
|
+
Death: 'death',
|
|
1601
|
+
Other: 'other',
|
|
1602
|
+
};
|
|
1603
|
+
export const TakaroEventPlayerLevelChangedDirectionEnum = {
|
|
1604
|
+
Up: 'up',
|
|
1605
|
+
Down: 'down',
|
|
1606
|
+
};
|
|
1607
|
+
export const TakaroEventPlayerLevelChangedSourceEnum = {
|
|
1608
|
+
Server: 'server',
|
|
1609
|
+
ClientReported: 'client-reported',
|
|
1610
|
+
};
|
|
1611
|
+
export const TakaroEventPlayerLinkedSourceEnum = {
|
|
1612
|
+
GameCode: 'game-code',
|
|
1613
|
+
WebCode: 'web-code',
|
|
1614
|
+
SteamAuto: 'steam-auto',
|
|
1615
|
+
Admin: 'admin',
|
|
1616
|
+
Unknown: 'unknown',
|
|
1617
|
+
};
|
|
1618
|
+
export const TakaroEventPlayerMergedMovedIdentifiersEnum = {
|
|
1619
|
+
SteamId: 'steamId',
|
|
1620
|
+
EpicOnlineServicesId: 'epicOnlineServicesId',
|
|
1621
|
+
XboxLiveId: 'xboxLiveId',
|
|
1622
|
+
PlatformId: 'platformId',
|
|
1623
|
+
};
|
|
1624
|
+
export const TakaroEventPlayerMergedServerOutcomeEnum = {
|
|
1625
|
+
Moved: 'moved',
|
|
1626
|
+
Combined: 'combined',
|
|
1627
|
+
};
|
|
1628
|
+
export const TakaroEventPlayerMergedServerKeptPogFromEnum = {
|
|
1629
|
+
Survivor: 'survivor',
|
|
1630
|
+
Absorbed: 'absorbed',
|
|
1631
|
+
};
|
|
1632
|
+
export const TakaroEventPlayerUnlinkedReasonEnum = {
|
|
1633
|
+
Self: 'self',
|
|
1634
|
+
Admin: 'admin',
|
|
1635
|
+
Displaced: 'displaced',
|
|
1636
|
+
Merged: 'merged',
|
|
1637
|
+
};
|
|
1395
1638
|
export const TakaroEventRateLimitedScopeEnum = {
|
|
1396
1639
|
Server: 'server',
|
|
1397
1640
|
Domain: 'domain',
|
|
@@ -1527,6 +1770,16 @@ export const ThreadWithStepsOutputDTOOriginSurfaceEnum = {
|
|
|
1527
1770
|
EventFailure: 'eventFailure',
|
|
1528
1771
|
CsmmMigration: 'csmmMigration',
|
|
1529
1772
|
};
|
|
1773
|
+
export const TrackingEventDTOEventNameEnum = {
|
|
1774
|
+
PlayerDeath: 'player-death',
|
|
1775
|
+
EntityKilled: 'entity-killed',
|
|
1776
|
+
PlayerConnected: 'player-connected',
|
|
1777
|
+
PlayerDisconnected: 'player-disconnected',
|
|
1778
|
+
};
|
|
1779
|
+
export const TrackingEventDTOPositionSourceEnum = {
|
|
1780
|
+
Reported: 'reported',
|
|
1781
|
+
Sampled: 'sampled',
|
|
1782
|
+
};
|
|
1530
1783
|
export const TriggerJobInputDTOTypeEnum = {
|
|
1531
1784
|
SeedModules: 'seedModules',
|
|
1532
1785
|
CleanEvents: 'cleanEvents',
|
|
@@ -1536,12 +1789,27 @@ export const TriggerJobInputDTOTypeEnum = {
|
|
|
1536
1789
|
SyncItems: 'syncItems',
|
|
1537
1790
|
SyncEntities: 'syncEntities',
|
|
1538
1791
|
SyncBans: 'syncBans',
|
|
1792
|
+
SyncLocations: 'syncLocations',
|
|
1539
1793
|
SyncMapImages: 'syncMapImages',
|
|
1540
1794
|
SyncMapUploads: 'syncMapUploads',
|
|
1541
1795
|
SyncGameIcons: 'syncGameIcons',
|
|
1542
1796
|
SyncSteam: 'syncSteam',
|
|
1543
1797
|
SyncDiscordRoles: 'syncDiscordRoles',
|
|
1544
1798
|
};
|
|
1799
|
+
export const UserOutputDTOPlayerLinkSourceEnum = {
|
|
1800
|
+
GameCode: 'game-code',
|
|
1801
|
+
WebCode: 'web-code',
|
|
1802
|
+
SteamAuto: 'steam-auto',
|
|
1803
|
+
Admin: 'admin',
|
|
1804
|
+
Unknown: 'unknown',
|
|
1805
|
+
};
|
|
1806
|
+
export const UserOutputWithRolesDTOPlayerLinkSourceEnum = {
|
|
1807
|
+
GameCode: 'game-code',
|
|
1808
|
+
WebCode: 'web-code',
|
|
1809
|
+
SteamAuto: 'steam-auto',
|
|
1810
|
+
Admin: 'admin',
|
|
1811
|
+
Unknown: 'unknown',
|
|
1812
|
+
};
|
|
1545
1813
|
export const UserSearchInputDTOExtendEnum = {
|
|
1546
1814
|
Roles: 'roles',
|
|
1547
1815
|
};
|
|
@@ -5970,7 +6238,7 @@ export const AuthControllerLoginLocaleEnum = {
|
|
|
5970
6238
|
export const CommandApiAxiosParamCreator = function (configuration) {
|
|
5971
6239
|
return {
|
|
5972
6240
|
/**
|
|
5973
|
-
*
|
|
6241
|
+
* The trigger `link` is reserved for the built-in `/link` command, which links players to their accounts, and is refused. Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
|
|
5974
6242
|
* @summary Create
|
|
5975
6243
|
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
5976
6244
|
* @param {*} [options] Override http request option.
|
|
@@ -6238,7 +6506,7 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
6238
6506
|
};
|
|
6239
6507
|
},
|
|
6240
6508
|
/**
|
|
6241
|
-
*
|
|
6509
|
+
* The trigger `link` is reserved for the built-in `/link` command, which links players to their accounts, and is refused. A command that already has it can still be edited. Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
|
|
6242
6510
|
* @summary Update
|
|
6243
6511
|
* @param {string} id
|
|
6244
6512
|
* @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
|
|
@@ -6317,7 +6585,7 @@ export const CommandApiFp = function (configuration) {
|
|
|
6317
6585
|
const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
|
|
6318
6586
|
return {
|
|
6319
6587
|
/**
|
|
6320
|
-
*
|
|
6588
|
+
* The trigger `link` is reserved for the built-in `/link` command, which links players to their accounts, and is refused. Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
|
|
6321
6589
|
* @summary Create
|
|
6322
6590
|
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
6323
6591
|
* @param {*} [options] Override http request option.
|
|
@@ -6424,7 +6692,7 @@ export const CommandApiFp = function (configuration) {
|
|
|
6424
6692
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6425
6693
|
},
|
|
6426
6694
|
/**
|
|
6427
|
-
*
|
|
6695
|
+
* The trigger `link` is reserved for the built-in `/link` command, which links players to their accounts, and is refused. A command that already has it can still be edited. Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
|
|
6428
6696
|
* @summary Update
|
|
6429
6697
|
* @param {string} id
|
|
6430
6698
|
* @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
|
|
@@ -6461,7 +6729,7 @@ export const CommandApiFactory = function (configuration, basePath, axios) {
|
|
|
6461
6729
|
const localVarFp = CommandApiFp(configuration);
|
|
6462
6730
|
return {
|
|
6463
6731
|
/**
|
|
6464
|
-
*
|
|
6732
|
+
* The trigger `link` is reserved for the built-in `/link` command, which links players to their accounts, and is refused. Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
|
|
6465
6733
|
* @summary Create
|
|
6466
6734
|
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
6467
6735
|
* @param {*} [options] Override http request option.
|
|
@@ -6552,7 +6820,7 @@ export const CommandApiFactory = function (configuration, basePath, axios) {
|
|
|
6552
6820
|
.then((request) => request(axios, basePath));
|
|
6553
6821
|
},
|
|
6554
6822
|
/**
|
|
6555
|
-
*
|
|
6823
|
+
* The trigger `link` is reserved for the built-in `/link` command, which links players to their accounts, and is refused. A command that already has it can still be edited. Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
|
|
6556
6824
|
* @summary Update
|
|
6557
6825
|
* @param {string} id
|
|
6558
6826
|
* @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
|
|
@@ -6587,7 +6855,7 @@ export const CommandApiFactory = function (configuration, basePath, axios) {
|
|
|
6587
6855
|
*/
|
|
6588
6856
|
export class CommandApi extends BaseAPI {
|
|
6589
6857
|
/**
|
|
6590
|
-
*
|
|
6858
|
+
* The trigger `link` is reserved for the built-in `/link` command, which links players to their accounts, and is refused. Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
|
|
6591
6859
|
* @summary Create
|
|
6592
6860
|
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
6593
6861
|
* @param {*} [options] Override http request option.
|
|
@@ -6694,7 +6962,7 @@ export class CommandApi extends BaseAPI {
|
|
|
6694
6962
|
.then((request) => request(this.axios, this.basePath));
|
|
6695
6963
|
}
|
|
6696
6964
|
/**
|
|
6697
|
-
*
|
|
6965
|
+
* The trigger `link` is reserved for the built-in `/link` command, which links players to their accounts, and is refused. A command that already has it can still be edited. Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
|
|
6698
6966
|
* @summary Update
|
|
6699
6967
|
* @param {string} id
|
|
6700
6968
|
* @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
|
|
@@ -9916,7 +10184,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
9916
10184
|
};
|
|
9917
10185
|
},
|
|
9918
10186
|
/**
|
|
9919
|
-
* A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid
|
|
10187
|
+
* A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetDimensionMapTile`
|
|
9920
10188
|
* @summary Get dimension map tile
|
|
9921
10189
|
* @param {string} id
|
|
9922
10190
|
* @param {string} dimension
|
|
@@ -10075,7 +10343,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
10075
10343
|
};
|
|
10076
10344
|
},
|
|
10077
10345
|
/**
|
|
10078
|
-
* The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes
|
|
10346
|
+
* The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMap`
|
|
10079
10347
|
* @summary Get map
|
|
10080
10348
|
* @param {string} id
|
|
10081
10349
|
* @param {*} [options] Override http request option.
|
|
@@ -10107,7 +10375,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
10107
10375
|
};
|
|
10108
10376
|
},
|
|
10109
10377
|
/**
|
|
10110
|
-
* Get map metadata
|
|
10378
|
+
* Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
|
|
10111
10379
|
* @summary Get map info
|
|
10112
10380
|
* @param {string} id
|
|
10113
10381
|
* @param {*} [options] Override http request option.
|
|
@@ -10139,7 +10407,39 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
10139
10407
|
};
|
|
10140
10408
|
},
|
|
10141
10409
|
/**
|
|
10142
|
-
*
|
|
10410
|
+
* Offline players of a game server at their last known Position, newest first, limited to the Domain\'s retention window and to 1000 players. Positions are raw game coordinates. Required permissions: `READ_MAP`, `READ_PLAYERS`<br> OperationId: `GameServerControllerGetMapOfflinePlayers`
|
|
10411
|
+
* @summary Get map offline players
|
|
10412
|
+
* @param {string} id
|
|
10413
|
+
* @param {*} [options] Override http request option.
|
|
10414
|
+
* @throws {RequiredError}
|
|
10415
|
+
*/
|
|
10416
|
+
gameServerControllerGetMapOfflinePlayers: async (id, options = {}) => {
|
|
10417
|
+
// verify required parameter 'id' is not null or undefined
|
|
10418
|
+
assertParamExists('gameServerControllerGetMapOfflinePlayers', 'id', id);
|
|
10419
|
+
const localVarPath = `/gameserver/{id}/map/offline-players`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10420
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10421
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10422
|
+
let baseOptions;
|
|
10423
|
+
if (configuration) {
|
|
10424
|
+
baseOptions = configuration.baseOptions;
|
|
10425
|
+
}
|
|
10426
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10427
|
+
const localVarHeaderParameter = {};
|
|
10428
|
+
const localVarQueryParameter = {};
|
|
10429
|
+
// authentication bearerAuth required
|
|
10430
|
+
// http bearer authentication required
|
|
10431
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10432
|
+
// authentication domainAuth required
|
|
10433
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10434
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10435
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10436
|
+
return {
|
|
10437
|
+
url: toPathString(localVarUrlObj),
|
|
10438
|
+
options: localVarRequestOptions,
|
|
10439
|
+
};
|
|
10440
|
+
},
|
|
10441
|
+
/**
|
|
10442
|
+
* Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
|
|
10143
10443
|
* @summary Get map tile
|
|
10144
10444
|
* @param {string} id
|
|
10145
10445
|
* @param {string} x
|
|
@@ -10460,10 +10760,11 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
10460
10760
|
};
|
|
10461
10761
|
},
|
|
10462
10762
|
/**
|
|
10463
|
-
*
|
|
10763
|
+
* Deprecated: use `POST /location/search`, which reads the stored Locations and works while the server is offline. This asks the game live and requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerListLocations`
|
|
10464
10764
|
* @summary List locations
|
|
10465
10765
|
* @param {string} id
|
|
10466
10766
|
* @param {*} [options] Override http request option.
|
|
10767
|
+
* @deprecated
|
|
10467
10768
|
* @throws {RequiredError}
|
|
10468
10769
|
*/
|
|
10469
10770
|
gameServerControllerListLocations: async (id, options = {}) => {
|
|
@@ -11253,7 +11554,7 @@ export const GameServerApiFp = function (configuration) {
|
|
|
11253
11554
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11254
11555
|
},
|
|
11255
11556
|
/**
|
|
11256
|
-
* A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid
|
|
11557
|
+
* A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetDimensionMapTile`
|
|
11257
11558
|
* @summary Get dimension map tile
|
|
11258
11559
|
* @param {string} id
|
|
11259
11560
|
* @param {string} dimension
|
|
@@ -11314,7 +11615,7 @@ export const GameServerApiFp = function (configuration) {
|
|
|
11314
11615
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11315
11616
|
},
|
|
11316
11617
|
/**
|
|
11317
|
-
* The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes
|
|
11618
|
+
* The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMap`
|
|
11318
11619
|
* @summary Get map
|
|
11319
11620
|
* @param {string} id
|
|
11320
11621
|
* @param {*} [options] Override http request option.
|
|
@@ -11327,7 +11628,7 @@ export const GameServerApiFp = function (configuration) {
|
|
|
11327
11628
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11328
11629
|
},
|
|
11329
11630
|
/**
|
|
11330
|
-
* Get map metadata
|
|
11631
|
+
* Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
|
|
11331
11632
|
* @summary Get map info
|
|
11332
11633
|
* @param {string} id
|
|
11333
11634
|
* @param {*} [options] Override http request option.
|
|
@@ -11340,7 +11641,21 @@ export const GameServerApiFp = function (configuration) {
|
|
|
11340
11641
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11341
11642
|
},
|
|
11342
11643
|
/**
|
|
11343
|
-
*
|
|
11644
|
+
* Offline players of a game server at their last known Position, newest first, limited to the Domain\'s retention window and to 1000 players. Positions are raw game coordinates. Required permissions: `READ_MAP`, `READ_PLAYERS`<br> OperationId: `GameServerControllerGetMapOfflinePlayers`
|
|
11645
|
+
* @summary Get map offline players
|
|
11646
|
+
* @param {string} id
|
|
11647
|
+
* @param {*} [options] Override http request option.
|
|
11648
|
+
* @throws {RequiredError}
|
|
11649
|
+
*/
|
|
11650
|
+
async gameServerControllerGetMapOfflinePlayers(id, options) {
|
|
11651
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetMapOfflinePlayers(id, options);
|
|
11652
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11653
|
+
const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerGetMapOfflinePlayers']?.[localVarOperationServerIndex]
|
|
11654
|
+
?.url;
|
|
11655
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11656
|
+
},
|
|
11657
|
+
/**
|
|
11658
|
+
* Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
|
|
11344
11659
|
* @summary Get map tile
|
|
11345
11660
|
* @param {string} id
|
|
11346
11661
|
* @param {string} x
|
|
@@ -11466,10 +11781,11 @@ export const GameServerApiFp = function (configuration) {
|
|
|
11466
11781
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11467
11782
|
},
|
|
11468
11783
|
/**
|
|
11469
|
-
*
|
|
11784
|
+
* Deprecated: use `POST /location/search`, which reads the stored Locations and works while the server is offline. This asks the game live and requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerListLocations`
|
|
11470
11785
|
* @summary List locations
|
|
11471
11786
|
* @param {string} id
|
|
11472
11787
|
* @param {*} [options] Override http request option.
|
|
11788
|
+
* @deprecated
|
|
11473
11789
|
* @throws {RequiredError}
|
|
11474
11790
|
*/
|
|
11475
11791
|
async gameServerControllerListLocations(id, options) {
|
|
@@ -11836,7 +12152,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
11836
12152
|
return localVarFp.gameServerControllerGetCapabilities(id, options).then((request) => request(axios, basePath));
|
|
11837
12153
|
},
|
|
11838
12154
|
/**
|
|
11839
|
-
* A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid
|
|
12155
|
+
* A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetDimensionMapTile`
|
|
11840
12156
|
* @summary Get dimension map tile
|
|
11841
12157
|
* @param {string} id
|
|
11842
12158
|
* @param {string} dimension
|
|
@@ -11886,7 +12202,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
11886
12202
|
return localVarFp.gameServerControllerGetJob(type, id, options).then((request) => request(axios, basePath));
|
|
11887
12203
|
},
|
|
11888
12204
|
/**
|
|
11889
|
-
* The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes
|
|
12205
|
+
* The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMap`
|
|
11890
12206
|
* @summary Get map
|
|
11891
12207
|
* @param {string} id
|
|
11892
12208
|
* @param {*} [options] Override http request option.
|
|
@@ -11896,7 +12212,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
11896
12212
|
return localVarFp.gameServerControllerGetMap(id, options).then((request) => request(axios, basePath));
|
|
11897
12213
|
},
|
|
11898
12214
|
/**
|
|
11899
|
-
* Get map metadata
|
|
12215
|
+
* Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
|
|
11900
12216
|
* @summary Get map info
|
|
11901
12217
|
* @param {string} id
|
|
11902
12218
|
* @param {*} [options] Override http request option.
|
|
@@ -11906,7 +12222,19 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
11906
12222
|
return localVarFp.gameServerControllerGetMapInfo(id, options).then((request) => request(axios, basePath));
|
|
11907
12223
|
},
|
|
11908
12224
|
/**
|
|
11909
|
-
*
|
|
12225
|
+
* Offline players of a game server at their last known Position, newest first, limited to the Domain\'s retention window and to 1000 players. Positions are raw game coordinates. Required permissions: `READ_MAP`, `READ_PLAYERS`<br> OperationId: `GameServerControllerGetMapOfflinePlayers`
|
|
12226
|
+
* @summary Get map offline players
|
|
12227
|
+
* @param {string} id
|
|
12228
|
+
* @param {*} [options] Override http request option.
|
|
12229
|
+
* @throws {RequiredError}
|
|
12230
|
+
*/
|
|
12231
|
+
gameServerControllerGetMapOfflinePlayers(id, options) {
|
|
12232
|
+
return localVarFp
|
|
12233
|
+
.gameServerControllerGetMapOfflinePlayers(id, options)
|
|
12234
|
+
.then((request) => request(axios, basePath));
|
|
12235
|
+
},
|
|
12236
|
+
/**
|
|
12237
|
+
* Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
|
|
11910
12238
|
* @summary Get map tile
|
|
11911
12239
|
* @param {string} id
|
|
11912
12240
|
* @param {string} x
|
|
@@ -12013,10 +12341,11 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
12013
12341
|
return localVarFp.gameServerControllerListBans(id, options).then((request) => request(axios, basePath));
|
|
12014
12342
|
},
|
|
12015
12343
|
/**
|
|
12016
|
-
*
|
|
12344
|
+
* Deprecated: use `POST /location/search`, which reads the stored Locations and works while the server is offline. This asks the game live and requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerListLocations`
|
|
12017
12345
|
* @summary List locations
|
|
12018
12346
|
* @param {string} id
|
|
12019
12347
|
* @param {*} [options] Override http request option.
|
|
12348
|
+
* @deprecated
|
|
12020
12349
|
* @throws {RequiredError}
|
|
12021
12350
|
*/
|
|
12022
12351
|
gameServerControllerListLocations(id, options) {
|
|
@@ -12359,7 +12688,7 @@ export class GameServerApi extends BaseAPI {
|
|
|
12359
12688
|
.then((request) => request(this.axios, this.basePath));
|
|
12360
12689
|
}
|
|
12361
12690
|
/**
|
|
12362
|
-
* A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid
|
|
12691
|
+
* A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetDimensionMapTile`
|
|
12363
12692
|
* @summary Get dimension map tile
|
|
12364
12693
|
* @param {string} id
|
|
12365
12694
|
* @param {string} dimension
|
|
@@ -12419,7 +12748,7 @@ export class GameServerApi extends BaseAPI {
|
|
|
12419
12748
|
.then((request) => request(this.axios, this.basePath));
|
|
12420
12749
|
}
|
|
12421
12750
|
/**
|
|
12422
|
-
* The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes
|
|
12751
|
+
* The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMap`
|
|
12423
12752
|
* @summary Get map
|
|
12424
12753
|
* @param {string} id
|
|
12425
12754
|
* @param {*} [options] Override http request option.
|
|
@@ -12432,7 +12761,7 @@ export class GameServerApi extends BaseAPI {
|
|
|
12432
12761
|
.then((request) => request(this.axios, this.basePath));
|
|
12433
12762
|
}
|
|
12434
12763
|
/**
|
|
12435
|
-
* Get map metadata
|
|
12764
|
+
* Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
|
|
12436
12765
|
* @summary Get map info
|
|
12437
12766
|
* @param {string} id
|
|
12438
12767
|
* @param {*} [options] Override http request option.
|
|
@@ -12445,7 +12774,20 @@ export class GameServerApi extends BaseAPI {
|
|
|
12445
12774
|
.then((request) => request(this.axios, this.basePath));
|
|
12446
12775
|
}
|
|
12447
12776
|
/**
|
|
12448
|
-
*
|
|
12777
|
+
* Offline players of a game server at their last known Position, newest first, limited to the Domain\'s retention window and to 1000 players. Positions are raw game coordinates. Required permissions: `READ_MAP`, `READ_PLAYERS`<br> OperationId: `GameServerControllerGetMapOfflinePlayers`
|
|
12778
|
+
* @summary Get map offline players
|
|
12779
|
+
* @param {string} id
|
|
12780
|
+
* @param {*} [options] Override http request option.
|
|
12781
|
+
* @throws {RequiredError}
|
|
12782
|
+
* @memberof GameServerApi
|
|
12783
|
+
*/
|
|
12784
|
+
gameServerControllerGetMapOfflinePlayers(id, options) {
|
|
12785
|
+
return GameServerApiFp(this.configuration)
|
|
12786
|
+
.gameServerControllerGetMapOfflinePlayers(id, options)
|
|
12787
|
+
.then((request) => request(this.axios, this.basePath));
|
|
12788
|
+
}
|
|
12789
|
+
/**
|
|
12790
|
+
* Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
|
|
12449
12791
|
* @summary Get map tile
|
|
12450
12792
|
* @param {string} id
|
|
12451
12793
|
* @param {string} x
|
|
@@ -12571,10 +12913,11 @@ export class GameServerApi extends BaseAPI {
|
|
|
12571
12913
|
.then((request) => request(this.axios, this.basePath));
|
|
12572
12914
|
}
|
|
12573
12915
|
/**
|
|
12574
|
-
*
|
|
12916
|
+
* Deprecated: use `POST /location/search`, which reads the stored Locations and works while the server is offline. This asks the game live and requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerListLocations`
|
|
12575
12917
|
* @summary List locations
|
|
12576
12918
|
* @param {string} id
|
|
12577
12919
|
* @param {*} [options] Override http request option.
|
|
12920
|
+
* @deprecated
|
|
12578
12921
|
* @throws {RequiredError}
|
|
12579
12922
|
* @memberof GameServerApi
|
|
12580
12923
|
*/
|
|
@@ -14384,6 +14727,110 @@ export class ItemSetApi extends BaseAPI {
|
|
|
14384
14727
|
.then((request) => request(this.axios, this.basePath));
|
|
14385
14728
|
}
|
|
14386
14729
|
}
|
|
14730
|
+
/**
|
|
14731
|
+
* LocationApi - axios parameter creator
|
|
14732
|
+
* @export
|
|
14733
|
+
*/
|
|
14734
|
+
export const LocationApiAxiosParamCreator = function (configuration) {
|
|
14735
|
+
return {
|
|
14736
|
+
/**
|
|
14737
|
+
* Search the Locations stored for game servers, as the game last reported them. They stay available while the game server is offline. A Location the game reported without a Dimension is stored under the game server\'s default Dimension. Filterable by category, a free-form string the game chooses. Required permissions: `READ_MAP`<br> OperationId: `LocationControllerSearch`
|
|
14738
|
+
* @summary Search
|
|
14739
|
+
* @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
|
|
14740
|
+
* @param {*} [options] Override http request option.
|
|
14741
|
+
* @throws {RequiredError}
|
|
14742
|
+
*/
|
|
14743
|
+
locationControllerSearch: async (locationSearchInputDTO, options = {}) => {
|
|
14744
|
+
const localVarPath = `/location/search`;
|
|
14745
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14746
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14747
|
+
let baseOptions;
|
|
14748
|
+
if (configuration) {
|
|
14749
|
+
baseOptions = configuration.baseOptions;
|
|
14750
|
+
}
|
|
14751
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
14752
|
+
const localVarHeaderParameter = {};
|
|
14753
|
+
const localVarQueryParameter = {};
|
|
14754
|
+
// authentication bearerAuth required
|
|
14755
|
+
// http bearer authentication required
|
|
14756
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
14757
|
+
// authentication domainAuth required
|
|
14758
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14759
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14760
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14761
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
14762
|
+
localVarRequestOptions.data = serializeDataIfNeeded(locationSearchInputDTO, localVarRequestOptions, configuration);
|
|
14763
|
+
return {
|
|
14764
|
+
url: toPathString(localVarUrlObj),
|
|
14765
|
+
options: localVarRequestOptions,
|
|
14766
|
+
};
|
|
14767
|
+
},
|
|
14768
|
+
};
|
|
14769
|
+
};
|
|
14770
|
+
/**
|
|
14771
|
+
* LocationApi - functional programming interface
|
|
14772
|
+
* @export
|
|
14773
|
+
*/
|
|
14774
|
+
export const LocationApiFp = function (configuration) {
|
|
14775
|
+
const localVarAxiosParamCreator = LocationApiAxiosParamCreator(configuration);
|
|
14776
|
+
return {
|
|
14777
|
+
/**
|
|
14778
|
+
* Search the Locations stored for game servers, as the game last reported them. They stay available while the game server is offline. A Location the game reported without a Dimension is stored under the game server\'s default Dimension. Filterable by category, a free-form string the game chooses. Required permissions: `READ_MAP`<br> OperationId: `LocationControllerSearch`
|
|
14779
|
+
* @summary Search
|
|
14780
|
+
* @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
|
|
14781
|
+
* @param {*} [options] Override http request option.
|
|
14782
|
+
* @throws {RequiredError}
|
|
14783
|
+
*/
|
|
14784
|
+
async locationControllerSearch(locationSearchInputDTO, options) {
|
|
14785
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerSearch(locationSearchInputDTO, options);
|
|
14786
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14787
|
+
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
14788
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14789
|
+
},
|
|
14790
|
+
};
|
|
14791
|
+
};
|
|
14792
|
+
/**
|
|
14793
|
+
* LocationApi - factory interface
|
|
14794
|
+
* @export
|
|
14795
|
+
*/
|
|
14796
|
+
export const LocationApiFactory = function (configuration, basePath, axios) {
|
|
14797
|
+
const localVarFp = LocationApiFp(configuration);
|
|
14798
|
+
return {
|
|
14799
|
+
/**
|
|
14800
|
+
* Search the Locations stored for game servers, as the game last reported them. They stay available while the game server is offline. A Location the game reported without a Dimension is stored under the game server\'s default Dimension. Filterable by category, a free-form string the game chooses. Required permissions: `READ_MAP`<br> OperationId: `LocationControllerSearch`
|
|
14801
|
+
* @summary Search
|
|
14802
|
+
* @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
|
|
14803
|
+
* @param {*} [options] Override http request option.
|
|
14804
|
+
* @throws {RequiredError}
|
|
14805
|
+
*/
|
|
14806
|
+
locationControllerSearch(locationSearchInputDTO, options) {
|
|
14807
|
+
return localVarFp
|
|
14808
|
+
.locationControllerSearch(locationSearchInputDTO, options)
|
|
14809
|
+
.then((request) => request(axios, basePath));
|
|
14810
|
+
},
|
|
14811
|
+
};
|
|
14812
|
+
};
|
|
14813
|
+
/**
|
|
14814
|
+
* LocationApi - object-oriented interface
|
|
14815
|
+
* @export
|
|
14816
|
+
* @class LocationApi
|
|
14817
|
+
* @extends {BaseAPI}
|
|
14818
|
+
*/
|
|
14819
|
+
export class LocationApi extends BaseAPI {
|
|
14820
|
+
/**
|
|
14821
|
+
* Search the Locations stored for game servers, as the game last reported them. They stay available while the game server is offline. A Location the game reported without a Dimension is stored under the game server\'s default Dimension. Filterable by category, a free-form string the game chooses. Required permissions: `READ_MAP`<br> OperationId: `LocationControllerSearch`
|
|
14822
|
+
* @summary Search
|
|
14823
|
+
* @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
|
|
14824
|
+
* @param {*} [options] Override http request option.
|
|
14825
|
+
* @throws {RequiredError}
|
|
14826
|
+
* @memberof LocationApi
|
|
14827
|
+
*/
|
|
14828
|
+
locationControllerSearch(locationSearchInputDTO, options) {
|
|
14829
|
+
return LocationApiFp(this.configuration)
|
|
14830
|
+
.locationControllerSearch(locationSearchInputDTO, options)
|
|
14831
|
+
.then((request) => request(this.axios, this.basePath));
|
|
14832
|
+
}
|
|
14833
|
+
}
|
|
14387
14834
|
/**
|
|
14388
14835
|
* MetaApi - axios parameter creator
|
|
14389
14836
|
* @export
|
|
@@ -14903,6 +15350,41 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
14903
15350
|
options: localVarRequestOptions,
|
|
14904
15351
|
};
|
|
14905
15352
|
},
|
|
15353
|
+
/**
|
|
15354
|
+
* Adds the tagged versions of an export to this custom module. Tags the module already has with identical content are skipped; a tag with different content refuses the whole import. The exported latest draft is ignored. Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerImportVersions`
|
|
15355
|
+
* @summary Import versions into an existing module
|
|
15356
|
+
* @param {string} id
|
|
15357
|
+
* @param {any} [body]
|
|
15358
|
+
* @param {*} [options] Override http request option.
|
|
15359
|
+
* @throws {RequiredError}
|
|
15360
|
+
*/
|
|
15361
|
+
moduleControllerImportVersions: async (id, body, options = {}) => {
|
|
15362
|
+
// verify required parameter 'id' is not null or undefined
|
|
15363
|
+
assertParamExists('moduleControllerImportVersions', 'id', id);
|
|
15364
|
+
const localVarPath = `/module/{id}/import`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
15365
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15366
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15367
|
+
let baseOptions;
|
|
15368
|
+
if (configuration) {
|
|
15369
|
+
baseOptions = configuration.baseOptions;
|
|
15370
|
+
}
|
|
15371
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
15372
|
+
const localVarHeaderParameter = {};
|
|
15373
|
+
const localVarQueryParameter = {};
|
|
15374
|
+
// authentication bearerAuth required
|
|
15375
|
+
// http bearer authentication required
|
|
15376
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
15377
|
+
// authentication domainAuth required
|
|
15378
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15379
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15380
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15381
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
15382
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
15383
|
+
return {
|
|
15384
|
+
url: toPathString(localVarUrlObj),
|
|
15385
|
+
options: localVarRequestOptions,
|
|
15386
|
+
};
|
|
15387
|
+
},
|
|
14906
15388
|
/**
|
|
14907
15389
|
* Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
|
|
14908
15390
|
* @summary Remove a module
|
|
@@ -15003,7 +15485,7 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
15003
15485
|
};
|
|
15004
15486
|
},
|
|
15005
15487
|
/**
|
|
15006
|
-
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
15488
|
+
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. `filters.enabled` matches `systemConfig.enabled`, and an installation without the value counts as enabled. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
15007
15489
|
* @summary List the modules installed on a game server
|
|
15008
15490
|
* @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
|
|
15009
15491
|
* @param {*} [options] Override http request option.
|
|
@@ -15298,6 +15780,20 @@ export const ModuleApiFp = function (configuration) {
|
|
|
15298
15780
|
const localVarOperationServerBasePath = operationServerMap['ModuleApi.moduleControllerImport']?.[localVarOperationServerIndex]?.url;
|
|
15299
15781
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15300
15782
|
},
|
|
15783
|
+
/**
|
|
15784
|
+
* Adds the tagged versions of an export to this custom module. Tags the module already has with identical content are skipped; a tag with different content refuses the whole import. The exported latest draft is ignored. Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerImportVersions`
|
|
15785
|
+
* @summary Import versions into an existing module
|
|
15786
|
+
* @param {string} id
|
|
15787
|
+
* @param {any} [body]
|
|
15788
|
+
* @param {*} [options] Override http request option.
|
|
15789
|
+
* @throws {RequiredError}
|
|
15790
|
+
*/
|
|
15791
|
+
async moduleControllerImportVersions(id, body, options) {
|
|
15792
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerImportVersions(id, body, options);
|
|
15793
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15794
|
+
const localVarOperationServerBasePath = operationServerMap['ModuleApi.moduleControllerImportVersions']?.[localVarOperationServerIndex]?.url;
|
|
15795
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15796
|
+
},
|
|
15301
15797
|
/**
|
|
15302
15798
|
* Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
|
|
15303
15799
|
* @summary Remove a module
|
|
@@ -15339,7 +15835,7 @@ export const ModuleApiFp = function (configuration) {
|
|
|
15339
15835
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15340
15836
|
},
|
|
15341
15837
|
/**
|
|
15342
|
-
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
15838
|
+
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. `filters.enabled` matches `systemConfig.enabled`, and an installation without the value counts as enabled. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
15343
15839
|
* @summary List the modules installed on a game server
|
|
15344
15840
|
* @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
|
|
15345
15841
|
* @param {*} [options] Override http request option.
|
|
@@ -15485,6 +15981,17 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
|
|
|
15485
15981
|
moduleControllerImport(body, options) {
|
|
15486
15982
|
return localVarFp.moduleControllerImport(body, options).then((request) => request(axios, basePath));
|
|
15487
15983
|
},
|
|
15984
|
+
/**
|
|
15985
|
+
* Adds the tagged versions of an export to this custom module. Tags the module already has with identical content are skipped; a tag with different content refuses the whole import. The exported latest draft is ignored. Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerImportVersions`
|
|
15986
|
+
* @summary Import versions into an existing module
|
|
15987
|
+
* @param {string} id
|
|
15988
|
+
* @param {any} [body]
|
|
15989
|
+
* @param {*} [options] Override http request option.
|
|
15990
|
+
* @throws {RequiredError}
|
|
15991
|
+
*/
|
|
15992
|
+
moduleControllerImportVersions(id, body, options) {
|
|
15993
|
+
return localVarFp.moduleControllerImportVersions(id, body, options).then((request) => request(axios, basePath));
|
|
15994
|
+
},
|
|
15488
15995
|
/**
|
|
15489
15996
|
* Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
|
|
15490
15997
|
* @summary Remove a module
|
|
@@ -15521,7 +16028,7 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
|
|
|
15521
16028
|
.then((request) => request(axios, basePath));
|
|
15522
16029
|
},
|
|
15523
16030
|
/**
|
|
15524
|
-
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
16031
|
+
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. `filters.enabled` matches `systemConfig.enabled`, and an installation without the value counts as enabled. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
15525
16032
|
* @summary List the modules installed on a game server
|
|
15526
16033
|
* @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
|
|
15527
16034
|
* @param {*} [options] Override http request option.
|
|
@@ -15668,6 +16175,20 @@ export class ModuleApi extends BaseAPI {
|
|
|
15668
16175
|
.moduleControllerImport(body, options)
|
|
15669
16176
|
.then((request) => request(this.axios, this.basePath));
|
|
15670
16177
|
}
|
|
16178
|
+
/**
|
|
16179
|
+
* Adds the tagged versions of an export to this custom module. Tags the module already has with identical content are skipped; a tag with different content refuses the whole import. The exported latest draft is ignored. Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerImportVersions`
|
|
16180
|
+
* @summary Import versions into an existing module
|
|
16181
|
+
* @param {string} id
|
|
16182
|
+
* @param {any} [body]
|
|
16183
|
+
* @param {*} [options] Override http request option.
|
|
16184
|
+
* @throws {RequiredError}
|
|
16185
|
+
* @memberof ModuleApi
|
|
16186
|
+
*/
|
|
16187
|
+
moduleControllerImportVersions(id, body, options) {
|
|
16188
|
+
return ModuleApiFp(this.configuration)
|
|
16189
|
+
.moduleControllerImportVersions(id, body, options)
|
|
16190
|
+
.then((request) => request(this.axios, this.basePath));
|
|
16191
|
+
}
|
|
15671
16192
|
/**
|
|
15672
16193
|
* Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
|
|
15673
16194
|
* @summary Remove a module
|
|
@@ -15709,7 +16230,7 @@ export class ModuleApi extends BaseAPI {
|
|
|
15709
16230
|
.then((request) => request(this.axios, this.basePath));
|
|
15710
16231
|
}
|
|
15711
16232
|
/**
|
|
15712
|
-
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
16233
|
+
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. `filters.enabled` matches `systemConfig.enabled`, and an installation without the value counts as enabled. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
15713
16234
|
* @summary List the modules installed on a game server
|
|
15714
16235
|
* @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
|
|
15715
16236
|
* @param {*} [options] Override http request option.
|
|
@@ -16172,22 +16693,127 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
16172
16693
|
};
|
|
16173
16694
|
},
|
|
16174
16695
|
/**
|
|
16175
|
-
*
|
|
16176
|
-
* @summary
|
|
16696
|
+
* Link a player to a user in this domain, replacing any existing link on either side. Records source `admin` and the acting user. Emits player-linked, and player-unlinked (reason `displaced`) for each link it replaces. Linking a player to the user it is already linked to changes nothing. Required permissions: `MANAGE_PLAYERS`, `MANAGE_USERS`<br> OperationId: `PlayerControllerLinkUser`
|
|
16697
|
+
* @summary Link a player to a user
|
|
16177
16698
|
* @param {string} id
|
|
16178
|
-
* @param {
|
|
16179
|
-
* @param {PlayerRoleAssignChangeDTO} [playerRoleAssignChangeDTO] PlayerRoleAssignChangeDTO
|
|
16699
|
+
* @param {PlayerLinkUserInputDTO} [playerLinkUserInputDTO] PlayerLinkUserInputDTO
|
|
16180
16700
|
* @param {*} [options] Override http request option.
|
|
16181
16701
|
* @throws {RequiredError}
|
|
16182
16702
|
*/
|
|
16183
|
-
|
|
16703
|
+
playerControllerLinkUser: async (id, playerLinkUserInputDTO, options = {}) => {
|
|
16184
16704
|
// verify required parameter 'id' is not null or undefined
|
|
16185
|
-
assertParamExists('
|
|
16186
|
-
|
|
16187
|
-
|
|
16188
|
-
const
|
|
16189
|
-
|
|
16190
|
-
|
|
16705
|
+
assertParamExists('playerControllerLinkUser', 'id', id);
|
|
16706
|
+
const localVarPath = `/player/{id}/link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
16707
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16708
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16709
|
+
let baseOptions;
|
|
16710
|
+
if (configuration) {
|
|
16711
|
+
baseOptions = configuration.baseOptions;
|
|
16712
|
+
}
|
|
16713
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
16714
|
+
const localVarHeaderParameter = {};
|
|
16715
|
+
const localVarQueryParameter = {};
|
|
16716
|
+
// authentication bearerAuth required
|
|
16717
|
+
// http bearer authentication required
|
|
16718
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
16719
|
+
// authentication domainAuth required
|
|
16720
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16721
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16722
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16723
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
16724
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerLinkUserInputDTO, localVarRequestOptions, configuration);
|
|
16725
|
+
return {
|
|
16726
|
+
url: toPathString(localVarUrlObj),
|
|
16727
|
+
options: localVarRequestOptions,
|
|
16728
|
+
};
|
|
16729
|
+
},
|
|
16730
|
+
/**
|
|
16731
|
+
* Merges this player into `intoPlayerId` and deletes it. This cannot be undone. Its game servers, roles, bans, variables, shop orders, name and IP history and events move to the surviving player (event search reflects the move within a minute); on a game server both played on, the most recently seen record is kept and currency and playtime are summed. When both players are linked to a user, `keepUserId` names the user that stays linked and the other is unlinked (player-unlinked, reason `merged`). Emits player-merged. Refused when both players hold different values for the same platform identifier (Steam, EOS, Xbox Live, platform id), when both ids name the same player, or when either player was created by Fixture History. MANAGE_USERS is also required when the player being merged away is linked to a user, and MANAGE_VARIABLES when it holds variables. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerMerge`
|
|
16732
|
+
* @summary Merge a player into another
|
|
16733
|
+
* @param {string} id
|
|
16734
|
+
* @param {PlayerMergeExecuteInputDTO} [playerMergeExecuteInputDTO] PlayerMergeExecuteInputDTO
|
|
16735
|
+
* @param {*} [options] Override http request option.
|
|
16736
|
+
* @throws {RequiredError}
|
|
16737
|
+
*/
|
|
16738
|
+
playerControllerMerge: async (id, playerMergeExecuteInputDTO, options = {}) => {
|
|
16739
|
+
// verify required parameter 'id' is not null or undefined
|
|
16740
|
+
assertParamExists('playerControllerMerge', 'id', id);
|
|
16741
|
+
const localVarPath = `/player/{id}/merge`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
16742
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16743
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16744
|
+
let baseOptions;
|
|
16745
|
+
if (configuration) {
|
|
16746
|
+
baseOptions = configuration.baseOptions;
|
|
16747
|
+
}
|
|
16748
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
16749
|
+
const localVarHeaderParameter = {};
|
|
16750
|
+
const localVarQueryParameter = {};
|
|
16751
|
+
// authentication bearerAuth required
|
|
16752
|
+
// http bearer authentication required
|
|
16753
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
16754
|
+
// authentication domainAuth required
|
|
16755
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16756
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16757
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16758
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
16759
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerMergeExecuteInputDTO, localVarRequestOptions, configuration);
|
|
16760
|
+
return {
|
|
16761
|
+
url: toPathString(localVarUrlObj),
|
|
16762
|
+
options: localVarRequestOptions,
|
|
16763
|
+
};
|
|
16764
|
+
},
|
|
16765
|
+
/**
|
|
16766
|
+
* Shows what merging this player into `intoPlayerId` would do: the game servers moved or combined (currency and playtime summed), the identifiers that move, the roles, bans and variables that move or are dropped as duplicates, and any refusal. Changes nothing. Refused when both players hold different values for the same platform identifier (Steam, EOS, Xbox Live, platform id), when both ids name the same player, or when either player was created by Fixture History. MANAGE_USERS is also required when the player being merged away is linked to a user, and MANAGE_VARIABLES when it holds variables. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerMergePreview`
|
|
16767
|
+
* @summary Preview merging a player into another
|
|
16768
|
+
* @param {string} id
|
|
16769
|
+
* @param {PlayerMergeInputDTO} [playerMergeInputDTO] PlayerMergeInputDTO
|
|
16770
|
+
* @param {*} [options] Override http request option.
|
|
16771
|
+
* @throws {RequiredError}
|
|
16772
|
+
*/
|
|
16773
|
+
playerControllerMergePreview: async (id, playerMergeInputDTO, options = {}) => {
|
|
16774
|
+
// verify required parameter 'id' is not null or undefined
|
|
16775
|
+
assertParamExists('playerControllerMergePreview', 'id', id);
|
|
16776
|
+
const localVarPath = `/player/{id}/merge/preview`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
16777
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16778
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16779
|
+
let baseOptions;
|
|
16780
|
+
if (configuration) {
|
|
16781
|
+
baseOptions = configuration.baseOptions;
|
|
16782
|
+
}
|
|
16783
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
16784
|
+
const localVarHeaderParameter = {};
|
|
16785
|
+
const localVarQueryParameter = {};
|
|
16786
|
+
// authentication bearerAuth required
|
|
16787
|
+
// http bearer authentication required
|
|
16788
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
16789
|
+
// authentication domainAuth required
|
|
16790
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16791
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16792
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16793
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
16794
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerMergeInputDTO, localVarRequestOptions, configuration);
|
|
16795
|
+
return {
|
|
16796
|
+
url: toPathString(localVarUrlObj),
|
|
16797
|
+
options: localVarRequestOptions,
|
|
16798
|
+
};
|
|
16799
|
+
},
|
|
16800
|
+
/**
|
|
16801
|
+
* Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
|
|
16802
|
+
* @summary Remove a role from a player
|
|
16803
|
+
* @param {string} id
|
|
16804
|
+
* @param {string} roleId
|
|
16805
|
+
* @param {PlayerRoleAssignChangeDTO} [playerRoleAssignChangeDTO] PlayerRoleAssignChangeDTO
|
|
16806
|
+
* @param {*} [options] Override http request option.
|
|
16807
|
+
* @throws {RequiredError}
|
|
16808
|
+
*/
|
|
16809
|
+
playerControllerRemoveRole: async (id, roleId, playerRoleAssignChangeDTO, options = {}) => {
|
|
16810
|
+
// verify required parameter 'id' is not null or undefined
|
|
16811
|
+
assertParamExists('playerControllerRemoveRole', 'id', id);
|
|
16812
|
+
// verify required parameter 'roleId' is not null or undefined
|
|
16813
|
+
assertParamExists('playerControllerRemoveRole', 'roleId', roleId);
|
|
16814
|
+
const localVarPath = `/player/{id}/role/{roleId}`
|
|
16815
|
+
.replace(`{${'id'}}`, encodeURIComponent(String(id)))
|
|
16816
|
+
.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
|
|
16191
16817
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16192
16818
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16193
16819
|
let baseOptions;
|
|
@@ -16243,6 +16869,38 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
16243
16869
|
options: localVarRequestOptions,
|
|
16244
16870
|
};
|
|
16245
16871
|
},
|
|
16872
|
+
/**
|
|
16873
|
+
* End the link between a player and its user. Both are kept. Emits player-unlinked (reason `admin`). Unlinking a player that has no linked user changes nothing. Required permissions: `MANAGE_PLAYERS`, `MANAGE_USERS`<br> OperationId: `PlayerControllerUnlinkUser`
|
|
16874
|
+
* @summary Unlink a player from its user
|
|
16875
|
+
* @param {string} id
|
|
16876
|
+
* @param {*} [options] Override http request option.
|
|
16877
|
+
* @throws {RequiredError}
|
|
16878
|
+
*/
|
|
16879
|
+
playerControllerUnlinkUser: async (id, options = {}) => {
|
|
16880
|
+
// verify required parameter 'id' is not null or undefined
|
|
16881
|
+
assertParamExists('playerControllerUnlinkUser', 'id', id);
|
|
16882
|
+
const localVarPath = `/player/{id}/link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
16883
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16884
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16885
|
+
let baseOptions;
|
|
16886
|
+
if (configuration) {
|
|
16887
|
+
baseOptions = configuration.baseOptions;
|
|
16888
|
+
}
|
|
16889
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
16890
|
+
const localVarHeaderParameter = {};
|
|
16891
|
+
const localVarQueryParameter = {};
|
|
16892
|
+
// authentication bearerAuth required
|
|
16893
|
+
// http bearer authentication required
|
|
16894
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
16895
|
+
// authentication domainAuth required
|
|
16896
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16897
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16898
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
16899
|
+
return {
|
|
16900
|
+
url: toPathString(localVarUrlObj),
|
|
16901
|
+
options: localVarRequestOptions,
|
|
16902
|
+
};
|
|
16903
|
+
},
|
|
16246
16904
|
};
|
|
16247
16905
|
};
|
|
16248
16906
|
/**
|
|
@@ -16398,6 +17056,48 @@ export const PlayerApiFp = function (configuration) {
|
|
|
16398
17056
|
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
16399
17057
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16400
17058
|
},
|
|
17059
|
+
/**
|
|
17060
|
+
* Link a player to a user in this domain, replacing any existing link on either side. Records source `admin` and the acting user. Emits player-linked, and player-unlinked (reason `displaced`) for each link it replaces. Linking a player to the user it is already linked to changes nothing. Required permissions: `MANAGE_PLAYERS`, `MANAGE_USERS`<br> OperationId: `PlayerControllerLinkUser`
|
|
17061
|
+
* @summary Link a player to a user
|
|
17062
|
+
* @param {string} id
|
|
17063
|
+
* @param {PlayerLinkUserInputDTO} [playerLinkUserInputDTO] PlayerLinkUserInputDTO
|
|
17064
|
+
* @param {*} [options] Override http request option.
|
|
17065
|
+
* @throws {RequiredError}
|
|
17066
|
+
*/
|
|
17067
|
+
async playerControllerLinkUser(id, playerLinkUserInputDTO, options) {
|
|
17068
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerLinkUser(id, playerLinkUserInputDTO, options);
|
|
17069
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17070
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerLinkUser']?.[localVarOperationServerIndex]?.url;
|
|
17071
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17072
|
+
},
|
|
17073
|
+
/**
|
|
17074
|
+
* Merges this player into `intoPlayerId` and deletes it. This cannot be undone. Its game servers, roles, bans, variables, shop orders, name and IP history and events move to the surviving player (event search reflects the move within a minute); on a game server both played on, the most recently seen record is kept and currency and playtime are summed. When both players are linked to a user, `keepUserId` names the user that stays linked and the other is unlinked (player-unlinked, reason `merged`). Emits player-merged. Refused when both players hold different values for the same platform identifier (Steam, EOS, Xbox Live, platform id), when both ids name the same player, or when either player was created by Fixture History. MANAGE_USERS is also required when the player being merged away is linked to a user, and MANAGE_VARIABLES when it holds variables. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerMerge`
|
|
17075
|
+
* @summary Merge a player into another
|
|
17076
|
+
* @param {string} id
|
|
17077
|
+
* @param {PlayerMergeExecuteInputDTO} [playerMergeExecuteInputDTO] PlayerMergeExecuteInputDTO
|
|
17078
|
+
* @param {*} [options] Override http request option.
|
|
17079
|
+
* @throws {RequiredError}
|
|
17080
|
+
*/
|
|
17081
|
+
async playerControllerMerge(id, playerMergeExecuteInputDTO, options) {
|
|
17082
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerMerge(id, playerMergeExecuteInputDTO, options);
|
|
17083
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17084
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerMerge']?.[localVarOperationServerIndex]?.url;
|
|
17085
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17086
|
+
},
|
|
17087
|
+
/**
|
|
17088
|
+
* Shows what merging this player into `intoPlayerId` would do: the game servers moved or combined (currency and playtime summed), the identifiers that move, the roles, bans and variables that move or are dropped as duplicates, and any refusal. Changes nothing. Refused when both players hold different values for the same platform identifier (Steam, EOS, Xbox Live, platform id), when both ids name the same player, or when either player was created by Fixture History. MANAGE_USERS is also required when the player being merged away is linked to a user, and MANAGE_VARIABLES when it holds variables. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerMergePreview`
|
|
17089
|
+
* @summary Preview merging a player into another
|
|
17090
|
+
* @param {string} id
|
|
17091
|
+
* @param {PlayerMergeInputDTO} [playerMergeInputDTO] PlayerMergeInputDTO
|
|
17092
|
+
* @param {*} [options] Override http request option.
|
|
17093
|
+
* @throws {RequiredError}
|
|
17094
|
+
*/
|
|
17095
|
+
async playerControllerMergePreview(id, playerMergeInputDTO, options) {
|
|
17096
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerMergePreview(id, playerMergeInputDTO, options);
|
|
17097
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17098
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerMergePreview']?.[localVarOperationServerIndex]?.url;
|
|
17099
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17100
|
+
},
|
|
16401
17101
|
/**
|
|
16402
17102
|
* Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
|
|
16403
17103
|
* @summary Remove a role from a player
|
|
@@ -16426,6 +17126,19 @@ export const PlayerApiFp = function (configuration) {
|
|
|
16426
17126
|
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
16427
17127
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16428
17128
|
},
|
|
17129
|
+
/**
|
|
17130
|
+
* End the link between a player and its user. Both are kept. Emits player-unlinked (reason `admin`). Unlinking a player that has no linked user changes nothing. Required permissions: `MANAGE_PLAYERS`, `MANAGE_USERS`<br> OperationId: `PlayerControllerUnlinkUser`
|
|
17131
|
+
* @summary Unlink a player from its user
|
|
17132
|
+
* @param {string} id
|
|
17133
|
+
* @param {*} [options] Override http request option.
|
|
17134
|
+
* @throws {RequiredError}
|
|
17135
|
+
*/
|
|
17136
|
+
async playerControllerUnlinkUser(id, options) {
|
|
17137
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerUnlinkUser(id, options);
|
|
17138
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17139
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerUnlinkUser']?.[localVarOperationServerIndex]?.url;
|
|
17140
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17141
|
+
},
|
|
16429
17142
|
};
|
|
16430
17143
|
};
|
|
16431
17144
|
/**
|
|
@@ -16554,6 +17267,45 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
16554
17267
|
playerControllerGetOne(id, options) {
|
|
16555
17268
|
return localVarFp.playerControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
16556
17269
|
},
|
|
17270
|
+
/**
|
|
17271
|
+
* Link a player to a user in this domain, replacing any existing link on either side. Records source `admin` and the acting user. Emits player-linked, and player-unlinked (reason `displaced`) for each link it replaces. Linking a player to the user it is already linked to changes nothing. Required permissions: `MANAGE_PLAYERS`, `MANAGE_USERS`<br> OperationId: `PlayerControllerLinkUser`
|
|
17272
|
+
* @summary Link a player to a user
|
|
17273
|
+
* @param {string} id
|
|
17274
|
+
* @param {PlayerLinkUserInputDTO} [playerLinkUserInputDTO] PlayerLinkUserInputDTO
|
|
17275
|
+
* @param {*} [options] Override http request option.
|
|
17276
|
+
* @throws {RequiredError}
|
|
17277
|
+
*/
|
|
17278
|
+
playerControllerLinkUser(id, playerLinkUserInputDTO, options) {
|
|
17279
|
+
return localVarFp
|
|
17280
|
+
.playerControllerLinkUser(id, playerLinkUserInputDTO, options)
|
|
17281
|
+
.then((request) => request(axios, basePath));
|
|
17282
|
+
},
|
|
17283
|
+
/**
|
|
17284
|
+
* Merges this player into `intoPlayerId` and deletes it. This cannot be undone. Its game servers, roles, bans, variables, shop orders, name and IP history and events move to the surviving player (event search reflects the move within a minute); on a game server both played on, the most recently seen record is kept and currency and playtime are summed. When both players are linked to a user, `keepUserId` names the user that stays linked and the other is unlinked (player-unlinked, reason `merged`). Emits player-merged. Refused when both players hold different values for the same platform identifier (Steam, EOS, Xbox Live, platform id), when both ids name the same player, or when either player was created by Fixture History. MANAGE_USERS is also required when the player being merged away is linked to a user, and MANAGE_VARIABLES when it holds variables. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerMerge`
|
|
17285
|
+
* @summary Merge a player into another
|
|
17286
|
+
* @param {string} id
|
|
17287
|
+
* @param {PlayerMergeExecuteInputDTO} [playerMergeExecuteInputDTO] PlayerMergeExecuteInputDTO
|
|
17288
|
+
* @param {*} [options] Override http request option.
|
|
17289
|
+
* @throws {RequiredError}
|
|
17290
|
+
*/
|
|
17291
|
+
playerControllerMerge(id, playerMergeExecuteInputDTO, options) {
|
|
17292
|
+
return localVarFp
|
|
17293
|
+
.playerControllerMerge(id, playerMergeExecuteInputDTO, options)
|
|
17294
|
+
.then((request) => request(axios, basePath));
|
|
17295
|
+
},
|
|
17296
|
+
/**
|
|
17297
|
+
* Shows what merging this player into `intoPlayerId` would do: the game servers moved or combined (currency and playtime summed), the identifiers that move, the roles, bans and variables that move or are dropped as duplicates, and any refusal. Changes nothing. Refused when both players hold different values for the same platform identifier (Steam, EOS, Xbox Live, platform id), when both ids name the same player, or when either player was created by Fixture History. MANAGE_USERS is also required when the player being merged away is linked to a user, and MANAGE_VARIABLES when it holds variables. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerMergePreview`
|
|
17298
|
+
* @summary Preview merging a player into another
|
|
17299
|
+
* @param {string} id
|
|
17300
|
+
* @param {PlayerMergeInputDTO} [playerMergeInputDTO] PlayerMergeInputDTO
|
|
17301
|
+
* @param {*} [options] Override http request option.
|
|
17302
|
+
* @throws {RequiredError}
|
|
17303
|
+
*/
|
|
17304
|
+
playerControllerMergePreview(id, playerMergeInputDTO, options) {
|
|
17305
|
+
return localVarFp
|
|
17306
|
+
.playerControllerMergePreview(id, playerMergeInputDTO, options)
|
|
17307
|
+
.then((request) => request(axios, basePath));
|
|
17308
|
+
},
|
|
16557
17309
|
/**
|
|
16558
17310
|
* Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
|
|
16559
17311
|
* @summary Remove a role from a player
|
|
@@ -16580,6 +17332,16 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
16580
17332
|
.playerControllerSearch(playerSearchInputDTO, options)
|
|
16581
17333
|
.then((request) => request(axios, basePath));
|
|
16582
17334
|
},
|
|
17335
|
+
/**
|
|
17336
|
+
* End the link between a player and its user. Both are kept. Emits player-unlinked (reason `admin`). Unlinking a player that has no linked user changes nothing. Required permissions: `MANAGE_PLAYERS`, `MANAGE_USERS`<br> OperationId: `PlayerControllerUnlinkUser`
|
|
17337
|
+
* @summary Unlink a player from its user
|
|
17338
|
+
* @param {string} id
|
|
17339
|
+
* @param {*} [options] Override http request option.
|
|
17340
|
+
* @throws {RequiredError}
|
|
17341
|
+
*/
|
|
17342
|
+
playerControllerUnlinkUser(id, options) {
|
|
17343
|
+
return localVarFp.playerControllerUnlinkUser(id, options).then((request) => request(axios, basePath));
|
|
17344
|
+
},
|
|
16583
17345
|
};
|
|
16584
17346
|
};
|
|
16585
17347
|
/**
|
|
@@ -16735,6 +17497,48 @@ export class PlayerApi extends BaseAPI {
|
|
|
16735
17497
|
.playerControllerGetOne(id, options)
|
|
16736
17498
|
.then((request) => request(this.axios, this.basePath));
|
|
16737
17499
|
}
|
|
17500
|
+
/**
|
|
17501
|
+
* Link a player to a user in this domain, replacing any existing link on either side. Records source `admin` and the acting user. Emits player-linked, and player-unlinked (reason `displaced`) for each link it replaces. Linking a player to the user it is already linked to changes nothing. Required permissions: `MANAGE_PLAYERS`, `MANAGE_USERS`<br> OperationId: `PlayerControllerLinkUser`
|
|
17502
|
+
* @summary Link a player to a user
|
|
17503
|
+
* @param {string} id
|
|
17504
|
+
* @param {PlayerLinkUserInputDTO} [playerLinkUserInputDTO] PlayerLinkUserInputDTO
|
|
17505
|
+
* @param {*} [options] Override http request option.
|
|
17506
|
+
* @throws {RequiredError}
|
|
17507
|
+
* @memberof PlayerApi
|
|
17508
|
+
*/
|
|
17509
|
+
playerControllerLinkUser(id, playerLinkUserInputDTO, options) {
|
|
17510
|
+
return PlayerApiFp(this.configuration)
|
|
17511
|
+
.playerControllerLinkUser(id, playerLinkUserInputDTO, options)
|
|
17512
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17513
|
+
}
|
|
17514
|
+
/**
|
|
17515
|
+
* Merges this player into `intoPlayerId` and deletes it. This cannot be undone. Its game servers, roles, bans, variables, shop orders, name and IP history and events move to the surviving player (event search reflects the move within a minute); on a game server both played on, the most recently seen record is kept and currency and playtime are summed. When both players are linked to a user, `keepUserId` names the user that stays linked and the other is unlinked (player-unlinked, reason `merged`). Emits player-merged. Refused when both players hold different values for the same platform identifier (Steam, EOS, Xbox Live, platform id), when both ids name the same player, or when either player was created by Fixture History. MANAGE_USERS is also required when the player being merged away is linked to a user, and MANAGE_VARIABLES when it holds variables. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerMerge`
|
|
17516
|
+
* @summary Merge a player into another
|
|
17517
|
+
* @param {string} id
|
|
17518
|
+
* @param {PlayerMergeExecuteInputDTO} [playerMergeExecuteInputDTO] PlayerMergeExecuteInputDTO
|
|
17519
|
+
* @param {*} [options] Override http request option.
|
|
17520
|
+
* @throws {RequiredError}
|
|
17521
|
+
* @memberof PlayerApi
|
|
17522
|
+
*/
|
|
17523
|
+
playerControllerMerge(id, playerMergeExecuteInputDTO, options) {
|
|
17524
|
+
return PlayerApiFp(this.configuration)
|
|
17525
|
+
.playerControllerMerge(id, playerMergeExecuteInputDTO, options)
|
|
17526
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17527
|
+
}
|
|
17528
|
+
/**
|
|
17529
|
+
* Shows what merging this player into `intoPlayerId` would do: the game servers moved or combined (currency and playtime summed), the identifiers that move, the roles, bans and variables that move or are dropped as duplicates, and any refusal. Changes nothing. Refused when both players hold different values for the same platform identifier (Steam, EOS, Xbox Live, platform id), when both ids name the same player, or when either player was created by Fixture History. MANAGE_USERS is also required when the player being merged away is linked to a user, and MANAGE_VARIABLES when it holds variables. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerMergePreview`
|
|
17530
|
+
* @summary Preview merging a player into another
|
|
17531
|
+
* @param {string} id
|
|
17532
|
+
* @param {PlayerMergeInputDTO} [playerMergeInputDTO] PlayerMergeInputDTO
|
|
17533
|
+
* @param {*} [options] Override http request option.
|
|
17534
|
+
* @throws {RequiredError}
|
|
17535
|
+
* @memberof PlayerApi
|
|
17536
|
+
*/
|
|
17537
|
+
playerControllerMergePreview(id, playerMergeInputDTO, options) {
|
|
17538
|
+
return PlayerApiFp(this.configuration)
|
|
17539
|
+
.playerControllerMergePreview(id, playerMergeInputDTO, options)
|
|
17540
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17541
|
+
}
|
|
16738
17542
|
/**
|
|
16739
17543
|
* Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
|
|
16740
17544
|
* @summary Remove a role from a player
|
|
@@ -16763,6 +17567,19 @@ export class PlayerApi extends BaseAPI {
|
|
|
16763
17567
|
.playerControllerSearch(playerSearchInputDTO, options)
|
|
16764
17568
|
.then((request) => request(this.axios, this.basePath));
|
|
16765
17569
|
}
|
|
17570
|
+
/**
|
|
17571
|
+
* End the link between a player and its user. Both are kept. Emits player-unlinked (reason `admin`). Unlinking a player that has no linked user changes nothing. Required permissions: `MANAGE_PLAYERS`, `MANAGE_USERS`<br> OperationId: `PlayerControllerUnlinkUser`
|
|
17572
|
+
* @summary Unlink a player from its user
|
|
17573
|
+
* @param {string} id
|
|
17574
|
+
* @param {*} [options] Override http request option.
|
|
17575
|
+
* @throws {RequiredError}
|
|
17576
|
+
* @memberof PlayerApi
|
|
17577
|
+
*/
|
|
17578
|
+
playerControllerUnlinkUser(id, options) {
|
|
17579
|
+
return PlayerApiFp(this.configuration)
|
|
17580
|
+
.playerControllerUnlinkUser(id, options)
|
|
17581
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17582
|
+
}
|
|
16766
17583
|
}
|
|
16767
17584
|
/**
|
|
16768
17585
|
* PlayerOnGameServerApi - axios parameter creator
|
|
@@ -17523,61 +18340,61 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
17523
18340
|
}
|
|
17524
18341
|
}
|
|
17525
18342
|
/**
|
|
17526
|
-
*
|
|
18343
|
+
* PlayerPortalApi - axios parameter creator
|
|
17527
18344
|
* @export
|
|
17528
18345
|
*/
|
|
17529
|
-
export const
|
|
18346
|
+
export const PlayerPortalApiAxiosParamCreator = function (configuration) {
|
|
17530
18347
|
return {
|
|
17531
18348
|
/**
|
|
17532
|
-
*
|
|
17533
|
-
* @summary
|
|
17534
|
-
* @param {string}
|
|
17535
|
-
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
18349
|
+
* Dismisses the signed-in User\'s pending notice that another account\'s link replaced theirs, and returns the Player Portal state. Idempotent. Signed-in Player Portal only; never reads or sets the `takaro-domain` cookie, and refuses API keys.<br> OperationId: `PlayerPortalControllerDismissDisplacedNotice`
|
|
18350
|
+
* @summary Dismiss the displaced notice
|
|
18351
|
+
* @param {string} domainId
|
|
17536
18352
|
* @param {*} [options] Override http request option.
|
|
17537
18353
|
* @throws {RequiredError}
|
|
17538
18354
|
*/
|
|
17539
|
-
|
|
17540
|
-
// verify required parameter '
|
|
17541
|
-
assertParamExists('
|
|
17542
|
-
const localVarPath = `/
|
|
18355
|
+
playerPortalControllerDismissDisplacedNotice: async (domainId, options = {}) => {
|
|
18356
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
18357
|
+
assertParamExists('playerPortalControllerDismissDisplacedNotice', 'domainId', domainId);
|
|
18358
|
+
const localVarPath = `/player-portal/{domainId}/displaced-notice`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
17543
18359
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17544
18360
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17545
18361
|
let baseOptions;
|
|
17546
18362
|
if (configuration) {
|
|
17547
18363
|
baseOptions = configuration.baseOptions;
|
|
17548
18364
|
}
|
|
17549
|
-
const localVarRequestOptions = { method: '
|
|
18365
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
17550
18366
|
const localVarHeaderParameter = {};
|
|
17551
18367
|
const localVarQueryParameter = {};
|
|
17552
18368
|
// authentication bearerAuth required
|
|
17553
18369
|
// http bearer authentication required
|
|
17554
18370
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
17555
18371
|
// authentication domainAuth required
|
|
17556
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17557
18372
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17558
18373
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17559
18374
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17560
|
-
localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
|
|
17561
18375
|
return {
|
|
17562
18376
|
url: toPathString(localVarUrlObj),
|
|
17563
18377
|
options: localVarRequestOptions,
|
|
17564
18378
|
};
|
|
17565
18379
|
},
|
|
17566
18380
|
/**
|
|
17567
|
-
*
|
|
17568
|
-
* @summary
|
|
18381
|
+
* Signs the current Identity into the Player Portal of the Domain in the path and returns the Portal state. When the Identity has no User in that Domain, an unlinked Player User is created: it is not a dashboard user, is not billed and does not inherit the `User` role. Idempotent. Never reads or sets the `takaro-domain` cookie, and refuses API keys.<br> OperationId: `PlayerPortalControllerEnter`
|
|
18382
|
+
* @summary Enter a Domain\'s Player Portal
|
|
18383
|
+
* @param {string} domainId
|
|
17569
18384
|
* @param {*} [options] Override http request option.
|
|
17570
18385
|
* @throws {RequiredError}
|
|
17571
18386
|
*/
|
|
17572
|
-
|
|
17573
|
-
|
|
18387
|
+
playerPortalControllerEnter: async (domainId, options = {}) => {
|
|
18388
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
18389
|
+
assertParamExists('playerPortalControllerEnter', 'domainId', domainId);
|
|
18390
|
+
const localVarPath = `/player-portal/{domainId}/enter`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
17574
18391
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17575
18392
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17576
18393
|
let baseOptions;
|
|
17577
18394
|
if (configuration) {
|
|
17578
18395
|
baseOptions = configuration.baseOptions;
|
|
17579
18396
|
}
|
|
17580
|
-
const localVarRequestOptions = { method: '
|
|
18397
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
17581
18398
|
const localVarHeaderParameter = {};
|
|
17582
18399
|
const localVarQueryParameter = {};
|
|
17583
18400
|
// authentication bearerAuth required
|
|
@@ -17593,16 +18410,17 @@ export const RegistryApiAxiosParamCreator = function (configuration) {
|
|
|
17593
18410
|
};
|
|
17594
18411
|
},
|
|
17595
18412
|
/**
|
|
17596
|
-
*
|
|
17597
|
-
* @summary
|
|
17598
|
-
* @param {string}
|
|
18413
|
+
* Whether a Link Code from `/link` in game is valid, expired or invalid in the Domain in the path. A valid code names its Player and the seconds until it expires. Another Domain\'s codes read as invalid. Signed-in Player Portal only; rate-limited per User and per client IP.<br> OperationId: `PlayerPortalControllerInspectLinkCode`
|
|
18414
|
+
* @summary Inspect a game-issued Link Code
|
|
18415
|
+
* @param {string} domainId
|
|
18416
|
+
* @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
|
|
17599
18417
|
* @param {*} [options] Override http request option.
|
|
17600
18418
|
* @throws {RequiredError}
|
|
17601
18419
|
*/
|
|
17602
|
-
|
|
17603
|
-
// verify required parameter '
|
|
17604
|
-
assertParamExists('
|
|
17605
|
-
const localVarPath = `/
|
|
18420
|
+
playerPortalControllerInspectLinkCode: async (domainId, playerPortalLinkCodeInputDTO, options = {}) => {
|
|
18421
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
18422
|
+
assertParamExists('playerPortalControllerInspectLinkCode', 'domainId', domainId);
|
|
18423
|
+
const localVarPath = `/player-portal/{domainId}/link-code/inspect`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
17606
18424
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17607
18425
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17608
18426
|
let baseOptions;
|
|
@@ -17616,17 +18434,635 @@ export const RegistryApiAxiosParamCreator = function (configuration) {
|
|
|
17616
18434
|
// http bearer authentication required
|
|
17617
18435
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
17618
18436
|
// authentication domainAuth required
|
|
18437
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17619
18438
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17620
18439
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17621
18440
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18441
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerPortalLinkCodeInputDTO, localVarRequestOptions, configuration);
|
|
17622
18442
|
return {
|
|
17623
18443
|
url: toPathString(localVarUrlObj),
|
|
17624
18444
|
options: localVarRequestOptions,
|
|
17625
18445
|
};
|
|
17626
18446
|
},
|
|
17627
18447
|
/**
|
|
17628
|
-
*
|
|
17629
|
-
* @summary
|
|
18448
|
+
* Returns the signed-in User\'s live Portal-issued Link Code, minting one when there is none; `renew: true` replaces it. Signed-in Player Portal only; one live code per User. The code is 6 digits, valid for 10 minutes, unique within the Domain and works once. Typing `/link <code>` in game links the speaking Player to this User (source `web-code`), replacing an existing link on either side (`player-unlinked`, reason `displaced`). Never reads or sets the `takaro-domain` cookie, and refuses API keys. Rate-limited per User and per client IP.<br> OperationId: `PlayerPortalControllerIssuePortalLinkCode`
|
|
18449
|
+
* @summary Get a Link Code to type in game
|
|
18450
|
+
* @param {string} domainId
|
|
18451
|
+
* @param {PlayerPortalIssueLinkCodeInputDTO} [playerPortalIssueLinkCodeInputDTO] PlayerPortalIssueLinkCodeInputDTO
|
|
18452
|
+
* @param {*} [options] Override http request option.
|
|
18453
|
+
* @throws {RequiredError}
|
|
18454
|
+
*/
|
|
18455
|
+
playerPortalControllerIssuePortalLinkCode: async (domainId, playerPortalIssueLinkCodeInputDTO, options = {}) => {
|
|
18456
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
18457
|
+
assertParamExists('playerPortalControllerIssuePortalLinkCode', 'domainId', domainId);
|
|
18458
|
+
const localVarPath = `/player-portal/{domainId}/portal-link-code`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
18459
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18460
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18461
|
+
let baseOptions;
|
|
18462
|
+
if (configuration) {
|
|
18463
|
+
baseOptions = configuration.baseOptions;
|
|
18464
|
+
}
|
|
18465
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
18466
|
+
const localVarHeaderParameter = {};
|
|
18467
|
+
const localVarQueryParameter = {};
|
|
18468
|
+
// authentication bearerAuth required
|
|
18469
|
+
// http bearer authentication required
|
|
18470
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
18471
|
+
// authentication domainAuth required
|
|
18472
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18473
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18474
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18475
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18476
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerPortalIssueLinkCodeInputDTO, localVarRequestOptions, configuration);
|
|
18477
|
+
return {
|
|
18478
|
+
url: toPathString(localVarUrlObj),
|
|
18479
|
+
options: localVarRequestOptions,
|
|
18480
|
+
};
|
|
18481
|
+
},
|
|
18482
|
+
/**
|
|
18483
|
+
* Links the code\'s Player to the signed-in User and returns the Player Portal state. Takes no email and creates no account. The code works once. An existing link on either side is replaced, emitting `player-unlinked` (reason `displaced`) and then `player-linked` (source `game-code`). Never reads or sets the `takaro-domain` cookie. Rate-limited per User and per client IP.<br> OperationId: `PlayerPortalControllerRedeemLinkCode`
|
|
18484
|
+
* @summary Redeem a game-issued Link Code
|
|
18485
|
+
* @param {string} domainId
|
|
18486
|
+
* @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
|
|
18487
|
+
* @param {*} [options] Override http request option.
|
|
18488
|
+
* @throws {RequiredError}
|
|
18489
|
+
*/
|
|
18490
|
+
playerPortalControllerRedeemLinkCode: async (domainId, playerPortalLinkCodeInputDTO, options = {}) => {
|
|
18491
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
18492
|
+
assertParamExists('playerPortalControllerRedeemLinkCode', 'domainId', domainId);
|
|
18493
|
+
const localVarPath = `/player-portal/{domainId}/link-code/redeem`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
18494
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18495
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18496
|
+
let baseOptions;
|
|
18497
|
+
if (configuration) {
|
|
18498
|
+
baseOptions = configuration.baseOptions;
|
|
18499
|
+
}
|
|
18500
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
18501
|
+
const localVarHeaderParameter = {};
|
|
18502
|
+
const localVarQueryParameter = {};
|
|
18503
|
+
// authentication bearerAuth required
|
|
18504
|
+
// http bearer authentication required
|
|
18505
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
18506
|
+
// authentication domainAuth required
|
|
18507
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18508
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18509
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18510
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18511
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerPortalLinkCodeInputDTO, localVarRequestOptions, configuration);
|
|
18512
|
+
return {
|
|
18513
|
+
url: toPathString(localVarUrlObj),
|
|
18514
|
+
options: localVarRequestOptions,
|
|
18515
|
+
};
|
|
18516
|
+
},
|
|
18517
|
+
/**
|
|
18518
|
+
* Public, for old `/link?code=` URLs: returns the Player Portal URL of the Domain a valid or recently expired Link Code belongs to, and nothing else. 404 for an unknown code. Rate-limited per client IP.<br> OperationId: `PlayerPortalControllerResolveLinkCode`
|
|
18519
|
+
* @summary Find a game-issued Link Code\'s Player Portal
|
|
18520
|
+
* @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
|
|
18521
|
+
* @param {*} [options] Override http request option.
|
|
18522
|
+
* @throws {RequiredError}
|
|
18523
|
+
*/
|
|
18524
|
+
playerPortalControllerResolveLinkCode: async (playerPortalLinkCodeInputDTO, options = {}) => {
|
|
18525
|
+
const localVarPath = `/player-portal/link-code/resolve`;
|
|
18526
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18527
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18528
|
+
let baseOptions;
|
|
18529
|
+
if (configuration) {
|
|
18530
|
+
baseOptions = configuration.baseOptions;
|
|
18531
|
+
}
|
|
18532
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
18533
|
+
const localVarHeaderParameter = {};
|
|
18534
|
+
const localVarQueryParameter = {};
|
|
18535
|
+
// authentication bearerAuth required
|
|
18536
|
+
// http bearer authentication required
|
|
18537
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
18538
|
+
// authentication domainAuth required
|
|
18539
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18540
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18541
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18542
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18543
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerPortalLinkCodeInputDTO, localVarRequestOptions, configuration);
|
|
18544
|
+
return {
|
|
18545
|
+
url: toPathString(localVarUrlObj),
|
|
18546
|
+
options: localVarRequestOptions,
|
|
18547
|
+
};
|
|
18548
|
+
},
|
|
18549
|
+
/**
|
|
18550
|
+
* The Player Portal state of the Domain in the path for the current Identity. 404 until the Identity has entered the Portal (`POST /player-portal/{domainId}/enter`). Never reads or sets the `takaro-domain` cookie.<br> OperationId: `PlayerPortalControllerState`
|
|
18551
|
+
* @summary Get a Domain\'s Player Portal state
|
|
18552
|
+
* @param {string} domainId
|
|
18553
|
+
* @param {*} [options] Override http request option.
|
|
18554
|
+
* @throws {RequiredError}
|
|
18555
|
+
*/
|
|
18556
|
+
playerPortalControllerState: async (domainId, options = {}) => {
|
|
18557
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
18558
|
+
assertParamExists('playerPortalControllerState', 'domainId', domainId);
|
|
18559
|
+
const localVarPath = `/player-portal/{domainId}`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
18560
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18561
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18562
|
+
let baseOptions;
|
|
18563
|
+
if (configuration) {
|
|
18564
|
+
baseOptions = configuration.baseOptions;
|
|
18565
|
+
}
|
|
18566
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18567
|
+
const localVarHeaderParameter = {};
|
|
18568
|
+
const localVarQueryParameter = {};
|
|
18569
|
+
// authentication bearerAuth required
|
|
18570
|
+
// http bearer authentication required
|
|
18571
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
18572
|
+
// authentication domainAuth required
|
|
18573
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18574
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18575
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18576
|
+
return {
|
|
18577
|
+
url: toPathString(localVarUrlObj),
|
|
18578
|
+
options: localVarRequestOptions,
|
|
18579
|
+
};
|
|
18580
|
+
},
|
|
18581
|
+
/**
|
|
18582
|
+
* Ends the signed-in User\'s own Player-User Link to the Player in the path and returns the Player Portal state. Both the Player and the User are kept. Emits `player-unlinked` (reason `self`). Steam sign-in will not link this Player to this User again until a Link Code or an admin links them. Unlinking a Player you are not linked to changes nothing; 400 when you are linked to a different Player. Signed-in Player Portal only; never reads or sets the `takaro-domain` cookie, and refuses API keys.<br> OperationId: `PlayerPortalControllerUnlinkSelf`
|
|
18583
|
+
* @summary Unlink your own Player
|
|
18584
|
+
* @param {string} domainId
|
|
18585
|
+
* @param {string} playerId
|
|
18586
|
+
* @param {*} [options] Override http request option.
|
|
18587
|
+
* @throws {RequiredError}
|
|
18588
|
+
*/
|
|
18589
|
+
playerPortalControllerUnlinkSelf: async (domainId, playerId, options = {}) => {
|
|
18590
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
18591
|
+
assertParamExists('playerPortalControllerUnlinkSelf', 'domainId', domainId);
|
|
18592
|
+
// verify required parameter 'playerId' is not null or undefined
|
|
18593
|
+
assertParamExists('playerPortalControllerUnlinkSelf', 'playerId', playerId);
|
|
18594
|
+
const localVarPath = `/player-portal/{domainId}/link/{playerId}`
|
|
18595
|
+
.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)))
|
|
18596
|
+
.replace(`{${'playerId'}}`, encodeURIComponent(String(playerId)));
|
|
18597
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18598
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18599
|
+
let baseOptions;
|
|
18600
|
+
if (configuration) {
|
|
18601
|
+
baseOptions = configuration.baseOptions;
|
|
18602
|
+
}
|
|
18603
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
18604
|
+
const localVarHeaderParameter = {};
|
|
18605
|
+
const localVarQueryParameter = {};
|
|
18606
|
+
// authentication bearerAuth required
|
|
18607
|
+
// http bearer authentication required
|
|
18608
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
18609
|
+
// authentication domainAuth required
|
|
18610
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18611
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18612
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18613
|
+
return {
|
|
18614
|
+
url: toPathString(localVarUrlObj),
|
|
18615
|
+
options: localVarRequestOptions,
|
|
18616
|
+
};
|
|
18617
|
+
},
|
|
18618
|
+
};
|
|
18619
|
+
};
|
|
18620
|
+
/**
|
|
18621
|
+
* PlayerPortalApi - functional programming interface
|
|
18622
|
+
* @export
|
|
18623
|
+
*/
|
|
18624
|
+
export const PlayerPortalApiFp = function (configuration) {
|
|
18625
|
+
const localVarAxiosParamCreator = PlayerPortalApiAxiosParamCreator(configuration);
|
|
18626
|
+
return {
|
|
18627
|
+
/**
|
|
18628
|
+
* Dismisses the signed-in User\'s pending notice that another account\'s link replaced theirs, and returns the Player Portal state. Idempotent. Signed-in Player Portal only; never reads or sets the `takaro-domain` cookie, and refuses API keys.<br> OperationId: `PlayerPortalControllerDismissDisplacedNotice`
|
|
18629
|
+
* @summary Dismiss the displaced notice
|
|
18630
|
+
* @param {string} domainId
|
|
18631
|
+
* @param {*} [options] Override http request option.
|
|
18632
|
+
* @throws {RequiredError}
|
|
18633
|
+
*/
|
|
18634
|
+
async playerPortalControllerDismissDisplacedNotice(domainId, options) {
|
|
18635
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerDismissDisplacedNotice(domainId, options);
|
|
18636
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18637
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerDismissDisplacedNotice']?.[localVarOperationServerIndex]?.url;
|
|
18638
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18639
|
+
},
|
|
18640
|
+
/**
|
|
18641
|
+
* Signs the current Identity into the Player Portal of the Domain in the path and returns the Portal state. When the Identity has no User in that Domain, an unlinked Player User is created: it is not a dashboard user, is not billed and does not inherit the `User` role. Idempotent. Never reads or sets the `takaro-domain` cookie, and refuses API keys.<br> OperationId: `PlayerPortalControllerEnter`
|
|
18642
|
+
* @summary Enter a Domain\'s Player Portal
|
|
18643
|
+
* @param {string} domainId
|
|
18644
|
+
* @param {*} [options] Override http request option.
|
|
18645
|
+
* @throws {RequiredError}
|
|
18646
|
+
*/
|
|
18647
|
+
async playerPortalControllerEnter(domainId, options) {
|
|
18648
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerEnter(domainId, options);
|
|
18649
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18650
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerEnter']?.[localVarOperationServerIndex]?.url;
|
|
18651
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18652
|
+
},
|
|
18653
|
+
/**
|
|
18654
|
+
* Whether a Link Code from `/link` in game is valid, expired or invalid in the Domain in the path. A valid code names its Player and the seconds until it expires. Another Domain\'s codes read as invalid. Signed-in Player Portal only; rate-limited per User and per client IP.<br> OperationId: `PlayerPortalControllerInspectLinkCode`
|
|
18655
|
+
* @summary Inspect a game-issued Link Code
|
|
18656
|
+
* @param {string} domainId
|
|
18657
|
+
* @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
|
|
18658
|
+
* @param {*} [options] Override http request option.
|
|
18659
|
+
* @throws {RequiredError}
|
|
18660
|
+
*/
|
|
18661
|
+
async playerPortalControllerInspectLinkCode(domainId, playerPortalLinkCodeInputDTO, options) {
|
|
18662
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerInspectLinkCode(domainId, playerPortalLinkCodeInputDTO, options);
|
|
18663
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18664
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerInspectLinkCode']?.[localVarOperationServerIndex]
|
|
18665
|
+
?.url;
|
|
18666
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18667
|
+
},
|
|
18668
|
+
/**
|
|
18669
|
+
* Returns the signed-in User\'s live Portal-issued Link Code, minting one when there is none; `renew: true` replaces it. Signed-in Player Portal only; one live code per User. The code is 6 digits, valid for 10 minutes, unique within the Domain and works once. Typing `/link <code>` in game links the speaking Player to this User (source `web-code`), replacing an existing link on either side (`player-unlinked`, reason `displaced`). Never reads or sets the `takaro-domain` cookie, and refuses API keys. Rate-limited per User and per client IP.<br> OperationId: `PlayerPortalControllerIssuePortalLinkCode`
|
|
18670
|
+
* @summary Get a Link Code to type in game
|
|
18671
|
+
* @param {string} domainId
|
|
18672
|
+
* @param {PlayerPortalIssueLinkCodeInputDTO} [playerPortalIssueLinkCodeInputDTO] PlayerPortalIssueLinkCodeInputDTO
|
|
18673
|
+
* @param {*} [options] Override http request option.
|
|
18674
|
+
* @throws {RequiredError}
|
|
18675
|
+
*/
|
|
18676
|
+
async playerPortalControllerIssuePortalLinkCode(domainId, playerPortalIssueLinkCodeInputDTO, options) {
|
|
18677
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerIssuePortalLinkCode(domainId, playerPortalIssueLinkCodeInputDTO, options);
|
|
18678
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18679
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerIssuePortalLinkCode']?.[localVarOperationServerIndex]
|
|
18680
|
+
?.url;
|
|
18681
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18682
|
+
},
|
|
18683
|
+
/**
|
|
18684
|
+
* Links the code\'s Player to the signed-in User and returns the Player Portal state. Takes no email and creates no account. The code works once. An existing link on either side is replaced, emitting `player-unlinked` (reason `displaced`) and then `player-linked` (source `game-code`). Never reads or sets the `takaro-domain` cookie. Rate-limited per User and per client IP.<br> OperationId: `PlayerPortalControllerRedeemLinkCode`
|
|
18685
|
+
* @summary Redeem a game-issued Link Code
|
|
18686
|
+
* @param {string} domainId
|
|
18687
|
+
* @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
|
|
18688
|
+
* @param {*} [options] Override http request option.
|
|
18689
|
+
* @throws {RequiredError}
|
|
18690
|
+
*/
|
|
18691
|
+
async playerPortalControllerRedeemLinkCode(domainId, playerPortalLinkCodeInputDTO, options) {
|
|
18692
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerRedeemLinkCode(domainId, playerPortalLinkCodeInputDTO, options);
|
|
18693
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18694
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerRedeemLinkCode']?.[localVarOperationServerIndex]?.url;
|
|
18695
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18696
|
+
},
|
|
18697
|
+
/**
|
|
18698
|
+
* Public, for old `/link?code=` URLs: returns the Player Portal URL of the Domain a valid or recently expired Link Code belongs to, and nothing else. 404 for an unknown code. Rate-limited per client IP.<br> OperationId: `PlayerPortalControllerResolveLinkCode`
|
|
18699
|
+
* @summary Find a game-issued Link Code\'s Player Portal
|
|
18700
|
+
* @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
|
|
18701
|
+
* @param {*} [options] Override http request option.
|
|
18702
|
+
* @throws {RequiredError}
|
|
18703
|
+
*/
|
|
18704
|
+
async playerPortalControllerResolveLinkCode(playerPortalLinkCodeInputDTO, options) {
|
|
18705
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerResolveLinkCode(playerPortalLinkCodeInputDTO, options);
|
|
18706
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18707
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerResolveLinkCode']?.[localVarOperationServerIndex]
|
|
18708
|
+
?.url;
|
|
18709
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18710
|
+
},
|
|
18711
|
+
/**
|
|
18712
|
+
* The Player Portal state of the Domain in the path for the current Identity. 404 until the Identity has entered the Portal (`POST /player-portal/{domainId}/enter`). Never reads or sets the `takaro-domain` cookie.<br> OperationId: `PlayerPortalControllerState`
|
|
18713
|
+
* @summary Get a Domain\'s Player Portal state
|
|
18714
|
+
* @param {string} domainId
|
|
18715
|
+
* @param {*} [options] Override http request option.
|
|
18716
|
+
* @throws {RequiredError}
|
|
18717
|
+
*/
|
|
18718
|
+
async playerPortalControllerState(domainId, options) {
|
|
18719
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerState(domainId, options);
|
|
18720
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18721
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerState']?.[localVarOperationServerIndex]?.url;
|
|
18722
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18723
|
+
},
|
|
18724
|
+
/**
|
|
18725
|
+
* Ends the signed-in User\'s own Player-User Link to the Player in the path and returns the Player Portal state. Both the Player and the User are kept. Emits `player-unlinked` (reason `self`). Steam sign-in will not link this Player to this User again until a Link Code or an admin links them. Unlinking a Player you are not linked to changes nothing; 400 when you are linked to a different Player. Signed-in Player Portal only; never reads or sets the `takaro-domain` cookie, and refuses API keys.<br> OperationId: `PlayerPortalControllerUnlinkSelf`
|
|
18726
|
+
* @summary Unlink your own Player
|
|
18727
|
+
* @param {string} domainId
|
|
18728
|
+
* @param {string} playerId
|
|
18729
|
+
* @param {*} [options] Override http request option.
|
|
18730
|
+
* @throws {RequiredError}
|
|
18731
|
+
*/
|
|
18732
|
+
async playerPortalControllerUnlinkSelf(domainId, playerId, options) {
|
|
18733
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerUnlinkSelf(domainId, playerId, options);
|
|
18734
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18735
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerUnlinkSelf']?.[localVarOperationServerIndex]?.url;
|
|
18736
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18737
|
+
},
|
|
18738
|
+
};
|
|
18739
|
+
};
|
|
18740
|
+
/**
|
|
18741
|
+
* PlayerPortalApi - factory interface
|
|
18742
|
+
* @export
|
|
18743
|
+
*/
|
|
18744
|
+
export const PlayerPortalApiFactory = function (configuration, basePath, axios) {
|
|
18745
|
+
const localVarFp = PlayerPortalApiFp(configuration);
|
|
18746
|
+
return {
|
|
18747
|
+
/**
|
|
18748
|
+
* Dismisses the signed-in User\'s pending notice that another account\'s link replaced theirs, and returns the Player Portal state. Idempotent. Signed-in Player Portal only; never reads or sets the `takaro-domain` cookie, and refuses API keys.<br> OperationId: `PlayerPortalControllerDismissDisplacedNotice`
|
|
18749
|
+
* @summary Dismiss the displaced notice
|
|
18750
|
+
* @param {string} domainId
|
|
18751
|
+
* @param {*} [options] Override http request option.
|
|
18752
|
+
* @throws {RequiredError}
|
|
18753
|
+
*/
|
|
18754
|
+
playerPortalControllerDismissDisplacedNotice(domainId, options) {
|
|
18755
|
+
return localVarFp
|
|
18756
|
+
.playerPortalControllerDismissDisplacedNotice(domainId, options)
|
|
18757
|
+
.then((request) => request(axios, basePath));
|
|
18758
|
+
},
|
|
18759
|
+
/**
|
|
18760
|
+
* Signs the current Identity into the Player Portal of the Domain in the path and returns the Portal state. When the Identity has no User in that Domain, an unlinked Player User is created: it is not a dashboard user, is not billed and does not inherit the `User` role. Idempotent. Never reads or sets the `takaro-domain` cookie, and refuses API keys.<br> OperationId: `PlayerPortalControllerEnter`
|
|
18761
|
+
* @summary Enter a Domain\'s Player Portal
|
|
18762
|
+
* @param {string} domainId
|
|
18763
|
+
* @param {*} [options] Override http request option.
|
|
18764
|
+
* @throws {RequiredError}
|
|
18765
|
+
*/
|
|
18766
|
+
playerPortalControllerEnter(domainId, options) {
|
|
18767
|
+
return localVarFp.playerPortalControllerEnter(domainId, options).then((request) => request(axios, basePath));
|
|
18768
|
+
},
|
|
18769
|
+
/**
|
|
18770
|
+
* Whether a Link Code from `/link` in game is valid, expired or invalid in the Domain in the path. A valid code names its Player and the seconds until it expires. Another Domain\'s codes read as invalid. Signed-in Player Portal only; rate-limited per User and per client IP.<br> OperationId: `PlayerPortalControllerInspectLinkCode`
|
|
18771
|
+
* @summary Inspect a game-issued Link Code
|
|
18772
|
+
* @param {string} domainId
|
|
18773
|
+
* @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
|
|
18774
|
+
* @param {*} [options] Override http request option.
|
|
18775
|
+
* @throws {RequiredError}
|
|
18776
|
+
*/
|
|
18777
|
+
playerPortalControllerInspectLinkCode(domainId, playerPortalLinkCodeInputDTO, options) {
|
|
18778
|
+
return localVarFp
|
|
18779
|
+
.playerPortalControllerInspectLinkCode(domainId, playerPortalLinkCodeInputDTO, options)
|
|
18780
|
+
.then((request) => request(axios, basePath));
|
|
18781
|
+
},
|
|
18782
|
+
/**
|
|
18783
|
+
* Returns the signed-in User\'s live Portal-issued Link Code, minting one when there is none; `renew: true` replaces it. Signed-in Player Portal only; one live code per User. The code is 6 digits, valid for 10 minutes, unique within the Domain and works once. Typing `/link <code>` in game links the speaking Player to this User (source `web-code`), replacing an existing link on either side (`player-unlinked`, reason `displaced`). Never reads or sets the `takaro-domain` cookie, and refuses API keys. Rate-limited per User and per client IP.<br> OperationId: `PlayerPortalControllerIssuePortalLinkCode`
|
|
18784
|
+
* @summary Get a Link Code to type in game
|
|
18785
|
+
* @param {string} domainId
|
|
18786
|
+
* @param {PlayerPortalIssueLinkCodeInputDTO} [playerPortalIssueLinkCodeInputDTO] PlayerPortalIssueLinkCodeInputDTO
|
|
18787
|
+
* @param {*} [options] Override http request option.
|
|
18788
|
+
* @throws {RequiredError}
|
|
18789
|
+
*/
|
|
18790
|
+
playerPortalControllerIssuePortalLinkCode(domainId, playerPortalIssueLinkCodeInputDTO, options) {
|
|
18791
|
+
return localVarFp
|
|
18792
|
+
.playerPortalControllerIssuePortalLinkCode(domainId, playerPortalIssueLinkCodeInputDTO, options)
|
|
18793
|
+
.then((request) => request(axios, basePath));
|
|
18794
|
+
},
|
|
18795
|
+
/**
|
|
18796
|
+
* Links the code\'s Player to the signed-in User and returns the Player Portal state. Takes no email and creates no account. The code works once. An existing link on either side is replaced, emitting `player-unlinked` (reason `displaced`) and then `player-linked` (source `game-code`). Never reads or sets the `takaro-domain` cookie. Rate-limited per User and per client IP.<br> OperationId: `PlayerPortalControllerRedeemLinkCode`
|
|
18797
|
+
* @summary Redeem a game-issued Link Code
|
|
18798
|
+
* @param {string} domainId
|
|
18799
|
+
* @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
|
|
18800
|
+
* @param {*} [options] Override http request option.
|
|
18801
|
+
* @throws {RequiredError}
|
|
18802
|
+
*/
|
|
18803
|
+
playerPortalControllerRedeemLinkCode(domainId, playerPortalLinkCodeInputDTO, options) {
|
|
18804
|
+
return localVarFp
|
|
18805
|
+
.playerPortalControllerRedeemLinkCode(domainId, playerPortalLinkCodeInputDTO, options)
|
|
18806
|
+
.then((request) => request(axios, basePath));
|
|
18807
|
+
},
|
|
18808
|
+
/**
|
|
18809
|
+
* Public, for old `/link?code=` URLs: returns the Player Portal URL of the Domain a valid or recently expired Link Code belongs to, and nothing else. 404 for an unknown code. Rate-limited per client IP.<br> OperationId: `PlayerPortalControllerResolveLinkCode`
|
|
18810
|
+
* @summary Find a game-issued Link Code\'s Player Portal
|
|
18811
|
+
* @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
|
|
18812
|
+
* @param {*} [options] Override http request option.
|
|
18813
|
+
* @throws {RequiredError}
|
|
18814
|
+
*/
|
|
18815
|
+
playerPortalControllerResolveLinkCode(playerPortalLinkCodeInputDTO, options) {
|
|
18816
|
+
return localVarFp
|
|
18817
|
+
.playerPortalControllerResolveLinkCode(playerPortalLinkCodeInputDTO, options)
|
|
18818
|
+
.then((request) => request(axios, basePath));
|
|
18819
|
+
},
|
|
18820
|
+
/**
|
|
18821
|
+
* The Player Portal state of the Domain in the path for the current Identity. 404 until the Identity has entered the Portal (`POST /player-portal/{domainId}/enter`). Never reads or sets the `takaro-domain` cookie.<br> OperationId: `PlayerPortalControllerState`
|
|
18822
|
+
* @summary Get a Domain\'s Player Portal state
|
|
18823
|
+
* @param {string} domainId
|
|
18824
|
+
* @param {*} [options] Override http request option.
|
|
18825
|
+
* @throws {RequiredError}
|
|
18826
|
+
*/
|
|
18827
|
+
playerPortalControllerState(domainId, options) {
|
|
18828
|
+
return localVarFp.playerPortalControllerState(domainId, options).then((request) => request(axios, basePath));
|
|
18829
|
+
},
|
|
18830
|
+
/**
|
|
18831
|
+
* Ends the signed-in User\'s own Player-User Link to the Player in the path and returns the Player Portal state. Both the Player and the User are kept. Emits `player-unlinked` (reason `self`). Steam sign-in will not link this Player to this User again until a Link Code or an admin links them. Unlinking a Player you are not linked to changes nothing; 400 when you are linked to a different Player. Signed-in Player Portal only; never reads or sets the `takaro-domain` cookie, and refuses API keys.<br> OperationId: `PlayerPortalControllerUnlinkSelf`
|
|
18832
|
+
* @summary Unlink your own Player
|
|
18833
|
+
* @param {string} domainId
|
|
18834
|
+
* @param {string} playerId
|
|
18835
|
+
* @param {*} [options] Override http request option.
|
|
18836
|
+
* @throws {RequiredError}
|
|
18837
|
+
*/
|
|
18838
|
+
playerPortalControllerUnlinkSelf(domainId, playerId, options) {
|
|
18839
|
+
return localVarFp
|
|
18840
|
+
.playerPortalControllerUnlinkSelf(domainId, playerId, options)
|
|
18841
|
+
.then((request) => request(axios, basePath));
|
|
18842
|
+
},
|
|
18843
|
+
};
|
|
18844
|
+
};
|
|
18845
|
+
/**
|
|
18846
|
+
* PlayerPortalApi - object-oriented interface
|
|
18847
|
+
* @export
|
|
18848
|
+
* @class PlayerPortalApi
|
|
18849
|
+
* @extends {BaseAPI}
|
|
18850
|
+
*/
|
|
18851
|
+
export class PlayerPortalApi extends BaseAPI {
|
|
18852
|
+
/**
|
|
18853
|
+
* Dismisses the signed-in User\'s pending notice that another account\'s link replaced theirs, and returns the Player Portal state. Idempotent. Signed-in Player Portal only; never reads or sets the `takaro-domain` cookie, and refuses API keys.<br> OperationId: `PlayerPortalControllerDismissDisplacedNotice`
|
|
18854
|
+
* @summary Dismiss the displaced notice
|
|
18855
|
+
* @param {string} domainId
|
|
18856
|
+
* @param {*} [options] Override http request option.
|
|
18857
|
+
* @throws {RequiredError}
|
|
18858
|
+
* @memberof PlayerPortalApi
|
|
18859
|
+
*/
|
|
18860
|
+
playerPortalControllerDismissDisplacedNotice(domainId, options) {
|
|
18861
|
+
return PlayerPortalApiFp(this.configuration)
|
|
18862
|
+
.playerPortalControllerDismissDisplacedNotice(domainId, options)
|
|
18863
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18864
|
+
}
|
|
18865
|
+
/**
|
|
18866
|
+
* Signs the current Identity into the Player Portal of the Domain in the path and returns the Portal state. When the Identity has no User in that Domain, an unlinked Player User is created: it is not a dashboard user, is not billed and does not inherit the `User` role. Idempotent. Never reads or sets the `takaro-domain` cookie, and refuses API keys.<br> OperationId: `PlayerPortalControllerEnter`
|
|
18867
|
+
* @summary Enter a Domain\'s Player Portal
|
|
18868
|
+
* @param {string} domainId
|
|
18869
|
+
* @param {*} [options] Override http request option.
|
|
18870
|
+
* @throws {RequiredError}
|
|
18871
|
+
* @memberof PlayerPortalApi
|
|
18872
|
+
*/
|
|
18873
|
+
playerPortalControllerEnter(domainId, options) {
|
|
18874
|
+
return PlayerPortalApiFp(this.configuration)
|
|
18875
|
+
.playerPortalControllerEnter(domainId, options)
|
|
18876
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18877
|
+
}
|
|
18878
|
+
/**
|
|
18879
|
+
* Whether a Link Code from `/link` in game is valid, expired or invalid in the Domain in the path. A valid code names its Player and the seconds until it expires. Another Domain\'s codes read as invalid. Signed-in Player Portal only; rate-limited per User and per client IP.<br> OperationId: `PlayerPortalControllerInspectLinkCode`
|
|
18880
|
+
* @summary Inspect a game-issued Link Code
|
|
18881
|
+
* @param {string} domainId
|
|
18882
|
+
* @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
|
|
18883
|
+
* @param {*} [options] Override http request option.
|
|
18884
|
+
* @throws {RequiredError}
|
|
18885
|
+
* @memberof PlayerPortalApi
|
|
18886
|
+
*/
|
|
18887
|
+
playerPortalControllerInspectLinkCode(domainId, playerPortalLinkCodeInputDTO, options) {
|
|
18888
|
+
return PlayerPortalApiFp(this.configuration)
|
|
18889
|
+
.playerPortalControllerInspectLinkCode(domainId, playerPortalLinkCodeInputDTO, options)
|
|
18890
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18891
|
+
}
|
|
18892
|
+
/**
|
|
18893
|
+
* Returns the signed-in User\'s live Portal-issued Link Code, minting one when there is none; `renew: true` replaces it. Signed-in Player Portal only; one live code per User. The code is 6 digits, valid for 10 minutes, unique within the Domain and works once. Typing `/link <code>` in game links the speaking Player to this User (source `web-code`), replacing an existing link on either side (`player-unlinked`, reason `displaced`). Never reads or sets the `takaro-domain` cookie, and refuses API keys. Rate-limited per User and per client IP.<br> OperationId: `PlayerPortalControllerIssuePortalLinkCode`
|
|
18894
|
+
* @summary Get a Link Code to type in game
|
|
18895
|
+
* @param {string} domainId
|
|
18896
|
+
* @param {PlayerPortalIssueLinkCodeInputDTO} [playerPortalIssueLinkCodeInputDTO] PlayerPortalIssueLinkCodeInputDTO
|
|
18897
|
+
* @param {*} [options] Override http request option.
|
|
18898
|
+
* @throws {RequiredError}
|
|
18899
|
+
* @memberof PlayerPortalApi
|
|
18900
|
+
*/
|
|
18901
|
+
playerPortalControllerIssuePortalLinkCode(domainId, playerPortalIssueLinkCodeInputDTO, options) {
|
|
18902
|
+
return PlayerPortalApiFp(this.configuration)
|
|
18903
|
+
.playerPortalControllerIssuePortalLinkCode(domainId, playerPortalIssueLinkCodeInputDTO, options)
|
|
18904
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18905
|
+
}
|
|
18906
|
+
/**
|
|
18907
|
+
* Links the code\'s Player to the signed-in User and returns the Player Portal state. Takes no email and creates no account. The code works once. An existing link on either side is replaced, emitting `player-unlinked` (reason `displaced`) and then `player-linked` (source `game-code`). Never reads or sets the `takaro-domain` cookie. Rate-limited per User and per client IP.<br> OperationId: `PlayerPortalControllerRedeemLinkCode`
|
|
18908
|
+
* @summary Redeem a game-issued Link Code
|
|
18909
|
+
* @param {string} domainId
|
|
18910
|
+
* @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
|
|
18911
|
+
* @param {*} [options] Override http request option.
|
|
18912
|
+
* @throws {RequiredError}
|
|
18913
|
+
* @memberof PlayerPortalApi
|
|
18914
|
+
*/
|
|
18915
|
+
playerPortalControllerRedeemLinkCode(domainId, playerPortalLinkCodeInputDTO, options) {
|
|
18916
|
+
return PlayerPortalApiFp(this.configuration)
|
|
18917
|
+
.playerPortalControllerRedeemLinkCode(domainId, playerPortalLinkCodeInputDTO, options)
|
|
18918
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18919
|
+
}
|
|
18920
|
+
/**
|
|
18921
|
+
* Public, for old `/link?code=` URLs: returns the Player Portal URL of the Domain a valid or recently expired Link Code belongs to, and nothing else. 404 for an unknown code. Rate-limited per client IP.<br> OperationId: `PlayerPortalControllerResolveLinkCode`
|
|
18922
|
+
* @summary Find a game-issued Link Code\'s Player Portal
|
|
18923
|
+
* @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
|
|
18924
|
+
* @param {*} [options] Override http request option.
|
|
18925
|
+
* @throws {RequiredError}
|
|
18926
|
+
* @memberof PlayerPortalApi
|
|
18927
|
+
*/
|
|
18928
|
+
playerPortalControllerResolveLinkCode(playerPortalLinkCodeInputDTO, options) {
|
|
18929
|
+
return PlayerPortalApiFp(this.configuration)
|
|
18930
|
+
.playerPortalControllerResolveLinkCode(playerPortalLinkCodeInputDTO, options)
|
|
18931
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18932
|
+
}
|
|
18933
|
+
/**
|
|
18934
|
+
* The Player Portal state of the Domain in the path for the current Identity. 404 until the Identity has entered the Portal (`POST /player-portal/{domainId}/enter`). Never reads or sets the `takaro-domain` cookie.<br> OperationId: `PlayerPortalControllerState`
|
|
18935
|
+
* @summary Get a Domain\'s Player Portal state
|
|
18936
|
+
* @param {string} domainId
|
|
18937
|
+
* @param {*} [options] Override http request option.
|
|
18938
|
+
* @throws {RequiredError}
|
|
18939
|
+
* @memberof PlayerPortalApi
|
|
18940
|
+
*/
|
|
18941
|
+
playerPortalControllerState(domainId, options) {
|
|
18942
|
+
return PlayerPortalApiFp(this.configuration)
|
|
18943
|
+
.playerPortalControllerState(domainId, options)
|
|
18944
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18945
|
+
}
|
|
18946
|
+
/**
|
|
18947
|
+
* Ends the signed-in User\'s own Player-User Link to the Player in the path and returns the Player Portal state. Both the Player and the User are kept. Emits `player-unlinked` (reason `self`). Steam sign-in will not link this Player to this User again until a Link Code or an admin links them. Unlinking a Player you are not linked to changes nothing; 400 when you are linked to a different Player. Signed-in Player Portal only; never reads or sets the `takaro-domain` cookie, and refuses API keys.<br> OperationId: `PlayerPortalControllerUnlinkSelf`
|
|
18948
|
+
* @summary Unlink your own Player
|
|
18949
|
+
* @param {string} domainId
|
|
18950
|
+
* @param {string} playerId
|
|
18951
|
+
* @param {*} [options] Override http request option.
|
|
18952
|
+
* @throws {RequiredError}
|
|
18953
|
+
* @memberof PlayerPortalApi
|
|
18954
|
+
*/
|
|
18955
|
+
playerPortalControllerUnlinkSelf(domainId, playerId, options) {
|
|
18956
|
+
return PlayerPortalApiFp(this.configuration)
|
|
18957
|
+
.playerPortalControllerUnlinkSelf(domainId, playerId, options)
|
|
18958
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18959
|
+
}
|
|
18960
|
+
}
|
|
18961
|
+
/**
|
|
18962
|
+
* RegistryApi - axios parameter creator
|
|
18963
|
+
* @export
|
|
18964
|
+
*/
|
|
18965
|
+
export const RegistryApiAxiosParamCreator = function (configuration) {
|
|
18966
|
+
return {
|
|
18967
|
+
/**
|
|
18968
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
18969
|
+
* @summary Install a module from a registry
|
|
18970
|
+
* @param {string} id
|
|
18971
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
18972
|
+
* @param {*} [options] Override http request option.
|
|
18973
|
+
* @throws {RequiredError}
|
|
18974
|
+
*/
|
|
18975
|
+
registryControllerInstall: async (id, registryInstallBody, options = {}) => {
|
|
18976
|
+
// verify required parameter 'id' is not null or undefined
|
|
18977
|
+
assertParamExists('registryControllerInstall', 'id', id);
|
|
18978
|
+
const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
18979
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18980
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18981
|
+
let baseOptions;
|
|
18982
|
+
if (configuration) {
|
|
18983
|
+
baseOptions = configuration.baseOptions;
|
|
18984
|
+
}
|
|
18985
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
18986
|
+
const localVarHeaderParameter = {};
|
|
18987
|
+
const localVarQueryParameter = {};
|
|
18988
|
+
// authentication bearerAuth required
|
|
18989
|
+
// http bearer authentication required
|
|
18990
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
18991
|
+
// authentication domainAuth required
|
|
18992
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18993
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18994
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18995
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18996
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
|
|
18997
|
+
return {
|
|
18998
|
+
url: toPathString(localVarUrlObj),
|
|
18999
|
+
options: localVarRequestOptions,
|
|
19000
|
+
};
|
|
19001
|
+
},
|
|
19002
|
+
/**
|
|
19003
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
19004
|
+
* @summary List subscribed registries
|
|
19005
|
+
* @param {*} [options] Override http request option.
|
|
19006
|
+
* @throws {RequiredError}
|
|
19007
|
+
*/
|
|
19008
|
+
registryControllerList: async (options = {}) => {
|
|
19009
|
+
const localVarPath = `/registry`;
|
|
19010
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19011
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19012
|
+
let baseOptions;
|
|
19013
|
+
if (configuration) {
|
|
19014
|
+
baseOptions = configuration.baseOptions;
|
|
19015
|
+
}
|
|
19016
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
19017
|
+
const localVarHeaderParameter = {};
|
|
19018
|
+
const localVarQueryParameter = {};
|
|
19019
|
+
// authentication bearerAuth required
|
|
19020
|
+
// http bearer authentication required
|
|
19021
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
19022
|
+
// authentication domainAuth required
|
|
19023
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19024
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19025
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19026
|
+
return {
|
|
19027
|
+
url: toPathString(localVarUrlObj),
|
|
19028
|
+
options: localVarRequestOptions,
|
|
19029
|
+
};
|
|
19030
|
+
},
|
|
19031
|
+
/**
|
|
19032
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
19033
|
+
* @summary Refresh registry manifest
|
|
19034
|
+
* @param {string} id
|
|
19035
|
+
* @param {*} [options] Override http request option.
|
|
19036
|
+
* @throws {RequiredError}
|
|
19037
|
+
*/
|
|
19038
|
+
registryControllerRefresh: async (id, options = {}) => {
|
|
19039
|
+
// verify required parameter 'id' is not null or undefined
|
|
19040
|
+
assertParamExists('registryControllerRefresh', 'id', id);
|
|
19041
|
+
const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
19042
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19043
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19044
|
+
let baseOptions;
|
|
19045
|
+
if (configuration) {
|
|
19046
|
+
baseOptions = configuration.baseOptions;
|
|
19047
|
+
}
|
|
19048
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
19049
|
+
const localVarHeaderParameter = {};
|
|
19050
|
+
const localVarQueryParameter = {};
|
|
19051
|
+
// authentication bearerAuth required
|
|
19052
|
+
// http bearer authentication required
|
|
19053
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
19054
|
+
// authentication domainAuth required
|
|
19055
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19056
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19057
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19058
|
+
return {
|
|
19059
|
+
url: toPathString(localVarUrlObj),
|
|
19060
|
+
options: localVarRequestOptions,
|
|
19061
|
+
};
|
|
19062
|
+
},
|
|
19063
|
+
/**
|
|
19064
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
19065
|
+
* @summary Subscribe to a registry
|
|
17630
19066
|
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
17631
19067
|
* @param {*} [options] Override http request option.
|
|
17632
19068
|
* @throws {RequiredError}
|
|
@@ -22394,14 +23830,78 @@ export class ThreadApi extends BaseAPI {
|
|
|
22394
23830
|
export const TrackingApiAxiosParamCreator = function (configuration) {
|
|
22395
23831
|
return {
|
|
22396
23832
|
/**
|
|
22397
|
-
* Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
|
|
22398
|
-
* @summary Get bounding box players
|
|
22399
|
-
* @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
|
|
23833
|
+
* Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
|
|
23834
|
+
* @summary Get bounding box players
|
|
23835
|
+
* @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
|
|
23836
|
+
* @param {*} [options] Override http request option.
|
|
23837
|
+
* @throws {RequiredError}
|
|
23838
|
+
*/
|
|
23839
|
+
trackingControllerGetBoundingBoxPlayers: async (boundingBoxSearchInputDTO, options = {}) => {
|
|
23840
|
+
const localVarPath = `/tracking/location/box`;
|
|
23841
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23842
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23843
|
+
let baseOptions;
|
|
23844
|
+
if (configuration) {
|
|
23845
|
+
baseOptions = configuration.baseOptions;
|
|
23846
|
+
}
|
|
23847
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
23848
|
+
const localVarHeaderParameter = {};
|
|
23849
|
+
const localVarQueryParameter = {};
|
|
23850
|
+
// authentication bearerAuth required
|
|
23851
|
+
// http bearer authentication required
|
|
23852
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
23853
|
+
// authentication domainAuth required
|
|
23854
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23855
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23856
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23857
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23858
|
+
localVarRequestOptions.data = serializeDataIfNeeded(boundingBoxSearchInputDTO, localVarRequestOptions, configuration);
|
|
23859
|
+
return {
|
|
23860
|
+
url: toPathString(localVarUrlObj),
|
|
23861
|
+
options: localVarRequestOptions,
|
|
23862
|
+
};
|
|
23863
|
+
},
|
|
23864
|
+
/**
|
|
23865
|
+
* A player\'s inventory on a game server at a moment, reconstructed from their latest inventory snapshot at or before the moment (within 31 days) plus the changes after it. snapshotTime is absent when no snapshot exists, meaning the inventory is not known. At most 1000 items; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryAt`
|
|
23866
|
+
* @summary Get inventory at
|
|
23867
|
+
* @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
|
|
23868
|
+
* @param {*} [options] Override http request option.
|
|
23869
|
+
* @throws {RequiredError}
|
|
23870
|
+
*/
|
|
23871
|
+
trackingControllerGetInventoryAt: async (inventoryAtInputDTO, options = {}) => {
|
|
23872
|
+
const localVarPath = `/tracking/inventory/at`;
|
|
23873
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23874
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23875
|
+
let baseOptions;
|
|
23876
|
+
if (configuration) {
|
|
23877
|
+
baseOptions = configuration.baseOptions;
|
|
23878
|
+
}
|
|
23879
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
23880
|
+
const localVarHeaderParameter = {};
|
|
23881
|
+
const localVarQueryParameter = {};
|
|
23882
|
+
// authentication bearerAuth required
|
|
23883
|
+
// http bearer authentication required
|
|
23884
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
23885
|
+
// authentication domainAuth required
|
|
23886
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23887
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23888
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23889
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23890
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inventoryAtInputDTO, localVarRequestOptions, configuration);
|
|
23891
|
+
return {
|
|
23892
|
+
url: toPathString(localVarUrlObj),
|
|
23893
|
+
options: localVarRequestOptions,
|
|
23894
|
+
};
|
|
23895
|
+
},
|
|
23896
|
+
/**
|
|
23897
|
+
* A player\'s inventory changes on a game server in a time range (at most 31 days), in time order, with cause, Position and counterpart where the game reported them. Cause `unknown` marks a correction found by an hourly snapshot. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryChanges`
|
|
23898
|
+
* @summary Get inventory changes
|
|
23899
|
+
* @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
|
|
22400
23900
|
* @param {*} [options] Override http request option.
|
|
22401
23901
|
* @throws {RequiredError}
|
|
22402
23902
|
*/
|
|
22403
|
-
|
|
22404
|
-
const localVarPath = `/tracking/
|
|
23903
|
+
trackingControllerGetInventoryChanges: async (inventoryChangesInputDTO, options = {}) => {
|
|
23904
|
+
const localVarPath = `/tracking/inventory/changes`;
|
|
22405
23905
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22406
23906
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22407
23907
|
let baseOptions;
|
|
@@ -22419,14 +23919,46 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
|
|
|
22419
23919
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22420
23920
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22421
23921
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
22422
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
23922
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inventoryChangesInputDTO, localVarRequestOptions, configuration);
|
|
23923
|
+
return {
|
|
23924
|
+
url: toPathString(localVarUrlObj),
|
|
23925
|
+
options: localVarRequestOptions,
|
|
23926
|
+
};
|
|
23927
|
+
},
|
|
23928
|
+
/**
|
|
23929
|
+
* Who held an item of a game server during a time range (at most 31 days): per player, the periods they held it, reconstructed from inventory snapshots and changes, plus each gain and loss of the item in time order with cause, Position and counterpart where reported. A period with heldAtStart began before the range; one without end lasted past it. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetItemHolders`
|
|
23930
|
+
* @summary Get item holders
|
|
23931
|
+
* @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
|
|
23932
|
+
* @param {*} [options] Override http request option.
|
|
23933
|
+
* @throws {RequiredError}
|
|
23934
|
+
*/
|
|
23935
|
+
trackingControllerGetItemHolders: async (itemHoldersInputDTO, options = {}) => {
|
|
23936
|
+
const localVarPath = `/tracking/items/holders`;
|
|
23937
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23938
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23939
|
+
let baseOptions;
|
|
23940
|
+
if (configuration) {
|
|
23941
|
+
baseOptions = configuration.baseOptions;
|
|
23942
|
+
}
|
|
23943
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
23944
|
+
const localVarHeaderParameter = {};
|
|
23945
|
+
const localVarQueryParameter = {};
|
|
23946
|
+
// authentication bearerAuth required
|
|
23947
|
+
// http bearer authentication required
|
|
23948
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
23949
|
+
// authentication domainAuth required
|
|
23950
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23951
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23952
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23953
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23954
|
+
localVarRequestOptions.data = serializeDataIfNeeded(itemHoldersInputDTO, localVarRequestOptions, configuration);
|
|
22423
23955
|
return {
|
|
22424
23956
|
url: toPathString(localVarUrlObj),
|
|
22425
23957
|
options: localVarRequestOptions,
|
|
22426
23958
|
};
|
|
22427
23959
|
},
|
|
22428
23960
|
/**
|
|
22429
|
-
* Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
|
|
23961
|
+
* Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
|
|
22430
23962
|
* @summary Get player inventory history
|
|
22431
23963
|
* @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
|
|
22432
23964
|
* @param {*} [options] Override http request option.
|
|
@@ -22458,7 +23990,7 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
|
|
|
22458
23990
|
};
|
|
22459
23991
|
},
|
|
22460
23992
|
/**
|
|
22461
|
-
* Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
|
|
23993
|
+
* Get movement history for players within date bounds, optionally scoped to one game server (`gameServerId`) and one dimension (`dimension`). Without `gameServerId`, samples from every game server the players are on are returned together. Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
|
|
22462
23994
|
* @summary Get player movement history
|
|
22463
23995
|
* @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
|
|
22464
23996
|
* @param {*} [options] Override http request option.
|
|
@@ -22490,7 +24022,7 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
|
|
|
22490
24022
|
};
|
|
22491
24023
|
},
|
|
22492
24024
|
/**
|
|
22493
|
-
* Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
|
|
24025
|
+
* Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
|
|
22494
24026
|
* @summary Get players by item
|
|
22495
24027
|
* @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
|
|
22496
24028
|
* @param {*} [options] Override http request option.
|
|
@@ -22522,7 +24054,135 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
|
|
|
22522
24054
|
};
|
|
22523
24055
|
},
|
|
22524
24056
|
/**
|
|
22525
|
-
*
|
|
24057
|
+
* The Position samples inside an area, in time order, optionally for chosen players. Same input as the area search, within 31 days. At most 10000 samples; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionAreaSamples`
|
|
24058
|
+
* @summary Get position area samples
|
|
24059
|
+
* @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
|
|
24060
|
+
* @param {*} [options] Override http request option.
|
|
24061
|
+
* @throws {RequiredError}
|
|
24062
|
+
*/
|
|
24063
|
+
trackingControllerGetPositionAreaSamples: async (positionAreaInputDTO, options = {}) => {
|
|
24064
|
+
const localVarPath = `/tracking/positions/area/samples`;
|
|
24065
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24066
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24067
|
+
let baseOptions;
|
|
24068
|
+
if (configuration) {
|
|
24069
|
+
baseOptions = configuration.baseOptions;
|
|
24070
|
+
}
|
|
24071
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
24072
|
+
const localVarHeaderParameter = {};
|
|
24073
|
+
const localVarQueryParameter = {};
|
|
24074
|
+
// authentication bearerAuth required
|
|
24075
|
+
// http bearer authentication required
|
|
24076
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
24077
|
+
// authentication domainAuth required
|
|
24078
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24079
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24080
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24081
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
24082
|
+
localVarRequestOptions.data = serializeDataIfNeeded(positionAreaInputDTO, localVarRequestOptions, configuration);
|
|
24083
|
+
return {
|
|
24084
|
+
url: toPathString(localVarUrlObj),
|
|
24085
|
+
options: localVarRequestOptions,
|
|
24086
|
+
};
|
|
24087
|
+
},
|
|
24088
|
+
/**
|
|
24089
|
+
* Where every player of a game server was at a moment, in one Dimension: each player\'s last Position sample at or before the moment, omitting players with no sample in the two minutes before it. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionSnapshot`
|
|
24090
|
+
* @summary Get position snapshot
|
|
24091
|
+
* @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
|
|
24092
|
+
* @param {*} [options] Override http request option.
|
|
24093
|
+
* @throws {RequiredError}
|
|
24094
|
+
*/
|
|
24095
|
+
trackingControllerGetPositionSnapshot: async (positionSnapshotInputDTO, options = {}) => {
|
|
24096
|
+
const localVarPath = `/tracking/positions/snapshot`;
|
|
24097
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24098
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24099
|
+
let baseOptions;
|
|
24100
|
+
if (configuration) {
|
|
24101
|
+
baseOptions = configuration.baseOptions;
|
|
24102
|
+
}
|
|
24103
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
24104
|
+
const localVarHeaderParameter = {};
|
|
24105
|
+
const localVarQueryParameter = {};
|
|
24106
|
+
// authentication bearerAuth required
|
|
24107
|
+
// http bearer authentication required
|
|
24108
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
24109
|
+
// authentication domainAuth required
|
|
24110
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24111
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24112
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24113
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
24114
|
+
localVarRequestOptions.data = serializeDataIfNeeded(positionSnapshotInputDTO, localVarRequestOptions, configuration);
|
|
24115
|
+
return {
|
|
24116
|
+
url: toPathString(localVarUrlObj),
|
|
24117
|
+
options: localVarRequestOptions,
|
|
24118
|
+
};
|
|
24119
|
+
},
|
|
24120
|
+
/**
|
|
24121
|
+
* Position samples per player for a game server, Dimension and time range (at most 31 days), optionally for chosen players. Downsampled on the server: one sample per player per bucket, where bucketMs grows with the range. At most 100000 samples in all; `truncated` is true when whole players were left out to stay within that. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionTracks`
|
|
24122
|
+
* @summary Get position tracks
|
|
24123
|
+
* @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
|
|
24124
|
+
* @param {*} [options] Override http request option.
|
|
24125
|
+
* @throws {RequiredError}
|
|
24126
|
+
*/
|
|
24127
|
+
trackingControllerGetPositionTracks: async (positionTracksInputDTO, options = {}) => {
|
|
24128
|
+
const localVarPath = `/tracking/positions/tracks`;
|
|
24129
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24130
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24131
|
+
let baseOptions;
|
|
24132
|
+
if (configuration) {
|
|
24133
|
+
baseOptions = configuration.baseOptions;
|
|
24134
|
+
}
|
|
24135
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
24136
|
+
const localVarHeaderParameter = {};
|
|
24137
|
+
const localVarQueryParameter = {};
|
|
24138
|
+
// authentication bearerAuth required
|
|
24139
|
+
// http bearer authentication required
|
|
24140
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
24141
|
+
// authentication domainAuth required
|
|
24142
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24143
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24144
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24145
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
24146
|
+
localVarRequestOptions.data = serializeDataIfNeeded(positionTracksInputDTO, localVarRequestOptions, configuration);
|
|
24147
|
+
return {
|
|
24148
|
+
url: toPathString(localVarUrlObj),
|
|
24149
|
+
options: localVarRequestOptions,
|
|
24150
|
+
};
|
|
24151
|
+
},
|
|
24152
|
+
/**
|
|
24153
|
+
* A player\'s Progression history on a game server in a time range (at most 366 days), grouped by track with the character track first, each track\'s points in time order. Level changes are recorded for every level the player gained or lost; experience samples are recorded about every fifteen minutes. Experience samples expire with the domain\'s event retention, level changes are kept. Optionally restrict to `trackKeys`. At most 10000 points; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetProgressionHistory`
|
|
24154
|
+
* @summary Get progression history
|
|
24155
|
+
* @param {ProgressionHistoryInputDTO} [progressionHistoryInputDTO] ProgressionHistoryInputDTO
|
|
24156
|
+
* @param {*} [options] Override http request option.
|
|
24157
|
+
* @throws {RequiredError}
|
|
24158
|
+
*/
|
|
24159
|
+
trackingControllerGetProgressionHistory: async (progressionHistoryInputDTO, options = {}) => {
|
|
24160
|
+
const localVarPath = `/tracking/progression/history`;
|
|
24161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24162
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24163
|
+
let baseOptions;
|
|
24164
|
+
if (configuration) {
|
|
24165
|
+
baseOptions = configuration.baseOptions;
|
|
24166
|
+
}
|
|
24167
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
24168
|
+
const localVarHeaderParameter = {};
|
|
24169
|
+
const localVarQueryParameter = {};
|
|
24170
|
+
// authentication bearerAuth required
|
|
24171
|
+
// http bearer authentication required
|
|
24172
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
24173
|
+
// authentication domainAuth required
|
|
24174
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24175
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24176
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24177
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
24178
|
+
localVarRequestOptions.data = serializeDataIfNeeded(progressionHistoryInputDTO, localVarRequestOptions, configuration);
|
|
24179
|
+
return {
|
|
24180
|
+
url: toPathString(localVarUrlObj),
|
|
24181
|
+
options: localVarRequestOptions,
|
|
24182
|
+
};
|
|
24183
|
+
},
|
|
24184
|
+
/**
|
|
24185
|
+
* Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
|
|
22526
24186
|
* @summary Get radius players
|
|
22527
24187
|
* @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
|
|
22528
24188
|
* @param {*} [options] Override http request option.
|
|
@@ -22553,6 +24213,102 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
|
|
|
22553
24213
|
options: localVarRequestOptions,
|
|
22554
24214
|
};
|
|
22555
24215
|
},
|
|
24216
|
+
/**
|
|
24217
|
+
* Inventory gains on a game server during a time range (at most 7 days) by players whose Position at the moment of the gain was inside a shape (circle, rectangle or polygon) in a Dimension, with an optional height range. The Position is the one the game reported with the change, else the player\'s last Position sample at most 2 minutes earlier; `positionSource` says which. In time order, with cause and counterpart where reported. This is evidence, not proof of theft. At most 5000 gains; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchAreaGains`
|
|
24218
|
+
* @summary Search area gains
|
|
24219
|
+
* @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
|
|
24220
|
+
* @param {*} [options] Override http request option.
|
|
24221
|
+
* @throws {RequiredError}
|
|
24222
|
+
*/
|
|
24223
|
+
trackingControllerSearchAreaGains: async (positionAreaInputDTO, options = {}) => {
|
|
24224
|
+
const localVarPath = `/tracking/inventory/area-gains`;
|
|
24225
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24226
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24227
|
+
let baseOptions;
|
|
24228
|
+
if (configuration) {
|
|
24229
|
+
baseOptions = configuration.baseOptions;
|
|
24230
|
+
}
|
|
24231
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
24232
|
+
const localVarHeaderParameter = {};
|
|
24233
|
+
const localVarQueryParameter = {};
|
|
24234
|
+
// authentication bearerAuth required
|
|
24235
|
+
// http bearer authentication required
|
|
24236
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
24237
|
+
// authentication domainAuth required
|
|
24238
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24239
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24240
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24241
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
24242
|
+
localVarRequestOptions.data = serializeDataIfNeeded(positionAreaInputDTO, localVarRequestOptions, configuration);
|
|
24243
|
+
return {
|
|
24244
|
+
url: toPathString(localVarUrlObj),
|
|
24245
|
+
options: localVarRequestOptions,
|
|
24246
|
+
};
|
|
24247
|
+
},
|
|
24248
|
+
/**
|
|
24249
|
+
* Deaths, kills, connects and disconnects of a game server during a time range (at most 31 days), in time order, each with a Position: the one the game reported with the event, else the player\'s nearest Position sample within 2 minutes before or after (positionSource \'sampled\', approximate), else none. At most 2000 events; truncated is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`, `READ_EVENTS`<br> OperationId: `TrackingControllerSearchEvents`
|
|
24250
|
+
* @summary Search events
|
|
24251
|
+
* @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
|
|
24252
|
+
* @param {*} [options] Override http request option.
|
|
24253
|
+
* @throws {RequiredError}
|
|
24254
|
+
*/
|
|
24255
|
+
trackingControllerSearchEvents: async (trackingEventsInputDTO, options = {}) => {
|
|
24256
|
+
const localVarPath = `/tracking/events`;
|
|
24257
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24258
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24259
|
+
let baseOptions;
|
|
24260
|
+
if (configuration) {
|
|
24261
|
+
baseOptions = configuration.baseOptions;
|
|
24262
|
+
}
|
|
24263
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
24264
|
+
const localVarHeaderParameter = {};
|
|
24265
|
+
const localVarQueryParameter = {};
|
|
24266
|
+
// authentication bearerAuth required
|
|
24267
|
+
// http bearer authentication required
|
|
24268
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
24269
|
+
// authentication domainAuth required
|
|
24270
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24271
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24273
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
24274
|
+
localVarRequestOptions.data = serializeDataIfNeeded(trackingEventsInputDTO, localVarRequestOptions, configuration);
|
|
24275
|
+
return {
|
|
24276
|
+
url: toPathString(localVarUrlObj),
|
|
24277
|
+
options: localVarRequestOptions,
|
|
24278
|
+
};
|
|
24279
|
+
},
|
|
24280
|
+
/**
|
|
24281
|
+
* Who was inside an area of a game server\'s Dimension during a time range (at most 31 days): per player, first seen, last seen and sample count. The shape (circle, rectangle or polygon) is given in game coordinates on the Dimension\'s two map axes; height (the third axis) is ignored unless minHeight or maxHeight is given. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchPositionArea`
|
|
24282
|
+
* @summary Search position area
|
|
24283
|
+
* @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
|
|
24284
|
+
* @param {*} [options] Override http request option.
|
|
24285
|
+
* @throws {RequiredError}
|
|
24286
|
+
*/
|
|
24287
|
+
trackingControllerSearchPositionArea: async (positionAreaInputDTO, options = {}) => {
|
|
24288
|
+
const localVarPath = `/tracking/positions/area`;
|
|
24289
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24290
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24291
|
+
let baseOptions;
|
|
24292
|
+
if (configuration) {
|
|
24293
|
+
baseOptions = configuration.baseOptions;
|
|
24294
|
+
}
|
|
24295
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
24296
|
+
const localVarHeaderParameter = {};
|
|
24297
|
+
const localVarQueryParameter = {};
|
|
24298
|
+
// authentication bearerAuth required
|
|
24299
|
+
// http bearer authentication required
|
|
24300
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
24301
|
+
// authentication domainAuth required
|
|
24302
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24303
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24304
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24305
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
24306
|
+
localVarRequestOptions.data = serializeDataIfNeeded(positionAreaInputDTO, localVarRequestOptions, configuration);
|
|
24307
|
+
return {
|
|
24308
|
+
url: toPathString(localVarUrlObj),
|
|
24309
|
+
options: localVarRequestOptions,
|
|
24310
|
+
};
|
|
24311
|
+
},
|
|
22556
24312
|
};
|
|
22557
24313
|
};
|
|
22558
24314
|
/**
|
|
@@ -22563,20 +24319,59 @@ export const TrackingApiFp = function (configuration) {
|
|
|
22563
24319
|
const localVarAxiosParamCreator = TrackingApiAxiosParamCreator(configuration);
|
|
22564
24320
|
return {
|
|
22565
24321
|
/**
|
|
22566
|
-
* Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
|
|
22567
|
-
* @summary Get bounding box players
|
|
22568
|
-
* @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
|
|
24322
|
+
* Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
|
|
24323
|
+
* @summary Get bounding box players
|
|
24324
|
+
* @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
|
|
24325
|
+
* @param {*} [options] Override http request option.
|
|
24326
|
+
* @throws {RequiredError}
|
|
24327
|
+
*/
|
|
24328
|
+
async trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options) {
|
|
24329
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options);
|
|
24330
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24331
|
+
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetBoundingBoxPlayers']?.[localVarOperationServerIndex]?.url;
|
|
24332
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24333
|
+
},
|
|
24334
|
+
/**
|
|
24335
|
+
* A player\'s inventory on a game server at a moment, reconstructed from their latest inventory snapshot at or before the moment (within 31 days) plus the changes after it. snapshotTime is absent when no snapshot exists, meaning the inventory is not known. At most 1000 items; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryAt`
|
|
24336
|
+
* @summary Get inventory at
|
|
24337
|
+
* @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
|
|
24338
|
+
* @param {*} [options] Override http request option.
|
|
24339
|
+
* @throws {RequiredError}
|
|
24340
|
+
*/
|
|
24341
|
+
async trackingControllerGetInventoryAt(inventoryAtInputDTO, options) {
|
|
24342
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetInventoryAt(inventoryAtInputDTO, options);
|
|
24343
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24344
|
+
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetInventoryAt']?.[localVarOperationServerIndex]?.url;
|
|
24345
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24346
|
+
},
|
|
24347
|
+
/**
|
|
24348
|
+
* A player\'s inventory changes on a game server in a time range (at most 31 days), in time order, with cause, Position and counterpart where the game reported them. Cause `unknown` marks a correction found by an hourly snapshot. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryChanges`
|
|
24349
|
+
* @summary Get inventory changes
|
|
24350
|
+
* @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
|
|
24351
|
+
* @param {*} [options] Override http request option.
|
|
24352
|
+
* @throws {RequiredError}
|
|
24353
|
+
*/
|
|
24354
|
+
async trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options) {
|
|
24355
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options);
|
|
24356
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24357
|
+
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetInventoryChanges']?.[localVarOperationServerIndex]?.url;
|
|
24358
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24359
|
+
},
|
|
24360
|
+
/**
|
|
24361
|
+
* Who held an item of a game server during a time range (at most 31 days): per player, the periods they held it, reconstructed from inventory snapshots and changes, plus each gain and loss of the item in time order with cause, Position and counterpart where reported. A period with heldAtStart began before the range; one without end lasted past it. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetItemHolders`
|
|
24362
|
+
* @summary Get item holders
|
|
24363
|
+
* @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
|
|
22569
24364
|
* @param {*} [options] Override http request option.
|
|
22570
24365
|
* @throws {RequiredError}
|
|
22571
24366
|
*/
|
|
22572
|
-
async
|
|
22573
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
24367
|
+
async trackingControllerGetItemHolders(itemHoldersInputDTO, options) {
|
|
24368
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetItemHolders(itemHoldersInputDTO, options);
|
|
22574
24369
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22575
|
-
const localVarOperationServerBasePath = operationServerMap['TrackingApi.
|
|
24370
|
+
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetItemHolders']?.[localVarOperationServerIndex]?.url;
|
|
22576
24371
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22577
24372
|
},
|
|
22578
24373
|
/**
|
|
22579
|
-
* Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
|
|
24374
|
+
* Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
|
|
22580
24375
|
* @summary Get player inventory history
|
|
22581
24376
|
* @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
|
|
22582
24377
|
* @param {*} [options] Override http request option.
|
|
@@ -22590,7 +24385,7 @@ export const TrackingApiFp = function (configuration) {
|
|
|
22590
24385
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22591
24386
|
},
|
|
22592
24387
|
/**
|
|
22593
|
-
* Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
|
|
24388
|
+
* Get movement history for players within date bounds, optionally scoped to one game server (`gameServerId`) and one dimension (`dimension`). Without `gameServerId`, samples from every game server the players are on are returned together. Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
|
|
22594
24389
|
* @summary Get player movement history
|
|
22595
24390
|
* @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
|
|
22596
24391
|
* @param {*} [options] Override http request option.
|
|
@@ -22604,7 +24399,7 @@ export const TrackingApiFp = function (configuration) {
|
|
|
22604
24399
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22605
24400
|
},
|
|
22606
24401
|
/**
|
|
22607
|
-
* Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
|
|
24402
|
+
* Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
|
|
22608
24403
|
* @summary Get players by item
|
|
22609
24404
|
* @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
|
|
22610
24405
|
* @param {*} [options] Override http request option.
|
|
@@ -22617,7 +24412,59 @@ export const TrackingApiFp = function (configuration) {
|
|
|
22617
24412
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22618
24413
|
},
|
|
22619
24414
|
/**
|
|
22620
|
-
*
|
|
24415
|
+
* The Position samples inside an area, in time order, optionally for chosen players. Same input as the area search, within 31 days. At most 10000 samples; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionAreaSamples`
|
|
24416
|
+
* @summary Get position area samples
|
|
24417
|
+
* @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
|
|
24418
|
+
* @param {*} [options] Override http request option.
|
|
24419
|
+
* @throws {RequiredError}
|
|
24420
|
+
*/
|
|
24421
|
+
async trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options) {
|
|
24422
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options);
|
|
24423
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24424
|
+
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPositionAreaSamples']?.[localVarOperationServerIndex]?.url;
|
|
24425
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24426
|
+
},
|
|
24427
|
+
/**
|
|
24428
|
+
* Where every player of a game server was at a moment, in one Dimension: each player\'s last Position sample at or before the moment, omitting players with no sample in the two minutes before it. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionSnapshot`
|
|
24429
|
+
* @summary Get position snapshot
|
|
24430
|
+
* @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
|
|
24431
|
+
* @param {*} [options] Override http request option.
|
|
24432
|
+
* @throws {RequiredError}
|
|
24433
|
+
*/
|
|
24434
|
+
async trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options) {
|
|
24435
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options);
|
|
24436
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24437
|
+
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPositionSnapshot']?.[localVarOperationServerIndex]?.url;
|
|
24438
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24439
|
+
},
|
|
24440
|
+
/**
|
|
24441
|
+
* Position samples per player for a game server, Dimension and time range (at most 31 days), optionally for chosen players. Downsampled on the server: one sample per player per bucket, where bucketMs grows with the range. At most 100000 samples in all; `truncated` is true when whole players were left out to stay within that. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionTracks`
|
|
24442
|
+
* @summary Get position tracks
|
|
24443
|
+
* @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
|
|
24444
|
+
* @param {*} [options] Override http request option.
|
|
24445
|
+
* @throws {RequiredError}
|
|
24446
|
+
*/
|
|
24447
|
+
async trackingControllerGetPositionTracks(positionTracksInputDTO, options) {
|
|
24448
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPositionTracks(positionTracksInputDTO, options);
|
|
24449
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24450
|
+
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPositionTracks']?.[localVarOperationServerIndex]?.url;
|
|
24451
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24452
|
+
},
|
|
24453
|
+
/**
|
|
24454
|
+
* A player\'s Progression history on a game server in a time range (at most 366 days), grouped by track with the character track first, each track\'s points in time order. Level changes are recorded for every level the player gained or lost; experience samples are recorded about every fifteen minutes. Experience samples expire with the domain\'s event retention, level changes are kept. Optionally restrict to `trackKeys`. At most 10000 points; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetProgressionHistory`
|
|
24455
|
+
* @summary Get progression history
|
|
24456
|
+
* @param {ProgressionHistoryInputDTO} [progressionHistoryInputDTO] ProgressionHistoryInputDTO
|
|
24457
|
+
* @param {*} [options] Override http request option.
|
|
24458
|
+
* @throws {RequiredError}
|
|
24459
|
+
*/
|
|
24460
|
+
async trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options) {
|
|
24461
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options);
|
|
24462
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24463
|
+
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetProgressionHistory']?.[localVarOperationServerIndex]?.url;
|
|
24464
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24465
|
+
},
|
|
24466
|
+
/**
|
|
24467
|
+
* Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
|
|
22621
24468
|
* @summary Get radius players
|
|
22622
24469
|
* @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
|
|
22623
24470
|
* @param {*} [options] Override http request option.
|
|
@@ -22629,6 +24476,45 @@ export const TrackingApiFp = function (configuration) {
|
|
|
22629
24476
|
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetRadiusPlayers']?.[localVarOperationServerIndex]?.url;
|
|
22630
24477
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22631
24478
|
},
|
|
24479
|
+
/**
|
|
24480
|
+
* Inventory gains on a game server during a time range (at most 7 days) by players whose Position at the moment of the gain was inside a shape (circle, rectangle or polygon) in a Dimension, with an optional height range. The Position is the one the game reported with the change, else the player\'s last Position sample at most 2 minutes earlier; `positionSource` says which. In time order, with cause and counterpart where reported. This is evidence, not proof of theft. At most 5000 gains; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchAreaGains`
|
|
24481
|
+
* @summary Search area gains
|
|
24482
|
+
* @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
|
|
24483
|
+
* @param {*} [options] Override http request option.
|
|
24484
|
+
* @throws {RequiredError}
|
|
24485
|
+
*/
|
|
24486
|
+
async trackingControllerSearchAreaGains(positionAreaInputDTO, options) {
|
|
24487
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerSearchAreaGains(positionAreaInputDTO, options);
|
|
24488
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24489
|
+
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerSearchAreaGains']?.[localVarOperationServerIndex]?.url;
|
|
24490
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24491
|
+
},
|
|
24492
|
+
/**
|
|
24493
|
+
* Deaths, kills, connects and disconnects of a game server during a time range (at most 31 days), in time order, each with a Position: the one the game reported with the event, else the player\'s nearest Position sample within 2 minutes before or after (positionSource \'sampled\', approximate), else none. At most 2000 events; truncated is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`, `READ_EVENTS`<br> OperationId: `TrackingControllerSearchEvents`
|
|
24494
|
+
* @summary Search events
|
|
24495
|
+
* @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
|
|
24496
|
+
* @param {*} [options] Override http request option.
|
|
24497
|
+
* @throws {RequiredError}
|
|
24498
|
+
*/
|
|
24499
|
+
async trackingControllerSearchEvents(trackingEventsInputDTO, options) {
|
|
24500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerSearchEvents(trackingEventsInputDTO, options);
|
|
24501
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24502
|
+
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerSearchEvents']?.[localVarOperationServerIndex]?.url;
|
|
24503
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24504
|
+
},
|
|
24505
|
+
/**
|
|
24506
|
+
* Who was inside an area of a game server\'s Dimension during a time range (at most 31 days): per player, first seen, last seen and sample count. The shape (circle, rectangle or polygon) is given in game coordinates on the Dimension\'s two map axes; height (the third axis) is ignored unless minHeight or maxHeight is given. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchPositionArea`
|
|
24507
|
+
* @summary Search position area
|
|
24508
|
+
* @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
|
|
24509
|
+
* @param {*} [options] Override http request option.
|
|
24510
|
+
* @throws {RequiredError}
|
|
24511
|
+
*/
|
|
24512
|
+
async trackingControllerSearchPositionArea(positionAreaInputDTO, options) {
|
|
24513
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerSearchPositionArea(positionAreaInputDTO, options);
|
|
24514
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24515
|
+
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerSearchPositionArea']?.[localVarOperationServerIndex]?.url;
|
|
24516
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24517
|
+
},
|
|
22632
24518
|
};
|
|
22633
24519
|
};
|
|
22634
24520
|
/**
|
|
@@ -22639,7 +24525,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
22639
24525
|
const localVarFp = TrackingApiFp(configuration);
|
|
22640
24526
|
return {
|
|
22641
24527
|
/**
|
|
22642
|
-
* Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
|
|
24528
|
+
* Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
|
|
22643
24529
|
* @summary Get bounding box players
|
|
22644
24530
|
* @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
|
|
22645
24531
|
* @param {*} [options] Override http request option.
|
|
@@ -22651,7 +24537,43 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
22651
24537
|
.then((request) => request(axios, basePath));
|
|
22652
24538
|
},
|
|
22653
24539
|
/**
|
|
22654
|
-
*
|
|
24540
|
+
* A player\'s inventory on a game server at a moment, reconstructed from their latest inventory snapshot at or before the moment (within 31 days) plus the changes after it. snapshotTime is absent when no snapshot exists, meaning the inventory is not known. At most 1000 items; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryAt`
|
|
24541
|
+
* @summary Get inventory at
|
|
24542
|
+
* @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
|
|
24543
|
+
* @param {*} [options] Override http request option.
|
|
24544
|
+
* @throws {RequiredError}
|
|
24545
|
+
*/
|
|
24546
|
+
trackingControllerGetInventoryAt(inventoryAtInputDTO, options) {
|
|
24547
|
+
return localVarFp
|
|
24548
|
+
.trackingControllerGetInventoryAt(inventoryAtInputDTO, options)
|
|
24549
|
+
.then((request) => request(axios, basePath));
|
|
24550
|
+
},
|
|
24551
|
+
/**
|
|
24552
|
+
* A player\'s inventory changes on a game server in a time range (at most 31 days), in time order, with cause, Position and counterpart where the game reported them. Cause `unknown` marks a correction found by an hourly snapshot. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryChanges`
|
|
24553
|
+
* @summary Get inventory changes
|
|
24554
|
+
* @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
|
|
24555
|
+
* @param {*} [options] Override http request option.
|
|
24556
|
+
* @throws {RequiredError}
|
|
24557
|
+
*/
|
|
24558
|
+
trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options) {
|
|
24559
|
+
return localVarFp
|
|
24560
|
+
.trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options)
|
|
24561
|
+
.then((request) => request(axios, basePath));
|
|
24562
|
+
},
|
|
24563
|
+
/**
|
|
24564
|
+
* Who held an item of a game server during a time range (at most 31 days): per player, the periods they held it, reconstructed from inventory snapshots and changes, plus each gain and loss of the item in time order with cause, Position and counterpart where reported. A period with heldAtStart began before the range; one without end lasted past it. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetItemHolders`
|
|
24565
|
+
* @summary Get item holders
|
|
24566
|
+
* @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
|
|
24567
|
+
* @param {*} [options] Override http request option.
|
|
24568
|
+
* @throws {RequiredError}
|
|
24569
|
+
*/
|
|
24570
|
+
trackingControllerGetItemHolders(itemHoldersInputDTO, options) {
|
|
24571
|
+
return localVarFp
|
|
24572
|
+
.trackingControllerGetItemHolders(itemHoldersInputDTO, options)
|
|
24573
|
+
.then((request) => request(axios, basePath));
|
|
24574
|
+
},
|
|
24575
|
+
/**
|
|
24576
|
+
* Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
|
|
22655
24577
|
* @summary Get player inventory history
|
|
22656
24578
|
* @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
|
|
22657
24579
|
* @param {*} [options] Override http request option.
|
|
@@ -22663,7 +24585,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
22663
24585
|
.then((request) => request(axios, basePath));
|
|
22664
24586
|
},
|
|
22665
24587
|
/**
|
|
22666
|
-
* Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
|
|
24588
|
+
* Get movement history for players within date bounds, optionally scoped to one game server (`gameServerId`) and one dimension (`dimension`). Without `gameServerId`, samples from every game server the players are on are returned together. Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
|
|
22667
24589
|
* @summary Get player movement history
|
|
22668
24590
|
* @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
|
|
22669
24591
|
* @param {*} [options] Override http request option.
|
|
@@ -22675,7 +24597,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
22675
24597
|
.then((request) => request(axios, basePath));
|
|
22676
24598
|
},
|
|
22677
24599
|
/**
|
|
22678
|
-
* Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
|
|
24600
|
+
* Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
|
|
22679
24601
|
* @summary Get players by item
|
|
22680
24602
|
* @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
|
|
22681
24603
|
* @param {*} [options] Override http request option.
|
|
@@ -22687,7 +24609,55 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
22687
24609
|
.then((request) => request(axios, basePath));
|
|
22688
24610
|
},
|
|
22689
24611
|
/**
|
|
22690
|
-
*
|
|
24612
|
+
* The Position samples inside an area, in time order, optionally for chosen players. Same input as the area search, within 31 days. At most 10000 samples; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionAreaSamples`
|
|
24613
|
+
* @summary Get position area samples
|
|
24614
|
+
* @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
|
|
24615
|
+
* @param {*} [options] Override http request option.
|
|
24616
|
+
* @throws {RequiredError}
|
|
24617
|
+
*/
|
|
24618
|
+
trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options) {
|
|
24619
|
+
return localVarFp
|
|
24620
|
+
.trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options)
|
|
24621
|
+
.then((request) => request(axios, basePath));
|
|
24622
|
+
},
|
|
24623
|
+
/**
|
|
24624
|
+
* Where every player of a game server was at a moment, in one Dimension: each player\'s last Position sample at or before the moment, omitting players with no sample in the two minutes before it. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionSnapshot`
|
|
24625
|
+
* @summary Get position snapshot
|
|
24626
|
+
* @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
|
|
24627
|
+
* @param {*} [options] Override http request option.
|
|
24628
|
+
* @throws {RequiredError}
|
|
24629
|
+
*/
|
|
24630
|
+
trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options) {
|
|
24631
|
+
return localVarFp
|
|
24632
|
+
.trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options)
|
|
24633
|
+
.then((request) => request(axios, basePath));
|
|
24634
|
+
},
|
|
24635
|
+
/**
|
|
24636
|
+
* Position samples per player for a game server, Dimension and time range (at most 31 days), optionally for chosen players. Downsampled on the server: one sample per player per bucket, where bucketMs grows with the range. At most 100000 samples in all; `truncated` is true when whole players were left out to stay within that. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionTracks`
|
|
24637
|
+
* @summary Get position tracks
|
|
24638
|
+
* @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
|
|
24639
|
+
* @param {*} [options] Override http request option.
|
|
24640
|
+
* @throws {RequiredError}
|
|
24641
|
+
*/
|
|
24642
|
+
trackingControllerGetPositionTracks(positionTracksInputDTO, options) {
|
|
24643
|
+
return localVarFp
|
|
24644
|
+
.trackingControllerGetPositionTracks(positionTracksInputDTO, options)
|
|
24645
|
+
.then((request) => request(axios, basePath));
|
|
24646
|
+
},
|
|
24647
|
+
/**
|
|
24648
|
+
* A player\'s Progression history on a game server in a time range (at most 366 days), grouped by track with the character track first, each track\'s points in time order. Level changes are recorded for every level the player gained or lost; experience samples are recorded about every fifteen minutes. Experience samples expire with the domain\'s event retention, level changes are kept. Optionally restrict to `trackKeys`. At most 10000 points; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetProgressionHistory`
|
|
24649
|
+
* @summary Get progression history
|
|
24650
|
+
* @param {ProgressionHistoryInputDTO} [progressionHistoryInputDTO] ProgressionHistoryInputDTO
|
|
24651
|
+
* @param {*} [options] Override http request option.
|
|
24652
|
+
* @throws {RequiredError}
|
|
24653
|
+
*/
|
|
24654
|
+
trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options) {
|
|
24655
|
+
return localVarFp
|
|
24656
|
+
.trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options)
|
|
24657
|
+
.then((request) => request(axios, basePath));
|
|
24658
|
+
},
|
|
24659
|
+
/**
|
|
24660
|
+
* Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
|
|
22691
24661
|
* @summary Get radius players
|
|
22692
24662
|
* @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
|
|
22693
24663
|
* @param {*} [options] Override http request option.
|
|
@@ -22698,6 +24668,42 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
22698
24668
|
.trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options)
|
|
22699
24669
|
.then((request) => request(axios, basePath));
|
|
22700
24670
|
},
|
|
24671
|
+
/**
|
|
24672
|
+
* Inventory gains on a game server during a time range (at most 7 days) by players whose Position at the moment of the gain was inside a shape (circle, rectangle or polygon) in a Dimension, with an optional height range. The Position is the one the game reported with the change, else the player\'s last Position sample at most 2 minutes earlier; `positionSource` says which. In time order, with cause and counterpart where reported. This is evidence, not proof of theft. At most 5000 gains; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchAreaGains`
|
|
24673
|
+
* @summary Search area gains
|
|
24674
|
+
* @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
|
|
24675
|
+
* @param {*} [options] Override http request option.
|
|
24676
|
+
* @throws {RequiredError}
|
|
24677
|
+
*/
|
|
24678
|
+
trackingControllerSearchAreaGains(positionAreaInputDTO, options) {
|
|
24679
|
+
return localVarFp
|
|
24680
|
+
.trackingControllerSearchAreaGains(positionAreaInputDTO, options)
|
|
24681
|
+
.then((request) => request(axios, basePath));
|
|
24682
|
+
},
|
|
24683
|
+
/**
|
|
24684
|
+
* Deaths, kills, connects and disconnects of a game server during a time range (at most 31 days), in time order, each with a Position: the one the game reported with the event, else the player\'s nearest Position sample within 2 minutes before or after (positionSource \'sampled\', approximate), else none. At most 2000 events; truncated is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`, `READ_EVENTS`<br> OperationId: `TrackingControllerSearchEvents`
|
|
24685
|
+
* @summary Search events
|
|
24686
|
+
* @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
|
|
24687
|
+
* @param {*} [options] Override http request option.
|
|
24688
|
+
* @throws {RequiredError}
|
|
24689
|
+
*/
|
|
24690
|
+
trackingControllerSearchEvents(trackingEventsInputDTO, options) {
|
|
24691
|
+
return localVarFp
|
|
24692
|
+
.trackingControllerSearchEvents(trackingEventsInputDTO, options)
|
|
24693
|
+
.then((request) => request(axios, basePath));
|
|
24694
|
+
},
|
|
24695
|
+
/**
|
|
24696
|
+
* Who was inside an area of a game server\'s Dimension during a time range (at most 31 days): per player, first seen, last seen and sample count. The shape (circle, rectangle or polygon) is given in game coordinates on the Dimension\'s two map axes; height (the third axis) is ignored unless minHeight or maxHeight is given. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchPositionArea`
|
|
24697
|
+
* @summary Search position area
|
|
24698
|
+
* @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
|
|
24699
|
+
* @param {*} [options] Override http request option.
|
|
24700
|
+
* @throws {RequiredError}
|
|
24701
|
+
*/
|
|
24702
|
+
trackingControllerSearchPositionArea(positionAreaInputDTO, options) {
|
|
24703
|
+
return localVarFp
|
|
24704
|
+
.trackingControllerSearchPositionArea(positionAreaInputDTO, options)
|
|
24705
|
+
.then((request) => request(axios, basePath));
|
|
24706
|
+
},
|
|
22701
24707
|
};
|
|
22702
24708
|
};
|
|
22703
24709
|
/**
|
|
@@ -22708,7 +24714,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
22708
24714
|
*/
|
|
22709
24715
|
export class TrackingApi extends BaseAPI {
|
|
22710
24716
|
/**
|
|
22711
|
-
* Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
|
|
24717
|
+
* Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
|
|
22712
24718
|
* @summary Get bounding box players
|
|
22713
24719
|
* @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
|
|
22714
24720
|
* @param {*} [options] Override http request option.
|
|
@@ -22721,7 +24727,46 @@ export class TrackingApi extends BaseAPI {
|
|
|
22721
24727
|
.then((request) => request(this.axios, this.basePath));
|
|
22722
24728
|
}
|
|
22723
24729
|
/**
|
|
22724
|
-
*
|
|
24730
|
+
* A player\'s inventory on a game server at a moment, reconstructed from their latest inventory snapshot at or before the moment (within 31 days) plus the changes after it. snapshotTime is absent when no snapshot exists, meaning the inventory is not known. At most 1000 items; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryAt`
|
|
24731
|
+
* @summary Get inventory at
|
|
24732
|
+
* @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
|
|
24733
|
+
* @param {*} [options] Override http request option.
|
|
24734
|
+
* @throws {RequiredError}
|
|
24735
|
+
* @memberof TrackingApi
|
|
24736
|
+
*/
|
|
24737
|
+
trackingControllerGetInventoryAt(inventoryAtInputDTO, options) {
|
|
24738
|
+
return TrackingApiFp(this.configuration)
|
|
24739
|
+
.trackingControllerGetInventoryAt(inventoryAtInputDTO, options)
|
|
24740
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24741
|
+
}
|
|
24742
|
+
/**
|
|
24743
|
+
* A player\'s inventory changes on a game server in a time range (at most 31 days), in time order, with cause, Position and counterpart where the game reported them. Cause `unknown` marks a correction found by an hourly snapshot. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryChanges`
|
|
24744
|
+
* @summary Get inventory changes
|
|
24745
|
+
* @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
|
|
24746
|
+
* @param {*} [options] Override http request option.
|
|
24747
|
+
* @throws {RequiredError}
|
|
24748
|
+
* @memberof TrackingApi
|
|
24749
|
+
*/
|
|
24750
|
+
trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options) {
|
|
24751
|
+
return TrackingApiFp(this.configuration)
|
|
24752
|
+
.trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options)
|
|
24753
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24754
|
+
}
|
|
24755
|
+
/**
|
|
24756
|
+
* Who held an item of a game server during a time range (at most 31 days): per player, the periods they held it, reconstructed from inventory snapshots and changes, plus each gain and loss of the item in time order with cause, Position and counterpart where reported. A period with heldAtStart began before the range; one without end lasted past it. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetItemHolders`
|
|
24757
|
+
* @summary Get item holders
|
|
24758
|
+
* @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
|
|
24759
|
+
* @param {*} [options] Override http request option.
|
|
24760
|
+
* @throws {RequiredError}
|
|
24761
|
+
* @memberof TrackingApi
|
|
24762
|
+
*/
|
|
24763
|
+
trackingControllerGetItemHolders(itemHoldersInputDTO, options) {
|
|
24764
|
+
return TrackingApiFp(this.configuration)
|
|
24765
|
+
.trackingControllerGetItemHolders(itemHoldersInputDTO, options)
|
|
24766
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24767
|
+
}
|
|
24768
|
+
/**
|
|
24769
|
+
* Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
|
|
22725
24770
|
* @summary Get player inventory history
|
|
22726
24771
|
* @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
|
|
22727
24772
|
* @param {*} [options] Override http request option.
|
|
@@ -22734,7 +24779,7 @@ export class TrackingApi extends BaseAPI {
|
|
|
22734
24779
|
.then((request) => request(this.axios, this.basePath));
|
|
22735
24780
|
}
|
|
22736
24781
|
/**
|
|
22737
|
-
* Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
|
|
24782
|
+
* Get movement history for players within date bounds, optionally scoped to one game server (`gameServerId`) and one dimension (`dimension`). Without `gameServerId`, samples from every game server the players are on are returned together. Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
|
|
22738
24783
|
* @summary Get player movement history
|
|
22739
24784
|
* @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
|
|
22740
24785
|
* @param {*} [options] Override http request option.
|
|
@@ -22747,7 +24792,7 @@ export class TrackingApi extends BaseAPI {
|
|
|
22747
24792
|
.then((request) => request(this.axios, this.basePath));
|
|
22748
24793
|
}
|
|
22749
24794
|
/**
|
|
22750
|
-
* Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
|
|
24795
|
+
* Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
|
|
22751
24796
|
* @summary Get players by item
|
|
22752
24797
|
* @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
|
|
22753
24798
|
* @param {*} [options] Override http request option.
|
|
@@ -22760,7 +24805,59 @@ export class TrackingApi extends BaseAPI {
|
|
|
22760
24805
|
.then((request) => request(this.axios, this.basePath));
|
|
22761
24806
|
}
|
|
22762
24807
|
/**
|
|
22763
|
-
*
|
|
24808
|
+
* The Position samples inside an area, in time order, optionally for chosen players. Same input as the area search, within 31 days. At most 10000 samples; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionAreaSamples`
|
|
24809
|
+
* @summary Get position area samples
|
|
24810
|
+
* @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
|
|
24811
|
+
* @param {*} [options] Override http request option.
|
|
24812
|
+
* @throws {RequiredError}
|
|
24813
|
+
* @memberof TrackingApi
|
|
24814
|
+
*/
|
|
24815
|
+
trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options) {
|
|
24816
|
+
return TrackingApiFp(this.configuration)
|
|
24817
|
+
.trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options)
|
|
24818
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24819
|
+
}
|
|
24820
|
+
/**
|
|
24821
|
+
* Where every player of a game server was at a moment, in one Dimension: each player\'s last Position sample at or before the moment, omitting players with no sample in the two minutes before it. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionSnapshot`
|
|
24822
|
+
* @summary Get position snapshot
|
|
24823
|
+
* @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
|
|
24824
|
+
* @param {*} [options] Override http request option.
|
|
24825
|
+
* @throws {RequiredError}
|
|
24826
|
+
* @memberof TrackingApi
|
|
24827
|
+
*/
|
|
24828
|
+
trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options) {
|
|
24829
|
+
return TrackingApiFp(this.configuration)
|
|
24830
|
+
.trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options)
|
|
24831
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24832
|
+
}
|
|
24833
|
+
/**
|
|
24834
|
+
* Position samples per player for a game server, Dimension and time range (at most 31 days), optionally for chosen players. Downsampled on the server: one sample per player per bucket, where bucketMs grows with the range. At most 100000 samples in all; `truncated` is true when whole players were left out to stay within that. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionTracks`
|
|
24835
|
+
* @summary Get position tracks
|
|
24836
|
+
* @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
|
|
24837
|
+
* @param {*} [options] Override http request option.
|
|
24838
|
+
* @throws {RequiredError}
|
|
24839
|
+
* @memberof TrackingApi
|
|
24840
|
+
*/
|
|
24841
|
+
trackingControllerGetPositionTracks(positionTracksInputDTO, options) {
|
|
24842
|
+
return TrackingApiFp(this.configuration)
|
|
24843
|
+
.trackingControllerGetPositionTracks(positionTracksInputDTO, options)
|
|
24844
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24845
|
+
}
|
|
24846
|
+
/**
|
|
24847
|
+
* A player\'s Progression history on a game server in a time range (at most 366 days), grouped by track with the character track first, each track\'s points in time order. Level changes are recorded for every level the player gained or lost; experience samples are recorded about every fifteen minutes. Experience samples expire with the domain\'s event retention, level changes are kept. Optionally restrict to `trackKeys`. At most 10000 points; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetProgressionHistory`
|
|
24848
|
+
* @summary Get progression history
|
|
24849
|
+
* @param {ProgressionHistoryInputDTO} [progressionHistoryInputDTO] ProgressionHistoryInputDTO
|
|
24850
|
+
* @param {*} [options] Override http request option.
|
|
24851
|
+
* @throws {RequiredError}
|
|
24852
|
+
* @memberof TrackingApi
|
|
24853
|
+
*/
|
|
24854
|
+
trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options) {
|
|
24855
|
+
return TrackingApiFp(this.configuration)
|
|
24856
|
+
.trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options)
|
|
24857
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24858
|
+
}
|
|
24859
|
+
/**
|
|
24860
|
+
* Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
|
|
22764
24861
|
* @summary Get radius players
|
|
22765
24862
|
* @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
|
|
22766
24863
|
* @param {*} [options] Override http request option.
|
|
@@ -22772,6 +24869,45 @@ export class TrackingApi extends BaseAPI {
|
|
|
22772
24869
|
.trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options)
|
|
22773
24870
|
.then((request) => request(this.axios, this.basePath));
|
|
22774
24871
|
}
|
|
24872
|
+
/**
|
|
24873
|
+
* Inventory gains on a game server during a time range (at most 7 days) by players whose Position at the moment of the gain was inside a shape (circle, rectangle or polygon) in a Dimension, with an optional height range. The Position is the one the game reported with the change, else the player\'s last Position sample at most 2 minutes earlier; `positionSource` says which. In time order, with cause and counterpart where reported. This is evidence, not proof of theft. At most 5000 gains; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchAreaGains`
|
|
24874
|
+
* @summary Search area gains
|
|
24875
|
+
* @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
|
|
24876
|
+
* @param {*} [options] Override http request option.
|
|
24877
|
+
* @throws {RequiredError}
|
|
24878
|
+
* @memberof TrackingApi
|
|
24879
|
+
*/
|
|
24880
|
+
trackingControllerSearchAreaGains(positionAreaInputDTO, options) {
|
|
24881
|
+
return TrackingApiFp(this.configuration)
|
|
24882
|
+
.trackingControllerSearchAreaGains(positionAreaInputDTO, options)
|
|
24883
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24884
|
+
}
|
|
24885
|
+
/**
|
|
24886
|
+
* Deaths, kills, connects and disconnects of a game server during a time range (at most 31 days), in time order, each with a Position: the one the game reported with the event, else the player\'s nearest Position sample within 2 minutes before or after (positionSource \'sampled\', approximate), else none. At most 2000 events; truncated is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`, `READ_EVENTS`<br> OperationId: `TrackingControllerSearchEvents`
|
|
24887
|
+
* @summary Search events
|
|
24888
|
+
* @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
|
|
24889
|
+
* @param {*} [options] Override http request option.
|
|
24890
|
+
* @throws {RequiredError}
|
|
24891
|
+
* @memberof TrackingApi
|
|
24892
|
+
*/
|
|
24893
|
+
trackingControllerSearchEvents(trackingEventsInputDTO, options) {
|
|
24894
|
+
return TrackingApiFp(this.configuration)
|
|
24895
|
+
.trackingControllerSearchEvents(trackingEventsInputDTO, options)
|
|
24896
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24897
|
+
}
|
|
24898
|
+
/**
|
|
24899
|
+
* Who was inside an area of a game server\'s Dimension during a time range (at most 31 days): per player, first seen, last seen and sample count. The shape (circle, rectangle or polygon) is given in game coordinates on the Dimension\'s two map axes; height (the third axis) is ignored unless minHeight or maxHeight is given. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchPositionArea`
|
|
24900
|
+
* @summary Search position area
|
|
24901
|
+
* @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
|
|
24902
|
+
* @param {*} [options] Override http request option.
|
|
24903
|
+
* @throws {RequiredError}
|
|
24904
|
+
* @memberof TrackingApi
|
|
24905
|
+
*/
|
|
24906
|
+
trackingControllerSearchPositionArea(positionAreaInputDTO, options) {
|
|
24907
|
+
return TrackingApiFp(this.configuration)
|
|
24908
|
+
.trackingControllerSearchPositionArea(positionAreaInputDTO, options)
|
|
24909
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24910
|
+
}
|
|
22775
24911
|
}
|
|
22776
24912
|
/**
|
|
22777
24913
|
* UserApi - axios parameter creator
|
|
@@ -23006,38 +25142,6 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
23006
25142
|
options: localVarRequestOptions,
|
|
23007
25143
|
};
|
|
23008
25144
|
},
|
|
23009
|
-
/**
|
|
23010
|
-
* Link your player profile to Takaro, allowing web access for things like shop and stats. To get the code, use the /link command in the game.<br> OperationId: `UserControllerLinkPlayerProfile`
|
|
23011
|
-
* @summary Link player profile
|
|
23012
|
-
* @param {LinkPlayerUnauthedInputDTO} [linkPlayerUnauthedInputDTO] LinkPlayerUnauthedInputDTO
|
|
23013
|
-
* @param {*} [options] Override http request option.
|
|
23014
|
-
* @throws {RequiredError}
|
|
23015
|
-
*/
|
|
23016
|
-
userControllerLinkPlayerProfile: async (linkPlayerUnauthedInputDTO, options = {}) => {
|
|
23017
|
-
const localVarPath = `/user/player`;
|
|
23018
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23019
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23020
|
-
let baseOptions;
|
|
23021
|
-
if (configuration) {
|
|
23022
|
-
baseOptions = configuration.baseOptions;
|
|
23023
|
-
}
|
|
23024
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
23025
|
-
const localVarHeaderParameter = {};
|
|
23026
|
-
const localVarQueryParameter = {};
|
|
23027
|
-
// authentication bearerAuth required
|
|
23028
|
-
// http bearer authentication required
|
|
23029
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
23030
|
-
// authentication domainAuth required
|
|
23031
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23032
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23033
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23034
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23035
|
-
localVarRequestOptions.data = serializeDataIfNeeded(linkPlayerUnauthedInputDTO, localVarRequestOptions, configuration);
|
|
23036
|
-
return {
|
|
23037
|
-
url: toPathString(localVarUrlObj),
|
|
23038
|
-
options: localVarRequestOptions,
|
|
23039
|
-
};
|
|
23040
|
-
},
|
|
23041
25145
|
/**
|
|
23042
25146
|
* Exchanges a username and password for a token through Keycloak\'s resource-owner password grant. This route exists for the hosted browser login page and nothing else. Scripts, bots, CI and integrations authenticate with an API Key sent as `Authorization: Bearer takaro_...` (create one with `POST /apikey`) — see docs/api/authentication.md. The route is not being removed and existing callers keep working.<br> OperationId: `UserControllerLogin`
|
|
23043
25147
|
* @summary Log in with a username and password
|
|
@@ -23397,19 +25501,6 @@ export const UserApiFp = function (configuration) {
|
|
|
23397
25501
|
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerInvite']?.[localVarOperationServerIndex]?.url;
|
|
23398
25502
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23399
25503
|
},
|
|
23400
|
-
/**
|
|
23401
|
-
* Link your player profile to Takaro, allowing web access for things like shop and stats. To get the code, use the /link command in the game.<br> OperationId: `UserControllerLinkPlayerProfile`
|
|
23402
|
-
* @summary Link player profile
|
|
23403
|
-
* @param {LinkPlayerUnauthedInputDTO} [linkPlayerUnauthedInputDTO] LinkPlayerUnauthedInputDTO
|
|
23404
|
-
* @param {*} [options] Override http request option.
|
|
23405
|
-
* @throws {RequiredError}
|
|
23406
|
-
*/
|
|
23407
|
-
async userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options) {
|
|
23408
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options);
|
|
23409
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23410
|
-
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerLinkPlayerProfile']?.[localVarOperationServerIndex]?.url;
|
|
23411
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23412
|
-
},
|
|
23413
25504
|
/**
|
|
23414
25505
|
* Exchanges a username and password for a token through Keycloak\'s resource-owner password grant. This route exists for the hosted browser login page and nothing else. Scripts, bots, CI and integrations authenticate with an API Key sent as `Authorization: Bearer takaro_...` (create one with `POST /apikey`) — see docs/api/authentication.md. The route is not being removed and existing callers keep working.<br> OperationId: `UserControllerLogin`
|
|
23415
25506
|
* @summary Log in with a username and password
|
|
@@ -23598,18 +25689,6 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
23598
25689
|
userControllerInvite(inviteCreateDTO, options) {
|
|
23599
25690
|
return localVarFp.userControllerInvite(inviteCreateDTO, options).then((request) => request(axios, basePath));
|
|
23600
25691
|
},
|
|
23601
|
-
/**
|
|
23602
|
-
* Link your player profile to Takaro, allowing web access for things like shop and stats. To get the code, use the /link command in the game.<br> OperationId: `UserControllerLinkPlayerProfile`
|
|
23603
|
-
* @summary Link player profile
|
|
23604
|
-
* @param {LinkPlayerUnauthedInputDTO} [linkPlayerUnauthedInputDTO] LinkPlayerUnauthedInputDTO
|
|
23605
|
-
* @param {*} [options] Override http request option.
|
|
23606
|
-
* @throws {RequiredError}
|
|
23607
|
-
*/
|
|
23608
|
-
userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options) {
|
|
23609
|
-
return localVarFp
|
|
23610
|
-
.userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options)
|
|
23611
|
-
.then((request) => request(axios, basePath));
|
|
23612
|
-
},
|
|
23613
25692
|
/**
|
|
23614
25693
|
* Exchanges a username and password for a token through Keycloak\'s resource-owner password grant. This route exists for the hosted browser login page and nothing else. Scripts, bots, CI and integrations authenticate with an API Key sent as `Authorization: Bearer takaro_...` (create one with `POST /apikey`) — see docs/api/authentication.md. The route is not being removed and existing callers keep working.<br> OperationId: `UserControllerLogin`
|
|
23615
25694
|
* @summary Log in with a username and password
|
|
@@ -23791,19 +25870,6 @@ export class UserApi extends BaseAPI {
|
|
|
23791
25870
|
.userControllerInvite(inviteCreateDTO, options)
|
|
23792
25871
|
.then((request) => request(this.axios, this.basePath));
|
|
23793
25872
|
}
|
|
23794
|
-
/**
|
|
23795
|
-
* Link your player profile to Takaro, allowing web access for things like shop and stats. To get the code, use the /link command in the game.<br> OperationId: `UserControllerLinkPlayerProfile`
|
|
23796
|
-
* @summary Link player profile
|
|
23797
|
-
* @param {LinkPlayerUnauthedInputDTO} [linkPlayerUnauthedInputDTO] LinkPlayerUnauthedInputDTO
|
|
23798
|
-
* @param {*} [options] Override http request option.
|
|
23799
|
-
* @throws {RequiredError}
|
|
23800
|
-
* @memberof UserApi
|
|
23801
|
-
*/
|
|
23802
|
-
userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options) {
|
|
23803
|
-
return UserApiFp(this.configuration)
|
|
23804
|
-
.userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options)
|
|
23805
|
-
.then((request) => request(this.axios, this.basePath));
|
|
23806
|
-
}
|
|
23807
25873
|
/**
|
|
23808
25874
|
* Exchanges a username and password for a token through Keycloak\'s resource-owner password grant. This route exists for the hosted browser login page and nothing else. Scripts, bots, CI and integrations authenticate with an API Key sent as `Authorization: Bearer takaro_...` (create one with `POST /apikey`) — see docs/api/authentication.md. The route is not being removed and existing callers keep working.<br> OperationId: `UserControllerLogin`
|
|
23809
25875
|
* @summary Log in with a username and password
|