@takaro/apiclient 0.0.0-dev.1127424 → 0.0.0-dev.11609ce
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.source-hash +1 -1
- package/dist/generated/api.d.ts +699 -4
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +510 -0
- package/dist/generated/api.js.map +1 -1
- package/dist/generated-management/api.d.ts +365 -4
- package/dist/generated-management/api.d.ts.map +1 -1
- package/dist/generated-management/api.js +55 -0
- package/dist/generated-management/api.js.map +1 -1
- package/package.json +1 -1
package/dist/generated/api.js
CHANGED
|
@@ -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',
|
|
@@ -286,6 +303,11 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
286
303
|
DomainCreated: 'domain-created',
|
|
287
304
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
288
305
|
DomainPlanChanged: 'domain-plan-changed',
|
|
306
|
+
ConnectorMigrationStarted: 'connector-migration-started',
|
|
307
|
+
ConnectorMigrationCompleted: 'connector-migration-completed',
|
|
308
|
+
ConnectorMigrationCancelled: 'connector-migration-cancelled',
|
|
309
|
+
ConnectorMigrationReverted: 'connector-migration-reverted',
|
|
310
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
289
311
|
ItemsGiven: 'items-given',
|
|
290
312
|
PlayerConnected: 'player-connected',
|
|
291
313
|
PlayerDisconnected: 'player-disconnected',
|
|
@@ -340,6 +362,11 @@ export const EventExploreFiltersDTOEventNameEnum = {
|
|
|
340
362
|
DomainCreated: 'domain-created',
|
|
341
363
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
342
364
|
DomainPlanChanged: 'domain-plan-changed',
|
|
365
|
+
ConnectorMigrationStarted: 'connector-migration-started',
|
|
366
|
+
ConnectorMigrationCompleted: 'connector-migration-completed',
|
|
367
|
+
ConnectorMigrationCancelled: 'connector-migration-cancelled',
|
|
368
|
+
ConnectorMigrationReverted: 'connector-migration-reverted',
|
|
369
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
343
370
|
ItemsGiven: 'items-given',
|
|
344
371
|
PlayerConnected: 'player-connected',
|
|
345
372
|
PlayerDisconnected: 'player-disconnected',
|
|
@@ -394,6 +421,11 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
394
421
|
DomainCreated: 'domain-created',
|
|
395
422
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
396
423
|
DomainPlanChanged: 'domain-plan-changed',
|
|
424
|
+
ConnectorMigrationStarted: 'connector-migration-started',
|
|
425
|
+
ConnectorMigrationCompleted: 'connector-migration-completed',
|
|
426
|
+
ConnectorMigrationCancelled: 'connector-migration-cancelled',
|
|
427
|
+
ConnectorMigrationReverted: 'connector-migration-reverted',
|
|
428
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
397
429
|
ItemsGiven: 'items-given',
|
|
398
430
|
PlayerConnected: 'player-connected',
|
|
399
431
|
PlayerDisconnected: 'player-disconnected',
|
|
@@ -448,6 +480,11 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
448
480
|
DomainCreated: 'domain-created',
|
|
449
481
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
450
482
|
DomainPlanChanged: 'domain-plan-changed',
|
|
483
|
+
ConnectorMigrationStarted: 'connector-migration-started',
|
|
484
|
+
ConnectorMigrationCompleted: 'connector-migration-completed',
|
|
485
|
+
ConnectorMigrationCancelled: 'connector-migration-cancelled',
|
|
486
|
+
ConnectorMigrationReverted: 'connector-migration-reverted',
|
|
487
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
451
488
|
ItemsGiven: 'items-given',
|
|
452
489
|
PlayerConnected: 'player-connected',
|
|
453
490
|
PlayerDisconnected: 'player-disconnected',
|
|
@@ -545,6 +582,8 @@ export const GetJobInputDTOTypeEnum = {
|
|
|
545
582
|
EmitRateLimitSummary: 'emitRateLimitSummary',
|
|
546
583
|
CleanRevokedApiKeys: 'cleanRevokedApiKeys',
|
|
547
584
|
CleanExecutionClaims: 'cleanExecutionClaims',
|
|
585
|
+
DeleteClickHouseEvents: 'deleteClickHouseEvents',
|
|
586
|
+
CleanConnectorMigrations: 'cleanConnectorMigrations',
|
|
548
587
|
};
|
|
549
588
|
export const GetSettingsInputKeysEnum = {
|
|
550
589
|
CommandPrefix: 'commandPrefix',
|
|
@@ -623,6 +662,11 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
623
662
|
DomainCreated: 'domain-created',
|
|
624
663
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
625
664
|
DomainPlanChanged: 'domain-plan-changed',
|
|
665
|
+
ConnectorMigrationStarted: 'connector-migration-started',
|
|
666
|
+
ConnectorMigrationCompleted: 'connector-migration-completed',
|
|
667
|
+
ConnectorMigrationCancelled: 'connector-migration-cancelled',
|
|
668
|
+
ConnectorMigrationReverted: 'connector-migration-reverted',
|
|
669
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
626
670
|
ItemsGiven: 'items-given',
|
|
627
671
|
};
|
|
628
672
|
export const HookOutputDTOEventTypeEnum = {
|
|
@@ -679,6 +723,11 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
679
723
|
DomainCreated: 'domain-created',
|
|
680
724
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
681
725
|
DomainPlanChanged: 'domain-plan-changed',
|
|
726
|
+
ConnectorMigrationStarted: 'connector-migration-started',
|
|
727
|
+
ConnectorMigrationCompleted: 'connector-migration-completed',
|
|
728
|
+
ConnectorMigrationCancelled: 'connector-migration-cancelled',
|
|
729
|
+
ConnectorMigrationReverted: 'connector-migration-reverted',
|
|
730
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
682
731
|
ItemsGiven: 'items-given',
|
|
683
732
|
};
|
|
684
733
|
export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
@@ -735,6 +784,11 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
735
784
|
DomainCreated: 'domain-created',
|
|
736
785
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
737
786
|
DomainPlanChanged: 'domain-plan-changed',
|
|
787
|
+
ConnectorMigrationStarted: 'connector-migration-started',
|
|
788
|
+
ConnectorMigrationCompleted: 'connector-migration-completed',
|
|
789
|
+
ConnectorMigrationCancelled: 'connector-migration-cancelled',
|
|
790
|
+
ConnectorMigrationReverted: 'connector-migration-reverted',
|
|
791
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
738
792
|
ItemsGiven: 'items-given',
|
|
739
793
|
};
|
|
740
794
|
export const HookSearchInputDTOExtendEnum = {
|
|
@@ -799,6 +853,11 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
799
853
|
DomainCreated: 'domain-created',
|
|
800
854
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
801
855
|
DomainPlanChanged: 'domain-plan-changed',
|
|
856
|
+
ConnectorMigrationStarted: 'connector-migration-started',
|
|
857
|
+
ConnectorMigrationCompleted: 'connector-migration-completed',
|
|
858
|
+
ConnectorMigrationCancelled: 'connector-migration-cancelled',
|
|
859
|
+
ConnectorMigrationReverted: 'connector-migration-reverted',
|
|
860
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
802
861
|
ItemsGiven: 'items-given',
|
|
803
862
|
};
|
|
804
863
|
export const HookUpdateDTOEventTypeEnum = {
|
|
@@ -855,6 +914,11 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
855
914
|
DomainCreated: 'domain-created',
|
|
856
915
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
857
916
|
DomainPlanChanged: 'domain-plan-changed',
|
|
917
|
+
ConnectorMigrationStarted: 'connector-migration-started',
|
|
918
|
+
ConnectorMigrationCompleted: 'connector-migration-completed',
|
|
919
|
+
ConnectorMigrationCancelled: 'connector-migration-cancelled',
|
|
920
|
+
ConnectorMigrationReverted: 'connector-migration-reverted',
|
|
921
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
858
922
|
ItemsGiven: 'items-given',
|
|
859
923
|
};
|
|
860
924
|
export const IEntityDTOTypeEnum = {
|
|
@@ -916,6 +980,11 @@ export const IHookEventTypeEnum = {
|
|
|
916
980
|
DomainCreated: 'domain-created',
|
|
917
981
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
918
982
|
DomainPlanChanged: 'domain-plan-changed',
|
|
983
|
+
ConnectorMigrationStarted: 'connector-migration-started',
|
|
984
|
+
ConnectorMigrationCompleted: 'connector-migration-completed',
|
|
985
|
+
ConnectorMigrationCancelled: 'connector-migration-cancelled',
|
|
986
|
+
ConnectorMigrationReverted: 'connector-migration-reverted',
|
|
987
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
919
988
|
ItemsGiven: 'items-given',
|
|
920
989
|
};
|
|
921
990
|
export const ITakaroQuerySortDirectionEnum = {
|
|
@@ -991,6 +1060,8 @@ export const LoginQueryParamsLocaleEnum = {
|
|
|
991
1060
|
Ja: 'ja',
|
|
992
1061
|
It: 'it',
|
|
993
1062
|
Tr: 'tr',
|
|
1063
|
+
He: 'he',
|
|
1064
|
+
Ar: 'ar',
|
|
994
1065
|
};
|
|
995
1066
|
export const ManagementDomainOutputDTOStateEnum = {
|
|
996
1067
|
Active: 'ACTIVE',
|
|
@@ -1287,6 +1358,12 @@ export const TakaroAiUsageOutputDTOStatusEnum = {
|
|
|
1287
1358
|
NoAllowance: 'noAllowance',
|
|
1288
1359
|
NeedsGameServer: 'needsGameServer',
|
|
1289
1360
|
};
|
|
1361
|
+
export const TakaroEventDomainCreatedOriginEnum = {
|
|
1362
|
+
Distributor: 'distributor',
|
|
1363
|
+
Staff: 'staff',
|
|
1364
|
+
Subscription: 'subscription',
|
|
1365
|
+
AdminSecret: 'admin_secret',
|
|
1366
|
+
};
|
|
1290
1367
|
export const TakaroEventItemsGivenLineResultEnum = {
|
|
1291
1368
|
Delivered: 'DELIVERED',
|
|
1292
1369
|
Failed: 'FAILED',
|
|
@@ -5864,6 +5941,8 @@ export const AuthControllerLoginLocaleEnum = {
|
|
|
5864
5941
|
Ja: 'ja',
|
|
5865
5942
|
It: 'it',
|
|
5866
5943
|
Tr: 'tr',
|
|
5944
|
+
He: 'he',
|
|
5945
|
+
Ar: 'ar',
|
|
5867
5946
|
};
|
|
5868
5947
|
/**
|
|
5869
5948
|
* CommandApi - axios parameter creator
|
|
@@ -9622,6 +9701,102 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
9622
9701
|
options: localVarRequestOptions,
|
|
9623
9702
|
};
|
|
9624
9703
|
},
|
|
9704
|
+
/**
|
|
9705
|
+
* 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`
|
|
9706
|
+
* @summary Cancel connector migration
|
|
9707
|
+
* @param {string} id
|
|
9708
|
+
* @param {*} [options] Override http request option.
|
|
9709
|
+
* @throws {RequiredError}
|
|
9710
|
+
*/
|
|
9711
|
+
gameServerControllerCancelConnectorMigration: async (id, options = {}) => {
|
|
9712
|
+
// verify required parameter 'id' is not null or undefined
|
|
9713
|
+
assertParamExists('gameServerControllerCancelConnectorMigration', 'id', id);
|
|
9714
|
+
const localVarPath = `/gameserver/{id}/connector-migration/cancel`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
9715
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9716
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9717
|
+
let baseOptions;
|
|
9718
|
+
if (configuration) {
|
|
9719
|
+
baseOptions = configuration.baseOptions;
|
|
9720
|
+
}
|
|
9721
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
9722
|
+
const localVarHeaderParameter = {};
|
|
9723
|
+
const localVarQueryParameter = {};
|
|
9724
|
+
// authentication bearerAuth required
|
|
9725
|
+
// http bearer authentication required
|
|
9726
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9727
|
+
// authentication domainAuth required
|
|
9728
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9729
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9730
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9731
|
+
return {
|
|
9732
|
+
url: toPathString(localVarUrlObj),
|
|
9733
|
+
options: localVarRequestOptions,
|
|
9734
|
+
};
|
|
9735
|
+
},
|
|
9736
|
+
/**
|
|
9737
|
+
* 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`
|
|
9738
|
+
* @summary Claim connector migration
|
|
9739
|
+
* @param {ConnectorMigrationClaimInputDTO} [connectorMigrationClaimInputDTO] ConnectorMigrationClaimInputDTO
|
|
9740
|
+
* @param {*} [options] Override http request option.
|
|
9741
|
+
* @throws {RequiredError}
|
|
9742
|
+
*/
|
|
9743
|
+
gameServerControllerClaimConnectorMigration: async (connectorMigrationClaimInputDTO, options = {}) => {
|
|
9744
|
+
const localVarPath = `/gameserver/connector-migration/claim`;
|
|
9745
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9746
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9747
|
+
let baseOptions;
|
|
9748
|
+
if (configuration) {
|
|
9749
|
+
baseOptions = configuration.baseOptions;
|
|
9750
|
+
}
|
|
9751
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
9752
|
+
const localVarHeaderParameter = {};
|
|
9753
|
+
const localVarQueryParameter = {};
|
|
9754
|
+
// authentication bearerAuth required
|
|
9755
|
+
// http bearer authentication required
|
|
9756
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9757
|
+
// authentication domainAuth required
|
|
9758
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9759
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9760
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9761
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9762
|
+
localVarRequestOptions.data = serializeDataIfNeeded(connectorMigrationClaimInputDTO, localVarRequestOptions, configuration);
|
|
9763
|
+
return {
|
|
9764
|
+
url: toPathString(localVarUrlObj),
|
|
9765
|
+
options: localVarRequestOptions,
|
|
9766
|
+
};
|
|
9767
|
+
},
|
|
9768
|
+
/**
|
|
9769
|
+
* 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`
|
|
9770
|
+
* @summary Connector migration report
|
|
9771
|
+
* @param {string} id
|
|
9772
|
+
* @param {*} [options] Override http request option.
|
|
9773
|
+
* @throws {RequiredError}
|
|
9774
|
+
*/
|
|
9775
|
+
gameServerControllerConnectorMigrationReport: async (id, options = {}) => {
|
|
9776
|
+
// verify required parameter 'id' is not null or undefined
|
|
9777
|
+
assertParamExists('gameServerControllerConnectorMigrationReport', 'id', id);
|
|
9778
|
+
const localVarPath = `/gameserver/{id}/connector-migration/report`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
9779
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9780
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9781
|
+
let baseOptions;
|
|
9782
|
+
if (configuration) {
|
|
9783
|
+
baseOptions = configuration.baseOptions;
|
|
9784
|
+
}
|
|
9785
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
9786
|
+
const localVarHeaderParameter = {};
|
|
9787
|
+
const localVarQueryParameter = {};
|
|
9788
|
+
// authentication bearerAuth required
|
|
9789
|
+
// http bearer authentication required
|
|
9790
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9791
|
+
// authentication domainAuth required
|
|
9792
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9793
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9794
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9795
|
+
return {
|
|
9796
|
+
url: toPathString(localVarUrlObj),
|
|
9797
|
+
options: localVarRequestOptions,
|
|
9798
|
+
};
|
|
9799
|
+
},
|
|
9625
9800
|
/**
|
|
9626
9801
|
* Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
|
|
9627
9802
|
* @summary Create
|
|
@@ -10428,6 +10603,38 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
10428
10603
|
options: localVarRequestOptions,
|
|
10429
10604
|
};
|
|
10430
10605
|
},
|
|
10606
|
+
/**
|
|
10607
|
+
* 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`
|
|
10608
|
+
* @summary Revert connector migration
|
|
10609
|
+
* @param {string} id
|
|
10610
|
+
* @param {*} [options] Override http request option.
|
|
10611
|
+
* @throws {RequiredError}
|
|
10612
|
+
*/
|
|
10613
|
+
gameServerControllerRevertConnectorMigration: async (id, options = {}) => {
|
|
10614
|
+
// verify required parameter 'id' is not null or undefined
|
|
10615
|
+
assertParamExists('gameServerControllerRevertConnectorMigration', 'id', id);
|
|
10616
|
+
const localVarPath = `/gameserver/{id}/connector-migration/revert`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10617
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10618
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10619
|
+
let baseOptions;
|
|
10620
|
+
if (configuration) {
|
|
10621
|
+
baseOptions = configuration.baseOptions;
|
|
10622
|
+
}
|
|
10623
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10624
|
+
const localVarHeaderParameter = {};
|
|
10625
|
+
const localVarQueryParameter = {};
|
|
10626
|
+
// authentication bearerAuth required
|
|
10627
|
+
// http bearer authentication required
|
|
10628
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10629
|
+
// authentication domainAuth required
|
|
10630
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10631
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10632
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10633
|
+
return {
|
|
10634
|
+
url: toPathString(localVarUrlObj),
|
|
10635
|
+
options: localVarRequestOptions,
|
|
10636
|
+
};
|
|
10637
|
+
},
|
|
10431
10638
|
/**
|
|
10432
10639
|
* Fetch gameservers<br> OperationId: `GameServerControllerSearch`
|
|
10433
10640
|
* @summary Search
|
|
@@ -10530,6 +10737,41 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
10530
10737
|
options: localVarRequestOptions,
|
|
10531
10738
|
};
|
|
10532
10739
|
},
|
|
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
|
+
},
|
|
10533
10775
|
/**
|
|
10534
10776
|
* 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`
|
|
10535
10777
|
* @summary Shutdown
|
|
@@ -10562,6 +10804,38 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
10562
10804
|
options: localVarRequestOptions,
|
|
10563
10805
|
};
|
|
10564
10806
|
},
|
|
10807
|
+
/**
|
|
10808
|
+
* 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`
|
|
10809
|
+
* @summary Start connector migration
|
|
10810
|
+
* @param {string} id
|
|
10811
|
+
* @param {*} [options] Override http request option.
|
|
10812
|
+
* @throws {RequiredError}
|
|
10813
|
+
*/
|
|
10814
|
+
gameServerControllerStartConnectorMigration: async (id, options = {}) => {
|
|
10815
|
+
// verify required parameter 'id' is not null or undefined
|
|
10816
|
+
assertParamExists('gameServerControllerStartConnectorMigration', 'id', id);
|
|
10817
|
+
const localVarPath = `/gameserver/{id}/connector-migration`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10818
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10819
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10820
|
+
let baseOptions;
|
|
10821
|
+
if (configuration) {
|
|
10822
|
+
baseOptions = configuration.baseOptions;
|
|
10823
|
+
}
|
|
10824
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10825
|
+
const localVarHeaderParameter = {};
|
|
10826
|
+
const localVarQueryParameter = {};
|
|
10827
|
+
// authentication bearerAuth required
|
|
10828
|
+
// http bearer authentication required
|
|
10829
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10830
|
+
// authentication domainAuth required
|
|
10831
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10832
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10833
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10834
|
+
return {
|
|
10835
|
+
url: toPathString(localVarUrlObj),
|
|
10836
|
+
options: localVarRequestOptions,
|
|
10837
|
+
};
|
|
10838
|
+
},
|
|
10565
10839
|
/**
|
|
10566
10840
|
* Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
|
|
10567
10841
|
* @summary Teleport player
|
|
@@ -10841,6 +11115,48 @@ export const GameServerApiFp = function (configuration) {
|
|
|
10841
11115
|
const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerBanPlayer']?.[localVarOperationServerIndex]?.url;
|
|
10842
11116
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10843
11117
|
},
|
|
11118
|
+
/**
|
|
11119
|
+
* 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`
|
|
11120
|
+
* @summary Cancel connector migration
|
|
11121
|
+
* @param {string} id
|
|
11122
|
+
* @param {*} [options] Override http request option.
|
|
11123
|
+
* @throws {RequiredError}
|
|
11124
|
+
*/
|
|
11125
|
+
async gameServerControllerCancelConnectorMigration(id, options) {
|
|
11126
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerCancelConnectorMigration(id, options);
|
|
11127
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11128
|
+
const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerCancelConnectorMigration']?.[localVarOperationServerIndex]
|
|
11129
|
+
?.url;
|
|
11130
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11131
|
+
},
|
|
11132
|
+
/**
|
|
11133
|
+
* 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`
|
|
11134
|
+
* @summary Claim connector migration
|
|
11135
|
+
* @param {ConnectorMigrationClaimInputDTO} [connectorMigrationClaimInputDTO] ConnectorMigrationClaimInputDTO
|
|
11136
|
+
* @param {*} [options] Override http request option.
|
|
11137
|
+
* @throws {RequiredError}
|
|
11138
|
+
*/
|
|
11139
|
+
async gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options) {
|
|
11140
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options);
|
|
11141
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11142
|
+
const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerClaimConnectorMigration']?.[localVarOperationServerIndex]
|
|
11143
|
+
?.url;
|
|
11144
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11145
|
+
},
|
|
11146
|
+
/**
|
|
11147
|
+
* 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`
|
|
11148
|
+
* @summary Connector migration report
|
|
11149
|
+
* @param {string} id
|
|
11150
|
+
* @param {*} [options] Override http request option.
|
|
11151
|
+
* @throws {RequiredError}
|
|
11152
|
+
*/
|
|
11153
|
+
async gameServerControllerConnectorMigrationReport(id, options) {
|
|
11154
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerConnectorMigrationReport(id, options);
|
|
11155
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11156
|
+
const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerConnectorMigrationReport']?.[localVarOperationServerIndex]
|
|
11157
|
+
?.url;
|
|
11158
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11159
|
+
},
|
|
10844
11160
|
/**
|
|
10845
11161
|
* Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
|
|
10846
11162
|
* @summary Create
|
|
@@ -11159,6 +11475,20 @@ export const GameServerApiFp = function (configuration) {
|
|
|
11159
11475
|
const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerResetCurrency']?.[localVarOperationServerIndex]?.url;
|
|
11160
11476
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11161
11477
|
},
|
|
11478
|
+
/**
|
|
11479
|
+
* 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`
|
|
11480
|
+
* @summary Revert connector migration
|
|
11481
|
+
* @param {string} id
|
|
11482
|
+
* @param {*} [options] Override http request option.
|
|
11483
|
+
* @throws {RequiredError}
|
|
11484
|
+
*/
|
|
11485
|
+
async gameServerControllerRevertConnectorMigration(id, options) {
|
|
11486
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRevertConnectorMigration(id, options);
|
|
11487
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11488
|
+
const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerRevertConnectorMigration']?.[localVarOperationServerIndex]
|
|
11489
|
+
?.url;
|
|
11490
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11491
|
+
},
|
|
11162
11492
|
/**
|
|
11163
11493
|
* Fetch gameservers<br> OperationId: `GameServerControllerSearch`
|
|
11164
11494
|
* @summary Search
|
|
@@ -11200,6 +11530,20 @@ export const GameServerApiFp = function (configuration) {
|
|
|
11200
11530
|
const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerSetCapabilities']?.[localVarOperationServerIndex]?.url;
|
|
11201
11531
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11202
11532
|
},
|
|
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
|
+
},
|
|
11203
11547
|
/**
|
|
11204
11548
|
* 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`
|
|
11205
11549
|
* @summary Shutdown
|
|
@@ -11213,6 +11557,20 @@ export const GameServerApiFp = function (configuration) {
|
|
|
11213
11557
|
const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerShutdown']?.[localVarOperationServerIndex]?.url;
|
|
11214
11558
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11215
11559
|
},
|
|
11560
|
+
/**
|
|
11561
|
+
* 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`
|
|
11562
|
+
* @summary Start connector migration
|
|
11563
|
+
* @param {string} id
|
|
11564
|
+
* @param {*} [options] Override http request option.
|
|
11565
|
+
* @throws {RequiredError}
|
|
11566
|
+
*/
|
|
11567
|
+
async gameServerControllerStartConnectorMigration(id, options) {
|
|
11568
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerStartConnectorMigration(id, options);
|
|
11569
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11570
|
+
const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerStartConnectorMigration']?.[localVarOperationServerIndex]
|
|
11571
|
+
?.url;
|
|
11572
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11573
|
+
},
|
|
11216
11574
|
/**
|
|
11217
11575
|
* Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
|
|
11218
11576
|
* @summary Teleport player
|
|
@@ -11337,6 +11695,42 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
11337
11695
|
.gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options)
|
|
11338
11696
|
.then((request) => request(axios, basePath));
|
|
11339
11697
|
},
|
|
11698
|
+
/**
|
|
11699
|
+
* 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`
|
|
11700
|
+
* @summary Cancel connector migration
|
|
11701
|
+
* @param {string} id
|
|
11702
|
+
* @param {*} [options] Override http request option.
|
|
11703
|
+
* @throws {RequiredError}
|
|
11704
|
+
*/
|
|
11705
|
+
gameServerControllerCancelConnectorMigration(id, options) {
|
|
11706
|
+
return localVarFp
|
|
11707
|
+
.gameServerControllerCancelConnectorMigration(id, options)
|
|
11708
|
+
.then((request) => request(axios, basePath));
|
|
11709
|
+
},
|
|
11710
|
+
/**
|
|
11711
|
+
* 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`
|
|
11712
|
+
* @summary Claim connector migration
|
|
11713
|
+
* @param {ConnectorMigrationClaimInputDTO} [connectorMigrationClaimInputDTO] ConnectorMigrationClaimInputDTO
|
|
11714
|
+
* @param {*} [options] Override http request option.
|
|
11715
|
+
* @throws {RequiredError}
|
|
11716
|
+
*/
|
|
11717
|
+
gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options) {
|
|
11718
|
+
return localVarFp
|
|
11719
|
+
.gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options)
|
|
11720
|
+
.then((request) => request(axios, basePath));
|
|
11721
|
+
},
|
|
11722
|
+
/**
|
|
11723
|
+
* 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`
|
|
11724
|
+
* @summary Connector migration report
|
|
11725
|
+
* @param {string} id
|
|
11726
|
+
* @param {*} [options] Override http request option.
|
|
11727
|
+
* @throws {RequiredError}
|
|
11728
|
+
*/
|
|
11729
|
+
gameServerControllerConnectorMigrationReport(id, options) {
|
|
11730
|
+
return localVarFp
|
|
11731
|
+
.gameServerControllerConnectorMigrationReport(id, options)
|
|
11732
|
+
.then((request) => request(axios, basePath));
|
|
11733
|
+
},
|
|
11340
11734
|
/**
|
|
11341
11735
|
* Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
|
|
11342
11736
|
* @summary Create
|
|
@@ -11605,6 +11999,18 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
11605
11999
|
gameServerControllerResetCurrency(id, options) {
|
|
11606
12000
|
return localVarFp.gameServerControllerResetCurrency(id, options).then((request) => request(axios, basePath));
|
|
11607
12001
|
},
|
|
12002
|
+
/**
|
|
12003
|
+
* 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`
|
|
12004
|
+
* @summary Revert connector migration
|
|
12005
|
+
* @param {string} id
|
|
12006
|
+
* @param {*} [options] Override http request option.
|
|
12007
|
+
* @throws {RequiredError}
|
|
12008
|
+
*/
|
|
12009
|
+
gameServerControllerRevertConnectorMigration(id, options) {
|
|
12010
|
+
return localVarFp
|
|
12011
|
+
.gameServerControllerRevertConnectorMigration(id, options)
|
|
12012
|
+
.then((request) => request(axios, basePath));
|
|
12013
|
+
},
|
|
11608
12014
|
/**
|
|
11609
12015
|
* Fetch gameservers<br> OperationId: `GameServerControllerSearch`
|
|
11610
12016
|
* @summary Search
|
|
@@ -11643,6 +12049,19 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
11643
12049
|
.gameServerControllerSetCapabilities(id, gameServerCapabilitiesInputDTO, options)
|
|
11644
12050
|
.then((request) => request(axios, basePath));
|
|
11645
12051
|
},
|
|
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
|
+
},
|
|
11646
12065
|
/**
|
|
11647
12066
|
* 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`
|
|
11648
12067
|
* @summary Shutdown
|
|
@@ -11653,6 +12072,18 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
11653
12072
|
gameServerControllerShutdown(id, options) {
|
|
11654
12073
|
return localVarFp.gameServerControllerShutdown(id, options).then((request) => request(axios, basePath));
|
|
11655
12074
|
},
|
|
12075
|
+
/**
|
|
12076
|
+
* 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`
|
|
12077
|
+
* @summary Start connector migration
|
|
12078
|
+
* @param {string} id
|
|
12079
|
+
* @param {*} [options] Override http request option.
|
|
12080
|
+
* @throws {RequiredError}
|
|
12081
|
+
*/
|
|
12082
|
+
gameServerControllerStartConnectorMigration(id, options) {
|
|
12083
|
+
return localVarFp
|
|
12084
|
+
.gameServerControllerStartConnectorMigration(id, options)
|
|
12085
|
+
.then((request) => request(axios, basePath));
|
|
12086
|
+
},
|
|
11656
12087
|
/**
|
|
11657
12088
|
* Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
|
|
11658
12089
|
* @summary Teleport player
|
|
@@ -11768,6 +12199,45 @@ export class GameServerApi extends BaseAPI {
|
|
|
11768
12199
|
.gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options)
|
|
11769
12200
|
.then((request) => request(this.axios, this.basePath));
|
|
11770
12201
|
}
|
|
12202
|
+
/**
|
|
12203
|
+
* 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`
|
|
12204
|
+
* @summary Cancel connector migration
|
|
12205
|
+
* @param {string} id
|
|
12206
|
+
* @param {*} [options] Override http request option.
|
|
12207
|
+
* @throws {RequiredError}
|
|
12208
|
+
* @memberof GameServerApi
|
|
12209
|
+
*/
|
|
12210
|
+
gameServerControllerCancelConnectorMigration(id, options) {
|
|
12211
|
+
return GameServerApiFp(this.configuration)
|
|
12212
|
+
.gameServerControllerCancelConnectorMigration(id, options)
|
|
12213
|
+
.then((request) => request(this.axios, this.basePath));
|
|
12214
|
+
}
|
|
12215
|
+
/**
|
|
12216
|
+
* 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`
|
|
12217
|
+
* @summary Claim connector migration
|
|
12218
|
+
* @param {ConnectorMigrationClaimInputDTO} [connectorMigrationClaimInputDTO] ConnectorMigrationClaimInputDTO
|
|
12219
|
+
* @param {*} [options] Override http request option.
|
|
12220
|
+
* @throws {RequiredError}
|
|
12221
|
+
* @memberof GameServerApi
|
|
12222
|
+
*/
|
|
12223
|
+
gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options) {
|
|
12224
|
+
return GameServerApiFp(this.configuration)
|
|
12225
|
+
.gameServerControllerClaimConnectorMigration(connectorMigrationClaimInputDTO, options)
|
|
12226
|
+
.then((request) => request(this.axios, this.basePath));
|
|
12227
|
+
}
|
|
12228
|
+
/**
|
|
12229
|
+
* 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`
|
|
12230
|
+
* @summary Connector migration report
|
|
12231
|
+
* @param {string} id
|
|
12232
|
+
* @param {*} [options] Override http request option.
|
|
12233
|
+
* @throws {RequiredError}
|
|
12234
|
+
* @memberof GameServerApi
|
|
12235
|
+
*/
|
|
12236
|
+
gameServerControllerConnectorMigrationReport(id, options) {
|
|
12237
|
+
return GameServerApiFp(this.configuration)
|
|
12238
|
+
.gameServerControllerConnectorMigrationReport(id, options)
|
|
12239
|
+
.then((request) => request(this.axios, this.basePath));
|
|
12240
|
+
}
|
|
11771
12241
|
/**
|
|
11772
12242
|
* Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
|
|
11773
12243
|
* @summary Create
|
|
@@ -12085,6 +12555,19 @@ export class GameServerApi extends BaseAPI {
|
|
|
12085
12555
|
.gameServerControllerResetCurrency(id, options)
|
|
12086
12556
|
.then((request) => request(this.axios, this.basePath));
|
|
12087
12557
|
}
|
|
12558
|
+
/**
|
|
12559
|
+
* 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`
|
|
12560
|
+
* @summary Revert connector migration
|
|
12561
|
+
* @param {string} id
|
|
12562
|
+
* @param {*} [options] Override http request option.
|
|
12563
|
+
* @throws {RequiredError}
|
|
12564
|
+
* @memberof GameServerApi
|
|
12565
|
+
*/
|
|
12566
|
+
gameServerControllerRevertConnectorMigration(id, options) {
|
|
12567
|
+
return GameServerApiFp(this.configuration)
|
|
12568
|
+
.gameServerControllerRevertConnectorMigration(id, options)
|
|
12569
|
+
.then((request) => request(this.axios, this.basePath));
|
|
12570
|
+
}
|
|
12088
12571
|
/**
|
|
12089
12572
|
* Fetch gameservers<br> OperationId: `GameServerControllerSearch`
|
|
12090
12573
|
* @summary Search
|
|
@@ -12126,6 +12609,20 @@ export class GameServerApi extends BaseAPI {
|
|
|
12126
12609
|
.gameServerControllerSetCapabilities(id, gameServerCapabilitiesInputDTO, options)
|
|
12127
12610
|
.then((request) => request(this.axios, this.basePath));
|
|
12128
12611
|
}
|
|
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
|
+
}
|
|
12129
12626
|
/**
|
|
12130
12627
|
* 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`
|
|
12131
12628
|
* @summary Shutdown
|
|
@@ -12139,6 +12636,19 @@ export class GameServerApi extends BaseAPI {
|
|
|
12139
12636
|
.gameServerControllerShutdown(id, options)
|
|
12140
12637
|
.then((request) => request(this.axios, this.basePath));
|
|
12141
12638
|
}
|
|
12639
|
+
/**
|
|
12640
|
+
* 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`
|
|
12641
|
+
* @summary Start connector migration
|
|
12642
|
+
* @param {string} id
|
|
12643
|
+
* @param {*} [options] Override http request option.
|
|
12644
|
+
* @throws {RequiredError}
|
|
12645
|
+
* @memberof GameServerApi
|
|
12646
|
+
*/
|
|
12647
|
+
gameServerControllerStartConnectorMigration(id, options) {
|
|
12648
|
+
return GameServerApiFp(this.configuration)
|
|
12649
|
+
.gameServerControllerStartConnectorMigration(id, options)
|
|
12650
|
+
.then((request) => request(this.axios, this.basePath));
|
|
12651
|
+
}
|
|
12142
12652
|
/**
|
|
12143
12653
|
* Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
|
|
12144
12654
|
* @summary Teleport player
|