@takaro/apiclient 0.0.0-dev.036bf01 → 0.0.0-dev.03bcb3a
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 +1433 -40
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1161 -155
- package/dist/generated/api.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/package.json +2 -2
- package/src/generated/api.ts +2194 -4
- package/src/lib/client.ts +11 -0
package/dist/generated/api.js
CHANGED
|
@@ -696,6 +696,28 @@ export const ITakaroQuerySortDirectionEnum = {
|
|
|
696
696
|
Asc: 'asc',
|
|
697
697
|
Desc: 'desc',
|
|
698
698
|
};
|
|
699
|
+
export const InviteLinkCreateResultDTOStatusEnum = {
|
|
700
|
+
Active: 'ACTIVE',
|
|
701
|
+
Revoked: 'REVOKED',
|
|
702
|
+
Expired: 'EXPIRED',
|
|
703
|
+
Depleted: 'DEPLETED',
|
|
704
|
+
};
|
|
705
|
+
export const InviteLinkOutputDTOStatusEnum = {
|
|
706
|
+
Active: 'ACTIVE',
|
|
707
|
+
Revoked: 'REVOKED',
|
|
708
|
+
Expired: 'EXPIRED',
|
|
709
|
+
Depleted: 'DEPLETED',
|
|
710
|
+
};
|
|
711
|
+
export const InviteLinkPreviewDTOStatusEnum = {
|
|
712
|
+
Active: 'ACTIVE',
|
|
713
|
+
Revoked: 'REVOKED',
|
|
714
|
+
Expired: 'EXPIRED',
|
|
715
|
+
Depleted: 'DEPLETED',
|
|
716
|
+
};
|
|
717
|
+
export const InviteLinkSearchInputDTOSortDirectionEnum = {
|
|
718
|
+
Asc: 'asc',
|
|
719
|
+
Desc: 'desc',
|
|
720
|
+
};
|
|
699
721
|
export const ItemSearchInputDTOExtendEnum = {
|
|
700
722
|
Gameserver: 'gameserver',
|
|
701
723
|
};
|
|
@@ -724,6 +746,12 @@ export const MetaFilterGroupOrLeafDTOOperatorEnum = {
|
|
|
724
746
|
LessThan: '<',
|
|
725
747
|
ArrayContains: 'array_contains',
|
|
726
748
|
};
|
|
749
|
+
export const ModuleInstallationKpisQueryDTOPeriodEnum = {
|
|
750
|
+
_24h: '24h',
|
|
751
|
+
_7d: '7d',
|
|
752
|
+
_30d: '30d',
|
|
753
|
+
_90d: '90d',
|
|
754
|
+
};
|
|
727
755
|
export const ModuleInstallationSearchInputDTOSortDirectionEnum = {
|
|
728
756
|
Asc: 'asc',
|
|
729
757
|
Desc: 'desc',
|
|
@@ -1448,6 +1476,56 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1448
1476
|
options: localVarRequestOptions,
|
|
1449
1477
|
};
|
|
1450
1478
|
},
|
|
1479
|
+
/**
|
|
1480
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
1481
|
+
* @summary Get per-installation module KPIs
|
|
1482
|
+
* @param {string} gameServerId
|
|
1483
|
+
* @param {string} moduleId
|
|
1484
|
+
* @param {string} [startDate]
|
|
1485
|
+
* @param {string} [endDate]
|
|
1486
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
1487
|
+
* @param {*} [options] Override http request option.
|
|
1488
|
+
* @throws {RequiredError}
|
|
1489
|
+
*/
|
|
1490
|
+
analyticsControllerGetModuleInstallationKpis: async (gameServerId, moduleId, startDate, endDate, period, options = {}) => {
|
|
1491
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
1492
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
|
|
1493
|
+
// verify required parameter 'moduleId' is not null or undefined
|
|
1494
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
|
|
1495
|
+
const localVarPath = `/analytics/modules/installation-kpis`;
|
|
1496
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1497
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1498
|
+
let baseOptions;
|
|
1499
|
+
if (configuration) {
|
|
1500
|
+
baseOptions = configuration.baseOptions;
|
|
1501
|
+
}
|
|
1502
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1503
|
+
const localVarHeaderParameter = {};
|
|
1504
|
+
const localVarQueryParameter = {};
|
|
1505
|
+
// authentication domainAuth required
|
|
1506
|
+
if (startDate !== undefined) {
|
|
1507
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
1508
|
+
}
|
|
1509
|
+
if (endDate !== undefined) {
|
|
1510
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
1511
|
+
}
|
|
1512
|
+
if (gameServerId !== undefined) {
|
|
1513
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
1514
|
+
}
|
|
1515
|
+
if (moduleId !== undefined) {
|
|
1516
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
1517
|
+
}
|
|
1518
|
+
if (period !== undefined) {
|
|
1519
|
+
localVarQueryParameter['period'] = period;
|
|
1520
|
+
}
|
|
1521
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1522
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1523
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1524
|
+
return {
|
|
1525
|
+
url: toPathString(localVarUrlObj),
|
|
1526
|
+
options: localVarRequestOptions,
|
|
1527
|
+
};
|
|
1528
|
+
},
|
|
1451
1529
|
/**
|
|
1452
1530
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
1453
1531
|
* @summary Get module item failure aggregate
|
|
@@ -2548,6 +2626,24 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2548
2626
|
const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleHealth']?.[localVarOperationServerIndex]?.url;
|
|
2549
2627
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2550
2628
|
},
|
|
2629
|
+
/**
|
|
2630
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
2631
|
+
* @summary Get per-installation module KPIs
|
|
2632
|
+
* @param {string} gameServerId
|
|
2633
|
+
* @param {string} moduleId
|
|
2634
|
+
* @param {string} [startDate]
|
|
2635
|
+
* @param {string} [endDate]
|
|
2636
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
2637
|
+
* @param {*} [options] Override http request option.
|
|
2638
|
+
* @throws {RequiredError}
|
|
2639
|
+
*/
|
|
2640
|
+
async analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
|
|
2641
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options);
|
|
2642
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2643
|
+
const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
|
|
2644
|
+
?.url;
|
|
2645
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2646
|
+
},
|
|
2551
2647
|
/**
|
|
2552
2648
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
2553
2649
|
* @summary Get module item failure aggregate
|
|
@@ -3090,6 +3186,22 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3090
3186
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
3091
3187
|
.then((request) => request(axios, basePath));
|
|
3092
3188
|
},
|
|
3189
|
+
/**
|
|
3190
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
3191
|
+
* @summary Get per-installation module KPIs
|
|
3192
|
+
* @param {string} gameServerId
|
|
3193
|
+
* @param {string} moduleId
|
|
3194
|
+
* @param {string} [startDate]
|
|
3195
|
+
* @param {string} [endDate]
|
|
3196
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
3197
|
+
* @param {*} [options] Override http request option.
|
|
3198
|
+
* @throws {RequiredError}
|
|
3199
|
+
*/
|
|
3200
|
+
analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
|
|
3201
|
+
return localVarFp
|
|
3202
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
3203
|
+
.then((request) => request(axios, basePath));
|
|
3204
|
+
},
|
|
3093
3205
|
/**
|
|
3094
3206
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
3095
3207
|
* @summary Get module item failure aggregate
|
|
@@ -3619,6 +3731,23 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3619
3731
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
3620
3732
|
.then((request) => request(this.axios, this.basePath));
|
|
3621
3733
|
}
|
|
3734
|
+
/**
|
|
3735
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
3736
|
+
* @summary Get per-installation module KPIs
|
|
3737
|
+
* @param {string} gameServerId
|
|
3738
|
+
* @param {string} moduleId
|
|
3739
|
+
* @param {string} [startDate]
|
|
3740
|
+
* @param {string} [endDate]
|
|
3741
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
3742
|
+
* @param {*} [options] Override http request option.
|
|
3743
|
+
* @throws {RequiredError}
|
|
3744
|
+
* @memberof AnalyticsApi
|
|
3745
|
+
*/
|
|
3746
|
+
analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
|
|
3747
|
+
return AnalyticsApiFp(this.configuration)
|
|
3748
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
3749
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3750
|
+
}
|
|
3622
3751
|
/**
|
|
3623
3752
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
3624
3753
|
* @summary Get module item failure aggregate
|
|
@@ -4064,6 +4193,15 @@ export const AnalyticsControllerGetModuleHealthPeriodEnum = {
|
|
|
4064
4193
|
_30d: '30d',
|
|
4065
4194
|
_90d: '90d',
|
|
4066
4195
|
};
|
|
4196
|
+
/**
|
|
4197
|
+
* @export
|
|
4198
|
+
*/
|
|
4199
|
+
export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
|
|
4200
|
+
_24h: '24h',
|
|
4201
|
+
_7d: '7d',
|
|
4202
|
+
_30d: '30d',
|
|
4203
|
+
_90d: '90d',
|
|
4204
|
+
};
|
|
4067
4205
|
/**
|
|
4068
4206
|
* @export
|
|
4069
4207
|
*/
|
|
@@ -4254,118 +4392,99 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
|
|
|
4254
4392
|
_90d: '90d',
|
|
4255
4393
|
};
|
|
4256
4394
|
/**
|
|
4257
|
-
*
|
|
4395
|
+
* AuthApi - axios parameter creator
|
|
4258
4396
|
* @export
|
|
4259
4397
|
*/
|
|
4260
|
-
export const
|
|
4398
|
+
export const AuthApiAxiosParamCreator = function (configuration) {
|
|
4261
4399
|
return {
|
|
4262
4400
|
/**
|
|
4263
|
-
*
|
|
4264
|
-
* @summary
|
|
4265
|
-
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
4401
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4402
|
+
* @summary Account
|
|
4266
4403
|
* @param {*} [options] Override http request option.
|
|
4267
4404
|
* @throws {RequiredError}
|
|
4268
4405
|
*/
|
|
4269
|
-
|
|
4270
|
-
const localVarPath = `/
|
|
4406
|
+
authControllerAccount: async (options = {}) => {
|
|
4407
|
+
const localVarPath = `/auth/account`;
|
|
4271
4408
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4272
4409
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4273
4410
|
let baseOptions;
|
|
4274
4411
|
if (configuration) {
|
|
4275
4412
|
baseOptions = configuration.baseOptions;
|
|
4276
4413
|
}
|
|
4277
|
-
const localVarRequestOptions = { method: '
|
|
4414
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4278
4415
|
const localVarHeaderParameter = {};
|
|
4279
4416
|
const localVarQueryParameter = {};
|
|
4280
|
-
// authentication domainAuth required
|
|
4281
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4282
4417
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4283
4418
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4284
4419
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4285
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
|
|
4286
4420
|
return {
|
|
4287
4421
|
url: toPathString(localVarUrlObj),
|
|
4288
4422
|
options: localVarRequestOptions,
|
|
4289
4423
|
};
|
|
4290
4424
|
},
|
|
4291
4425
|
/**
|
|
4292
|
-
*
|
|
4293
|
-
* @summary
|
|
4294
|
-
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
4426
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4427
|
+
* @summary Callback
|
|
4295
4428
|
* @param {*} [options] Override http request option.
|
|
4296
4429
|
* @throws {RequiredError}
|
|
4297
4430
|
*/
|
|
4298
|
-
|
|
4299
|
-
const localVarPath = `/
|
|
4431
|
+
authControllerCallback: async (options = {}) => {
|
|
4432
|
+
const localVarPath = `/auth/callback`;
|
|
4300
4433
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4301
4434
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4302
4435
|
let baseOptions;
|
|
4303
4436
|
if (configuration) {
|
|
4304
4437
|
baseOptions = configuration.baseOptions;
|
|
4305
4438
|
}
|
|
4306
|
-
const localVarRequestOptions = { method: '
|
|
4439
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4307
4440
|
const localVarHeaderParameter = {};
|
|
4308
4441
|
const localVarQueryParameter = {};
|
|
4309
|
-
// authentication domainAuth required
|
|
4310
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4311
4442
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4312
4443
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4313
4444
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4314
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
|
|
4315
4445
|
return {
|
|
4316
4446
|
url: toPathString(localVarUrlObj),
|
|
4317
4447
|
options: localVarRequestOptions,
|
|
4318
4448
|
};
|
|
4319
4449
|
},
|
|
4320
4450
|
/**
|
|
4321
|
-
*
|
|
4322
|
-
* @summary
|
|
4323
|
-
* @param {string}
|
|
4324
|
-
* @param {any} [success]
|
|
4325
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
4451
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4452
|
+
* @summary Login
|
|
4453
|
+
* @param {string} [redirect]
|
|
4326
4454
|
* @param {*} [options] Override http request option.
|
|
4327
4455
|
* @throws {RequiredError}
|
|
4328
4456
|
*/
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
assertParamExists('commandControllerGetExecutions', 'id', id);
|
|
4332
|
-
const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4457
|
+
authControllerLogin: async (redirect, options = {}) => {
|
|
4458
|
+
const localVarPath = `/auth/login`;
|
|
4333
4459
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4334
4460
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4335
4461
|
let baseOptions;
|
|
4336
4462
|
if (configuration) {
|
|
4337
4463
|
baseOptions = configuration.baseOptions;
|
|
4338
4464
|
}
|
|
4339
|
-
const localVarRequestOptions = { method: '
|
|
4465
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4340
4466
|
const localVarHeaderParameter = {};
|
|
4341
4467
|
const localVarQueryParameter = {};
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
for (const [key, value] of Object.entries(success)) {
|
|
4345
|
-
localVarQueryParameter[key] = value;
|
|
4346
|
-
}
|
|
4468
|
+
if (redirect !== undefined) {
|
|
4469
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
4347
4470
|
}
|
|
4348
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4349
4471
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4350
4472
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4351
4473
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4352
|
-
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
4353
4474
|
return {
|
|
4354
4475
|
url: toPathString(localVarUrlObj),
|
|
4355
4476
|
options: localVarRequestOptions,
|
|
4356
4477
|
};
|
|
4357
4478
|
},
|
|
4358
4479
|
/**
|
|
4359
|
-
*
|
|
4360
|
-
* @summary
|
|
4361
|
-
* @param {string}
|
|
4480
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4481
|
+
* @summary Logout
|
|
4482
|
+
* @param {string} [redirect]
|
|
4362
4483
|
* @param {*} [options] Override http request option.
|
|
4363
4484
|
* @throws {RequiredError}
|
|
4364
4485
|
*/
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
assertParamExists('commandControllerGetOne', 'id', id);
|
|
4368
|
-
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4486
|
+
authControllerLogout: async (redirect, options = {}) => {
|
|
4487
|
+
const localVarPath = `/auth/logout`;
|
|
4369
4488
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4370
4489
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4371
4490
|
let baseOptions;
|
|
@@ -4375,7 +4494,9 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4375
4494
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4376
4495
|
const localVarHeaderParameter = {};
|
|
4377
4496
|
const localVarQueryParameter = {};
|
|
4378
|
-
|
|
4497
|
+
if (redirect !== undefined) {
|
|
4498
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
4499
|
+
}
|
|
4379
4500
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4380
4501
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4381
4502
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -4384,114 +4505,411 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4384
4505
|
options: localVarRequestOptions,
|
|
4385
4506
|
};
|
|
4386
4507
|
},
|
|
4508
|
+
};
|
|
4509
|
+
};
|
|
4510
|
+
/**
|
|
4511
|
+
* AuthApi - functional programming interface
|
|
4512
|
+
* @export
|
|
4513
|
+
*/
|
|
4514
|
+
export const AuthApiFp = function (configuration) {
|
|
4515
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
4516
|
+
return {
|
|
4387
4517
|
/**
|
|
4388
|
-
*
|
|
4389
|
-
* @summary
|
|
4390
|
-
* @param {string} id
|
|
4518
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4519
|
+
* @summary Account
|
|
4391
4520
|
* @param {*} [options] Override http request option.
|
|
4392
4521
|
* @throws {RequiredError}
|
|
4393
4522
|
*/
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
const
|
|
4398
|
-
|
|
4399
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4400
|
-
let baseOptions;
|
|
4401
|
-
if (configuration) {
|
|
4402
|
-
baseOptions = configuration.baseOptions;
|
|
4403
|
-
}
|
|
4404
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4405
|
-
const localVarHeaderParameter = {};
|
|
4406
|
-
const localVarQueryParameter = {};
|
|
4407
|
-
// authentication domainAuth required
|
|
4408
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4409
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4410
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4411
|
-
return {
|
|
4412
|
-
url: toPathString(localVarUrlObj),
|
|
4413
|
-
options: localVarRequestOptions,
|
|
4414
|
-
};
|
|
4523
|
+
async authControllerAccount(options) {
|
|
4524
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
|
|
4525
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4526
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
|
|
4527
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4415
4528
|
},
|
|
4416
4529
|
/**
|
|
4417
|
-
*
|
|
4418
|
-
* @summary
|
|
4419
|
-
* @param {string} id
|
|
4530
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4531
|
+
* @summary Callback
|
|
4420
4532
|
* @param {*} [options] Override http request option.
|
|
4421
4533
|
* @throws {RequiredError}
|
|
4422
4534
|
*/
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
const
|
|
4427
|
-
|
|
4428
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4429
|
-
let baseOptions;
|
|
4430
|
-
if (configuration) {
|
|
4431
|
-
baseOptions = configuration.baseOptions;
|
|
4432
|
-
}
|
|
4433
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4434
|
-
const localVarHeaderParameter = {};
|
|
4435
|
-
const localVarQueryParameter = {};
|
|
4436
|
-
// authentication domainAuth required
|
|
4437
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4438
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4439
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4440
|
-
return {
|
|
4441
|
-
url: toPathString(localVarUrlObj),
|
|
4442
|
-
options: localVarRequestOptions,
|
|
4443
|
-
};
|
|
4535
|
+
async authControllerCallback(options) {
|
|
4536
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
|
|
4537
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4538
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
|
|
4539
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4444
4540
|
},
|
|
4445
4541
|
/**
|
|
4446
|
-
*
|
|
4447
|
-
* @summary
|
|
4448
|
-
* @param {
|
|
4542
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4543
|
+
* @summary Login
|
|
4544
|
+
* @param {string} [redirect]
|
|
4449
4545
|
* @param {*} [options] Override http request option.
|
|
4450
4546
|
* @throws {RequiredError}
|
|
4451
4547
|
*/
|
|
4452
|
-
|
|
4453
|
-
const
|
|
4454
|
-
|
|
4455
|
-
const
|
|
4456
|
-
|
|
4457
|
-
if (configuration) {
|
|
4458
|
-
baseOptions = configuration.baseOptions;
|
|
4459
|
-
}
|
|
4460
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4461
|
-
const localVarHeaderParameter = {};
|
|
4462
|
-
const localVarQueryParameter = {};
|
|
4463
|
-
// authentication domainAuth required
|
|
4464
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4465
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4466
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4467
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4468
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandSearchInputDTO, localVarRequestOptions, configuration);
|
|
4469
|
-
return {
|
|
4470
|
-
url: toPathString(localVarUrlObj),
|
|
4471
|
-
options: localVarRequestOptions,
|
|
4472
|
-
};
|
|
4548
|
+
async authControllerLogin(redirect, options) {
|
|
4549
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
|
|
4550
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4551
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
|
|
4552
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4473
4553
|
},
|
|
4474
4554
|
/**
|
|
4475
|
-
*
|
|
4476
|
-
* @summary
|
|
4477
|
-
* @param {string}
|
|
4478
|
-
* @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
|
|
4555
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4556
|
+
* @summary Logout
|
|
4557
|
+
* @param {string} [redirect]
|
|
4479
4558
|
* @param {*} [options] Override http request option.
|
|
4480
4559
|
* @throws {RequiredError}
|
|
4481
4560
|
*/
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
const
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4561
|
+
async authControllerLogout(redirect, options) {
|
|
4562
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
|
|
4563
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4564
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
|
|
4565
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4566
|
+
},
|
|
4567
|
+
};
|
|
4568
|
+
};
|
|
4569
|
+
/**
|
|
4570
|
+
* AuthApi - factory interface
|
|
4571
|
+
* @export
|
|
4572
|
+
*/
|
|
4573
|
+
export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
4574
|
+
const localVarFp = AuthApiFp(configuration);
|
|
4575
|
+
return {
|
|
4576
|
+
/**
|
|
4577
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4578
|
+
* @summary Account
|
|
4579
|
+
* @param {*} [options] Override http request option.
|
|
4580
|
+
* @throws {RequiredError}
|
|
4581
|
+
*/
|
|
4582
|
+
authControllerAccount(options) {
|
|
4583
|
+
return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
|
|
4584
|
+
},
|
|
4585
|
+
/**
|
|
4586
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4587
|
+
* @summary Callback
|
|
4588
|
+
* @param {*} [options] Override http request option.
|
|
4589
|
+
* @throws {RequiredError}
|
|
4590
|
+
*/
|
|
4591
|
+
authControllerCallback(options) {
|
|
4592
|
+
return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
|
|
4593
|
+
},
|
|
4594
|
+
/**
|
|
4595
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4596
|
+
* @summary Login
|
|
4597
|
+
* @param {string} [redirect]
|
|
4598
|
+
* @param {*} [options] Override http request option.
|
|
4599
|
+
* @throws {RequiredError}
|
|
4600
|
+
*/
|
|
4601
|
+
authControllerLogin(redirect, options) {
|
|
4602
|
+
return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
|
|
4603
|
+
},
|
|
4604
|
+
/**
|
|
4605
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4606
|
+
* @summary Logout
|
|
4607
|
+
* @param {string} [redirect]
|
|
4608
|
+
* @param {*} [options] Override http request option.
|
|
4609
|
+
* @throws {RequiredError}
|
|
4610
|
+
*/
|
|
4611
|
+
authControllerLogout(redirect, options) {
|
|
4612
|
+
return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
|
|
4613
|
+
},
|
|
4614
|
+
};
|
|
4615
|
+
};
|
|
4616
|
+
/**
|
|
4617
|
+
* AuthApi - object-oriented interface
|
|
4618
|
+
* @export
|
|
4619
|
+
* @class AuthApi
|
|
4620
|
+
* @extends {BaseAPI}
|
|
4621
|
+
*/
|
|
4622
|
+
export class AuthApi extends BaseAPI {
|
|
4623
|
+
/**
|
|
4624
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4625
|
+
* @summary Account
|
|
4626
|
+
* @param {*} [options] Override http request option.
|
|
4627
|
+
* @throws {RequiredError}
|
|
4628
|
+
* @memberof AuthApi
|
|
4629
|
+
*/
|
|
4630
|
+
authControllerAccount(options) {
|
|
4631
|
+
return AuthApiFp(this.configuration)
|
|
4632
|
+
.authControllerAccount(options)
|
|
4633
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4634
|
+
}
|
|
4635
|
+
/**
|
|
4636
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4637
|
+
* @summary Callback
|
|
4638
|
+
* @param {*} [options] Override http request option.
|
|
4639
|
+
* @throws {RequiredError}
|
|
4640
|
+
* @memberof AuthApi
|
|
4641
|
+
*/
|
|
4642
|
+
authControllerCallback(options) {
|
|
4643
|
+
return AuthApiFp(this.configuration)
|
|
4644
|
+
.authControllerCallback(options)
|
|
4645
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4646
|
+
}
|
|
4647
|
+
/**
|
|
4648
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4649
|
+
* @summary Login
|
|
4650
|
+
* @param {string} [redirect]
|
|
4651
|
+
* @param {*} [options] Override http request option.
|
|
4652
|
+
* @throws {RequiredError}
|
|
4653
|
+
* @memberof AuthApi
|
|
4654
|
+
*/
|
|
4655
|
+
authControllerLogin(redirect, options) {
|
|
4656
|
+
return AuthApiFp(this.configuration)
|
|
4657
|
+
.authControllerLogin(redirect, options)
|
|
4658
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4659
|
+
}
|
|
4660
|
+
/**
|
|
4661
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4662
|
+
* @summary Logout
|
|
4663
|
+
* @param {string} [redirect]
|
|
4664
|
+
* @param {*} [options] Override http request option.
|
|
4665
|
+
* @throws {RequiredError}
|
|
4666
|
+
* @memberof AuthApi
|
|
4667
|
+
*/
|
|
4668
|
+
authControllerLogout(redirect, options) {
|
|
4669
|
+
return AuthApiFp(this.configuration)
|
|
4670
|
+
.authControllerLogout(redirect, options)
|
|
4671
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4672
|
+
}
|
|
4673
|
+
}
|
|
4674
|
+
/**
|
|
4675
|
+
* CommandApi - axios parameter creator
|
|
4676
|
+
* @export
|
|
4677
|
+
*/
|
|
4678
|
+
export const CommandApiAxiosParamCreator = function (configuration) {
|
|
4679
|
+
return {
|
|
4680
|
+
/**
|
|
4681
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
|
|
4682
|
+
* @summary Create
|
|
4683
|
+
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
4684
|
+
* @param {*} [options] Override http request option.
|
|
4685
|
+
* @throws {RequiredError}
|
|
4686
|
+
*/
|
|
4687
|
+
commandControllerCreate: async (commandCreateDTO, options = {}) => {
|
|
4688
|
+
const localVarPath = `/command`;
|
|
4689
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4690
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4691
|
+
let baseOptions;
|
|
4692
|
+
if (configuration) {
|
|
4693
|
+
baseOptions = configuration.baseOptions;
|
|
4694
|
+
}
|
|
4695
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4696
|
+
const localVarHeaderParameter = {};
|
|
4697
|
+
const localVarQueryParameter = {};
|
|
4698
|
+
// authentication domainAuth required
|
|
4699
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4700
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4701
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4702
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4703
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
|
|
4704
|
+
return {
|
|
4705
|
+
url: toPathString(localVarUrlObj),
|
|
4706
|
+
options: localVarRequestOptions,
|
|
4707
|
+
};
|
|
4708
|
+
},
|
|
4709
|
+
/**
|
|
4710
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
4711
|
+
* @summary Create argument
|
|
4712
|
+
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
4713
|
+
* @param {*} [options] Override http request option.
|
|
4714
|
+
* @throws {RequiredError}
|
|
4715
|
+
*/
|
|
4716
|
+
commandControllerCreateArgument: async (commandArgumentCreateDTO, options = {}) => {
|
|
4717
|
+
const localVarPath = `/command/argument`;
|
|
4718
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4719
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4720
|
+
let baseOptions;
|
|
4721
|
+
if (configuration) {
|
|
4722
|
+
baseOptions = configuration.baseOptions;
|
|
4723
|
+
}
|
|
4724
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4725
|
+
const localVarHeaderParameter = {};
|
|
4726
|
+
const localVarQueryParameter = {};
|
|
4727
|
+
// authentication domainAuth required
|
|
4728
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4729
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4730
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4731
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4732
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
|
|
4733
|
+
return {
|
|
4734
|
+
url: toPathString(localVarUrlObj),
|
|
4735
|
+
options: localVarRequestOptions,
|
|
4736
|
+
};
|
|
4737
|
+
},
|
|
4738
|
+
/**
|
|
4739
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
4740
|
+
* @summary Get executions
|
|
4741
|
+
* @param {string} id
|
|
4742
|
+
* @param {any} [success]
|
|
4743
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
4744
|
+
* @param {*} [options] Override http request option.
|
|
4745
|
+
* @throws {RequiredError}
|
|
4746
|
+
*/
|
|
4747
|
+
commandControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
|
|
4748
|
+
// verify required parameter 'id' is not null or undefined
|
|
4749
|
+
assertParamExists('commandControllerGetExecutions', 'id', id);
|
|
4750
|
+
const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4751
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4752
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4753
|
+
let baseOptions;
|
|
4754
|
+
if (configuration) {
|
|
4755
|
+
baseOptions = configuration.baseOptions;
|
|
4756
|
+
}
|
|
4757
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4758
|
+
const localVarHeaderParameter = {};
|
|
4759
|
+
const localVarQueryParameter = {};
|
|
4760
|
+
// authentication domainAuth required
|
|
4761
|
+
if (success !== undefined) {
|
|
4762
|
+
for (const [key, value] of Object.entries(success)) {
|
|
4763
|
+
localVarQueryParameter[key] = value;
|
|
4764
|
+
}
|
|
4765
|
+
}
|
|
4766
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4767
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4768
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4769
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4770
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
4771
|
+
return {
|
|
4772
|
+
url: toPathString(localVarUrlObj),
|
|
4773
|
+
options: localVarRequestOptions,
|
|
4774
|
+
};
|
|
4775
|
+
},
|
|
4776
|
+
/**
|
|
4777
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
|
|
4778
|
+
* @summary Get one
|
|
4779
|
+
* @param {string} id
|
|
4780
|
+
* @param {*} [options] Override http request option.
|
|
4781
|
+
* @throws {RequiredError}
|
|
4782
|
+
*/
|
|
4783
|
+
commandControllerGetOne: async (id, options = {}) => {
|
|
4784
|
+
// verify required parameter 'id' is not null or undefined
|
|
4785
|
+
assertParamExists('commandControllerGetOne', 'id', id);
|
|
4786
|
+
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4787
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4788
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4789
|
+
let baseOptions;
|
|
4790
|
+
if (configuration) {
|
|
4791
|
+
baseOptions = configuration.baseOptions;
|
|
4792
|
+
}
|
|
4793
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4794
|
+
const localVarHeaderParameter = {};
|
|
4795
|
+
const localVarQueryParameter = {};
|
|
4796
|
+
// authentication domainAuth required
|
|
4797
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4798
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4799
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4800
|
+
return {
|
|
4801
|
+
url: toPathString(localVarUrlObj),
|
|
4802
|
+
options: localVarRequestOptions,
|
|
4803
|
+
};
|
|
4804
|
+
},
|
|
4805
|
+
/**
|
|
4806
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
|
|
4807
|
+
* @summary Remove
|
|
4808
|
+
* @param {string} id
|
|
4809
|
+
* @param {*} [options] Override http request option.
|
|
4810
|
+
* @throws {RequiredError}
|
|
4811
|
+
*/
|
|
4812
|
+
commandControllerRemove: async (id, options = {}) => {
|
|
4813
|
+
// verify required parameter 'id' is not null or undefined
|
|
4814
|
+
assertParamExists('commandControllerRemove', 'id', id);
|
|
4815
|
+
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4816
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4817
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4818
|
+
let baseOptions;
|
|
4819
|
+
if (configuration) {
|
|
4820
|
+
baseOptions = configuration.baseOptions;
|
|
4821
|
+
}
|
|
4822
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4823
|
+
const localVarHeaderParameter = {};
|
|
4824
|
+
const localVarQueryParameter = {};
|
|
4825
|
+
// authentication domainAuth required
|
|
4826
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4827
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4828
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4829
|
+
return {
|
|
4830
|
+
url: toPathString(localVarUrlObj),
|
|
4831
|
+
options: localVarRequestOptions,
|
|
4832
|
+
};
|
|
4833
|
+
},
|
|
4834
|
+
/**
|
|
4835
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
|
|
4836
|
+
* @summary Remove argument
|
|
4837
|
+
* @param {string} id
|
|
4838
|
+
* @param {*} [options] Override http request option.
|
|
4839
|
+
* @throws {RequiredError}
|
|
4840
|
+
*/
|
|
4841
|
+
commandControllerRemoveArgument: async (id, options = {}) => {
|
|
4842
|
+
// verify required parameter 'id' is not null or undefined
|
|
4843
|
+
assertParamExists('commandControllerRemoveArgument', 'id', id);
|
|
4844
|
+
const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4845
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4846
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4847
|
+
let baseOptions;
|
|
4848
|
+
if (configuration) {
|
|
4849
|
+
baseOptions = configuration.baseOptions;
|
|
4850
|
+
}
|
|
4851
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4852
|
+
const localVarHeaderParameter = {};
|
|
4853
|
+
const localVarQueryParameter = {};
|
|
4854
|
+
// authentication domainAuth required
|
|
4855
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4856
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4857
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4858
|
+
return {
|
|
4859
|
+
url: toPathString(localVarUrlObj),
|
|
4860
|
+
options: localVarRequestOptions,
|
|
4861
|
+
};
|
|
4862
|
+
},
|
|
4863
|
+
/**
|
|
4864
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
4865
|
+
* @summary Search
|
|
4866
|
+
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
4867
|
+
* @param {*} [options] Override http request option.
|
|
4868
|
+
* @throws {RequiredError}
|
|
4869
|
+
*/
|
|
4870
|
+
commandControllerSearch: async (commandSearchInputDTO, options = {}) => {
|
|
4871
|
+
const localVarPath = `/command/search`;
|
|
4872
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4873
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4874
|
+
let baseOptions;
|
|
4875
|
+
if (configuration) {
|
|
4876
|
+
baseOptions = configuration.baseOptions;
|
|
4877
|
+
}
|
|
4878
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4879
|
+
const localVarHeaderParameter = {};
|
|
4880
|
+
const localVarQueryParameter = {};
|
|
4881
|
+
// authentication domainAuth required
|
|
4882
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4883
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4884
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4885
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4886
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandSearchInputDTO, localVarRequestOptions, configuration);
|
|
4887
|
+
return {
|
|
4888
|
+
url: toPathString(localVarUrlObj),
|
|
4889
|
+
options: localVarRequestOptions,
|
|
4890
|
+
};
|
|
4891
|
+
},
|
|
4892
|
+
/**
|
|
4893
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
|
|
4894
|
+
* @summary Trigger
|
|
4895
|
+
* @param {string} id
|
|
4896
|
+
* @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
|
|
4897
|
+
* @param {*} [options] Override http request option.
|
|
4898
|
+
* @throws {RequiredError}
|
|
4899
|
+
*/
|
|
4900
|
+
commandControllerTrigger: async (id, commandTriggerDTO, options = {}) => {
|
|
4901
|
+
// verify required parameter 'id' is not null or undefined
|
|
4902
|
+
assertParamExists('commandControllerTrigger', 'id', id);
|
|
4903
|
+
const localVarPath = `/command/{id}/trigger`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4904
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4905
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4906
|
+
let baseOptions;
|
|
4907
|
+
if (configuration) {
|
|
4908
|
+
baseOptions = configuration.baseOptions;
|
|
4909
|
+
}
|
|
4910
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4911
|
+
const localVarHeaderParameter = {};
|
|
4912
|
+
const localVarQueryParameter = {};
|
|
4495
4913
|
// authentication domainAuth required
|
|
4496
4914
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4497
4915
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -16369,42 +16787,276 @@ export class ShopOrderApi extends BaseAPI {
|
|
|
16369
16787
|
.then((request) => request(this.axios, this.basePath));
|
|
16370
16788
|
}
|
|
16371
16789
|
/**
|
|
16372
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
16373
|
-
* @summary Create
|
|
16374
|
-
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
16790
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
16791
|
+
* @summary Create
|
|
16792
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
16793
|
+
* @param {*} [options] Override http request option.
|
|
16794
|
+
* @throws {RequiredError}
|
|
16795
|
+
* @memberof ShopOrderApi
|
|
16796
|
+
*/
|
|
16797
|
+
shopOrderControllerCreate(shopOrderCreateDTO, options) {
|
|
16798
|
+
return ShopOrderApiFp(this.configuration)
|
|
16799
|
+
.shopOrderControllerCreate(shopOrderCreateDTO, options)
|
|
16800
|
+
.then((request) => request(this.axios, this.basePath));
|
|
16801
|
+
}
|
|
16802
|
+
/**
|
|
16803
|
+
* Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
|
|
16804
|
+
* @summary Get order by ID
|
|
16805
|
+
* @param {string} id
|
|
16806
|
+
* @param {*} [options] Override http request option.
|
|
16807
|
+
* @throws {RequiredError}
|
|
16808
|
+
* @memberof ShopOrderApi
|
|
16809
|
+
*/
|
|
16810
|
+
shopOrderControllerGetOne(id, options) {
|
|
16811
|
+
return ShopOrderApiFp(this.configuration)
|
|
16812
|
+
.shopOrderControllerGetOne(id, options)
|
|
16813
|
+
.then((request) => request(this.axios, this.basePath));
|
|
16814
|
+
}
|
|
16815
|
+
/**
|
|
16816
|
+
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
16817
|
+
* @summary Search orders
|
|
16818
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
16819
|
+
* @param {*} [options] Override http request option.
|
|
16820
|
+
* @throws {RequiredError}
|
|
16821
|
+
* @memberof ShopOrderApi
|
|
16822
|
+
*/
|
|
16823
|
+
shopOrderControllerSearch(shopOrderSearchInputDTO, options) {
|
|
16824
|
+
return ShopOrderApiFp(this.configuration)
|
|
16825
|
+
.shopOrderControllerSearch(shopOrderSearchInputDTO, options)
|
|
16826
|
+
.then((request) => request(this.axios, this.basePath));
|
|
16827
|
+
}
|
|
16828
|
+
}
|
|
16829
|
+
/**
|
|
16830
|
+
* StorefrontConfigApi - axios parameter creator
|
|
16831
|
+
* @export
|
|
16832
|
+
*/
|
|
16833
|
+
export const StorefrontConfigApiAxiosParamCreator = function (configuration) {
|
|
16834
|
+
return {
|
|
16835
|
+
/**
|
|
16836
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
16837
|
+
* @summary Get effective config
|
|
16838
|
+
* @param {string} gameServerId
|
|
16839
|
+
* @param {*} [options] Override http request option.
|
|
16840
|
+
* @throws {RequiredError}
|
|
16841
|
+
*/
|
|
16842
|
+
storefrontConfigControllerGetEffectiveConfig: async (gameServerId, options = {}) => {
|
|
16843
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
16844
|
+
assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
|
|
16845
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
16846
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16847
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16848
|
+
let baseOptions;
|
|
16849
|
+
if (configuration) {
|
|
16850
|
+
baseOptions = configuration.baseOptions;
|
|
16851
|
+
}
|
|
16852
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
16853
|
+
const localVarHeaderParameter = {};
|
|
16854
|
+
const localVarQueryParameter = {};
|
|
16855
|
+
// authentication domainAuth required
|
|
16856
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16857
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16858
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
16859
|
+
return {
|
|
16860
|
+
url: toPathString(localVarUrlObj),
|
|
16861
|
+
options: localVarRequestOptions,
|
|
16862
|
+
};
|
|
16863
|
+
},
|
|
16864
|
+
/**
|
|
16865
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
16866
|
+
* @summary List templates
|
|
16867
|
+
* @param {*} [options] Override http request option.
|
|
16868
|
+
* @throws {RequiredError}
|
|
16869
|
+
*/
|
|
16870
|
+
storefrontConfigControllerListTemplates: async (options = {}) => {
|
|
16871
|
+
const localVarPath = `/storefront/templates`;
|
|
16872
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16873
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16874
|
+
let baseOptions;
|
|
16875
|
+
if (configuration) {
|
|
16876
|
+
baseOptions = configuration.baseOptions;
|
|
16877
|
+
}
|
|
16878
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
16879
|
+
const localVarHeaderParameter = {};
|
|
16880
|
+
const localVarQueryParameter = {};
|
|
16881
|
+
// authentication domainAuth required
|
|
16882
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16883
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16884
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
16885
|
+
return {
|
|
16886
|
+
url: toPathString(localVarUrlObj),
|
|
16887
|
+
options: localVarRequestOptions,
|
|
16888
|
+
};
|
|
16889
|
+
},
|
|
16890
|
+
/**
|
|
16891
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
16892
|
+
* @summary Set config
|
|
16893
|
+
* @param {string} gameServerId
|
|
16894
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
16895
|
+
* @param {*} [options] Override http request option.
|
|
16896
|
+
* @throws {RequiredError}
|
|
16897
|
+
*/
|
|
16898
|
+
storefrontConfigControllerSetConfig: async (gameServerId, storefrontConfigUpsertBody, options = {}) => {
|
|
16899
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
16900
|
+
assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
|
|
16901
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
16902
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16903
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16904
|
+
let baseOptions;
|
|
16905
|
+
if (configuration) {
|
|
16906
|
+
baseOptions = configuration.baseOptions;
|
|
16907
|
+
}
|
|
16908
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
16909
|
+
const localVarHeaderParameter = {};
|
|
16910
|
+
const localVarQueryParameter = {};
|
|
16911
|
+
// authentication domainAuth required
|
|
16912
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16913
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16914
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16915
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
16916
|
+
localVarRequestOptions.data = serializeDataIfNeeded(storefrontConfigUpsertBody, localVarRequestOptions, configuration);
|
|
16917
|
+
return {
|
|
16918
|
+
url: toPathString(localVarUrlObj),
|
|
16919
|
+
options: localVarRequestOptions,
|
|
16920
|
+
};
|
|
16921
|
+
},
|
|
16922
|
+
};
|
|
16923
|
+
};
|
|
16924
|
+
/**
|
|
16925
|
+
* StorefrontConfigApi - functional programming interface
|
|
16926
|
+
* @export
|
|
16927
|
+
*/
|
|
16928
|
+
export const StorefrontConfigApiFp = function (configuration) {
|
|
16929
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
16930
|
+
return {
|
|
16931
|
+
/**
|
|
16932
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
16933
|
+
* @summary Get effective config
|
|
16934
|
+
* @param {string} gameServerId
|
|
16935
|
+
* @param {*} [options] Override http request option.
|
|
16936
|
+
* @throws {RequiredError}
|
|
16937
|
+
*/
|
|
16938
|
+
async storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
16939
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(gameServerId, options);
|
|
16940
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16941
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[localVarOperationServerIndex]?.url;
|
|
16942
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16943
|
+
},
|
|
16944
|
+
/**
|
|
16945
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
16946
|
+
* @summary List templates
|
|
16947
|
+
* @param {*} [options] Override http request option.
|
|
16948
|
+
* @throws {RequiredError}
|
|
16949
|
+
*/
|
|
16950
|
+
async storefrontConfigControllerListTemplates(options) {
|
|
16951
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
16952
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16953
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[localVarOperationServerIndex]?.url;
|
|
16954
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16955
|
+
},
|
|
16956
|
+
/**
|
|
16957
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
16958
|
+
* @summary Set config
|
|
16959
|
+
* @param {string} gameServerId
|
|
16960
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
16961
|
+
* @param {*} [options] Override http request option.
|
|
16962
|
+
* @throws {RequiredError}
|
|
16963
|
+
*/
|
|
16964
|
+
async storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
16965
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options);
|
|
16966
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16967
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
16968
|
+
?.url;
|
|
16969
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16970
|
+
},
|
|
16971
|
+
};
|
|
16972
|
+
};
|
|
16973
|
+
/**
|
|
16974
|
+
* StorefrontConfigApi - factory interface
|
|
16975
|
+
* @export
|
|
16976
|
+
*/
|
|
16977
|
+
export const StorefrontConfigApiFactory = function (configuration, basePath, axios) {
|
|
16978
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
16979
|
+
return {
|
|
16980
|
+
/**
|
|
16981
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
16982
|
+
* @summary Get effective config
|
|
16983
|
+
* @param {string} gameServerId
|
|
16984
|
+
* @param {*} [options] Override http request option.
|
|
16985
|
+
* @throws {RequiredError}
|
|
16986
|
+
*/
|
|
16987
|
+
storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
16988
|
+
return localVarFp
|
|
16989
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
16990
|
+
.then((request) => request(axios, basePath));
|
|
16991
|
+
},
|
|
16992
|
+
/**
|
|
16993
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
16994
|
+
* @summary List templates
|
|
16995
|
+
* @param {*} [options] Override http request option.
|
|
16996
|
+
* @throws {RequiredError}
|
|
16997
|
+
*/
|
|
16998
|
+
storefrontConfigControllerListTemplates(options) {
|
|
16999
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
17000
|
+
},
|
|
17001
|
+
/**
|
|
17002
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
17003
|
+
* @summary Set config
|
|
17004
|
+
* @param {string} gameServerId
|
|
17005
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17006
|
+
* @param {*} [options] Override http request option.
|
|
17007
|
+
* @throws {RequiredError}
|
|
17008
|
+
*/
|
|
17009
|
+
storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17010
|
+
return localVarFp
|
|
17011
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17012
|
+
.then((request) => request(axios, basePath));
|
|
17013
|
+
},
|
|
17014
|
+
};
|
|
17015
|
+
};
|
|
17016
|
+
/**
|
|
17017
|
+
* StorefrontConfigApi - object-oriented interface
|
|
17018
|
+
* @export
|
|
17019
|
+
* @class StorefrontConfigApi
|
|
17020
|
+
* @extends {BaseAPI}
|
|
17021
|
+
*/
|
|
17022
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
17023
|
+
/**
|
|
17024
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17025
|
+
* @summary Get effective config
|
|
17026
|
+
* @param {string} gameServerId
|
|
16375
17027
|
* @param {*} [options] Override http request option.
|
|
16376
17028
|
* @throws {RequiredError}
|
|
16377
|
-
* @memberof
|
|
17029
|
+
* @memberof StorefrontConfigApi
|
|
16378
17030
|
*/
|
|
16379
|
-
|
|
16380
|
-
return
|
|
16381
|
-
.
|
|
17031
|
+
storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17032
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17033
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
16382
17034
|
.then((request) => request(this.axios, this.basePath));
|
|
16383
17035
|
}
|
|
16384
17036
|
/**
|
|
16385
|
-
*
|
|
16386
|
-
* @summary
|
|
16387
|
-
* @param {string} id
|
|
17037
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17038
|
+
* @summary List templates
|
|
16388
17039
|
* @param {*} [options] Override http request option.
|
|
16389
17040
|
* @throws {RequiredError}
|
|
16390
|
-
* @memberof
|
|
17041
|
+
* @memberof StorefrontConfigApi
|
|
16391
17042
|
*/
|
|
16392
|
-
|
|
16393
|
-
return
|
|
16394
|
-
.
|
|
17043
|
+
storefrontConfigControllerListTemplates(options) {
|
|
17044
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17045
|
+
.storefrontConfigControllerListTemplates(options)
|
|
16395
17046
|
.then((request) => request(this.axios, this.basePath));
|
|
16396
17047
|
}
|
|
16397
17048
|
/**
|
|
16398
|
-
*
|
|
16399
|
-
* @summary
|
|
16400
|
-
* @param {
|
|
17049
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
17050
|
+
* @summary Set config
|
|
17051
|
+
* @param {string} gameServerId
|
|
17052
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
16401
17053
|
* @param {*} [options] Override http request option.
|
|
16402
17054
|
* @throws {RequiredError}
|
|
16403
|
-
* @memberof
|
|
17055
|
+
* @memberof StorefrontConfigApi
|
|
16404
17056
|
*/
|
|
16405
|
-
|
|
16406
|
-
return
|
|
16407
|
-
.
|
|
17057
|
+
storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17058
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17059
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
16408
17060
|
.then((request) => request(this.axios, this.basePath));
|
|
16409
17061
|
}
|
|
16410
17062
|
}
|
|
@@ -18108,4 +18760,358 @@ export class VariableApi extends BaseAPI {
|
|
|
18108
18760
|
.then((request) => request(this.axios, this.basePath));
|
|
18109
18761
|
}
|
|
18110
18762
|
}
|
|
18763
|
+
/**
|
|
18764
|
+
* InviteLinkApi - axios parameter creator
|
|
18765
|
+
* @export
|
|
18766
|
+
*/
|
|
18767
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration) {
|
|
18768
|
+
return {
|
|
18769
|
+
/**
|
|
18770
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
18771
|
+
* @summary Create invite link
|
|
18772
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
18773
|
+
* @param {*} [options] Override http request option.
|
|
18774
|
+
* @throws {RequiredError}
|
|
18775
|
+
*/
|
|
18776
|
+
inviteLinkControllerCreate: async (inviteLinkCreateInputDTO, options = {}) => {
|
|
18777
|
+
const localVarPath = `/invite-link`;
|
|
18778
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18779
|
+
let baseOptions;
|
|
18780
|
+
if (configuration) {
|
|
18781
|
+
baseOptions = configuration.baseOptions;
|
|
18782
|
+
}
|
|
18783
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
18784
|
+
const localVarHeaderParameter = {};
|
|
18785
|
+
const localVarQueryParameter = {};
|
|
18786
|
+
// authentication domainAuth required
|
|
18787
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18788
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18789
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18790
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18791
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
|
|
18792
|
+
return {
|
|
18793
|
+
url: toPathString(localVarUrlObj),
|
|
18794
|
+
options: localVarRequestOptions,
|
|
18795
|
+
};
|
|
18796
|
+
},
|
|
18797
|
+
/**
|
|
18798
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
18799
|
+
* @summary Preview
|
|
18800
|
+
* @param {string} token
|
|
18801
|
+
* @param {*} [options] Override http request option.
|
|
18802
|
+
* @throws {RequiredError}
|
|
18803
|
+
*/
|
|
18804
|
+
inviteLinkControllerPreview: async (token, options = {}) => {
|
|
18805
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
18806
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
18807
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18808
|
+
let baseOptions;
|
|
18809
|
+
if (configuration) {
|
|
18810
|
+
baseOptions = configuration.baseOptions;
|
|
18811
|
+
}
|
|
18812
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18813
|
+
const localVarHeaderParameter = {};
|
|
18814
|
+
const localVarQueryParameter = {};
|
|
18815
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18816
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18817
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18818
|
+
return {
|
|
18819
|
+
url: toPathString(localVarUrlObj),
|
|
18820
|
+
options: localVarRequestOptions,
|
|
18821
|
+
};
|
|
18822
|
+
},
|
|
18823
|
+
/**
|
|
18824
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
18825
|
+
* @summary Redeem
|
|
18826
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
18827
|
+
* @param {*} [options] Override http request option.
|
|
18828
|
+
* @throws {RequiredError}
|
|
18829
|
+
*/
|
|
18830
|
+
inviteLinkControllerRedeem: async (redeemInputDTO, options = {}) => {
|
|
18831
|
+
const localVarPath = `/invite-link/redeem`;
|
|
18832
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18833
|
+
let baseOptions;
|
|
18834
|
+
if (configuration) {
|
|
18835
|
+
baseOptions = configuration.baseOptions;
|
|
18836
|
+
}
|
|
18837
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
18838
|
+
const localVarHeaderParameter = {};
|
|
18839
|
+
const localVarQueryParameter = {};
|
|
18840
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18841
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18842
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18843
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18844
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
18845
|
+
return {
|
|
18846
|
+
url: toPathString(localVarUrlObj),
|
|
18847
|
+
options: localVarRequestOptions,
|
|
18848
|
+
};
|
|
18849
|
+
},
|
|
18850
|
+
/**
|
|
18851
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
18852
|
+
* @summary Revoke
|
|
18853
|
+
* @param {string} id
|
|
18854
|
+
* @param {*} [options] Override http request option.
|
|
18855
|
+
* @throws {RequiredError}
|
|
18856
|
+
*/
|
|
18857
|
+
inviteLinkControllerRevoke: async (id, options = {}) => {
|
|
18858
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
18859
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
18860
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18861
|
+
let baseOptions;
|
|
18862
|
+
if (configuration) {
|
|
18863
|
+
baseOptions = configuration.baseOptions;
|
|
18864
|
+
}
|
|
18865
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
18866
|
+
const localVarHeaderParameter = {};
|
|
18867
|
+
const localVarQueryParameter = {};
|
|
18868
|
+
// authentication domainAuth required
|
|
18869
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18870
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18871
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18872
|
+
return {
|
|
18873
|
+
url: toPathString(localVarUrlObj),
|
|
18874
|
+
options: localVarRequestOptions,
|
|
18875
|
+
};
|
|
18876
|
+
},
|
|
18877
|
+
/**
|
|
18878
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
18879
|
+
* @summary Search
|
|
18880
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
18881
|
+
* @param {*} [options] Override http request option.
|
|
18882
|
+
* @throws {RequiredError}
|
|
18883
|
+
*/
|
|
18884
|
+
inviteLinkControllerSearch: async (inviteLinkSearchInputDTO, options = {}) => {
|
|
18885
|
+
const localVarPath = `/invite-link/search`;
|
|
18886
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18887
|
+
let baseOptions;
|
|
18888
|
+
if (configuration) {
|
|
18889
|
+
baseOptions = configuration.baseOptions;
|
|
18890
|
+
}
|
|
18891
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
18892
|
+
const localVarHeaderParameter = {};
|
|
18893
|
+
const localVarQueryParameter = {};
|
|
18894
|
+
// authentication domainAuth required
|
|
18895
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18896
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18897
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18898
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18899
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkSearchInputDTO, localVarRequestOptions, configuration);
|
|
18900
|
+
return {
|
|
18901
|
+
url: toPathString(localVarUrlObj),
|
|
18902
|
+
options: localVarRequestOptions,
|
|
18903
|
+
};
|
|
18904
|
+
},
|
|
18905
|
+
};
|
|
18906
|
+
};
|
|
18907
|
+
/**
|
|
18908
|
+
* InviteLinkApi - functional programming interface
|
|
18909
|
+
* @export
|
|
18910
|
+
*/
|
|
18911
|
+
export const InviteLinkApiFp = function (configuration) {
|
|
18912
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
18913
|
+
return {
|
|
18914
|
+
/**
|
|
18915
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
18916
|
+
* @summary Create invite link
|
|
18917
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
18918
|
+
* @param {*} [options] Override http request option.
|
|
18919
|
+
* @throws {RequiredError}
|
|
18920
|
+
*/
|
|
18921
|
+
async inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
18922
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options);
|
|
18923
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18924
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
18925
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18926
|
+
},
|
|
18927
|
+
/**
|
|
18928
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
18929
|
+
* @summary Preview
|
|
18930
|
+
* @param {string} token
|
|
18931
|
+
* @param {*} [options] Override http request option.
|
|
18932
|
+
* @throws {RequiredError}
|
|
18933
|
+
*/
|
|
18934
|
+
async inviteLinkControllerPreview(token, options) {
|
|
18935
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
18936
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18937
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
18938
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18939
|
+
},
|
|
18940
|
+
/**
|
|
18941
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
18942
|
+
* @summary Redeem
|
|
18943
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
18944
|
+
* @param {*} [options] Override http request option.
|
|
18945
|
+
* @throws {RequiredError}
|
|
18946
|
+
*/
|
|
18947
|
+
async inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
18948
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
18949
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18950
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
18951
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18952
|
+
},
|
|
18953
|
+
/**
|
|
18954
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
18955
|
+
* @summary Revoke
|
|
18956
|
+
* @param {string} id
|
|
18957
|
+
* @param {*} [options] Override http request option.
|
|
18958
|
+
* @throws {RequiredError}
|
|
18959
|
+
*/
|
|
18960
|
+
async inviteLinkControllerRevoke(id, options) {
|
|
18961
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
18962
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18963
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
18964
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18965
|
+
},
|
|
18966
|
+
/**
|
|
18967
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
18968
|
+
* @summary Search
|
|
18969
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
18970
|
+
* @param {*} [options] Override http request option.
|
|
18971
|
+
* @throws {RequiredError}
|
|
18972
|
+
*/
|
|
18973
|
+
async inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
18974
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options);
|
|
18975
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18976
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
18977
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18978
|
+
},
|
|
18979
|
+
};
|
|
18980
|
+
};
|
|
18981
|
+
/**
|
|
18982
|
+
* InviteLinkApi - factory interface
|
|
18983
|
+
* @export
|
|
18984
|
+
*/
|
|
18985
|
+
export const InviteLinkApiFactory = function (configuration, basePath, axios) {
|
|
18986
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
18987
|
+
return {
|
|
18988
|
+
/**
|
|
18989
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
18990
|
+
* @summary Create invite link
|
|
18991
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
18992
|
+
* @param {*} [options] Override http request option.
|
|
18993
|
+
* @throws {RequiredError}
|
|
18994
|
+
*/
|
|
18995
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
18996
|
+
return localVarFp
|
|
18997
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
18998
|
+
.then((request) => request(axios, basePath));
|
|
18999
|
+
},
|
|
19000
|
+
/**
|
|
19001
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
19002
|
+
* @summary Preview
|
|
19003
|
+
* @param {string} token
|
|
19004
|
+
* @param {*} [options] Override http request option.
|
|
19005
|
+
* @throws {RequiredError}
|
|
19006
|
+
*/
|
|
19007
|
+
inviteLinkControllerPreview(token, options) {
|
|
19008
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
19009
|
+
},
|
|
19010
|
+
/**
|
|
19011
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
19012
|
+
* @summary Redeem
|
|
19013
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
19014
|
+
* @param {*} [options] Override http request option.
|
|
19015
|
+
* @throws {RequiredError}
|
|
19016
|
+
*/
|
|
19017
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
19018
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
19019
|
+
},
|
|
19020
|
+
/**
|
|
19021
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
19022
|
+
* @summary Revoke
|
|
19023
|
+
* @param {string} id
|
|
19024
|
+
* @param {*} [options] Override http request option.
|
|
19025
|
+
* @throws {RequiredError}
|
|
19026
|
+
*/
|
|
19027
|
+
inviteLinkControllerRevoke(id, options) {
|
|
19028
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
19029
|
+
},
|
|
19030
|
+
/**
|
|
19031
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
19032
|
+
* @summary Search
|
|
19033
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
19034
|
+
* @param {*} [options] Override http request option.
|
|
19035
|
+
* @throws {RequiredError}
|
|
19036
|
+
*/
|
|
19037
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
19038
|
+
return localVarFp
|
|
19039
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
19040
|
+
.then((request) => request(axios, basePath));
|
|
19041
|
+
},
|
|
19042
|
+
};
|
|
19043
|
+
};
|
|
19044
|
+
/**
|
|
19045
|
+
* InviteLinkApi - object-oriented interface
|
|
19046
|
+
* @export
|
|
19047
|
+
* @class InviteLinkApi
|
|
19048
|
+
* @extends {BaseAPI}
|
|
19049
|
+
*/
|
|
19050
|
+
export class InviteLinkApi extends BaseAPI {
|
|
19051
|
+
/**
|
|
19052
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
19053
|
+
* @summary Create invite link
|
|
19054
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
19055
|
+
* @param {*} [options] Override http request option.
|
|
19056
|
+
* @throws {RequiredError}
|
|
19057
|
+
* @memberof InviteLinkApi
|
|
19058
|
+
*/
|
|
19059
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
19060
|
+
return InviteLinkApiFp(this.configuration)
|
|
19061
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
19062
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19063
|
+
}
|
|
19064
|
+
/**
|
|
19065
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
19066
|
+
* @summary Preview
|
|
19067
|
+
* @param {string} token
|
|
19068
|
+
* @param {*} [options] Override http request option.
|
|
19069
|
+
* @throws {RequiredError}
|
|
19070
|
+
* @memberof InviteLinkApi
|
|
19071
|
+
*/
|
|
19072
|
+
inviteLinkControllerPreview(token, options) {
|
|
19073
|
+
return InviteLinkApiFp(this.configuration)
|
|
19074
|
+
.inviteLinkControllerPreview(token, options)
|
|
19075
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19076
|
+
}
|
|
19077
|
+
/**
|
|
19078
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
19079
|
+
* @summary Redeem
|
|
19080
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
19081
|
+
* @param {*} [options] Override http request option.
|
|
19082
|
+
* @throws {RequiredError}
|
|
19083
|
+
* @memberof InviteLinkApi
|
|
19084
|
+
*/
|
|
19085
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
19086
|
+
return InviteLinkApiFp(this.configuration)
|
|
19087
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
19088
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19089
|
+
}
|
|
19090
|
+
/**
|
|
19091
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
19092
|
+
* @summary Revoke
|
|
19093
|
+
* @param {string} id
|
|
19094
|
+
* @param {*} [options] Override http request option.
|
|
19095
|
+
* @throws {RequiredError}
|
|
19096
|
+
* @memberof InviteLinkApi
|
|
19097
|
+
*/
|
|
19098
|
+
inviteLinkControllerRevoke(id, options) {
|
|
19099
|
+
return InviteLinkApiFp(this.configuration)
|
|
19100
|
+
.inviteLinkControllerRevoke(id, options)
|
|
19101
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19102
|
+
}
|
|
19103
|
+
/**
|
|
19104
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
19105
|
+
* @summary Search
|
|
19106
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
19107
|
+
* @param {*} [options] Override http request option.
|
|
19108
|
+
* @throws {RequiredError}
|
|
19109
|
+
* @memberof InviteLinkApi
|
|
19110
|
+
*/
|
|
19111
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
19112
|
+
return InviteLinkApiFp(this.configuration)
|
|
19113
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
19114
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19115
|
+
}
|
|
19116
|
+
}
|
|
18111
19117
|
//# sourceMappingURL=api.js.map
|