@takaro/apiclient 0.0.0-dev.7294480 → 0.0.0-dev.729df68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/.source-hash +1 -1
  2. package/dist/generated/api.d.ts +8352 -2181
  3. package/dist/generated/api.d.ts.map +1 -1
  4. package/dist/generated/api.js +2916 -246
  5. package/dist/generated/api.js.map +1 -1
  6. package/dist/generated/base.d.ts.map +1 -1
  7. package/dist/generated/base.js.map +1 -1
  8. package/dist/generated/common.d.ts.map +1 -1
  9. package/dist/generated/common.js.map +1 -1
  10. package/dist/generated/configuration.d.ts.map +1 -1
  11. package/dist/generated/configuration.js.map +1 -1
  12. package/dist/generated-management/api.d.ts +10317 -5929
  13. package/dist/generated-management/api.d.ts.map +1 -1
  14. package/dist/generated-management/api.js +1492 -111
  15. package/dist/generated-management/api.js.map +1 -1
  16. package/dist/generated-management/base.d.ts.map +1 -1
  17. package/dist/generated-management/base.js.map +1 -1
  18. package/dist/generated-management/common.d.ts.map +1 -1
  19. package/dist/generated-management/common.js.map +1 -1
  20. package/dist/generated-management/configuration.d.ts.map +1 -1
  21. package/dist/generated-management/configuration.js.map +1 -1
  22. package/dist/lib/adminClient.d.ts +3 -1
  23. package/dist/lib/adminClient.d.ts.map +1 -1
  24. package/dist/lib/adminClient.js +7 -1
  25. package/dist/lib/adminClient.js.map +1 -1
  26. package/dist/lib/baseClient.d.ts.map +1 -1
  27. package/dist/lib/client.d.ts +3 -1
  28. package/dist/lib/client.d.ts.map +1 -1
  29. package/dist/lib/client.js +22 -11
  30. package/dist/lib/client.js.map +1 -1
  31. package/dist/lib/distributorClient.d.ts.map +1 -1
  32. package/dist/lib/staffClient.d.ts +3 -1
  33. package/dist/lib/staffClient.d.ts.map +1 -1
  34. package/dist/lib/staffClient.js +5 -1
  35. package/dist/lib/staffClient.js.map +1 -1
  36. package/dist/main.d.ts +3 -3
  37. package/dist/main.d.ts.map +1 -1
  38. package/dist/main.js +1 -1
  39. package/dist/main.js.map +1 -1
  40. package/package.json +5 -4
@@ -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',
@@ -168,6 +182,23 @@ export const CommandSearchInputDTOSortDirectionEnum = {
168
182
  Asc: 'asc',
169
183
  Desc: 'desc',
170
184
  };
185
+ export const ConnectorMigrationClaimOutputDTOOutcomeEnum = {
186
+ Claimed: 'claimed',
187
+ Refused: 'refused',
188
+ None: 'none',
189
+ };
190
+ export const ConnectorMigrationOutputDTOStatusEnum = {
191
+ Pending: 'pending',
192
+ Completed: 'completed',
193
+ Cancelled: 'cancelled',
194
+ Reverted: 'reverted',
195
+ };
196
+ export const ConnectorMigrationOutputDTOLegacyTypeEnum = {
197
+ Sevendaystodie: 'SEVENDAYSTODIE',
198
+ Rust: 'RUST',
199
+ Generic: 'GENERIC',
200
+ Mock: 'MOCK',
201
+ };
171
202
  export const CronJobSearchInputDTOExtendEnum = {
172
203
  Module: 'module',
173
204
  GameServer: 'gameServer',
@@ -184,11 +215,6 @@ export const CsmmExportSectionParamsSectionEnum = {
184
215
  CustomHooks: 'customHooks',
185
216
  CronJobs: 'cronJobs',
186
217
  };
187
- export const DistributorBackedDomainOutputDTOStateEnum = {
188
- Active: 'ACTIVE',
189
- Disabled: 'DISABLED',
190
- Maintenance: 'MAINTENANCE',
191
- };
192
218
  export const DomainCreateInputDTOStateEnum = {
193
219
  Active: 'ACTIVE',
194
220
  Disabled: 'DISABLED',
@@ -255,6 +281,7 @@ export const EventCreateDTOEventNameEnum = {
255
281
  SettingsSet: 'settings-set',
256
282
  PlayerNewIpDetected: 'player-new-ip-detected',
257
283
  PlayerNewNameDetected: 'player-new-name-detected',
284
+ PlayerIdentityConflict: 'player-identity-conflict',
258
285
  ServerStatusChanged: 'server-status-changed',
259
286
  ModuleCreated: 'module-created',
260
287
  ModuleUpdated: 'module-updated',
@@ -269,14 +296,18 @@ export const EventCreateDTOEventNameEnum = {
269
296
  ShopOrderStatusChanged: 'shop-order-status-changed',
270
297
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
271
298
  PlayerLinked: 'player-linked',
299
+ PlayerUnlinked: 'player-unlinked',
300
+ PlayerMerged: 'player-merged',
272
301
  GameserverCreated: 'gameserver-created',
273
302
  GameserverUpdated: 'gameserver-updated',
303
+ GameserverVersionChanged: 'gameserver-version-changed',
274
304
  GameserverDeleted: 'gameserver-deleted',
275
305
  PlayerBanned: 'player-banned',
276
306
  PlayerUnbanned: 'player-unbanned',
277
307
  PlayerDeleted: 'player-deleted',
278
308
  ShopActionExecuted: 'shop-action-executed',
279
309
  PlayerInventoryChanged: 'player-inventory-changed',
310
+ PlayerLevelChanged: 'player-level-changed',
280
311
  EventRateLimited: 'event-rate-limited',
281
312
  PlayerSyncSnapshot: 'player-sync-snapshot',
282
313
  InviteLinkCreated: 'invite-link-created',
@@ -286,6 +317,11 @@ export const EventCreateDTOEventNameEnum = {
286
317
  DomainCreated: 'domain-created',
287
318
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
288
319
  DomainPlanChanged: 'domain-plan-changed',
320
+ ConnectorMigrationStarted: 'connector-migration-started',
321
+ ConnectorMigrationCompleted: 'connector-migration-completed',
322
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
323
+ ConnectorMigrationReverted: 'connector-migration-reverted',
324
+ DiscordGuildEnabled: 'discord-guild-enabled',
289
325
  ItemsGiven: 'items-given',
290
326
  PlayerConnected: 'player-connected',
291
327
  PlayerDisconnected: 'player-disconnected',
@@ -309,6 +345,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
309
345
  SettingsSet: 'settings-set',
310
346
  PlayerNewIpDetected: 'player-new-ip-detected',
311
347
  PlayerNewNameDetected: 'player-new-name-detected',
348
+ PlayerIdentityConflict: 'player-identity-conflict',
312
349
  ServerStatusChanged: 'server-status-changed',
313
350
  ModuleCreated: 'module-created',
314
351
  ModuleUpdated: 'module-updated',
@@ -323,14 +360,18 @@ export const EventExploreFiltersDTOEventNameEnum = {
323
360
  ShopOrderStatusChanged: 'shop-order-status-changed',
324
361
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
325
362
  PlayerLinked: 'player-linked',
363
+ PlayerUnlinked: 'player-unlinked',
364
+ PlayerMerged: 'player-merged',
326
365
  GameserverCreated: 'gameserver-created',
327
366
  GameserverUpdated: 'gameserver-updated',
367
+ GameserverVersionChanged: 'gameserver-version-changed',
328
368
  GameserverDeleted: 'gameserver-deleted',
329
369
  PlayerBanned: 'player-banned',
330
370
  PlayerUnbanned: 'player-unbanned',
331
371
  PlayerDeleted: 'player-deleted',
332
372
  ShopActionExecuted: 'shop-action-executed',
333
373
  PlayerInventoryChanged: 'player-inventory-changed',
374
+ PlayerLevelChanged: 'player-level-changed',
334
375
  EventRateLimited: 'event-rate-limited',
335
376
  PlayerSyncSnapshot: 'player-sync-snapshot',
336
377
  InviteLinkCreated: 'invite-link-created',
@@ -340,6 +381,11 @@ export const EventExploreFiltersDTOEventNameEnum = {
340
381
  DomainCreated: 'domain-created',
341
382
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
342
383
  DomainPlanChanged: 'domain-plan-changed',
384
+ ConnectorMigrationStarted: 'connector-migration-started',
385
+ ConnectorMigrationCompleted: 'connector-migration-completed',
386
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
387
+ ConnectorMigrationReverted: 'connector-migration-reverted',
388
+ DiscordGuildEnabled: 'discord-guild-enabled',
343
389
  ItemsGiven: 'items-given',
344
390
  PlayerConnected: 'player-connected',
345
391
  PlayerDisconnected: 'player-disconnected',
@@ -347,6 +393,15 @@ export const EventExploreFiltersDTOEventNameEnum = {
347
393
  PlayerDeath: 'player-death',
348
394
  EntityKilled: 'entity-killed',
349
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
+ };
350
405
  export const EventOutputDTOEventNameEnum = {
351
406
  RoleAssigned: 'role-assigned',
352
407
  RoleRemoved: 'role-removed',
@@ -363,6 +418,7 @@ export const EventOutputDTOEventNameEnum = {
363
418
  SettingsSet: 'settings-set',
364
419
  PlayerNewIpDetected: 'player-new-ip-detected',
365
420
  PlayerNewNameDetected: 'player-new-name-detected',
421
+ PlayerIdentityConflict: 'player-identity-conflict',
366
422
  ServerStatusChanged: 'server-status-changed',
367
423
  ModuleCreated: 'module-created',
368
424
  ModuleUpdated: 'module-updated',
@@ -377,14 +433,18 @@ export const EventOutputDTOEventNameEnum = {
377
433
  ShopOrderStatusChanged: 'shop-order-status-changed',
378
434
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
379
435
  PlayerLinked: 'player-linked',
436
+ PlayerUnlinked: 'player-unlinked',
437
+ PlayerMerged: 'player-merged',
380
438
  GameserverCreated: 'gameserver-created',
381
439
  GameserverUpdated: 'gameserver-updated',
440
+ GameserverVersionChanged: 'gameserver-version-changed',
382
441
  GameserverDeleted: 'gameserver-deleted',
383
442
  PlayerBanned: 'player-banned',
384
443
  PlayerUnbanned: 'player-unbanned',
385
444
  PlayerDeleted: 'player-deleted',
386
445
  ShopActionExecuted: 'shop-action-executed',
387
446
  PlayerInventoryChanged: 'player-inventory-changed',
447
+ PlayerLevelChanged: 'player-level-changed',
388
448
  EventRateLimited: 'event-rate-limited',
389
449
  PlayerSyncSnapshot: 'player-sync-snapshot',
390
450
  InviteLinkCreated: 'invite-link-created',
@@ -394,6 +454,11 @@ export const EventOutputDTOEventNameEnum = {
394
454
  DomainCreated: 'domain-created',
395
455
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
396
456
  DomainPlanChanged: 'domain-plan-changed',
457
+ ConnectorMigrationStarted: 'connector-migration-started',
458
+ ConnectorMigrationCompleted: 'connector-migration-completed',
459
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
460
+ ConnectorMigrationReverted: 'connector-migration-reverted',
461
+ DiscordGuildEnabled: 'discord-guild-enabled',
397
462
  ItemsGiven: 'items-given',
398
463
  PlayerConnected: 'player-connected',
399
464
  PlayerDisconnected: 'player-disconnected',
@@ -417,6 +482,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
417
482
  SettingsSet: 'settings-set',
418
483
  PlayerNewIpDetected: 'player-new-ip-detected',
419
484
  PlayerNewNameDetected: 'player-new-name-detected',
485
+ PlayerIdentityConflict: 'player-identity-conflict',
420
486
  ServerStatusChanged: 'server-status-changed',
421
487
  ModuleCreated: 'module-created',
422
488
  ModuleUpdated: 'module-updated',
@@ -431,14 +497,18 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
431
497
  ShopOrderStatusChanged: 'shop-order-status-changed',
432
498
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
433
499
  PlayerLinked: 'player-linked',
500
+ PlayerUnlinked: 'player-unlinked',
501
+ PlayerMerged: 'player-merged',
434
502
  GameserverCreated: 'gameserver-created',
435
503
  GameserverUpdated: 'gameserver-updated',
504
+ GameserverVersionChanged: 'gameserver-version-changed',
436
505
  GameserverDeleted: 'gameserver-deleted',
437
506
  PlayerBanned: 'player-banned',
438
507
  PlayerUnbanned: 'player-unbanned',
439
508
  PlayerDeleted: 'player-deleted',
440
509
  ShopActionExecuted: 'shop-action-executed',
441
510
  PlayerInventoryChanged: 'player-inventory-changed',
511
+ PlayerLevelChanged: 'player-level-changed',
442
512
  EventRateLimited: 'event-rate-limited',
443
513
  PlayerSyncSnapshot: 'player-sync-snapshot',
444
514
  InviteLinkCreated: 'invite-link-created',
@@ -448,6 +518,11 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
448
518
  DomainCreated: 'domain-created',
449
519
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
450
520
  DomainPlanChanged: 'domain-plan-changed',
521
+ ConnectorMigrationStarted: 'connector-migration-started',
522
+ ConnectorMigrationCompleted: 'connector-migration-completed',
523
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
524
+ ConnectorMigrationReverted: 'connector-migration-reverted',
525
+ DiscordGuildEnabled: 'discord-guild-enabled',
451
526
  ItemsGiven: 'items-given',
452
527
  PlayerConnected: 'player-connected',
453
528
  PlayerDisconnected: 'player-disconnected',
@@ -490,12 +565,24 @@ export const GameServerCreateDTOTypeEnum = {
490
565
  Generic: 'GENERIC',
491
566
  Mock: 'MOCK',
492
567
  };
568
+ export const GameServerCreateDTONameSourceEnum = {
569
+ Connector: 'connector',
570
+ Operator: 'operator',
571
+ };
572
+ export const GameServerIdentifyInputDTOProtocolVersionEnum = {
573
+ NUMBER_0: 0,
574
+ NUMBER_1: 1,
575
+ };
493
576
  export const GameServerOutputDTOTypeEnum = {
494
577
  Sevendaystodie: 'SEVENDAYSTODIE',
495
578
  Rust: 'RUST',
496
579
  Generic: 'GENERIC',
497
580
  Mock: 'MOCK',
498
581
  };
582
+ export const GameServerOutputDTONameSourceEnum = {
583
+ Connector: 'connector',
584
+ Operator: 'operator',
585
+ };
499
586
  export const GameServerSearchInputAllowedFiltersTypeEnum = {
500
587
  Sevendaystodie: 'SEVENDAYSTODIE',
501
588
  Rust: 'RUST',
@@ -538,13 +625,18 @@ export const GetJobInputDTOTypeEnum = {
538
625
  SyncItems: 'syncItems',
539
626
  SyncEntities: 'syncEntities',
540
627
  SyncBans: 'syncBans',
628
+ SyncLocations: 'syncLocations',
541
629
  SyncMapImages: 'syncMapImages',
542
630
  SyncMapUploads: 'syncMapUploads',
631
+ SyncGameIcons: 'syncGameIcons',
543
632
  SyncSteam: 'syncSteam',
544
633
  SyncDiscordRoles: 'syncDiscordRoles',
545
634
  EmitRateLimitSummary: 'emitRateLimitSummary',
546
635
  CleanRevokedApiKeys: 'cleanRevokedApiKeys',
547
636
  CleanExecutionClaims: 'cleanExecutionClaims',
637
+ DeleteClickHouseEvents: 'deleteClickHouseEvents',
638
+ RepointClickHouseEvents: 'repointClickHouseEvents',
639
+ CleanConnectorMigrations: 'cleanConnectorMigrations',
548
640
  };
549
641
  export const GetSettingsInputKeysEnum = {
550
642
  CommandPrefix: 'commandPrefix',
@@ -592,6 +684,7 @@ export const HookCreateDTOEventTypeEnum = {
592
684
  SettingsSet: 'settings-set',
593
685
  PlayerNewIpDetected: 'player-new-ip-detected',
594
686
  PlayerNewNameDetected: 'player-new-name-detected',
687
+ PlayerIdentityConflict: 'player-identity-conflict',
595
688
  ServerStatusChanged: 'server-status-changed',
596
689
  ModuleCreated: 'module-created',
597
690
  ModuleUpdated: 'module-updated',
@@ -606,14 +699,18 @@ export const HookCreateDTOEventTypeEnum = {
606
699
  ShopOrderStatusChanged: 'shop-order-status-changed',
607
700
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
608
701
  PlayerLinked: 'player-linked',
702
+ PlayerUnlinked: 'player-unlinked',
703
+ PlayerMerged: 'player-merged',
609
704
  GameserverCreated: 'gameserver-created',
610
705
  GameserverUpdated: 'gameserver-updated',
706
+ GameserverVersionChanged: 'gameserver-version-changed',
611
707
  GameserverDeleted: 'gameserver-deleted',
612
708
  PlayerBanned: 'player-banned',
613
709
  PlayerUnbanned: 'player-unbanned',
614
710
  PlayerDeleted: 'player-deleted',
615
711
  ShopActionExecuted: 'shop-action-executed',
616
712
  PlayerInventoryChanged: 'player-inventory-changed',
713
+ PlayerLevelChanged: 'player-level-changed',
617
714
  EventRateLimited: 'event-rate-limited',
618
715
  PlayerSyncSnapshot: 'player-sync-snapshot',
619
716
  InviteLinkCreated: 'invite-link-created',
@@ -623,6 +720,11 @@ export const HookCreateDTOEventTypeEnum = {
623
720
  DomainCreated: 'domain-created',
624
721
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
625
722
  DomainPlanChanged: 'domain-plan-changed',
723
+ ConnectorMigrationStarted: 'connector-migration-started',
724
+ ConnectorMigrationCompleted: 'connector-migration-completed',
725
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
726
+ ConnectorMigrationReverted: 'connector-migration-reverted',
727
+ DiscordGuildEnabled: 'discord-guild-enabled',
626
728
  ItemsGiven: 'items-given',
627
729
  };
628
730
  export const HookOutputDTOEventTypeEnum = {
@@ -648,6 +750,7 @@ export const HookOutputDTOEventTypeEnum = {
648
750
  SettingsSet: 'settings-set',
649
751
  PlayerNewIpDetected: 'player-new-ip-detected',
650
752
  PlayerNewNameDetected: 'player-new-name-detected',
753
+ PlayerIdentityConflict: 'player-identity-conflict',
651
754
  ServerStatusChanged: 'server-status-changed',
652
755
  ModuleCreated: 'module-created',
653
756
  ModuleUpdated: 'module-updated',
@@ -662,14 +765,18 @@ export const HookOutputDTOEventTypeEnum = {
662
765
  ShopOrderStatusChanged: 'shop-order-status-changed',
663
766
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
664
767
  PlayerLinked: 'player-linked',
768
+ PlayerUnlinked: 'player-unlinked',
769
+ PlayerMerged: 'player-merged',
665
770
  GameserverCreated: 'gameserver-created',
666
771
  GameserverUpdated: 'gameserver-updated',
772
+ GameserverVersionChanged: 'gameserver-version-changed',
667
773
  GameserverDeleted: 'gameserver-deleted',
668
774
  PlayerBanned: 'player-banned',
669
775
  PlayerUnbanned: 'player-unbanned',
670
776
  PlayerDeleted: 'player-deleted',
671
777
  ShopActionExecuted: 'shop-action-executed',
672
778
  PlayerInventoryChanged: 'player-inventory-changed',
779
+ PlayerLevelChanged: 'player-level-changed',
673
780
  EventRateLimited: 'event-rate-limited',
674
781
  PlayerSyncSnapshot: 'player-sync-snapshot',
675
782
  InviteLinkCreated: 'invite-link-created',
@@ -679,6 +786,11 @@ export const HookOutputDTOEventTypeEnum = {
679
786
  DomainCreated: 'domain-created',
680
787
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
681
788
  DomainPlanChanged: 'domain-plan-changed',
789
+ ConnectorMigrationStarted: 'connector-migration-started',
790
+ ConnectorMigrationCompleted: 'connector-migration-completed',
791
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
792
+ ConnectorMigrationReverted: 'connector-migration-reverted',
793
+ DiscordGuildEnabled: 'discord-guild-enabled',
682
794
  ItemsGiven: 'items-given',
683
795
  };
684
796
  export const HookSearchInputAllowedFiltersEventTypeEnum = {
@@ -704,6 +816,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
704
816
  SettingsSet: 'settings-set',
705
817
  PlayerNewIpDetected: 'player-new-ip-detected',
706
818
  PlayerNewNameDetected: 'player-new-name-detected',
819
+ PlayerIdentityConflict: 'player-identity-conflict',
707
820
  ServerStatusChanged: 'server-status-changed',
708
821
  ModuleCreated: 'module-created',
709
822
  ModuleUpdated: 'module-updated',
@@ -718,14 +831,18 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
718
831
  ShopOrderStatusChanged: 'shop-order-status-changed',
719
832
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
720
833
  PlayerLinked: 'player-linked',
834
+ PlayerUnlinked: 'player-unlinked',
835
+ PlayerMerged: 'player-merged',
721
836
  GameserverCreated: 'gameserver-created',
722
837
  GameserverUpdated: 'gameserver-updated',
838
+ GameserverVersionChanged: 'gameserver-version-changed',
723
839
  GameserverDeleted: 'gameserver-deleted',
724
840
  PlayerBanned: 'player-banned',
725
841
  PlayerUnbanned: 'player-unbanned',
726
842
  PlayerDeleted: 'player-deleted',
727
843
  ShopActionExecuted: 'shop-action-executed',
728
844
  PlayerInventoryChanged: 'player-inventory-changed',
845
+ PlayerLevelChanged: 'player-level-changed',
729
846
  EventRateLimited: 'event-rate-limited',
730
847
  PlayerSyncSnapshot: 'player-sync-snapshot',
731
848
  InviteLinkCreated: 'invite-link-created',
@@ -735,6 +852,11 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
735
852
  DomainCreated: 'domain-created',
736
853
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
737
854
  DomainPlanChanged: 'domain-plan-changed',
855
+ ConnectorMigrationStarted: 'connector-migration-started',
856
+ ConnectorMigrationCompleted: 'connector-migration-completed',
857
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
858
+ ConnectorMigrationReverted: 'connector-migration-reverted',
859
+ DiscordGuildEnabled: 'discord-guild-enabled',
738
860
  ItemsGiven: 'items-given',
739
861
  };
740
862
  export const HookSearchInputDTOExtendEnum = {
@@ -768,6 +890,7 @@ export const HookTriggerDTOEventTypeEnum = {
768
890
  SettingsSet: 'settings-set',
769
891
  PlayerNewIpDetected: 'player-new-ip-detected',
770
892
  PlayerNewNameDetected: 'player-new-name-detected',
893
+ PlayerIdentityConflict: 'player-identity-conflict',
771
894
  ServerStatusChanged: 'server-status-changed',
772
895
  ModuleCreated: 'module-created',
773
896
  ModuleUpdated: 'module-updated',
@@ -782,14 +905,18 @@ export const HookTriggerDTOEventTypeEnum = {
782
905
  ShopOrderStatusChanged: 'shop-order-status-changed',
783
906
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
784
907
  PlayerLinked: 'player-linked',
908
+ PlayerUnlinked: 'player-unlinked',
909
+ PlayerMerged: 'player-merged',
785
910
  GameserverCreated: 'gameserver-created',
786
911
  GameserverUpdated: 'gameserver-updated',
912
+ GameserverVersionChanged: 'gameserver-version-changed',
787
913
  GameserverDeleted: 'gameserver-deleted',
788
914
  PlayerBanned: 'player-banned',
789
915
  PlayerUnbanned: 'player-unbanned',
790
916
  PlayerDeleted: 'player-deleted',
791
917
  ShopActionExecuted: 'shop-action-executed',
792
918
  PlayerInventoryChanged: 'player-inventory-changed',
919
+ PlayerLevelChanged: 'player-level-changed',
793
920
  EventRateLimited: 'event-rate-limited',
794
921
  PlayerSyncSnapshot: 'player-sync-snapshot',
795
922
  InviteLinkCreated: 'invite-link-created',
@@ -799,6 +926,11 @@ export const HookTriggerDTOEventTypeEnum = {
799
926
  DomainCreated: 'domain-created',
800
927
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
801
928
  DomainPlanChanged: 'domain-plan-changed',
929
+ ConnectorMigrationStarted: 'connector-migration-started',
930
+ ConnectorMigrationCompleted: 'connector-migration-completed',
931
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
932
+ ConnectorMigrationReverted: 'connector-migration-reverted',
933
+ DiscordGuildEnabled: 'discord-guild-enabled',
802
934
  ItemsGiven: 'items-given',
803
935
  };
804
936
  export const HookUpdateDTOEventTypeEnum = {
@@ -824,6 +956,7 @@ export const HookUpdateDTOEventTypeEnum = {
824
956
  SettingsSet: 'settings-set',
825
957
  PlayerNewIpDetected: 'player-new-ip-detected',
826
958
  PlayerNewNameDetected: 'player-new-name-detected',
959
+ PlayerIdentityConflict: 'player-identity-conflict',
827
960
  ServerStatusChanged: 'server-status-changed',
828
961
  ModuleCreated: 'module-created',
829
962
  ModuleUpdated: 'module-updated',
@@ -838,14 +971,18 @@ export const HookUpdateDTOEventTypeEnum = {
838
971
  ShopOrderStatusChanged: 'shop-order-status-changed',
839
972
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
840
973
  PlayerLinked: 'player-linked',
974
+ PlayerUnlinked: 'player-unlinked',
975
+ PlayerMerged: 'player-merged',
841
976
  GameserverCreated: 'gameserver-created',
842
977
  GameserverUpdated: 'gameserver-updated',
978
+ GameserverVersionChanged: 'gameserver-version-changed',
843
979
  GameserverDeleted: 'gameserver-deleted',
844
980
  PlayerBanned: 'player-banned',
845
981
  PlayerUnbanned: 'player-unbanned',
846
982
  PlayerDeleted: 'player-deleted',
847
983
  ShopActionExecuted: 'shop-action-executed',
848
984
  PlayerInventoryChanged: 'player-inventory-changed',
985
+ PlayerLevelChanged: 'player-level-changed',
849
986
  EventRateLimited: 'event-rate-limited',
850
987
  PlayerSyncSnapshot: 'player-sync-snapshot',
851
988
  InviteLinkCreated: 'invite-link-created',
@@ -855,6 +992,11 @@ export const HookUpdateDTOEventTypeEnum = {
855
992
  DomainCreated: 'domain-created',
856
993
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
857
994
  DomainPlanChanged: 'domain-plan-changed',
995
+ ConnectorMigrationStarted: 'connector-migration-started',
996
+ ConnectorMigrationCompleted: 'connector-migration-completed',
997
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
998
+ ConnectorMigrationReverted: 'connector-migration-reverted',
999
+ DiscordGuildEnabled: 'discord-guild-enabled',
858
1000
  ItemsGiven: 'items-given',
859
1001
  };
860
1002
  export const IEntityDTOTypeEnum = {
@@ -885,6 +1027,7 @@ export const IHookEventTypeEnum = {
885
1027
  SettingsSet: 'settings-set',
886
1028
  PlayerNewIpDetected: 'player-new-ip-detected',
887
1029
  PlayerNewNameDetected: 'player-new-name-detected',
1030
+ PlayerIdentityConflict: 'player-identity-conflict',
888
1031
  ServerStatusChanged: 'server-status-changed',
889
1032
  ModuleCreated: 'module-created',
890
1033
  ModuleUpdated: 'module-updated',
@@ -899,14 +1042,18 @@ export const IHookEventTypeEnum = {
899
1042
  ShopOrderStatusChanged: 'shop-order-status-changed',
900
1043
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
901
1044
  PlayerLinked: 'player-linked',
1045
+ PlayerUnlinked: 'player-unlinked',
1046
+ PlayerMerged: 'player-merged',
902
1047
  GameserverCreated: 'gameserver-created',
903
1048
  GameserverUpdated: 'gameserver-updated',
1049
+ GameserverVersionChanged: 'gameserver-version-changed',
904
1050
  GameserverDeleted: 'gameserver-deleted',
905
1051
  PlayerBanned: 'player-banned',
906
1052
  PlayerUnbanned: 'player-unbanned',
907
1053
  PlayerDeleted: 'player-deleted',
908
1054
  ShopActionExecuted: 'shop-action-executed',
909
1055
  PlayerInventoryChanged: 'player-inventory-changed',
1056
+ PlayerLevelChanged: 'player-level-changed',
910
1057
  EventRateLimited: 'event-rate-limited',
911
1058
  PlayerSyncSnapshot: 'player-sync-snapshot',
912
1059
  InviteLinkCreated: 'invite-link-created',
@@ -916,12 +1063,40 @@ export const IHookEventTypeEnum = {
916
1063
  DomainCreated: 'domain-created',
917
1064
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
918
1065
  DomainPlanChanged: 'domain-plan-changed',
1066
+ ConnectorMigrationStarted: 'connector-migration-started',
1067
+ ConnectorMigrationCompleted: 'connector-migration-completed',
1068
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
1069
+ ConnectorMigrationReverted: 'connector-migration-reverted',
1070
+ DiscordGuildEnabled: 'discord-guild-enabled',
919
1071
  ItemsGiven: 'items-given',
920
1072
  };
921
1073
  export const ITakaroQuerySortDirectionEnum = {
922
1074
  Asc: 'asc',
923
1075
  Desc: 'desc',
924
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
+ };
925
1100
  export const InviteLinkCreateResultDTOStatusEnum = {
926
1101
  Active: 'ACTIVE',
927
1102
  Revoked: 'REVOKED',
@@ -944,6 +1119,21 @@ export const InviteLinkSearchInputDTOSortDirectionEnum = {
944
1119
  Asc: 'asc',
945
1120
  Desc: 'desc',
946
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
+ };
947
1137
  export const ItemSearchInputDTOExtendEnum = {
948
1138
  Gameserver: 'gameserver',
949
1139
  };
@@ -977,6 +1167,10 @@ export const JobStatusOutputDTOStatusEnum = {
977
1167
  Waiting: 'waiting',
978
1168
  WaitingChildren: 'waiting-children',
979
1169
  };
1170
+ export const LocationSearchInputDTOSortDirectionEnum = {
1171
+ Asc: 'asc',
1172
+ Desc: 'desc',
1173
+ };
980
1174
  export const LoginQueryParamsLocaleEnum = {
981
1175
  En: 'en',
982
1176
  Nl: 'nl',
@@ -991,6 +1185,8 @@ export const LoginQueryParamsLocaleEnum = {
991
1185
  Ja: 'ja',
992
1186
  It: 'it',
993
1187
  Tr: 'tr',
1188
+ He: 'he',
1189
+ Ar: 'ar',
994
1190
  };
995
1191
  export const ManagementDomainOutputDTOStateEnum = {
996
1192
  Active: 'ACTIVE',
@@ -1040,6 +1236,12 @@ export const MetaFilterGroupOrLeafDTOOperatorEnum = {
1040
1236
  LessThan: '<',
1041
1237
  ArrayContains: 'array_contains',
1042
1238
  };
1239
+ export const ModuleInstallationComponentKpiDTOTypeEnum = {
1240
+ Hook: 'hook',
1241
+ Cron: 'cron',
1242
+ Command: 'command',
1243
+ ShopAction: 'shopAction',
1244
+ };
1043
1245
  export const ModuleInstallationKpisQueryDTOPeriodEnum = {
1044
1246
  _24h: '24h',
1045
1247
  _7d: '7d',
@@ -1094,6 +1296,8 @@ export const PERMISSIONS = {
1094
1296
  ViewDiscordInfo: 'VIEW_DISCORD_INFO',
1095
1297
  SendDiscordMessage: 'SEND_DISCORD_MESSAGE',
1096
1298
  ManageApiKeys: 'MANAGE_API_KEYS',
1299
+ ReadMap: 'READ_MAP',
1300
+ ReadTracking: 'READ_TRACKING',
1097
1301
  };
1098
1302
  export const ParamKeyKeyEnum = {
1099
1303
  CommandPrefix: 'commandPrefix',
@@ -1109,6 +1313,39 @@ export const ParamKeyKeyEnum = {
1109
1313
  UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
1110
1314
  TakaroAiEnabled: 'takaroAiEnabled',
1111
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
+ };
1112
1349
  export const PlayerOnGameServerSearchInputDTOExtendEnum = {
1113
1350
  GameServer: 'gameServer',
1114
1351
  Player: 'player',
@@ -1117,6 +1354,24 @@ export const PlayerOnGameServerSearchInputDTOSortDirectionEnum = {
1117
1354
  Asc: 'asc',
1118
1355
  Desc: 'desc',
1119
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
+ };
1120
1375
  export const PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum = {
1121
1376
  Global: 'global',
1122
1377
  GameServer: 'gameServer',
@@ -1131,6 +1386,23 @@ export const PlayerSearchInputDTOSortDirectionEnum = {
1131
1386
  Asc: 'asc',
1132
1387
  Desc: 'desc',
1133
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
+ };
1134
1406
  export const RecentOrderDTOStatusEnum = {
1135
1407
  Completed: 'COMPLETED',
1136
1408
  Paid: 'PAID',
@@ -1287,16 +1559,82 @@ export const TakaroAiUsageOutputDTOStatusEnum = {
1287
1559
  NoAllowance: 'noAllowance',
1288
1560
  NeedsGameServer: 'needsGameServer',
1289
1561
  };
1562
+ export const TakaroEventDomainCreatedOriginEnum = {
1563
+ Distributor: 'distributor',
1564
+ Staff: 'staff',
1565
+ Subscription: 'subscription',
1566
+ AdminSecret: 'admin_secret',
1567
+ };
1568
+ export const TakaroEventInventoryCounterpartKindEnum = {
1569
+ Container: 'container',
1570
+ Player: 'player',
1571
+ };
1290
1572
  export const TakaroEventItemsGivenLineResultEnum = {
1291
1573
  Delivered: 'DELIVERED',
1292
1574
  Failed: 'FAILED',
1293
1575
  Unknown: 'UNKNOWN',
1294
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
+ };
1295
1589
  export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
1296
1590
  Added: 'added',
1297
1591
  Removed: 'removed',
1298
1592
  Changed: 'changed',
1299
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
+ };
1300
1638
  export const TakaroEventRateLimitedScopeEnum = {
1301
1639
  Server: 'server',
1302
1640
  Domain: 'domain',
@@ -1432,6 +1770,16 @@ export const ThreadWithStepsOutputDTOOriginSurfaceEnum = {
1432
1770
  EventFailure: 'eventFailure',
1433
1771
  CsmmMigration: 'csmmMigration',
1434
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
+ };
1435
1783
  export const TriggerJobInputDTOTypeEnum = {
1436
1784
  SeedModules: 'seedModules',
1437
1785
  CleanEvents: 'cleanEvents',
@@ -1441,11 +1789,27 @@ export const TriggerJobInputDTOTypeEnum = {
1441
1789
  SyncItems: 'syncItems',
1442
1790
  SyncEntities: 'syncEntities',
1443
1791
  SyncBans: 'syncBans',
1792
+ SyncLocations: 'syncLocations',
1444
1793
  SyncMapImages: 'syncMapImages',
1445
1794
  SyncMapUploads: 'syncMapUploads',
1795
+ SyncGameIcons: 'syncGameIcons',
1446
1796
  SyncSteam: 'syncSteam',
1447
1797
  SyncDiscordRoles: 'syncDiscordRoles',
1448
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
+ };
1449
1813
  export const UserSearchInputDTOExtendEnum = {
1450
1814
  Roles: 'roles',
1451
1815
  };
@@ -5864,6 +6228,8 @@ export const AuthControllerLoginLocaleEnum = {
5864
6228
  Ja: 'ja',
5865
6229
  It: 'it',
5866
6230
  Tr: 'tr',
6231
+ He: 'he',
6232
+ Ar: 'ar',
5867
6233
  };
5868
6234
  /**
5869
6235
  * CommandApi - axios parameter creator
@@ -5872,7 +6238,7 @@ export const AuthControllerLoginLocaleEnum = {
5872
6238
  export const CommandApiAxiosParamCreator = function (configuration) {
5873
6239
  return {
5874
6240
  /**
5875
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
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`
5876
6242
  * @summary Create
5877
6243
  * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
5878
6244
  * @param {*} [options] Override http request option.
@@ -6140,7 +6506,7 @@ export const CommandApiAxiosParamCreator = function (configuration) {
6140
6506
  };
6141
6507
  },
6142
6508
  /**
6143
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
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`
6144
6510
  * @summary Update
6145
6511
  * @param {string} id
6146
6512
  * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
@@ -6219,7 +6585,7 @@ export const CommandApiFp = function (configuration) {
6219
6585
  const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
6220
6586
  return {
6221
6587
  /**
6222
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
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`
6223
6589
  * @summary Create
6224
6590
  * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
6225
6591
  * @param {*} [options] Override http request option.
@@ -6326,7 +6692,7 @@ export const CommandApiFp = function (configuration) {
6326
6692
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6327
6693
  },
6328
6694
  /**
6329
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
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`
6330
6696
  * @summary Update
6331
6697
  * @param {string} id
6332
6698
  * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
@@ -6363,7 +6729,7 @@ export const CommandApiFactory = function (configuration, basePath, axios) {
6363
6729
  const localVarFp = CommandApiFp(configuration);
6364
6730
  return {
6365
6731
  /**
6366
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
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`
6367
6733
  * @summary Create
6368
6734
  * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
6369
6735
  * @param {*} [options] Override http request option.
@@ -6454,7 +6820,7 @@ export const CommandApiFactory = function (configuration, basePath, axios) {
6454
6820
  .then((request) => request(axios, basePath));
6455
6821
  },
6456
6822
  /**
6457
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
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`
6458
6824
  * @summary Update
6459
6825
  * @param {string} id
6460
6826
  * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
@@ -6489,7 +6855,7 @@ export const CommandApiFactory = function (configuration, basePath, axios) {
6489
6855
  */
6490
6856
  export class CommandApi extends BaseAPI {
6491
6857
  /**
6492
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
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`
6493
6859
  * @summary Create
6494
6860
  * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
6495
6861
  * @param {*} [options] Override http request option.
@@ -6596,7 +6962,7 @@ export class CommandApi extends BaseAPI {
6596
6962
  .then((request) => request(this.axios, this.basePath));
6597
6963
  }
6598
6964
  /**
6599
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
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`
6600
6966
  * @summary Update
6601
6967
  * @param {string} id
6602
6968
  * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
@@ -9622,6 +9988,102 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
9622
9988
  options: localVarRequestOptions,
9623
9989
  };
9624
9990
  },
9991
+ /**
9992
+ * Cancel a pending Connector Migration. Its identity token stops claiming the gameserver; the legacy connection was never changed. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCancelConnectorMigration`
9993
+ * @summary Cancel connector migration
9994
+ * @param {string} id
9995
+ * @param {*} [options] Override http request option.
9996
+ * @throws {RequiredError}
9997
+ */
9998
+ gameServerControllerCancelConnectorMigration: async (id, options = {}) => {
9999
+ // verify required parameter 'id' is not null or undefined
10000
+ assertParamExists('gameServerControllerCancelConnectorMigration', 'id', id);
10001
+ const localVarPath = `/gameserver/{id}/connector-migration/cancel`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10002
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10003
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10004
+ let baseOptions;
10005
+ if (configuration) {
10006
+ baseOptions = configuration.baseOptions;
10007
+ }
10008
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
10009
+ const localVarHeaderParameter = {};
10010
+ const localVarQueryParameter = {};
10011
+ // authentication bearerAuth required
10012
+ // http bearer authentication required
10013
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
10014
+ // authentication domainAuth required
10015
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10016
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10017
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10018
+ return {
10019
+ url: toPathString(localVarUrlObj),
10020
+ options: localVarRequestOptions,
10021
+ };
10022
+ },
10023
+ /**
10024
+ * Claim the legacy gameserver whose pending Connector Migration issued this identity token. Written by the connector on handshake; users normally never call it. The outcome is claimed, refused (with the reason, also recorded on the gameserver) or none (no pending migration holds the token in this domain). Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerClaimConnectorMigration`
10025
+ * @summary Claim connector migration
10026
+ * @param {ConnectorMigrationClaimInputDTO} [connectorMigrationClaimInputDTO] ConnectorMigrationClaimInputDTO
10027
+ * @param {*} [options] Override http request option.
10028
+ * @throws {RequiredError}
10029
+ */
10030
+ gameServerControllerClaimConnectorMigration: async (connectorMigrationClaimInputDTO, options = {}) => {
10031
+ const localVarPath = `/gameserver/connector-migration/claim`;
10032
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10033
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10034
+ let baseOptions;
10035
+ if (configuration) {
10036
+ baseOptions = configuration.baseOptions;
10037
+ }
10038
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
10039
+ const localVarHeaderParameter = {};
10040
+ const localVarQueryParameter = {};
10041
+ // authentication bearerAuth required
10042
+ // http bearer authentication required
10043
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
10044
+ // authentication domainAuth required
10045
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10046
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10047
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10048
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10049
+ localVarRequestOptions.data = serializeDataIfNeeded(connectorMigrationClaimInputDTO, localVarRequestOptions, configuration);
10050
+ return {
10051
+ url: toPathString(localVarUrlObj),
10052
+ options: localVarRequestOptions,
10053
+ };
10054
+ },
10055
+ /**
10056
+ * Report of a completed Connector Migration: players seen since the switch that matched existing ones vs. newly created, and item rows reused vs. newly added. A high playersNew count suggests reverting.<br> OperationId: `GameServerControllerConnectorMigrationReport`
10057
+ * @summary Connector migration report
10058
+ * @param {string} id
10059
+ * @param {*} [options] Override http request option.
10060
+ * @throws {RequiredError}
10061
+ */
10062
+ gameServerControllerConnectorMigrationReport: async (id, options = {}) => {
10063
+ // verify required parameter 'id' is not null or undefined
10064
+ assertParamExists('gameServerControllerConnectorMigrationReport', 'id', id);
10065
+ const localVarPath = `/gameserver/{id}/connector-migration/report`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10066
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10067
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10068
+ let baseOptions;
10069
+ if (configuration) {
10070
+ baseOptions = configuration.baseOptions;
10071
+ }
10072
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
10073
+ const localVarHeaderParameter = {};
10074
+ const localVarQueryParameter = {};
10075
+ // authentication bearerAuth required
10076
+ // http bearer authentication required
10077
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
10078
+ // authentication domainAuth required
10079
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10080
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10081
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10082
+ return {
10083
+ url: toPathString(localVarUrlObj),
10084
+ options: localVarRequestOptions,
10085
+ };
10086
+ },
9625
10087
  /**
9626
10088
  * Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
9627
10089
  * @summary Create
@@ -9722,7 +10184,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
9722
10184
  };
9723
10185
  },
9724
10186
  /**
9725
- * 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.<br> OperationId: `GameServerControllerGetDimensionMapTile`
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`
9726
10188
  * @summary Get dimension map tile
9727
10189
  * @param {string} id
9728
10190
  * @param {string} dimension
@@ -9774,6 +10236,42 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
9774
10236
  options: localVarRequestOptions,
9775
10237
  };
9776
10238
  },
10239
+ /**
10240
+ * The game\'s icon from its Game Profile as a 128x128 WEBP image. 404 when the game server has no icon. When the optional query parameter v equals the stored revision (iconRevision on the game server) the response is cacheable for a day (immutable), otherwise for a minute.<br> OperationId: `GameServerControllerGetGameIcon`
10241
+ * @summary Get game icon
10242
+ * @param {string} id
10243
+ * @param {string} [v]
10244
+ * @param {*} [options] Override http request option.
10245
+ * @throws {RequiredError}
10246
+ */
10247
+ gameServerControllerGetGameIcon: async (id, v, options = {}) => {
10248
+ // verify required parameter 'id' is not null or undefined
10249
+ assertParamExists('gameServerControllerGetGameIcon', 'id', id);
10250
+ const localVarPath = `/gameserver/{id}/icon`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10251
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10252
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10253
+ let baseOptions;
10254
+ if (configuration) {
10255
+ baseOptions = configuration.baseOptions;
10256
+ }
10257
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
10258
+ const localVarHeaderParameter = {};
10259
+ const localVarQueryParameter = {};
10260
+ // authentication bearerAuth required
10261
+ // http bearer authentication required
10262
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
10263
+ // authentication domainAuth required
10264
+ if (v !== undefined) {
10265
+ localVarQueryParameter['v'] = v;
10266
+ }
10267
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10269
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10270
+ return {
10271
+ url: toPathString(localVarUrlObj),
10272
+ options: localVarRequestOptions,
10273
+ };
10274
+ },
9777
10275
  /**
9778
10276
  * Fetch status of an import from CSMM. Deprecated: use `GameServerController.getJob` with the import job type instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
9779
10277
  * @summary Get import
@@ -9845,7 +10343,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
9845
10343
  };
9846
10344
  },
9847
10345
  /**
9848
- * 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.<br> OperationId: `GameServerControllerGetMap`
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`
9849
10347
  * @summary Get map
9850
10348
  * @param {string} id
9851
10349
  * @param {*} [options] Override http request option.
@@ -9877,7 +10375,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
9877
10375
  };
9878
10376
  },
9879
10377
  /**
9880
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
10378
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
9881
10379
  * @summary Get map info
9882
10380
  * @param {string} id
9883
10381
  * @param {*} [options] Override http request option.
@@ -9909,7 +10407,39 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
9909
10407
  };
9910
10408
  },
9911
10409
  /**
9912
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
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`
9913
10443
  * @summary Get map tile
9914
10444
  * @param {string} id
9915
10445
  * @param {string} x
@@ -10230,10 +10760,11 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10230
10760
  };
10231
10761
  },
10232
10762
  /**
10233
- * Static locations the game reports (traders, spawns). Requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`.<br> OperationId: `GameServerControllerListLocations`
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`
10234
10764
  * @summary List locations
10235
10765
  * @param {string} id
10236
10766
  * @param {*} [options] Override http request option.
10767
+ * @deprecated
10237
10768
  * @throws {RequiredError}
10238
10769
  */
10239
10770
  gameServerControllerListLocations: async (id, options = {}) => {
@@ -10298,6 +10829,41 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10298
10829
  options: localVarRequestOptions,
10299
10830
  };
10300
10831
  },
10832
+ /**
10833
+ * Records what a connector-based game server reported when it identified: its Capability Manifest, game, connector and protocol version, and its name while the name follows the connector. Emits gameserver-version-changed when the connector, protocol version, game or game version changed, otherwise gameserver-updated when the name or Game Profile changed. Written by the connector; users normally never call it. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRecordIdentify`
10834
+ * @summary Record identify
10835
+ * @param {string} id
10836
+ * @param {GameServerIdentifyInputDTO} [gameServerIdentifyInputDTO] GameServerIdentifyInputDTO
10837
+ * @param {*} [options] Override http request option.
10838
+ * @throws {RequiredError}
10839
+ */
10840
+ gameServerControllerRecordIdentify: async (id, gameServerIdentifyInputDTO, options = {}) => {
10841
+ // verify required parameter 'id' is not null or undefined
10842
+ assertParamExists('gameServerControllerRecordIdentify', 'id', id);
10843
+ const localVarPath = `/gameserver/{id}/identify`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10844
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10845
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10846
+ let baseOptions;
10847
+ if (configuration) {
10848
+ baseOptions = configuration.baseOptions;
10849
+ }
10850
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
10851
+ const localVarHeaderParameter = {};
10852
+ const localVarQueryParameter = {};
10853
+ // authentication bearerAuth required
10854
+ // http bearer authentication required
10855
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
10856
+ // authentication domainAuth required
10857
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10858
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10859
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10860
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10861
+ localVarRequestOptions.data = serializeDataIfNeeded(gameServerIdentifyInputDTO, localVarRequestOptions, configuration);
10862
+ return {
10863
+ url: toPathString(localVarUrlObj),
10864
+ options: localVarRequestOptions,
10865
+ };
10866
+ },
10301
10867
  /**
10302
10868
  * Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
10303
10869
  * @summary Regenerate registration token
@@ -10429,14 +10995,16 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10429
10995
  };
10430
10996
  },
10431
10997
  /**
10432
- * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
10433
- * @summary Search
10434
- * @param {GameServerSearchInputDTO} [gameServerSearchInputDTO] GameServerSearchInputDTO
10998
+ * Revert a completed Connector Migration within 14 days of completion. Restores the legacy type and connection, retires the identity token and drops the connector connection. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRevertConnectorMigration`
10999
+ * @summary Revert connector migration
11000
+ * @param {string} id
10435
11001
  * @param {*} [options] Override http request option.
10436
11002
  * @throws {RequiredError}
10437
11003
  */
10438
- gameServerControllerSearch: async (gameServerSearchInputDTO, options = {}) => {
10439
- const localVarPath = `/gameserver/search`;
11004
+ gameServerControllerRevertConnectorMigration: async (id, options = {}) => {
11005
+ // verify required parameter 'id' is not null or undefined
11006
+ assertParamExists('gameServerControllerRevertConnectorMigration', 'id', id);
11007
+ const localVarPath = `/gameserver/{id}/connector-migration/revert`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10440
11008
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10441
11009
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10442
11010
  let baseOptions;
@@ -10450,19 +11018,49 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10450
11018
  // http bearer authentication required
10451
11019
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
10452
11020
  // authentication domainAuth required
10453
- localVarHeaderParameter['Content-Type'] = 'application/json';
10454
11021
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10455
11022
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10456
11023
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10457
- localVarRequestOptions.data = serializeDataIfNeeded(gameServerSearchInputDTO, localVarRequestOptions, configuration);
10458
11024
  return {
10459
11025
  url: toPathString(localVarUrlObj),
10460
11026
  options: localVarRequestOptions,
10461
11027
  };
10462
11028
  },
10463
11029
  /**
10464
- * Send a message in gameserver chat. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSendMessage`
10465
- * @summary Send message
11030
+ * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
11031
+ * @summary Search
11032
+ * @param {GameServerSearchInputDTO} [gameServerSearchInputDTO] GameServerSearchInputDTO
11033
+ * @param {*} [options] Override http request option.
11034
+ * @throws {RequiredError}
11035
+ */
11036
+ gameServerControllerSearch: async (gameServerSearchInputDTO, options = {}) => {
11037
+ const localVarPath = `/gameserver/search`;
11038
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11039
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11040
+ let baseOptions;
11041
+ if (configuration) {
11042
+ baseOptions = configuration.baseOptions;
11043
+ }
11044
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
11045
+ const localVarHeaderParameter = {};
11046
+ const localVarQueryParameter = {};
11047
+ // authentication bearerAuth required
11048
+ // http bearer authentication required
11049
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
11050
+ // authentication domainAuth required
11051
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11052
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11053
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11054
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11055
+ localVarRequestOptions.data = serializeDataIfNeeded(gameServerSearchInputDTO, localVarRequestOptions, configuration);
11056
+ return {
11057
+ url: toPathString(localVarUrlObj),
11058
+ options: localVarRequestOptions,
11059
+ };
11060
+ },
11061
+ /**
11062
+ * Send a message in gameserver chat. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSendMessage`
11063
+ * @summary Send message
10466
11064
  * @param {string} id
10467
11065
  * @param {MessageSendInputDTO} [messageSendInputDTO] MessageSendInputDTO
10468
11066
  * @param {*} [options] Override http request option.
@@ -10562,6 +11160,38 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10562
11160
  options: localVarRequestOptions,
10563
11161
  };
10564
11162
  },
11163
+ /**
11164
+ * Start a Connector Migration of a legacy gameserver, or return the pending one. Put the returned identity token and registration token in the connector config; the gameserver keeps its legacy connection until that connector first connects. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerStartConnectorMigration`
11165
+ * @summary Start connector migration
11166
+ * @param {string} id
11167
+ * @param {*} [options] Override http request option.
11168
+ * @throws {RequiredError}
11169
+ */
11170
+ gameServerControllerStartConnectorMigration: async (id, options = {}) => {
11171
+ // verify required parameter 'id' is not null or undefined
11172
+ assertParamExists('gameServerControllerStartConnectorMigration', 'id', id);
11173
+ const localVarPath = `/gameserver/{id}/connector-migration`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
11174
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11175
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11176
+ let baseOptions;
11177
+ if (configuration) {
11178
+ baseOptions = configuration.baseOptions;
11179
+ }
11180
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
11181
+ const localVarHeaderParameter = {};
11182
+ const localVarQueryParameter = {};
11183
+ // authentication bearerAuth required
11184
+ // http bearer authentication required
11185
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
11186
+ // authentication domainAuth required
11187
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11188
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11189
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11190
+ return {
11191
+ url: toPathString(localVarUrlObj),
11192
+ options: localVarRequestOptions,
11193
+ };
11194
+ },
10565
11195
  /**
10566
11196
  * Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
10567
11197
  * @summary Teleport player
@@ -10841,6 +11471,48 @@ export const GameServerApiFp = function (configuration) {
10841
11471
  const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerBanPlayer']?.[localVarOperationServerIndex]?.url;
10842
11472
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10843
11473
  },
11474
+ /**
11475
+ * Cancel a pending Connector Migration. Its identity token stops claiming the gameserver; the legacy connection was never changed. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCancelConnectorMigration`
11476
+ * @summary Cancel connector migration
11477
+ * @param {string} id
11478
+ * @param {*} [options] Override http request option.
11479
+ * @throws {RequiredError}
11480
+ */
11481
+ async gameServerControllerCancelConnectorMigration(id, options) {
11482
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerCancelConnectorMigration(id, options);
11483
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11484
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerCancelConnectorMigration']?.[localVarOperationServerIndex]
11485
+ ?.url;
11486
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11487
+ },
11488
+ /**
11489
+ * Claim the legacy gameserver whose pending Connector Migration issued this identity token. Written by the connector on handshake; users normally never call it. The outcome is claimed, refused (with the reason, also recorded on the gameserver) or none (no pending migration holds the token in this domain). Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerClaimConnectorMigration`
11490
+ * @summary Claim connector migration
11491
+ * @param {ConnectorMigrationClaimInputDTO} [connectorMigrationClaimInputDTO] ConnectorMigrationClaimInputDTO
11492
+ * @param {*} [options] Override http request option.
11493
+ * @throws {RequiredError}
11494
+ */
11495
+ async gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options) {
11496
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options);
11497
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11498
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerClaimConnectorMigration']?.[localVarOperationServerIndex]
11499
+ ?.url;
11500
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11501
+ },
11502
+ /**
11503
+ * Report of a completed Connector Migration: players seen since the switch that matched existing ones vs. newly created, and item rows reused vs. newly added. A high playersNew count suggests reverting.<br> OperationId: `GameServerControllerConnectorMigrationReport`
11504
+ * @summary Connector migration report
11505
+ * @param {string} id
11506
+ * @param {*} [options] Override http request option.
11507
+ * @throws {RequiredError}
11508
+ */
11509
+ async gameServerControllerConnectorMigrationReport(id, options) {
11510
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerConnectorMigrationReport(id, options);
11511
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11512
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerConnectorMigrationReport']?.[localVarOperationServerIndex]
11513
+ ?.url;
11514
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11515
+ },
10844
11516
  /**
10845
11517
  * Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
10846
11518
  * @summary Create
@@ -10882,7 +11554,7 @@ export const GameServerApiFp = function (configuration) {
10882
11554
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10883
11555
  },
10884
11556
  /**
10885
- * 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.<br> OperationId: `GameServerControllerGetDimensionMapTile`
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`
10886
11558
  * @summary Get dimension map tile
10887
11559
  * @param {string} id
10888
11560
  * @param {string} dimension
@@ -10900,6 +11572,20 @@ export const GameServerApiFp = function (configuration) {
10900
11572
  ?.url;
10901
11573
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10902
11574
  },
11575
+ /**
11576
+ * The game\'s icon from its Game Profile as a 128x128 WEBP image. 404 when the game server has no icon. When the optional query parameter v equals the stored revision (iconRevision on the game server) the response is cacheable for a day (immutable), otherwise for a minute.<br> OperationId: `GameServerControllerGetGameIcon`
11577
+ * @summary Get game icon
11578
+ * @param {string} id
11579
+ * @param {string} [v]
11580
+ * @param {*} [options] Override http request option.
11581
+ * @throws {RequiredError}
11582
+ */
11583
+ async gameServerControllerGetGameIcon(id, v, options) {
11584
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetGameIcon(id, v, options);
11585
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11586
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerGetGameIcon']?.[localVarOperationServerIndex]?.url;
11587
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11588
+ },
10903
11589
  /**
10904
11590
  * Fetch status of an import from CSMM. Deprecated: use `GameServerController.getJob` with the import job type instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
10905
11591
  * @summary Get import
@@ -10929,7 +11615,7 @@ export const GameServerApiFp = function (configuration) {
10929
11615
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10930
11616
  },
10931
11617
  /**
10932
- * 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.<br> OperationId: `GameServerControllerGetMap`
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`
10933
11619
  * @summary Get map
10934
11620
  * @param {string} id
10935
11621
  * @param {*} [options] Override http request option.
@@ -10942,7 +11628,7 @@ export const GameServerApiFp = function (configuration) {
10942
11628
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10943
11629
  },
10944
11630
  /**
10945
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
11631
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
10946
11632
  * @summary Get map info
10947
11633
  * @param {string} id
10948
11634
  * @param {*} [options] Override http request option.
@@ -10955,7 +11641,21 @@ export const GameServerApiFp = function (configuration) {
10955
11641
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10956
11642
  },
10957
11643
  /**
10958
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
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`
10959
11659
  * @summary Get map tile
10960
11660
  * @param {string} id
10961
11661
  * @param {string} x
@@ -11081,10 +11781,11 @@ export const GameServerApiFp = function (configuration) {
11081
11781
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11082
11782
  },
11083
11783
  /**
11084
- * Static locations the game reports (traders, spawns). Requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`.<br> OperationId: `GameServerControllerListLocations`
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`
11085
11785
  * @summary List locations
11086
11786
  * @param {string} id
11087
11787
  * @param {*} [options] Override http request option.
11788
+ * @deprecated
11088
11789
  * @throws {RequiredError}
11089
11790
  */
11090
11791
  async gameServerControllerListLocations(id, options) {
@@ -11107,6 +11808,20 @@ export const GameServerApiFp = function (configuration) {
11107
11808
  const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerPutMapUpload']?.[localVarOperationServerIndex]?.url;
11108
11809
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11109
11810
  },
11811
+ /**
11812
+ * Records what a connector-based game server reported when it identified: its Capability Manifest, game, connector and protocol version, and its name while the name follows the connector. Emits gameserver-version-changed when the connector, protocol version, game or game version changed, otherwise gameserver-updated when the name or Game Profile changed. Written by the connector; users normally never call it. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRecordIdentify`
11813
+ * @summary Record identify
11814
+ * @param {string} id
11815
+ * @param {GameServerIdentifyInputDTO} [gameServerIdentifyInputDTO] GameServerIdentifyInputDTO
11816
+ * @param {*} [options] Override http request option.
11817
+ * @throws {RequiredError}
11818
+ */
11819
+ async gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options) {
11820
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options);
11821
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11822
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerRecordIdentify']?.[localVarOperationServerIndex]?.url;
11823
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11824
+ },
11110
11825
  /**
11111
11826
  * Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
11112
11827
  * @summary Regenerate registration token
@@ -11159,6 +11874,20 @@ export const GameServerApiFp = function (configuration) {
11159
11874
  const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerResetCurrency']?.[localVarOperationServerIndex]?.url;
11160
11875
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11161
11876
  },
11877
+ /**
11878
+ * Revert a completed Connector Migration within 14 days of completion. Restores the legacy type and connection, retires the identity token and drops the connector connection. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRevertConnectorMigration`
11879
+ * @summary Revert connector migration
11880
+ * @param {string} id
11881
+ * @param {*} [options] Override http request option.
11882
+ * @throws {RequiredError}
11883
+ */
11884
+ async gameServerControllerRevertConnectorMigration(id, options) {
11885
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRevertConnectorMigration(id, options);
11886
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11887
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerRevertConnectorMigration']?.[localVarOperationServerIndex]
11888
+ ?.url;
11889
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11890
+ },
11162
11891
  /**
11163
11892
  * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
11164
11893
  * @summary Search
@@ -11213,6 +11942,20 @@ export const GameServerApiFp = function (configuration) {
11213
11942
  const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerShutdown']?.[localVarOperationServerIndex]?.url;
11214
11943
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11215
11944
  },
11945
+ /**
11946
+ * Start a Connector Migration of a legacy gameserver, or return the pending one. Put the returned identity token and registration token in the connector config; the gameserver keeps its legacy connection until that connector first connects. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerStartConnectorMigration`
11947
+ * @summary Start connector migration
11948
+ * @param {string} id
11949
+ * @param {*} [options] Override http request option.
11950
+ * @throws {RequiredError}
11951
+ */
11952
+ async gameServerControllerStartConnectorMigration(id, options) {
11953
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerStartConnectorMigration(id, options);
11954
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11955
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerStartConnectorMigration']?.[localVarOperationServerIndex]
11956
+ ?.url;
11957
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11958
+ },
11216
11959
  /**
11217
11960
  * Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
11218
11961
  * @summary Teleport player
@@ -11337,6 +12080,42 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11337
12080
  .gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options)
11338
12081
  .then((request) => request(axios, basePath));
11339
12082
  },
12083
+ /**
12084
+ * Cancel a pending Connector Migration. Its identity token stops claiming the gameserver; the legacy connection was never changed. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCancelConnectorMigration`
12085
+ * @summary Cancel connector migration
12086
+ * @param {string} id
12087
+ * @param {*} [options] Override http request option.
12088
+ * @throws {RequiredError}
12089
+ */
12090
+ gameServerControllerCancelConnectorMigration(id, options) {
12091
+ return localVarFp
12092
+ .gameServerControllerCancelConnectorMigration(id, options)
12093
+ .then((request) => request(axios, basePath));
12094
+ },
12095
+ /**
12096
+ * Claim the legacy gameserver whose pending Connector Migration issued this identity token. Written by the connector on handshake; users normally never call it. The outcome is claimed, refused (with the reason, also recorded on the gameserver) or none (no pending migration holds the token in this domain). Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerClaimConnectorMigration`
12097
+ * @summary Claim connector migration
12098
+ * @param {ConnectorMigrationClaimInputDTO} [connectorMigrationClaimInputDTO] ConnectorMigrationClaimInputDTO
12099
+ * @param {*} [options] Override http request option.
12100
+ * @throws {RequiredError}
12101
+ */
12102
+ gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options) {
12103
+ return localVarFp
12104
+ .gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options)
12105
+ .then((request) => request(axios, basePath));
12106
+ },
12107
+ /**
12108
+ * Report of a completed Connector Migration: players seen since the switch that matched existing ones vs. newly created, and item rows reused vs. newly added. A high playersNew count suggests reverting.<br> OperationId: `GameServerControllerConnectorMigrationReport`
12109
+ * @summary Connector migration report
12110
+ * @param {string} id
12111
+ * @param {*} [options] Override http request option.
12112
+ * @throws {RequiredError}
12113
+ */
12114
+ gameServerControllerConnectorMigrationReport(id, options) {
12115
+ return localVarFp
12116
+ .gameServerControllerConnectorMigrationReport(id, options)
12117
+ .then((request) => request(axios, basePath));
12118
+ },
11340
12119
  /**
11341
12120
  * Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
11342
12121
  * @summary Create
@@ -11373,7 +12152,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11373
12152
  return localVarFp.gameServerControllerGetCapabilities(id, options).then((request) => request(axios, basePath));
11374
12153
  },
11375
12154
  /**
11376
- * 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.<br> OperationId: `GameServerControllerGetDimensionMapTile`
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`
11377
12156
  * @summary Get dimension map tile
11378
12157
  * @param {string} id
11379
12158
  * @param {string} dimension
@@ -11389,6 +12168,17 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11389
12168
  .gameServerControllerGetDimensionMapTile(id, dimension, zoom, x, y, v, options)
11390
12169
  .then((request) => request(axios, basePath));
11391
12170
  },
12171
+ /**
12172
+ * The game\'s icon from its Game Profile as a 128x128 WEBP image. 404 when the game server has no icon. When the optional query parameter v equals the stored revision (iconRevision on the game server) the response is cacheable for a day (immutable), otherwise for a minute.<br> OperationId: `GameServerControllerGetGameIcon`
12173
+ * @summary Get game icon
12174
+ * @param {string} id
12175
+ * @param {string} [v]
12176
+ * @param {*} [options] Override http request option.
12177
+ * @throws {RequiredError}
12178
+ */
12179
+ gameServerControllerGetGameIcon(id, v, options) {
12180
+ return localVarFp.gameServerControllerGetGameIcon(id, v, options).then((request) => request(axios, basePath));
12181
+ },
11392
12182
  /**
11393
12183
  * Fetch status of an import from CSMM. Deprecated: use `GameServerController.getJob` with the import job type instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
11394
12184
  * @summary Get import
@@ -11412,7 +12202,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11412
12202
  return localVarFp.gameServerControllerGetJob(type, id, options).then((request) => request(axios, basePath));
11413
12203
  },
11414
12204
  /**
11415
- * 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.<br> OperationId: `GameServerControllerGetMap`
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`
11416
12206
  * @summary Get map
11417
12207
  * @param {string} id
11418
12208
  * @param {*} [options] Override http request option.
@@ -11422,7 +12212,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11422
12212
  return localVarFp.gameServerControllerGetMap(id, options).then((request) => request(axios, basePath));
11423
12213
  },
11424
12214
  /**
11425
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
12215
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
11426
12216
  * @summary Get map info
11427
12217
  * @param {string} id
11428
12218
  * @param {*} [options] Override http request option.
@@ -11432,7 +12222,19 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11432
12222
  return localVarFp.gameServerControllerGetMapInfo(id, options).then((request) => request(axios, basePath));
11433
12223
  },
11434
12224
  /**
11435
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
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`
11436
12238
  * @summary Get map tile
11437
12239
  * @param {string} id
11438
12240
  * @param {string} x
@@ -11539,10 +12341,11 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11539
12341
  return localVarFp.gameServerControllerListBans(id, options).then((request) => request(axios, basePath));
11540
12342
  },
11541
12343
  /**
11542
- * Static locations the game reports (traders, spawns). Requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`.<br> OperationId: `GameServerControllerListLocations`
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`
11543
12345
  * @summary List locations
11544
12346
  * @param {string} id
11545
12347
  * @param {*} [options] Override http request option.
12348
+ * @deprecated
11546
12349
  * @throws {RequiredError}
11547
12350
  */
11548
12351
  gameServerControllerListLocations(id, options) {
@@ -11561,6 +12364,19 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11561
12364
  .gameServerControllerPutMapUpload(id, dimension, options)
11562
12365
  .then((request) => request(axios, basePath));
11563
12366
  },
12367
+ /**
12368
+ * Records what a connector-based game server reported when it identified: its Capability Manifest, game, connector and protocol version, and its name while the name follows the connector. Emits gameserver-version-changed when the connector, protocol version, game or game version changed, otherwise gameserver-updated when the name or Game Profile changed. Written by the connector; users normally never call it. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRecordIdentify`
12369
+ * @summary Record identify
12370
+ * @param {string} id
12371
+ * @param {GameServerIdentifyInputDTO} [gameServerIdentifyInputDTO] GameServerIdentifyInputDTO
12372
+ * @param {*} [options] Override http request option.
12373
+ * @throws {RequiredError}
12374
+ */
12375
+ gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options) {
12376
+ return localVarFp
12377
+ .gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options)
12378
+ .then((request) => request(axios, basePath));
12379
+ },
11564
12380
  /**
11565
12381
  * Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
11566
12382
  * @summary Regenerate registration token
@@ -11605,6 +12421,18 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11605
12421
  gameServerControllerResetCurrency(id, options) {
11606
12422
  return localVarFp.gameServerControllerResetCurrency(id, options).then((request) => request(axios, basePath));
11607
12423
  },
12424
+ /**
12425
+ * Revert a completed Connector Migration within 14 days of completion. Restores the legacy type and connection, retires the identity token and drops the connector connection. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRevertConnectorMigration`
12426
+ * @summary Revert connector migration
12427
+ * @param {string} id
12428
+ * @param {*} [options] Override http request option.
12429
+ * @throws {RequiredError}
12430
+ */
12431
+ gameServerControllerRevertConnectorMigration(id, options) {
12432
+ return localVarFp
12433
+ .gameServerControllerRevertConnectorMigration(id, options)
12434
+ .then((request) => request(axios, basePath));
12435
+ },
11608
12436
  /**
11609
12437
  * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
11610
12438
  * @summary Search
@@ -11653,6 +12481,18 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11653
12481
  gameServerControllerShutdown(id, options) {
11654
12482
  return localVarFp.gameServerControllerShutdown(id, options).then((request) => request(axios, basePath));
11655
12483
  },
12484
+ /**
12485
+ * Start a Connector Migration of a legacy gameserver, or return the pending one. Put the returned identity token and registration token in the connector config; the gameserver keeps its legacy connection until that connector first connects. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerStartConnectorMigration`
12486
+ * @summary Start connector migration
12487
+ * @param {string} id
12488
+ * @param {*} [options] Override http request option.
12489
+ * @throws {RequiredError}
12490
+ */
12491
+ gameServerControllerStartConnectorMigration(id, options) {
12492
+ return localVarFp
12493
+ .gameServerControllerStartConnectorMigration(id, options)
12494
+ .then((request) => request(axios, basePath));
12495
+ },
11656
12496
  /**
11657
12497
  * Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
11658
12498
  * @summary Teleport player
@@ -11768,6 +12608,45 @@ export class GameServerApi extends BaseAPI {
11768
12608
  .gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options)
11769
12609
  .then((request) => request(this.axios, this.basePath));
11770
12610
  }
12611
+ /**
12612
+ * Cancel a pending Connector Migration. Its identity token stops claiming the gameserver; the legacy connection was never changed. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCancelConnectorMigration`
12613
+ * @summary Cancel connector migration
12614
+ * @param {string} id
12615
+ * @param {*} [options] Override http request option.
12616
+ * @throws {RequiredError}
12617
+ * @memberof GameServerApi
12618
+ */
12619
+ gameServerControllerCancelConnectorMigration(id, options) {
12620
+ return GameServerApiFp(this.configuration)
12621
+ .gameServerControllerCancelConnectorMigration(id, options)
12622
+ .then((request) => request(this.axios, this.basePath));
12623
+ }
12624
+ /**
12625
+ * Claim the legacy gameserver whose pending Connector Migration issued this identity token. Written by the connector on handshake; users normally never call it. The outcome is claimed, refused (with the reason, also recorded on the gameserver) or none (no pending migration holds the token in this domain). Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerClaimConnectorMigration`
12626
+ * @summary Claim connector migration
12627
+ * @param {ConnectorMigrationClaimInputDTO} [connectorMigrationClaimInputDTO] ConnectorMigrationClaimInputDTO
12628
+ * @param {*} [options] Override http request option.
12629
+ * @throws {RequiredError}
12630
+ * @memberof GameServerApi
12631
+ */
12632
+ gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options) {
12633
+ return GameServerApiFp(this.configuration)
12634
+ .gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options)
12635
+ .then((request) => request(this.axios, this.basePath));
12636
+ }
12637
+ /**
12638
+ * Report of a completed Connector Migration: players seen since the switch that matched existing ones vs. newly created, and item rows reused vs. newly added. A high playersNew count suggests reverting.<br> OperationId: `GameServerControllerConnectorMigrationReport`
12639
+ * @summary Connector migration report
12640
+ * @param {string} id
12641
+ * @param {*} [options] Override http request option.
12642
+ * @throws {RequiredError}
12643
+ * @memberof GameServerApi
12644
+ */
12645
+ gameServerControllerConnectorMigrationReport(id, options) {
12646
+ return GameServerApiFp(this.configuration)
12647
+ .gameServerControllerConnectorMigrationReport(id, options)
12648
+ .then((request) => request(this.axios, this.basePath));
12649
+ }
11771
12650
  /**
11772
12651
  * Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
11773
12652
  * @summary Create
@@ -11809,7 +12688,7 @@ export class GameServerApi extends BaseAPI {
11809
12688
  .then((request) => request(this.axios, this.basePath));
11810
12689
  }
11811
12690
  /**
11812
- * 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.<br> OperationId: `GameServerControllerGetDimensionMapTile`
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`
11813
12692
  * @summary Get dimension map tile
11814
12693
  * @param {string} id
11815
12694
  * @param {string} dimension
@@ -11826,6 +12705,20 @@ export class GameServerApi extends BaseAPI {
11826
12705
  .gameServerControllerGetDimensionMapTile(id, dimension, zoom, x, y, v, options)
11827
12706
  .then((request) => request(this.axios, this.basePath));
11828
12707
  }
12708
+ /**
12709
+ * The game\'s icon from its Game Profile as a 128x128 WEBP image. 404 when the game server has no icon. When the optional query parameter v equals the stored revision (iconRevision on the game server) the response is cacheable for a day (immutable), otherwise for a minute.<br> OperationId: `GameServerControllerGetGameIcon`
12710
+ * @summary Get game icon
12711
+ * @param {string} id
12712
+ * @param {string} [v]
12713
+ * @param {*} [options] Override http request option.
12714
+ * @throws {RequiredError}
12715
+ * @memberof GameServerApi
12716
+ */
12717
+ gameServerControllerGetGameIcon(id, v, options) {
12718
+ return GameServerApiFp(this.configuration)
12719
+ .gameServerControllerGetGameIcon(id, v, options)
12720
+ .then((request) => request(this.axios, this.basePath));
12721
+ }
11829
12722
  /**
11830
12723
  * Fetch status of an import from CSMM. Deprecated: use `GameServerController.getJob` with the import job type instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
11831
12724
  * @summary Get import
@@ -11855,7 +12748,7 @@ export class GameServerApi extends BaseAPI {
11855
12748
  .then((request) => request(this.axios, this.basePath));
11856
12749
  }
11857
12750
  /**
11858
- * 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.<br> OperationId: `GameServerControllerGetMap`
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`
11859
12752
  * @summary Get map
11860
12753
  * @param {string} id
11861
12754
  * @param {*} [options] Override http request option.
@@ -11868,7 +12761,7 @@ export class GameServerApi extends BaseAPI {
11868
12761
  .then((request) => request(this.axios, this.basePath));
11869
12762
  }
11870
12763
  /**
11871
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
12764
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
11872
12765
  * @summary Get map info
11873
12766
  * @param {string} id
11874
12767
  * @param {*} [options] Override http request option.
@@ -11881,7 +12774,20 @@ export class GameServerApi extends BaseAPI {
11881
12774
  .then((request) => request(this.axios, this.basePath));
11882
12775
  }
11883
12776
  /**
11884
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
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`
11885
12791
  * @summary Get map tile
11886
12792
  * @param {string} id
11887
12793
  * @param {string} x
@@ -12007,10 +12913,11 @@ export class GameServerApi extends BaseAPI {
12007
12913
  .then((request) => request(this.axios, this.basePath));
12008
12914
  }
12009
12915
  /**
12010
- * Static locations the game reports (traders, spawns). Requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`.<br> OperationId: `GameServerControllerListLocations`
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`
12011
12917
  * @summary List locations
12012
12918
  * @param {string} id
12013
12919
  * @param {*} [options] Override http request option.
12920
+ * @deprecated
12014
12921
  * @throws {RequiredError}
12015
12922
  * @memberof GameServerApi
12016
12923
  */
@@ -12033,6 +12940,20 @@ export class GameServerApi extends BaseAPI {
12033
12940
  .gameServerControllerPutMapUpload(id, dimension, options)
12034
12941
  .then((request) => request(this.axios, this.basePath));
12035
12942
  }
12943
+ /**
12944
+ * Records what a connector-based game server reported when it identified: its Capability Manifest, game, connector and protocol version, and its name while the name follows the connector. Emits gameserver-version-changed when the connector, protocol version, game or game version changed, otherwise gameserver-updated when the name or Game Profile changed. Written by the connector; users normally never call it. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRecordIdentify`
12945
+ * @summary Record identify
12946
+ * @param {string} id
12947
+ * @param {GameServerIdentifyInputDTO} [gameServerIdentifyInputDTO] GameServerIdentifyInputDTO
12948
+ * @param {*} [options] Override http request option.
12949
+ * @throws {RequiredError}
12950
+ * @memberof GameServerApi
12951
+ */
12952
+ gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options) {
12953
+ return GameServerApiFp(this.configuration)
12954
+ .gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options)
12955
+ .then((request) => request(this.axios, this.basePath));
12956
+ }
12036
12957
  /**
12037
12958
  * Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
12038
12959
  * @summary Regenerate registration token
@@ -12086,16 +13007,29 @@ export class GameServerApi extends BaseAPI {
12086
13007
  .then((request) => request(this.axios, this.basePath));
12087
13008
  }
12088
13009
  /**
12089
- * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
12090
- * @summary Search
12091
- * @param {GameServerSearchInputDTO} [gameServerSearchInputDTO] GameServerSearchInputDTO
13010
+ * Revert a completed Connector Migration within 14 days of completion. Restores the legacy type and connection, retires the identity token and drops the connector connection. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRevertConnectorMigration`
13011
+ * @summary Revert connector migration
13012
+ * @param {string} id
12092
13013
  * @param {*} [options] Override http request option.
12093
13014
  * @throws {RequiredError}
12094
13015
  * @memberof GameServerApi
12095
13016
  */
12096
- gameServerControllerSearch(gameServerSearchInputDTO, options) {
13017
+ gameServerControllerRevertConnectorMigration(id, options) {
12097
13018
  return GameServerApiFp(this.configuration)
12098
- .gameServerControllerSearch(gameServerSearchInputDTO, options)
13019
+ .gameServerControllerRevertConnectorMigration(id, options)
13020
+ .then((request) => request(this.axios, this.basePath));
13021
+ }
13022
+ /**
13023
+ * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
13024
+ * @summary Search
13025
+ * @param {GameServerSearchInputDTO} [gameServerSearchInputDTO] GameServerSearchInputDTO
13026
+ * @param {*} [options] Override http request option.
13027
+ * @throws {RequiredError}
13028
+ * @memberof GameServerApi
13029
+ */
13030
+ gameServerControllerSearch(gameServerSearchInputDTO, options) {
13031
+ return GameServerApiFp(this.configuration)
13032
+ .gameServerControllerSearch(gameServerSearchInputDTO, options)
12099
13033
  .then((request) => request(this.axios, this.basePath));
12100
13034
  }
12101
13035
  /**
@@ -12139,6 +13073,19 @@ export class GameServerApi extends BaseAPI {
12139
13073
  .gameServerControllerShutdown(id, options)
12140
13074
  .then((request) => request(this.axios, this.basePath));
12141
13075
  }
13076
+ /**
13077
+ * Start a Connector Migration of a legacy gameserver, or return the pending one. Put the returned identity token and registration token in the connector config; the gameserver keeps its legacy connection until that connector first connects. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerStartConnectorMigration`
13078
+ * @summary Start connector migration
13079
+ * @param {string} id
13080
+ * @param {*} [options] Override http request option.
13081
+ * @throws {RequiredError}
13082
+ * @memberof GameServerApi
13083
+ */
13084
+ gameServerControllerStartConnectorMigration(id, options) {
13085
+ return GameServerApiFp(this.configuration)
13086
+ .gameServerControllerStartConnectorMigration(id, options)
13087
+ .then((request) => request(this.axios, this.basePath));
13088
+ }
12142
13089
  /**
12143
13090
  * Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
12144
13091
  * @summary Teleport player
@@ -13780,6 +14727,110 @@ export class ItemSetApi extends BaseAPI {
13780
14727
  .then((request) => request(this.axios, this.basePath));
13781
14728
  }
13782
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
+ }
13783
14834
  /**
13784
14835
  * MetaApi - axios parameter creator
13785
14836
  * @export
@@ -14299,6 +15350,41 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
14299
15350
  options: localVarRequestOptions,
14300
15351
  };
14301
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
+ },
14302
15388
  /**
14303
15389
  * Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
14304
15390
  * @summary Remove a module
@@ -14399,7 +15485,7 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
14399
15485
  };
14400
15486
  },
14401
15487
  /**
14402
- * 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`
14403
15489
  * @summary List the modules installed on a game server
14404
15490
  * @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
14405
15491
  * @param {*} [options] Override http request option.
@@ -14694,6 +15780,20 @@ export const ModuleApiFp = function (configuration) {
14694
15780
  const localVarOperationServerBasePath = operationServerMap['ModuleApi.moduleControllerImport']?.[localVarOperationServerIndex]?.url;
14695
15781
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14696
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
+ },
14697
15797
  /**
14698
15798
  * Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
14699
15799
  * @summary Remove a module
@@ -14735,7 +15835,7 @@ export const ModuleApiFp = function (configuration) {
14735
15835
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14736
15836
  },
14737
15837
  /**
14738
- * 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`
14739
15839
  * @summary List the modules installed on a game server
14740
15840
  * @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
14741
15841
  * @param {*} [options] Override http request option.
@@ -14881,6 +15981,17 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
14881
15981
  moduleControllerImport(body, options) {
14882
15982
  return localVarFp.moduleControllerImport(body, options).then((request) => request(axios, basePath));
14883
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
+ },
14884
15995
  /**
14885
15996
  * Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
14886
15997
  * @summary Remove a module
@@ -14917,7 +16028,7 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
14917
16028
  .then((request) => request(axios, basePath));
14918
16029
  },
14919
16030
  /**
14920
- * 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`
14921
16032
  * @summary List the modules installed on a game server
14922
16033
  * @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
14923
16034
  * @param {*} [options] Override http request option.
@@ -15064,6 +16175,20 @@ export class ModuleApi extends BaseAPI {
15064
16175
  .moduleControllerImport(body, options)
15065
16176
  .then((request) => request(this.axios, this.basePath));
15066
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
+ }
15067
16192
  /**
15068
16193
  * Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
15069
16194
  * @summary Remove a module
@@ -15105,7 +16230,7 @@ export class ModuleApi extends BaseAPI {
15105
16230
  .then((request) => request(this.axios, this.basePath));
15106
16231
  }
15107
16232
  /**
15108
- * 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`
15109
16234
  * @summary List the modules installed on a game server
15110
16235
  * @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
15111
16236
  * @param {*} [options] Override http request option.
@@ -15567,6 +16692,111 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
15567
16692
  options: localVarRequestOptions,
15568
16693
  };
15569
16694
  },
16695
+ /**
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
16698
+ * @param {string} id
16699
+ * @param {PlayerLinkUserInputDTO} [playerLinkUserInputDTO] PlayerLinkUserInputDTO
16700
+ * @param {*} [options] Override http request option.
16701
+ * @throws {RequiredError}
16702
+ */
16703
+ playerControllerLinkUser: async (id, playerLinkUserInputDTO, options = {}) => {
16704
+ // verify required parameter 'id' is not null or undefined
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
+ },
15570
16800
  /**
15571
16801
  * Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
15572
16802
  * @summary Remove a role from a player
@@ -15639,30 +16869,62 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
15639
16869
  options: localVarRequestOptions,
15640
16870
  };
15641
16871
  },
15642
- };
15643
- };
15644
- /**
15645
- * PlayerApi - functional programming interface
15646
- * @export
15647
- */
15648
- export const PlayerApiFp = function (configuration) {
15649
- const localVarAxiosParamCreator = PlayerApiAxiosParamCreator(configuration);
15650
- return {
15651
16872
  /**
15652
- * Ban a player from one game server, or from every game server in the domain with `isGlobal`. Creating a ban via the API always makes it Takaro managed. Replaces the deprecated `GameServerController.banPlayer`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `BanControllerCreate`
15653
- * @summary Ban a player from a game server
15654
- * @param {BanCreateDTO} [banCreateDTO] BanCreateDTO
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
15655
16876
  * @param {*} [options] Override http request option.
15656
16877
  * @throws {RequiredError}
15657
16878
  */
15658
- async banControllerCreate(banCreateDTO, options) {
15659
- const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerCreate(banCreateDTO, options);
15660
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15661
- const localVarOperationServerBasePath = operationServerMap['PlayerApi.banControllerCreate']?.[localVarOperationServerIndex]?.url;
15662
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15663
- },
15664
- /**
15665
- * Unban a player: removes the ban from Takaro and from the game server(s) it applied to. Replaces the deprecated `GameServerController.unbanPlayer`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `BanControllerDelete`
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
+ },
16904
+ };
16905
+ };
16906
+ /**
16907
+ * PlayerApi - functional programming interface
16908
+ * @export
16909
+ */
16910
+ export const PlayerApiFp = function (configuration) {
16911
+ const localVarAxiosParamCreator = PlayerApiAxiosParamCreator(configuration);
16912
+ return {
16913
+ /**
16914
+ * Ban a player from one game server, or from every game server in the domain with `isGlobal`. Creating a ban via the API always makes it Takaro managed. Replaces the deprecated `GameServerController.banPlayer`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `BanControllerCreate`
16915
+ * @summary Ban a player from a game server
16916
+ * @param {BanCreateDTO} [banCreateDTO] BanCreateDTO
16917
+ * @param {*} [options] Override http request option.
16918
+ * @throws {RequiredError}
16919
+ */
16920
+ async banControllerCreate(banCreateDTO, options) {
16921
+ const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerCreate(banCreateDTO, options);
16922
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16923
+ const localVarOperationServerBasePath = operationServerMap['PlayerApi.banControllerCreate']?.[localVarOperationServerIndex]?.url;
16924
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16925
+ },
16926
+ /**
16927
+ * Unban a player: removes the ban from Takaro and from the game server(s) it applied to. Replaces the deprecated `GameServerController.unbanPlayer`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `BanControllerDelete`
15666
16928
  * @summary Unban a player
15667
16929
  * @param {string} id
15668
16930
  * @param {*} [options] Override http request option.
@@ -15794,6 +17056,48 @@ export const PlayerApiFp = function (configuration) {
15794
17056
  const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerGetOne']?.[localVarOperationServerIndex]?.url;
15795
17057
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15796
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
+ },
15797
17101
  /**
15798
17102
  * Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
15799
17103
  * @summary Remove a role from a player
@@ -15822,6 +17126,19 @@ export const PlayerApiFp = function (configuration) {
15822
17126
  const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerSearch']?.[localVarOperationServerIndex]?.url;
15823
17127
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15824
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
+ },
15825
17142
  };
15826
17143
  };
15827
17144
  /**
@@ -15950,6 +17267,45 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
15950
17267
  playerControllerGetOne(id, options) {
15951
17268
  return localVarFp.playerControllerGetOne(id, options).then((request) => request(axios, basePath));
15952
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
+ },
15953
17309
  /**
15954
17310
  * Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
15955
17311
  * @summary Remove a role from a player
@@ -15976,6 +17332,16 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
15976
17332
  .playerControllerSearch(playerSearchInputDTO, options)
15977
17333
  .then((request) => request(axios, basePath));
15978
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
+ },
15979
17345
  };
15980
17346
  };
15981
17347
  /**
@@ -16131,6 +17497,48 @@ export class PlayerApi extends BaseAPI {
16131
17497
  .playerControllerGetOne(id, options)
16132
17498
  .then((request) => request(this.axios, this.basePath));
16133
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
+ }
16134
17542
  /**
16135
17543
  * Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
16136
17544
  * @summary Remove a role from a player
@@ -16159,6 +17567,19 @@ export class PlayerApi extends BaseAPI {
16159
17567
  .playerControllerSearch(playerSearchInputDTO, options)
16160
17568
  .then((request) => request(this.axios, this.basePath));
16161
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
+ }
16162
17583
  }
16163
17584
  /**
16164
17585
  * PlayerOnGameServerApi - axios parameter creator
@@ -16919,61 +18340,61 @@ export class PlayerOnGameServerApi extends BaseAPI {
16919
18340
  }
16920
18341
  }
16921
18342
  /**
16922
- * RegistryApi - axios parameter creator
18343
+ * PlayerPortalApi - axios parameter creator
16923
18344
  * @export
16924
18345
  */
16925
- export const RegistryApiAxiosParamCreator = function (configuration) {
18346
+ export const PlayerPortalApiAxiosParamCreator = function (configuration) {
16926
18347
  return {
16927
18348
  /**
16928
- * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
16929
- * @summary Install a module from a registry
16930
- * @param {string} id
16931
- * @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
16932
18352
  * @param {*} [options] Override http request option.
16933
18353
  * @throws {RequiredError}
16934
18354
  */
16935
- registryControllerInstall: async (id, registryInstallBody, options = {}) => {
16936
- // verify required parameter 'id' is not null or undefined
16937
- assertParamExists('registryControllerInstall', 'id', id);
16938
- const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
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)));
16939
18359
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16940
18360
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16941
18361
  let baseOptions;
16942
18362
  if (configuration) {
16943
18363
  baseOptions = configuration.baseOptions;
16944
18364
  }
16945
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
18365
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
16946
18366
  const localVarHeaderParameter = {};
16947
18367
  const localVarQueryParameter = {};
16948
18368
  // authentication bearerAuth required
16949
18369
  // http bearer authentication required
16950
18370
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
16951
18371
  // authentication domainAuth required
16952
- localVarHeaderParameter['Content-Type'] = 'application/json';
16953
18372
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16954
18373
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16955
18374
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
16956
- localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
16957
18375
  return {
16958
18376
  url: toPathString(localVarUrlObj),
16959
18377
  options: localVarRequestOptions,
16960
18378
  };
16961
18379
  },
16962
18380
  /**
16963
- * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
16964
- * @summary List subscribed registries
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
16965
18384
  * @param {*} [options] Override http request option.
16966
18385
  * @throws {RequiredError}
16967
18386
  */
16968
- registryControllerList: async (options = {}) => {
16969
- const localVarPath = `/registry`;
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)));
16970
18391
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16971
18392
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16972
18393
  let baseOptions;
16973
18394
  if (configuration) {
16974
18395
  baseOptions = configuration.baseOptions;
16975
18396
  }
16976
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
18397
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
16977
18398
  const localVarHeaderParameter = {};
16978
18399
  const localVarQueryParameter = {};
16979
18400
  // authentication bearerAuth required
@@ -16989,16 +18410,17 @@ export const RegistryApiAxiosParamCreator = function (configuration) {
16989
18410
  };
16990
18411
  },
16991
18412
  /**
16992
- * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
16993
- * @summary Refresh registry manifest
16994
- * @param {string} id
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
16995
18417
  * @param {*} [options] Override http request option.
16996
18418
  * @throws {RequiredError}
16997
18419
  */
16998
- registryControllerRefresh: async (id, options = {}) => {
16999
- // verify required parameter 'id' is not null or undefined
17000
- assertParamExists('registryControllerRefresh', 'id', id);
17001
- const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
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)));
17002
18424
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17003
18425
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17004
18426
  let baseOptions;
@@ -17012,23 +18434,28 @@ export const RegistryApiAxiosParamCreator = function (configuration) {
17012
18434
  // http bearer authentication required
17013
18435
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
17014
18436
  // authentication domainAuth required
18437
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17015
18438
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17016
18439
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17017
18440
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18441
+ localVarRequestOptions.data = serializeDataIfNeeded(playerPortalLinkCodeInputDTO, localVarRequestOptions, configuration);
17018
18442
  return {
17019
18443
  url: toPathString(localVarUrlObj),
17020
18444
  options: localVarRequestOptions,
17021
18445
  };
17022
18446
  },
17023
18447
  /**
17024
- * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
17025
- * @summary Subscribe to a registry
17026
- * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
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
17027
18452
  * @param {*} [options] Override http request option.
17028
18453
  * @throws {RequiredError}
17029
18454
  */
17030
- registryControllerSubscribe: async (registrySubscribeBody, options = {}) => {
17031
- const localVarPath = `/registry`;
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)));
17032
18459
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17033
18460
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17034
18461
  let baseOptions;
@@ -17046,89 +18473,702 @@ export const RegistryApiAxiosParamCreator = function (configuration) {
17046
18473
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17047
18474
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17048
18475
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17049
- localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
18476
+ localVarRequestOptions.data = serializeDataIfNeeded(playerPortalIssueLinkCodeInputDTO, localVarRequestOptions, configuration);
17050
18477
  return {
17051
18478
  url: toPathString(localVarUrlObj),
17052
18479
  options: localVarRequestOptions,
17053
18480
  };
17054
18481
  },
17055
18482
  /**
17056
- * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
17057
- * @summary Unsubscribe from a registry
17058
- * @param {string} id
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
17059
18487
  * @param {*} [options] Override http request option.
17060
18488
  * @throws {RequiredError}
17061
18489
  */
17062
- registryControllerUnsubscribe: async (id, options = {}) => {
17063
- // verify required parameter 'id' is not null or undefined
17064
- assertParamExists('registryControllerUnsubscribe', 'id', id);
17065
- const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
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)));
17066
18494
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17067
18495
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17068
18496
  let baseOptions;
17069
18497
  if (configuration) {
17070
18498
  baseOptions = configuration.baseOptions;
17071
18499
  }
17072
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
18500
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
17073
18501
  const localVarHeaderParameter = {};
17074
18502
  const localVarQueryParameter = {};
17075
18503
  // authentication bearerAuth required
17076
18504
  // http bearer authentication required
17077
18505
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
17078
18506
  // authentication domainAuth required
18507
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17079
18508
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17080
18509
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17081
18510
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18511
+ localVarRequestOptions.data = serializeDataIfNeeded(playerPortalLinkCodeInputDTO, localVarRequestOptions, configuration);
17082
18512
  return {
17083
18513
  url: toPathString(localVarUrlObj),
17084
18514
  options: localVarRequestOptions,
17085
18515
  };
17086
18516
  },
17087
- };
17088
- };
17089
- /**
17090
- * RegistryApi - functional programming interface
17091
- * @export
17092
- */
17093
- export const RegistryApiFp = function (configuration) {
17094
- const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
17095
- return {
17096
- /**
17097
- * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
17098
- * @summary Install a module from a registry
17099
- * @param {string} id
17100
- * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
17101
- * @param {*} [options] Override http request option.
17102
- * @throws {RequiredError}
17103
- */
17104
- async registryControllerInstall(id, registryInstallBody, options) {
17105
- const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(id, registryInstallBody, options);
17106
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17107
- const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
17108
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17109
- },
17110
18517
  /**
17111
- * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
17112
- * @summary List subscribed registries
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
17113
18521
  * @param {*} [options] Override http request option.
17114
18522
  * @throws {RequiredError}
17115
18523
  */
17116
- async registryControllerList(options) {
17117
- const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
17118
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17119
- const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
17120
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
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
+ };
17121
18548
  },
17122
18549
  /**
17123
- * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
17124
- * @summary Refresh registry manifest
17125
- * @param {string} id
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
17126
18553
  * @param {*} [options] Override http request option.
17127
18554
  * @throws {RequiredError}
17128
18555
  */
17129
- async registryControllerRefresh(id, options) {
17130
- const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
17131
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
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
19066
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
19067
+ * @param {*} [options] Override http request option.
19068
+ * @throws {RequiredError}
19069
+ */
19070
+ registryControllerSubscribe: async (registrySubscribeBody, options = {}) => {
19071
+ const localVarPath = `/registry`;
19072
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19073
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19074
+ let baseOptions;
19075
+ if (configuration) {
19076
+ baseOptions = configuration.baseOptions;
19077
+ }
19078
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
19079
+ const localVarHeaderParameter = {};
19080
+ const localVarQueryParameter = {};
19081
+ // authentication bearerAuth required
19082
+ // http bearer authentication required
19083
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
19084
+ // authentication domainAuth required
19085
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19086
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19087
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19088
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
19089
+ localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
19090
+ return {
19091
+ url: toPathString(localVarUrlObj),
19092
+ options: localVarRequestOptions,
19093
+ };
19094
+ },
19095
+ /**
19096
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
19097
+ * @summary Unsubscribe from a registry
19098
+ * @param {string} id
19099
+ * @param {*} [options] Override http request option.
19100
+ * @throws {RequiredError}
19101
+ */
19102
+ registryControllerUnsubscribe: async (id, options = {}) => {
19103
+ // verify required parameter 'id' is not null or undefined
19104
+ assertParamExists('registryControllerUnsubscribe', 'id', id);
19105
+ const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
19106
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19107
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19108
+ let baseOptions;
19109
+ if (configuration) {
19110
+ baseOptions = configuration.baseOptions;
19111
+ }
19112
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
19113
+ const localVarHeaderParameter = {};
19114
+ const localVarQueryParameter = {};
19115
+ // authentication bearerAuth required
19116
+ // http bearer authentication required
19117
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
19118
+ // authentication domainAuth required
19119
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19120
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19121
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
19122
+ return {
19123
+ url: toPathString(localVarUrlObj),
19124
+ options: localVarRequestOptions,
19125
+ };
19126
+ },
19127
+ };
19128
+ };
19129
+ /**
19130
+ * RegistryApi - functional programming interface
19131
+ * @export
19132
+ */
19133
+ export const RegistryApiFp = function (configuration) {
19134
+ const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
19135
+ return {
19136
+ /**
19137
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
19138
+ * @summary Install a module from a registry
19139
+ * @param {string} id
19140
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
19141
+ * @param {*} [options] Override http request option.
19142
+ * @throws {RequiredError}
19143
+ */
19144
+ async registryControllerInstall(id, registryInstallBody, options) {
19145
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(id, registryInstallBody, options);
19146
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19147
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
19148
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19149
+ },
19150
+ /**
19151
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
19152
+ * @summary List subscribed registries
19153
+ * @param {*} [options] Override http request option.
19154
+ * @throws {RequiredError}
19155
+ */
19156
+ async registryControllerList(options) {
19157
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
19158
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19159
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
19160
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19161
+ },
19162
+ /**
19163
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
19164
+ * @summary Refresh registry manifest
19165
+ * @param {string} id
19166
+ * @param {*} [options] Override http request option.
19167
+ * @throws {RequiredError}
19168
+ */
19169
+ async registryControllerRefresh(id, options) {
19170
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
19171
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17132
19172
  const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
17133
19173
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17134
19174
  },
@@ -21790,14 +23830,78 @@ export class ThreadApi extends BaseAPI {
21790
23830
  export const TrackingApiAxiosParamCreator = function (configuration) {
21791
23831
  return {
21792
23832
  /**
21793
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
21794
- * @summary Get bounding box players
21795
- * @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
21796
23900
  * @param {*} [options] Override http request option.
21797
23901
  * @throws {RequiredError}
21798
23902
  */
21799
- trackingControllerGetBoundingBoxPlayers: async (boundingBoxSearchInputDTO, options = {}) => {
21800
- const localVarPath = `/tracking/location/box`;
23903
+ trackingControllerGetInventoryChanges: async (inventoryChangesInputDTO, options = {}) => {
23904
+ const localVarPath = `/tracking/inventory/changes`;
21801
23905
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
21802
23906
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21803
23907
  let baseOptions;
@@ -21815,14 +23919,46 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
21815
23919
  setSearchParams(localVarUrlObj, localVarQueryParameter);
21816
23920
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21817
23921
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
21818
- localVarRequestOptions.data = serializeDataIfNeeded(boundingBoxSearchInputDTO, localVarRequestOptions, configuration);
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);
21819
23955
  return {
21820
23956
  url: toPathString(localVarUrlObj),
21821
23957
  options: localVarRequestOptions,
21822
23958
  };
21823
23959
  },
21824
23960
  /**
21825
- * 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`
21826
23962
  * @summary Get player inventory history
21827
23963
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
21828
23964
  * @param {*} [options] Override http request option.
@@ -21854,7 +23990,7 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
21854
23990
  };
21855
23991
  },
21856
23992
  /**
21857
- * 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`
21858
23994
  * @summary Get player movement history
21859
23995
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
21860
23996
  * @param {*} [options] Override http request option.
@@ -21886,7 +24022,7 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
21886
24022
  };
21887
24023
  },
21888
24024
  /**
21889
- * 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`
21890
24026
  * @summary Get players by item
21891
24027
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
21892
24028
  * @param {*} [options] Override http request option.
@@ -21918,7 +24054,135 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
21918
24054
  };
21919
24055
  },
21920
24056
  /**
21921
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
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`
21922
24186
  * @summary Get radius players
21923
24187
  * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
21924
24188
  * @param {*} [options] Override http request option.
@@ -21949,6 +24213,102 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
21949
24213
  options: localVarRequestOptions,
21950
24214
  };
21951
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
+ },
21952
24312
  };
21953
24313
  };
21954
24314
  /**
@@ -21959,20 +24319,59 @@ export const TrackingApiFp = function (configuration) {
21959
24319
  const localVarAxiosParamCreator = TrackingApiAxiosParamCreator(configuration);
21960
24320
  return {
21961
24321
  /**
21962
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
21963
- * @summary Get bounding box players
21964
- * @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
21965
24364
  * @param {*} [options] Override http request option.
21966
24365
  * @throws {RequiredError}
21967
24366
  */
21968
- async trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options) {
21969
- const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options);
24367
+ async trackingControllerGetItemHolders(itemHoldersInputDTO, options) {
24368
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetItemHolders(itemHoldersInputDTO, options);
21970
24369
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21971
- const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetBoundingBoxPlayers']?.[localVarOperationServerIndex]?.url;
24370
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetItemHolders']?.[localVarOperationServerIndex]?.url;
21972
24371
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21973
24372
  },
21974
24373
  /**
21975
- * 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`
21976
24375
  * @summary Get player inventory history
21977
24376
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
21978
24377
  * @param {*} [options] Override http request option.
@@ -21986,7 +24385,7 @@ export const TrackingApiFp = function (configuration) {
21986
24385
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21987
24386
  },
21988
24387
  /**
21989
- * 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`
21990
24389
  * @summary Get player movement history
21991
24390
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
21992
24391
  * @param {*} [options] Override http request option.
@@ -22000,7 +24399,7 @@ export const TrackingApiFp = function (configuration) {
22000
24399
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22001
24400
  },
22002
24401
  /**
22003
- * 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`
22004
24403
  * @summary Get players by item
22005
24404
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
22006
24405
  * @param {*} [options] Override http request option.
@@ -22013,7 +24412,59 @@ export const TrackingApiFp = function (configuration) {
22013
24412
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22014
24413
  },
22015
24414
  /**
22016
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
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`
22017
24468
  * @summary Get radius players
22018
24469
  * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
22019
24470
  * @param {*} [options] Override http request option.
@@ -22025,6 +24476,45 @@ export const TrackingApiFp = function (configuration) {
22025
24476
  const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetRadiusPlayers']?.[localVarOperationServerIndex]?.url;
22026
24477
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22027
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
+ },
22028
24518
  };
22029
24519
  };
22030
24520
  /**
@@ -22035,7 +24525,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22035
24525
  const localVarFp = TrackingApiFp(configuration);
22036
24526
  return {
22037
24527
  /**
22038
- * 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`
22039
24529
  * @summary Get bounding box players
22040
24530
  * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
22041
24531
  * @param {*} [options] Override http request option.
@@ -22047,7 +24537,43 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22047
24537
  .then((request) => request(axios, basePath));
22048
24538
  },
22049
24539
  /**
22050
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
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`
22051
24577
  * @summary Get player inventory history
22052
24578
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
22053
24579
  * @param {*} [options] Override http request option.
@@ -22059,7 +24585,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22059
24585
  .then((request) => request(axios, basePath));
22060
24586
  },
22061
24587
  /**
22062
- * 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`
22063
24589
  * @summary Get player movement history
22064
24590
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
22065
24591
  * @param {*} [options] Override http request option.
@@ -22071,7 +24597,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22071
24597
  .then((request) => request(axios, basePath));
22072
24598
  },
22073
24599
  /**
22074
- * 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`
22075
24601
  * @summary Get players by item
22076
24602
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
22077
24603
  * @param {*} [options] Override http request option.
@@ -22083,7 +24609,55 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22083
24609
  .then((request) => request(axios, basePath));
22084
24610
  },
22085
24611
  /**
22086
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
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`
22087
24661
  * @summary Get radius players
22088
24662
  * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
22089
24663
  * @param {*} [options] Override http request option.
@@ -22094,6 +24668,42 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22094
24668
  .trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options)
22095
24669
  .then((request) => request(axios, basePath));
22096
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
+ },
22097
24707
  };
22098
24708
  };
22099
24709
  /**
@@ -22104,7 +24714,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22104
24714
  */
22105
24715
  export class TrackingApi extends BaseAPI {
22106
24716
  /**
22107
- * 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`
22108
24718
  * @summary Get bounding box players
22109
24719
  * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
22110
24720
  * @param {*} [options] Override http request option.
@@ -22117,7 +24727,46 @@ export class TrackingApi extends BaseAPI {
22117
24727
  .then((request) => request(this.axios, this.basePath));
22118
24728
  }
22119
24729
  /**
22120
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
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`
22121
24770
  * @summary Get player inventory history
22122
24771
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
22123
24772
  * @param {*} [options] Override http request option.
@@ -22130,7 +24779,7 @@ export class TrackingApi extends BaseAPI {
22130
24779
  .then((request) => request(this.axios, this.basePath));
22131
24780
  }
22132
24781
  /**
22133
- * 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`
22134
24783
  * @summary Get player movement history
22135
24784
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
22136
24785
  * @param {*} [options] Override http request option.
@@ -22143,7 +24792,7 @@ export class TrackingApi extends BaseAPI {
22143
24792
  .then((request) => request(this.axios, this.basePath));
22144
24793
  }
22145
24794
  /**
22146
- * 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`
22147
24796
  * @summary Get players by item
22148
24797
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
22149
24798
  * @param {*} [options] Override http request option.
@@ -22156,7 +24805,59 @@ export class TrackingApi extends BaseAPI {
22156
24805
  .then((request) => request(this.axios, this.basePath));
22157
24806
  }
22158
24807
  /**
22159
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
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`
22160
24861
  * @summary Get radius players
22161
24862
  * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
22162
24863
  * @param {*} [options] Override http request option.
@@ -22168,6 +24869,45 @@ export class TrackingApi extends BaseAPI {
22168
24869
  .trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options)
22169
24870
  .then((request) => request(this.axios, this.basePath));
22170
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
+ }
22171
24911
  }
22172
24912
  /**
22173
24913
  * UserApi - axios parameter creator
@@ -22402,38 +25142,6 @@ export const UserApiAxiosParamCreator = function (configuration) {
22402
25142
  options: localVarRequestOptions,
22403
25143
  };
22404
25144
  },
22405
- /**
22406
- * 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`
22407
- * @summary Link player profile
22408
- * @param {LinkPlayerUnauthedInputDTO} [linkPlayerUnauthedInputDTO] LinkPlayerUnauthedInputDTO
22409
- * @param {*} [options] Override http request option.
22410
- * @throws {RequiredError}
22411
- */
22412
- userControllerLinkPlayerProfile: async (linkPlayerUnauthedInputDTO, options = {}) => {
22413
- const localVarPath = `/user/player`;
22414
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
22415
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22416
- let baseOptions;
22417
- if (configuration) {
22418
- baseOptions = configuration.baseOptions;
22419
- }
22420
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
22421
- const localVarHeaderParameter = {};
22422
- const localVarQueryParameter = {};
22423
- // authentication bearerAuth required
22424
- // http bearer authentication required
22425
- await setBearerAuthToObject(localVarHeaderParameter, configuration);
22426
- // authentication domainAuth required
22427
- localVarHeaderParameter['Content-Type'] = 'application/json';
22428
- setSearchParams(localVarUrlObj, localVarQueryParameter);
22429
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22430
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22431
- localVarRequestOptions.data = serializeDataIfNeeded(linkPlayerUnauthedInputDTO, localVarRequestOptions, configuration);
22432
- return {
22433
- url: toPathString(localVarUrlObj),
22434
- options: localVarRequestOptions,
22435
- };
22436
- },
22437
25145
  /**
22438
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`
22439
25147
  * @summary Log in with a username and password
@@ -22793,19 +25501,6 @@ export const UserApiFp = function (configuration) {
22793
25501
  const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerInvite']?.[localVarOperationServerIndex]?.url;
22794
25502
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22795
25503
  },
22796
- /**
22797
- * 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`
22798
- * @summary Link player profile
22799
- * @param {LinkPlayerUnauthedInputDTO} [linkPlayerUnauthedInputDTO] LinkPlayerUnauthedInputDTO
22800
- * @param {*} [options] Override http request option.
22801
- * @throws {RequiredError}
22802
- */
22803
- async userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options) {
22804
- const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options);
22805
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22806
- const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerLinkPlayerProfile']?.[localVarOperationServerIndex]?.url;
22807
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22808
- },
22809
25504
  /**
22810
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`
22811
25506
  * @summary Log in with a username and password
@@ -22994,18 +25689,6 @@ export const UserApiFactory = function (configuration, basePath, axios) {
22994
25689
  userControllerInvite(inviteCreateDTO, options) {
22995
25690
  return localVarFp.userControllerInvite(inviteCreateDTO, options).then((request) => request(axios, basePath));
22996
25691
  },
22997
- /**
22998
- * 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`
22999
- * @summary Link player profile
23000
- * @param {LinkPlayerUnauthedInputDTO} [linkPlayerUnauthedInputDTO] LinkPlayerUnauthedInputDTO
23001
- * @param {*} [options] Override http request option.
23002
- * @throws {RequiredError}
23003
- */
23004
- userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options) {
23005
- return localVarFp
23006
- .userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options)
23007
- .then((request) => request(axios, basePath));
23008
- },
23009
25692
  /**
23010
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`
23011
25694
  * @summary Log in with a username and password
@@ -23187,19 +25870,6 @@ export class UserApi extends BaseAPI {
23187
25870
  .userControllerInvite(inviteCreateDTO, options)
23188
25871
  .then((request) => request(this.axios, this.basePath));
23189
25872
  }
23190
- /**
23191
- * 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`
23192
- * @summary Link player profile
23193
- * @param {LinkPlayerUnauthedInputDTO} [linkPlayerUnauthedInputDTO] LinkPlayerUnauthedInputDTO
23194
- * @param {*} [options] Override http request option.
23195
- * @throws {RequiredError}
23196
- * @memberof UserApi
23197
- */
23198
- userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options) {
23199
- return UserApiFp(this.configuration)
23200
- .userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options)
23201
- .then((request) => request(this.axios, this.basePath));
23202
- }
23203
25873
  /**
23204
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`
23205
25875
  * @summary Log in with a username and password