@takaro/apiclient 0.0.0-dev.20efd31 → 0.0.0-dev.2179af0

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 +6925 -2056
  3. package/dist/generated/api.d.ts.map +1 -1
  4. package/dist/generated/api.js +2350 -290
  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 +9661 -5972
  13. package/dist/generated-management/api.d.ts.map +1 -1
  14. package/dist/generated-management/api.js +1428 -121
  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 +4 -3
@@ -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',
@@ -201,11 +215,6 @@ export const CsmmExportSectionParamsSectionEnum = {
201
215
  CustomHooks: 'customHooks',
202
216
  CronJobs: 'cronJobs',
203
217
  };
204
- export const DistributorBackedDomainOutputDTOStateEnum = {
205
- Active: 'ACTIVE',
206
- Disabled: 'DISABLED',
207
- Maintenance: 'MAINTENANCE',
208
- };
209
218
  export const DomainCreateInputDTOStateEnum = {
210
219
  Active: 'ACTIVE',
211
220
  Disabled: 'DISABLED',
@@ -272,6 +281,7 @@ export const EventCreateDTOEventNameEnum = {
272
281
  SettingsSet: 'settings-set',
273
282
  PlayerNewIpDetected: 'player-new-ip-detected',
274
283
  PlayerNewNameDetected: 'player-new-name-detected',
284
+ PlayerIdentityConflict: 'player-identity-conflict',
275
285
  ServerStatusChanged: 'server-status-changed',
276
286
  ModuleCreated: 'module-created',
277
287
  ModuleUpdated: 'module-updated',
@@ -286,8 +296,11 @@ export const EventCreateDTOEventNameEnum = {
286
296
  ShopOrderStatusChanged: 'shop-order-status-changed',
287
297
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
288
298
  PlayerLinked: 'player-linked',
299
+ PlayerUnlinked: 'player-unlinked',
300
+ PlayerMerged: 'player-merged',
289
301
  GameserverCreated: 'gameserver-created',
290
302
  GameserverUpdated: 'gameserver-updated',
303
+ GameserverVersionChanged: 'gameserver-version-changed',
291
304
  GameserverDeleted: 'gameserver-deleted',
292
305
  PlayerBanned: 'player-banned',
293
306
  PlayerUnbanned: 'player-unbanned',
@@ -331,6 +344,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
331
344
  SettingsSet: 'settings-set',
332
345
  PlayerNewIpDetected: 'player-new-ip-detected',
333
346
  PlayerNewNameDetected: 'player-new-name-detected',
347
+ PlayerIdentityConflict: 'player-identity-conflict',
334
348
  ServerStatusChanged: 'server-status-changed',
335
349
  ModuleCreated: 'module-created',
336
350
  ModuleUpdated: 'module-updated',
@@ -345,8 +359,11 @@ export const EventExploreFiltersDTOEventNameEnum = {
345
359
  ShopOrderStatusChanged: 'shop-order-status-changed',
346
360
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
347
361
  PlayerLinked: 'player-linked',
362
+ PlayerUnlinked: 'player-unlinked',
363
+ PlayerMerged: 'player-merged',
348
364
  GameserverCreated: 'gameserver-created',
349
365
  GameserverUpdated: 'gameserver-updated',
366
+ GameserverVersionChanged: 'gameserver-version-changed',
350
367
  GameserverDeleted: 'gameserver-deleted',
351
368
  PlayerBanned: 'player-banned',
352
369
  PlayerUnbanned: 'player-unbanned',
@@ -374,6 +391,15 @@ export const EventExploreFiltersDTOEventNameEnum = {
374
391
  PlayerDeath: 'player-death',
375
392
  EntityKilled: 'entity-killed',
376
393
  };
394
+ export const EventInventoryChangedCauseEnum = {
395
+ Pickup: 'pickup',
396
+ Drop: 'drop',
397
+ Craft: 'craft',
398
+ Loot: 'loot',
399
+ Trade: 'trade',
400
+ Death: 'death',
401
+ Other: 'other',
402
+ };
377
403
  export const EventOutputDTOEventNameEnum = {
378
404
  RoleAssigned: 'role-assigned',
379
405
  RoleRemoved: 'role-removed',
@@ -390,6 +416,7 @@ export const EventOutputDTOEventNameEnum = {
390
416
  SettingsSet: 'settings-set',
391
417
  PlayerNewIpDetected: 'player-new-ip-detected',
392
418
  PlayerNewNameDetected: 'player-new-name-detected',
419
+ PlayerIdentityConflict: 'player-identity-conflict',
393
420
  ServerStatusChanged: 'server-status-changed',
394
421
  ModuleCreated: 'module-created',
395
422
  ModuleUpdated: 'module-updated',
@@ -404,8 +431,11 @@ export const EventOutputDTOEventNameEnum = {
404
431
  ShopOrderStatusChanged: 'shop-order-status-changed',
405
432
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
406
433
  PlayerLinked: 'player-linked',
434
+ PlayerUnlinked: 'player-unlinked',
435
+ PlayerMerged: 'player-merged',
407
436
  GameserverCreated: 'gameserver-created',
408
437
  GameserverUpdated: 'gameserver-updated',
438
+ GameserverVersionChanged: 'gameserver-version-changed',
409
439
  GameserverDeleted: 'gameserver-deleted',
410
440
  PlayerBanned: 'player-banned',
411
441
  PlayerUnbanned: 'player-unbanned',
@@ -449,6 +479,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
449
479
  SettingsSet: 'settings-set',
450
480
  PlayerNewIpDetected: 'player-new-ip-detected',
451
481
  PlayerNewNameDetected: 'player-new-name-detected',
482
+ PlayerIdentityConflict: 'player-identity-conflict',
452
483
  ServerStatusChanged: 'server-status-changed',
453
484
  ModuleCreated: 'module-created',
454
485
  ModuleUpdated: 'module-updated',
@@ -463,8 +494,11 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
463
494
  ShopOrderStatusChanged: 'shop-order-status-changed',
464
495
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
465
496
  PlayerLinked: 'player-linked',
497
+ PlayerUnlinked: 'player-unlinked',
498
+ PlayerMerged: 'player-merged',
466
499
  GameserverCreated: 'gameserver-created',
467
500
  GameserverUpdated: 'gameserver-updated',
501
+ GameserverVersionChanged: 'gameserver-version-changed',
468
502
  GameserverDeleted: 'gameserver-deleted',
469
503
  PlayerBanned: 'player-banned',
470
504
  PlayerUnbanned: 'player-unbanned',
@@ -527,12 +561,24 @@ export const GameServerCreateDTOTypeEnum = {
527
561
  Generic: 'GENERIC',
528
562
  Mock: 'MOCK',
529
563
  };
564
+ export const GameServerCreateDTONameSourceEnum = {
565
+ Connector: 'connector',
566
+ Operator: 'operator',
567
+ };
568
+ export const GameServerIdentifyInputDTOProtocolVersionEnum = {
569
+ NUMBER_0: 0,
570
+ NUMBER_1: 1,
571
+ };
530
572
  export const GameServerOutputDTOTypeEnum = {
531
573
  Sevendaystodie: 'SEVENDAYSTODIE',
532
574
  Rust: 'RUST',
533
575
  Generic: 'GENERIC',
534
576
  Mock: 'MOCK',
535
577
  };
578
+ export const GameServerOutputDTONameSourceEnum = {
579
+ Connector: 'connector',
580
+ Operator: 'operator',
581
+ };
536
582
  export const GameServerSearchInputAllowedFiltersTypeEnum = {
537
583
  Sevendaystodie: 'SEVENDAYSTODIE',
538
584
  Rust: 'RUST',
@@ -575,14 +621,17 @@ export const GetJobInputDTOTypeEnum = {
575
621
  SyncItems: 'syncItems',
576
622
  SyncEntities: 'syncEntities',
577
623
  SyncBans: 'syncBans',
624
+ SyncLocations: 'syncLocations',
578
625
  SyncMapImages: 'syncMapImages',
579
626
  SyncMapUploads: 'syncMapUploads',
627
+ SyncGameIcons: 'syncGameIcons',
580
628
  SyncSteam: 'syncSteam',
581
629
  SyncDiscordRoles: 'syncDiscordRoles',
582
630
  EmitRateLimitSummary: 'emitRateLimitSummary',
583
631
  CleanRevokedApiKeys: 'cleanRevokedApiKeys',
584
632
  CleanExecutionClaims: 'cleanExecutionClaims',
585
633
  DeleteClickHouseEvents: 'deleteClickHouseEvents',
634
+ RepointClickHouseEvents: 'repointClickHouseEvents',
586
635
  CleanConnectorMigrations: 'cleanConnectorMigrations',
587
636
  };
588
637
  export const GetSettingsInputKeysEnum = {
@@ -631,6 +680,7 @@ export const HookCreateDTOEventTypeEnum = {
631
680
  SettingsSet: 'settings-set',
632
681
  PlayerNewIpDetected: 'player-new-ip-detected',
633
682
  PlayerNewNameDetected: 'player-new-name-detected',
683
+ PlayerIdentityConflict: 'player-identity-conflict',
634
684
  ServerStatusChanged: 'server-status-changed',
635
685
  ModuleCreated: 'module-created',
636
686
  ModuleUpdated: 'module-updated',
@@ -645,8 +695,11 @@ export const HookCreateDTOEventTypeEnum = {
645
695
  ShopOrderStatusChanged: 'shop-order-status-changed',
646
696
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
647
697
  PlayerLinked: 'player-linked',
698
+ PlayerUnlinked: 'player-unlinked',
699
+ PlayerMerged: 'player-merged',
648
700
  GameserverCreated: 'gameserver-created',
649
701
  GameserverUpdated: 'gameserver-updated',
702
+ GameserverVersionChanged: 'gameserver-version-changed',
650
703
  GameserverDeleted: 'gameserver-deleted',
651
704
  PlayerBanned: 'player-banned',
652
705
  PlayerUnbanned: 'player-unbanned',
@@ -692,6 +745,7 @@ export const HookOutputDTOEventTypeEnum = {
692
745
  SettingsSet: 'settings-set',
693
746
  PlayerNewIpDetected: 'player-new-ip-detected',
694
747
  PlayerNewNameDetected: 'player-new-name-detected',
748
+ PlayerIdentityConflict: 'player-identity-conflict',
695
749
  ServerStatusChanged: 'server-status-changed',
696
750
  ModuleCreated: 'module-created',
697
751
  ModuleUpdated: 'module-updated',
@@ -706,8 +760,11 @@ export const HookOutputDTOEventTypeEnum = {
706
760
  ShopOrderStatusChanged: 'shop-order-status-changed',
707
761
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
708
762
  PlayerLinked: 'player-linked',
763
+ PlayerUnlinked: 'player-unlinked',
764
+ PlayerMerged: 'player-merged',
709
765
  GameserverCreated: 'gameserver-created',
710
766
  GameserverUpdated: 'gameserver-updated',
767
+ GameserverVersionChanged: 'gameserver-version-changed',
711
768
  GameserverDeleted: 'gameserver-deleted',
712
769
  PlayerBanned: 'player-banned',
713
770
  PlayerUnbanned: 'player-unbanned',
@@ -753,6 +810,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
753
810
  SettingsSet: 'settings-set',
754
811
  PlayerNewIpDetected: 'player-new-ip-detected',
755
812
  PlayerNewNameDetected: 'player-new-name-detected',
813
+ PlayerIdentityConflict: 'player-identity-conflict',
756
814
  ServerStatusChanged: 'server-status-changed',
757
815
  ModuleCreated: 'module-created',
758
816
  ModuleUpdated: 'module-updated',
@@ -767,8 +825,11 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
767
825
  ShopOrderStatusChanged: 'shop-order-status-changed',
768
826
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
769
827
  PlayerLinked: 'player-linked',
828
+ PlayerUnlinked: 'player-unlinked',
829
+ PlayerMerged: 'player-merged',
770
830
  GameserverCreated: 'gameserver-created',
771
831
  GameserverUpdated: 'gameserver-updated',
832
+ GameserverVersionChanged: 'gameserver-version-changed',
772
833
  GameserverDeleted: 'gameserver-deleted',
773
834
  PlayerBanned: 'player-banned',
774
835
  PlayerUnbanned: 'player-unbanned',
@@ -822,6 +883,7 @@ export const HookTriggerDTOEventTypeEnum = {
822
883
  SettingsSet: 'settings-set',
823
884
  PlayerNewIpDetected: 'player-new-ip-detected',
824
885
  PlayerNewNameDetected: 'player-new-name-detected',
886
+ PlayerIdentityConflict: 'player-identity-conflict',
825
887
  ServerStatusChanged: 'server-status-changed',
826
888
  ModuleCreated: 'module-created',
827
889
  ModuleUpdated: 'module-updated',
@@ -836,8 +898,11 @@ export const HookTriggerDTOEventTypeEnum = {
836
898
  ShopOrderStatusChanged: 'shop-order-status-changed',
837
899
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
838
900
  PlayerLinked: 'player-linked',
901
+ PlayerUnlinked: 'player-unlinked',
902
+ PlayerMerged: 'player-merged',
839
903
  GameserverCreated: 'gameserver-created',
840
904
  GameserverUpdated: 'gameserver-updated',
905
+ GameserverVersionChanged: 'gameserver-version-changed',
841
906
  GameserverDeleted: 'gameserver-deleted',
842
907
  PlayerBanned: 'player-banned',
843
908
  PlayerUnbanned: 'player-unbanned',
@@ -883,6 +948,7 @@ export const HookUpdateDTOEventTypeEnum = {
883
948
  SettingsSet: 'settings-set',
884
949
  PlayerNewIpDetected: 'player-new-ip-detected',
885
950
  PlayerNewNameDetected: 'player-new-name-detected',
951
+ PlayerIdentityConflict: 'player-identity-conflict',
886
952
  ServerStatusChanged: 'server-status-changed',
887
953
  ModuleCreated: 'module-created',
888
954
  ModuleUpdated: 'module-updated',
@@ -897,8 +963,11 @@ export const HookUpdateDTOEventTypeEnum = {
897
963
  ShopOrderStatusChanged: 'shop-order-status-changed',
898
964
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
899
965
  PlayerLinked: 'player-linked',
966
+ PlayerUnlinked: 'player-unlinked',
967
+ PlayerMerged: 'player-merged',
900
968
  GameserverCreated: 'gameserver-created',
901
969
  GameserverUpdated: 'gameserver-updated',
970
+ GameserverVersionChanged: 'gameserver-version-changed',
902
971
  GameserverDeleted: 'gameserver-deleted',
903
972
  PlayerBanned: 'player-banned',
904
973
  PlayerUnbanned: 'player-unbanned',
@@ -949,6 +1018,7 @@ export const IHookEventTypeEnum = {
949
1018
  SettingsSet: 'settings-set',
950
1019
  PlayerNewIpDetected: 'player-new-ip-detected',
951
1020
  PlayerNewNameDetected: 'player-new-name-detected',
1021
+ PlayerIdentityConflict: 'player-identity-conflict',
952
1022
  ServerStatusChanged: 'server-status-changed',
953
1023
  ModuleCreated: 'module-created',
954
1024
  ModuleUpdated: 'module-updated',
@@ -963,8 +1033,11 @@ export const IHookEventTypeEnum = {
963
1033
  ShopOrderStatusChanged: 'shop-order-status-changed',
964
1034
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
965
1035
  PlayerLinked: 'player-linked',
1036
+ PlayerUnlinked: 'player-unlinked',
1037
+ PlayerMerged: 'player-merged',
966
1038
  GameserverCreated: 'gameserver-created',
967
1039
  GameserverUpdated: 'gameserver-updated',
1040
+ GameserverVersionChanged: 'gameserver-version-changed',
968
1041
  GameserverDeleted: 'gameserver-deleted',
969
1042
  PlayerBanned: 'player-banned',
970
1043
  PlayerUnbanned: 'player-unbanned',
@@ -991,6 +1064,29 @@ export const ITakaroQuerySortDirectionEnum = {
991
1064
  Asc: 'asc',
992
1065
  Desc: 'desc',
993
1066
  };
1067
+ export const InventoryChangeCounterpartDTOKindEnum = {
1068
+ Container: 'container',
1069
+ Player: 'player',
1070
+ };
1071
+ export const InventoryChangeDTOChangeTypeEnum = {
1072
+ Added: 'added',
1073
+ Removed: 'removed',
1074
+ Changed: 'changed',
1075
+ };
1076
+ export const InventoryChangeDTOCauseEnum = {
1077
+ Pickup: 'pickup',
1078
+ Drop: 'drop',
1079
+ Craft: 'craft',
1080
+ Loot: 'loot',
1081
+ Trade: 'trade',
1082
+ Death: 'death',
1083
+ Other: 'other',
1084
+ Unknown: 'unknown',
1085
+ };
1086
+ export const InventoryCounterpartDTOKindEnum = {
1087
+ Container: 'container',
1088
+ Player: 'player',
1089
+ };
994
1090
  export const InviteLinkCreateResultDTOStatusEnum = {
995
1091
  Active: 'ACTIVE',
996
1092
  Revoked: 'REVOKED',
@@ -1013,6 +1109,21 @@ export const InviteLinkSearchInputDTOSortDirectionEnum = {
1013
1109
  Asc: 'asc',
1014
1110
  Desc: 'desc',
1015
1111
  };
1112
+ export const ItemHolderChangeDTOChangeTypeEnum = {
1113
+ Added: 'added',
1114
+ Removed: 'removed',
1115
+ Changed: 'changed',
1116
+ };
1117
+ export const ItemHolderChangeDTOCauseEnum = {
1118
+ Pickup: 'pickup',
1119
+ Drop: 'drop',
1120
+ Craft: 'craft',
1121
+ Loot: 'loot',
1122
+ Trade: 'trade',
1123
+ Death: 'death',
1124
+ Other: 'other',
1125
+ Unknown: 'unknown',
1126
+ };
1016
1127
  export const ItemSearchInputDTOExtendEnum = {
1017
1128
  Gameserver: 'gameserver',
1018
1129
  };
@@ -1046,6 +1157,10 @@ export const JobStatusOutputDTOStatusEnum = {
1046
1157
  Waiting: 'waiting',
1047
1158
  WaitingChildren: 'waiting-children',
1048
1159
  };
1160
+ export const LocationSearchInputDTOSortDirectionEnum = {
1161
+ Asc: 'asc',
1162
+ Desc: 'desc',
1163
+ };
1049
1164
  export const LoginQueryParamsLocaleEnum = {
1050
1165
  En: 'en',
1051
1166
  Nl: 'nl',
@@ -1111,6 +1226,12 @@ export const MetaFilterGroupOrLeafDTOOperatorEnum = {
1111
1226
  LessThan: '<',
1112
1227
  ArrayContains: 'array_contains',
1113
1228
  };
1229
+ export const ModuleInstallationComponentKpiDTOTypeEnum = {
1230
+ Hook: 'hook',
1231
+ Cron: 'cron',
1232
+ Command: 'command',
1233
+ ShopAction: 'shopAction',
1234
+ };
1114
1235
  export const ModuleInstallationKpisQueryDTOPeriodEnum = {
1115
1236
  _24h: '24h',
1116
1237
  _7d: '7d',
@@ -1165,6 +1286,8 @@ export const PERMISSIONS = {
1165
1286
  ViewDiscordInfo: 'VIEW_DISCORD_INFO',
1166
1287
  SendDiscordMessage: 'SEND_DISCORD_MESSAGE',
1167
1288
  ManageApiKeys: 'MANAGE_API_KEYS',
1289
+ ReadMap: 'READ_MAP',
1290
+ ReadTracking: 'READ_TRACKING',
1168
1291
  };
1169
1292
  export const ParamKeyKeyEnum = {
1170
1293
  CommandPrefix: 'commandPrefix',
@@ -1180,6 +1303,39 @@ export const ParamKeyKeyEnum = {
1180
1303
  UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
1181
1304
  TakaroAiEnabled: 'takaroAiEnabled',
1182
1305
  };
1306
+ export const PlayerMergeGameServerDTOOutcomeEnum = {
1307
+ Moved: 'moved',
1308
+ Combined: 'combined',
1309
+ };
1310
+ export const PlayerMergeGameServerDTOKeptPogFromEnum = {
1311
+ Survivor: 'survivor',
1312
+ Absorbed: 'absorbed',
1313
+ };
1314
+ export const PlayerMergeGameServerDTOInventoryFromEnum = {
1315
+ Survivor: 'survivor',
1316
+ Absorbed: 'absorbed',
1317
+ };
1318
+ export const PlayerMergeIdentifierDTOIdentifierEnum = {
1319
+ SteamId: 'steamId',
1320
+ EpicOnlineServicesId: 'epicOnlineServicesId',
1321
+ XboxLiveId: 'xboxLiveId',
1322
+ PlatformId: 'platformId',
1323
+ };
1324
+ export const PlayerMergeIdentifierDTOFromEnum = {
1325
+ Survivor: 'survivor',
1326
+ Absorbed: 'absorbed',
1327
+ };
1328
+ export const PlayerMergeRefusalDTOCodeEnum = {
1329
+ SamePlayer: 'same-player',
1330
+ IdentifierConflict: 'identifier-conflict',
1331
+ FixturePlayer: 'fixture-player',
1332
+ };
1333
+ export const PlayerMergeRefusalDTOIdentifierEnum = {
1334
+ SteamId: 'steamId',
1335
+ EpicOnlineServicesId: 'epicOnlineServicesId',
1336
+ XboxLiveId: 'xboxLiveId',
1337
+ PlatformId: 'platformId',
1338
+ };
1183
1339
  export const PlayerOnGameServerSearchInputDTOExtendEnum = {
1184
1340
  GameServer: 'gameServer',
1185
1341
  Player: 'player',
@@ -1188,6 +1344,24 @@ export const PlayerOnGameServerSearchInputDTOSortDirectionEnum = {
1188
1344
  Asc: 'asc',
1189
1345
  Desc: 'desc',
1190
1346
  };
1347
+ export const PlayerPortalLinkCodeDTOStatusEnum = {
1348
+ Valid: 'valid',
1349
+ Expired: 'expired',
1350
+ Invalid: 'invalid',
1351
+ };
1352
+ export const PlayerPortalLinkDTOSourceEnum = {
1353
+ GameCode: 'game-code',
1354
+ WebCode: 'web-code',
1355
+ SteamAuto: 'steam-auto',
1356
+ Admin: 'admin',
1357
+ Unknown: 'unknown',
1358
+ };
1359
+ export const PlayerPortalServerDTOGameServerTypeEnum = {
1360
+ Sevendaystodie: 'SEVENDAYSTODIE',
1361
+ Rust: 'RUST',
1362
+ Generic: 'GENERIC',
1363
+ Mock: 'MOCK',
1364
+ };
1191
1365
  export const PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum = {
1192
1366
  Global: 'global',
1193
1367
  GameServer: 'gameServer',
@@ -1202,6 +1376,11 @@ export const PlayerSearchInputDTOSortDirectionEnum = {
1202
1376
  Asc: 'asc',
1203
1377
  Desc: 'desc',
1204
1378
  };
1379
+ export const PositionAreaShapeDTOTypeEnum = {
1380
+ Circle: 'circle',
1381
+ Rectangle: 'rectangle',
1382
+ Polygon: 'polygon',
1383
+ };
1205
1384
  export const RecentOrderDTOStatusEnum = {
1206
1385
  Completed: 'COMPLETED',
1207
1386
  Paid: 'PAID',
@@ -1364,16 +1543,68 @@ export const TakaroEventDomainCreatedOriginEnum = {
1364
1543
  Subscription: 'subscription',
1365
1544
  AdminSecret: 'admin_secret',
1366
1545
  };
1546
+ export const TakaroEventInventoryCounterpartKindEnum = {
1547
+ Container: 'container',
1548
+ Player: 'player',
1549
+ };
1367
1550
  export const TakaroEventItemsGivenLineResultEnum = {
1368
1551
  Delivered: 'DELIVERED',
1369
1552
  Failed: 'FAILED',
1370
1553
  Unknown: 'UNKNOWN',
1371
1554
  };
1555
+ export const TakaroEventPlayerIdentityConflictUnwrittenIdentifiersEnum = {
1556
+ SteamId: 'steamId',
1557
+ EpicOnlineServicesId: 'epicOnlineServicesId',
1558
+ XboxLiveId: 'xboxLiveId',
1559
+ PlatformId: 'platformId',
1560
+ };
1561
+ export const TakaroEventPlayerIdentityConflictMatchMatchedOnEnum = {
1562
+ SteamId: 'steamId',
1563
+ EpicOnlineServicesId: 'epicOnlineServicesId',
1564
+ XboxLiveId: 'xboxLiveId',
1565
+ PlatformId: 'platformId',
1566
+ };
1372
1567
  export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
1373
1568
  Added: 'added',
1374
1569
  Removed: 'removed',
1375
1570
  Changed: 'changed',
1376
1571
  };
1572
+ export const TakaroEventPlayerInventoryChangedCauseEnum = {
1573
+ Pickup: 'pickup',
1574
+ Drop: 'drop',
1575
+ Craft: 'craft',
1576
+ Loot: 'loot',
1577
+ Trade: 'trade',
1578
+ Death: 'death',
1579
+ Other: 'other',
1580
+ };
1581
+ export const TakaroEventPlayerLinkedSourceEnum = {
1582
+ GameCode: 'game-code',
1583
+ WebCode: 'web-code',
1584
+ SteamAuto: 'steam-auto',
1585
+ Admin: 'admin',
1586
+ Unknown: 'unknown',
1587
+ };
1588
+ export const TakaroEventPlayerMergedMovedIdentifiersEnum = {
1589
+ SteamId: 'steamId',
1590
+ EpicOnlineServicesId: 'epicOnlineServicesId',
1591
+ XboxLiveId: 'xboxLiveId',
1592
+ PlatformId: 'platformId',
1593
+ };
1594
+ export const TakaroEventPlayerMergedServerOutcomeEnum = {
1595
+ Moved: 'moved',
1596
+ Combined: 'combined',
1597
+ };
1598
+ export const TakaroEventPlayerMergedServerKeptPogFromEnum = {
1599
+ Survivor: 'survivor',
1600
+ Absorbed: 'absorbed',
1601
+ };
1602
+ export const TakaroEventPlayerUnlinkedReasonEnum = {
1603
+ Self: 'self',
1604
+ Admin: 'admin',
1605
+ Displaced: 'displaced',
1606
+ Merged: 'merged',
1607
+ };
1377
1608
  export const TakaroEventRateLimitedScopeEnum = {
1378
1609
  Server: 'server',
1379
1610
  Domain: 'domain',
@@ -1509,6 +1740,16 @@ export const ThreadWithStepsOutputDTOOriginSurfaceEnum = {
1509
1740
  EventFailure: 'eventFailure',
1510
1741
  CsmmMigration: 'csmmMigration',
1511
1742
  };
1743
+ export const TrackingEventDTOEventNameEnum = {
1744
+ PlayerDeath: 'player-death',
1745
+ EntityKilled: 'entity-killed',
1746
+ PlayerConnected: 'player-connected',
1747
+ PlayerDisconnected: 'player-disconnected',
1748
+ };
1749
+ export const TrackingEventDTOPositionSourceEnum = {
1750
+ Reported: 'reported',
1751
+ Sampled: 'sampled',
1752
+ };
1512
1753
  export const TriggerJobInputDTOTypeEnum = {
1513
1754
  SeedModules: 'seedModules',
1514
1755
  CleanEvents: 'cleanEvents',
@@ -1518,11 +1759,27 @@ export const TriggerJobInputDTOTypeEnum = {
1518
1759
  SyncItems: 'syncItems',
1519
1760
  SyncEntities: 'syncEntities',
1520
1761
  SyncBans: 'syncBans',
1762
+ SyncLocations: 'syncLocations',
1521
1763
  SyncMapImages: 'syncMapImages',
1522
1764
  SyncMapUploads: 'syncMapUploads',
1765
+ SyncGameIcons: 'syncGameIcons',
1523
1766
  SyncSteam: 'syncSteam',
1524
1767
  SyncDiscordRoles: 'syncDiscordRoles',
1525
1768
  };
1769
+ export const UserOutputDTOPlayerLinkSourceEnum = {
1770
+ GameCode: 'game-code',
1771
+ WebCode: 'web-code',
1772
+ SteamAuto: 'steam-auto',
1773
+ Admin: 'admin',
1774
+ Unknown: 'unknown',
1775
+ };
1776
+ export const UserOutputWithRolesDTOPlayerLinkSourceEnum = {
1777
+ GameCode: 'game-code',
1778
+ WebCode: 'web-code',
1779
+ SteamAuto: 'steam-auto',
1780
+ Admin: 'admin',
1781
+ Unknown: 'unknown',
1782
+ };
1526
1783
  export const UserSearchInputDTOExtendEnum = {
1527
1784
  Roles: 'roles',
1528
1785
  };
@@ -5951,7 +6208,7 @@ export const AuthControllerLoginLocaleEnum = {
5951
6208
  export const CommandApiAxiosParamCreator = function (configuration) {
5952
6209
  return {
5953
6210
  /**
5954
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
6211
+ * 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`
5955
6212
  * @summary Create
5956
6213
  * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
5957
6214
  * @param {*} [options] Override http request option.
@@ -6219,7 +6476,7 @@ export const CommandApiAxiosParamCreator = function (configuration) {
6219
6476
  };
6220
6477
  },
6221
6478
  /**
6222
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
6479
+ * 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`
6223
6480
  * @summary Update
6224
6481
  * @param {string} id
6225
6482
  * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
@@ -6298,7 +6555,7 @@ export const CommandApiFp = function (configuration) {
6298
6555
  const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
6299
6556
  return {
6300
6557
  /**
6301
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
6558
+ * 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`
6302
6559
  * @summary Create
6303
6560
  * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
6304
6561
  * @param {*} [options] Override http request option.
@@ -6405,7 +6662,7 @@ export const CommandApiFp = function (configuration) {
6405
6662
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6406
6663
  },
6407
6664
  /**
6408
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
6665
+ * 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`
6409
6666
  * @summary Update
6410
6667
  * @param {string} id
6411
6668
  * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
@@ -6442,7 +6699,7 @@ export const CommandApiFactory = function (configuration, basePath, axios) {
6442
6699
  const localVarFp = CommandApiFp(configuration);
6443
6700
  return {
6444
6701
  /**
6445
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
6702
+ * 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`
6446
6703
  * @summary Create
6447
6704
  * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
6448
6705
  * @param {*} [options] Override http request option.
@@ -6533,7 +6790,7 @@ export const CommandApiFactory = function (configuration, basePath, axios) {
6533
6790
  .then((request) => request(axios, basePath));
6534
6791
  },
6535
6792
  /**
6536
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
6793
+ * 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`
6537
6794
  * @summary Update
6538
6795
  * @param {string} id
6539
6796
  * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
@@ -6568,7 +6825,7 @@ export const CommandApiFactory = function (configuration, basePath, axios) {
6568
6825
  */
6569
6826
  export class CommandApi extends BaseAPI {
6570
6827
  /**
6571
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
6828
+ * 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`
6572
6829
  * @summary Create
6573
6830
  * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
6574
6831
  * @param {*} [options] Override http request option.
@@ -6675,7 +6932,7 @@ export class CommandApi extends BaseAPI {
6675
6932
  .then((request) => request(this.axios, this.basePath));
6676
6933
  }
6677
6934
  /**
6678
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
6935
+ * 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`
6679
6936
  * @summary Update
6680
6937
  * @param {string} id
6681
6938
  * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
@@ -9897,7 +10154,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
9897
10154
  };
9898
10155
  },
9899
10156
  /**
9900
- * 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`
10157
+ * 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`
9901
10158
  * @summary Get dimension map tile
9902
10159
  * @param {string} id
9903
10160
  * @param {string} dimension
@@ -9949,6 +10206,42 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
9949
10206
  options: localVarRequestOptions,
9950
10207
  };
9951
10208
  },
10209
+ /**
10210
+ * 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`
10211
+ * @summary Get game icon
10212
+ * @param {string} id
10213
+ * @param {string} [v]
10214
+ * @param {*} [options] Override http request option.
10215
+ * @throws {RequiredError}
10216
+ */
10217
+ gameServerControllerGetGameIcon: async (id, v, options = {}) => {
10218
+ // verify required parameter 'id' is not null or undefined
10219
+ assertParamExists('gameServerControllerGetGameIcon', 'id', id);
10220
+ const localVarPath = `/gameserver/{id}/icon`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10221
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10222
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10223
+ let baseOptions;
10224
+ if (configuration) {
10225
+ baseOptions = configuration.baseOptions;
10226
+ }
10227
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
10228
+ const localVarHeaderParameter = {};
10229
+ const localVarQueryParameter = {};
10230
+ // authentication bearerAuth required
10231
+ // http bearer authentication required
10232
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
10233
+ // authentication domainAuth required
10234
+ if (v !== undefined) {
10235
+ localVarQueryParameter['v'] = v;
10236
+ }
10237
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10238
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10239
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10240
+ return {
10241
+ url: toPathString(localVarUrlObj),
10242
+ options: localVarRequestOptions,
10243
+ };
10244
+ },
9952
10245
  /**
9953
10246
  * Fetch status of an import from CSMM. Deprecated: use `GameServerController.getJob` with the import job type instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
9954
10247
  * @summary Get import
@@ -10020,7 +10313,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10020
10313
  };
10021
10314
  },
10022
10315
  /**
10023
- * 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`
10316
+ * 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`
10024
10317
  * @summary Get map
10025
10318
  * @param {string} id
10026
10319
  * @param {*} [options] Override http request option.
@@ -10052,7 +10345,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10052
10345
  };
10053
10346
  },
10054
10347
  /**
10055
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
10348
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
10056
10349
  * @summary Get map info
10057
10350
  * @param {string} id
10058
10351
  * @param {*} [options] Override http request option.
@@ -10084,7 +10377,39 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10084
10377
  };
10085
10378
  },
10086
10379
  /**
10087
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
10380
+ * 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`
10381
+ * @summary Get map offline players
10382
+ * @param {string} id
10383
+ * @param {*} [options] Override http request option.
10384
+ * @throws {RequiredError}
10385
+ */
10386
+ gameServerControllerGetMapOfflinePlayers: async (id, options = {}) => {
10387
+ // verify required parameter 'id' is not null or undefined
10388
+ assertParamExists('gameServerControllerGetMapOfflinePlayers', 'id', id);
10389
+ const localVarPath = `/gameserver/{id}/map/offline-players`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10390
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10391
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10392
+ let baseOptions;
10393
+ if (configuration) {
10394
+ baseOptions = configuration.baseOptions;
10395
+ }
10396
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
10397
+ const localVarHeaderParameter = {};
10398
+ const localVarQueryParameter = {};
10399
+ // authentication bearerAuth required
10400
+ // http bearer authentication required
10401
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
10402
+ // authentication domainAuth required
10403
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10404
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10405
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10406
+ return {
10407
+ url: toPathString(localVarUrlObj),
10408
+ options: localVarRequestOptions,
10409
+ };
10410
+ },
10411
+ /**
10412
+ * Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
10088
10413
  * @summary Get map tile
10089
10414
  * @param {string} id
10090
10415
  * @param {string} x
@@ -10405,10 +10730,11 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10405
10730
  };
10406
10731
  },
10407
10732
  /**
10408
- * 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`
10733
+ * 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`
10409
10734
  * @summary List locations
10410
10735
  * @param {string} id
10411
10736
  * @param {*} [options] Override http request option.
10737
+ * @deprecated
10412
10738
  * @throws {RequiredError}
10413
10739
  */
10414
10740
  gameServerControllerListLocations: async (id, options = {}) => {
@@ -10473,6 +10799,41 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10473
10799
  options: localVarRequestOptions,
10474
10800
  };
10475
10801
  },
10802
+ /**
10803
+ * 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`
10804
+ * @summary Record identify
10805
+ * @param {string} id
10806
+ * @param {GameServerIdentifyInputDTO} [gameServerIdentifyInputDTO] GameServerIdentifyInputDTO
10807
+ * @param {*} [options] Override http request option.
10808
+ * @throws {RequiredError}
10809
+ */
10810
+ gameServerControllerRecordIdentify: async (id, gameServerIdentifyInputDTO, options = {}) => {
10811
+ // verify required parameter 'id' is not null or undefined
10812
+ assertParamExists('gameServerControllerRecordIdentify', 'id', id);
10813
+ const localVarPath = `/gameserver/{id}/identify`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10814
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10815
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10816
+ let baseOptions;
10817
+ if (configuration) {
10818
+ baseOptions = configuration.baseOptions;
10819
+ }
10820
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
10821
+ const localVarHeaderParameter = {};
10822
+ const localVarQueryParameter = {};
10823
+ // authentication bearerAuth required
10824
+ // http bearer authentication required
10825
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
10826
+ // authentication domainAuth required
10827
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10828
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10829
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10830
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10831
+ localVarRequestOptions.data = serializeDataIfNeeded(gameServerIdentifyInputDTO, localVarRequestOptions, configuration);
10832
+ return {
10833
+ url: toPathString(localVarUrlObj),
10834
+ options: localVarRequestOptions,
10835
+ };
10836
+ },
10476
10837
  /**
10477
10838
  * Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
10478
10839
  * @summary Regenerate registration token
@@ -10737,41 +11098,6 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10737
11098
  options: localVarRequestOptions,
10738
11099
  };
10739
11100
  },
10740
- /**
10741
- * Records the game a connector-based game server reported at identify (e.g. \"7d2d\"). Written by the connector on handshake; users normally never call it. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSetGame`
10742
- * @summary Set game
10743
- * @param {string} id
10744
- * @param {GameServerGameInputDTO} [gameServerGameInputDTO] GameServerGameInputDTO
10745
- * @param {*} [options] Override http request option.
10746
- * @throws {RequiredError}
10747
- */
10748
- gameServerControllerSetGame: async (id, gameServerGameInputDTO, options = {}) => {
10749
- // verify required parameter 'id' is not null or undefined
10750
- assertParamExists('gameServerControllerSetGame', 'id', id);
10751
- const localVarPath = `/gameserver/{id}/game`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10752
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
10753
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10754
- let baseOptions;
10755
- if (configuration) {
10756
- baseOptions = configuration.baseOptions;
10757
- }
10758
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
10759
- const localVarHeaderParameter = {};
10760
- const localVarQueryParameter = {};
10761
- // authentication bearerAuth required
10762
- // http bearer authentication required
10763
- await setBearerAuthToObject(localVarHeaderParameter, configuration);
10764
- // authentication domainAuth required
10765
- localVarHeaderParameter['Content-Type'] = 'application/json';
10766
- setSearchParams(localVarUrlObj, localVarQueryParameter);
10767
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10768
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10769
- localVarRequestOptions.data = serializeDataIfNeeded(gameServerGameInputDTO, localVarRequestOptions, configuration);
10770
- return {
10771
- url: toPathString(localVarUrlObj),
10772
- options: localVarRequestOptions,
10773
- };
10774
- },
10775
11101
  /**
10776
11102
  * Shuts down the gameserver. This is a \'soft\' shutdown, meaning the gameserver will be stopped gracefully. If the gameserver is not reachable, this will have no effect. Note that most hosting providers will automatically restart the gameserver after a shutdown, which makes this operation act as a \'restart\' instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerShutdown`
10777
11103
  * @summary Shutdown
@@ -11198,7 +11524,7 @@ export const GameServerApiFp = function (configuration) {
11198
11524
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11199
11525
  },
11200
11526
  /**
11201
- * 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`
11527
+ * 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`
11202
11528
  * @summary Get dimension map tile
11203
11529
  * @param {string} id
11204
11530
  * @param {string} dimension
@@ -11216,6 +11542,20 @@ export const GameServerApiFp = function (configuration) {
11216
11542
  ?.url;
11217
11543
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11218
11544
  },
11545
+ /**
11546
+ * 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`
11547
+ * @summary Get game icon
11548
+ * @param {string} id
11549
+ * @param {string} [v]
11550
+ * @param {*} [options] Override http request option.
11551
+ * @throws {RequiredError}
11552
+ */
11553
+ async gameServerControllerGetGameIcon(id, v, options) {
11554
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetGameIcon(id, v, options);
11555
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11556
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerGetGameIcon']?.[localVarOperationServerIndex]?.url;
11557
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11558
+ },
11219
11559
  /**
11220
11560
  * Fetch status of an import from CSMM. Deprecated: use `GameServerController.getJob` with the import job type instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
11221
11561
  * @summary Get import
@@ -11245,7 +11585,7 @@ export const GameServerApiFp = function (configuration) {
11245
11585
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11246
11586
  },
11247
11587
  /**
11248
- * 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`
11588
+ * 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`
11249
11589
  * @summary Get map
11250
11590
  * @param {string} id
11251
11591
  * @param {*} [options] Override http request option.
@@ -11258,7 +11598,7 @@ export const GameServerApiFp = function (configuration) {
11258
11598
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11259
11599
  },
11260
11600
  /**
11261
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
11601
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
11262
11602
  * @summary Get map info
11263
11603
  * @param {string} id
11264
11604
  * @param {*} [options] Override http request option.
@@ -11271,7 +11611,21 @@ export const GameServerApiFp = function (configuration) {
11271
11611
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11272
11612
  },
11273
11613
  /**
11274
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
11614
+ * 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`
11615
+ * @summary Get map offline players
11616
+ * @param {string} id
11617
+ * @param {*} [options] Override http request option.
11618
+ * @throws {RequiredError}
11619
+ */
11620
+ async gameServerControllerGetMapOfflinePlayers(id, options) {
11621
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetMapOfflinePlayers(id, options);
11622
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11623
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerGetMapOfflinePlayers']?.[localVarOperationServerIndex]
11624
+ ?.url;
11625
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11626
+ },
11627
+ /**
11628
+ * Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
11275
11629
  * @summary Get map tile
11276
11630
  * @param {string} id
11277
11631
  * @param {string} x
@@ -11397,10 +11751,11 @@ export const GameServerApiFp = function (configuration) {
11397
11751
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11398
11752
  },
11399
11753
  /**
11400
- * 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`
11754
+ * 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`
11401
11755
  * @summary List locations
11402
11756
  * @param {string} id
11403
11757
  * @param {*} [options] Override http request option.
11758
+ * @deprecated
11404
11759
  * @throws {RequiredError}
11405
11760
  */
11406
11761
  async gameServerControllerListLocations(id, options) {
@@ -11423,6 +11778,20 @@ export const GameServerApiFp = function (configuration) {
11423
11778
  const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerPutMapUpload']?.[localVarOperationServerIndex]?.url;
11424
11779
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11425
11780
  },
11781
+ /**
11782
+ * 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`
11783
+ * @summary Record identify
11784
+ * @param {string} id
11785
+ * @param {GameServerIdentifyInputDTO} [gameServerIdentifyInputDTO] GameServerIdentifyInputDTO
11786
+ * @param {*} [options] Override http request option.
11787
+ * @throws {RequiredError}
11788
+ */
11789
+ async gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options) {
11790
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options);
11791
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11792
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerRecordIdentify']?.[localVarOperationServerIndex]?.url;
11793
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11794
+ },
11426
11795
  /**
11427
11796
  * Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
11428
11797
  * @summary Regenerate registration token
@@ -11530,20 +11899,6 @@ export const GameServerApiFp = function (configuration) {
11530
11899
  const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerSetCapabilities']?.[localVarOperationServerIndex]?.url;
11531
11900
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11532
11901
  },
11533
- /**
11534
- * Records the game a connector-based game server reported at identify (e.g. \"7d2d\"). Written by the connector on handshake; users normally never call it. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSetGame`
11535
- * @summary Set game
11536
- * @param {string} id
11537
- * @param {GameServerGameInputDTO} [gameServerGameInputDTO] GameServerGameInputDTO
11538
- * @param {*} [options] Override http request option.
11539
- * @throws {RequiredError}
11540
- */
11541
- async gameServerControllerSetGame(id, gameServerGameInputDTO, options) {
11542
- const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerSetGame(id, gameServerGameInputDTO, options);
11543
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11544
- const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerSetGame']?.[localVarOperationServerIndex]?.url;
11545
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11546
- },
11547
11902
  /**
11548
11903
  * Shuts down the gameserver. This is a \'soft\' shutdown, meaning the gameserver will be stopped gracefully. If the gameserver is not reachable, this will have no effect. Note that most hosting providers will automatically restart the gameserver after a shutdown, which makes this operation act as a \'restart\' instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerShutdown`
11549
11904
  * @summary Shutdown
@@ -11767,7 +12122,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11767
12122
  return localVarFp.gameServerControllerGetCapabilities(id, options).then((request) => request(axios, basePath));
11768
12123
  },
11769
12124
  /**
11770
- * 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`
12125
+ * 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`
11771
12126
  * @summary Get dimension map tile
11772
12127
  * @param {string} id
11773
12128
  * @param {string} dimension
@@ -11783,6 +12138,17 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11783
12138
  .gameServerControllerGetDimensionMapTile(id, dimension, zoom, x, y, v, options)
11784
12139
  .then((request) => request(axios, basePath));
11785
12140
  },
12141
+ /**
12142
+ * 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`
12143
+ * @summary Get game icon
12144
+ * @param {string} id
12145
+ * @param {string} [v]
12146
+ * @param {*} [options] Override http request option.
12147
+ * @throws {RequiredError}
12148
+ */
12149
+ gameServerControllerGetGameIcon(id, v, options) {
12150
+ return localVarFp.gameServerControllerGetGameIcon(id, v, options).then((request) => request(axios, basePath));
12151
+ },
11786
12152
  /**
11787
12153
  * Fetch status of an import from CSMM. Deprecated: use `GameServerController.getJob` with the import job type instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
11788
12154
  * @summary Get import
@@ -11806,7 +12172,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11806
12172
  return localVarFp.gameServerControllerGetJob(type, id, options).then((request) => request(axios, basePath));
11807
12173
  },
11808
12174
  /**
11809
- * 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`
12175
+ * 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`
11810
12176
  * @summary Get map
11811
12177
  * @param {string} id
11812
12178
  * @param {*} [options] Override http request option.
@@ -11816,7 +12182,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11816
12182
  return localVarFp.gameServerControllerGetMap(id, options).then((request) => request(axios, basePath));
11817
12183
  },
11818
12184
  /**
11819
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
12185
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
11820
12186
  * @summary Get map info
11821
12187
  * @param {string} id
11822
12188
  * @param {*} [options] Override http request option.
@@ -11826,7 +12192,19 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11826
12192
  return localVarFp.gameServerControllerGetMapInfo(id, options).then((request) => request(axios, basePath));
11827
12193
  },
11828
12194
  /**
11829
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
12195
+ * 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`
12196
+ * @summary Get map offline players
12197
+ * @param {string} id
12198
+ * @param {*} [options] Override http request option.
12199
+ * @throws {RequiredError}
12200
+ */
12201
+ gameServerControllerGetMapOfflinePlayers(id, options) {
12202
+ return localVarFp
12203
+ .gameServerControllerGetMapOfflinePlayers(id, options)
12204
+ .then((request) => request(axios, basePath));
12205
+ },
12206
+ /**
12207
+ * Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
11830
12208
  * @summary Get map tile
11831
12209
  * @param {string} id
11832
12210
  * @param {string} x
@@ -11933,10 +12311,11 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11933
12311
  return localVarFp.gameServerControllerListBans(id, options).then((request) => request(axios, basePath));
11934
12312
  },
11935
12313
  /**
11936
- * 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`
12314
+ * 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`
11937
12315
  * @summary List locations
11938
12316
  * @param {string} id
11939
12317
  * @param {*} [options] Override http request option.
12318
+ * @deprecated
11940
12319
  * @throws {RequiredError}
11941
12320
  */
11942
12321
  gameServerControllerListLocations(id, options) {
@@ -11955,6 +12334,19 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11955
12334
  .gameServerControllerPutMapUpload(id, dimension, options)
11956
12335
  .then((request) => request(axios, basePath));
11957
12336
  },
12337
+ /**
12338
+ * 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`
12339
+ * @summary Record identify
12340
+ * @param {string} id
12341
+ * @param {GameServerIdentifyInputDTO} [gameServerIdentifyInputDTO] GameServerIdentifyInputDTO
12342
+ * @param {*} [options] Override http request option.
12343
+ * @throws {RequiredError}
12344
+ */
12345
+ gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options) {
12346
+ return localVarFp
12347
+ .gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options)
12348
+ .then((request) => request(axios, basePath));
12349
+ },
11958
12350
  /**
11959
12351
  * Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
11960
12352
  * @summary Regenerate registration token
@@ -12049,19 +12441,6 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
12049
12441
  .gameServerControllerSetCapabilities(id, gameServerCapabilitiesInputDTO, options)
12050
12442
  .then((request) => request(axios, basePath));
12051
12443
  },
12052
- /**
12053
- * Records the game a connector-based game server reported at identify (e.g. \"7d2d\"). Written by the connector on handshake; users normally never call it. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSetGame`
12054
- * @summary Set game
12055
- * @param {string} id
12056
- * @param {GameServerGameInputDTO} [gameServerGameInputDTO] GameServerGameInputDTO
12057
- * @param {*} [options] Override http request option.
12058
- * @throws {RequiredError}
12059
- */
12060
- gameServerControllerSetGame(id, gameServerGameInputDTO, options) {
12061
- return localVarFp
12062
- .gameServerControllerSetGame(id, gameServerGameInputDTO, options)
12063
- .then((request) => request(axios, basePath));
12064
- },
12065
12444
  /**
12066
12445
  * Shuts down the gameserver. This is a \'soft\' shutdown, meaning the gameserver will be stopped gracefully. If the gameserver is not reachable, this will have no effect. Note that most hosting providers will automatically restart the gameserver after a shutdown, which makes this operation act as a \'restart\' instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerShutdown`
12067
12446
  * @summary Shutdown
@@ -12279,7 +12658,7 @@ export class GameServerApi extends BaseAPI {
12279
12658
  .then((request) => request(this.axios, this.basePath));
12280
12659
  }
12281
12660
  /**
12282
- * 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`
12661
+ * 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`
12283
12662
  * @summary Get dimension map tile
12284
12663
  * @param {string} id
12285
12664
  * @param {string} dimension
@@ -12296,6 +12675,20 @@ export class GameServerApi extends BaseAPI {
12296
12675
  .gameServerControllerGetDimensionMapTile(id, dimension, zoom, x, y, v, options)
12297
12676
  .then((request) => request(this.axios, this.basePath));
12298
12677
  }
12678
+ /**
12679
+ * 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`
12680
+ * @summary Get game icon
12681
+ * @param {string} id
12682
+ * @param {string} [v]
12683
+ * @param {*} [options] Override http request option.
12684
+ * @throws {RequiredError}
12685
+ * @memberof GameServerApi
12686
+ */
12687
+ gameServerControllerGetGameIcon(id, v, options) {
12688
+ return GameServerApiFp(this.configuration)
12689
+ .gameServerControllerGetGameIcon(id, v, options)
12690
+ .then((request) => request(this.axios, this.basePath));
12691
+ }
12299
12692
  /**
12300
12693
  * Fetch status of an import from CSMM. Deprecated: use `GameServerController.getJob` with the import job type instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
12301
12694
  * @summary Get import
@@ -12325,7 +12718,7 @@ export class GameServerApi extends BaseAPI {
12325
12718
  .then((request) => request(this.axios, this.basePath));
12326
12719
  }
12327
12720
  /**
12328
- * 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`
12721
+ * 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`
12329
12722
  * @summary Get map
12330
12723
  * @param {string} id
12331
12724
  * @param {*} [options] Override http request option.
@@ -12338,7 +12731,7 @@ export class GameServerApi extends BaseAPI {
12338
12731
  .then((request) => request(this.axios, this.basePath));
12339
12732
  }
12340
12733
  /**
12341
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
12734
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
12342
12735
  * @summary Get map info
12343
12736
  * @param {string} id
12344
12737
  * @param {*} [options] Override http request option.
@@ -12351,24 +12744,37 @@ export class GameServerApi extends BaseAPI {
12351
12744
  .then((request) => request(this.axios, this.basePath));
12352
12745
  }
12353
12746
  /**
12354
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
12355
- * @summary Get map tile
12747
+ * 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`
12748
+ * @summary Get map offline players
12356
12749
  * @param {string} id
12357
- * @param {string} x
12358
- * @param {string} y
12359
- * @param {string} z
12360
12750
  * @param {*} [options] Override http request option.
12361
12751
  * @throws {RequiredError}
12362
12752
  * @memberof GameServerApi
12363
12753
  */
12364
- gameServerControllerGetMapTile(id, x, y, z, options) {
12754
+ gameServerControllerGetMapOfflinePlayers(id, options) {
12365
12755
  return GameServerApiFp(this.configuration)
12366
- .gameServerControllerGetMapTile(id, x, y, z, options)
12756
+ .gameServerControllerGetMapOfflinePlayers(id, options)
12367
12757
  .then((request) => request(this.axios, this.basePath));
12368
12758
  }
12369
12759
  /**
12370
- * Fetch a gameserver by id<br> OperationId: `GameServerControllerGetOne`
12371
- * @summary Get one
12760
+ * Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
12761
+ * @summary Get map tile
12762
+ * @param {string} id
12763
+ * @param {string} x
12764
+ * @param {string} y
12765
+ * @param {string} z
12766
+ * @param {*} [options] Override http request option.
12767
+ * @throws {RequiredError}
12768
+ * @memberof GameServerApi
12769
+ */
12770
+ gameServerControllerGetMapTile(id, x, y, z, options) {
12771
+ return GameServerApiFp(this.configuration)
12772
+ .gameServerControllerGetMapTile(id, x, y, z, options)
12773
+ .then((request) => request(this.axios, this.basePath));
12774
+ }
12775
+ /**
12776
+ * Fetch a gameserver by id<br> OperationId: `GameServerControllerGetOne`
12777
+ * @summary Get one
12372
12778
  * @param {string} id
12373
12779
  * @param {*} [options] Override http request option.
12374
12780
  * @throws {RequiredError}
@@ -12477,10 +12883,11 @@ export class GameServerApi extends BaseAPI {
12477
12883
  .then((request) => request(this.axios, this.basePath));
12478
12884
  }
12479
12885
  /**
12480
- * 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`
12886
+ * 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`
12481
12887
  * @summary List locations
12482
12888
  * @param {string} id
12483
12889
  * @param {*} [options] Override http request option.
12890
+ * @deprecated
12484
12891
  * @throws {RequiredError}
12485
12892
  * @memberof GameServerApi
12486
12893
  */
@@ -12503,6 +12910,20 @@ export class GameServerApi extends BaseAPI {
12503
12910
  .gameServerControllerPutMapUpload(id, dimension, options)
12504
12911
  .then((request) => request(this.axios, this.basePath));
12505
12912
  }
12913
+ /**
12914
+ * 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`
12915
+ * @summary Record identify
12916
+ * @param {string} id
12917
+ * @param {GameServerIdentifyInputDTO} [gameServerIdentifyInputDTO] GameServerIdentifyInputDTO
12918
+ * @param {*} [options] Override http request option.
12919
+ * @throws {RequiredError}
12920
+ * @memberof GameServerApi
12921
+ */
12922
+ gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options) {
12923
+ return GameServerApiFp(this.configuration)
12924
+ .gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options)
12925
+ .then((request) => request(this.axios, this.basePath));
12926
+ }
12506
12927
  /**
12507
12928
  * Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
12508
12929
  * @summary Regenerate registration token
@@ -12609,20 +13030,6 @@ export class GameServerApi extends BaseAPI {
12609
13030
  .gameServerControllerSetCapabilities(id, gameServerCapabilitiesInputDTO, options)
12610
13031
  .then((request) => request(this.axios, this.basePath));
12611
13032
  }
12612
- /**
12613
- * Records the game a connector-based game server reported at identify (e.g. \"7d2d\"). Written by the connector on handshake; users normally never call it. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSetGame`
12614
- * @summary Set game
12615
- * @param {string} id
12616
- * @param {GameServerGameInputDTO} [gameServerGameInputDTO] GameServerGameInputDTO
12617
- * @param {*} [options] Override http request option.
12618
- * @throws {RequiredError}
12619
- * @memberof GameServerApi
12620
- */
12621
- gameServerControllerSetGame(id, gameServerGameInputDTO, options) {
12622
- return GameServerApiFp(this.configuration)
12623
- .gameServerControllerSetGame(id, gameServerGameInputDTO, options)
12624
- .then((request) => request(this.axios, this.basePath));
12625
- }
12626
13033
  /**
12627
13034
  * Shuts down the gameserver. This is a \'soft\' shutdown, meaning the gameserver will be stopped gracefully. If the gameserver is not reachable, this will have no effect. Note that most hosting providers will automatically restart the gameserver after a shutdown, which makes this operation act as a \'restart\' instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerShutdown`
12628
13035
  * @summary Shutdown
@@ -14290,6 +14697,110 @@ export class ItemSetApi extends BaseAPI {
14290
14697
  .then((request) => request(this.axios, this.basePath));
14291
14698
  }
14292
14699
  }
14700
+ /**
14701
+ * LocationApi - axios parameter creator
14702
+ * @export
14703
+ */
14704
+ export const LocationApiAxiosParamCreator = function (configuration) {
14705
+ return {
14706
+ /**
14707
+ * 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`
14708
+ * @summary Search
14709
+ * @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
14710
+ * @param {*} [options] Override http request option.
14711
+ * @throws {RequiredError}
14712
+ */
14713
+ locationControllerSearch: async (locationSearchInputDTO, options = {}) => {
14714
+ const localVarPath = `/location/search`;
14715
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14716
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14717
+ let baseOptions;
14718
+ if (configuration) {
14719
+ baseOptions = configuration.baseOptions;
14720
+ }
14721
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
14722
+ const localVarHeaderParameter = {};
14723
+ const localVarQueryParameter = {};
14724
+ // authentication bearerAuth required
14725
+ // http bearer authentication required
14726
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
14727
+ // authentication domainAuth required
14728
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14729
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14730
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14731
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
14732
+ localVarRequestOptions.data = serializeDataIfNeeded(locationSearchInputDTO, localVarRequestOptions, configuration);
14733
+ return {
14734
+ url: toPathString(localVarUrlObj),
14735
+ options: localVarRequestOptions,
14736
+ };
14737
+ },
14738
+ };
14739
+ };
14740
+ /**
14741
+ * LocationApi - functional programming interface
14742
+ * @export
14743
+ */
14744
+ export const LocationApiFp = function (configuration) {
14745
+ const localVarAxiosParamCreator = LocationApiAxiosParamCreator(configuration);
14746
+ return {
14747
+ /**
14748
+ * 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`
14749
+ * @summary Search
14750
+ * @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
14751
+ * @param {*} [options] Override http request option.
14752
+ * @throws {RequiredError}
14753
+ */
14754
+ async locationControllerSearch(locationSearchInputDTO, options) {
14755
+ const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerSearch(locationSearchInputDTO, options);
14756
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14757
+ const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerSearch']?.[localVarOperationServerIndex]?.url;
14758
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14759
+ },
14760
+ };
14761
+ };
14762
+ /**
14763
+ * LocationApi - factory interface
14764
+ * @export
14765
+ */
14766
+ export const LocationApiFactory = function (configuration, basePath, axios) {
14767
+ const localVarFp = LocationApiFp(configuration);
14768
+ return {
14769
+ /**
14770
+ * 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`
14771
+ * @summary Search
14772
+ * @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
14773
+ * @param {*} [options] Override http request option.
14774
+ * @throws {RequiredError}
14775
+ */
14776
+ locationControllerSearch(locationSearchInputDTO, options) {
14777
+ return localVarFp
14778
+ .locationControllerSearch(locationSearchInputDTO, options)
14779
+ .then((request) => request(axios, basePath));
14780
+ },
14781
+ };
14782
+ };
14783
+ /**
14784
+ * LocationApi - object-oriented interface
14785
+ * @export
14786
+ * @class LocationApi
14787
+ * @extends {BaseAPI}
14788
+ */
14789
+ export class LocationApi extends BaseAPI {
14790
+ /**
14791
+ * 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`
14792
+ * @summary Search
14793
+ * @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
14794
+ * @param {*} [options] Override http request option.
14795
+ * @throws {RequiredError}
14796
+ * @memberof LocationApi
14797
+ */
14798
+ locationControllerSearch(locationSearchInputDTO, options) {
14799
+ return LocationApiFp(this.configuration)
14800
+ .locationControllerSearch(locationSearchInputDTO, options)
14801
+ .then((request) => request(this.axios, this.basePath));
14802
+ }
14803
+ }
14293
14804
  /**
14294
14805
  * MetaApi - axios parameter creator
14295
14806
  * @export
@@ -14809,6 +15320,41 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
14809
15320
  options: localVarRequestOptions,
14810
15321
  };
14811
15322
  },
15323
+ /**
15324
+ * 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`
15325
+ * @summary Import versions into an existing module
15326
+ * @param {string} id
15327
+ * @param {any} [body]
15328
+ * @param {*} [options] Override http request option.
15329
+ * @throws {RequiredError}
15330
+ */
15331
+ moduleControllerImportVersions: async (id, body, options = {}) => {
15332
+ // verify required parameter 'id' is not null or undefined
15333
+ assertParamExists('moduleControllerImportVersions', 'id', id);
15334
+ const localVarPath = `/module/{id}/import`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
15335
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15336
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15337
+ let baseOptions;
15338
+ if (configuration) {
15339
+ baseOptions = configuration.baseOptions;
15340
+ }
15341
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
15342
+ const localVarHeaderParameter = {};
15343
+ const localVarQueryParameter = {};
15344
+ // authentication bearerAuth required
15345
+ // http bearer authentication required
15346
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
15347
+ // authentication domainAuth required
15348
+ localVarHeaderParameter['Content-Type'] = 'application/json';
15349
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15350
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15351
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
15352
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
15353
+ return {
15354
+ url: toPathString(localVarUrlObj),
15355
+ options: localVarRequestOptions,
15356
+ };
15357
+ },
14812
15358
  /**
14813
15359
  * Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
14814
15360
  * @summary Remove a module
@@ -15204,6 +15750,20 @@ export const ModuleApiFp = function (configuration) {
15204
15750
  const localVarOperationServerBasePath = operationServerMap['ModuleApi.moduleControllerImport']?.[localVarOperationServerIndex]?.url;
15205
15751
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15206
15752
  },
15753
+ /**
15754
+ * 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`
15755
+ * @summary Import versions into an existing module
15756
+ * @param {string} id
15757
+ * @param {any} [body]
15758
+ * @param {*} [options] Override http request option.
15759
+ * @throws {RequiredError}
15760
+ */
15761
+ async moduleControllerImportVersions(id, body, options) {
15762
+ const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerImportVersions(id, body, options);
15763
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15764
+ const localVarOperationServerBasePath = operationServerMap['ModuleApi.moduleControllerImportVersions']?.[localVarOperationServerIndex]?.url;
15765
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15766
+ },
15207
15767
  /**
15208
15768
  * Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
15209
15769
  * @summary Remove a module
@@ -15391,6 +15951,17 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
15391
15951
  moduleControllerImport(body, options) {
15392
15952
  return localVarFp.moduleControllerImport(body, options).then((request) => request(axios, basePath));
15393
15953
  },
15954
+ /**
15955
+ * 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`
15956
+ * @summary Import versions into an existing module
15957
+ * @param {string} id
15958
+ * @param {any} [body]
15959
+ * @param {*} [options] Override http request option.
15960
+ * @throws {RequiredError}
15961
+ */
15962
+ moduleControllerImportVersions(id, body, options) {
15963
+ return localVarFp.moduleControllerImportVersions(id, body, options).then((request) => request(axios, basePath));
15964
+ },
15394
15965
  /**
15395
15966
  * Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
15396
15967
  * @summary Remove a module
@@ -15574,6 +16145,20 @@ export class ModuleApi extends BaseAPI {
15574
16145
  .moduleControllerImport(body, options)
15575
16146
  .then((request) => request(this.axios, this.basePath));
15576
16147
  }
16148
+ /**
16149
+ * 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`
16150
+ * @summary Import versions into an existing module
16151
+ * @param {string} id
16152
+ * @param {any} [body]
16153
+ * @param {*} [options] Override http request option.
16154
+ * @throws {RequiredError}
16155
+ * @memberof ModuleApi
16156
+ */
16157
+ moduleControllerImportVersions(id, body, options) {
16158
+ return ModuleApiFp(this.configuration)
16159
+ .moduleControllerImportVersions(id, body, options)
16160
+ .then((request) => request(this.axios, this.basePath));
16161
+ }
15577
16162
  /**
15578
16163
  * Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
15579
16164
  * @summary Remove a module
@@ -16077,6 +16662,111 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
16077
16662
  options: localVarRequestOptions,
16078
16663
  };
16079
16664
  },
16665
+ /**
16666
+ * 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`
16667
+ * @summary Link a player to a user
16668
+ * @param {string} id
16669
+ * @param {PlayerLinkUserInputDTO} [playerLinkUserInputDTO] PlayerLinkUserInputDTO
16670
+ * @param {*} [options] Override http request option.
16671
+ * @throws {RequiredError}
16672
+ */
16673
+ playerControllerLinkUser: async (id, playerLinkUserInputDTO, options = {}) => {
16674
+ // verify required parameter 'id' is not null or undefined
16675
+ assertParamExists('playerControllerLinkUser', 'id', id);
16676
+ const localVarPath = `/player/{id}/link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
16677
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16678
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16679
+ let baseOptions;
16680
+ if (configuration) {
16681
+ baseOptions = configuration.baseOptions;
16682
+ }
16683
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
16684
+ const localVarHeaderParameter = {};
16685
+ const localVarQueryParameter = {};
16686
+ // authentication bearerAuth required
16687
+ // http bearer authentication required
16688
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
16689
+ // authentication domainAuth required
16690
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16691
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16692
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16693
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
16694
+ localVarRequestOptions.data = serializeDataIfNeeded(playerLinkUserInputDTO, localVarRequestOptions, configuration);
16695
+ return {
16696
+ url: toPathString(localVarUrlObj),
16697
+ options: localVarRequestOptions,
16698
+ };
16699
+ },
16700
+ /**
16701
+ * 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`
16702
+ * @summary Merge a player into another
16703
+ * @param {string} id
16704
+ * @param {PlayerMergeExecuteInputDTO} [playerMergeExecuteInputDTO] PlayerMergeExecuteInputDTO
16705
+ * @param {*} [options] Override http request option.
16706
+ * @throws {RequiredError}
16707
+ */
16708
+ playerControllerMerge: async (id, playerMergeExecuteInputDTO, options = {}) => {
16709
+ // verify required parameter 'id' is not null or undefined
16710
+ assertParamExists('playerControllerMerge', 'id', id);
16711
+ const localVarPath = `/player/{id}/merge`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
16712
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16713
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16714
+ let baseOptions;
16715
+ if (configuration) {
16716
+ baseOptions = configuration.baseOptions;
16717
+ }
16718
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
16719
+ const localVarHeaderParameter = {};
16720
+ const localVarQueryParameter = {};
16721
+ // authentication bearerAuth required
16722
+ // http bearer authentication required
16723
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
16724
+ // authentication domainAuth required
16725
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16726
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16727
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16728
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
16729
+ localVarRequestOptions.data = serializeDataIfNeeded(playerMergeExecuteInputDTO, localVarRequestOptions, configuration);
16730
+ return {
16731
+ url: toPathString(localVarUrlObj),
16732
+ options: localVarRequestOptions,
16733
+ };
16734
+ },
16735
+ /**
16736
+ * 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`
16737
+ * @summary Preview merging a player into another
16738
+ * @param {string} id
16739
+ * @param {PlayerMergeInputDTO} [playerMergeInputDTO] PlayerMergeInputDTO
16740
+ * @param {*} [options] Override http request option.
16741
+ * @throws {RequiredError}
16742
+ */
16743
+ playerControllerMergePreview: async (id, playerMergeInputDTO, options = {}) => {
16744
+ // verify required parameter 'id' is not null or undefined
16745
+ assertParamExists('playerControllerMergePreview', 'id', id);
16746
+ const localVarPath = `/player/{id}/merge/preview`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
16747
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16748
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16749
+ let baseOptions;
16750
+ if (configuration) {
16751
+ baseOptions = configuration.baseOptions;
16752
+ }
16753
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
16754
+ const localVarHeaderParameter = {};
16755
+ const localVarQueryParameter = {};
16756
+ // authentication bearerAuth required
16757
+ // http bearer authentication required
16758
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
16759
+ // authentication domainAuth required
16760
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16761
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16762
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16763
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
16764
+ localVarRequestOptions.data = serializeDataIfNeeded(playerMergeInputDTO, localVarRequestOptions, configuration);
16765
+ return {
16766
+ url: toPathString(localVarUrlObj),
16767
+ options: localVarRequestOptions,
16768
+ };
16769
+ },
16080
16770
  /**
16081
16771
  * Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
16082
16772
  * @summary Remove a role from a player
@@ -16149,13 +16839,45 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
16149
16839
  options: localVarRequestOptions,
16150
16840
  };
16151
16841
  },
16152
- };
16153
- };
16154
- /**
16155
- * PlayerApi - functional programming interface
16156
- * @export
16157
- */
16158
- export const PlayerApiFp = function (configuration) {
16842
+ /**
16843
+ * 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`
16844
+ * @summary Unlink a player from its user
16845
+ * @param {string} id
16846
+ * @param {*} [options] Override http request option.
16847
+ * @throws {RequiredError}
16848
+ */
16849
+ playerControllerUnlinkUser: async (id, options = {}) => {
16850
+ // verify required parameter 'id' is not null or undefined
16851
+ assertParamExists('playerControllerUnlinkUser', 'id', id);
16852
+ const localVarPath = `/player/{id}/link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
16853
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16854
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16855
+ let baseOptions;
16856
+ if (configuration) {
16857
+ baseOptions = configuration.baseOptions;
16858
+ }
16859
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
16860
+ const localVarHeaderParameter = {};
16861
+ const localVarQueryParameter = {};
16862
+ // authentication bearerAuth required
16863
+ // http bearer authentication required
16864
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
16865
+ // authentication domainAuth required
16866
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16867
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16868
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
16869
+ return {
16870
+ url: toPathString(localVarUrlObj),
16871
+ options: localVarRequestOptions,
16872
+ };
16873
+ },
16874
+ };
16875
+ };
16876
+ /**
16877
+ * PlayerApi - functional programming interface
16878
+ * @export
16879
+ */
16880
+ export const PlayerApiFp = function (configuration) {
16159
16881
  const localVarAxiosParamCreator = PlayerApiAxiosParamCreator(configuration);
16160
16882
  return {
16161
16883
  /**
@@ -16304,6 +17026,48 @@ export const PlayerApiFp = function (configuration) {
16304
17026
  const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerGetOne']?.[localVarOperationServerIndex]?.url;
16305
17027
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16306
17028
  },
17029
+ /**
17030
+ * 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`
17031
+ * @summary Link a player to a user
17032
+ * @param {string} id
17033
+ * @param {PlayerLinkUserInputDTO} [playerLinkUserInputDTO] PlayerLinkUserInputDTO
17034
+ * @param {*} [options] Override http request option.
17035
+ * @throws {RequiredError}
17036
+ */
17037
+ async playerControllerLinkUser(id, playerLinkUserInputDTO, options) {
17038
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerLinkUser(id, playerLinkUserInputDTO, options);
17039
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17040
+ const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerLinkUser']?.[localVarOperationServerIndex]?.url;
17041
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17042
+ },
17043
+ /**
17044
+ * 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`
17045
+ * @summary Merge a player into another
17046
+ * @param {string} id
17047
+ * @param {PlayerMergeExecuteInputDTO} [playerMergeExecuteInputDTO] PlayerMergeExecuteInputDTO
17048
+ * @param {*} [options] Override http request option.
17049
+ * @throws {RequiredError}
17050
+ */
17051
+ async playerControllerMerge(id, playerMergeExecuteInputDTO, options) {
17052
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerMerge(id, playerMergeExecuteInputDTO, options);
17053
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17054
+ const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerMerge']?.[localVarOperationServerIndex]?.url;
17055
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17056
+ },
17057
+ /**
17058
+ * 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`
17059
+ * @summary Preview merging a player into another
17060
+ * @param {string} id
17061
+ * @param {PlayerMergeInputDTO} [playerMergeInputDTO] PlayerMergeInputDTO
17062
+ * @param {*} [options] Override http request option.
17063
+ * @throws {RequiredError}
17064
+ */
17065
+ async playerControllerMergePreview(id, playerMergeInputDTO, options) {
17066
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerMergePreview(id, playerMergeInputDTO, options);
17067
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17068
+ const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerMergePreview']?.[localVarOperationServerIndex]?.url;
17069
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17070
+ },
16307
17071
  /**
16308
17072
  * Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
16309
17073
  * @summary Remove a role from a player
@@ -16332,6 +17096,19 @@ export const PlayerApiFp = function (configuration) {
16332
17096
  const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerSearch']?.[localVarOperationServerIndex]?.url;
16333
17097
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16334
17098
  },
17099
+ /**
17100
+ * 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`
17101
+ * @summary Unlink a player from its user
17102
+ * @param {string} id
17103
+ * @param {*} [options] Override http request option.
17104
+ * @throws {RequiredError}
17105
+ */
17106
+ async playerControllerUnlinkUser(id, options) {
17107
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerUnlinkUser(id, options);
17108
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17109
+ const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerUnlinkUser']?.[localVarOperationServerIndex]?.url;
17110
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17111
+ },
16335
17112
  };
16336
17113
  };
16337
17114
  /**
@@ -16460,6 +17237,45 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
16460
17237
  playerControllerGetOne(id, options) {
16461
17238
  return localVarFp.playerControllerGetOne(id, options).then((request) => request(axios, basePath));
16462
17239
  },
17240
+ /**
17241
+ * 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`
17242
+ * @summary Link a player to a user
17243
+ * @param {string} id
17244
+ * @param {PlayerLinkUserInputDTO} [playerLinkUserInputDTO] PlayerLinkUserInputDTO
17245
+ * @param {*} [options] Override http request option.
17246
+ * @throws {RequiredError}
17247
+ */
17248
+ playerControllerLinkUser(id, playerLinkUserInputDTO, options) {
17249
+ return localVarFp
17250
+ .playerControllerLinkUser(id, playerLinkUserInputDTO, options)
17251
+ .then((request) => request(axios, basePath));
17252
+ },
17253
+ /**
17254
+ * 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`
17255
+ * @summary Merge a player into another
17256
+ * @param {string} id
17257
+ * @param {PlayerMergeExecuteInputDTO} [playerMergeExecuteInputDTO] PlayerMergeExecuteInputDTO
17258
+ * @param {*} [options] Override http request option.
17259
+ * @throws {RequiredError}
17260
+ */
17261
+ playerControllerMerge(id, playerMergeExecuteInputDTO, options) {
17262
+ return localVarFp
17263
+ .playerControllerMerge(id, playerMergeExecuteInputDTO, options)
17264
+ .then((request) => request(axios, basePath));
17265
+ },
17266
+ /**
17267
+ * 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`
17268
+ * @summary Preview merging a player into another
17269
+ * @param {string} id
17270
+ * @param {PlayerMergeInputDTO} [playerMergeInputDTO] PlayerMergeInputDTO
17271
+ * @param {*} [options] Override http request option.
17272
+ * @throws {RequiredError}
17273
+ */
17274
+ playerControllerMergePreview(id, playerMergeInputDTO, options) {
17275
+ return localVarFp
17276
+ .playerControllerMergePreview(id, playerMergeInputDTO, options)
17277
+ .then((request) => request(axios, basePath));
17278
+ },
16463
17279
  /**
16464
17280
  * Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
16465
17281
  * @summary Remove a role from a player
@@ -16486,6 +17302,16 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
16486
17302
  .playerControllerSearch(playerSearchInputDTO, options)
16487
17303
  .then((request) => request(axios, basePath));
16488
17304
  },
17305
+ /**
17306
+ * 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`
17307
+ * @summary Unlink a player from its user
17308
+ * @param {string} id
17309
+ * @param {*} [options] Override http request option.
17310
+ * @throws {RequiredError}
17311
+ */
17312
+ playerControllerUnlinkUser(id, options) {
17313
+ return localVarFp.playerControllerUnlinkUser(id, options).then((request) => request(axios, basePath));
17314
+ },
16489
17315
  };
16490
17316
  };
16491
17317
  /**
@@ -16641,6 +17467,48 @@ export class PlayerApi extends BaseAPI {
16641
17467
  .playerControllerGetOne(id, options)
16642
17468
  .then((request) => request(this.axios, this.basePath));
16643
17469
  }
17470
+ /**
17471
+ * 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`
17472
+ * @summary Link a player to a user
17473
+ * @param {string} id
17474
+ * @param {PlayerLinkUserInputDTO} [playerLinkUserInputDTO] PlayerLinkUserInputDTO
17475
+ * @param {*} [options] Override http request option.
17476
+ * @throws {RequiredError}
17477
+ * @memberof PlayerApi
17478
+ */
17479
+ playerControllerLinkUser(id, playerLinkUserInputDTO, options) {
17480
+ return PlayerApiFp(this.configuration)
17481
+ .playerControllerLinkUser(id, playerLinkUserInputDTO, options)
17482
+ .then((request) => request(this.axios, this.basePath));
17483
+ }
17484
+ /**
17485
+ * 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`
17486
+ * @summary Merge a player into another
17487
+ * @param {string} id
17488
+ * @param {PlayerMergeExecuteInputDTO} [playerMergeExecuteInputDTO] PlayerMergeExecuteInputDTO
17489
+ * @param {*} [options] Override http request option.
17490
+ * @throws {RequiredError}
17491
+ * @memberof PlayerApi
17492
+ */
17493
+ playerControllerMerge(id, playerMergeExecuteInputDTO, options) {
17494
+ return PlayerApiFp(this.configuration)
17495
+ .playerControllerMerge(id, playerMergeExecuteInputDTO, options)
17496
+ .then((request) => request(this.axios, this.basePath));
17497
+ }
17498
+ /**
17499
+ * 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`
17500
+ * @summary Preview merging a player into another
17501
+ * @param {string} id
17502
+ * @param {PlayerMergeInputDTO} [playerMergeInputDTO] PlayerMergeInputDTO
17503
+ * @param {*} [options] Override http request option.
17504
+ * @throws {RequiredError}
17505
+ * @memberof PlayerApi
17506
+ */
17507
+ playerControllerMergePreview(id, playerMergeInputDTO, options) {
17508
+ return PlayerApiFp(this.configuration)
17509
+ .playerControllerMergePreview(id, playerMergeInputDTO, options)
17510
+ .then((request) => request(this.axios, this.basePath));
17511
+ }
16644
17512
  /**
16645
17513
  * Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
16646
17514
  * @summary Remove a role from a player
@@ -16669,6 +17537,19 @@ export class PlayerApi extends BaseAPI {
16669
17537
  .playerControllerSearch(playerSearchInputDTO, options)
16670
17538
  .then((request) => request(this.axios, this.basePath));
16671
17539
  }
17540
+ /**
17541
+ * 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`
17542
+ * @summary Unlink a player from its user
17543
+ * @param {string} id
17544
+ * @param {*} [options] Override http request option.
17545
+ * @throws {RequiredError}
17546
+ * @memberof PlayerApi
17547
+ */
17548
+ playerControllerUnlinkUser(id, options) {
17549
+ return PlayerApiFp(this.configuration)
17550
+ .playerControllerUnlinkUser(id, options)
17551
+ .then((request) => request(this.axios, this.basePath));
17552
+ }
16672
17553
  }
16673
17554
  /**
16674
17555
  * PlayerOnGameServerApi - axios parameter creator
@@ -17429,61 +18310,61 @@ export class PlayerOnGameServerApi extends BaseAPI {
17429
18310
  }
17430
18311
  }
17431
18312
  /**
17432
- * RegistryApi - axios parameter creator
18313
+ * PlayerPortalApi - axios parameter creator
17433
18314
  * @export
17434
18315
  */
17435
- export const RegistryApiAxiosParamCreator = function (configuration) {
18316
+ export const PlayerPortalApiAxiosParamCreator = function (configuration) {
17436
18317
  return {
17437
18318
  /**
17438
- * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
17439
- * @summary Install a module from a registry
17440
- * @param {string} id
17441
- * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
18319
+ * 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`
18320
+ * @summary Dismiss the displaced notice
18321
+ * @param {string} domainId
17442
18322
  * @param {*} [options] Override http request option.
17443
18323
  * @throws {RequiredError}
17444
18324
  */
17445
- registryControllerInstall: async (id, registryInstallBody, options = {}) => {
17446
- // verify required parameter 'id' is not null or undefined
17447
- assertParamExists('registryControllerInstall', 'id', id);
17448
- const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
18325
+ playerPortalControllerDismissDisplacedNotice: async (domainId, options = {}) => {
18326
+ // verify required parameter 'domainId' is not null or undefined
18327
+ assertParamExists('playerPortalControllerDismissDisplacedNotice', 'domainId', domainId);
18328
+ const localVarPath = `/player-portal/{domainId}/displaced-notice`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
17449
18329
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17450
18330
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17451
18331
  let baseOptions;
17452
18332
  if (configuration) {
17453
18333
  baseOptions = configuration.baseOptions;
17454
18334
  }
17455
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
18335
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
17456
18336
  const localVarHeaderParameter = {};
17457
18337
  const localVarQueryParameter = {};
17458
18338
  // authentication bearerAuth required
17459
18339
  // http bearer authentication required
17460
18340
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
17461
18341
  // authentication domainAuth required
17462
- localVarHeaderParameter['Content-Type'] = 'application/json';
17463
18342
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17464
18343
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17465
18344
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17466
- localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
17467
18345
  return {
17468
18346
  url: toPathString(localVarUrlObj),
17469
18347
  options: localVarRequestOptions,
17470
18348
  };
17471
18349
  },
17472
18350
  /**
17473
- * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
17474
- * @summary List subscribed registries
18351
+ * 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`
18352
+ * @summary Enter a Domain\'s Player Portal
18353
+ * @param {string} domainId
17475
18354
  * @param {*} [options] Override http request option.
17476
18355
  * @throws {RequiredError}
17477
18356
  */
17478
- registryControllerList: async (options = {}) => {
17479
- const localVarPath = `/registry`;
18357
+ playerPortalControllerEnter: async (domainId, options = {}) => {
18358
+ // verify required parameter 'domainId' is not null or undefined
18359
+ assertParamExists('playerPortalControllerEnter', 'domainId', domainId);
18360
+ const localVarPath = `/player-portal/{domainId}/enter`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
17480
18361
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17481
18362
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17482
18363
  let baseOptions;
17483
18364
  if (configuration) {
17484
18365
  baseOptions = configuration.baseOptions;
17485
18366
  }
17486
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
18367
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
17487
18368
  const localVarHeaderParameter = {};
17488
18369
  const localVarQueryParameter = {};
17489
18370
  // authentication bearerAuth required
@@ -17499,16 +18380,17 @@ export const RegistryApiAxiosParamCreator = function (configuration) {
17499
18380
  };
17500
18381
  },
17501
18382
  /**
17502
- * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
17503
- * @summary Refresh registry manifest
17504
- * @param {string} id
18383
+ * 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`
18384
+ * @summary Inspect a game-issued Link Code
18385
+ * @param {string} domainId
18386
+ * @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
17505
18387
  * @param {*} [options] Override http request option.
17506
18388
  * @throws {RequiredError}
17507
18389
  */
17508
- registryControllerRefresh: async (id, options = {}) => {
17509
- // verify required parameter 'id' is not null or undefined
17510
- assertParamExists('registryControllerRefresh', 'id', id);
17511
- const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
18390
+ playerPortalControllerInspectLinkCode: async (domainId, playerPortalLinkCodeInputDTO, options = {}) => {
18391
+ // verify required parameter 'domainId' is not null or undefined
18392
+ assertParamExists('playerPortalControllerInspectLinkCode', 'domainId', domainId);
18393
+ const localVarPath = `/player-portal/{domainId}/link-code/inspect`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
17512
18394
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17513
18395
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17514
18396
  let baseOptions;
@@ -17522,23 +18404,28 @@ export const RegistryApiAxiosParamCreator = function (configuration) {
17522
18404
  // http bearer authentication required
17523
18405
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
17524
18406
  // authentication domainAuth required
18407
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17525
18408
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17526
18409
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17527
18410
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18411
+ localVarRequestOptions.data = serializeDataIfNeeded(playerPortalLinkCodeInputDTO, localVarRequestOptions, configuration);
17528
18412
  return {
17529
18413
  url: toPathString(localVarUrlObj),
17530
18414
  options: localVarRequestOptions,
17531
18415
  };
17532
18416
  },
17533
18417
  /**
17534
- * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
17535
- * @summary Subscribe to a registry
17536
- * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
18418
+ * 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`
18419
+ * @summary Get a Link Code to type in game
18420
+ * @param {string} domainId
18421
+ * @param {PlayerPortalIssueLinkCodeInputDTO} [playerPortalIssueLinkCodeInputDTO] PlayerPortalIssueLinkCodeInputDTO
17537
18422
  * @param {*} [options] Override http request option.
17538
18423
  * @throws {RequiredError}
17539
18424
  */
17540
- registryControllerSubscribe: async (registrySubscribeBody, options = {}) => {
17541
- const localVarPath = `/registry`;
18425
+ playerPortalControllerIssuePortalLinkCode: async (domainId, playerPortalIssueLinkCodeInputDTO, options = {}) => {
18426
+ // verify required parameter 'domainId' is not null or undefined
18427
+ assertParamExists('playerPortalControllerIssuePortalLinkCode', 'domainId', domainId);
18428
+ const localVarPath = `/player-portal/{domainId}/portal-link-code`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
17542
18429
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17543
18430
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17544
18431
  let baseOptions;
@@ -17556,82 +18443,695 @@ export const RegistryApiAxiosParamCreator = function (configuration) {
17556
18443
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17557
18444
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17558
18445
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17559
- localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
18446
+ localVarRequestOptions.data = serializeDataIfNeeded(playerPortalIssueLinkCodeInputDTO, localVarRequestOptions, configuration);
17560
18447
  return {
17561
18448
  url: toPathString(localVarUrlObj),
17562
18449
  options: localVarRequestOptions,
17563
18450
  };
17564
18451
  },
17565
18452
  /**
17566
- * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
17567
- * @summary Unsubscribe from a registry
17568
- * @param {string} id
18453
+ * 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`
18454
+ * @summary Redeem a game-issued Link Code
18455
+ * @param {string} domainId
18456
+ * @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
17569
18457
  * @param {*} [options] Override http request option.
17570
18458
  * @throws {RequiredError}
17571
18459
  */
17572
- registryControllerUnsubscribe: async (id, options = {}) => {
17573
- // verify required parameter 'id' is not null or undefined
17574
- assertParamExists('registryControllerUnsubscribe', 'id', id);
17575
- const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
18460
+ playerPortalControllerRedeemLinkCode: async (domainId, playerPortalLinkCodeInputDTO, options = {}) => {
18461
+ // verify required parameter 'domainId' is not null or undefined
18462
+ assertParamExists('playerPortalControllerRedeemLinkCode', 'domainId', domainId);
18463
+ const localVarPath = `/player-portal/{domainId}/link-code/redeem`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
17576
18464
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17577
18465
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17578
18466
  let baseOptions;
17579
18467
  if (configuration) {
17580
18468
  baseOptions = configuration.baseOptions;
17581
18469
  }
17582
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
18470
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
17583
18471
  const localVarHeaderParameter = {};
17584
18472
  const localVarQueryParameter = {};
17585
18473
  // authentication bearerAuth required
17586
18474
  // http bearer authentication required
17587
18475
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
17588
18476
  // authentication domainAuth required
18477
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17589
18478
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17590
18479
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17591
18480
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18481
+ localVarRequestOptions.data = serializeDataIfNeeded(playerPortalLinkCodeInputDTO, localVarRequestOptions, configuration);
17592
18482
  return {
17593
18483
  url: toPathString(localVarUrlObj),
17594
18484
  options: localVarRequestOptions,
17595
18485
  };
17596
18486
  },
17597
- };
17598
- };
17599
- /**
17600
- * RegistryApi - functional programming interface
17601
- * @export
17602
- */
17603
- export const RegistryApiFp = function (configuration) {
17604
- const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
17605
- return {
17606
18487
  /**
17607
- * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
17608
- * @summary Install a module from a registry
17609
- * @param {string} id
17610
- * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
18488
+ * 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`
18489
+ * @summary Find a game-issued Link Code\'s Player Portal
18490
+ * @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
17611
18491
  * @param {*} [options] Override http request option.
17612
18492
  * @throws {RequiredError}
17613
18493
  */
17614
- async registryControllerInstall(id, registryInstallBody, options) {
17615
- const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(id, registryInstallBody, options);
17616
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17617
- const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
17618
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18494
+ playerPortalControllerResolveLinkCode: async (playerPortalLinkCodeInputDTO, options = {}) => {
18495
+ const localVarPath = `/player-portal/link-code/resolve`;
18496
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18497
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18498
+ let baseOptions;
18499
+ if (configuration) {
18500
+ baseOptions = configuration.baseOptions;
18501
+ }
18502
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
18503
+ const localVarHeaderParameter = {};
18504
+ const localVarQueryParameter = {};
18505
+ // authentication bearerAuth required
18506
+ // http bearer authentication required
18507
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
18508
+ // authentication domainAuth required
18509
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18510
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18511
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18512
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18513
+ localVarRequestOptions.data = serializeDataIfNeeded(playerPortalLinkCodeInputDTO, localVarRequestOptions, configuration);
18514
+ return {
18515
+ url: toPathString(localVarUrlObj),
18516
+ options: localVarRequestOptions,
18517
+ };
17619
18518
  },
17620
18519
  /**
17621
- * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
17622
- * @summary List subscribed registries
18520
+ * 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`
18521
+ * @summary Get a Domain\'s Player Portal state
18522
+ * @param {string} domainId
17623
18523
  * @param {*} [options] Override http request option.
17624
18524
  * @throws {RequiredError}
17625
18525
  */
17626
- async registryControllerList(options) {
17627
- const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
17628
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17629
- const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
17630
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18526
+ playerPortalControllerState: async (domainId, options = {}) => {
18527
+ // verify required parameter 'domainId' is not null or undefined
18528
+ assertParamExists('playerPortalControllerState', 'domainId', domainId);
18529
+ const localVarPath = `/player-portal/{domainId}`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
18530
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18531
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18532
+ let baseOptions;
18533
+ if (configuration) {
18534
+ baseOptions = configuration.baseOptions;
18535
+ }
18536
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
18537
+ const localVarHeaderParameter = {};
18538
+ const localVarQueryParameter = {};
18539
+ // authentication bearerAuth required
18540
+ // http bearer authentication required
18541
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
18542
+ // authentication domainAuth required
18543
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18544
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18545
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18546
+ return {
18547
+ url: toPathString(localVarUrlObj),
18548
+ options: localVarRequestOptions,
18549
+ };
17631
18550
  },
17632
18551
  /**
17633
- * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
17634
- * @summary Refresh registry manifest
18552
+ * 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`
18553
+ * @summary Unlink your own Player
18554
+ * @param {string} domainId
18555
+ * @param {string} playerId
18556
+ * @param {*} [options] Override http request option.
18557
+ * @throws {RequiredError}
18558
+ */
18559
+ playerPortalControllerUnlinkSelf: async (domainId, playerId, options = {}) => {
18560
+ // verify required parameter 'domainId' is not null or undefined
18561
+ assertParamExists('playerPortalControllerUnlinkSelf', 'domainId', domainId);
18562
+ // verify required parameter 'playerId' is not null or undefined
18563
+ assertParamExists('playerPortalControllerUnlinkSelf', 'playerId', playerId);
18564
+ const localVarPath = `/player-portal/{domainId}/link/{playerId}`
18565
+ .replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)))
18566
+ .replace(`{${'playerId'}}`, encodeURIComponent(String(playerId)));
18567
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18568
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18569
+ let baseOptions;
18570
+ if (configuration) {
18571
+ baseOptions = configuration.baseOptions;
18572
+ }
18573
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
18574
+ const localVarHeaderParameter = {};
18575
+ const localVarQueryParameter = {};
18576
+ // authentication bearerAuth required
18577
+ // http bearer authentication required
18578
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
18579
+ // authentication domainAuth required
18580
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18581
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18582
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18583
+ return {
18584
+ url: toPathString(localVarUrlObj),
18585
+ options: localVarRequestOptions,
18586
+ };
18587
+ },
18588
+ };
18589
+ };
18590
+ /**
18591
+ * PlayerPortalApi - functional programming interface
18592
+ * @export
18593
+ */
18594
+ export const PlayerPortalApiFp = function (configuration) {
18595
+ const localVarAxiosParamCreator = PlayerPortalApiAxiosParamCreator(configuration);
18596
+ return {
18597
+ /**
18598
+ * 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`
18599
+ * @summary Dismiss the displaced notice
18600
+ * @param {string} domainId
18601
+ * @param {*} [options] Override http request option.
18602
+ * @throws {RequiredError}
18603
+ */
18604
+ async playerPortalControllerDismissDisplacedNotice(domainId, options) {
18605
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerDismissDisplacedNotice(domainId, options);
18606
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18607
+ const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerDismissDisplacedNotice']?.[localVarOperationServerIndex]?.url;
18608
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18609
+ },
18610
+ /**
18611
+ * 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`
18612
+ * @summary Enter a Domain\'s Player Portal
18613
+ * @param {string} domainId
18614
+ * @param {*} [options] Override http request option.
18615
+ * @throws {RequiredError}
18616
+ */
18617
+ async playerPortalControllerEnter(domainId, options) {
18618
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerEnter(domainId, options);
18619
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18620
+ const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerEnter']?.[localVarOperationServerIndex]?.url;
18621
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18622
+ },
18623
+ /**
18624
+ * 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`
18625
+ * @summary Inspect a game-issued Link Code
18626
+ * @param {string} domainId
18627
+ * @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
18628
+ * @param {*} [options] Override http request option.
18629
+ * @throws {RequiredError}
18630
+ */
18631
+ async playerPortalControllerInspectLinkCode(domainId, playerPortalLinkCodeInputDTO, options) {
18632
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerInspectLinkCode(domainId, playerPortalLinkCodeInputDTO, options);
18633
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18634
+ const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerInspectLinkCode']?.[localVarOperationServerIndex]
18635
+ ?.url;
18636
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18637
+ },
18638
+ /**
18639
+ * 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`
18640
+ * @summary Get a Link Code to type in game
18641
+ * @param {string} domainId
18642
+ * @param {PlayerPortalIssueLinkCodeInputDTO} [playerPortalIssueLinkCodeInputDTO] PlayerPortalIssueLinkCodeInputDTO
18643
+ * @param {*} [options] Override http request option.
18644
+ * @throws {RequiredError}
18645
+ */
18646
+ async playerPortalControllerIssuePortalLinkCode(domainId, playerPortalIssueLinkCodeInputDTO, options) {
18647
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerIssuePortalLinkCode(domainId, playerPortalIssueLinkCodeInputDTO, options);
18648
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18649
+ const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerIssuePortalLinkCode']?.[localVarOperationServerIndex]
18650
+ ?.url;
18651
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18652
+ },
18653
+ /**
18654
+ * 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`
18655
+ * @summary Redeem 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 playerPortalControllerRedeemLinkCode(domainId, playerPortalLinkCodeInputDTO, options) {
18662
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerRedeemLinkCode(domainId, playerPortalLinkCodeInputDTO, options);
18663
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18664
+ const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerRedeemLinkCode']?.[localVarOperationServerIndex]?.url;
18665
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18666
+ },
18667
+ /**
18668
+ * 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`
18669
+ * @summary Find a game-issued Link Code\'s Player Portal
18670
+ * @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
18671
+ * @param {*} [options] Override http request option.
18672
+ * @throws {RequiredError}
18673
+ */
18674
+ async playerPortalControllerResolveLinkCode(playerPortalLinkCodeInputDTO, options) {
18675
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerResolveLinkCode(playerPortalLinkCodeInputDTO, options);
18676
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18677
+ const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerResolveLinkCode']?.[localVarOperationServerIndex]
18678
+ ?.url;
18679
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18680
+ },
18681
+ /**
18682
+ * 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`
18683
+ * @summary Get a Domain\'s Player Portal state
18684
+ * @param {string} domainId
18685
+ * @param {*} [options] Override http request option.
18686
+ * @throws {RequiredError}
18687
+ */
18688
+ async playerPortalControllerState(domainId, options) {
18689
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerState(domainId, options);
18690
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18691
+ const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerState']?.[localVarOperationServerIndex]?.url;
18692
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18693
+ },
18694
+ /**
18695
+ * 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`
18696
+ * @summary Unlink your own Player
18697
+ * @param {string} domainId
18698
+ * @param {string} playerId
18699
+ * @param {*} [options] Override http request option.
18700
+ * @throws {RequiredError}
18701
+ */
18702
+ async playerPortalControllerUnlinkSelf(domainId, playerId, options) {
18703
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerPortalControllerUnlinkSelf(domainId, playerId, options);
18704
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18705
+ const localVarOperationServerBasePath = operationServerMap['PlayerPortalApi.playerPortalControllerUnlinkSelf']?.[localVarOperationServerIndex]?.url;
18706
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18707
+ },
18708
+ };
18709
+ };
18710
+ /**
18711
+ * PlayerPortalApi - factory interface
18712
+ * @export
18713
+ */
18714
+ export const PlayerPortalApiFactory = function (configuration, basePath, axios) {
18715
+ const localVarFp = PlayerPortalApiFp(configuration);
18716
+ return {
18717
+ /**
18718
+ * 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`
18719
+ * @summary Dismiss the displaced notice
18720
+ * @param {string} domainId
18721
+ * @param {*} [options] Override http request option.
18722
+ * @throws {RequiredError}
18723
+ */
18724
+ playerPortalControllerDismissDisplacedNotice(domainId, options) {
18725
+ return localVarFp
18726
+ .playerPortalControllerDismissDisplacedNotice(domainId, options)
18727
+ .then((request) => request(axios, basePath));
18728
+ },
18729
+ /**
18730
+ * 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`
18731
+ * @summary Enter a Domain\'s Player Portal
18732
+ * @param {string} domainId
18733
+ * @param {*} [options] Override http request option.
18734
+ * @throws {RequiredError}
18735
+ */
18736
+ playerPortalControllerEnter(domainId, options) {
18737
+ return localVarFp.playerPortalControllerEnter(domainId, options).then((request) => request(axios, basePath));
18738
+ },
18739
+ /**
18740
+ * 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`
18741
+ * @summary Inspect a game-issued Link Code
18742
+ * @param {string} domainId
18743
+ * @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
18744
+ * @param {*} [options] Override http request option.
18745
+ * @throws {RequiredError}
18746
+ */
18747
+ playerPortalControllerInspectLinkCode(domainId, playerPortalLinkCodeInputDTO, options) {
18748
+ return localVarFp
18749
+ .playerPortalControllerInspectLinkCode(domainId, playerPortalLinkCodeInputDTO, options)
18750
+ .then((request) => request(axios, basePath));
18751
+ },
18752
+ /**
18753
+ * 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`
18754
+ * @summary Get a Link Code to type in game
18755
+ * @param {string} domainId
18756
+ * @param {PlayerPortalIssueLinkCodeInputDTO} [playerPortalIssueLinkCodeInputDTO] PlayerPortalIssueLinkCodeInputDTO
18757
+ * @param {*} [options] Override http request option.
18758
+ * @throws {RequiredError}
18759
+ */
18760
+ playerPortalControllerIssuePortalLinkCode(domainId, playerPortalIssueLinkCodeInputDTO, options) {
18761
+ return localVarFp
18762
+ .playerPortalControllerIssuePortalLinkCode(domainId, playerPortalIssueLinkCodeInputDTO, options)
18763
+ .then((request) => request(axios, basePath));
18764
+ },
18765
+ /**
18766
+ * 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`
18767
+ * @summary Redeem a game-issued Link Code
18768
+ * @param {string} domainId
18769
+ * @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
18770
+ * @param {*} [options] Override http request option.
18771
+ * @throws {RequiredError}
18772
+ */
18773
+ playerPortalControllerRedeemLinkCode(domainId, playerPortalLinkCodeInputDTO, options) {
18774
+ return localVarFp
18775
+ .playerPortalControllerRedeemLinkCode(domainId, playerPortalLinkCodeInputDTO, options)
18776
+ .then((request) => request(axios, basePath));
18777
+ },
18778
+ /**
18779
+ * 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`
18780
+ * @summary Find a game-issued Link Code\'s Player Portal
18781
+ * @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
18782
+ * @param {*} [options] Override http request option.
18783
+ * @throws {RequiredError}
18784
+ */
18785
+ playerPortalControllerResolveLinkCode(playerPortalLinkCodeInputDTO, options) {
18786
+ return localVarFp
18787
+ .playerPortalControllerResolveLinkCode(playerPortalLinkCodeInputDTO, options)
18788
+ .then((request) => request(axios, basePath));
18789
+ },
18790
+ /**
18791
+ * 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`
18792
+ * @summary Get a Domain\'s Player Portal state
18793
+ * @param {string} domainId
18794
+ * @param {*} [options] Override http request option.
18795
+ * @throws {RequiredError}
18796
+ */
18797
+ playerPortalControllerState(domainId, options) {
18798
+ return localVarFp.playerPortalControllerState(domainId, options).then((request) => request(axios, basePath));
18799
+ },
18800
+ /**
18801
+ * 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`
18802
+ * @summary Unlink your own Player
18803
+ * @param {string} domainId
18804
+ * @param {string} playerId
18805
+ * @param {*} [options] Override http request option.
18806
+ * @throws {RequiredError}
18807
+ */
18808
+ playerPortalControllerUnlinkSelf(domainId, playerId, options) {
18809
+ return localVarFp
18810
+ .playerPortalControllerUnlinkSelf(domainId, playerId, options)
18811
+ .then((request) => request(axios, basePath));
18812
+ },
18813
+ };
18814
+ };
18815
+ /**
18816
+ * PlayerPortalApi - object-oriented interface
18817
+ * @export
18818
+ * @class PlayerPortalApi
18819
+ * @extends {BaseAPI}
18820
+ */
18821
+ export class PlayerPortalApi extends BaseAPI {
18822
+ /**
18823
+ * 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`
18824
+ * @summary Dismiss the displaced notice
18825
+ * @param {string} domainId
18826
+ * @param {*} [options] Override http request option.
18827
+ * @throws {RequiredError}
18828
+ * @memberof PlayerPortalApi
18829
+ */
18830
+ playerPortalControllerDismissDisplacedNotice(domainId, options) {
18831
+ return PlayerPortalApiFp(this.configuration)
18832
+ .playerPortalControllerDismissDisplacedNotice(domainId, options)
18833
+ .then((request) => request(this.axios, this.basePath));
18834
+ }
18835
+ /**
18836
+ * 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`
18837
+ * @summary Enter a Domain\'s Player Portal
18838
+ * @param {string} domainId
18839
+ * @param {*} [options] Override http request option.
18840
+ * @throws {RequiredError}
18841
+ * @memberof PlayerPortalApi
18842
+ */
18843
+ playerPortalControllerEnter(domainId, options) {
18844
+ return PlayerPortalApiFp(this.configuration)
18845
+ .playerPortalControllerEnter(domainId, options)
18846
+ .then((request) => request(this.axios, this.basePath));
18847
+ }
18848
+ /**
18849
+ * 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`
18850
+ * @summary Inspect a game-issued Link Code
18851
+ * @param {string} domainId
18852
+ * @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
18853
+ * @param {*} [options] Override http request option.
18854
+ * @throws {RequiredError}
18855
+ * @memberof PlayerPortalApi
18856
+ */
18857
+ playerPortalControllerInspectLinkCode(domainId, playerPortalLinkCodeInputDTO, options) {
18858
+ return PlayerPortalApiFp(this.configuration)
18859
+ .playerPortalControllerInspectLinkCode(domainId, playerPortalLinkCodeInputDTO, options)
18860
+ .then((request) => request(this.axios, this.basePath));
18861
+ }
18862
+ /**
18863
+ * 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`
18864
+ * @summary Get a Link Code to type in game
18865
+ * @param {string} domainId
18866
+ * @param {PlayerPortalIssueLinkCodeInputDTO} [playerPortalIssueLinkCodeInputDTO] PlayerPortalIssueLinkCodeInputDTO
18867
+ * @param {*} [options] Override http request option.
18868
+ * @throws {RequiredError}
18869
+ * @memberof PlayerPortalApi
18870
+ */
18871
+ playerPortalControllerIssuePortalLinkCode(domainId, playerPortalIssueLinkCodeInputDTO, options) {
18872
+ return PlayerPortalApiFp(this.configuration)
18873
+ .playerPortalControllerIssuePortalLinkCode(domainId, playerPortalIssueLinkCodeInputDTO, options)
18874
+ .then((request) => request(this.axios, this.basePath));
18875
+ }
18876
+ /**
18877
+ * 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`
18878
+ * @summary Redeem a game-issued Link Code
18879
+ * @param {string} domainId
18880
+ * @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
18881
+ * @param {*} [options] Override http request option.
18882
+ * @throws {RequiredError}
18883
+ * @memberof PlayerPortalApi
18884
+ */
18885
+ playerPortalControllerRedeemLinkCode(domainId, playerPortalLinkCodeInputDTO, options) {
18886
+ return PlayerPortalApiFp(this.configuration)
18887
+ .playerPortalControllerRedeemLinkCode(domainId, playerPortalLinkCodeInputDTO, options)
18888
+ .then((request) => request(this.axios, this.basePath));
18889
+ }
18890
+ /**
18891
+ * 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`
18892
+ * @summary Find a game-issued Link Code\'s Player Portal
18893
+ * @param {PlayerPortalLinkCodeInputDTO} [playerPortalLinkCodeInputDTO] PlayerPortalLinkCodeInputDTO
18894
+ * @param {*} [options] Override http request option.
18895
+ * @throws {RequiredError}
18896
+ * @memberof PlayerPortalApi
18897
+ */
18898
+ playerPortalControllerResolveLinkCode(playerPortalLinkCodeInputDTO, options) {
18899
+ return PlayerPortalApiFp(this.configuration)
18900
+ .playerPortalControllerResolveLinkCode(playerPortalLinkCodeInputDTO, options)
18901
+ .then((request) => request(this.axios, this.basePath));
18902
+ }
18903
+ /**
18904
+ * 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`
18905
+ * @summary Get a Domain\'s Player Portal state
18906
+ * @param {string} domainId
18907
+ * @param {*} [options] Override http request option.
18908
+ * @throws {RequiredError}
18909
+ * @memberof PlayerPortalApi
18910
+ */
18911
+ playerPortalControllerState(domainId, options) {
18912
+ return PlayerPortalApiFp(this.configuration)
18913
+ .playerPortalControllerState(domainId, options)
18914
+ .then((request) => request(this.axios, this.basePath));
18915
+ }
18916
+ /**
18917
+ * 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`
18918
+ * @summary Unlink your own Player
18919
+ * @param {string} domainId
18920
+ * @param {string} playerId
18921
+ * @param {*} [options] Override http request option.
18922
+ * @throws {RequiredError}
18923
+ * @memberof PlayerPortalApi
18924
+ */
18925
+ playerPortalControllerUnlinkSelf(domainId, playerId, options) {
18926
+ return PlayerPortalApiFp(this.configuration)
18927
+ .playerPortalControllerUnlinkSelf(domainId, playerId, options)
18928
+ .then((request) => request(this.axios, this.basePath));
18929
+ }
18930
+ }
18931
+ /**
18932
+ * RegistryApi - axios parameter creator
18933
+ * @export
18934
+ */
18935
+ export const RegistryApiAxiosParamCreator = function (configuration) {
18936
+ return {
18937
+ /**
18938
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
18939
+ * @summary Install a module from a registry
18940
+ * @param {string} id
18941
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
18942
+ * @param {*} [options] Override http request option.
18943
+ * @throws {RequiredError}
18944
+ */
18945
+ registryControllerInstall: async (id, registryInstallBody, options = {}) => {
18946
+ // verify required parameter 'id' is not null or undefined
18947
+ assertParamExists('registryControllerInstall', 'id', id);
18948
+ const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
18949
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18950
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18951
+ let baseOptions;
18952
+ if (configuration) {
18953
+ baseOptions = configuration.baseOptions;
18954
+ }
18955
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
18956
+ const localVarHeaderParameter = {};
18957
+ const localVarQueryParameter = {};
18958
+ // authentication bearerAuth required
18959
+ // http bearer authentication required
18960
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
18961
+ // authentication domainAuth required
18962
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18963
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18964
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18965
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18966
+ localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
18967
+ return {
18968
+ url: toPathString(localVarUrlObj),
18969
+ options: localVarRequestOptions,
18970
+ };
18971
+ },
18972
+ /**
18973
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
18974
+ * @summary List subscribed registries
18975
+ * @param {*} [options] Override http request option.
18976
+ * @throws {RequiredError}
18977
+ */
18978
+ registryControllerList: async (options = {}) => {
18979
+ const localVarPath = `/registry`;
18980
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18981
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18982
+ let baseOptions;
18983
+ if (configuration) {
18984
+ baseOptions = configuration.baseOptions;
18985
+ }
18986
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
18987
+ const localVarHeaderParameter = {};
18988
+ const localVarQueryParameter = {};
18989
+ // authentication bearerAuth required
18990
+ // http bearer authentication required
18991
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
18992
+ // authentication domainAuth required
18993
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18994
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18995
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18996
+ return {
18997
+ url: toPathString(localVarUrlObj),
18998
+ options: localVarRequestOptions,
18999
+ };
19000
+ },
19001
+ /**
19002
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
19003
+ * @summary Refresh registry manifest
19004
+ * @param {string} id
19005
+ * @param {*} [options] Override http request option.
19006
+ * @throws {RequiredError}
19007
+ */
19008
+ registryControllerRefresh: async (id, options = {}) => {
19009
+ // verify required parameter 'id' is not null or undefined
19010
+ assertParamExists('registryControllerRefresh', 'id', id);
19011
+ const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
19012
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19013
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19014
+ let baseOptions;
19015
+ if (configuration) {
19016
+ baseOptions = configuration.baseOptions;
19017
+ }
19018
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
19019
+ const localVarHeaderParameter = {};
19020
+ const localVarQueryParameter = {};
19021
+ // authentication bearerAuth required
19022
+ // http bearer authentication required
19023
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
19024
+ // authentication domainAuth required
19025
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19026
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19027
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
19028
+ return {
19029
+ url: toPathString(localVarUrlObj),
19030
+ options: localVarRequestOptions,
19031
+ };
19032
+ },
19033
+ /**
19034
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
19035
+ * @summary Subscribe to a registry
19036
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
19037
+ * @param {*} [options] Override http request option.
19038
+ * @throws {RequiredError}
19039
+ */
19040
+ registryControllerSubscribe: async (registrySubscribeBody, options = {}) => {
19041
+ const localVarPath = `/registry`;
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
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19056
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19057
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19058
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
19059
+ localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
19060
+ return {
19061
+ url: toPathString(localVarUrlObj),
19062
+ options: localVarRequestOptions,
19063
+ };
19064
+ },
19065
+ /**
19066
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
19067
+ * @summary Unsubscribe from a registry
19068
+ * @param {string} id
19069
+ * @param {*} [options] Override http request option.
19070
+ * @throws {RequiredError}
19071
+ */
19072
+ registryControllerUnsubscribe: async (id, options = {}) => {
19073
+ // verify required parameter 'id' is not null or undefined
19074
+ assertParamExists('registryControllerUnsubscribe', 'id', id);
19075
+ const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
19076
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19077
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19078
+ let baseOptions;
19079
+ if (configuration) {
19080
+ baseOptions = configuration.baseOptions;
19081
+ }
19082
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
19083
+ const localVarHeaderParameter = {};
19084
+ const localVarQueryParameter = {};
19085
+ // authentication bearerAuth required
19086
+ // http bearer authentication required
19087
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
19088
+ // authentication domainAuth required
19089
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19090
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19091
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
19092
+ return {
19093
+ url: toPathString(localVarUrlObj),
19094
+ options: localVarRequestOptions,
19095
+ };
19096
+ },
19097
+ };
19098
+ };
19099
+ /**
19100
+ * RegistryApi - functional programming interface
19101
+ * @export
19102
+ */
19103
+ export const RegistryApiFp = function (configuration) {
19104
+ const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
19105
+ return {
19106
+ /**
19107
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
19108
+ * @summary Install a module from a registry
19109
+ * @param {string} id
19110
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
19111
+ * @param {*} [options] Override http request option.
19112
+ * @throws {RequiredError}
19113
+ */
19114
+ async registryControllerInstall(id, registryInstallBody, options) {
19115
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(id, registryInstallBody, options);
19116
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19117
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
19118
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19119
+ },
19120
+ /**
19121
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
19122
+ * @summary List subscribed registries
19123
+ * @param {*} [options] Override http request option.
19124
+ * @throws {RequiredError}
19125
+ */
19126
+ async registryControllerList(options) {
19127
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
19128
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19129
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
19130
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19131
+ },
19132
+ /**
19133
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
19134
+ * @summary Refresh registry manifest
17635
19135
  * @param {string} id
17636
19136
  * @param {*} [options] Override http request option.
17637
19137
  * @throws {RequiredError}
@@ -22300,7 +23800,7 @@ export class ThreadApi extends BaseAPI {
22300
23800
  export const TrackingApiAxiosParamCreator = function (configuration) {
22301
23801
  return {
22302
23802
  /**
22303
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
23803
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
22304
23804
  * @summary Get bounding box players
22305
23805
  * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
22306
23806
  * @param {*} [options] Override http request option.
@@ -22332,7 +23832,103 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
22332
23832
  };
22333
23833
  },
22334
23834
  /**
22335
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
23835
+ * 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`
23836
+ * @summary Get inventory at
23837
+ * @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
23838
+ * @param {*} [options] Override http request option.
23839
+ * @throws {RequiredError}
23840
+ */
23841
+ trackingControllerGetInventoryAt: async (inventoryAtInputDTO, options = {}) => {
23842
+ const localVarPath = `/tracking/inventory/at`;
23843
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23844
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23845
+ let baseOptions;
23846
+ if (configuration) {
23847
+ baseOptions = configuration.baseOptions;
23848
+ }
23849
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
23850
+ const localVarHeaderParameter = {};
23851
+ const localVarQueryParameter = {};
23852
+ // authentication bearerAuth required
23853
+ // http bearer authentication required
23854
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
23855
+ // authentication domainAuth required
23856
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23857
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23858
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23859
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23860
+ localVarRequestOptions.data = serializeDataIfNeeded(inventoryAtInputDTO, localVarRequestOptions, configuration);
23861
+ return {
23862
+ url: toPathString(localVarUrlObj),
23863
+ options: localVarRequestOptions,
23864
+ };
23865
+ },
23866
+ /**
23867
+ * 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`
23868
+ * @summary Get inventory changes
23869
+ * @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
23870
+ * @param {*} [options] Override http request option.
23871
+ * @throws {RequiredError}
23872
+ */
23873
+ trackingControllerGetInventoryChanges: async (inventoryChangesInputDTO, options = {}) => {
23874
+ const localVarPath = `/tracking/inventory/changes`;
23875
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23876
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23877
+ let baseOptions;
23878
+ if (configuration) {
23879
+ baseOptions = configuration.baseOptions;
23880
+ }
23881
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
23882
+ const localVarHeaderParameter = {};
23883
+ const localVarQueryParameter = {};
23884
+ // authentication bearerAuth required
23885
+ // http bearer authentication required
23886
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
23887
+ // authentication domainAuth required
23888
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23889
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23890
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23891
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23892
+ localVarRequestOptions.data = serializeDataIfNeeded(inventoryChangesInputDTO, localVarRequestOptions, configuration);
23893
+ return {
23894
+ url: toPathString(localVarUrlObj),
23895
+ options: localVarRequestOptions,
23896
+ };
23897
+ },
23898
+ /**
23899
+ * 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`
23900
+ * @summary Get item holders
23901
+ * @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
23902
+ * @param {*} [options] Override http request option.
23903
+ * @throws {RequiredError}
23904
+ */
23905
+ trackingControllerGetItemHolders: async (itemHoldersInputDTO, options = {}) => {
23906
+ const localVarPath = `/tracking/items/holders`;
23907
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23908
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23909
+ let baseOptions;
23910
+ if (configuration) {
23911
+ baseOptions = configuration.baseOptions;
23912
+ }
23913
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
23914
+ const localVarHeaderParameter = {};
23915
+ const localVarQueryParameter = {};
23916
+ // authentication bearerAuth required
23917
+ // http bearer authentication required
23918
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
23919
+ // authentication domainAuth required
23920
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23921
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23922
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23923
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23924
+ localVarRequestOptions.data = serializeDataIfNeeded(itemHoldersInputDTO, localVarRequestOptions, configuration);
23925
+ return {
23926
+ url: toPathString(localVarUrlObj),
23927
+ options: localVarRequestOptions,
23928
+ };
23929
+ },
23930
+ /**
23931
+ * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
22336
23932
  * @summary Get player inventory history
22337
23933
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
22338
23934
  * @param {*} [options] Override http request option.
@@ -22364,7 +23960,7 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
22364
23960
  };
22365
23961
  },
22366
23962
  /**
22367
- * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
23963
+ * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
22368
23964
  * @summary Get player movement history
22369
23965
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
22370
23966
  * @param {*} [options] Override http request option.
@@ -22396,14 +23992,206 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
22396
23992
  };
22397
23993
  },
22398
23994
  /**
22399
- * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
22400
- * @summary Get players by item
22401
- * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
23995
+ * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
23996
+ * @summary Get players by item
23997
+ * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
23998
+ * @param {*} [options] Override http request option.
23999
+ * @throws {RequiredError}
24000
+ */
24001
+ trackingControllerGetPlayersByItem: async (playersByItemInputDTO, options = {}) => {
24002
+ const localVarPath = `/tracking/inventory/item`;
24003
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24004
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24005
+ let baseOptions;
24006
+ if (configuration) {
24007
+ baseOptions = configuration.baseOptions;
24008
+ }
24009
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24010
+ const localVarHeaderParameter = {};
24011
+ const localVarQueryParameter = {};
24012
+ // authentication bearerAuth required
24013
+ // http bearer authentication required
24014
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24015
+ // authentication domainAuth required
24016
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24017
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24018
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24019
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24020
+ localVarRequestOptions.data = serializeDataIfNeeded(playersByItemInputDTO, localVarRequestOptions, configuration);
24021
+ return {
24022
+ url: toPathString(localVarUrlObj),
24023
+ options: localVarRequestOptions,
24024
+ };
24025
+ },
24026
+ /**
24027
+ * 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`
24028
+ * @summary Get position area samples
24029
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24030
+ * @param {*} [options] Override http request option.
24031
+ * @throws {RequiredError}
24032
+ */
24033
+ trackingControllerGetPositionAreaSamples: async (positionAreaInputDTO, options = {}) => {
24034
+ const localVarPath = `/tracking/positions/area/samples`;
24035
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24036
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24037
+ let baseOptions;
24038
+ if (configuration) {
24039
+ baseOptions = configuration.baseOptions;
24040
+ }
24041
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24042
+ const localVarHeaderParameter = {};
24043
+ const localVarQueryParameter = {};
24044
+ // authentication bearerAuth required
24045
+ // http bearer authentication required
24046
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24047
+ // authentication domainAuth required
24048
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24049
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24050
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24051
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24052
+ localVarRequestOptions.data = serializeDataIfNeeded(positionAreaInputDTO, localVarRequestOptions, configuration);
24053
+ return {
24054
+ url: toPathString(localVarUrlObj),
24055
+ options: localVarRequestOptions,
24056
+ };
24057
+ },
24058
+ /**
24059
+ * 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`
24060
+ * @summary Get position snapshot
24061
+ * @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
24062
+ * @param {*} [options] Override http request option.
24063
+ * @throws {RequiredError}
24064
+ */
24065
+ trackingControllerGetPositionSnapshot: async (positionSnapshotInputDTO, options = {}) => {
24066
+ const localVarPath = `/tracking/positions/snapshot`;
24067
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24068
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24069
+ let baseOptions;
24070
+ if (configuration) {
24071
+ baseOptions = configuration.baseOptions;
24072
+ }
24073
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24074
+ const localVarHeaderParameter = {};
24075
+ const localVarQueryParameter = {};
24076
+ // authentication bearerAuth required
24077
+ // http bearer authentication required
24078
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24079
+ // authentication domainAuth required
24080
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24081
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24082
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24083
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24084
+ localVarRequestOptions.data = serializeDataIfNeeded(positionSnapshotInputDTO, localVarRequestOptions, configuration);
24085
+ return {
24086
+ url: toPathString(localVarUrlObj),
24087
+ options: localVarRequestOptions,
24088
+ };
24089
+ },
24090
+ /**
24091
+ * 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`
24092
+ * @summary Get position tracks
24093
+ * @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
24094
+ * @param {*} [options] Override http request option.
24095
+ * @throws {RequiredError}
24096
+ */
24097
+ trackingControllerGetPositionTracks: async (positionTracksInputDTO, options = {}) => {
24098
+ const localVarPath = `/tracking/positions/tracks`;
24099
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24100
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24101
+ let baseOptions;
24102
+ if (configuration) {
24103
+ baseOptions = configuration.baseOptions;
24104
+ }
24105
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24106
+ const localVarHeaderParameter = {};
24107
+ const localVarQueryParameter = {};
24108
+ // authentication bearerAuth required
24109
+ // http bearer authentication required
24110
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24111
+ // authentication domainAuth required
24112
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24113
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24114
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24115
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24116
+ localVarRequestOptions.data = serializeDataIfNeeded(positionTracksInputDTO, localVarRequestOptions, configuration);
24117
+ return {
24118
+ url: toPathString(localVarUrlObj),
24119
+ options: localVarRequestOptions,
24120
+ };
24121
+ },
24122
+ /**
24123
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
24124
+ * @summary Get radius players
24125
+ * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
24126
+ * @param {*} [options] Override http request option.
24127
+ * @throws {RequiredError}
24128
+ */
24129
+ trackingControllerGetRadiusPlayers: async (radiusSearchInputDTO, options = {}) => {
24130
+ const localVarPath = `/tracking/location/radius`;
24131
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24132
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24133
+ let baseOptions;
24134
+ if (configuration) {
24135
+ baseOptions = configuration.baseOptions;
24136
+ }
24137
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24138
+ const localVarHeaderParameter = {};
24139
+ const localVarQueryParameter = {};
24140
+ // authentication bearerAuth required
24141
+ // http bearer authentication required
24142
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24143
+ // authentication domainAuth required
24144
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24145
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24147
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24148
+ localVarRequestOptions.data = serializeDataIfNeeded(radiusSearchInputDTO, localVarRequestOptions, configuration);
24149
+ return {
24150
+ url: toPathString(localVarUrlObj),
24151
+ options: localVarRequestOptions,
24152
+ };
24153
+ },
24154
+ /**
24155
+ * 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`
24156
+ * @summary Search area gains
24157
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24158
+ * @param {*} [options] Override http request option.
24159
+ * @throws {RequiredError}
24160
+ */
24161
+ trackingControllerSearchAreaGains: async (positionAreaInputDTO, options = {}) => {
24162
+ const localVarPath = `/tracking/inventory/area-gains`;
24163
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24164
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24165
+ let baseOptions;
24166
+ if (configuration) {
24167
+ baseOptions = configuration.baseOptions;
24168
+ }
24169
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24170
+ const localVarHeaderParameter = {};
24171
+ const localVarQueryParameter = {};
24172
+ // authentication bearerAuth required
24173
+ // http bearer authentication required
24174
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24175
+ // authentication domainAuth required
24176
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24177
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24178
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24179
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24180
+ localVarRequestOptions.data = serializeDataIfNeeded(positionAreaInputDTO, localVarRequestOptions, configuration);
24181
+ return {
24182
+ url: toPathString(localVarUrlObj),
24183
+ options: localVarRequestOptions,
24184
+ };
24185
+ },
24186
+ /**
24187
+ * 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`
24188
+ * @summary Search events
24189
+ * @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
22402
24190
  * @param {*} [options] Override http request option.
22403
24191
  * @throws {RequiredError}
22404
24192
  */
22405
- trackingControllerGetPlayersByItem: async (playersByItemInputDTO, options = {}) => {
22406
- const localVarPath = `/tracking/inventory/item`;
24193
+ trackingControllerSearchEvents: async (trackingEventsInputDTO, options = {}) => {
24194
+ const localVarPath = `/tracking/events`;
22407
24195
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22408
24196
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22409
24197
  let baseOptions;
@@ -22421,21 +24209,21 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
22421
24209
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22422
24210
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22423
24211
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22424
- localVarRequestOptions.data = serializeDataIfNeeded(playersByItemInputDTO, localVarRequestOptions, configuration);
24212
+ localVarRequestOptions.data = serializeDataIfNeeded(trackingEventsInputDTO, localVarRequestOptions, configuration);
22425
24213
  return {
22426
24214
  url: toPathString(localVarUrlObj),
22427
24215
  options: localVarRequestOptions,
22428
24216
  };
22429
24217
  },
22430
24218
  /**
22431
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
22432
- * @summary Get radius players
22433
- * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
24219
+ * 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`
24220
+ * @summary Search position area
24221
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
22434
24222
  * @param {*} [options] Override http request option.
22435
24223
  * @throws {RequiredError}
22436
24224
  */
22437
- trackingControllerGetRadiusPlayers: async (radiusSearchInputDTO, options = {}) => {
22438
- const localVarPath = `/tracking/location/radius`;
24225
+ trackingControllerSearchPositionArea: async (positionAreaInputDTO, options = {}) => {
24226
+ const localVarPath = `/tracking/positions/area`;
22439
24227
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22440
24228
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22441
24229
  let baseOptions;
@@ -22453,7 +24241,7 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
22453
24241
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22454
24242
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22455
24243
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22456
- localVarRequestOptions.data = serializeDataIfNeeded(radiusSearchInputDTO, localVarRequestOptions, configuration);
24244
+ localVarRequestOptions.data = serializeDataIfNeeded(positionAreaInputDTO, localVarRequestOptions, configuration);
22457
24245
  return {
22458
24246
  url: toPathString(localVarUrlObj),
22459
24247
  options: localVarRequestOptions,
@@ -22469,7 +24257,7 @@ export const TrackingApiFp = function (configuration) {
22469
24257
  const localVarAxiosParamCreator = TrackingApiAxiosParamCreator(configuration);
22470
24258
  return {
22471
24259
  /**
22472
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
24260
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
22473
24261
  * @summary Get bounding box players
22474
24262
  * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
22475
24263
  * @param {*} [options] Override http request option.
@@ -22482,7 +24270,46 @@ export const TrackingApiFp = function (configuration) {
22482
24270
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22483
24271
  },
22484
24272
  /**
22485
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
24273
+ * 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`
24274
+ * @summary Get inventory at
24275
+ * @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
24276
+ * @param {*} [options] Override http request option.
24277
+ * @throws {RequiredError}
24278
+ */
24279
+ async trackingControllerGetInventoryAt(inventoryAtInputDTO, options) {
24280
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetInventoryAt(inventoryAtInputDTO, options);
24281
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24282
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetInventoryAt']?.[localVarOperationServerIndex]?.url;
24283
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24284
+ },
24285
+ /**
24286
+ * 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`
24287
+ * @summary Get inventory changes
24288
+ * @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
24289
+ * @param {*} [options] Override http request option.
24290
+ * @throws {RequiredError}
24291
+ */
24292
+ async trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options) {
24293
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options);
24294
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24295
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetInventoryChanges']?.[localVarOperationServerIndex]?.url;
24296
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24297
+ },
24298
+ /**
24299
+ * 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`
24300
+ * @summary Get item holders
24301
+ * @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
24302
+ * @param {*} [options] Override http request option.
24303
+ * @throws {RequiredError}
24304
+ */
24305
+ async trackingControllerGetItemHolders(itemHoldersInputDTO, options) {
24306
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetItemHolders(itemHoldersInputDTO, options);
24307
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24308
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetItemHolders']?.[localVarOperationServerIndex]?.url;
24309
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24310
+ },
24311
+ /**
24312
+ * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
22486
24313
  * @summary Get player inventory history
22487
24314
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
22488
24315
  * @param {*} [options] Override http request option.
@@ -22496,7 +24323,7 @@ export const TrackingApiFp = function (configuration) {
22496
24323
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22497
24324
  },
22498
24325
  /**
22499
- * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
24326
+ * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
22500
24327
  * @summary Get player movement history
22501
24328
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
22502
24329
  * @param {*} [options] Override http request option.
@@ -22510,7 +24337,7 @@ export const TrackingApiFp = function (configuration) {
22510
24337
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22511
24338
  },
22512
24339
  /**
22513
- * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
24340
+ * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
22514
24341
  * @summary Get players by item
22515
24342
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
22516
24343
  * @param {*} [options] Override http request option.
@@ -22523,7 +24350,46 @@ export const TrackingApiFp = function (configuration) {
22523
24350
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22524
24351
  },
22525
24352
  /**
22526
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
24353
+ * 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`
24354
+ * @summary Get position area samples
24355
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24356
+ * @param {*} [options] Override http request option.
24357
+ * @throws {RequiredError}
24358
+ */
24359
+ async trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options) {
24360
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options);
24361
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24362
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPositionAreaSamples']?.[localVarOperationServerIndex]?.url;
24363
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24364
+ },
24365
+ /**
24366
+ * 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`
24367
+ * @summary Get position snapshot
24368
+ * @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
24369
+ * @param {*} [options] Override http request option.
24370
+ * @throws {RequiredError}
24371
+ */
24372
+ async trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options) {
24373
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options);
24374
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24375
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPositionSnapshot']?.[localVarOperationServerIndex]?.url;
24376
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24377
+ },
24378
+ /**
24379
+ * 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`
24380
+ * @summary Get position tracks
24381
+ * @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
24382
+ * @param {*} [options] Override http request option.
24383
+ * @throws {RequiredError}
24384
+ */
24385
+ async trackingControllerGetPositionTracks(positionTracksInputDTO, options) {
24386
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPositionTracks(positionTracksInputDTO, options);
24387
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24388
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPositionTracks']?.[localVarOperationServerIndex]?.url;
24389
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24390
+ },
24391
+ /**
24392
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
22527
24393
  * @summary Get radius players
22528
24394
  * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
22529
24395
  * @param {*} [options] Override http request option.
@@ -22535,6 +24401,45 @@ export const TrackingApiFp = function (configuration) {
22535
24401
  const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetRadiusPlayers']?.[localVarOperationServerIndex]?.url;
22536
24402
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22537
24403
  },
24404
+ /**
24405
+ * 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`
24406
+ * @summary Search area gains
24407
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24408
+ * @param {*} [options] Override http request option.
24409
+ * @throws {RequiredError}
24410
+ */
24411
+ async trackingControllerSearchAreaGains(positionAreaInputDTO, options) {
24412
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerSearchAreaGains(positionAreaInputDTO, options);
24413
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24414
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerSearchAreaGains']?.[localVarOperationServerIndex]?.url;
24415
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24416
+ },
24417
+ /**
24418
+ * 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`
24419
+ * @summary Search events
24420
+ * @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
24421
+ * @param {*} [options] Override http request option.
24422
+ * @throws {RequiredError}
24423
+ */
24424
+ async trackingControllerSearchEvents(trackingEventsInputDTO, options) {
24425
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerSearchEvents(trackingEventsInputDTO, options);
24426
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24427
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerSearchEvents']?.[localVarOperationServerIndex]?.url;
24428
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24429
+ },
24430
+ /**
24431
+ * 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`
24432
+ * @summary Search position area
24433
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24434
+ * @param {*} [options] Override http request option.
24435
+ * @throws {RequiredError}
24436
+ */
24437
+ async trackingControllerSearchPositionArea(positionAreaInputDTO, options) {
24438
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerSearchPositionArea(positionAreaInputDTO, options);
24439
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24440
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerSearchPositionArea']?.[localVarOperationServerIndex]?.url;
24441
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24442
+ },
22538
24443
  };
22539
24444
  };
22540
24445
  /**
@@ -22545,7 +24450,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22545
24450
  const localVarFp = TrackingApiFp(configuration);
22546
24451
  return {
22547
24452
  /**
22548
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
24453
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
22549
24454
  * @summary Get bounding box players
22550
24455
  * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
22551
24456
  * @param {*} [options] Override http request option.
@@ -22557,7 +24462,43 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22557
24462
  .then((request) => request(axios, basePath));
22558
24463
  },
22559
24464
  /**
22560
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
24465
+ * 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`
24466
+ * @summary Get inventory at
24467
+ * @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
24468
+ * @param {*} [options] Override http request option.
24469
+ * @throws {RequiredError}
24470
+ */
24471
+ trackingControllerGetInventoryAt(inventoryAtInputDTO, options) {
24472
+ return localVarFp
24473
+ .trackingControllerGetInventoryAt(inventoryAtInputDTO, options)
24474
+ .then((request) => request(axios, basePath));
24475
+ },
24476
+ /**
24477
+ * 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`
24478
+ * @summary Get inventory changes
24479
+ * @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
24480
+ * @param {*} [options] Override http request option.
24481
+ * @throws {RequiredError}
24482
+ */
24483
+ trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options) {
24484
+ return localVarFp
24485
+ .trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options)
24486
+ .then((request) => request(axios, basePath));
24487
+ },
24488
+ /**
24489
+ * 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`
24490
+ * @summary Get item holders
24491
+ * @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
24492
+ * @param {*} [options] Override http request option.
24493
+ * @throws {RequiredError}
24494
+ */
24495
+ trackingControllerGetItemHolders(itemHoldersInputDTO, options) {
24496
+ return localVarFp
24497
+ .trackingControllerGetItemHolders(itemHoldersInputDTO, options)
24498
+ .then((request) => request(axios, basePath));
24499
+ },
24500
+ /**
24501
+ * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
22561
24502
  * @summary Get player inventory history
22562
24503
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
22563
24504
  * @param {*} [options] Override http request option.
@@ -22569,7 +24510,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22569
24510
  .then((request) => request(axios, basePath));
22570
24511
  },
22571
24512
  /**
22572
- * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
24513
+ * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
22573
24514
  * @summary Get player movement history
22574
24515
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
22575
24516
  * @param {*} [options] Override http request option.
@@ -22581,7 +24522,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22581
24522
  .then((request) => request(axios, basePath));
22582
24523
  },
22583
24524
  /**
22584
- * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
24525
+ * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
22585
24526
  * @summary Get players by item
22586
24527
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
22587
24528
  * @param {*} [options] Override http request option.
@@ -22593,7 +24534,43 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22593
24534
  .then((request) => request(axios, basePath));
22594
24535
  },
22595
24536
  /**
22596
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
24537
+ * 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`
24538
+ * @summary Get position area samples
24539
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24540
+ * @param {*} [options] Override http request option.
24541
+ * @throws {RequiredError}
24542
+ */
24543
+ trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options) {
24544
+ return localVarFp
24545
+ .trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options)
24546
+ .then((request) => request(axios, basePath));
24547
+ },
24548
+ /**
24549
+ * 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`
24550
+ * @summary Get position snapshot
24551
+ * @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
24552
+ * @param {*} [options] Override http request option.
24553
+ * @throws {RequiredError}
24554
+ */
24555
+ trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options) {
24556
+ return localVarFp
24557
+ .trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options)
24558
+ .then((request) => request(axios, basePath));
24559
+ },
24560
+ /**
24561
+ * 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`
24562
+ * @summary Get position tracks
24563
+ * @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
24564
+ * @param {*} [options] Override http request option.
24565
+ * @throws {RequiredError}
24566
+ */
24567
+ trackingControllerGetPositionTracks(positionTracksInputDTO, options) {
24568
+ return localVarFp
24569
+ .trackingControllerGetPositionTracks(positionTracksInputDTO, options)
24570
+ .then((request) => request(axios, basePath));
24571
+ },
24572
+ /**
24573
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
22597
24574
  * @summary Get radius players
22598
24575
  * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
22599
24576
  * @param {*} [options] Override http request option.
@@ -22604,6 +24581,42 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22604
24581
  .trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options)
22605
24582
  .then((request) => request(axios, basePath));
22606
24583
  },
24584
+ /**
24585
+ * 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`
24586
+ * @summary Search area gains
24587
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24588
+ * @param {*} [options] Override http request option.
24589
+ * @throws {RequiredError}
24590
+ */
24591
+ trackingControllerSearchAreaGains(positionAreaInputDTO, options) {
24592
+ return localVarFp
24593
+ .trackingControllerSearchAreaGains(positionAreaInputDTO, options)
24594
+ .then((request) => request(axios, basePath));
24595
+ },
24596
+ /**
24597
+ * 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`
24598
+ * @summary Search events
24599
+ * @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
24600
+ * @param {*} [options] Override http request option.
24601
+ * @throws {RequiredError}
24602
+ */
24603
+ trackingControllerSearchEvents(trackingEventsInputDTO, options) {
24604
+ return localVarFp
24605
+ .trackingControllerSearchEvents(trackingEventsInputDTO, options)
24606
+ .then((request) => request(axios, basePath));
24607
+ },
24608
+ /**
24609
+ * 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`
24610
+ * @summary Search position area
24611
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24612
+ * @param {*} [options] Override http request option.
24613
+ * @throws {RequiredError}
24614
+ */
24615
+ trackingControllerSearchPositionArea(positionAreaInputDTO, options) {
24616
+ return localVarFp
24617
+ .trackingControllerSearchPositionArea(positionAreaInputDTO, options)
24618
+ .then((request) => request(axios, basePath));
24619
+ },
22607
24620
  };
22608
24621
  };
22609
24622
  /**
@@ -22614,7 +24627,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
22614
24627
  */
22615
24628
  export class TrackingApi extends BaseAPI {
22616
24629
  /**
22617
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
24630
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
22618
24631
  * @summary Get bounding box players
22619
24632
  * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
22620
24633
  * @param {*} [options] Override http request option.
@@ -22627,7 +24640,46 @@ export class TrackingApi extends BaseAPI {
22627
24640
  .then((request) => request(this.axios, this.basePath));
22628
24641
  }
22629
24642
  /**
22630
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
24643
+ * 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`
24644
+ * @summary Get inventory at
24645
+ * @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
24646
+ * @param {*} [options] Override http request option.
24647
+ * @throws {RequiredError}
24648
+ * @memberof TrackingApi
24649
+ */
24650
+ trackingControllerGetInventoryAt(inventoryAtInputDTO, options) {
24651
+ return TrackingApiFp(this.configuration)
24652
+ .trackingControllerGetInventoryAt(inventoryAtInputDTO, options)
24653
+ .then((request) => request(this.axios, this.basePath));
24654
+ }
24655
+ /**
24656
+ * 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`
24657
+ * @summary Get inventory changes
24658
+ * @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
24659
+ * @param {*} [options] Override http request option.
24660
+ * @throws {RequiredError}
24661
+ * @memberof TrackingApi
24662
+ */
24663
+ trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options) {
24664
+ return TrackingApiFp(this.configuration)
24665
+ .trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options)
24666
+ .then((request) => request(this.axios, this.basePath));
24667
+ }
24668
+ /**
24669
+ * 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`
24670
+ * @summary Get item holders
24671
+ * @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
24672
+ * @param {*} [options] Override http request option.
24673
+ * @throws {RequiredError}
24674
+ * @memberof TrackingApi
24675
+ */
24676
+ trackingControllerGetItemHolders(itemHoldersInputDTO, options) {
24677
+ return TrackingApiFp(this.configuration)
24678
+ .trackingControllerGetItemHolders(itemHoldersInputDTO, options)
24679
+ .then((request) => request(this.axios, this.basePath));
24680
+ }
24681
+ /**
24682
+ * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
22631
24683
  * @summary Get player inventory history
22632
24684
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
22633
24685
  * @param {*} [options] Override http request option.
@@ -22640,7 +24692,7 @@ export class TrackingApi extends BaseAPI {
22640
24692
  .then((request) => request(this.axios, this.basePath));
22641
24693
  }
22642
24694
  /**
22643
- * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
24695
+ * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
22644
24696
  * @summary Get player movement history
22645
24697
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
22646
24698
  * @param {*} [options] Override http request option.
@@ -22653,7 +24705,7 @@ export class TrackingApi extends BaseAPI {
22653
24705
  .then((request) => request(this.axios, this.basePath));
22654
24706
  }
22655
24707
  /**
22656
- * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
24708
+ * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
22657
24709
  * @summary Get players by item
22658
24710
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
22659
24711
  * @param {*} [options] Override http request option.
@@ -22666,7 +24718,46 @@ export class TrackingApi extends BaseAPI {
22666
24718
  .then((request) => request(this.axios, this.basePath));
22667
24719
  }
22668
24720
  /**
22669
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
24721
+ * 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`
24722
+ * @summary Get position area samples
24723
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24724
+ * @param {*} [options] Override http request option.
24725
+ * @throws {RequiredError}
24726
+ * @memberof TrackingApi
24727
+ */
24728
+ trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options) {
24729
+ return TrackingApiFp(this.configuration)
24730
+ .trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options)
24731
+ .then((request) => request(this.axios, this.basePath));
24732
+ }
24733
+ /**
24734
+ * 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`
24735
+ * @summary Get position snapshot
24736
+ * @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
24737
+ * @param {*} [options] Override http request option.
24738
+ * @throws {RequiredError}
24739
+ * @memberof TrackingApi
24740
+ */
24741
+ trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options) {
24742
+ return TrackingApiFp(this.configuration)
24743
+ .trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options)
24744
+ .then((request) => request(this.axios, this.basePath));
24745
+ }
24746
+ /**
24747
+ * 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`
24748
+ * @summary Get position tracks
24749
+ * @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
24750
+ * @param {*} [options] Override http request option.
24751
+ * @throws {RequiredError}
24752
+ * @memberof TrackingApi
24753
+ */
24754
+ trackingControllerGetPositionTracks(positionTracksInputDTO, options) {
24755
+ return TrackingApiFp(this.configuration)
24756
+ .trackingControllerGetPositionTracks(positionTracksInputDTO, options)
24757
+ .then((request) => request(this.axios, this.basePath));
24758
+ }
24759
+ /**
24760
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
22670
24761
  * @summary Get radius players
22671
24762
  * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
22672
24763
  * @param {*} [options] Override http request option.
@@ -22678,6 +24769,45 @@ export class TrackingApi extends BaseAPI {
22678
24769
  .trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options)
22679
24770
  .then((request) => request(this.axios, this.basePath));
22680
24771
  }
24772
+ /**
24773
+ * 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`
24774
+ * @summary Search area gains
24775
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24776
+ * @param {*} [options] Override http request option.
24777
+ * @throws {RequiredError}
24778
+ * @memberof TrackingApi
24779
+ */
24780
+ trackingControllerSearchAreaGains(positionAreaInputDTO, options) {
24781
+ return TrackingApiFp(this.configuration)
24782
+ .trackingControllerSearchAreaGains(positionAreaInputDTO, options)
24783
+ .then((request) => request(this.axios, this.basePath));
24784
+ }
24785
+ /**
24786
+ * 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`
24787
+ * @summary Search events
24788
+ * @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
24789
+ * @param {*} [options] Override http request option.
24790
+ * @throws {RequiredError}
24791
+ * @memberof TrackingApi
24792
+ */
24793
+ trackingControllerSearchEvents(trackingEventsInputDTO, options) {
24794
+ return TrackingApiFp(this.configuration)
24795
+ .trackingControllerSearchEvents(trackingEventsInputDTO, options)
24796
+ .then((request) => request(this.axios, this.basePath));
24797
+ }
24798
+ /**
24799
+ * 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`
24800
+ * @summary Search position area
24801
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24802
+ * @param {*} [options] Override http request option.
24803
+ * @throws {RequiredError}
24804
+ * @memberof TrackingApi
24805
+ */
24806
+ trackingControllerSearchPositionArea(positionAreaInputDTO, options) {
24807
+ return TrackingApiFp(this.configuration)
24808
+ .trackingControllerSearchPositionArea(positionAreaInputDTO, options)
24809
+ .then((request) => request(this.axios, this.basePath));
24810
+ }
22681
24811
  }
22682
24812
  /**
22683
24813
  * UserApi - axios parameter creator
@@ -22912,38 +25042,6 @@ export const UserApiAxiosParamCreator = function (configuration) {
22912
25042
  options: localVarRequestOptions,
22913
25043
  };
22914
25044
  },
22915
- /**
22916
- * 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`
22917
- * @summary Link player profile
22918
- * @param {LinkPlayerUnauthedInputDTO} [linkPlayerUnauthedInputDTO] LinkPlayerUnauthedInputDTO
22919
- * @param {*} [options] Override http request option.
22920
- * @throws {RequiredError}
22921
- */
22922
- userControllerLinkPlayerProfile: async (linkPlayerUnauthedInputDTO, options = {}) => {
22923
- const localVarPath = `/user/player`;
22924
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
22925
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22926
- let baseOptions;
22927
- if (configuration) {
22928
- baseOptions = configuration.baseOptions;
22929
- }
22930
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
22931
- const localVarHeaderParameter = {};
22932
- const localVarQueryParameter = {};
22933
- // authentication bearerAuth required
22934
- // http bearer authentication required
22935
- await setBearerAuthToObject(localVarHeaderParameter, configuration);
22936
- // authentication domainAuth required
22937
- localVarHeaderParameter['Content-Type'] = 'application/json';
22938
- setSearchParams(localVarUrlObj, localVarQueryParameter);
22939
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22940
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22941
- localVarRequestOptions.data = serializeDataIfNeeded(linkPlayerUnauthedInputDTO, localVarRequestOptions, configuration);
22942
- return {
22943
- url: toPathString(localVarUrlObj),
22944
- options: localVarRequestOptions,
22945
- };
22946
- },
22947
25045
  /**
22948
25046
  * 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`
22949
25047
  * @summary Log in with a username and password
@@ -23303,19 +25401,6 @@ export const UserApiFp = function (configuration) {
23303
25401
  const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerInvite']?.[localVarOperationServerIndex]?.url;
23304
25402
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23305
25403
  },
23306
- /**
23307
- * 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`
23308
- * @summary Link player profile
23309
- * @param {LinkPlayerUnauthedInputDTO} [linkPlayerUnauthedInputDTO] LinkPlayerUnauthedInputDTO
23310
- * @param {*} [options] Override http request option.
23311
- * @throws {RequiredError}
23312
- */
23313
- async userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options) {
23314
- const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options);
23315
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23316
- const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerLinkPlayerProfile']?.[localVarOperationServerIndex]?.url;
23317
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23318
- },
23319
25404
  /**
23320
25405
  * 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`
23321
25406
  * @summary Log in with a username and password
@@ -23504,18 +25589,6 @@ export const UserApiFactory = function (configuration, basePath, axios) {
23504
25589
  userControllerInvite(inviteCreateDTO, options) {
23505
25590
  return localVarFp.userControllerInvite(inviteCreateDTO, options).then((request) => request(axios, basePath));
23506
25591
  },
23507
- /**
23508
- * 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`
23509
- * @summary Link player profile
23510
- * @param {LinkPlayerUnauthedInputDTO} [linkPlayerUnauthedInputDTO] LinkPlayerUnauthedInputDTO
23511
- * @param {*} [options] Override http request option.
23512
- * @throws {RequiredError}
23513
- */
23514
- userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options) {
23515
- return localVarFp
23516
- .userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options)
23517
- .then((request) => request(axios, basePath));
23518
- },
23519
25592
  /**
23520
25593
  * 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`
23521
25594
  * @summary Log in with a username and password
@@ -23697,19 +25770,6 @@ export class UserApi extends BaseAPI {
23697
25770
  .userControllerInvite(inviteCreateDTO, options)
23698
25771
  .then((request) => request(this.axios, this.basePath));
23699
25772
  }
23700
- /**
23701
- * 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`
23702
- * @summary Link player profile
23703
- * @param {LinkPlayerUnauthedInputDTO} [linkPlayerUnauthedInputDTO] LinkPlayerUnauthedInputDTO
23704
- * @param {*} [options] Override http request option.
23705
- * @throws {RequiredError}
23706
- * @memberof UserApi
23707
- */
23708
- userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options) {
23709
- return UserApiFp(this.configuration)
23710
- .userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options)
23711
- .then((request) => request(this.axios, this.basePath));
23712
- }
23713
25773
  /**
23714
25774
  * 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`
23715
25775
  * @summary Log in with a username and password