@takaro/apiclient 0.0.0-dev.2513f9a → 0.0.0-dev.276af35
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/generated/api.d.ts +1198 -67
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +704 -11
- package/dist/generated/api.js.map +1 -1
- package/dist/generated-management/api.d.ts +1871 -221
- package/dist/generated-management/api.d.ts.map +1 -1
- package/dist/generated-management/api.js +765 -88
- package/dist/generated-management/api.js.map +1 -1
- package/dist/lib/baseClient.d.ts +14 -1
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +2 -1
- package/dist/lib/baseClient.js.map +1 -1
- package/dist/lib/client.d.ts +2 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +6 -1
- package/dist/lib/client.js.map +1 -1
- package/dist/lib/staffClient.d.ts +21 -0
- package/dist/lib/staffClient.d.ts.map +1 -0
- package/dist/lib/staffClient.js +31 -0
- package/dist/lib/staffClient.js.map +1 -0
- package/dist/main.d.ts +4 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +2 -1
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/generated/api.js
CHANGED
|
@@ -99,6 +99,11 @@ export const DomainOutputDTOStateEnum = {
|
|
|
99
99
|
Disabled: 'DISABLED',
|
|
100
100
|
Maintenance: 'MAINTENANCE',
|
|
101
101
|
};
|
|
102
|
+
export const DomainOutputDTOCustomDomainStateEnum = {
|
|
103
|
+
Pending: 'PENDING',
|
|
104
|
+
Verified: 'VERIFIED',
|
|
105
|
+
Failed: 'FAILED',
|
|
106
|
+
};
|
|
102
107
|
export const DomainUpdateInputDTOStateEnum = {
|
|
103
108
|
Active: 'ACTIVE',
|
|
104
109
|
Disabled: 'DISABLED',
|
|
@@ -428,6 +433,7 @@ export const GetJobInputDTOTypeEnum = {
|
|
|
428
433
|
SyncDiscordRoles: 'syncDiscordRoles',
|
|
429
434
|
EmitRateLimitSummary: 'emitRateLimitSummary',
|
|
430
435
|
CleanRevokedApiKeys: 'cleanRevokedApiKeys',
|
|
436
|
+
CleanExecutionClaims: 'cleanExecutionClaims',
|
|
431
437
|
};
|
|
432
438
|
export const GetSettingsInputKeysEnum = {
|
|
433
439
|
CommandPrefix: 'commandPrefix',
|
|
@@ -832,6 +838,30 @@ export const JobStatusOutputDTOStatusEnum = {
|
|
|
832
838
|
Waiting: 'waiting',
|
|
833
839
|
WaitingChildren: 'waiting-children',
|
|
834
840
|
};
|
|
841
|
+
export const LoginQueryParamsLocaleEnum = {
|
|
842
|
+
En: 'en',
|
|
843
|
+
Nl: 'nl',
|
|
844
|
+
Fr: 'fr',
|
|
845
|
+
De: 'de',
|
|
846
|
+
Es: 'es',
|
|
847
|
+
Ru: 'ru',
|
|
848
|
+
PtBr: 'pt-BR',
|
|
849
|
+
Pl: 'pl',
|
|
850
|
+
Uk: 'uk',
|
|
851
|
+
ZhCn: 'zh-CN',
|
|
852
|
+
Ja: 'ja',
|
|
853
|
+
It: 'it',
|
|
854
|
+
};
|
|
855
|
+
export const ManagementDomainOutputDTOStateEnum = {
|
|
856
|
+
Active: 'ACTIVE',
|
|
857
|
+
Disabled: 'DISABLED',
|
|
858
|
+
Maintenance: 'MAINTENANCE',
|
|
859
|
+
};
|
|
860
|
+
export const ManagementDomainOutputDTOCustomDomainStateEnum = {
|
|
861
|
+
Pending: 'PENDING',
|
|
862
|
+
Verified: 'VERIFIED',
|
|
863
|
+
Failed: 'FAILED',
|
|
864
|
+
};
|
|
835
865
|
export const MetaFilterGroupOrLeafDTOLogicalOperatorEnum = {
|
|
836
866
|
And: 'AND',
|
|
837
867
|
Or: 'OR',
|
|
@@ -977,6 +1007,45 @@ export const ShopListingBulkInputDTOActionEnum = {
|
|
|
977
1007
|
Publish: 'publish',
|
|
978
1008
|
Unpublish: 'unpublish',
|
|
979
1009
|
};
|
|
1010
|
+
export const ShopListingCancellationPreviewInputDTOActionEnum = {
|
|
1011
|
+
Unpublish: 'unpublish',
|
|
1012
|
+
Delete: 'delete',
|
|
1013
|
+
Replace: 'replace',
|
|
1014
|
+
};
|
|
1015
|
+
export const ShopListingCreateDTODeliveryMethodEnum = {
|
|
1016
|
+
Claim: 'claim',
|
|
1017
|
+
Instant: 'instant',
|
|
1018
|
+
};
|
|
1019
|
+
export const ShopListingCreateDTOPerUserPeriodEnum = {
|
|
1020
|
+
Day: 'day',
|
|
1021
|
+
Week: 'week',
|
|
1022
|
+
Month: 'month',
|
|
1023
|
+
};
|
|
1024
|
+
export const ShopListingCreateDTORequiredVariableOperatorEnum = {
|
|
1025
|
+
Gte: 'gte',
|
|
1026
|
+
Lte: 'lte',
|
|
1027
|
+
Eq: 'eq',
|
|
1028
|
+
Ne: 'ne',
|
|
1029
|
+
Gt: 'gt',
|
|
1030
|
+
Lt: 'lt',
|
|
1031
|
+
};
|
|
1032
|
+
export const ShopListingOutputDTODeliveryMethodEnum = {
|
|
1033
|
+
Claim: 'claim',
|
|
1034
|
+
Instant: 'instant',
|
|
1035
|
+
};
|
|
1036
|
+
export const ShopListingOutputDTOPerUserPeriodEnum = {
|
|
1037
|
+
Day: 'day',
|
|
1038
|
+
Week: 'week',
|
|
1039
|
+
Month: 'month',
|
|
1040
|
+
};
|
|
1041
|
+
export const ShopListingOutputDTORequiredVariableOperatorEnum = {
|
|
1042
|
+
Gte: 'gte',
|
|
1043
|
+
Lte: 'lte',
|
|
1044
|
+
Eq: 'eq',
|
|
1045
|
+
Ne: 'ne',
|
|
1046
|
+
Gt: 'gt',
|
|
1047
|
+
Lt: 'lt',
|
|
1048
|
+
};
|
|
980
1049
|
export const ShopListingSearchInputDTOExtendEnum = {
|
|
981
1050
|
GameServer: 'gameServer',
|
|
982
1051
|
Items: 'items',
|
|
@@ -986,6 +1055,23 @@ export const ShopListingSearchInputDTOSortDirectionEnum = {
|
|
|
986
1055
|
Asc: 'asc',
|
|
987
1056
|
Desc: 'desc',
|
|
988
1057
|
};
|
|
1058
|
+
export const ShopListingUpdateDTODeliveryMethodEnum = {
|
|
1059
|
+
Claim: 'claim',
|
|
1060
|
+
Instant: 'instant',
|
|
1061
|
+
};
|
|
1062
|
+
export const ShopListingUpdateDTOPerUserPeriodEnum = {
|
|
1063
|
+
Day: 'day',
|
|
1064
|
+
Week: 'week',
|
|
1065
|
+
Month: 'month',
|
|
1066
|
+
};
|
|
1067
|
+
export const ShopListingUpdateDTORequiredVariableOperatorEnum = {
|
|
1068
|
+
Gte: 'gte',
|
|
1069
|
+
Lte: 'lte',
|
|
1070
|
+
Eq: 'eq',
|
|
1071
|
+
Ne: 'ne',
|
|
1072
|
+
Gt: 'gt',
|
|
1073
|
+
Lt: 'lt',
|
|
1074
|
+
};
|
|
989
1075
|
export const ShopOrderOutputDTOStatusEnum = {
|
|
990
1076
|
Completed: 'COMPLETED',
|
|
991
1077
|
Paid: 'PAID',
|
|
@@ -1005,6 +1091,11 @@ export const ShopOrderUpdateDTOStatusEnum = {
|
|
|
1005
1091
|
Paid: 'PAID',
|
|
1006
1092
|
Canceled: 'CANCELED',
|
|
1007
1093
|
};
|
|
1094
|
+
export const StorefrontDomainOutputDTOCustomDomainStateEnum = {
|
|
1095
|
+
Pending: 'PENDING',
|
|
1096
|
+
Verified: 'VERIFIED',
|
|
1097
|
+
Failed: 'FAILED',
|
|
1098
|
+
};
|
|
1008
1099
|
export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
|
|
1009
1100
|
Added: 'added',
|
|
1010
1101
|
Removed: 'removed',
|
|
@@ -5201,10 +5292,11 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
5201
5292
|
* <br> OperationId: `AuthControllerLogin`
|
|
5202
5293
|
* @summary Login
|
|
5203
5294
|
* @param {string} [redirect]
|
|
5295
|
+
* @param {AuthControllerLoginLocaleEnum} [locale]
|
|
5204
5296
|
* @param {*} [options] Override http request option.
|
|
5205
5297
|
* @throws {RequiredError}
|
|
5206
5298
|
*/
|
|
5207
|
-
authControllerLogin: async (redirect, options = {}) => {
|
|
5299
|
+
authControllerLogin: async (redirect, locale, options = {}) => {
|
|
5208
5300
|
const localVarPath = `/auth/login`;
|
|
5209
5301
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5210
5302
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5218,6 +5310,9 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
5218
5310
|
if (redirect !== undefined) {
|
|
5219
5311
|
localVarQueryParameter['redirect'] = redirect;
|
|
5220
5312
|
}
|
|
5313
|
+
if (locale !== undefined) {
|
|
5314
|
+
localVarQueryParameter['locale'] = locale;
|
|
5315
|
+
}
|
|
5221
5316
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5222
5317
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5223
5318
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -5292,11 +5387,12 @@ export const AuthApiFp = function (configuration) {
|
|
|
5292
5387
|
* <br> OperationId: `AuthControllerLogin`
|
|
5293
5388
|
* @summary Login
|
|
5294
5389
|
* @param {string} [redirect]
|
|
5390
|
+
* @param {AuthControllerLoginLocaleEnum} [locale]
|
|
5295
5391
|
* @param {*} [options] Override http request option.
|
|
5296
5392
|
* @throws {RequiredError}
|
|
5297
5393
|
*/
|
|
5298
|
-
async authControllerLogin(redirect, options) {
|
|
5299
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
|
|
5394
|
+
async authControllerLogin(redirect, locale, options) {
|
|
5395
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, locale, options);
|
|
5300
5396
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5301
5397
|
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
|
|
5302
5398
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5345,11 +5441,12 @@ export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
5345
5441
|
* <br> OperationId: `AuthControllerLogin`
|
|
5346
5442
|
* @summary Login
|
|
5347
5443
|
* @param {string} [redirect]
|
|
5444
|
+
* @param {AuthControllerLoginLocaleEnum} [locale]
|
|
5348
5445
|
* @param {*} [options] Override http request option.
|
|
5349
5446
|
* @throws {RequiredError}
|
|
5350
5447
|
*/
|
|
5351
|
-
authControllerLogin(redirect, options) {
|
|
5352
|
-
return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
|
|
5448
|
+
authControllerLogin(redirect, locale, options) {
|
|
5449
|
+
return localVarFp.authControllerLogin(redirect, locale, options).then((request) => request(axios, basePath));
|
|
5353
5450
|
},
|
|
5354
5451
|
/**
|
|
5355
5452
|
* <br> OperationId: `AuthControllerLogout`
|
|
@@ -5398,13 +5495,14 @@ export class AuthApi extends BaseAPI {
|
|
|
5398
5495
|
* <br> OperationId: `AuthControllerLogin`
|
|
5399
5496
|
* @summary Login
|
|
5400
5497
|
* @param {string} [redirect]
|
|
5498
|
+
* @param {AuthControllerLoginLocaleEnum} [locale]
|
|
5401
5499
|
* @param {*} [options] Override http request option.
|
|
5402
5500
|
* @throws {RequiredError}
|
|
5403
5501
|
* @memberof AuthApi
|
|
5404
5502
|
*/
|
|
5405
|
-
authControllerLogin(redirect, options) {
|
|
5503
|
+
authControllerLogin(redirect, locale, options) {
|
|
5406
5504
|
return AuthApiFp(this.configuration)
|
|
5407
|
-
.authControllerLogin(redirect, options)
|
|
5505
|
+
.authControllerLogin(redirect, locale, options)
|
|
5408
5506
|
.then((request) => request(this.axios, this.basePath));
|
|
5409
5507
|
}
|
|
5410
5508
|
/**
|
|
@@ -5421,6 +5519,23 @@ export class AuthApi extends BaseAPI {
|
|
|
5421
5519
|
.then((request) => request(this.axios, this.basePath));
|
|
5422
5520
|
}
|
|
5423
5521
|
}
|
|
5522
|
+
/**
|
|
5523
|
+
* @export
|
|
5524
|
+
*/
|
|
5525
|
+
export const AuthControllerLoginLocaleEnum = {
|
|
5526
|
+
En: 'en',
|
|
5527
|
+
Nl: 'nl',
|
|
5528
|
+
Fr: 'fr',
|
|
5529
|
+
De: 'de',
|
|
5530
|
+
Es: 'es',
|
|
5531
|
+
Ru: 'ru',
|
|
5532
|
+
PtBr: 'pt-BR',
|
|
5533
|
+
Pl: 'pl',
|
|
5534
|
+
Uk: 'uk',
|
|
5535
|
+
ZhCn: 'zh-CN',
|
|
5536
|
+
Ja: 'ja',
|
|
5537
|
+
It: 'it',
|
|
5538
|
+
};
|
|
5424
5539
|
/**
|
|
5425
5540
|
* CommandApi - axios parameter creator
|
|
5426
5541
|
* @export
|
|
@@ -12248,7 +12363,7 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
12248
12363
|
};
|
|
12249
12364
|
},
|
|
12250
12365
|
/**
|
|
12251
|
-
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
12366
|
+
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
12252
12367
|
* @summary List the modules installed on a game server
|
|
12253
12368
|
* @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
|
|
12254
12369
|
* @param {*} [options] Override http request option.
|
|
@@ -12584,7 +12699,7 @@ export const ModuleApiFp = function (configuration) {
|
|
|
12584
12699
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12585
12700
|
},
|
|
12586
12701
|
/**
|
|
12587
|
-
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
12702
|
+
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
12588
12703
|
* @summary List the modules installed on a game server
|
|
12589
12704
|
* @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
|
|
12590
12705
|
* @param {*} [options] Override http request option.
|
|
@@ -12766,7 +12881,7 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
|
|
|
12766
12881
|
.then((request) => request(axios, basePath));
|
|
12767
12882
|
},
|
|
12768
12883
|
/**
|
|
12769
|
-
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
12884
|
+
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
12770
12885
|
* @summary List the modules installed on a game server
|
|
12771
12886
|
* @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
|
|
12772
12887
|
* @param {*} [options] Override http request option.
|
|
@@ -12954,7 +13069,7 @@ export class ModuleApi extends BaseAPI {
|
|
|
12954
13069
|
.then((request) => request(this.axios, this.basePath));
|
|
12955
13070
|
}
|
|
12956
13071
|
/**
|
|
12957
|
-
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
13072
|
+
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
12958
13073
|
* @summary List the modules installed on a game server
|
|
12959
13074
|
* @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
|
|
12960
13075
|
* @param {*} [options] Override http request option.
|
|
@@ -17132,6 +17247,38 @@ export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
|
17132
17247
|
options: localVarRequestOptions,
|
|
17133
17248
|
};
|
|
17134
17249
|
},
|
|
17250
|
+
/**
|
|
17251
|
+
* How many PAID orders an unpublish, delete or replace-import would cancel and refund if it ran now. `unpublish` and `delete` take the same target as the bulk endpoint; `replace` takes the game server a replace-import would empty. Needs only MANAGE_SHOP_LISTINGS, like the operations it previews, and counts every player\'s orders. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCancellationPreview`
|
|
17252
|
+
* @summary Cancellation preview
|
|
17253
|
+
* @param {ShopListingCancellationPreviewInputDTO} [shopListingCancellationPreviewInputDTO] ShopListingCancellationPreviewInputDTO
|
|
17254
|
+
* @param {*} [options] Override http request option.
|
|
17255
|
+
* @throws {RequiredError}
|
|
17256
|
+
*/
|
|
17257
|
+
shopListingControllerCancellationPreview: async (shopListingCancellationPreviewInputDTO, options = {}) => {
|
|
17258
|
+
const localVarPath = `/shop/listing/cancellation-preview`;
|
|
17259
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17260
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17261
|
+
let baseOptions;
|
|
17262
|
+
if (configuration) {
|
|
17263
|
+
baseOptions = configuration.baseOptions;
|
|
17264
|
+
}
|
|
17265
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
17266
|
+
const localVarHeaderParameter = {};
|
|
17267
|
+
const localVarQueryParameter = {};
|
|
17268
|
+
// authentication bearerAuth required
|
|
17269
|
+
// http bearer authentication required
|
|
17270
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
17271
|
+
// authentication domainAuth required
|
|
17272
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17273
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17274
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17275
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17276
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shopListingCancellationPreviewInputDTO, localVarRequestOptions, configuration);
|
|
17277
|
+
return {
|
|
17278
|
+
url: toPathString(localVarUrlObj),
|
|
17279
|
+
options: localVarRequestOptions,
|
|
17280
|
+
};
|
|
17281
|
+
},
|
|
17135
17282
|
/**
|
|
17136
17283
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
17137
17284
|
* @summary Create
|
|
@@ -17196,6 +17343,38 @@ export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
|
17196
17343
|
options: localVarRequestOptions,
|
|
17197
17344
|
};
|
|
17198
17345
|
},
|
|
17346
|
+
/**
|
|
17347
|
+
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerDeleteImage`
|
|
17348
|
+
* @summary Delete image
|
|
17349
|
+
* @param {string} id
|
|
17350
|
+
* @param {*} [options] Override http request option.
|
|
17351
|
+
* @throws {RequiredError}
|
|
17352
|
+
*/
|
|
17353
|
+
shopListingControllerDeleteImage: async (id, options = {}) => {
|
|
17354
|
+
// verify required parameter 'id' is not null or undefined
|
|
17355
|
+
assertParamExists('shopListingControllerDeleteImage', 'id', id);
|
|
17356
|
+
const localVarPath = `/shop/listing/{id}/image`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
17357
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17358
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17359
|
+
let baseOptions;
|
|
17360
|
+
if (configuration) {
|
|
17361
|
+
baseOptions = configuration.baseOptions;
|
|
17362
|
+
}
|
|
17363
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
17364
|
+
const localVarHeaderParameter = {};
|
|
17365
|
+
const localVarQueryParameter = {};
|
|
17366
|
+
// authentication bearerAuth required
|
|
17367
|
+
// http bearer authentication required
|
|
17368
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
17369
|
+
// authentication domainAuth required
|
|
17370
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17371
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17372
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17373
|
+
return {
|
|
17374
|
+
url: toPathString(localVarUrlObj),
|
|
17375
|
+
options: localVarRequestOptions,
|
|
17376
|
+
};
|
|
17377
|
+
},
|
|
17199
17378
|
/**
|
|
17200
17379
|
* <br> OperationId: `ShopListingControllerGetOne`
|
|
17201
17380
|
* @summary Get one
|
|
@@ -17324,6 +17503,38 @@ export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
|
17324
17503
|
options: localVarRequestOptions,
|
|
17325
17504
|
};
|
|
17326
17505
|
},
|
|
17506
|
+
/**
|
|
17507
|
+
* Upload a custom storefront image for a shop listing. Multipart form-data with a single `image` field. PNG, JPEG, WEBP or GIF, max 5MB; stored as a WEBP bounded to 256px on its longest edge. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerUploadImage`
|
|
17508
|
+
* @summary Upload image
|
|
17509
|
+
* @param {string} id
|
|
17510
|
+
* @param {*} [options] Override http request option.
|
|
17511
|
+
* @throws {RequiredError}
|
|
17512
|
+
*/
|
|
17513
|
+
shopListingControllerUploadImage: async (id, options = {}) => {
|
|
17514
|
+
// verify required parameter 'id' is not null or undefined
|
|
17515
|
+
assertParamExists('shopListingControllerUploadImage', 'id', id);
|
|
17516
|
+
const localVarPath = `/shop/listing/{id}/image`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
17517
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17518
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17519
|
+
let baseOptions;
|
|
17520
|
+
if (configuration) {
|
|
17521
|
+
baseOptions = configuration.baseOptions;
|
|
17522
|
+
}
|
|
17523
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
17524
|
+
const localVarHeaderParameter = {};
|
|
17525
|
+
const localVarQueryParameter = {};
|
|
17526
|
+
// authentication bearerAuth required
|
|
17527
|
+
// http bearer authentication required
|
|
17528
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
17529
|
+
// authentication domainAuth required
|
|
17530
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17531
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17532
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17533
|
+
return {
|
|
17534
|
+
url: toPathString(localVarUrlObj),
|
|
17535
|
+
options: localVarRequestOptions,
|
|
17536
|
+
};
|
|
17537
|
+
},
|
|
17327
17538
|
};
|
|
17328
17539
|
};
|
|
17329
17540
|
/**
|
|
@@ -17346,6 +17557,20 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
17346
17557
|
const localVarOperationServerBasePath = operationServerMap['ShopListingApi.shopListingControllerBulk']?.[localVarOperationServerIndex]?.url;
|
|
17347
17558
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17348
17559
|
},
|
|
17560
|
+
/**
|
|
17561
|
+
* How many PAID orders an unpublish, delete or replace-import would cancel and refund if it ran now. `unpublish` and `delete` take the same target as the bulk endpoint; `replace` takes the game server a replace-import would empty. Needs only MANAGE_SHOP_LISTINGS, like the operations it previews, and counts every player\'s orders. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCancellationPreview`
|
|
17562
|
+
* @summary Cancellation preview
|
|
17563
|
+
* @param {ShopListingCancellationPreviewInputDTO} [shopListingCancellationPreviewInputDTO] ShopListingCancellationPreviewInputDTO
|
|
17564
|
+
* @param {*} [options] Override http request option.
|
|
17565
|
+
* @throws {RequiredError}
|
|
17566
|
+
*/
|
|
17567
|
+
async shopListingControllerCancellationPreview(shopListingCancellationPreviewInputDTO, options) {
|
|
17568
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerCancellationPreview(shopListingCancellationPreviewInputDTO, options);
|
|
17569
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17570
|
+
const localVarOperationServerBasePath = operationServerMap['ShopListingApi.shopListingControllerCancellationPreview']?.[localVarOperationServerIndex]
|
|
17571
|
+
?.url;
|
|
17572
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17573
|
+
},
|
|
17349
17574
|
/**
|
|
17350
17575
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
17351
17576
|
* @summary Create
|
|
@@ -17372,6 +17597,19 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
17372
17597
|
const localVarOperationServerBasePath = operationServerMap['ShopListingApi.shopListingControllerDelete']?.[localVarOperationServerIndex]?.url;
|
|
17373
17598
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17374
17599
|
},
|
|
17600
|
+
/**
|
|
17601
|
+
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerDeleteImage`
|
|
17602
|
+
* @summary Delete image
|
|
17603
|
+
* @param {string} id
|
|
17604
|
+
* @param {*} [options] Override http request option.
|
|
17605
|
+
* @throws {RequiredError}
|
|
17606
|
+
*/
|
|
17607
|
+
async shopListingControllerDeleteImage(id, options) {
|
|
17608
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerDeleteImage(id, options);
|
|
17609
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17610
|
+
const localVarOperationServerBasePath = operationServerMap['ShopListingApi.shopListingControllerDeleteImage']?.[localVarOperationServerIndex]?.url;
|
|
17611
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17612
|
+
},
|
|
17375
17613
|
/**
|
|
17376
17614
|
* <br> OperationId: `ShopListingControllerGetOne`
|
|
17377
17615
|
* @summary Get one
|
|
@@ -17424,6 +17662,19 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
17424
17662
|
const localVarOperationServerBasePath = operationServerMap['ShopListingApi.shopListingControllerUpdate']?.[localVarOperationServerIndex]?.url;
|
|
17425
17663
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17426
17664
|
},
|
|
17665
|
+
/**
|
|
17666
|
+
* Upload a custom storefront image for a shop listing. Multipart form-data with a single `image` field. PNG, JPEG, WEBP or GIF, max 5MB; stored as a WEBP bounded to 256px on its longest edge. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerUploadImage`
|
|
17667
|
+
* @summary Upload image
|
|
17668
|
+
* @param {string} id
|
|
17669
|
+
* @param {*} [options] Override http request option.
|
|
17670
|
+
* @throws {RequiredError}
|
|
17671
|
+
*/
|
|
17672
|
+
async shopListingControllerUploadImage(id, options) {
|
|
17673
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerUploadImage(id, options);
|
|
17674
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17675
|
+
const localVarOperationServerBasePath = operationServerMap['ShopListingApi.shopListingControllerUploadImage']?.[localVarOperationServerIndex]?.url;
|
|
17676
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17677
|
+
},
|
|
17427
17678
|
};
|
|
17428
17679
|
};
|
|
17429
17680
|
/**
|
|
@@ -17445,6 +17696,18 @@ export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
|
17445
17696
|
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
17446
17697
|
.then((request) => request(axios, basePath));
|
|
17447
17698
|
},
|
|
17699
|
+
/**
|
|
17700
|
+
* How many PAID orders an unpublish, delete or replace-import would cancel and refund if it ran now. `unpublish` and `delete` take the same target as the bulk endpoint; `replace` takes the game server a replace-import would empty. Needs only MANAGE_SHOP_LISTINGS, like the operations it previews, and counts every player\'s orders. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCancellationPreview`
|
|
17701
|
+
* @summary Cancellation preview
|
|
17702
|
+
* @param {ShopListingCancellationPreviewInputDTO} [shopListingCancellationPreviewInputDTO] ShopListingCancellationPreviewInputDTO
|
|
17703
|
+
* @param {*} [options] Override http request option.
|
|
17704
|
+
* @throws {RequiredError}
|
|
17705
|
+
*/
|
|
17706
|
+
shopListingControllerCancellationPreview(shopListingCancellationPreviewInputDTO, options) {
|
|
17707
|
+
return localVarFp
|
|
17708
|
+
.shopListingControllerCancellationPreview(shopListingCancellationPreviewInputDTO, options)
|
|
17709
|
+
.then((request) => request(axios, basePath));
|
|
17710
|
+
},
|
|
17448
17711
|
/**
|
|
17449
17712
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
17450
17713
|
* @summary Create
|
|
@@ -17467,6 +17730,16 @@ export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
|
17467
17730
|
shopListingControllerDelete(id, options) {
|
|
17468
17731
|
return localVarFp.shopListingControllerDelete(id, options).then((request) => request(axios, basePath));
|
|
17469
17732
|
},
|
|
17733
|
+
/**
|
|
17734
|
+
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerDeleteImage`
|
|
17735
|
+
* @summary Delete image
|
|
17736
|
+
* @param {string} id
|
|
17737
|
+
* @param {*} [options] Override http request option.
|
|
17738
|
+
* @throws {RequiredError}
|
|
17739
|
+
*/
|
|
17740
|
+
shopListingControllerDeleteImage(id, options) {
|
|
17741
|
+
return localVarFp.shopListingControllerDeleteImage(id, options).then((request) => request(axios, basePath));
|
|
17742
|
+
},
|
|
17470
17743
|
/**
|
|
17471
17744
|
* <br> OperationId: `ShopListingControllerGetOne`
|
|
17472
17745
|
* @summary Get one
|
|
@@ -17511,6 +17784,16 @@ export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
|
17511
17784
|
.shopListingControllerUpdate(id, shopListingUpdateDTO, options)
|
|
17512
17785
|
.then((request) => request(axios, basePath));
|
|
17513
17786
|
},
|
|
17787
|
+
/**
|
|
17788
|
+
* Upload a custom storefront image for a shop listing. Multipart form-data with a single `image` field. PNG, JPEG, WEBP or GIF, max 5MB; stored as a WEBP bounded to 256px on its longest edge. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerUploadImage`
|
|
17789
|
+
* @summary Upload image
|
|
17790
|
+
* @param {string} id
|
|
17791
|
+
* @param {*} [options] Override http request option.
|
|
17792
|
+
* @throws {RequiredError}
|
|
17793
|
+
*/
|
|
17794
|
+
shopListingControllerUploadImage(id, options) {
|
|
17795
|
+
return localVarFp.shopListingControllerUploadImage(id, options).then((request) => request(axios, basePath));
|
|
17796
|
+
},
|
|
17514
17797
|
};
|
|
17515
17798
|
};
|
|
17516
17799
|
/**
|
|
@@ -17533,6 +17816,19 @@ export class ShopListingApi extends BaseAPI {
|
|
|
17533
17816
|
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
17534
17817
|
.then((request) => request(this.axios, this.basePath));
|
|
17535
17818
|
}
|
|
17819
|
+
/**
|
|
17820
|
+
* How many PAID orders an unpublish, delete or replace-import would cancel and refund if it ran now. `unpublish` and `delete` take the same target as the bulk endpoint; `replace` takes the game server a replace-import would empty. Needs only MANAGE_SHOP_LISTINGS, like the operations it previews, and counts every player\'s orders. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCancellationPreview`
|
|
17821
|
+
* @summary Cancellation preview
|
|
17822
|
+
* @param {ShopListingCancellationPreviewInputDTO} [shopListingCancellationPreviewInputDTO] ShopListingCancellationPreviewInputDTO
|
|
17823
|
+
* @param {*} [options] Override http request option.
|
|
17824
|
+
* @throws {RequiredError}
|
|
17825
|
+
* @memberof ShopListingApi
|
|
17826
|
+
*/
|
|
17827
|
+
shopListingControllerCancellationPreview(shopListingCancellationPreviewInputDTO, options) {
|
|
17828
|
+
return ShopListingApiFp(this.configuration)
|
|
17829
|
+
.shopListingControllerCancellationPreview(shopListingCancellationPreviewInputDTO, options)
|
|
17830
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17831
|
+
}
|
|
17536
17832
|
/**
|
|
17537
17833
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
17538
17834
|
* @summary Create
|
|
@@ -17559,6 +17855,19 @@ export class ShopListingApi extends BaseAPI {
|
|
|
17559
17855
|
.shopListingControllerDelete(id, options)
|
|
17560
17856
|
.then((request) => request(this.axios, this.basePath));
|
|
17561
17857
|
}
|
|
17858
|
+
/**
|
|
17859
|
+
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerDeleteImage`
|
|
17860
|
+
* @summary Delete image
|
|
17861
|
+
* @param {string} id
|
|
17862
|
+
* @param {*} [options] Override http request option.
|
|
17863
|
+
* @throws {RequiredError}
|
|
17864
|
+
* @memberof ShopListingApi
|
|
17865
|
+
*/
|
|
17866
|
+
shopListingControllerDeleteImage(id, options) {
|
|
17867
|
+
return ShopListingApiFp(this.configuration)
|
|
17868
|
+
.shopListingControllerDeleteImage(id, options)
|
|
17869
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17870
|
+
}
|
|
17562
17871
|
/**
|
|
17563
17872
|
* <br> OperationId: `ShopListingControllerGetOne`
|
|
17564
17873
|
* @summary Get one
|
|
@@ -17611,6 +17920,19 @@ export class ShopListingApi extends BaseAPI {
|
|
|
17611
17920
|
.shopListingControllerUpdate(id, shopListingUpdateDTO, options)
|
|
17612
17921
|
.then((request) => request(this.axios, this.basePath));
|
|
17613
17922
|
}
|
|
17923
|
+
/**
|
|
17924
|
+
* Upload a custom storefront image for a shop listing. Multipart form-data with a single `image` field. PNG, JPEG, WEBP or GIF, max 5MB; stored as a WEBP bounded to 256px on its longest edge. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerUploadImage`
|
|
17925
|
+
* @summary Upload image
|
|
17926
|
+
* @param {string} id
|
|
17927
|
+
* @param {*} [options] Override http request option.
|
|
17928
|
+
* @throws {RequiredError}
|
|
17929
|
+
* @memberof ShopListingApi
|
|
17930
|
+
*/
|
|
17931
|
+
shopListingControllerUploadImage(id, options) {
|
|
17932
|
+
return ShopListingApiFp(this.configuration)
|
|
17933
|
+
.shopListingControllerUploadImage(id, options)
|
|
17934
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17935
|
+
}
|
|
17614
17936
|
}
|
|
17615
17937
|
/**
|
|
17616
17938
|
* ShopOrderApi - axios parameter creator
|
|
@@ -18309,6 +18631,307 @@ export class StorefrontConfigApi extends BaseAPI {
|
|
|
18309
18631
|
.then((request) => request(this.axios, this.basePath));
|
|
18310
18632
|
}
|
|
18311
18633
|
}
|
|
18634
|
+
/**
|
|
18635
|
+
* StorefrontDomainApi - axios parameter creator
|
|
18636
|
+
* @export
|
|
18637
|
+
*/
|
|
18638
|
+
export const StorefrontDomainApiAxiosParamCreator = function (configuration) {
|
|
18639
|
+
return {
|
|
18640
|
+
/**
|
|
18641
|
+
* Get this domain\'s storefront address: the slug, the custom domain and its verification state, plus the deployment\'s storefront zone and CNAME target. Required permissions: `READ_SETTINGS`<br> OperationId: `StorefrontDomainControllerGetAddress`
|
|
18642
|
+
* @summary Get address
|
|
18643
|
+
* @param {*} [options] Override http request option.
|
|
18644
|
+
* @throws {RequiredError}
|
|
18645
|
+
*/
|
|
18646
|
+
storefrontDomainControllerGetAddress: async (options = {}) => {
|
|
18647
|
+
const localVarPath = `/storefront-domain`;
|
|
18648
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18649
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18650
|
+
let baseOptions;
|
|
18651
|
+
if (configuration) {
|
|
18652
|
+
baseOptions = configuration.baseOptions;
|
|
18653
|
+
}
|
|
18654
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18655
|
+
const localVarHeaderParameter = {};
|
|
18656
|
+
const localVarQueryParameter = {};
|
|
18657
|
+
// authentication bearerAuth required
|
|
18658
|
+
// http bearer authentication required
|
|
18659
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
18660
|
+
// authentication domainAuth required
|
|
18661
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18662
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18663
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18664
|
+
return {
|
|
18665
|
+
url: toPathString(localVarUrlObj),
|
|
18666
|
+
options: localVarRequestOptions,
|
|
18667
|
+
};
|
|
18668
|
+
},
|
|
18669
|
+
/**
|
|
18670
|
+
* Set this domain\'s storefront address. Setting or changing the custom domain resets its verification to PENDING, and a PENDING custom domain does not serve. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `StorefrontDomainControllerSetAddress`
|
|
18671
|
+
* @summary Set address
|
|
18672
|
+
* @param {StorefrontDomainUpdateBody} [storefrontDomainUpdateBody] StorefrontDomainUpdateBody
|
|
18673
|
+
* @param {*} [options] Override http request option.
|
|
18674
|
+
* @throws {RequiredError}
|
|
18675
|
+
*/
|
|
18676
|
+
storefrontDomainControllerSetAddress: async (storefrontDomainUpdateBody, options = {}) => {
|
|
18677
|
+
const localVarPath = `/storefront-domain`;
|
|
18678
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18679
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18680
|
+
let baseOptions;
|
|
18681
|
+
if (configuration) {
|
|
18682
|
+
baseOptions = configuration.baseOptions;
|
|
18683
|
+
}
|
|
18684
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
18685
|
+
const localVarHeaderParameter = {};
|
|
18686
|
+
const localVarQueryParameter = {};
|
|
18687
|
+
// authentication bearerAuth required
|
|
18688
|
+
// http bearer authentication required
|
|
18689
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
18690
|
+
// authentication domainAuth required
|
|
18691
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18692
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18693
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18694
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18695
|
+
localVarRequestOptions.data = serializeDataIfNeeded(storefrontDomainUpdateBody, localVarRequestOptions, configuration);
|
|
18696
|
+
return {
|
|
18697
|
+
url: toPathString(localVarUrlObj),
|
|
18698
|
+
options: localVarRequestOptions,
|
|
18699
|
+
};
|
|
18700
|
+
},
|
|
18701
|
+
/**
|
|
18702
|
+
* Check whether a storefront slug can be used by this domain. Answers invalid, reserved or taken so the dashboard can say why rather than just refusing. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `StorefrontDomainControllerSlugAvailability`
|
|
18703
|
+
* @summary Slug availability
|
|
18704
|
+
* @param {string} [slug]
|
|
18705
|
+
* @param {*} [options] Override http request option.
|
|
18706
|
+
* @throws {RequiredError}
|
|
18707
|
+
*/
|
|
18708
|
+
storefrontDomainControllerSlugAvailability: async (slug, options = {}) => {
|
|
18709
|
+
const localVarPath = `/storefront-domain/slug-availability`;
|
|
18710
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18711
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18712
|
+
let baseOptions;
|
|
18713
|
+
if (configuration) {
|
|
18714
|
+
baseOptions = configuration.baseOptions;
|
|
18715
|
+
}
|
|
18716
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18717
|
+
const localVarHeaderParameter = {};
|
|
18718
|
+
const localVarQueryParameter = {};
|
|
18719
|
+
// authentication bearerAuth required
|
|
18720
|
+
// http bearer authentication required
|
|
18721
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
18722
|
+
// authentication domainAuth required
|
|
18723
|
+
if (slug !== undefined) {
|
|
18724
|
+
localVarQueryParameter['slug'] = slug;
|
|
18725
|
+
}
|
|
18726
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18727
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18728
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18729
|
+
return {
|
|
18730
|
+
url: toPathString(localVarUrlObj),
|
|
18731
|
+
options: localVarRequestOptions,
|
|
18732
|
+
};
|
|
18733
|
+
},
|
|
18734
|
+
/**
|
|
18735
|
+
* Check the custom domain\'s CNAME record and record the outcome. Rate limited to one check every ten seconds per domain. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `StorefrontDomainControllerVerify`
|
|
18736
|
+
* @summary Verify
|
|
18737
|
+
* @param {*} [options] Override http request option.
|
|
18738
|
+
* @throws {RequiredError}
|
|
18739
|
+
*/
|
|
18740
|
+
storefrontDomainControllerVerify: async (options = {}) => {
|
|
18741
|
+
const localVarPath = `/storefront-domain/verify`;
|
|
18742
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18743
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18744
|
+
let baseOptions;
|
|
18745
|
+
if (configuration) {
|
|
18746
|
+
baseOptions = configuration.baseOptions;
|
|
18747
|
+
}
|
|
18748
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
18749
|
+
const localVarHeaderParameter = {};
|
|
18750
|
+
const localVarQueryParameter = {};
|
|
18751
|
+
// authentication bearerAuth required
|
|
18752
|
+
// http bearer authentication required
|
|
18753
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
18754
|
+
// authentication domainAuth required
|
|
18755
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18756
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18757
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18758
|
+
return {
|
|
18759
|
+
url: toPathString(localVarUrlObj),
|
|
18760
|
+
options: localVarRequestOptions,
|
|
18761
|
+
};
|
|
18762
|
+
},
|
|
18763
|
+
};
|
|
18764
|
+
};
|
|
18765
|
+
/**
|
|
18766
|
+
* StorefrontDomainApi - functional programming interface
|
|
18767
|
+
* @export
|
|
18768
|
+
*/
|
|
18769
|
+
export const StorefrontDomainApiFp = function (configuration) {
|
|
18770
|
+
const localVarAxiosParamCreator = StorefrontDomainApiAxiosParamCreator(configuration);
|
|
18771
|
+
return {
|
|
18772
|
+
/**
|
|
18773
|
+
* Get this domain\'s storefront address: the slug, the custom domain and its verification state, plus the deployment\'s storefront zone and CNAME target. Required permissions: `READ_SETTINGS`<br> OperationId: `StorefrontDomainControllerGetAddress`
|
|
18774
|
+
* @summary Get address
|
|
18775
|
+
* @param {*} [options] Override http request option.
|
|
18776
|
+
* @throws {RequiredError}
|
|
18777
|
+
*/
|
|
18778
|
+
async storefrontDomainControllerGetAddress(options) {
|
|
18779
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontDomainControllerGetAddress(options);
|
|
18780
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18781
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontDomainApi.storefrontDomainControllerGetAddress']?.[localVarOperationServerIndex]
|
|
18782
|
+
?.url;
|
|
18783
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18784
|
+
},
|
|
18785
|
+
/**
|
|
18786
|
+
* Set this domain\'s storefront address. Setting or changing the custom domain resets its verification to PENDING, and a PENDING custom domain does not serve. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `StorefrontDomainControllerSetAddress`
|
|
18787
|
+
* @summary Set address
|
|
18788
|
+
* @param {StorefrontDomainUpdateBody} [storefrontDomainUpdateBody] StorefrontDomainUpdateBody
|
|
18789
|
+
* @param {*} [options] Override http request option.
|
|
18790
|
+
* @throws {RequiredError}
|
|
18791
|
+
*/
|
|
18792
|
+
async storefrontDomainControllerSetAddress(storefrontDomainUpdateBody, options) {
|
|
18793
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontDomainControllerSetAddress(storefrontDomainUpdateBody, options);
|
|
18794
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18795
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontDomainApi.storefrontDomainControllerSetAddress']?.[localVarOperationServerIndex]
|
|
18796
|
+
?.url;
|
|
18797
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18798
|
+
},
|
|
18799
|
+
/**
|
|
18800
|
+
* Check whether a storefront slug can be used by this domain. Answers invalid, reserved or taken so the dashboard can say why rather than just refusing. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `StorefrontDomainControllerSlugAvailability`
|
|
18801
|
+
* @summary Slug availability
|
|
18802
|
+
* @param {string} [slug]
|
|
18803
|
+
* @param {*} [options] Override http request option.
|
|
18804
|
+
* @throws {RequiredError}
|
|
18805
|
+
*/
|
|
18806
|
+
async storefrontDomainControllerSlugAvailability(slug, options) {
|
|
18807
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontDomainControllerSlugAvailability(slug, options);
|
|
18808
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18809
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontDomainApi.storefrontDomainControllerSlugAvailability']?.[localVarOperationServerIndex]?.url;
|
|
18810
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18811
|
+
},
|
|
18812
|
+
/**
|
|
18813
|
+
* Check the custom domain\'s CNAME record and record the outcome. Rate limited to one check every ten seconds per domain. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `StorefrontDomainControllerVerify`
|
|
18814
|
+
* @summary Verify
|
|
18815
|
+
* @param {*} [options] Override http request option.
|
|
18816
|
+
* @throws {RequiredError}
|
|
18817
|
+
*/
|
|
18818
|
+
async storefrontDomainControllerVerify(options) {
|
|
18819
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontDomainControllerVerify(options);
|
|
18820
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18821
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontDomainApi.storefrontDomainControllerVerify']?.[localVarOperationServerIndex]?.url;
|
|
18822
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18823
|
+
},
|
|
18824
|
+
};
|
|
18825
|
+
};
|
|
18826
|
+
/**
|
|
18827
|
+
* StorefrontDomainApi - factory interface
|
|
18828
|
+
* @export
|
|
18829
|
+
*/
|
|
18830
|
+
export const StorefrontDomainApiFactory = function (configuration, basePath, axios) {
|
|
18831
|
+
const localVarFp = StorefrontDomainApiFp(configuration);
|
|
18832
|
+
return {
|
|
18833
|
+
/**
|
|
18834
|
+
* Get this domain\'s storefront address: the slug, the custom domain and its verification state, plus the deployment\'s storefront zone and CNAME target. Required permissions: `READ_SETTINGS`<br> OperationId: `StorefrontDomainControllerGetAddress`
|
|
18835
|
+
* @summary Get address
|
|
18836
|
+
* @param {*} [options] Override http request option.
|
|
18837
|
+
* @throws {RequiredError}
|
|
18838
|
+
*/
|
|
18839
|
+
storefrontDomainControllerGetAddress(options) {
|
|
18840
|
+
return localVarFp.storefrontDomainControllerGetAddress(options).then((request) => request(axios, basePath));
|
|
18841
|
+
},
|
|
18842
|
+
/**
|
|
18843
|
+
* Set this domain\'s storefront address. Setting or changing the custom domain resets its verification to PENDING, and a PENDING custom domain does not serve. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `StorefrontDomainControllerSetAddress`
|
|
18844
|
+
* @summary Set address
|
|
18845
|
+
* @param {StorefrontDomainUpdateBody} [storefrontDomainUpdateBody] StorefrontDomainUpdateBody
|
|
18846
|
+
* @param {*} [options] Override http request option.
|
|
18847
|
+
* @throws {RequiredError}
|
|
18848
|
+
*/
|
|
18849
|
+
storefrontDomainControllerSetAddress(storefrontDomainUpdateBody, options) {
|
|
18850
|
+
return localVarFp
|
|
18851
|
+
.storefrontDomainControllerSetAddress(storefrontDomainUpdateBody, options)
|
|
18852
|
+
.then((request) => request(axios, basePath));
|
|
18853
|
+
},
|
|
18854
|
+
/**
|
|
18855
|
+
* Check whether a storefront slug can be used by this domain. Answers invalid, reserved or taken so the dashboard can say why rather than just refusing. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `StorefrontDomainControllerSlugAvailability`
|
|
18856
|
+
* @summary Slug availability
|
|
18857
|
+
* @param {string} [slug]
|
|
18858
|
+
* @param {*} [options] Override http request option.
|
|
18859
|
+
* @throws {RequiredError}
|
|
18860
|
+
*/
|
|
18861
|
+
storefrontDomainControllerSlugAvailability(slug, options) {
|
|
18862
|
+
return localVarFp
|
|
18863
|
+
.storefrontDomainControllerSlugAvailability(slug, options)
|
|
18864
|
+
.then((request) => request(axios, basePath));
|
|
18865
|
+
},
|
|
18866
|
+
/**
|
|
18867
|
+
* Check the custom domain\'s CNAME record and record the outcome. Rate limited to one check every ten seconds per domain. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `StorefrontDomainControllerVerify`
|
|
18868
|
+
* @summary Verify
|
|
18869
|
+
* @param {*} [options] Override http request option.
|
|
18870
|
+
* @throws {RequiredError}
|
|
18871
|
+
*/
|
|
18872
|
+
storefrontDomainControllerVerify(options) {
|
|
18873
|
+
return localVarFp.storefrontDomainControllerVerify(options).then((request) => request(axios, basePath));
|
|
18874
|
+
},
|
|
18875
|
+
};
|
|
18876
|
+
};
|
|
18877
|
+
/**
|
|
18878
|
+
* StorefrontDomainApi - object-oriented interface
|
|
18879
|
+
* @export
|
|
18880
|
+
* @class StorefrontDomainApi
|
|
18881
|
+
* @extends {BaseAPI}
|
|
18882
|
+
*/
|
|
18883
|
+
export class StorefrontDomainApi extends BaseAPI {
|
|
18884
|
+
/**
|
|
18885
|
+
* Get this domain\'s storefront address: the slug, the custom domain and its verification state, plus the deployment\'s storefront zone and CNAME target. Required permissions: `READ_SETTINGS`<br> OperationId: `StorefrontDomainControllerGetAddress`
|
|
18886
|
+
* @summary Get address
|
|
18887
|
+
* @param {*} [options] Override http request option.
|
|
18888
|
+
* @throws {RequiredError}
|
|
18889
|
+
* @memberof StorefrontDomainApi
|
|
18890
|
+
*/
|
|
18891
|
+
storefrontDomainControllerGetAddress(options) {
|
|
18892
|
+
return StorefrontDomainApiFp(this.configuration)
|
|
18893
|
+
.storefrontDomainControllerGetAddress(options)
|
|
18894
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18895
|
+
}
|
|
18896
|
+
/**
|
|
18897
|
+
* Set this domain\'s storefront address. Setting or changing the custom domain resets its verification to PENDING, and a PENDING custom domain does not serve. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `StorefrontDomainControllerSetAddress`
|
|
18898
|
+
* @summary Set address
|
|
18899
|
+
* @param {StorefrontDomainUpdateBody} [storefrontDomainUpdateBody] StorefrontDomainUpdateBody
|
|
18900
|
+
* @param {*} [options] Override http request option.
|
|
18901
|
+
* @throws {RequiredError}
|
|
18902
|
+
* @memberof StorefrontDomainApi
|
|
18903
|
+
*/
|
|
18904
|
+
storefrontDomainControllerSetAddress(storefrontDomainUpdateBody, options) {
|
|
18905
|
+
return StorefrontDomainApiFp(this.configuration)
|
|
18906
|
+
.storefrontDomainControllerSetAddress(storefrontDomainUpdateBody, options)
|
|
18907
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18908
|
+
}
|
|
18909
|
+
/**
|
|
18910
|
+
* Check whether a storefront slug can be used by this domain. Answers invalid, reserved or taken so the dashboard can say why rather than just refusing. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `StorefrontDomainControllerSlugAvailability`
|
|
18911
|
+
* @summary Slug availability
|
|
18912
|
+
* @param {string} [slug]
|
|
18913
|
+
* @param {*} [options] Override http request option.
|
|
18914
|
+
* @throws {RequiredError}
|
|
18915
|
+
* @memberof StorefrontDomainApi
|
|
18916
|
+
*/
|
|
18917
|
+
storefrontDomainControllerSlugAvailability(slug, options) {
|
|
18918
|
+
return StorefrontDomainApiFp(this.configuration)
|
|
18919
|
+
.storefrontDomainControllerSlugAvailability(slug, options)
|
|
18920
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18921
|
+
}
|
|
18922
|
+
/**
|
|
18923
|
+
* Check the custom domain\'s CNAME record and record the outcome. Rate limited to one check every ten seconds per domain. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `StorefrontDomainControllerVerify`
|
|
18924
|
+
* @summary Verify
|
|
18925
|
+
* @param {*} [options] Override http request option.
|
|
18926
|
+
* @throws {RequiredError}
|
|
18927
|
+
* @memberof StorefrontDomainApi
|
|
18928
|
+
*/
|
|
18929
|
+
storefrontDomainControllerVerify(options) {
|
|
18930
|
+
return StorefrontDomainApiFp(this.configuration)
|
|
18931
|
+
.storefrontDomainControllerVerify(options)
|
|
18932
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18933
|
+
}
|
|
18934
|
+
}
|
|
18312
18935
|
/**
|
|
18313
18936
|
* TrackingApi - axios parameter creator
|
|
18314
18937
|
* @export
|
|
@@ -18831,6 +19454,38 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
18831
19454
|
options: localVarRequestOptions,
|
|
18832
19455
|
};
|
|
18833
19456
|
},
|
|
19457
|
+
/**
|
|
19458
|
+
* The Discord ID linked to each of up to 100 players in this domain, for rendering player lists. Players without a linked Discord account are omitted. Required permissions: `READ_USERS`<br> OperationId: `UserControllerDiscordLinksForPlayers`
|
|
19459
|
+
* @summary Linked Discord accounts of players
|
|
19460
|
+
* @param {PlayerDiscordLinksInputDTO} [playerDiscordLinksInputDTO] PlayerDiscordLinksInputDTO
|
|
19461
|
+
* @param {*} [options] Override http request option.
|
|
19462
|
+
* @throws {RequiredError}
|
|
19463
|
+
*/
|
|
19464
|
+
userControllerDiscordLinksForPlayers: async (playerDiscordLinksInputDTO, options = {}) => {
|
|
19465
|
+
const localVarPath = `/user/discord-links`;
|
|
19466
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19467
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19468
|
+
let baseOptions;
|
|
19469
|
+
if (configuration) {
|
|
19470
|
+
baseOptions = configuration.baseOptions;
|
|
19471
|
+
}
|
|
19472
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
19473
|
+
const localVarHeaderParameter = {};
|
|
19474
|
+
const localVarQueryParameter = {};
|
|
19475
|
+
// authentication bearerAuth required
|
|
19476
|
+
// http bearer authentication required
|
|
19477
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
19478
|
+
// authentication domainAuth required
|
|
19479
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19480
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19481
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19482
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19483
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerDiscordLinksInputDTO, localVarRequestOptions, configuration);
|
|
19484
|
+
return {
|
|
19485
|
+
url: toPathString(localVarUrlObj),
|
|
19486
|
+
options: localVarRequestOptions,
|
|
19487
|
+
};
|
|
19488
|
+
},
|
|
18834
19489
|
/**
|
|
18835
19490
|
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerGetOne`
|
|
18836
19491
|
* @summary Get one
|
|
@@ -19247,6 +19902,19 @@ export const UserApiFp = function (configuration) {
|
|
|
19247
19902
|
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerDeleteSelectedDomainCookie']?.[localVarOperationServerIndex]?.url;
|
|
19248
19903
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19249
19904
|
},
|
|
19905
|
+
/**
|
|
19906
|
+
* The Discord ID linked to each of up to 100 players in this domain, for rendering player lists. Players without a linked Discord account are omitted. Required permissions: `READ_USERS`<br> OperationId: `UserControllerDiscordLinksForPlayers`
|
|
19907
|
+
* @summary Linked Discord accounts of players
|
|
19908
|
+
* @param {PlayerDiscordLinksInputDTO} [playerDiscordLinksInputDTO] PlayerDiscordLinksInputDTO
|
|
19909
|
+
* @param {*} [options] Override http request option.
|
|
19910
|
+
* @throws {RequiredError}
|
|
19911
|
+
*/
|
|
19912
|
+
async userControllerDiscordLinksForPlayers(playerDiscordLinksInputDTO, options) {
|
|
19913
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerDiscordLinksForPlayers(playerDiscordLinksInputDTO, options);
|
|
19914
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19915
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerDiscordLinksForPlayers']?.[localVarOperationServerIndex]?.url;
|
|
19916
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19917
|
+
},
|
|
19250
19918
|
/**
|
|
19251
19919
|
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerGetOne`
|
|
19252
19920
|
* @summary Get one
|
|
@@ -19442,6 +20110,18 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
19442
20110
|
userControllerDeleteSelectedDomainCookie(options) {
|
|
19443
20111
|
return localVarFp.userControllerDeleteSelectedDomainCookie(options).then((request) => request(axios, basePath));
|
|
19444
20112
|
},
|
|
20113
|
+
/**
|
|
20114
|
+
* The Discord ID linked to each of up to 100 players in this domain, for rendering player lists. Players without a linked Discord account are omitted. Required permissions: `READ_USERS`<br> OperationId: `UserControllerDiscordLinksForPlayers`
|
|
20115
|
+
* @summary Linked Discord accounts of players
|
|
20116
|
+
* @param {PlayerDiscordLinksInputDTO} [playerDiscordLinksInputDTO] PlayerDiscordLinksInputDTO
|
|
20117
|
+
* @param {*} [options] Override http request option.
|
|
20118
|
+
* @throws {RequiredError}
|
|
20119
|
+
*/
|
|
20120
|
+
userControllerDiscordLinksForPlayers(playerDiscordLinksInputDTO, options) {
|
|
20121
|
+
return localVarFp
|
|
20122
|
+
.userControllerDiscordLinksForPlayers(playerDiscordLinksInputDTO, options)
|
|
20123
|
+
.then((request) => request(axios, basePath));
|
|
20124
|
+
},
|
|
19445
20125
|
/**
|
|
19446
20126
|
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerGetOne`
|
|
19447
20127
|
* @summary Get one
|
|
@@ -19616,6 +20296,19 @@ export class UserApi extends BaseAPI {
|
|
|
19616
20296
|
.userControllerDeleteSelectedDomainCookie(options)
|
|
19617
20297
|
.then((request) => request(this.axios, this.basePath));
|
|
19618
20298
|
}
|
|
20299
|
+
/**
|
|
20300
|
+
* The Discord ID linked to each of up to 100 players in this domain, for rendering player lists. Players without a linked Discord account are omitted. Required permissions: `READ_USERS`<br> OperationId: `UserControllerDiscordLinksForPlayers`
|
|
20301
|
+
* @summary Linked Discord accounts of players
|
|
20302
|
+
* @param {PlayerDiscordLinksInputDTO} [playerDiscordLinksInputDTO] PlayerDiscordLinksInputDTO
|
|
20303
|
+
* @param {*} [options] Override http request option.
|
|
20304
|
+
* @throws {RequiredError}
|
|
20305
|
+
* @memberof UserApi
|
|
20306
|
+
*/
|
|
20307
|
+
userControllerDiscordLinksForPlayers(playerDiscordLinksInputDTO, options) {
|
|
20308
|
+
return UserApiFp(this.configuration)
|
|
20309
|
+
.userControllerDiscordLinksForPlayers(playerDiscordLinksInputDTO, options)
|
|
20310
|
+
.then((request) => request(this.axios, this.basePath));
|
|
20311
|
+
}
|
|
19619
20312
|
/**
|
|
19620
20313
|
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerGetOne`
|
|
19621
20314
|
* @summary Get one
|