@takaro/apiclient 0.0.0-dev.688cf60 → 0.0.0-dev.692cd5e

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 (39) hide show
  1. package/dist/.source-hash +1 -1
  2. package/dist/generated/api.d.ts +2299 -1449
  3. package/dist/generated/api.d.ts.map +1 -1
  4. package/dist/generated/api.js +593 -5
  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 +3136 -1379
  13. package/dist/generated-management/api.d.ts.map +1 -1
  14. package/dist/generated-management/api.js +1195 -138
  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.map +1 -1
  28. package/dist/lib/client.js +2 -2
  29. package/dist/lib/client.js.map +1 -1
  30. package/dist/lib/distributorClient.d.ts.map +1 -1
  31. package/dist/lib/staffClient.d.ts +3 -1
  32. package/dist/lib/staffClient.d.ts.map +1 -1
  33. package/dist/lib/staffClient.js +5 -1
  34. package/dist/lib/staffClient.js.map +1 -1
  35. package/dist/main.d.ts +2 -2
  36. package/dist/main.d.ts.map +1 -1
  37. package/dist/main.js +1 -1
  38. package/dist/main.js.map +1 -1
  39. package/package.json +4 -3
@@ -168,6 +168,23 @@ export const CommandSearchInputDTOSortDirectionEnum = {
168
168
  Asc: 'asc',
169
169
  Desc: 'desc',
170
170
  };
171
+ export const ConnectorMigrationClaimOutputDTOOutcomeEnum = {
172
+ Claimed: 'claimed',
173
+ Refused: 'refused',
174
+ None: 'none',
175
+ };
176
+ export const ConnectorMigrationOutputDTOStatusEnum = {
177
+ Pending: 'pending',
178
+ Completed: 'completed',
179
+ Cancelled: 'cancelled',
180
+ Reverted: 'reverted',
181
+ };
182
+ export const ConnectorMigrationOutputDTOLegacyTypeEnum = {
183
+ Sevendaystodie: 'SEVENDAYSTODIE',
184
+ Rust: 'RUST',
185
+ Generic: 'GENERIC',
186
+ Mock: 'MOCK',
187
+ };
171
188
  export const CronJobSearchInputDTOExtendEnum = {
172
189
  Module: 'module',
173
190
  GameServer: 'gameServer',
@@ -184,11 +201,6 @@ export const CsmmExportSectionParamsSectionEnum = {
184
201
  CustomHooks: 'customHooks',
185
202
  CronJobs: 'cronJobs',
186
203
  };
187
- export const DistributorBackedDomainOutputDTOStateEnum = {
188
- Active: 'ACTIVE',
189
- Disabled: 'DISABLED',
190
- Maintenance: 'MAINTENANCE',
191
- };
192
204
  export const DomainCreateInputDTOStateEnum = {
193
205
  Active: 'ACTIVE',
194
206
  Disabled: 'DISABLED',
@@ -271,6 +283,7 @@ export const EventCreateDTOEventNameEnum = {
271
283
  PlayerLinked: 'player-linked',
272
284
  GameserverCreated: 'gameserver-created',
273
285
  GameserverUpdated: 'gameserver-updated',
286
+ GameserverVersionChanged: 'gameserver-version-changed',
274
287
  GameserverDeleted: 'gameserver-deleted',
275
288
  PlayerBanned: 'player-banned',
276
289
  PlayerUnbanned: 'player-unbanned',
@@ -286,6 +299,10 @@ export const EventCreateDTOEventNameEnum = {
286
299
  DomainCreated: 'domain-created',
287
300
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
288
301
  DomainPlanChanged: 'domain-plan-changed',
302
+ ConnectorMigrationStarted: 'connector-migration-started',
303
+ ConnectorMigrationCompleted: 'connector-migration-completed',
304
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
305
+ ConnectorMigrationReverted: 'connector-migration-reverted',
289
306
  DiscordGuildEnabled: 'discord-guild-enabled',
290
307
  ItemsGiven: 'items-given',
291
308
  PlayerConnected: 'player-connected',
@@ -326,6 +343,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
326
343
  PlayerLinked: 'player-linked',
327
344
  GameserverCreated: 'gameserver-created',
328
345
  GameserverUpdated: 'gameserver-updated',
346
+ GameserverVersionChanged: 'gameserver-version-changed',
329
347
  GameserverDeleted: 'gameserver-deleted',
330
348
  PlayerBanned: 'player-banned',
331
349
  PlayerUnbanned: 'player-unbanned',
@@ -341,6 +359,10 @@ export const EventExploreFiltersDTOEventNameEnum = {
341
359
  DomainCreated: 'domain-created',
342
360
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
343
361
  DomainPlanChanged: 'domain-plan-changed',
362
+ ConnectorMigrationStarted: 'connector-migration-started',
363
+ ConnectorMigrationCompleted: 'connector-migration-completed',
364
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
365
+ ConnectorMigrationReverted: 'connector-migration-reverted',
344
366
  DiscordGuildEnabled: 'discord-guild-enabled',
345
367
  ItemsGiven: 'items-given',
346
368
  PlayerConnected: 'player-connected',
@@ -381,6 +403,7 @@ export const EventOutputDTOEventNameEnum = {
381
403
  PlayerLinked: 'player-linked',
382
404
  GameserverCreated: 'gameserver-created',
383
405
  GameserverUpdated: 'gameserver-updated',
406
+ GameserverVersionChanged: 'gameserver-version-changed',
384
407
  GameserverDeleted: 'gameserver-deleted',
385
408
  PlayerBanned: 'player-banned',
386
409
  PlayerUnbanned: 'player-unbanned',
@@ -396,6 +419,10 @@ export const EventOutputDTOEventNameEnum = {
396
419
  DomainCreated: 'domain-created',
397
420
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
398
421
  DomainPlanChanged: 'domain-plan-changed',
422
+ ConnectorMigrationStarted: 'connector-migration-started',
423
+ ConnectorMigrationCompleted: 'connector-migration-completed',
424
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
425
+ ConnectorMigrationReverted: 'connector-migration-reverted',
399
426
  DiscordGuildEnabled: 'discord-guild-enabled',
400
427
  ItemsGiven: 'items-given',
401
428
  PlayerConnected: 'player-connected',
@@ -436,6 +463,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
436
463
  PlayerLinked: 'player-linked',
437
464
  GameserverCreated: 'gameserver-created',
438
465
  GameserverUpdated: 'gameserver-updated',
466
+ GameserverVersionChanged: 'gameserver-version-changed',
439
467
  GameserverDeleted: 'gameserver-deleted',
440
468
  PlayerBanned: 'player-banned',
441
469
  PlayerUnbanned: 'player-unbanned',
@@ -451,6 +479,10 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
451
479
  DomainCreated: 'domain-created',
452
480
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
453
481
  DomainPlanChanged: 'domain-plan-changed',
482
+ ConnectorMigrationStarted: 'connector-migration-started',
483
+ ConnectorMigrationCompleted: 'connector-migration-completed',
484
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
485
+ ConnectorMigrationReverted: 'connector-migration-reverted',
454
486
  DiscordGuildEnabled: 'discord-guild-enabled',
455
487
  ItemsGiven: 'items-given',
456
488
  PlayerConnected: 'player-connected',
@@ -494,12 +526,24 @@ export const GameServerCreateDTOTypeEnum = {
494
526
  Generic: 'GENERIC',
495
527
  Mock: 'MOCK',
496
528
  };
529
+ export const GameServerCreateDTONameSourceEnum = {
530
+ Connector: 'connector',
531
+ Operator: 'operator',
532
+ };
533
+ export const GameServerIdentifyInputDTOProtocolVersionEnum = {
534
+ NUMBER_0: 0,
535
+ NUMBER_1: 1,
536
+ };
497
537
  export const GameServerOutputDTOTypeEnum = {
498
538
  Sevendaystodie: 'SEVENDAYSTODIE',
499
539
  Rust: 'RUST',
500
540
  Generic: 'GENERIC',
501
541
  Mock: 'MOCK',
502
542
  };
543
+ export const GameServerOutputDTONameSourceEnum = {
544
+ Connector: 'connector',
545
+ Operator: 'operator',
546
+ };
503
547
  export const GameServerSearchInputAllowedFiltersTypeEnum = {
504
548
  Sevendaystodie: 'SEVENDAYSTODIE',
505
549
  Rust: 'RUST',
@@ -544,11 +588,14 @@ export const GetJobInputDTOTypeEnum = {
544
588
  SyncBans: 'syncBans',
545
589
  SyncMapImages: 'syncMapImages',
546
590
  SyncMapUploads: 'syncMapUploads',
591
+ SyncGameIcons: 'syncGameIcons',
547
592
  SyncSteam: 'syncSteam',
548
593
  SyncDiscordRoles: 'syncDiscordRoles',
549
594
  EmitRateLimitSummary: 'emitRateLimitSummary',
550
595
  CleanRevokedApiKeys: 'cleanRevokedApiKeys',
551
596
  CleanExecutionClaims: 'cleanExecutionClaims',
597
+ DeleteClickHouseEvents: 'deleteClickHouseEvents',
598
+ CleanConnectorMigrations: 'cleanConnectorMigrations',
552
599
  };
553
600
  export const GetSettingsInputKeysEnum = {
554
601
  CommandPrefix: 'commandPrefix',
@@ -612,6 +659,7 @@ export const HookCreateDTOEventTypeEnum = {
612
659
  PlayerLinked: 'player-linked',
613
660
  GameserverCreated: 'gameserver-created',
614
661
  GameserverUpdated: 'gameserver-updated',
662
+ GameserverVersionChanged: 'gameserver-version-changed',
615
663
  GameserverDeleted: 'gameserver-deleted',
616
664
  PlayerBanned: 'player-banned',
617
665
  PlayerUnbanned: 'player-unbanned',
@@ -627,6 +675,10 @@ export const HookCreateDTOEventTypeEnum = {
627
675
  DomainCreated: 'domain-created',
628
676
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
629
677
  DomainPlanChanged: 'domain-plan-changed',
678
+ ConnectorMigrationStarted: 'connector-migration-started',
679
+ ConnectorMigrationCompleted: 'connector-migration-completed',
680
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
681
+ ConnectorMigrationReverted: 'connector-migration-reverted',
630
682
  DiscordGuildEnabled: 'discord-guild-enabled',
631
683
  ItemsGiven: 'items-given',
632
684
  };
@@ -669,6 +721,7 @@ export const HookOutputDTOEventTypeEnum = {
669
721
  PlayerLinked: 'player-linked',
670
722
  GameserverCreated: 'gameserver-created',
671
723
  GameserverUpdated: 'gameserver-updated',
724
+ GameserverVersionChanged: 'gameserver-version-changed',
672
725
  GameserverDeleted: 'gameserver-deleted',
673
726
  PlayerBanned: 'player-banned',
674
727
  PlayerUnbanned: 'player-unbanned',
@@ -684,6 +737,10 @@ export const HookOutputDTOEventTypeEnum = {
684
737
  DomainCreated: 'domain-created',
685
738
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
686
739
  DomainPlanChanged: 'domain-plan-changed',
740
+ ConnectorMigrationStarted: 'connector-migration-started',
741
+ ConnectorMigrationCompleted: 'connector-migration-completed',
742
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
743
+ ConnectorMigrationReverted: 'connector-migration-reverted',
687
744
  DiscordGuildEnabled: 'discord-guild-enabled',
688
745
  ItemsGiven: 'items-given',
689
746
  };
@@ -726,6 +783,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
726
783
  PlayerLinked: 'player-linked',
727
784
  GameserverCreated: 'gameserver-created',
728
785
  GameserverUpdated: 'gameserver-updated',
786
+ GameserverVersionChanged: 'gameserver-version-changed',
729
787
  GameserverDeleted: 'gameserver-deleted',
730
788
  PlayerBanned: 'player-banned',
731
789
  PlayerUnbanned: 'player-unbanned',
@@ -741,6 +799,10 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
741
799
  DomainCreated: 'domain-created',
742
800
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
743
801
  DomainPlanChanged: 'domain-plan-changed',
802
+ ConnectorMigrationStarted: 'connector-migration-started',
803
+ ConnectorMigrationCompleted: 'connector-migration-completed',
804
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
805
+ ConnectorMigrationReverted: 'connector-migration-reverted',
744
806
  DiscordGuildEnabled: 'discord-guild-enabled',
745
807
  ItemsGiven: 'items-given',
746
808
  };
@@ -791,6 +853,7 @@ export const HookTriggerDTOEventTypeEnum = {
791
853
  PlayerLinked: 'player-linked',
792
854
  GameserverCreated: 'gameserver-created',
793
855
  GameserverUpdated: 'gameserver-updated',
856
+ GameserverVersionChanged: 'gameserver-version-changed',
794
857
  GameserverDeleted: 'gameserver-deleted',
795
858
  PlayerBanned: 'player-banned',
796
859
  PlayerUnbanned: 'player-unbanned',
@@ -806,6 +869,10 @@ export const HookTriggerDTOEventTypeEnum = {
806
869
  DomainCreated: 'domain-created',
807
870
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
808
871
  DomainPlanChanged: 'domain-plan-changed',
872
+ ConnectorMigrationStarted: 'connector-migration-started',
873
+ ConnectorMigrationCompleted: 'connector-migration-completed',
874
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
875
+ ConnectorMigrationReverted: 'connector-migration-reverted',
809
876
  DiscordGuildEnabled: 'discord-guild-enabled',
810
877
  ItemsGiven: 'items-given',
811
878
  };
@@ -848,6 +915,7 @@ export const HookUpdateDTOEventTypeEnum = {
848
915
  PlayerLinked: 'player-linked',
849
916
  GameserverCreated: 'gameserver-created',
850
917
  GameserverUpdated: 'gameserver-updated',
918
+ GameserverVersionChanged: 'gameserver-version-changed',
851
919
  GameserverDeleted: 'gameserver-deleted',
852
920
  PlayerBanned: 'player-banned',
853
921
  PlayerUnbanned: 'player-unbanned',
@@ -863,6 +931,10 @@ export const HookUpdateDTOEventTypeEnum = {
863
931
  DomainCreated: 'domain-created',
864
932
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
865
933
  DomainPlanChanged: 'domain-plan-changed',
934
+ ConnectorMigrationStarted: 'connector-migration-started',
935
+ ConnectorMigrationCompleted: 'connector-migration-completed',
936
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
937
+ ConnectorMigrationReverted: 'connector-migration-reverted',
866
938
  DiscordGuildEnabled: 'discord-guild-enabled',
867
939
  ItemsGiven: 'items-given',
868
940
  };
@@ -910,6 +982,7 @@ export const IHookEventTypeEnum = {
910
982
  PlayerLinked: 'player-linked',
911
983
  GameserverCreated: 'gameserver-created',
912
984
  GameserverUpdated: 'gameserver-updated',
985
+ GameserverVersionChanged: 'gameserver-version-changed',
913
986
  GameserverDeleted: 'gameserver-deleted',
914
987
  PlayerBanned: 'player-banned',
915
988
  PlayerUnbanned: 'player-unbanned',
@@ -925,6 +998,10 @@ export const IHookEventTypeEnum = {
925
998
  DomainCreated: 'domain-created',
926
999
  DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
927
1000
  DomainPlanChanged: 'domain-plan-changed',
1001
+ ConnectorMigrationStarted: 'connector-migration-started',
1002
+ ConnectorMigrationCompleted: 'connector-migration-completed',
1003
+ ConnectorMigrationCancelled: 'connector-migration-cancelled',
1004
+ ConnectorMigrationReverted: 'connector-migration-reverted',
928
1005
  DiscordGuildEnabled: 'discord-guild-enabled',
929
1006
  ItemsGiven: 'items-given',
930
1007
  };
@@ -1001,6 +1078,8 @@ export const LoginQueryParamsLocaleEnum = {
1001
1078
  Ja: 'ja',
1002
1079
  It: 'it',
1003
1080
  Tr: 'tr',
1081
+ He: 'he',
1082
+ Ar: 'ar',
1004
1083
  };
1005
1084
  export const ManagementDomainOutputDTOStateEnum = {
1006
1085
  Active: 'ACTIVE',
@@ -1459,6 +1538,7 @@ export const TriggerJobInputDTOTypeEnum = {
1459
1538
  SyncBans: 'syncBans',
1460
1539
  SyncMapImages: 'syncMapImages',
1461
1540
  SyncMapUploads: 'syncMapUploads',
1541
+ SyncGameIcons: 'syncGameIcons',
1462
1542
  SyncSteam: 'syncSteam',
1463
1543
  SyncDiscordRoles: 'syncDiscordRoles',
1464
1544
  };
@@ -5880,6 +5960,8 @@ export const AuthControllerLoginLocaleEnum = {
5880
5960
  Ja: 'ja',
5881
5961
  It: 'it',
5882
5962
  Tr: 'tr',
5963
+ He: 'he',
5964
+ Ar: 'ar',
5883
5965
  };
5884
5966
  /**
5885
5967
  * CommandApi - axios parameter creator
@@ -9638,6 +9720,102 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
9638
9720
  options: localVarRequestOptions,
9639
9721
  };
9640
9722
  },
9723
+ /**
9724
+ * Cancel a pending Connector Migration. Its identity token stops claiming the gameserver; the legacy connection was never changed. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCancelConnectorMigration`
9725
+ * @summary Cancel connector migration
9726
+ * @param {string} id
9727
+ * @param {*} [options] Override http request option.
9728
+ * @throws {RequiredError}
9729
+ */
9730
+ gameServerControllerCancelConnectorMigration: async (id, options = {}) => {
9731
+ // verify required parameter 'id' is not null or undefined
9732
+ assertParamExists('gameServerControllerCancelConnectorMigration', 'id', id);
9733
+ const localVarPath = `/gameserver/{id}/connector-migration/cancel`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
9734
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9735
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9736
+ let baseOptions;
9737
+ if (configuration) {
9738
+ baseOptions = configuration.baseOptions;
9739
+ }
9740
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
9741
+ const localVarHeaderParameter = {};
9742
+ const localVarQueryParameter = {};
9743
+ // authentication bearerAuth required
9744
+ // http bearer authentication required
9745
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
9746
+ // authentication domainAuth required
9747
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9748
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9749
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
9750
+ return {
9751
+ url: toPathString(localVarUrlObj),
9752
+ options: localVarRequestOptions,
9753
+ };
9754
+ },
9755
+ /**
9756
+ * Claim the legacy gameserver whose pending Connector Migration issued this identity token. Written by the connector on handshake; users normally never call it. The outcome is claimed, refused (with the reason, also recorded on the gameserver) or none (no pending migration holds the token in this domain). Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerClaimConnectorMigration`
9757
+ * @summary Claim connector migration
9758
+ * @param {ConnectorMigrationClaimInputDTO} [connectorMigrationClaimInputDTO] ConnectorMigrationClaimInputDTO
9759
+ * @param {*} [options] Override http request option.
9760
+ * @throws {RequiredError}
9761
+ */
9762
+ gameServerControllerClaimConnectorMigration: async (connectorMigrationClaimInputDTO, options = {}) => {
9763
+ const localVarPath = `/gameserver/connector-migration/claim`;
9764
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9765
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9766
+ let baseOptions;
9767
+ if (configuration) {
9768
+ baseOptions = configuration.baseOptions;
9769
+ }
9770
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
9771
+ const localVarHeaderParameter = {};
9772
+ const localVarQueryParameter = {};
9773
+ // authentication bearerAuth required
9774
+ // http bearer authentication required
9775
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
9776
+ // authentication domainAuth required
9777
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9778
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9779
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9780
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
9781
+ localVarRequestOptions.data = serializeDataIfNeeded(connectorMigrationClaimInputDTO, localVarRequestOptions, configuration);
9782
+ return {
9783
+ url: toPathString(localVarUrlObj),
9784
+ options: localVarRequestOptions,
9785
+ };
9786
+ },
9787
+ /**
9788
+ * Report of a completed Connector Migration: players seen since the switch that matched existing ones vs. newly created, and item rows reused vs. newly added. A high playersNew count suggests reverting.<br> OperationId: `GameServerControllerConnectorMigrationReport`
9789
+ * @summary Connector migration report
9790
+ * @param {string} id
9791
+ * @param {*} [options] Override http request option.
9792
+ * @throws {RequiredError}
9793
+ */
9794
+ gameServerControllerConnectorMigrationReport: async (id, options = {}) => {
9795
+ // verify required parameter 'id' is not null or undefined
9796
+ assertParamExists('gameServerControllerConnectorMigrationReport', 'id', id);
9797
+ const localVarPath = `/gameserver/{id}/connector-migration/report`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
9798
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9799
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9800
+ let baseOptions;
9801
+ if (configuration) {
9802
+ baseOptions = configuration.baseOptions;
9803
+ }
9804
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
9805
+ const localVarHeaderParameter = {};
9806
+ const localVarQueryParameter = {};
9807
+ // authentication bearerAuth required
9808
+ // http bearer authentication required
9809
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
9810
+ // authentication domainAuth required
9811
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9812
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9813
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
9814
+ return {
9815
+ url: toPathString(localVarUrlObj),
9816
+ options: localVarRequestOptions,
9817
+ };
9818
+ },
9641
9819
  /**
9642
9820
  * Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
9643
9821
  * @summary Create
@@ -9790,6 +9968,42 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
9790
9968
  options: localVarRequestOptions,
9791
9969
  };
9792
9970
  },
9971
+ /**
9972
+ * 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`
9973
+ * @summary Get game icon
9974
+ * @param {string} id
9975
+ * @param {string} [v]
9976
+ * @param {*} [options] Override http request option.
9977
+ * @throws {RequiredError}
9978
+ */
9979
+ gameServerControllerGetGameIcon: async (id, v, options = {}) => {
9980
+ // verify required parameter 'id' is not null or undefined
9981
+ assertParamExists('gameServerControllerGetGameIcon', 'id', id);
9982
+ const localVarPath = `/gameserver/{id}/icon`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
9983
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9984
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9985
+ let baseOptions;
9986
+ if (configuration) {
9987
+ baseOptions = configuration.baseOptions;
9988
+ }
9989
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
9990
+ const localVarHeaderParameter = {};
9991
+ const localVarQueryParameter = {};
9992
+ // authentication bearerAuth required
9993
+ // http bearer authentication required
9994
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
9995
+ // authentication domainAuth required
9996
+ if (v !== undefined) {
9997
+ localVarQueryParameter['v'] = v;
9998
+ }
9999
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10000
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10001
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10002
+ return {
10003
+ url: toPathString(localVarUrlObj),
10004
+ options: localVarRequestOptions,
10005
+ };
10006
+ },
9793
10007
  /**
9794
10008
  * Fetch status of an import from CSMM. Deprecated: use `GameServerController.getJob` with the import job type instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
9795
10009
  * @summary Get import
@@ -10314,6 +10528,41 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10314
10528
  options: localVarRequestOptions,
10315
10529
  };
10316
10530
  },
10531
+ /**
10532
+ * 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`
10533
+ * @summary Record identify
10534
+ * @param {string} id
10535
+ * @param {GameServerIdentifyInputDTO} [gameServerIdentifyInputDTO] GameServerIdentifyInputDTO
10536
+ * @param {*} [options] Override http request option.
10537
+ * @throws {RequiredError}
10538
+ */
10539
+ gameServerControllerRecordIdentify: async (id, gameServerIdentifyInputDTO, options = {}) => {
10540
+ // verify required parameter 'id' is not null or undefined
10541
+ assertParamExists('gameServerControllerRecordIdentify', 'id', id);
10542
+ const localVarPath = `/gameserver/{id}/identify`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10543
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10544
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10545
+ let baseOptions;
10546
+ if (configuration) {
10547
+ baseOptions = configuration.baseOptions;
10548
+ }
10549
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
10550
+ const localVarHeaderParameter = {};
10551
+ const localVarQueryParameter = {};
10552
+ // authentication bearerAuth required
10553
+ // http bearer authentication required
10554
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
10555
+ // authentication domainAuth required
10556
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10557
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10558
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10559
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10560
+ localVarRequestOptions.data = serializeDataIfNeeded(gameServerIdentifyInputDTO, localVarRequestOptions, configuration);
10561
+ return {
10562
+ url: toPathString(localVarUrlObj),
10563
+ options: localVarRequestOptions,
10564
+ };
10565
+ },
10317
10566
  /**
10318
10567
  * Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
10319
10568
  * @summary Regenerate registration token
@@ -10444,6 +10693,38 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10444
10693
  options: localVarRequestOptions,
10445
10694
  };
10446
10695
  },
10696
+ /**
10697
+ * Revert a completed Connector Migration within 14 days of completion. Restores the legacy type and connection, retires the identity token and drops the connector connection. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRevertConnectorMigration`
10698
+ * @summary Revert connector migration
10699
+ * @param {string} id
10700
+ * @param {*} [options] Override http request option.
10701
+ * @throws {RequiredError}
10702
+ */
10703
+ gameServerControllerRevertConnectorMigration: async (id, options = {}) => {
10704
+ // verify required parameter 'id' is not null or undefined
10705
+ assertParamExists('gameServerControllerRevertConnectorMigration', 'id', id);
10706
+ const localVarPath = `/gameserver/{id}/connector-migration/revert`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10707
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10708
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10709
+ let baseOptions;
10710
+ if (configuration) {
10711
+ baseOptions = configuration.baseOptions;
10712
+ }
10713
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
10714
+ const localVarHeaderParameter = {};
10715
+ const localVarQueryParameter = {};
10716
+ // authentication bearerAuth required
10717
+ // http bearer authentication required
10718
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
10719
+ // authentication domainAuth required
10720
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10721
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10722
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10723
+ return {
10724
+ url: toPathString(localVarUrlObj),
10725
+ options: localVarRequestOptions,
10726
+ };
10727
+ },
10447
10728
  /**
10448
10729
  * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
10449
10730
  * @summary Search
@@ -10578,6 +10859,38 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10578
10859
  options: localVarRequestOptions,
10579
10860
  };
10580
10861
  },
10862
+ /**
10863
+ * Start a Connector Migration of a legacy gameserver, or return the pending one. Put the returned identity token and registration token in the connector config; the gameserver keeps its legacy connection until that connector first connects. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerStartConnectorMigration`
10864
+ * @summary Start connector migration
10865
+ * @param {string} id
10866
+ * @param {*} [options] Override http request option.
10867
+ * @throws {RequiredError}
10868
+ */
10869
+ gameServerControllerStartConnectorMigration: async (id, options = {}) => {
10870
+ // verify required parameter 'id' is not null or undefined
10871
+ assertParamExists('gameServerControllerStartConnectorMigration', 'id', id);
10872
+ const localVarPath = `/gameserver/{id}/connector-migration`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10873
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10874
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10875
+ let baseOptions;
10876
+ if (configuration) {
10877
+ baseOptions = configuration.baseOptions;
10878
+ }
10879
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
10880
+ const localVarHeaderParameter = {};
10881
+ const localVarQueryParameter = {};
10882
+ // authentication bearerAuth required
10883
+ // http bearer authentication required
10884
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
10885
+ // authentication domainAuth required
10886
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10887
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10888
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10889
+ return {
10890
+ url: toPathString(localVarUrlObj),
10891
+ options: localVarRequestOptions,
10892
+ };
10893
+ },
10581
10894
  /**
10582
10895
  * Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
10583
10896
  * @summary Teleport player
@@ -10857,6 +11170,48 @@ export const GameServerApiFp = function (configuration) {
10857
11170
  const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerBanPlayer']?.[localVarOperationServerIndex]?.url;
10858
11171
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10859
11172
  },
11173
+ /**
11174
+ * Cancel a pending Connector Migration. Its identity token stops claiming the gameserver; the legacy connection was never changed. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCancelConnectorMigration`
11175
+ * @summary Cancel connector migration
11176
+ * @param {string} id
11177
+ * @param {*} [options] Override http request option.
11178
+ * @throws {RequiredError}
11179
+ */
11180
+ async gameServerControllerCancelConnectorMigration(id, options) {
11181
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerCancelConnectorMigration(id, options);
11182
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11183
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerCancelConnectorMigration']?.[localVarOperationServerIndex]
11184
+ ?.url;
11185
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11186
+ },
11187
+ /**
11188
+ * Claim the legacy gameserver whose pending Connector Migration issued this identity token. Written by the connector on handshake; users normally never call it. The outcome is claimed, refused (with the reason, also recorded on the gameserver) or none (no pending migration holds the token in this domain). Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerClaimConnectorMigration`
11189
+ * @summary Claim connector migration
11190
+ * @param {ConnectorMigrationClaimInputDTO} [connectorMigrationClaimInputDTO] ConnectorMigrationClaimInputDTO
11191
+ * @param {*} [options] Override http request option.
11192
+ * @throws {RequiredError}
11193
+ */
11194
+ async gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options) {
11195
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options);
11196
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11197
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerClaimConnectorMigration']?.[localVarOperationServerIndex]
11198
+ ?.url;
11199
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11200
+ },
11201
+ /**
11202
+ * Report of a completed Connector Migration: players seen since the switch that matched existing ones vs. newly created, and item rows reused vs. newly added. A high playersNew count suggests reverting.<br> OperationId: `GameServerControllerConnectorMigrationReport`
11203
+ * @summary Connector migration report
11204
+ * @param {string} id
11205
+ * @param {*} [options] Override http request option.
11206
+ * @throws {RequiredError}
11207
+ */
11208
+ async gameServerControllerConnectorMigrationReport(id, options) {
11209
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerConnectorMigrationReport(id, options);
11210
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11211
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerConnectorMigrationReport']?.[localVarOperationServerIndex]
11212
+ ?.url;
11213
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11214
+ },
10860
11215
  /**
10861
11216
  * Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
10862
11217
  * @summary Create
@@ -10916,6 +11271,20 @@ export const GameServerApiFp = function (configuration) {
10916
11271
  ?.url;
10917
11272
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10918
11273
  },
11274
+ /**
11275
+ * 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`
11276
+ * @summary Get game icon
11277
+ * @param {string} id
11278
+ * @param {string} [v]
11279
+ * @param {*} [options] Override http request option.
11280
+ * @throws {RequiredError}
11281
+ */
11282
+ async gameServerControllerGetGameIcon(id, v, options) {
11283
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetGameIcon(id, v, options);
11284
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11285
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerGetGameIcon']?.[localVarOperationServerIndex]?.url;
11286
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11287
+ },
10919
11288
  /**
10920
11289
  * Fetch status of an import from CSMM. Deprecated: use `GameServerController.getJob` with the import job type instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
10921
11290
  * @summary Get import
@@ -11123,6 +11492,20 @@ export const GameServerApiFp = function (configuration) {
11123
11492
  const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerPutMapUpload']?.[localVarOperationServerIndex]?.url;
11124
11493
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11125
11494
  },
11495
+ /**
11496
+ * 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`
11497
+ * @summary Record identify
11498
+ * @param {string} id
11499
+ * @param {GameServerIdentifyInputDTO} [gameServerIdentifyInputDTO] GameServerIdentifyInputDTO
11500
+ * @param {*} [options] Override http request option.
11501
+ * @throws {RequiredError}
11502
+ */
11503
+ async gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options) {
11504
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options);
11505
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11506
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerRecordIdentify']?.[localVarOperationServerIndex]?.url;
11507
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11508
+ },
11126
11509
  /**
11127
11510
  * Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
11128
11511
  * @summary Regenerate registration token
@@ -11175,6 +11558,20 @@ export const GameServerApiFp = function (configuration) {
11175
11558
  const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerResetCurrency']?.[localVarOperationServerIndex]?.url;
11176
11559
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11177
11560
  },
11561
+ /**
11562
+ * Revert a completed Connector Migration within 14 days of completion. Restores the legacy type and connection, retires the identity token and drops the connector connection. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRevertConnectorMigration`
11563
+ * @summary Revert connector migration
11564
+ * @param {string} id
11565
+ * @param {*} [options] Override http request option.
11566
+ * @throws {RequiredError}
11567
+ */
11568
+ async gameServerControllerRevertConnectorMigration(id, options) {
11569
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRevertConnectorMigration(id, options);
11570
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11571
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerRevertConnectorMigration']?.[localVarOperationServerIndex]
11572
+ ?.url;
11573
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11574
+ },
11178
11575
  /**
11179
11576
  * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
11180
11577
  * @summary Search
@@ -11229,6 +11626,20 @@ export const GameServerApiFp = function (configuration) {
11229
11626
  const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerShutdown']?.[localVarOperationServerIndex]?.url;
11230
11627
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11231
11628
  },
11629
+ /**
11630
+ * Start a Connector Migration of a legacy gameserver, or return the pending one. Put the returned identity token and registration token in the connector config; the gameserver keeps its legacy connection until that connector first connects. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerStartConnectorMigration`
11631
+ * @summary Start connector migration
11632
+ * @param {string} id
11633
+ * @param {*} [options] Override http request option.
11634
+ * @throws {RequiredError}
11635
+ */
11636
+ async gameServerControllerStartConnectorMigration(id, options) {
11637
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerStartConnectorMigration(id, options);
11638
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11639
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerStartConnectorMigration']?.[localVarOperationServerIndex]
11640
+ ?.url;
11641
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11642
+ },
11232
11643
  /**
11233
11644
  * Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
11234
11645
  * @summary Teleport player
@@ -11353,6 +11764,42 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11353
11764
  .gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options)
11354
11765
  .then((request) => request(axios, basePath));
11355
11766
  },
11767
+ /**
11768
+ * Cancel a pending Connector Migration. Its identity token stops claiming the gameserver; the legacy connection was never changed. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCancelConnectorMigration`
11769
+ * @summary Cancel connector migration
11770
+ * @param {string} id
11771
+ * @param {*} [options] Override http request option.
11772
+ * @throws {RequiredError}
11773
+ */
11774
+ gameServerControllerCancelConnectorMigration(id, options) {
11775
+ return localVarFp
11776
+ .gameServerControllerCancelConnectorMigration(id, options)
11777
+ .then((request) => request(axios, basePath));
11778
+ },
11779
+ /**
11780
+ * Claim the legacy gameserver whose pending Connector Migration issued this identity token. Written by the connector on handshake; users normally never call it. The outcome is claimed, refused (with the reason, also recorded on the gameserver) or none (no pending migration holds the token in this domain). Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerClaimConnectorMigration`
11781
+ * @summary Claim connector migration
11782
+ * @param {ConnectorMigrationClaimInputDTO} [connectorMigrationClaimInputDTO] ConnectorMigrationClaimInputDTO
11783
+ * @param {*} [options] Override http request option.
11784
+ * @throws {RequiredError}
11785
+ */
11786
+ gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options) {
11787
+ return localVarFp
11788
+ .gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options)
11789
+ .then((request) => request(axios, basePath));
11790
+ },
11791
+ /**
11792
+ * Report of a completed Connector Migration: players seen since the switch that matched existing ones vs. newly created, and item rows reused vs. newly added. A high playersNew count suggests reverting.<br> OperationId: `GameServerControllerConnectorMigrationReport`
11793
+ * @summary Connector migration report
11794
+ * @param {string} id
11795
+ * @param {*} [options] Override http request option.
11796
+ * @throws {RequiredError}
11797
+ */
11798
+ gameServerControllerConnectorMigrationReport(id, options) {
11799
+ return localVarFp
11800
+ .gameServerControllerConnectorMigrationReport(id, options)
11801
+ .then((request) => request(axios, basePath));
11802
+ },
11356
11803
  /**
11357
11804
  * Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
11358
11805
  * @summary Create
@@ -11405,6 +11852,17 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11405
11852
  .gameServerControllerGetDimensionMapTile(id, dimension, zoom, x, y, v, options)
11406
11853
  .then((request) => request(axios, basePath));
11407
11854
  },
11855
+ /**
11856
+ * 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`
11857
+ * @summary Get game icon
11858
+ * @param {string} id
11859
+ * @param {string} [v]
11860
+ * @param {*} [options] Override http request option.
11861
+ * @throws {RequiredError}
11862
+ */
11863
+ gameServerControllerGetGameIcon(id, v, options) {
11864
+ return localVarFp.gameServerControllerGetGameIcon(id, v, options).then((request) => request(axios, basePath));
11865
+ },
11408
11866
  /**
11409
11867
  * Fetch status of an import from CSMM. Deprecated: use `GameServerController.getJob` with the import job type instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
11410
11868
  * @summary Get import
@@ -11577,6 +12035,19 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11577
12035
  .gameServerControllerPutMapUpload(id, dimension, options)
11578
12036
  .then((request) => request(axios, basePath));
11579
12037
  },
12038
+ /**
12039
+ * 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`
12040
+ * @summary Record identify
12041
+ * @param {string} id
12042
+ * @param {GameServerIdentifyInputDTO} [gameServerIdentifyInputDTO] GameServerIdentifyInputDTO
12043
+ * @param {*} [options] Override http request option.
12044
+ * @throws {RequiredError}
12045
+ */
12046
+ gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options) {
12047
+ return localVarFp
12048
+ .gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options)
12049
+ .then((request) => request(axios, basePath));
12050
+ },
11580
12051
  /**
11581
12052
  * Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
11582
12053
  * @summary Regenerate registration token
@@ -11621,6 +12092,18 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11621
12092
  gameServerControllerResetCurrency(id, options) {
11622
12093
  return localVarFp.gameServerControllerResetCurrency(id, options).then((request) => request(axios, basePath));
11623
12094
  },
12095
+ /**
12096
+ * Revert a completed Connector Migration within 14 days of completion. Restores the legacy type and connection, retires the identity token and drops the connector connection. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRevertConnectorMigration`
12097
+ * @summary Revert connector migration
12098
+ * @param {string} id
12099
+ * @param {*} [options] Override http request option.
12100
+ * @throws {RequiredError}
12101
+ */
12102
+ gameServerControllerRevertConnectorMigration(id, options) {
12103
+ return localVarFp
12104
+ .gameServerControllerRevertConnectorMigration(id, options)
12105
+ .then((request) => request(axios, basePath));
12106
+ },
11624
12107
  /**
11625
12108
  * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
11626
12109
  * @summary Search
@@ -11669,6 +12152,18 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11669
12152
  gameServerControllerShutdown(id, options) {
11670
12153
  return localVarFp.gameServerControllerShutdown(id, options).then((request) => request(axios, basePath));
11671
12154
  },
12155
+ /**
12156
+ * Start a Connector Migration of a legacy gameserver, or return the pending one. Put the returned identity token and registration token in the connector config; the gameserver keeps its legacy connection until that connector first connects. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerStartConnectorMigration`
12157
+ * @summary Start connector migration
12158
+ * @param {string} id
12159
+ * @param {*} [options] Override http request option.
12160
+ * @throws {RequiredError}
12161
+ */
12162
+ gameServerControllerStartConnectorMigration(id, options) {
12163
+ return localVarFp
12164
+ .gameServerControllerStartConnectorMigration(id, options)
12165
+ .then((request) => request(axios, basePath));
12166
+ },
11672
12167
  /**
11673
12168
  * Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
11674
12169
  * @summary Teleport player
@@ -11784,6 +12279,45 @@ export class GameServerApi extends BaseAPI {
11784
12279
  .gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options)
11785
12280
  .then((request) => request(this.axios, this.basePath));
11786
12281
  }
12282
+ /**
12283
+ * Cancel a pending Connector Migration. Its identity token stops claiming the gameserver; the legacy connection was never changed. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCancelConnectorMigration`
12284
+ * @summary Cancel connector migration
12285
+ * @param {string} id
12286
+ * @param {*} [options] Override http request option.
12287
+ * @throws {RequiredError}
12288
+ * @memberof GameServerApi
12289
+ */
12290
+ gameServerControllerCancelConnectorMigration(id, options) {
12291
+ return GameServerApiFp(this.configuration)
12292
+ .gameServerControllerCancelConnectorMigration(id, options)
12293
+ .then((request) => request(this.axios, this.basePath));
12294
+ }
12295
+ /**
12296
+ * Claim the legacy gameserver whose pending Connector Migration issued this identity token. Written by the connector on handshake; users normally never call it. The outcome is claimed, refused (with the reason, also recorded on the gameserver) or none (no pending migration holds the token in this domain). Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerClaimConnectorMigration`
12297
+ * @summary Claim connector migration
12298
+ * @param {ConnectorMigrationClaimInputDTO} [connectorMigrationClaimInputDTO] ConnectorMigrationClaimInputDTO
12299
+ * @param {*} [options] Override http request option.
12300
+ * @throws {RequiredError}
12301
+ * @memberof GameServerApi
12302
+ */
12303
+ gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options) {
12304
+ return GameServerApiFp(this.configuration)
12305
+ .gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options)
12306
+ .then((request) => request(this.axios, this.basePath));
12307
+ }
12308
+ /**
12309
+ * Report of a completed Connector Migration: players seen since the switch that matched existing ones vs. newly created, and item rows reused vs. newly added. A high playersNew count suggests reverting.<br> OperationId: `GameServerControllerConnectorMigrationReport`
12310
+ * @summary Connector migration report
12311
+ * @param {string} id
12312
+ * @param {*} [options] Override http request option.
12313
+ * @throws {RequiredError}
12314
+ * @memberof GameServerApi
12315
+ */
12316
+ gameServerControllerConnectorMigrationReport(id, options) {
12317
+ return GameServerApiFp(this.configuration)
12318
+ .gameServerControllerConnectorMigrationReport(id, options)
12319
+ .then((request) => request(this.axios, this.basePath));
12320
+ }
11787
12321
  /**
11788
12322
  * Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
11789
12323
  * @summary Create
@@ -11842,6 +12376,20 @@ export class GameServerApi extends BaseAPI {
11842
12376
  .gameServerControllerGetDimensionMapTile(id, dimension, zoom, x, y, v, options)
11843
12377
  .then((request) => request(this.axios, this.basePath));
11844
12378
  }
12379
+ /**
12380
+ * 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`
12381
+ * @summary Get game icon
12382
+ * @param {string} id
12383
+ * @param {string} [v]
12384
+ * @param {*} [options] Override http request option.
12385
+ * @throws {RequiredError}
12386
+ * @memberof GameServerApi
12387
+ */
12388
+ gameServerControllerGetGameIcon(id, v, options) {
12389
+ return GameServerApiFp(this.configuration)
12390
+ .gameServerControllerGetGameIcon(id, v, options)
12391
+ .then((request) => request(this.axios, this.basePath));
12392
+ }
11845
12393
  /**
11846
12394
  * Fetch status of an import from CSMM. Deprecated: use `GameServerController.getJob` with the import job type instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
11847
12395
  * @summary Get import
@@ -12049,6 +12597,20 @@ export class GameServerApi extends BaseAPI {
12049
12597
  .gameServerControllerPutMapUpload(id, dimension, options)
12050
12598
  .then((request) => request(this.axios, this.basePath));
12051
12599
  }
12600
+ /**
12601
+ * 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`
12602
+ * @summary Record identify
12603
+ * @param {string} id
12604
+ * @param {GameServerIdentifyInputDTO} [gameServerIdentifyInputDTO] GameServerIdentifyInputDTO
12605
+ * @param {*} [options] Override http request option.
12606
+ * @throws {RequiredError}
12607
+ * @memberof GameServerApi
12608
+ */
12609
+ gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options) {
12610
+ return GameServerApiFp(this.configuration)
12611
+ .gameServerControllerRecordIdentify(id, gameServerIdentifyInputDTO, options)
12612
+ .then((request) => request(this.axios, this.basePath));
12613
+ }
12052
12614
  /**
12053
12615
  * Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
12054
12616
  * @summary Regenerate registration token
@@ -12101,6 +12663,19 @@ export class GameServerApi extends BaseAPI {
12101
12663
  .gameServerControllerResetCurrency(id, options)
12102
12664
  .then((request) => request(this.axios, this.basePath));
12103
12665
  }
12666
+ /**
12667
+ * Revert a completed Connector Migration within 14 days of completion. Restores the legacy type and connection, retires the identity token and drops the connector connection. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRevertConnectorMigration`
12668
+ * @summary Revert connector migration
12669
+ * @param {string} id
12670
+ * @param {*} [options] Override http request option.
12671
+ * @throws {RequiredError}
12672
+ * @memberof GameServerApi
12673
+ */
12674
+ gameServerControllerRevertConnectorMigration(id, options) {
12675
+ return GameServerApiFp(this.configuration)
12676
+ .gameServerControllerRevertConnectorMigration(id, options)
12677
+ .then((request) => request(this.axios, this.basePath));
12678
+ }
12104
12679
  /**
12105
12680
  * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
12106
12681
  * @summary Search
@@ -12155,6 +12730,19 @@ export class GameServerApi extends BaseAPI {
12155
12730
  .gameServerControllerShutdown(id, options)
12156
12731
  .then((request) => request(this.axios, this.basePath));
12157
12732
  }
12733
+ /**
12734
+ * Start a Connector Migration of a legacy gameserver, or return the pending one. Put the returned identity token and registration token in the connector config; the gameserver keeps its legacy connection until that connector first connects. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerStartConnectorMigration`
12735
+ * @summary Start connector migration
12736
+ * @param {string} id
12737
+ * @param {*} [options] Override http request option.
12738
+ * @throws {RequiredError}
12739
+ * @memberof GameServerApi
12740
+ */
12741
+ gameServerControllerStartConnectorMigration(id, options) {
12742
+ return GameServerApiFp(this.configuration)
12743
+ .gameServerControllerStartConnectorMigration(id, options)
12744
+ .then((request) => request(this.axios, this.basePath));
12745
+ }
12158
12746
  /**
12159
12747
  * Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
12160
12748
  * @summary Teleport player