@takaro/apiclient 0.0.0-dev.d2d0db6 → 0.0.0-dev.d31c976
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 +1723 -1508
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +175 -81
- package/dist/generated/api.js.map +1 -1
- package/dist/generated/base.d.ts.map +1 -1
- package/dist/generated/base.js.map +1 -1
- package/dist/generated/common.d.ts.map +1 -1
- package/dist/generated/common.js.map +1 -1
- package/dist/generated/configuration.d.ts.map +1 -1
- package/dist/generated/configuration.js.map +1 -1
- package/dist/generated-management/api.d.ts +2759 -1306
- package/dist/generated-management/api.d.ts.map +1 -1
- package/dist/generated-management/api.js +1158 -143
- package/dist/generated-management/api.js.map +1 -1
- package/dist/generated-management/base.d.ts.map +1 -1
- package/dist/generated-management/base.js.map +1 -1
- package/dist/generated-management/common.d.ts.map +1 -1
- package/dist/generated-management/common.js.map +1 -1
- package/dist/generated-management/configuration.d.ts.map +1 -1
- package/dist/generated-management/configuration.js.map +1 -1
- package/dist/lib/adminClient.d.ts +3 -1
- package/dist/lib/adminClient.d.ts.map +1 -1
- package/dist/lib/adminClient.js +7 -1
- package/dist/lib/adminClient.js.map +1 -1
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +2 -2
- package/dist/lib/client.js.map +1 -1
- package/dist/lib/distributorClient.d.ts.map +1 -1
- package/dist/lib/staffClient.d.ts +3 -1
- package/dist/lib/staffClient.d.ts.map +1 -1
- package/dist/lib/staffClient.js +5 -1
- package/dist/lib/staffClient.js.map +1 -1
- package/dist/main.d.ts +2 -2
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/package.json +4 -3
package/dist/generated/api.js
CHANGED
|
@@ -201,11 +201,6 @@ export const CsmmExportSectionParamsSectionEnum = {
|
|
|
201
201
|
CustomHooks: 'customHooks',
|
|
202
202
|
CronJobs: 'cronJobs',
|
|
203
203
|
};
|
|
204
|
-
export const DistributorBackedDomainOutputDTOStateEnum = {
|
|
205
|
-
Active: 'ACTIVE',
|
|
206
|
-
Disabled: 'DISABLED',
|
|
207
|
-
Maintenance: 'MAINTENANCE',
|
|
208
|
-
};
|
|
209
204
|
export const DomainCreateInputDTOStateEnum = {
|
|
210
205
|
Active: 'ACTIVE',
|
|
211
206
|
Disabled: 'DISABLED',
|
|
@@ -288,6 +283,7 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
288
283
|
PlayerLinked: 'player-linked',
|
|
289
284
|
GameserverCreated: 'gameserver-created',
|
|
290
285
|
GameserverUpdated: 'gameserver-updated',
|
|
286
|
+
GameserverVersionChanged: 'gameserver-version-changed',
|
|
291
287
|
GameserverDeleted: 'gameserver-deleted',
|
|
292
288
|
PlayerBanned: 'player-banned',
|
|
293
289
|
PlayerUnbanned: 'player-unbanned',
|
|
@@ -347,6 +343,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
|
|
|
347
343
|
PlayerLinked: 'player-linked',
|
|
348
344
|
GameserverCreated: 'gameserver-created',
|
|
349
345
|
GameserverUpdated: 'gameserver-updated',
|
|
346
|
+
GameserverVersionChanged: 'gameserver-version-changed',
|
|
350
347
|
GameserverDeleted: 'gameserver-deleted',
|
|
351
348
|
PlayerBanned: 'player-banned',
|
|
352
349
|
PlayerUnbanned: 'player-unbanned',
|
|
@@ -406,6 +403,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
406
403
|
PlayerLinked: 'player-linked',
|
|
407
404
|
GameserverCreated: 'gameserver-created',
|
|
408
405
|
GameserverUpdated: 'gameserver-updated',
|
|
406
|
+
GameserverVersionChanged: 'gameserver-version-changed',
|
|
409
407
|
GameserverDeleted: 'gameserver-deleted',
|
|
410
408
|
PlayerBanned: 'player-banned',
|
|
411
409
|
PlayerUnbanned: 'player-unbanned',
|
|
@@ -465,6 +463,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
465
463
|
PlayerLinked: 'player-linked',
|
|
466
464
|
GameserverCreated: 'gameserver-created',
|
|
467
465
|
GameserverUpdated: 'gameserver-updated',
|
|
466
|
+
GameserverVersionChanged: 'gameserver-version-changed',
|
|
468
467
|
GameserverDeleted: 'gameserver-deleted',
|
|
469
468
|
PlayerBanned: 'player-banned',
|
|
470
469
|
PlayerUnbanned: 'player-unbanned',
|
|
@@ -527,12 +526,24 @@ export const GameServerCreateDTOTypeEnum = {
|
|
|
527
526
|
Generic: 'GENERIC',
|
|
528
527
|
Mock: 'MOCK',
|
|
529
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
|
+
};
|
|
530
537
|
export const GameServerOutputDTOTypeEnum = {
|
|
531
538
|
Sevendaystodie: 'SEVENDAYSTODIE',
|
|
532
539
|
Rust: 'RUST',
|
|
533
540
|
Generic: 'GENERIC',
|
|
534
541
|
Mock: 'MOCK',
|
|
535
542
|
};
|
|
543
|
+
export const GameServerOutputDTONameSourceEnum = {
|
|
544
|
+
Connector: 'connector',
|
|
545
|
+
Operator: 'operator',
|
|
546
|
+
};
|
|
536
547
|
export const GameServerSearchInputAllowedFiltersTypeEnum = {
|
|
537
548
|
Sevendaystodie: 'SEVENDAYSTODIE',
|
|
538
549
|
Rust: 'RUST',
|
|
@@ -577,6 +588,7 @@ export const GetJobInputDTOTypeEnum = {
|
|
|
577
588
|
SyncBans: 'syncBans',
|
|
578
589
|
SyncMapImages: 'syncMapImages',
|
|
579
590
|
SyncMapUploads: 'syncMapUploads',
|
|
591
|
+
SyncGameIcons: 'syncGameIcons',
|
|
580
592
|
SyncSteam: 'syncSteam',
|
|
581
593
|
SyncDiscordRoles: 'syncDiscordRoles',
|
|
582
594
|
EmitRateLimitSummary: 'emitRateLimitSummary',
|
|
@@ -647,6 +659,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
647
659
|
PlayerLinked: 'player-linked',
|
|
648
660
|
GameserverCreated: 'gameserver-created',
|
|
649
661
|
GameserverUpdated: 'gameserver-updated',
|
|
662
|
+
GameserverVersionChanged: 'gameserver-version-changed',
|
|
650
663
|
GameserverDeleted: 'gameserver-deleted',
|
|
651
664
|
PlayerBanned: 'player-banned',
|
|
652
665
|
PlayerUnbanned: 'player-unbanned',
|
|
@@ -708,6 +721,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
708
721
|
PlayerLinked: 'player-linked',
|
|
709
722
|
GameserverCreated: 'gameserver-created',
|
|
710
723
|
GameserverUpdated: 'gameserver-updated',
|
|
724
|
+
GameserverVersionChanged: 'gameserver-version-changed',
|
|
711
725
|
GameserverDeleted: 'gameserver-deleted',
|
|
712
726
|
PlayerBanned: 'player-banned',
|
|
713
727
|
PlayerUnbanned: 'player-unbanned',
|
|
@@ -769,6 +783,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
769
783
|
PlayerLinked: 'player-linked',
|
|
770
784
|
GameserverCreated: 'gameserver-created',
|
|
771
785
|
GameserverUpdated: 'gameserver-updated',
|
|
786
|
+
GameserverVersionChanged: 'gameserver-version-changed',
|
|
772
787
|
GameserverDeleted: 'gameserver-deleted',
|
|
773
788
|
PlayerBanned: 'player-banned',
|
|
774
789
|
PlayerUnbanned: 'player-unbanned',
|
|
@@ -838,6 +853,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
838
853
|
PlayerLinked: 'player-linked',
|
|
839
854
|
GameserverCreated: 'gameserver-created',
|
|
840
855
|
GameserverUpdated: 'gameserver-updated',
|
|
856
|
+
GameserverVersionChanged: 'gameserver-version-changed',
|
|
841
857
|
GameserverDeleted: 'gameserver-deleted',
|
|
842
858
|
PlayerBanned: 'player-banned',
|
|
843
859
|
PlayerUnbanned: 'player-unbanned',
|
|
@@ -899,6 +915,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
899
915
|
PlayerLinked: 'player-linked',
|
|
900
916
|
GameserverCreated: 'gameserver-created',
|
|
901
917
|
GameserverUpdated: 'gameserver-updated',
|
|
918
|
+
GameserverVersionChanged: 'gameserver-version-changed',
|
|
902
919
|
GameserverDeleted: 'gameserver-deleted',
|
|
903
920
|
PlayerBanned: 'player-banned',
|
|
904
921
|
PlayerUnbanned: 'player-unbanned',
|
|
@@ -965,6 +982,7 @@ export const IHookEventTypeEnum = {
|
|
|
965
982
|
PlayerLinked: 'player-linked',
|
|
966
983
|
GameserverCreated: 'gameserver-created',
|
|
967
984
|
GameserverUpdated: 'gameserver-updated',
|
|
985
|
+
GameserverVersionChanged: 'gameserver-version-changed',
|
|
968
986
|
GameserverDeleted: 'gameserver-deleted',
|
|
969
987
|
PlayerBanned: 'player-banned',
|
|
970
988
|
PlayerUnbanned: 'player-unbanned',
|
|
@@ -1520,6 +1538,7 @@ export const TriggerJobInputDTOTypeEnum = {
|
|
|
1520
1538
|
SyncBans: 'syncBans',
|
|
1521
1539
|
SyncMapImages: 'syncMapImages',
|
|
1522
1540
|
SyncMapUploads: 'syncMapUploads',
|
|
1541
|
+
SyncGameIcons: 'syncGameIcons',
|
|
1523
1542
|
SyncSteam: 'syncSteam',
|
|
1524
1543
|
SyncDiscordRoles: 'syncDiscordRoles',
|
|
1525
1544
|
};
|
|
@@ -9949,6 +9968,42 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
9949
9968
|
options: localVarRequestOptions,
|
|
9950
9969
|
};
|
|
9951
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
|
+
},
|
|
9952
10007
|
/**
|
|
9953
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`
|
|
9954
10009
|
* @summary Get import
|
|
@@ -10473,6 +10528,41 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
10473
10528
|
options: localVarRequestOptions,
|
|
10474
10529
|
};
|
|
10475
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
|
+
},
|
|
10476
10566
|
/**
|
|
10477
10567
|
* Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
|
|
10478
10568
|
* @summary Regenerate registration token
|
|
@@ -10737,41 +10827,6 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
10737
10827
|
options: localVarRequestOptions,
|
|
10738
10828
|
};
|
|
10739
10829
|
},
|
|
10740
|
-
/**
|
|
10741
|
-
* Records the game a connector-based game server reported at identify (e.g. \"7d2d\"). Written by the connector on handshake; users normally never call it. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSetGame`
|
|
10742
|
-
* @summary Set game
|
|
10743
|
-
* @param {string} id
|
|
10744
|
-
* @param {GameServerGameInputDTO} [gameServerGameInputDTO] GameServerGameInputDTO
|
|
10745
|
-
* @param {*} [options] Override http request option.
|
|
10746
|
-
* @throws {RequiredError}
|
|
10747
|
-
*/
|
|
10748
|
-
gameServerControllerSetGame: async (id, gameServerGameInputDTO, options = {}) => {
|
|
10749
|
-
// verify required parameter 'id' is not null or undefined
|
|
10750
|
-
assertParamExists('gameServerControllerSetGame', 'id', id);
|
|
10751
|
-
const localVarPath = `/gameserver/{id}/game`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10752
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10753
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10754
|
-
let baseOptions;
|
|
10755
|
-
if (configuration) {
|
|
10756
|
-
baseOptions = configuration.baseOptions;
|
|
10757
|
-
}
|
|
10758
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
10759
|
-
const localVarHeaderParameter = {};
|
|
10760
|
-
const localVarQueryParameter = {};
|
|
10761
|
-
// authentication bearerAuth required
|
|
10762
|
-
// http bearer authentication required
|
|
10763
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10764
|
-
// authentication domainAuth required
|
|
10765
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10766
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10767
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10768
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10769
|
-
localVarRequestOptions.data = serializeDataIfNeeded(gameServerGameInputDTO, localVarRequestOptions, configuration);
|
|
10770
|
-
return {
|
|
10771
|
-
url: toPathString(localVarUrlObj),
|
|
10772
|
-
options: localVarRequestOptions,
|
|
10773
|
-
};
|
|
10774
|
-
},
|
|
10775
10830
|
/**
|
|
10776
10831
|
* Shuts down the gameserver. This is a \'soft\' shutdown, meaning the gameserver will be stopped gracefully. If the gameserver is not reachable, this will have no effect. Note that most hosting providers will automatically restart the gameserver after a shutdown, which makes this operation act as a \'restart\' instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerShutdown`
|
|
10777
10832
|
* @summary Shutdown
|
|
@@ -11216,6 +11271,20 @@ export const GameServerApiFp = function (configuration) {
|
|
|
11216
11271
|
?.url;
|
|
11217
11272
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11218
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
|
+
},
|
|
11219
11288
|
/**
|
|
11220
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`
|
|
11221
11290
|
* @summary Get import
|
|
@@ -11423,6 +11492,20 @@ export const GameServerApiFp = function (configuration) {
|
|
|
11423
11492
|
const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerPutMapUpload']?.[localVarOperationServerIndex]?.url;
|
|
11424
11493
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11425
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
|
+
},
|
|
11426
11509
|
/**
|
|
11427
11510
|
* Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
|
|
11428
11511
|
* @summary Regenerate registration token
|
|
@@ -11530,20 +11613,6 @@ export const GameServerApiFp = function (configuration) {
|
|
|
11530
11613
|
const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerSetCapabilities']?.[localVarOperationServerIndex]?.url;
|
|
11531
11614
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11532
11615
|
},
|
|
11533
|
-
/**
|
|
11534
|
-
* Records the game a connector-based game server reported at identify (e.g. \"7d2d\"). Written by the connector on handshake; users normally never call it. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSetGame`
|
|
11535
|
-
* @summary Set game
|
|
11536
|
-
* @param {string} id
|
|
11537
|
-
* @param {GameServerGameInputDTO} [gameServerGameInputDTO] GameServerGameInputDTO
|
|
11538
|
-
* @param {*} [options] Override http request option.
|
|
11539
|
-
* @throws {RequiredError}
|
|
11540
|
-
*/
|
|
11541
|
-
async gameServerControllerSetGame(id, gameServerGameInputDTO, options) {
|
|
11542
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerSetGame(id, gameServerGameInputDTO, options);
|
|
11543
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11544
|
-
const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerSetGame']?.[localVarOperationServerIndex]?.url;
|
|
11545
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11546
|
-
},
|
|
11547
11616
|
/**
|
|
11548
11617
|
* Shuts down the gameserver. This is a \'soft\' shutdown, meaning the gameserver will be stopped gracefully. If the gameserver is not reachable, this will have no effect. Note that most hosting providers will automatically restart the gameserver after a shutdown, which makes this operation act as a \'restart\' instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerShutdown`
|
|
11549
11618
|
* @summary Shutdown
|
|
@@ -11783,6 +11852,17 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
11783
11852
|
.gameServerControllerGetDimensionMapTile(id, dimension, zoom, x, y, v, options)
|
|
11784
11853
|
.then((request) => request(axios, basePath));
|
|
11785
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
|
+
},
|
|
11786
11866
|
/**
|
|
11787
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`
|
|
11788
11868
|
* @summary Get import
|
|
@@ -11955,6 +12035,19 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
11955
12035
|
.gameServerControllerPutMapUpload(id, dimension, options)
|
|
11956
12036
|
.then((request) => request(axios, basePath));
|
|
11957
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
|
+
},
|
|
11958
12051
|
/**
|
|
11959
12052
|
* Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
|
|
11960
12053
|
* @summary Regenerate registration token
|
|
@@ -12049,19 +12142,6 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
12049
12142
|
.gameServerControllerSetCapabilities(id, gameServerCapabilitiesInputDTO, options)
|
|
12050
12143
|
.then((request) => request(axios, basePath));
|
|
12051
12144
|
},
|
|
12052
|
-
/**
|
|
12053
|
-
* Records the game a connector-based game server reported at identify (e.g. \"7d2d\"). Written by the connector on handshake; users normally never call it. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSetGame`
|
|
12054
|
-
* @summary Set game
|
|
12055
|
-
* @param {string} id
|
|
12056
|
-
* @param {GameServerGameInputDTO} [gameServerGameInputDTO] GameServerGameInputDTO
|
|
12057
|
-
* @param {*} [options] Override http request option.
|
|
12058
|
-
* @throws {RequiredError}
|
|
12059
|
-
*/
|
|
12060
|
-
gameServerControllerSetGame(id, gameServerGameInputDTO, options) {
|
|
12061
|
-
return localVarFp
|
|
12062
|
-
.gameServerControllerSetGame(id, gameServerGameInputDTO, options)
|
|
12063
|
-
.then((request) => request(axios, basePath));
|
|
12064
|
-
},
|
|
12065
12145
|
/**
|
|
12066
12146
|
* Shuts down the gameserver. This is a \'soft\' shutdown, meaning the gameserver will be stopped gracefully. If the gameserver is not reachable, this will have no effect. Note that most hosting providers will automatically restart the gameserver after a shutdown, which makes this operation act as a \'restart\' instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerShutdown`
|
|
12067
12147
|
* @summary Shutdown
|
|
@@ -12296,6 +12376,20 @@ export class GameServerApi extends BaseAPI {
|
|
|
12296
12376
|
.gameServerControllerGetDimensionMapTile(id, dimension, zoom, x, y, v, options)
|
|
12297
12377
|
.then((request) => request(this.axios, this.basePath));
|
|
12298
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
|
+
}
|
|
12299
12393
|
/**
|
|
12300
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`
|
|
12301
12395
|
* @summary Get import
|
|
@@ -12503,6 +12597,20 @@ export class GameServerApi extends BaseAPI {
|
|
|
12503
12597
|
.gameServerControllerPutMapUpload(id, dimension, options)
|
|
12504
12598
|
.then((request) => request(this.axios, this.basePath));
|
|
12505
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
|
+
}
|
|
12506
12614
|
/**
|
|
12507
12615
|
* Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
|
|
12508
12616
|
* @summary Regenerate registration token
|
|
@@ -12609,20 +12717,6 @@ export class GameServerApi extends BaseAPI {
|
|
|
12609
12717
|
.gameServerControllerSetCapabilities(id, gameServerCapabilitiesInputDTO, options)
|
|
12610
12718
|
.then((request) => request(this.axios, this.basePath));
|
|
12611
12719
|
}
|
|
12612
|
-
/**
|
|
12613
|
-
* Records the game a connector-based game server reported at identify (e.g. \"7d2d\"). Written by the connector on handshake; users normally never call it. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSetGame`
|
|
12614
|
-
* @summary Set game
|
|
12615
|
-
* @param {string} id
|
|
12616
|
-
* @param {GameServerGameInputDTO} [gameServerGameInputDTO] GameServerGameInputDTO
|
|
12617
|
-
* @param {*} [options] Override http request option.
|
|
12618
|
-
* @throws {RequiredError}
|
|
12619
|
-
* @memberof GameServerApi
|
|
12620
|
-
*/
|
|
12621
|
-
gameServerControllerSetGame(id, gameServerGameInputDTO, options) {
|
|
12622
|
-
return GameServerApiFp(this.configuration)
|
|
12623
|
-
.gameServerControllerSetGame(id, gameServerGameInputDTO, options)
|
|
12624
|
-
.then((request) => request(this.axios, this.basePath));
|
|
12625
|
-
}
|
|
12626
12720
|
/**
|
|
12627
12721
|
* Shuts down the gameserver. This is a \'soft\' shutdown, meaning the gameserver will be stopped gracefully. If the gameserver is not reachable, this will have no effect. Note that most hosting providers will automatically restart the gameserver after a shutdown, which makes this operation act as a \'restart\' instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerShutdown`
|
|
12628
12722
|
* @summary Shutdown
|