@takaro/apiclient 0.0.0-dev.fad1395 → 0.0.0-dev.fd2dfe7
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 +6879 -3949
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1980 -213
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/baseClient.d.ts +14 -0
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +19 -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/package.json +2 -2
- package/src/generated/api.ts +4537 -209
- package/src/lib/__tests__/baseClient.unit.test.ts +17 -0
- package/src/lib/baseClient.ts +23 -1
- package/src/lib/client.ts +11 -0
package/dist/generated/api.js
CHANGED
|
@@ -154,6 +154,52 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
154
154
|
PlayerDeath: 'player-death',
|
|
155
155
|
EntityKilled: 'entity-killed',
|
|
156
156
|
};
|
|
157
|
+
export const EventExploreFiltersDTOEventNameEnum = {
|
|
158
|
+
RoleAssigned: 'role-assigned',
|
|
159
|
+
RoleRemoved: 'role-removed',
|
|
160
|
+
RoleCreated: 'role-created',
|
|
161
|
+
RoleUpdated: 'role-updated',
|
|
162
|
+
RoleDeleted: 'role-deleted',
|
|
163
|
+
CommandExecuted: 'command-executed',
|
|
164
|
+
CommandExecutionDenied: 'command-execution-denied',
|
|
165
|
+
HookExecuted: 'hook-executed',
|
|
166
|
+
CronjobExecuted: 'cronjob-executed',
|
|
167
|
+
CurrencyAdded: 'currency-added',
|
|
168
|
+
CurrencyDeducted: 'currency-deducted',
|
|
169
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
170
|
+
SettingsSet: 'settings-set',
|
|
171
|
+
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
172
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
173
|
+
ServerStatusChanged: 'server-status-changed',
|
|
174
|
+
ModuleCreated: 'module-created',
|
|
175
|
+
ModuleUpdated: 'module-updated',
|
|
176
|
+
ModuleDeleted: 'module-deleted',
|
|
177
|
+
ModuleInstalled: 'module-installed',
|
|
178
|
+
ModuleUninstalled: 'module-uninstalled',
|
|
179
|
+
PlayerCreated: 'player-created',
|
|
180
|
+
ShopListingCreated: 'shop-listing-created',
|
|
181
|
+
ShopListingUpdated: 'shop-listing-updated',
|
|
182
|
+
ShopListingDeleted: 'shop-listing-deleted',
|
|
183
|
+
ShopOrderCreated: 'shop-order-created',
|
|
184
|
+
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
185
|
+
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
186
|
+
PlayerLinked: 'player-linked',
|
|
187
|
+
GameserverCreated: 'gameserver-created',
|
|
188
|
+
GameserverUpdated: 'gameserver-updated',
|
|
189
|
+
GameserverDeleted: 'gameserver-deleted',
|
|
190
|
+
PlayerBanned: 'player-banned',
|
|
191
|
+
PlayerUnbanned: 'player-unbanned',
|
|
192
|
+
PlayerDeleted: 'player-deleted',
|
|
193
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
194
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
195
|
+
EventRateLimited: 'event-rate-limited',
|
|
196
|
+
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
197
|
+
PlayerConnected: 'player-connected',
|
|
198
|
+
PlayerDisconnected: 'player-disconnected',
|
|
199
|
+
ChatMessage: 'chat-message',
|
|
200
|
+
PlayerDeath: 'player-death',
|
|
201
|
+
EntityKilled: 'entity-killed',
|
|
202
|
+
};
|
|
157
203
|
export const EventOutputDTOEventNameEnum = {
|
|
158
204
|
RoleAssigned: 'role-assigned',
|
|
159
205
|
RoleRemoved: 'role-removed',
|
|
@@ -256,6 +302,10 @@ export const EventSearchInputDTOSortDirectionEnum = {
|
|
|
256
302
|
Asc: 'asc',
|
|
257
303
|
Desc: 'desc',
|
|
258
304
|
};
|
|
305
|
+
export const EventVolumeInputDTOGroupByEnum = {
|
|
306
|
+
EventName: 'eventName',
|
|
307
|
+
GameServerId: 'gameServerId',
|
|
308
|
+
};
|
|
259
309
|
export const FunctionSearchInputDTOExtendEnum = {
|
|
260
310
|
Version: 'version',
|
|
261
311
|
CronJob: 'cronJob',
|
|
@@ -646,6 +696,28 @@ export const ITakaroQuerySortDirectionEnum = {
|
|
|
646
696
|
Asc: 'asc',
|
|
647
697
|
Desc: 'desc',
|
|
648
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
|
+
};
|
|
649
721
|
export const ItemSearchInputDTOExtendEnum = {
|
|
650
722
|
Gameserver: 'gameserver',
|
|
651
723
|
};
|
|
@@ -663,6 +735,23 @@ export const JobStatusOutputDTOStatusEnum = {
|
|
|
663
735
|
Waiting: 'waiting',
|
|
664
736
|
WaitingChildren: 'waiting-children',
|
|
665
737
|
};
|
|
738
|
+
export const MetaFilterGroupOrLeafDTOLogicalOperatorEnum = {
|
|
739
|
+
And: 'AND',
|
|
740
|
+
Or: 'OR',
|
|
741
|
+
};
|
|
742
|
+
export const MetaFilterGroupOrLeafDTOOperatorEnum = {
|
|
743
|
+
Equal: '=',
|
|
744
|
+
NotEqual: '!=',
|
|
745
|
+
GreaterThan: '>',
|
|
746
|
+
LessThan: '<',
|
|
747
|
+
ArrayContains: 'array_contains',
|
|
748
|
+
};
|
|
749
|
+
export const ModuleInstallationKpisQueryDTOPeriodEnum = {
|
|
750
|
+
_24h: '24h',
|
|
751
|
+
_7d: '7d',
|
|
752
|
+
_30d: '30d',
|
|
753
|
+
_90d: '90d',
|
|
754
|
+
};
|
|
666
755
|
export const ModuleInstallationSearchInputDTOSortDirectionEnum = {
|
|
667
756
|
Asc: 'asc',
|
|
668
757
|
Desc: 'desc',
|
|
@@ -1346,7 +1435,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1346
1435
|
};
|
|
1347
1436
|
},
|
|
1348
1437
|
/**
|
|
1349
|
-
* Normalized 0-1 scores across
|
|
1438
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
1350
1439
|
* @summary Get module health scores
|
|
1351
1440
|
* @param {string} [startDate]
|
|
1352
1441
|
* @param {string} [endDate]
|
|
@@ -1387,6 +1476,56 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1387
1476
|
options: localVarRequestOptions,
|
|
1388
1477
|
};
|
|
1389
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
|
+
},
|
|
1390
1529
|
/**
|
|
1391
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`
|
|
1392
1531
|
* @summary Get module item failure aggregate
|
|
@@ -2187,7 +2326,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2187
2326
|
},
|
|
2188
2327
|
/**
|
|
2189
2328
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2190
|
-
* @summary Get top modules by
|
|
2329
|
+
* @summary Get top modules by execution volume
|
|
2191
2330
|
* @param {string} [startDate]
|
|
2192
2331
|
* @param {string} [endDate]
|
|
2193
2332
|
* @param {string} [gameServerId]
|
|
@@ -2472,7 +2611,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2472
2611
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2473
2612
|
},
|
|
2474
2613
|
/**
|
|
2475
|
-
* Normalized 0-1 scores across
|
|
2614
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
2476
2615
|
* @summary Get module health scores
|
|
2477
2616
|
* @param {string} [startDate]
|
|
2478
2617
|
* @param {string} [endDate]
|
|
@@ -2487,6 +2626,24 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2487
2626
|
const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleHealth']?.[localVarOperationServerIndex]?.url;
|
|
2488
2627
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2489
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
|
+
},
|
|
2490
2647
|
/**
|
|
2491
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`
|
|
2492
2649
|
* @summary Get module item failure aggregate
|
|
@@ -2799,7 +2956,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2799
2956
|
},
|
|
2800
2957
|
/**
|
|
2801
2958
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2802
|
-
* @summary Get top modules by
|
|
2959
|
+
* @summary Get top modules by execution volume
|
|
2803
2960
|
* @param {string} [startDate]
|
|
2804
2961
|
* @param {string} [endDate]
|
|
2805
2962
|
* @param {string} [gameServerId]
|
|
@@ -3015,7 +3172,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3015
3172
|
.then((request) => request(axios, basePath));
|
|
3016
3173
|
},
|
|
3017
3174
|
/**
|
|
3018
|
-
* Normalized 0-1 scores across
|
|
3175
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
3019
3176
|
* @summary Get module health scores
|
|
3020
3177
|
* @param {string} [startDate]
|
|
3021
3178
|
* @param {string} [endDate]
|
|
@@ -3029,6 +3186,22 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3029
3186
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
3030
3187
|
.then((request) => request(axios, basePath));
|
|
3031
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
|
+
},
|
|
3032
3205
|
/**
|
|
3033
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`
|
|
3034
3207
|
* @summary Get module item failure aggregate
|
|
@@ -3316,7 +3489,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3316
3489
|
},
|
|
3317
3490
|
/**
|
|
3318
3491
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
3319
|
-
* @summary Get top modules by
|
|
3492
|
+
* @summary Get top modules by execution volume
|
|
3320
3493
|
* @param {string} [startDate]
|
|
3321
3494
|
* @param {string} [endDate]
|
|
3322
3495
|
* @param {string} [gameServerId]
|
|
@@ -3543,7 +3716,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3543
3716
|
.then((request) => request(this.axios, this.basePath));
|
|
3544
3717
|
}
|
|
3545
3718
|
/**
|
|
3546
|
-
* Normalized 0-1 scores across
|
|
3719
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
3547
3720
|
* @summary Get module health scores
|
|
3548
3721
|
* @param {string} [startDate]
|
|
3549
3722
|
* @param {string} [endDate]
|
|
@@ -3558,6 +3731,23 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3558
3731
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
3559
3732
|
.then((request) => request(this.axios, this.basePath));
|
|
3560
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
|
+
}
|
|
3561
3751
|
/**
|
|
3562
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`
|
|
3563
3753
|
* @summary Get module item failure aggregate
|
|
@@ -3864,7 +4054,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3864
4054
|
}
|
|
3865
4055
|
/**
|
|
3866
4056
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
3867
|
-
* @summary Get top modules by
|
|
4057
|
+
* @summary Get top modules by execution volume
|
|
3868
4058
|
* @param {string} [startDate]
|
|
3869
4059
|
* @param {string} [endDate]
|
|
3870
4060
|
* @param {string} [gameServerId]
|
|
@@ -4003,6 +4193,15 @@ export const AnalyticsControllerGetModuleHealthPeriodEnum = {
|
|
|
4003
4193
|
_30d: '30d',
|
|
4004
4194
|
_90d: '90d',
|
|
4005
4195
|
};
|
|
4196
|
+
/**
|
|
4197
|
+
* @export
|
|
4198
|
+
*/
|
|
4199
|
+
export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
|
|
4200
|
+
_24h: '24h',
|
|
4201
|
+
_7d: '7d',
|
|
4202
|
+
_30d: '30d',
|
|
4203
|
+
_90d: '90d',
|
|
4204
|
+
};
|
|
4006
4205
|
/**
|
|
4007
4206
|
* @export
|
|
4008
4207
|
*/
|
|
@@ -4193,118 +4392,99 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
|
|
|
4193
4392
|
_90d: '90d',
|
|
4194
4393
|
};
|
|
4195
4394
|
/**
|
|
4196
|
-
*
|
|
4395
|
+
* AuthApi - axios parameter creator
|
|
4197
4396
|
* @export
|
|
4198
4397
|
*/
|
|
4199
|
-
export const
|
|
4398
|
+
export const AuthApiAxiosParamCreator = function (configuration) {
|
|
4200
4399
|
return {
|
|
4201
4400
|
/**
|
|
4202
|
-
*
|
|
4203
|
-
* @summary
|
|
4204
|
-
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
4401
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4402
|
+
* @summary Account
|
|
4205
4403
|
* @param {*} [options] Override http request option.
|
|
4206
4404
|
* @throws {RequiredError}
|
|
4207
4405
|
*/
|
|
4208
|
-
|
|
4209
|
-
const localVarPath = `/
|
|
4406
|
+
authControllerAccount: async (options = {}) => {
|
|
4407
|
+
const localVarPath = `/auth/account`;
|
|
4210
4408
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4211
4409
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4212
4410
|
let baseOptions;
|
|
4213
4411
|
if (configuration) {
|
|
4214
4412
|
baseOptions = configuration.baseOptions;
|
|
4215
4413
|
}
|
|
4216
|
-
const localVarRequestOptions = { method: '
|
|
4414
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4217
4415
|
const localVarHeaderParameter = {};
|
|
4218
4416
|
const localVarQueryParameter = {};
|
|
4219
|
-
// authentication domainAuth required
|
|
4220
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4221
4417
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4222
4418
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4223
4419
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4224
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
|
|
4225
4420
|
return {
|
|
4226
4421
|
url: toPathString(localVarUrlObj),
|
|
4227
4422
|
options: localVarRequestOptions,
|
|
4228
4423
|
};
|
|
4229
4424
|
},
|
|
4230
4425
|
/**
|
|
4231
|
-
*
|
|
4232
|
-
* @summary
|
|
4233
|
-
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
4426
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4427
|
+
* @summary Callback
|
|
4234
4428
|
* @param {*} [options] Override http request option.
|
|
4235
4429
|
* @throws {RequiredError}
|
|
4236
4430
|
*/
|
|
4237
|
-
|
|
4238
|
-
const localVarPath = `/
|
|
4431
|
+
authControllerCallback: async (options = {}) => {
|
|
4432
|
+
const localVarPath = `/auth/callback`;
|
|
4239
4433
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4240
4434
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4241
4435
|
let baseOptions;
|
|
4242
4436
|
if (configuration) {
|
|
4243
4437
|
baseOptions = configuration.baseOptions;
|
|
4244
4438
|
}
|
|
4245
|
-
const localVarRequestOptions = { method: '
|
|
4439
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4246
4440
|
const localVarHeaderParameter = {};
|
|
4247
4441
|
const localVarQueryParameter = {};
|
|
4248
|
-
// authentication domainAuth required
|
|
4249
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4250
4442
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4251
4443
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4252
4444
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4253
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
|
|
4254
4445
|
return {
|
|
4255
4446
|
url: toPathString(localVarUrlObj),
|
|
4256
4447
|
options: localVarRequestOptions,
|
|
4257
4448
|
};
|
|
4258
4449
|
},
|
|
4259
4450
|
/**
|
|
4260
|
-
*
|
|
4261
|
-
* @summary
|
|
4262
|
-
* @param {string}
|
|
4263
|
-
* @param {any} [success]
|
|
4264
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
4451
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4452
|
+
* @summary Login
|
|
4453
|
+
* @param {string} [redirect]
|
|
4265
4454
|
* @param {*} [options] Override http request option.
|
|
4266
4455
|
* @throws {RequiredError}
|
|
4267
4456
|
*/
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
assertParamExists('commandControllerGetExecutions', 'id', id);
|
|
4271
|
-
const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4457
|
+
authControllerLogin: async (redirect, options = {}) => {
|
|
4458
|
+
const localVarPath = `/auth/login`;
|
|
4272
4459
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4273
4460
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4274
4461
|
let baseOptions;
|
|
4275
4462
|
if (configuration) {
|
|
4276
4463
|
baseOptions = configuration.baseOptions;
|
|
4277
4464
|
}
|
|
4278
|
-
const localVarRequestOptions = { method: '
|
|
4465
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4279
4466
|
const localVarHeaderParameter = {};
|
|
4280
4467
|
const localVarQueryParameter = {};
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
for (const [key, value] of Object.entries(success)) {
|
|
4284
|
-
localVarQueryParameter[key] = value;
|
|
4285
|
-
}
|
|
4468
|
+
if (redirect !== undefined) {
|
|
4469
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
4286
4470
|
}
|
|
4287
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4288
4471
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4289
4472
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4290
4473
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4291
|
-
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
4292
4474
|
return {
|
|
4293
4475
|
url: toPathString(localVarUrlObj),
|
|
4294
4476
|
options: localVarRequestOptions,
|
|
4295
4477
|
};
|
|
4296
4478
|
},
|
|
4297
4479
|
/**
|
|
4298
|
-
*
|
|
4299
|
-
* @summary
|
|
4300
|
-
* @param {string}
|
|
4480
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4481
|
+
* @summary Logout
|
|
4482
|
+
* @param {string} [redirect]
|
|
4301
4483
|
* @param {*} [options] Override http request option.
|
|
4302
4484
|
* @throws {RequiredError}
|
|
4303
4485
|
*/
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
assertParamExists('commandControllerGetOne', 'id', id);
|
|
4307
|
-
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4486
|
+
authControllerLogout: async (redirect, options = {}) => {
|
|
4487
|
+
const localVarPath = `/auth/logout`;
|
|
4308
4488
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4309
4489
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4310
4490
|
let baseOptions;
|
|
@@ -4314,7 +4494,9 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4314
4494
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4315
4495
|
const localVarHeaderParameter = {};
|
|
4316
4496
|
const localVarQueryParameter = {};
|
|
4317
|
-
|
|
4497
|
+
if (redirect !== undefined) {
|
|
4498
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
4499
|
+
}
|
|
4318
4500
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4319
4501
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4320
4502
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -4323,73 +4505,216 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4323
4505
|
options: localVarRequestOptions,
|
|
4324
4506
|
};
|
|
4325
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 {
|
|
4326
4517
|
/**
|
|
4327
|
-
*
|
|
4328
|
-
* @summary
|
|
4329
|
-
* @param {string} id
|
|
4518
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4519
|
+
* @summary Account
|
|
4330
4520
|
* @param {*} [options] Override http request option.
|
|
4331
4521
|
* @throws {RequiredError}
|
|
4332
4522
|
*/
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
const
|
|
4337
|
-
|
|
4338
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4339
|
-
let baseOptions;
|
|
4340
|
-
if (configuration) {
|
|
4341
|
-
baseOptions = configuration.baseOptions;
|
|
4342
|
-
}
|
|
4343
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4344
|
-
const localVarHeaderParameter = {};
|
|
4345
|
-
const localVarQueryParameter = {};
|
|
4346
|
-
// authentication domainAuth required
|
|
4347
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4348
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4349
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4350
|
-
return {
|
|
4351
|
-
url: toPathString(localVarUrlObj),
|
|
4352
|
-
options: localVarRequestOptions,
|
|
4353
|
-
};
|
|
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);
|
|
4354
4528
|
},
|
|
4355
4529
|
/**
|
|
4356
|
-
*
|
|
4357
|
-
* @summary
|
|
4358
|
-
* @param {string} id
|
|
4530
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4531
|
+
* @summary Callback
|
|
4359
4532
|
* @param {*} [options] Override http request option.
|
|
4360
4533
|
* @throws {RequiredError}
|
|
4361
4534
|
*/
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
const
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
return
|
|
4380
|
-
|
|
4381
|
-
|
|
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);
|
|
4540
|
+
},
|
|
4541
|
+
/**
|
|
4542
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4543
|
+
* @summary Login
|
|
4544
|
+
* @param {string} [redirect]
|
|
4545
|
+
* @param {*} [options] Override http request option.
|
|
4546
|
+
* @throws {RequiredError}
|
|
4547
|
+
*/
|
|
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);
|
|
4553
|
+
},
|
|
4554
|
+
/**
|
|
4555
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4556
|
+
* @summary Logout
|
|
4557
|
+
* @param {string} [redirect]
|
|
4558
|
+
* @param {*} [options] Override http request option.
|
|
4559
|
+
* @throws {RequiredError}
|
|
4560
|
+
*/
|
|
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,
|
|
4382
4707
|
};
|
|
4383
4708
|
},
|
|
4384
4709
|
/**
|
|
4385
|
-
*
|
|
4386
|
-
* @summary
|
|
4387
|
-
* @param {
|
|
4710
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
4711
|
+
* @summary Create argument
|
|
4712
|
+
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
4388
4713
|
* @param {*} [options] Override http request option.
|
|
4389
4714
|
* @throws {RequiredError}
|
|
4390
4715
|
*/
|
|
4391
|
-
|
|
4392
|
-
const localVarPath = `/command/
|
|
4716
|
+
commandControllerCreateArgument: async (commandArgumentCreateDTO, options = {}) => {
|
|
4717
|
+
const localVarPath = `/command/argument`;
|
|
4393
4718
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4394
4719
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4395
4720
|
let baseOptions;
|
|
@@ -4404,24 +4729,25 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4404
4729
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4405
4730
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4406
4731
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4407
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4732
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
|
|
4408
4733
|
return {
|
|
4409
4734
|
url: toPathString(localVarUrlObj),
|
|
4410
4735
|
options: localVarRequestOptions,
|
|
4411
4736
|
};
|
|
4412
4737
|
},
|
|
4413
4738
|
/**
|
|
4414
|
-
* Required permissions: `
|
|
4415
|
-
* @summary
|
|
4739
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
4740
|
+
* @summary Get executions
|
|
4416
4741
|
* @param {string} id
|
|
4417
|
-
* @param {
|
|
4742
|
+
* @param {any} [success]
|
|
4743
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
4418
4744
|
* @param {*} [options] Override http request option.
|
|
4419
4745
|
* @throws {RequiredError}
|
|
4420
4746
|
*/
|
|
4421
|
-
|
|
4747
|
+
commandControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
|
|
4422
4748
|
// verify required parameter 'id' is not null or undefined
|
|
4423
|
-
assertParamExists('
|
|
4424
|
-
const localVarPath = `/command/{id}/
|
|
4749
|
+
assertParamExists('commandControllerGetExecutions', 'id', id);
|
|
4750
|
+
const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4425
4751
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4426
4752
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4427
4753
|
let baseOptions;
|
|
@@ -4432,27 +4758,31 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4432
4758
|
const localVarHeaderParameter = {};
|
|
4433
4759
|
const localVarQueryParameter = {};
|
|
4434
4760
|
// authentication domainAuth required
|
|
4761
|
+
if (success !== undefined) {
|
|
4762
|
+
for (const [key, value] of Object.entries(success)) {
|
|
4763
|
+
localVarQueryParameter[key] = value;
|
|
4764
|
+
}
|
|
4765
|
+
}
|
|
4435
4766
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4436
4767
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4437
4768
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4438
4769
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4439
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4770
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
4440
4771
|
return {
|
|
4441
4772
|
url: toPathString(localVarUrlObj),
|
|
4442
4773
|
options: localVarRequestOptions,
|
|
4443
4774
|
};
|
|
4444
4775
|
},
|
|
4445
4776
|
/**
|
|
4446
|
-
* Required permissions: `
|
|
4447
|
-
* @summary
|
|
4777
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
|
|
4778
|
+
* @summary Get one
|
|
4448
4779
|
* @param {string} id
|
|
4449
|
-
* @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
|
|
4450
4780
|
* @param {*} [options] Override http request option.
|
|
4451
4781
|
* @throws {RequiredError}
|
|
4452
4782
|
*/
|
|
4453
|
-
|
|
4783
|
+
commandControllerGetOne: async (id, options = {}) => {
|
|
4454
4784
|
// verify required parameter 'id' is not null or undefined
|
|
4455
|
-
assertParamExists('
|
|
4785
|
+
assertParamExists('commandControllerGetOne', 'id', id);
|
|
4456
4786
|
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4457
4787
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4458
4788
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4460,99 +4790,248 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4460
4790
|
if (configuration) {
|
|
4461
4791
|
baseOptions = configuration.baseOptions;
|
|
4462
4792
|
}
|
|
4463
|
-
const localVarRequestOptions = { method: '
|
|
4793
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4464
4794
|
const localVarHeaderParameter = {};
|
|
4465
4795
|
const localVarQueryParameter = {};
|
|
4466
4796
|
// authentication domainAuth required
|
|
4467
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4468
4797
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4469
4798
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4470
4799
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4471
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandUpdateDTO, localVarRequestOptions, configuration);
|
|
4472
4800
|
return {
|
|
4473
4801
|
url: toPathString(localVarUrlObj),
|
|
4474
4802
|
options: localVarRequestOptions,
|
|
4475
4803
|
};
|
|
4476
4804
|
},
|
|
4477
4805
|
/**
|
|
4478
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `
|
|
4479
|
-
* @summary
|
|
4806
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
|
|
4807
|
+
* @summary Remove
|
|
4480
4808
|
* @param {string} id
|
|
4481
|
-
* @param {CommandArgumentUpdateDTO} [commandArgumentUpdateDTO] CommandArgumentUpdateDTO
|
|
4482
4809
|
* @param {*} [options] Override http request option.
|
|
4483
4810
|
* @throws {RequiredError}
|
|
4484
4811
|
*/
|
|
4485
|
-
|
|
4812
|
+
commandControllerRemove: async (id, options = {}) => {
|
|
4486
4813
|
// verify required parameter 'id' is not null or undefined
|
|
4487
|
-
assertParamExists('
|
|
4488
|
-
const localVarPath = `/command/
|
|
4814
|
+
assertParamExists('commandControllerRemove', 'id', id);
|
|
4815
|
+
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4489
4816
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4490
4817
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4491
4818
|
let baseOptions;
|
|
4492
4819
|
if (configuration) {
|
|
4493
4820
|
baseOptions = configuration.baseOptions;
|
|
4494
4821
|
}
|
|
4495
|
-
const localVarRequestOptions = { method: '
|
|
4822
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4496
4823
|
const localVarHeaderParameter = {};
|
|
4497
4824
|
const localVarQueryParameter = {};
|
|
4498
4825
|
// authentication domainAuth required
|
|
4499
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4500
4826
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4501
4827
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4502
4828
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4503
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentUpdateDTO, localVarRequestOptions, configuration);
|
|
4504
4829
|
return {
|
|
4505
4830
|
url: toPathString(localVarUrlObj),
|
|
4506
4831
|
options: localVarRequestOptions,
|
|
4507
4832
|
};
|
|
4508
4833
|
},
|
|
4509
|
-
};
|
|
4510
|
-
};
|
|
4511
|
-
/**
|
|
4512
|
-
* CommandApi - functional programming interface
|
|
4513
|
-
* @export
|
|
4514
|
-
*/
|
|
4515
|
-
export const CommandApiFp = function (configuration) {
|
|
4516
|
-
const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
|
|
4517
|
-
return {
|
|
4518
4834
|
/**
|
|
4519
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `
|
|
4520
|
-
* @summary
|
|
4521
|
-
* @param {
|
|
4835
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
|
|
4836
|
+
* @summary Remove argument
|
|
4837
|
+
* @param {string} id
|
|
4522
4838
|
* @param {*} [options] Override http request option.
|
|
4523
4839
|
* @throws {RequiredError}
|
|
4524
4840
|
*/
|
|
4525
|
-
async
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
const
|
|
4529
|
-
|
|
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
|
+
};
|
|
4530
4862
|
},
|
|
4531
4863
|
/**
|
|
4532
|
-
*
|
|
4533
|
-
* @summary
|
|
4534
|
-
* @param {
|
|
4864
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
4865
|
+
* @summary Search
|
|
4866
|
+
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
4535
4867
|
* @param {*} [options] Override http request option.
|
|
4536
4868
|
* @throws {RequiredError}
|
|
4537
4869
|
*/
|
|
4538
|
-
async
|
|
4539
|
-
const
|
|
4540
|
-
|
|
4541
|
-
const
|
|
4542
|
-
|
|
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
|
+
};
|
|
4543
4891
|
},
|
|
4544
4892
|
/**
|
|
4545
|
-
* Required permissions: `
|
|
4546
|
-
* @summary
|
|
4893
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
|
|
4894
|
+
* @summary Trigger
|
|
4547
4895
|
* @param {string} id
|
|
4548
|
-
* @param {
|
|
4549
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
4896
|
+
* @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
|
|
4550
4897
|
* @param {*} [options] Override http request option.
|
|
4551
4898
|
* @throws {RequiredError}
|
|
4552
4899
|
*/
|
|
4553
|
-
async
|
|
4554
|
-
|
|
4555
|
-
|
|
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 = {};
|
|
4913
|
+
// authentication domainAuth required
|
|
4914
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4915
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4916
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4917
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4918
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandTriggerDTO, localVarRequestOptions, configuration);
|
|
4919
|
+
return {
|
|
4920
|
+
url: toPathString(localVarUrlObj),
|
|
4921
|
+
options: localVarRequestOptions,
|
|
4922
|
+
};
|
|
4923
|
+
},
|
|
4924
|
+
/**
|
|
4925
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
|
|
4926
|
+
* @summary Update
|
|
4927
|
+
* @param {string} id
|
|
4928
|
+
* @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
|
|
4929
|
+
* @param {*} [options] Override http request option.
|
|
4930
|
+
* @throws {RequiredError}
|
|
4931
|
+
*/
|
|
4932
|
+
commandControllerUpdate: async (id, commandUpdateDTO, options = {}) => {
|
|
4933
|
+
// verify required parameter 'id' is not null or undefined
|
|
4934
|
+
assertParamExists('commandControllerUpdate', 'id', id);
|
|
4935
|
+
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4936
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4937
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4938
|
+
let baseOptions;
|
|
4939
|
+
if (configuration) {
|
|
4940
|
+
baseOptions = configuration.baseOptions;
|
|
4941
|
+
}
|
|
4942
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
4943
|
+
const localVarHeaderParameter = {};
|
|
4944
|
+
const localVarQueryParameter = {};
|
|
4945
|
+
// authentication domainAuth required
|
|
4946
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4947
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4948
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4949
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4950
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandUpdateDTO, localVarRequestOptions, configuration);
|
|
4951
|
+
return {
|
|
4952
|
+
url: toPathString(localVarUrlObj),
|
|
4953
|
+
options: localVarRequestOptions,
|
|
4954
|
+
};
|
|
4955
|
+
},
|
|
4956
|
+
/**
|
|
4957
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
|
|
4958
|
+
* @summary Update argument
|
|
4959
|
+
* @param {string} id
|
|
4960
|
+
* @param {CommandArgumentUpdateDTO} [commandArgumentUpdateDTO] CommandArgumentUpdateDTO
|
|
4961
|
+
* @param {*} [options] Override http request option.
|
|
4962
|
+
* @throws {RequiredError}
|
|
4963
|
+
*/
|
|
4964
|
+
commandControllerUpdateArgument: async (id, commandArgumentUpdateDTO, options = {}) => {
|
|
4965
|
+
// verify required parameter 'id' is not null or undefined
|
|
4966
|
+
assertParamExists('commandControllerUpdateArgument', 'id', id);
|
|
4967
|
+
const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4968
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4969
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4970
|
+
let baseOptions;
|
|
4971
|
+
if (configuration) {
|
|
4972
|
+
baseOptions = configuration.baseOptions;
|
|
4973
|
+
}
|
|
4974
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
4975
|
+
const localVarHeaderParameter = {};
|
|
4976
|
+
const localVarQueryParameter = {};
|
|
4977
|
+
// authentication domainAuth required
|
|
4978
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4979
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4980
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4981
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4982
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentUpdateDTO, localVarRequestOptions, configuration);
|
|
4983
|
+
return {
|
|
4984
|
+
url: toPathString(localVarUrlObj),
|
|
4985
|
+
options: localVarRequestOptions,
|
|
4986
|
+
};
|
|
4987
|
+
},
|
|
4988
|
+
};
|
|
4989
|
+
};
|
|
4990
|
+
/**
|
|
4991
|
+
* CommandApi - functional programming interface
|
|
4992
|
+
* @export
|
|
4993
|
+
*/
|
|
4994
|
+
export const CommandApiFp = function (configuration) {
|
|
4995
|
+
const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
|
|
4996
|
+
return {
|
|
4997
|
+
/**
|
|
4998
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
|
|
4999
|
+
* @summary Create
|
|
5000
|
+
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
5001
|
+
* @param {*} [options] Override http request option.
|
|
5002
|
+
* @throws {RequiredError}
|
|
5003
|
+
*/
|
|
5004
|
+
async commandControllerCreate(commandCreateDTO, options) {
|
|
5005
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
|
|
5006
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5007
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
5008
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5009
|
+
},
|
|
5010
|
+
/**
|
|
5011
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
5012
|
+
* @summary Create argument
|
|
5013
|
+
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
5014
|
+
* @param {*} [options] Override http request option.
|
|
5015
|
+
* @throws {RequiredError}
|
|
5016
|
+
*/
|
|
5017
|
+
async commandControllerCreateArgument(commandArgumentCreateDTO, options) {
|
|
5018
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreateArgument(commandArgumentCreateDTO, options);
|
|
5019
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5020
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreateArgument']?.[localVarOperationServerIndex]?.url;
|
|
5021
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5022
|
+
},
|
|
5023
|
+
/**
|
|
5024
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
5025
|
+
* @summary Get executions
|
|
5026
|
+
* @param {string} id
|
|
5027
|
+
* @param {any} [success]
|
|
5028
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
5029
|
+
* @param {*} [options] Override http request option.
|
|
5030
|
+
* @throws {RequiredError}
|
|
5031
|
+
*/
|
|
5032
|
+
async commandControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
5033
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
5034
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4556
5035
|
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
|
|
4557
5036
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4558
5037
|
},
|
|
@@ -6743,6 +7222,64 @@ export const EventApiAxiosParamCreator = function (configuration) {
|
|
|
6743
7222
|
options: localVarRequestOptions,
|
|
6744
7223
|
};
|
|
6745
7224
|
},
|
|
7225
|
+
/**
|
|
7226
|
+
* Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
|
|
7227
|
+
* @summary Explore events
|
|
7228
|
+
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
7229
|
+
* @param {*} [options] Override http request option.
|
|
7230
|
+
* @throws {RequiredError}
|
|
7231
|
+
*/
|
|
7232
|
+
eventControllerExplore: async (eventExploreInputDTO, options = {}) => {
|
|
7233
|
+
const localVarPath = `/event/explore`;
|
|
7234
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7235
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7236
|
+
let baseOptions;
|
|
7237
|
+
if (configuration) {
|
|
7238
|
+
baseOptions = configuration.baseOptions;
|
|
7239
|
+
}
|
|
7240
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7241
|
+
const localVarHeaderParameter = {};
|
|
7242
|
+
const localVarQueryParameter = {};
|
|
7243
|
+
// authentication domainAuth required
|
|
7244
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7245
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7246
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7247
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7248
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventExploreInputDTO, localVarRequestOptions, configuration);
|
|
7249
|
+
return {
|
|
7250
|
+
url: toPathString(localVarUrlObj),
|
|
7251
|
+
options: localVarRequestOptions,
|
|
7252
|
+
};
|
|
7253
|
+
},
|
|
7254
|
+
/**
|
|
7255
|
+
* Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
|
|
7256
|
+
* @summary Get event volume time-series with optional grouping
|
|
7257
|
+
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
7258
|
+
* @param {*} [options] Override http request option.
|
|
7259
|
+
* @throws {RequiredError}
|
|
7260
|
+
*/
|
|
7261
|
+
eventControllerExploreVolume: async (eventVolumeInputDTO, options = {}) => {
|
|
7262
|
+
const localVarPath = `/event/explore/volume`;
|
|
7263
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7264
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7265
|
+
let baseOptions;
|
|
7266
|
+
if (configuration) {
|
|
7267
|
+
baseOptions = configuration.baseOptions;
|
|
7268
|
+
}
|
|
7269
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7270
|
+
const localVarHeaderParameter = {};
|
|
7271
|
+
const localVarQueryParameter = {};
|
|
7272
|
+
// authentication domainAuth required
|
|
7273
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7274
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7275
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7276
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7277
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventVolumeInputDTO, localVarRequestOptions, configuration);
|
|
7278
|
+
return {
|
|
7279
|
+
url: toPathString(localVarUrlObj),
|
|
7280
|
+
options: localVarRequestOptions,
|
|
7281
|
+
};
|
|
7282
|
+
},
|
|
6746
7283
|
/**
|
|
6747
7284
|
* Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
|
|
6748
7285
|
* @summary Export events to CSV
|
|
@@ -6881,6 +7418,32 @@ export const EventApiFp = function (configuration) {
|
|
|
6881
7418
|
const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
6882
7419
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6883
7420
|
},
|
|
7421
|
+
/**
|
|
7422
|
+
* Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
|
|
7423
|
+
* @summary Explore events
|
|
7424
|
+
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
7425
|
+
* @param {*} [options] Override http request option.
|
|
7426
|
+
* @throws {RequiredError}
|
|
7427
|
+
*/
|
|
7428
|
+
async eventControllerExplore(eventExploreInputDTO, options) {
|
|
7429
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExplore(eventExploreInputDTO, options);
|
|
7430
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7431
|
+
const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerExplore']?.[localVarOperationServerIndex]?.url;
|
|
7432
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7433
|
+
},
|
|
7434
|
+
/**
|
|
7435
|
+
* Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
|
|
7436
|
+
* @summary Get event volume time-series with optional grouping
|
|
7437
|
+
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
7438
|
+
* @param {*} [options] Override http request option.
|
|
7439
|
+
* @throws {RequiredError}
|
|
7440
|
+
*/
|
|
7441
|
+
async eventControllerExploreVolume(eventVolumeInputDTO, options) {
|
|
7442
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExploreVolume(eventVolumeInputDTO, options);
|
|
7443
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7444
|
+
const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerExploreVolume']?.[localVarOperationServerIndex]?.url;
|
|
7445
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7446
|
+
},
|
|
6884
7447
|
/**
|
|
6885
7448
|
* Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
|
|
6886
7449
|
* @summary Export events to CSV
|
|
@@ -6952,6 +7515,30 @@ export const EventApiFactory = function (configuration, basePath, axios) {
|
|
|
6952
7515
|
eventControllerCreate(eventCreateDTO, options) {
|
|
6953
7516
|
return localVarFp.eventControllerCreate(eventCreateDTO, options).then((request) => request(axios, basePath));
|
|
6954
7517
|
},
|
|
7518
|
+
/**
|
|
7519
|
+
* Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
|
|
7520
|
+
* @summary Explore events
|
|
7521
|
+
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
7522
|
+
* @param {*} [options] Override http request option.
|
|
7523
|
+
* @throws {RequiredError}
|
|
7524
|
+
*/
|
|
7525
|
+
eventControllerExplore(eventExploreInputDTO, options) {
|
|
7526
|
+
return localVarFp
|
|
7527
|
+
.eventControllerExplore(eventExploreInputDTO, options)
|
|
7528
|
+
.then((request) => request(axios, basePath));
|
|
7529
|
+
},
|
|
7530
|
+
/**
|
|
7531
|
+
* Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
|
|
7532
|
+
* @summary Get event volume time-series with optional grouping
|
|
7533
|
+
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
7534
|
+
* @param {*} [options] Override http request option.
|
|
7535
|
+
* @throws {RequiredError}
|
|
7536
|
+
*/
|
|
7537
|
+
eventControllerExploreVolume(eventVolumeInputDTO, options) {
|
|
7538
|
+
return localVarFp
|
|
7539
|
+
.eventControllerExploreVolume(eventVolumeInputDTO, options)
|
|
7540
|
+
.then((request) => request(axios, basePath));
|
|
7541
|
+
},
|
|
6955
7542
|
/**
|
|
6956
7543
|
* Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
|
|
6957
7544
|
* @summary Export events to CSV
|
|
@@ -7016,6 +7603,32 @@ export class EventApi extends BaseAPI {
|
|
|
7016
7603
|
.eventControllerCreate(eventCreateDTO, options)
|
|
7017
7604
|
.then((request) => request(this.axios, this.basePath));
|
|
7018
7605
|
}
|
|
7606
|
+
/**
|
|
7607
|
+
* Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
|
|
7608
|
+
* @summary Explore events
|
|
7609
|
+
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
7610
|
+
* @param {*} [options] Override http request option.
|
|
7611
|
+
* @throws {RequiredError}
|
|
7612
|
+
* @memberof EventApi
|
|
7613
|
+
*/
|
|
7614
|
+
eventControllerExplore(eventExploreInputDTO, options) {
|
|
7615
|
+
return EventApiFp(this.configuration)
|
|
7616
|
+
.eventControllerExplore(eventExploreInputDTO, options)
|
|
7617
|
+
.then((request) => request(this.axios, this.basePath));
|
|
7618
|
+
}
|
|
7619
|
+
/**
|
|
7620
|
+
* Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
|
|
7621
|
+
* @summary Get event volume time-series with optional grouping
|
|
7622
|
+
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
7623
|
+
* @param {*} [options] Override http request option.
|
|
7624
|
+
* @throws {RequiredError}
|
|
7625
|
+
* @memberof EventApi
|
|
7626
|
+
*/
|
|
7627
|
+
eventControllerExploreVolume(eventVolumeInputDTO, options) {
|
|
7628
|
+
return EventApiFp(this.configuration)
|
|
7629
|
+
.eventControllerExploreVolume(eventVolumeInputDTO, options)
|
|
7630
|
+
.then((request) => request(this.axios, this.basePath));
|
|
7631
|
+
}
|
|
7019
7632
|
/**
|
|
7020
7633
|
* Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
|
|
7021
7634
|
* @summary Export events to CSV
|
|
@@ -11720,6 +12333,38 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
11720
12333
|
options: localVarRequestOptions,
|
|
11721
12334
|
};
|
|
11722
12335
|
},
|
|
12336
|
+
/**
|
|
12337
|
+
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12338
|
+
* @summary Bulk assign role
|
|
12339
|
+
* @param {string} roleId
|
|
12340
|
+
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
12341
|
+
* @param {*} [options] Override http request option.
|
|
12342
|
+
* @throws {RequiredError}
|
|
12343
|
+
*/
|
|
12344
|
+
playerControllerBulkAssignRole: async (roleId, playerBulkAssignRoleInputDTO, options = {}) => {
|
|
12345
|
+
// verify required parameter 'roleId' is not null or undefined
|
|
12346
|
+
assertParamExists('playerControllerBulkAssignRole', 'roleId', roleId);
|
|
12347
|
+
const localVarPath = `/player/role/{roleId}`.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
|
|
12348
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12349
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12350
|
+
let baseOptions;
|
|
12351
|
+
if (configuration) {
|
|
12352
|
+
baseOptions = configuration.baseOptions;
|
|
12353
|
+
}
|
|
12354
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
12355
|
+
const localVarHeaderParameter = {};
|
|
12356
|
+
const localVarQueryParameter = {};
|
|
12357
|
+
// authentication domainAuth required
|
|
12358
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12359
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12360
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12361
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12362
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerBulkAssignRoleInputDTO, localVarRequestOptions, configuration);
|
|
12363
|
+
return {
|
|
12364
|
+
url: toPathString(localVarUrlObj),
|
|
12365
|
+
options: localVarRequestOptions,
|
|
12366
|
+
};
|
|
12367
|
+
},
|
|
11723
12368
|
/**
|
|
11724
12369
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
11725
12370
|
* @summary Bulk delete
|
|
@@ -11990,14 +12635,28 @@ export const PlayerApiFp = function (configuration) {
|
|
|
11990
12635
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11991
12636
|
},
|
|
11992
12637
|
/**
|
|
11993
|
-
* Bulk
|
|
11994
|
-
* @summary Bulk
|
|
11995
|
-
* @param {
|
|
12638
|
+
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12639
|
+
* @summary Bulk assign role
|
|
12640
|
+
* @param {string} roleId
|
|
12641
|
+
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
11996
12642
|
* @param {*} [options] Override http request option.
|
|
11997
12643
|
* @throws {RequiredError}
|
|
11998
12644
|
*/
|
|
11999
|
-
async
|
|
12000
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
12645
|
+
async playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
|
|
12646
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options);
|
|
12647
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12648
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerBulkAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
12649
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12650
|
+
},
|
|
12651
|
+
/**
|
|
12652
|
+
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
12653
|
+
* @summary Bulk delete
|
|
12654
|
+
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
12655
|
+
* @param {*} [options] Override http request option.
|
|
12656
|
+
* @throws {RequiredError}
|
|
12657
|
+
*/
|
|
12658
|
+
async playerControllerBulkDelete(playerBulkDeleteInputDTO, options) {
|
|
12659
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkDelete(playerBulkDeleteInputDTO, options);
|
|
12001
12660
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12002
12661
|
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
12003
12662
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12142,6 +12801,19 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
12142
12801
|
.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
|
|
12143
12802
|
.then((request) => request(axios, basePath));
|
|
12144
12803
|
},
|
|
12804
|
+
/**
|
|
12805
|
+
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12806
|
+
* @summary Bulk assign role
|
|
12807
|
+
* @param {string} roleId
|
|
12808
|
+
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
12809
|
+
* @param {*} [options] Override http request option.
|
|
12810
|
+
* @throws {RequiredError}
|
|
12811
|
+
*/
|
|
12812
|
+
playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
|
|
12813
|
+
return localVarFp
|
|
12814
|
+
.playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
|
|
12815
|
+
.then((request) => request(axios, basePath));
|
|
12816
|
+
},
|
|
12145
12817
|
/**
|
|
12146
12818
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
12147
12819
|
* @summary Bulk delete
|
|
@@ -12299,6 +12971,20 @@ export class PlayerApi extends BaseAPI {
|
|
|
12299
12971
|
.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
|
|
12300
12972
|
.then((request) => request(this.axios, this.basePath));
|
|
12301
12973
|
}
|
|
12974
|
+
/**
|
|
12975
|
+
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12976
|
+
* @summary Bulk assign role
|
|
12977
|
+
* @param {string} roleId
|
|
12978
|
+
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
12979
|
+
* @param {*} [options] Override http request option.
|
|
12980
|
+
* @throws {RequiredError}
|
|
12981
|
+
* @memberof PlayerApi
|
|
12982
|
+
*/
|
|
12983
|
+
playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
|
|
12984
|
+
return PlayerApiFp(this.configuration)
|
|
12985
|
+
.playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
|
|
12986
|
+
.then((request) => request(this.axios, this.basePath));
|
|
12987
|
+
}
|
|
12302
12988
|
/**
|
|
12303
12989
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
12304
12990
|
* @summary Bulk delete
|
|
@@ -12422,6 +13108,38 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
12422
13108
|
options: localVarRequestOptions,
|
|
12423
13109
|
};
|
|
12424
13110
|
},
|
|
13111
|
+
/**
|
|
13112
|
+
* Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
13113
|
+
* @summary Bulk add currency
|
|
13114
|
+
* @param {string} gameServerId
|
|
13115
|
+
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
13116
|
+
* @param {*} [options] Override http request option.
|
|
13117
|
+
* @throws {RequiredError}
|
|
13118
|
+
*/
|
|
13119
|
+
playerOnGameServerControllerBulkAddCurrency: async (gameServerId, pogBulkAddCurrencyInputDTO, options = {}) => {
|
|
13120
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
13121
|
+
assertParamExists('playerOnGameServerControllerBulkAddCurrency', 'gameServerId', gameServerId);
|
|
13122
|
+
const localVarPath = `/gameserver/{gameServerId}/addCurrency`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
13123
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13124
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13125
|
+
let baseOptions;
|
|
13126
|
+
if (configuration) {
|
|
13127
|
+
baseOptions = configuration.baseOptions;
|
|
13128
|
+
}
|
|
13129
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
13130
|
+
const localVarHeaderParameter = {};
|
|
13131
|
+
const localVarQueryParameter = {};
|
|
13132
|
+
// authentication domainAuth required
|
|
13133
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13134
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13135
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13136
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
13137
|
+
localVarRequestOptions.data = serializeDataIfNeeded(pogBulkAddCurrencyInputDTO, localVarRequestOptions, configuration);
|
|
13138
|
+
return {
|
|
13139
|
+
url: toPathString(localVarUrlObj),
|
|
13140
|
+
options: localVarRequestOptions,
|
|
13141
|
+
};
|
|
13142
|
+
},
|
|
12425
13143
|
/**
|
|
12426
13144
|
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
12427
13145
|
* @summary Bulk delete
|
|
@@ -12690,6 +13408,20 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
12690
13408
|
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[localVarOperationServerIndex]?.url;
|
|
12691
13409
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12692
13410
|
},
|
|
13411
|
+
/**
|
|
13412
|
+
* Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
13413
|
+
* @summary Bulk add currency
|
|
13414
|
+
* @param {string} gameServerId
|
|
13415
|
+
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
13416
|
+
* @param {*} [options] Override http request option.
|
|
13417
|
+
* @throws {RequiredError}
|
|
13418
|
+
*/
|
|
13419
|
+
async playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
|
|
13420
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options);
|
|
13421
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13422
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkAddCurrency']?.[localVarOperationServerIndex]?.url;
|
|
13423
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13424
|
+
},
|
|
12693
13425
|
/**
|
|
12694
13426
|
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
12695
13427
|
* @summary Bulk delete
|
|
@@ -12817,6 +13549,19 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
12817
13549
|
.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
12818
13550
|
.then((request) => request(axios, basePath));
|
|
12819
13551
|
},
|
|
13552
|
+
/**
|
|
13553
|
+
* Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
13554
|
+
* @summary Bulk add currency
|
|
13555
|
+
* @param {string} gameServerId
|
|
13556
|
+
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
13557
|
+
* @param {*} [options] Override http request option.
|
|
13558
|
+
* @throws {RequiredError}
|
|
13559
|
+
*/
|
|
13560
|
+
playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
|
|
13561
|
+
return localVarFp
|
|
13562
|
+
.playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
|
|
13563
|
+
.then((request) => request(axios, basePath));
|
|
13564
|
+
},
|
|
12820
13565
|
/**
|
|
12821
13566
|
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
12822
13567
|
* @summary Bulk delete
|
|
@@ -12935,6 +13680,20 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
12935
13680
|
.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
12936
13681
|
.then((request) => request(this.axios, this.basePath));
|
|
12937
13682
|
}
|
|
13683
|
+
/**
|
|
13684
|
+
* Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
13685
|
+
* @summary Bulk add currency
|
|
13686
|
+
* @param {string} gameServerId
|
|
13687
|
+
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
13688
|
+
* @param {*} [options] Override http request option.
|
|
13689
|
+
* @throws {RequiredError}
|
|
13690
|
+
* @memberof PlayerOnGameServerApi
|
|
13691
|
+
*/
|
|
13692
|
+
playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
|
|
13693
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
13694
|
+
.playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
|
|
13695
|
+
.then((request) => request(this.axios, this.basePath));
|
|
13696
|
+
}
|
|
12938
13697
|
/**
|
|
12939
13698
|
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
12940
13699
|
* @summary Bulk delete
|
|
@@ -12965,75 +13724,438 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
12965
13724
|
.then((request) => request(this.axios, this.basePath));
|
|
12966
13725
|
}
|
|
12967
13726
|
/**
|
|
12968
|
-
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
12969
|
-
* @summary Delete
|
|
12970
|
-
* @param {string} gameServerId
|
|
12971
|
-
* @param {string} playerId
|
|
13727
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
13728
|
+
* @summary Delete
|
|
13729
|
+
* @param {string} gameServerId
|
|
13730
|
+
* @param {string} playerId
|
|
13731
|
+
* @param {*} [options] Override http request option.
|
|
13732
|
+
* @throws {RequiredError}
|
|
13733
|
+
* @memberof PlayerOnGameServerApi
|
|
13734
|
+
*/
|
|
13735
|
+
playerOnGameServerControllerDelete(gameServerId, playerId, options) {
|
|
13736
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
13737
|
+
.playerOnGameServerControllerDelete(gameServerId, playerId, options)
|
|
13738
|
+
.then((request) => request(this.axios, this.basePath));
|
|
13739
|
+
}
|
|
13740
|
+
/**
|
|
13741
|
+
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
13742
|
+
* @summary Get one
|
|
13743
|
+
* @param {string} gameServerId
|
|
13744
|
+
* @param {string} playerId
|
|
13745
|
+
* @param {*} [options] Override http request option.
|
|
13746
|
+
* @throws {RequiredError}
|
|
13747
|
+
* @memberof PlayerOnGameServerApi
|
|
13748
|
+
*/
|
|
13749
|
+
playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
|
|
13750
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
13751
|
+
.playerOnGameServerControllerGetOne(gameServerId, playerId, options)
|
|
13752
|
+
.then((request) => request(this.axios, this.basePath));
|
|
13753
|
+
}
|
|
13754
|
+
/**
|
|
13755
|
+
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
|
|
13756
|
+
* @summary Search
|
|
13757
|
+
* @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
|
|
13758
|
+
* @param {*} [options] Override http request option.
|
|
13759
|
+
* @throws {RequiredError}
|
|
13760
|
+
* @memberof PlayerOnGameServerApi
|
|
13761
|
+
*/
|
|
13762
|
+
playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
|
|
13763
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
13764
|
+
.playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options)
|
|
13765
|
+
.then((request) => request(this.axios, this.basePath));
|
|
13766
|
+
}
|
|
13767
|
+
/**
|
|
13768
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
|
|
13769
|
+
* @summary Set currency
|
|
13770
|
+
* @param {string} gameServerId
|
|
13771
|
+
* @param {string} playerId
|
|
13772
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
13773
|
+
* @param {*} [options] Override http request option.
|
|
13774
|
+
* @throws {RequiredError}
|
|
13775
|
+
* @memberof PlayerOnGameServerApi
|
|
13776
|
+
*/
|
|
13777
|
+
playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
13778
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
13779
|
+
.playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
13780
|
+
.then((request) => request(this.axios, this.basePath));
|
|
13781
|
+
}
|
|
13782
|
+
/**
|
|
13783
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
|
|
13784
|
+
* @summary Transact between players
|
|
13785
|
+
* @param {string} gameServerId
|
|
13786
|
+
* @param {string} sender
|
|
13787
|
+
* @param {string} receiver
|
|
13788
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
13789
|
+
* @param {*} [options] Override http request option.
|
|
13790
|
+
* @throws {RequiredError}
|
|
13791
|
+
* @memberof PlayerOnGameServerApi
|
|
13792
|
+
*/
|
|
13793
|
+
playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
13794
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
13795
|
+
.playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options)
|
|
13796
|
+
.then((request) => request(this.axios, this.basePath));
|
|
13797
|
+
}
|
|
13798
|
+
}
|
|
13799
|
+
/**
|
|
13800
|
+
* RegistryApi - axios parameter creator
|
|
13801
|
+
* @export
|
|
13802
|
+
*/
|
|
13803
|
+
export const RegistryApiAxiosParamCreator = function (configuration) {
|
|
13804
|
+
return {
|
|
13805
|
+
/**
|
|
13806
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
13807
|
+
* @summary Install a module from a registry
|
|
13808
|
+
* @param {string} id
|
|
13809
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
13810
|
+
* @param {*} [options] Override http request option.
|
|
13811
|
+
* @throws {RequiredError}
|
|
13812
|
+
*/
|
|
13813
|
+
registryControllerInstall: async (id, registryInstallBody, options = {}) => {
|
|
13814
|
+
// verify required parameter 'id' is not null or undefined
|
|
13815
|
+
assertParamExists('registryControllerInstall', 'id', id);
|
|
13816
|
+
const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
13817
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13818
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13819
|
+
let baseOptions;
|
|
13820
|
+
if (configuration) {
|
|
13821
|
+
baseOptions = configuration.baseOptions;
|
|
13822
|
+
}
|
|
13823
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
13824
|
+
const localVarHeaderParameter = {};
|
|
13825
|
+
const localVarQueryParameter = {};
|
|
13826
|
+
// authentication domainAuth required
|
|
13827
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13828
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13829
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13830
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
13831
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
|
|
13832
|
+
return {
|
|
13833
|
+
url: toPathString(localVarUrlObj),
|
|
13834
|
+
options: localVarRequestOptions,
|
|
13835
|
+
};
|
|
13836
|
+
},
|
|
13837
|
+
/**
|
|
13838
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
13839
|
+
* @summary List subscribed registries
|
|
13840
|
+
* @param {*} [options] Override http request option.
|
|
13841
|
+
* @throws {RequiredError}
|
|
13842
|
+
*/
|
|
13843
|
+
registryControllerList: async (options = {}) => {
|
|
13844
|
+
const localVarPath = `/registry`;
|
|
13845
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13846
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13847
|
+
let baseOptions;
|
|
13848
|
+
if (configuration) {
|
|
13849
|
+
baseOptions = configuration.baseOptions;
|
|
13850
|
+
}
|
|
13851
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
13852
|
+
const localVarHeaderParameter = {};
|
|
13853
|
+
const localVarQueryParameter = {};
|
|
13854
|
+
// authentication domainAuth required
|
|
13855
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13856
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13857
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
13858
|
+
return {
|
|
13859
|
+
url: toPathString(localVarUrlObj),
|
|
13860
|
+
options: localVarRequestOptions,
|
|
13861
|
+
};
|
|
13862
|
+
},
|
|
13863
|
+
/**
|
|
13864
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
13865
|
+
* @summary Refresh registry manifest
|
|
13866
|
+
* @param {string} id
|
|
13867
|
+
* @param {*} [options] Override http request option.
|
|
13868
|
+
* @throws {RequiredError}
|
|
13869
|
+
*/
|
|
13870
|
+
registryControllerRefresh: async (id, options = {}) => {
|
|
13871
|
+
// verify required parameter 'id' is not null or undefined
|
|
13872
|
+
assertParamExists('registryControllerRefresh', 'id', id);
|
|
13873
|
+
const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
13874
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13875
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13876
|
+
let baseOptions;
|
|
13877
|
+
if (configuration) {
|
|
13878
|
+
baseOptions = configuration.baseOptions;
|
|
13879
|
+
}
|
|
13880
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
13881
|
+
const localVarHeaderParameter = {};
|
|
13882
|
+
const localVarQueryParameter = {};
|
|
13883
|
+
// authentication domainAuth required
|
|
13884
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13885
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13886
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
13887
|
+
return {
|
|
13888
|
+
url: toPathString(localVarUrlObj),
|
|
13889
|
+
options: localVarRequestOptions,
|
|
13890
|
+
};
|
|
13891
|
+
},
|
|
13892
|
+
/**
|
|
13893
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
13894
|
+
* @summary Subscribe to a registry
|
|
13895
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
13896
|
+
* @param {*} [options] Override http request option.
|
|
13897
|
+
* @throws {RequiredError}
|
|
13898
|
+
*/
|
|
13899
|
+
registryControllerSubscribe: async (registrySubscribeBody, options = {}) => {
|
|
13900
|
+
const localVarPath = `/registry`;
|
|
13901
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13902
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13903
|
+
let baseOptions;
|
|
13904
|
+
if (configuration) {
|
|
13905
|
+
baseOptions = configuration.baseOptions;
|
|
13906
|
+
}
|
|
13907
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
13908
|
+
const localVarHeaderParameter = {};
|
|
13909
|
+
const localVarQueryParameter = {};
|
|
13910
|
+
// authentication domainAuth required
|
|
13911
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13912
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13913
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13914
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
13915
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
|
|
13916
|
+
return {
|
|
13917
|
+
url: toPathString(localVarUrlObj),
|
|
13918
|
+
options: localVarRequestOptions,
|
|
13919
|
+
};
|
|
13920
|
+
},
|
|
13921
|
+
/**
|
|
13922
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
13923
|
+
* @summary Unsubscribe from a registry
|
|
13924
|
+
* @param {string} id
|
|
13925
|
+
* @param {*} [options] Override http request option.
|
|
13926
|
+
* @throws {RequiredError}
|
|
13927
|
+
*/
|
|
13928
|
+
registryControllerUnsubscribe: async (id, options = {}) => {
|
|
13929
|
+
// verify required parameter 'id' is not null or undefined
|
|
13930
|
+
assertParamExists('registryControllerUnsubscribe', 'id', id);
|
|
13931
|
+
const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
13932
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13933
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13934
|
+
let baseOptions;
|
|
13935
|
+
if (configuration) {
|
|
13936
|
+
baseOptions = configuration.baseOptions;
|
|
13937
|
+
}
|
|
13938
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
13939
|
+
const localVarHeaderParameter = {};
|
|
13940
|
+
const localVarQueryParameter = {};
|
|
13941
|
+
// authentication domainAuth required
|
|
13942
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13943
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13944
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
13945
|
+
return {
|
|
13946
|
+
url: toPathString(localVarUrlObj),
|
|
13947
|
+
options: localVarRequestOptions,
|
|
13948
|
+
};
|
|
13949
|
+
},
|
|
13950
|
+
};
|
|
13951
|
+
};
|
|
13952
|
+
/**
|
|
13953
|
+
* RegistryApi - functional programming interface
|
|
13954
|
+
* @export
|
|
13955
|
+
*/
|
|
13956
|
+
export const RegistryApiFp = function (configuration) {
|
|
13957
|
+
const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
|
|
13958
|
+
return {
|
|
13959
|
+
/**
|
|
13960
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
13961
|
+
* @summary Install a module from a registry
|
|
13962
|
+
* @param {string} id
|
|
13963
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
13964
|
+
* @param {*} [options] Override http request option.
|
|
13965
|
+
* @throws {RequiredError}
|
|
13966
|
+
*/
|
|
13967
|
+
async registryControllerInstall(id, registryInstallBody, options) {
|
|
13968
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(id, registryInstallBody, options);
|
|
13969
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13970
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
|
|
13971
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13972
|
+
},
|
|
13973
|
+
/**
|
|
13974
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
13975
|
+
* @summary List subscribed registries
|
|
13976
|
+
* @param {*} [options] Override http request option.
|
|
13977
|
+
* @throws {RequiredError}
|
|
13978
|
+
*/
|
|
13979
|
+
async registryControllerList(options) {
|
|
13980
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
|
|
13981
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13982
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
|
|
13983
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13984
|
+
},
|
|
13985
|
+
/**
|
|
13986
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
13987
|
+
* @summary Refresh registry manifest
|
|
13988
|
+
* @param {string} id
|
|
13989
|
+
* @param {*} [options] Override http request option.
|
|
13990
|
+
* @throws {RequiredError}
|
|
13991
|
+
*/
|
|
13992
|
+
async registryControllerRefresh(id, options) {
|
|
13993
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
|
|
13994
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13995
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
|
|
13996
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13997
|
+
},
|
|
13998
|
+
/**
|
|
13999
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
14000
|
+
* @summary Subscribe to a registry
|
|
14001
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
14002
|
+
* @param {*} [options] Override http request option.
|
|
14003
|
+
* @throws {RequiredError}
|
|
14004
|
+
*/
|
|
14005
|
+
async registryControllerSubscribe(registrySubscribeBody, options) {
|
|
14006
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerSubscribe(registrySubscribeBody, options);
|
|
14007
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14008
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerSubscribe']?.[localVarOperationServerIndex]?.url;
|
|
14009
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14010
|
+
},
|
|
14011
|
+
/**
|
|
14012
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
14013
|
+
* @summary Unsubscribe from a registry
|
|
14014
|
+
* @param {string} id
|
|
14015
|
+
* @param {*} [options] Override http request option.
|
|
14016
|
+
* @throws {RequiredError}
|
|
14017
|
+
*/
|
|
14018
|
+
async registryControllerUnsubscribe(id, options) {
|
|
14019
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerUnsubscribe(id, options);
|
|
14020
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14021
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerUnsubscribe']?.[localVarOperationServerIndex]?.url;
|
|
14022
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14023
|
+
},
|
|
14024
|
+
};
|
|
14025
|
+
};
|
|
14026
|
+
/**
|
|
14027
|
+
* RegistryApi - factory interface
|
|
14028
|
+
* @export
|
|
14029
|
+
*/
|
|
14030
|
+
export const RegistryApiFactory = function (configuration, basePath, axios) {
|
|
14031
|
+
const localVarFp = RegistryApiFp(configuration);
|
|
14032
|
+
return {
|
|
14033
|
+
/**
|
|
14034
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
14035
|
+
* @summary Install a module from a registry
|
|
14036
|
+
* @param {string} id
|
|
14037
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
14038
|
+
* @param {*} [options] Override http request option.
|
|
14039
|
+
* @throws {RequiredError}
|
|
14040
|
+
*/
|
|
14041
|
+
registryControllerInstall(id, registryInstallBody, options) {
|
|
14042
|
+
return localVarFp
|
|
14043
|
+
.registryControllerInstall(id, registryInstallBody, options)
|
|
14044
|
+
.then((request) => request(axios, basePath));
|
|
14045
|
+
},
|
|
14046
|
+
/**
|
|
14047
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
14048
|
+
* @summary List subscribed registries
|
|
14049
|
+
* @param {*} [options] Override http request option.
|
|
14050
|
+
* @throws {RequiredError}
|
|
14051
|
+
*/
|
|
14052
|
+
registryControllerList(options) {
|
|
14053
|
+
return localVarFp.registryControllerList(options).then((request) => request(axios, basePath));
|
|
14054
|
+
},
|
|
14055
|
+
/**
|
|
14056
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
14057
|
+
* @summary Refresh registry manifest
|
|
14058
|
+
* @param {string} id
|
|
14059
|
+
* @param {*} [options] Override http request option.
|
|
14060
|
+
* @throws {RequiredError}
|
|
14061
|
+
*/
|
|
14062
|
+
registryControllerRefresh(id, options) {
|
|
14063
|
+
return localVarFp.registryControllerRefresh(id, options).then((request) => request(axios, basePath));
|
|
14064
|
+
},
|
|
14065
|
+
/**
|
|
14066
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
14067
|
+
* @summary Subscribe to a registry
|
|
14068
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
14069
|
+
* @param {*} [options] Override http request option.
|
|
14070
|
+
* @throws {RequiredError}
|
|
14071
|
+
*/
|
|
14072
|
+
registryControllerSubscribe(registrySubscribeBody, options) {
|
|
14073
|
+
return localVarFp
|
|
14074
|
+
.registryControllerSubscribe(registrySubscribeBody, options)
|
|
14075
|
+
.then((request) => request(axios, basePath));
|
|
14076
|
+
},
|
|
14077
|
+
/**
|
|
14078
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
14079
|
+
* @summary Unsubscribe from a registry
|
|
14080
|
+
* @param {string} id
|
|
14081
|
+
* @param {*} [options] Override http request option.
|
|
14082
|
+
* @throws {RequiredError}
|
|
14083
|
+
*/
|
|
14084
|
+
registryControllerUnsubscribe(id, options) {
|
|
14085
|
+
return localVarFp.registryControllerUnsubscribe(id, options).then((request) => request(axios, basePath));
|
|
14086
|
+
},
|
|
14087
|
+
};
|
|
14088
|
+
};
|
|
14089
|
+
/**
|
|
14090
|
+
* RegistryApi - object-oriented interface
|
|
14091
|
+
* @export
|
|
14092
|
+
* @class RegistryApi
|
|
14093
|
+
* @extends {BaseAPI}
|
|
14094
|
+
*/
|
|
14095
|
+
export class RegistryApi extends BaseAPI {
|
|
14096
|
+
/**
|
|
14097
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
14098
|
+
* @summary Install a module from a registry
|
|
14099
|
+
* @param {string} id
|
|
14100
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
12972
14101
|
* @param {*} [options] Override http request option.
|
|
12973
14102
|
* @throws {RequiredError}
|
|
12974
|
-
* @memberof
|
|
14103
|
+
* @memberof RegistryApi
|
|
12975
14104
|
*/
|
|
12976
|
-
|
|
12977
|
-
return
|
|
12978
|
-
.
|
|
14105
|
+
registryControllerInstall(id, registryInstallBody, options) {
|
|
14106
|
+
return RegistryApiFp(this.configuration)
|
|
14107
|
+
.registryControllerInstall(id, registryInstallBody, options)
|
|
12979
14108
|
.then((request) => request(this.axios, this.basePath));
|
|
12980
14109
|
}
|
|
12981
14110
|
/**
|
|
12982
|
-
*
|
|
12983
|
-
* @summary
|
|
12984
|
-
* @param {string} gameServerId
|
|
12985
|
-
* @param {string} playerId
|
|
14111
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
14112
|
+
* @summary List subscribed registries
|
|
12986
14113
|
* @param {*} [options] Override http request option.
|
|
12987
14114
|
* @throws {RequiredError}
|
|
12988
|
-
* @memberof
|
|
14115
|
+
* @memberof RegistryApi
|
|
12989
14116
|
*/
|
|
12990
|
-
|
|
12991
|
-
return
|
|
12992
|
-
.
|
|
14117
|
+
registryControllerList(options) {
|
|
14118
|
+
return RegistryApiFp(this.configuration)
|
|
14119
|
+
.registryControllerList(options)
|
|
12993
14120
|
.then((request) => request(this.axios, this.basePath));
|
|
12994
14121
|
}
|
|
12995
14122
|
/**
|
|
12996
|
-
*
|
|
12997
|
-
* @summary
|
|
12998
|
-
* @param {
|
|
14123
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
14124
|
+
* @summary Refresh registry manifest
|
|
14125
|
+
* @param {string} id
|
|
12999
14126
|
* @param {*} [options] Override http request option.
|
|
13000
14127
|
* @throws {RequiredError}
|
|
13001
|
-
* @memberof
|
|
14128
|
+
* @memberof RegistryApi
|
|
13002
14129
|
*/
|
|
13003
|
-
|
|
13004
|
-
return
|
|
13005
|
-
.
|
|
14130
|
+
registryControllerRefresh(id, options) {
|
|
14131
|
+
return RegistryApiFp(this.configuration)
|
|
14132
|
+
.registryControllerRefresh(id, options)
|
|
13006
14133
|
.then((request) => request(this.axios, this.basePath));
|
|
13007
14134
|
}
|
|
13008
14135
|
/**
|
|
13009
|
-
*
|
|
13010
|
-
* @summary
|
|
13011
|
-
* @param {
|
|
13012
|
-
* @param {string} playerId
|
|
13013
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14136
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
14137
|
+
* @summary Subscribe to a registry
|
|
14138
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
13014
14139
|
* @param {*} [options] Override http request option.
|
|
13015
14140
|
* @throws {RequiredError}
|
|
13016
|
-
* @memberof
|
|
14141
|
+
* @memberof RegistryApi
|
|
13017
14142
|
*/
|
|
13018
|
-
|
|
13019
|
-
return
|
|
13020
|
-
.
|
|
14143
|
+
registryControllerSubscribe(registrySubscribeBody, options) {
|
|
14144
|
+
return RegistryApiFp(this.configuration)
|
|
14145
|
+
.registryControllerSubscribe(registrySubscribeBody, options)
|
|
13021
14146
|
.then((request) => request(this.axios, this.basePath));
|
|
13022
14147
|
}
|
|
13023
14148
|
/**
|
|
13024
|
-
*
|
|
13025
|
-
* @summary
|
|
13026
|
-
* @param {string}
|
|
13027
|
-
* @param {string} sender
|
|
13028
|
-
* @param {string} receiver
|
|
13029
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14149
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
14150
|
+
* @summary Unsubscribe from a registry
|
|
14151
|
+
* @param {string} id
|
|
13030
14152
|
* @param {*} [options] Override http request option.
|
|
13031
14153
|
* @throws {RequiredError}
|
|
13032
|
-
* @memberof
|
|
14154
|
+
* @memberof RegistryApi
|
|
13033
14155
|
*/
|
|
13034
|
-
|
|
13035
|
-
return
|
|
13036
|
-
.
|
|
14156
|
+
registryControllerUnsubscribe(id, options) {
|
|
14157
|
+
return RegistryApiFp(this.configuration)
|
|
14158
|
+
.registryControllerUnsubscribe(id, options)
|
|
13037
14159
|
.then((request) => request(this.axios, this.basePath));
|
|
13038
14160
|
}
|
|
13039
14161
|
}
|
|
@@ -15704,6 +16826,240 @@ export class ShopOrderApi extends BaseAPI {
|
|
|
15704
16826
|
.then((request) => request(this.axios, this.basePath));
|
|
15705
16827
|
}
|
|
15706
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
|
|
17027
|
+
* @param {*} [options] Override http request option.
|
|
17028
|
+
* @throws {RequiredError}
|
|
17029
|
+
* @memberof StorefrontConfigApi
|
|
17030
|
+
*/
|
|
17031
|
+
storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17032
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17033
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
17034
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17035
|
+
}
|
|
17036
|
+
/**
|
|
17037
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17038
|
+
* @summary List templates
|
|
17039
|
+
* @param {*} [options] Override http request option.
|
|
17040
|
+
* @throws {RequiredError}
|
|
17041
|
+
* @memberof StorefrontConfigApi
|
|
17042
|
+
*/
|
|
17043
|
+
storefrontConfigControllerListTemplates(options) {
|
|
17044
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17045
|
+
.storefrontConfigControllerListTemplates(options)
|
|
17046
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17047
|
+
}
|
|
17048
|
+
/**
|
|
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
|
|
17053
|
+
* @param {*} [options] Override http request option.
|
|
17054
|
+
* @throws {RequiredError}
|
|
17055
|
+
* @memberof StorefrontConfigApi
|
|
17056
|
+
*/
|
|
17057
|
+
storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17058
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17059
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17060
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17061
|
+
}
|
|
17062
|
+
}
|
|
15707
17063
|
/**
|
|
15708
17064
|
* TrackingApi - axios parameter creator
|
|
15709
17065
|
* @export
|
|
@@ -16107,12 +17463,36 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
16107
17463
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
16108
17464
|
const localVarHeaderParameter = {};
|
|
16109
17465
|
const localVarQueryParameter = {};
|
|
16110
|
-
// authentication domainAuth required
|
|
16111
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17466
|
+
// authentication domainAuth required
|
|
17467
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17468
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17469
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17470
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17471
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userRoleAssignChangeDTO, localVarRequestOptions, configuration);
|
|
17472
|
+
return {
|
|
17473
|
+
url: toPathString(localVarUrlObj),
|
|
17474
|
+
options: localVarRequestOptions,
|
|
17475
|
+
};
|
|
17476
|
+
},
|
|
17477
|
+
/**
|
|
17478
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
17479
|
+
* @summary Count billable dashboard users
|
|
17480
|
+
* @param {*} [options] Override http request option.
|
|
17481
|
+
* @throws {RequiredError}
|
|
17482
|
+
*/
|
|
17483
|
+
userControllerCountBillableDashboardUsers: async (options = {}) => {
|
|
17484
|
+
const localVarPath = `/user/count`;
|
|
17485
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17486
|
+
let baseOptions;
|
|
17487
|
+
if (configuration) {
|
|
17488
|
+
baseOptions = configuration.baseOptions;
|
|
17489
|
+
}
|
|
17490
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17491
|
+
const localVarHeaderParameter = {};
|
|
17492
|
+
const localVarQueryParameter = {};
|
|
16112
17493
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16113
|
-
|
|
17494
|
+
const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16114
17495
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
16115
|
-
localVarRequestOptions.data = serializeDataIfNeeded(userRoleAssignChangeDTO, localVarRequestOptions, configuration);
|
|
16116
17496
|
return {
|
|
16117
17497
|
url: toPathString(localVarUrlObj),
|
|
16118
17498
|
options: localVarRequestOptions,
|
|
@@ -16518,6 +17898,18 @@ export const UserApiFp = function (configuration) {
|
|
|
16518
17898
|
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
16519
17899
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16520
17900
|
},
|
|
17901
|
+
/**
|
|
17902
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
17903
|
+
* @summary Count billable dashboard users
|
|
17904
|
+
* @param {*} [options] Override http request option.
|
|
17905
|
+
* @throws {RequiredError}
|
|
17906
|
+
*/
|
|
17907
|
+
async userControllerCountBillableDashboardUsers(options) {
|
|
17908
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
17909
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17910
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
17911
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17912
|
+
},
|
|
16521
17913
|
/**
|
|
16522
17914
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
16523
17915
|
* @summary Create
|
|
@@ -16709,6 +18101,15 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
16709
18101
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
16710
18102
|
.then((request) => request(axios, basePath));
|
|
16711
18103
|
},
|
|
18104
|
+
/**
|
|
18105
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18106
|
+
* @summary Count billable dashboard users
|
|
18107
|
+
* @param {*} [options] Override http request option.
|
|
18108
|
+
* @throws {RequiredError}
|
|
18109
|
+
*/
|
|
18110
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18111
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
18112
|
+
},
|
|
16712
18113
|
/**
|
|
16713
18114
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
16714
18115
|
* @summary Create
|
|
@@ -16864,6 +18265,18 @@ export class UserApi extends BaseAPI {
|
|
|
16864
18265
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
16865
18266
|
.then((request) => request(this.axios, this.basePath));
|
|
16866
18267
|
}
|
|
18268
|
+
/**
|
|
18269
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18270
|
+
* @summary Count billable dashboard users
|
|
18271
|
+
* @param {*} [options] Override http request option.
|
|
18272
|
+
* @throws {RequiredError}
|
|
18273
|
+
* @memberof UserApi
|
|
18274
|
+
*/
|
|
18275
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18276
|
+
return UserApiFp(this.configuration)
|
|
18277
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
18278
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18279
|
+
}
|
|
16867
18280
|
/**
|
|
16868
18281
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
16869
18282
|
* @summary Create
|
|
@@ -17404,4 +18817,358 @@ export class VariableApi extends BaseAPI {
|
|
|
17404
18817
|
.then((request) => request(this.axios, this.basePath));
|
|
17405
18818
|
}
|
|
17406
18819
|
}
|
|
18820
|
+
/**
|
|
18821
|
+
* InviteLinkApi - axios parameter creator
|
|
18822
|
+
* @export
|
|
18823
|
+
*/
|
|
18824
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration) {
|
|
18825
|
+
return {
|
|
18826
|
+
/**
|
|
18827
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
18828
|
+
* @summary Create invite link
|
|
18829
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
18830
|
+
* @param {*} [options] Override http request option.
|
|
18831
|
+
* @throws {RequiredError}
|
|
18832
|
+
*/
|
|
18833
|
+
inviteLinkControllerCreate: async (inviteLinkCreateInputDTO, options = {}) => {
|
|
18834
|
+
const localVarPath = `/invite-link`;
|
|
18835
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18836
|
+
let baseOptions;
|
|
18837
|
+
if (configuration) {
|
|
18838
|
+
baseOptions = configuration.baseOptions;
|
|
18839
|
+
}
|
|
18840
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
18841
|
+
const localVarHeaderParameter = {};
|
|
18842
|
+
const localVarQueryParameter = {};
|
|
18843
|
+
// authentication domainAuth required
|
|
18844
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18845
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18846
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18847
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18848
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
|
|
18849
|
+
return {
|
|
18850
|
+
url: toPathString(localVarUrlObj),
|
|
18851
|
+
options: localVarRequestOptions,
|
|
18852
|
+
};
|
|
18853
|
+
},
|
|
18854
|
+
/**
|
|
18855
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
18856
|
+
* @summary Preview
|
|
18857
|
+
* @param {string} token
|
|
18858
|
+
* @param {*} [options] Override http request option.
|
|
18859
|
+
* @throws {RequiredError}
|
|
18860
|
+
*/
|
|
18861
|
+
inviteLinkControllerPreview: async (token, options = {}) => {
|
|
18862
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
18863
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
18864
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18865
|
+
let baseOptions;
|
|
18866
|
+
if (configuration) {
|
|
18867
|
+
baseOptions = configuration.baseOptions;
|
|
18868
|
+
}
|
|
18869
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18870
|
+
const localVarHeaderParameter = {};
|
|
18871
|
+
const localVarQueryParameter = {};
|
|
18872
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18873
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18874
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18875
|
+
return {
|
|
18876
|
+
url: toPathString(localVarUrlObj),
|
|
18877
|
+
options: localVarRequestOptions,
|
|
18878
|
+
};
|
|
18879
|
+
},
|
|
18880
|
+
/**
|
|
18881
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
18882
|
+
* @summary Redeem
|
|
18883
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
18884
|
+
* @param {*} [options] Override http request option.
|
|
18885
|
+
* @throws {RequiredError}
|
|
18886
|
+
*/
|
|
18887
|
+
inviteLinkControllerRedeem: async (redeemInputDTO, options = {}) => {
|
|
18888
|
+
const localVarPath = `/invite-link/redeem`;
|
|
18889
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18890
|
+
let baseOptions;
|
|
18891
|
+
if (configuration) {
|
|
18892
|
+
baseOptions = configuration.baseOptions;
|
|
18893
|
+
}
|
|
18894
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
18895
|
+
const localVarHeaderParameter = {};
|
|
18896
|
+
const localVarQueryParameter = {};
|
|
18897
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18898
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18899
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18900
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18901
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
18902
|
+
return {
|
|
18903
|
+
url: toPathString(localVarUrlObj),
|
|
18904
|
+
options: localVarRequestOptions,
|
|
18905
|
+
};
|
|
18906
|
+
},
|
|
18907
|
+
/**
|
|
18908
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
18909
|
+
* @summary Revoke
|
|
18910
|
+
* @param {string} id
|
|
18911
|
+
* @param {*} [options] Override http request option.
|
|
18912
|
+
* @throws {RequiredError}
|
|
18913
|
+
*/
|
|
18914
|
+
inviteLinkControllerRevoke: async (id, options = {}) => {
|
|
18915
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
18916
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
18917
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18918
|
+
let baseOptions;
|
|
18919
|
+
if (configuration) {
|
|
18920
|
+
baseOptions = configuration.baseOptions;
|
|
18921
|
+
}
|
|
18922
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
18923
|
+
const localVarHeaderParameter = {};
|
|
18924
|
+
const localVarQueryParameter = {};
|
|
18925
|
+
// authentication domainAuth required
|
|
18926
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18927
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18928
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18929
|
+
return {
|
|
18930
|
+
url: toPathString(localVarUrlObj),
|
|
18931
|
+
options: localVarRequestOptions,
|
|
18932
|
+
};
|
|
18933
|
+
},
|
|
18934
|
+
/**
|
|
18935
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
18936
|
+
* @summary Search
|
|
18937
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
18938
|
+
* @param {*} [options] Override http request option.
|
|
18939
|
+
* @throws {RequiredError}
|
|
18940
|
+
*/
|
|
18941
|
+
inviteLinkControllerSearch: async (inviteLinkSearchInputDTO, options = {}) => {
|
|
18942
|
+
const localVarPath = `/invite-link/search`;
|
|
18943
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18944
|
+
let baseOptions;
|
|
18945
|
+
if (configuration) {
|
|
18946
|
+
baseOptions = configuration.baseOptions;
|
|
18947
|
+
}
|
|
18948
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
18949
|
+
const localVarHeaderParameter = {};
|
|
18950
|
+
const localVarQueryParameter = {};
|
|
18951
|
+
// authentication domainAuth required
|
|
18952
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18953
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18954
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18955
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18956
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkSearchInputDTO, localVarRequestOptions, configuration);
|
|
18957
|
+
return {
|
|
18958
|
+
url: toPathString(localVarUrlObj),
|
|
18959
|
+
options: localVarRequestOptions,
|
|
18960
|
+
};
|
|
18961
|
+
},
|
|
18962
|
+
};
|
|
18963
|
+
};
|
|
18964
|
+
/**
|
|
18965
|
+
* InviteLinkApi - functional programming interface
|
|
18966
|
+
* @export
|
|
18967
|
+
*/
|
|
18968
|
+
export const InviteLinkApiFp = function (configuration) {
|
|
18969
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
18970
|
+
return {
|
|
18971
|
+
/**
|
|
18972
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
18973
|
+
* @summary Create invite link
|
|
18974
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
18975
|
+
* @param {*} [options] Override http request option.
|
|
18976
|
+
* @throws {RequiredError}
|
|
18977
|
+
*/
|
|
18978
|
+
async inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
18979
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options);
|
|
18980
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18981
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
18982
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18983
|
+
},
|
|
18984
|
+
/**
|
|
18985
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
18986
|
+
* @summary Preview
|
|
18987
|
+
* @param {string} token
|
|
18988
|
+
* @param {*} [options] Override http request option.
|
|
18989
|
+
* @throws {RequiredError}
|
|
18990
|
+
*/
|
|
18991
|
+
async inviteLinkControllerPreview(token, options) {
|
|
18992
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
18993
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18994
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
18995
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18996
|
+
},
|
|
18997
|
+
/**
|
|
18998
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
18999
|
+
* @summary Redeem
|
|
19000
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
19001
|
+
* @param {*} [options] Override http request option.
|
|
19002
|
+
* @throws {RequiredError}
|
|
19003
|
+
*/
|
|
19004
|
+
async inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
19005
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
19006
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19007
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
19008
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19009
|
+
},
|
|
19010
|
+
/**
|
|
19011
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
19012
|
+
* @summary Revoke
|
|
19013
|
+
* @param {string} id
|
|
19014
|
+
* @param {*} [options] Override http request option.
|
|
19015
|
+
* @throws {RequiredError}
|
|
19016
|
+
*/
|
|
19017
|
+
async inviteLinkControllerRevoke(id, options) {
|
|
19018
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
19019
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19020
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
19021
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19022
|
+
},
|
|
19023
|
+
/**
|
|
19024
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
19025
|
+
* @summary Search
|
|
19026
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
19027
|
+
* @param {*} [options] Override http request option.
|
|
19028
|
+
* @throws {RequiredError}
|
|
19029
|
+
*/
|
|
19030
|
+
async inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
19031
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options);
|
|
19032
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19033
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
19034
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19035
|
+
},
|
|
19036
|
+
};
|
|
19037
|
+
};
|
|
19038
|
+
/**
|
|
19039
|
+
* InviteLinkApi - factory interface
|
|
19040
|
+
* @export
|
|
19041
|
+
*/
|
|
19042
|
+
export const InviteLinkApiFactory = function (configuration, basePath, axios) {
|
|
19043
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
19044
|
+
return {
|
|
19045
|
+
/**
|
|
19046
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
19047
|
+
* @summary Create invite link
|
|
19048
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
19049
|
+
* @param {*} [options] Override http request option.
|
|
19050
|
+
* @throws {RequiredError}
|
|
19051
|
+
*/
|
|
19052
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
19053
|
+
return localVarFp
|
|
19054
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
19055
|
+
.then((request) => request(axios, basePath));
|
|
19056
|
+
},
|
|
19057
|
+
/**
|
|
19058
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
19059
|
+
* @summary Preview
|
|
19060
|
+
* @param {string} token
|
|
19061
|
+
* @param {*} [options] Override http request option.
|
|
19062
|
+
* @throws {RequiredError}
|
|
19063
|
+
*/
|
|
19064
|
+
inviteLinkControllerPreview(token, options) {
|
|
19065
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
19066
|
+
},
|
|
19067
|
+
/**
|
|
19068
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
19069
|
+
* @summary Redeem
|
|
19070
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
19071
|
+
* @param {*} [options] Override http request option.
|
|
19072
|
+
* @throws {RequiredError}
|
|
19073
|
+
*/
|
|
19074
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
19075
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
19076
|
+
},
|
|
19077
|
+
/**
|
|
19078
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
19079
|
+
* @summary Revoke
|
|
19080
|
+
* @param {string} id
|
|
19081
|
+
* @param {*} [options] Override http request option.
|
|
19082
|
+
* @throws {RequiredError}
|
|
19083
|
+
*/
|
|
19084
|
+
inviteLinkControllerRevoke(id, options) {
|
|
19085
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
19086
|
+
},
|
|
19087
|
+
/**
|
|
19088
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
19089
|
+
* @summary Search
|
|
19090
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
19091
|
+
* @param {*} [options] Override http request option.
|
|
19092
|
+
* @throws {RequiredError}
|
|
19093
|
+
*/
|
|
19094
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
19095
|
+
return localVarFp
|
|
19096
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
19097
|
+
.then((request) => request(axios, basePath));
|
|
19098
|
+
},
|
|
19099
|
+
};
|
|
19100
|
+
};
|
|
19101
|
+
/**
|
|
19102
|
+
* InviteLinkApi - object-oriented interface
|
|
19103
|
+
* @export
|
|
19104
|
+
* @class InviteLinkApi
|
|
19105
|
+
* @extends {BaseAPI}
|
|
19106
|
+
*/
|
|
19107
|
+
export class InviteLinkApi extends BaseAPI {
|
|
19108
|
+
/**
|
|
19109
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
19110
|
+
* @summary Create invite link
|
|
19111
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
19112
|
+
* @param {*} [options] Override http request option.
|
|
19113
|
+
* @throws {RequiredError}
|
|
19114
|
+
* @memberof InviteLinkApi
|
|
19115
|
+
*/
|
|
19116
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
19117
|
+
return InviteLinkApiFp(this.configuration)
|
|
19118
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
19119
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19120
|
+
}
|
|
19121
|
+
/**
|
|
19122
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
19123
|
+
* @summary Preview
|
|
19124
|
+
* @param {string} token
|
|
19125
|
+
* @param {*} [options] Override http request option.
|
|
19126
|
+
* @throws {RequiredError}
|
|
19127
|
+
* @memberof InviteLinkApi
|
|
19128
|
+
*/
|
|
19129
|
+
inviteLinkControllerPreview(token, options) {
|
|
19130
|
+
return InviteLinkApiFp(this.configuration)
|
|
19131
|
+
.inviteLinkControllerPreview(token, options)
|
|
19132
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19133
|
+
}
|
|
19134
|
+
/**
|
|
19135
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
19136
|
+
* @summary Redeem
|
|
19137
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
19138
|
+
* @param {*} [options] Override http request option.
|
|
19139
|
+
* @throws {RequiredError}
|
|
19140
|
+
* @memberof InviteLinkApi
|
|
19141
|
+
*/
|
|
19142
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
19143
|
+
return InviteLinkApiFp(this.configuration)
|
|
19144
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
19145
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19146
|
+
}
|
|
19147
|
+
/**
|
|
19148
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
19149
|
+
* @summary Revoke
|
|
19150
|
+
* @param {string} id
|
|
19151
|
+
* @param {*} [options] Override http request option.
|
|
19152
|
+
* @throws {RequiredError}
|
|
19153
|
+
* @memberof InviteLinkApi
|
|
19154
|
+
*/
|
|
19155
|
+
inviteLinkControllerRevoke(id, options) {
|
|
19156
|
+
return InviteLinkApiFp(this.configuration)
|
|
19157
|
+
.inviteLinkControllerRevoke(id, options)
|
|
19158
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19159
|
+
}
|
|
19160
|
+
/**
|
|
19161
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
19162
|
+
* @summary Search
|
|
19163
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
19164
|
+
* @param {*} [options] Override http request option.
|
|
19165
|
+
* @throws {RequiredError}
|
|
19166
|
+
* @memberof InviteLinkApi
|
|
19167
|
+
*/
|
|
19168
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
19169
|
+
return InviteLinkApiFp(this.configuration)
|
|
19170
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
19171
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19172
|
+
}
|
|
19173
|
+
}
|
|
17407
19174
|
//# sourceMappingURL=api.js.map
|