@takaro/apiclient 0.0.0-dev.ffa8379 → 0.0.0-dev.ffad140
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 +1782 -204
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1696 -534
- 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 +13 -0
- 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 +2845 -340
- package/src/lib/__tests__/baseClient.unit.test.ts +17 -0
- package/src/lib/baseClient.ts +16 -0
- package/src/lib/client.ts +11 -0
package/dist/generated/api.js
CHANGED
|
@@ -148,6 +148,7 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
148
148
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
149
149
|
EventRateLimited: 'event-rate-limited',
|
|
150
150
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
151
|
+
InviteLinkCreated: 'invite-link-created',
|
|
151
152
|
PlayerConnected: 'player-connected',
|
|
152
153
|
PlayerDisconnected: 'player-disconnected',
|
|
153
154
|
ChatMessage: 'chat-message',
|
|
@@ -194,6 +195,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
|
|
|
194
195
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
195
196
|
EventRateLimited: 'event-rate-limited',
|
|
196
197
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
198
|
+
InviteLinkCreated: 'invite-link-created',
|
|
197
199
|
PlayerConnected: 'player-connected',
|
|
198
200
|
PlayerDisconnected: 'player-disconnected',
|
|
199
201
|
ChatMessage: 'chat-message',
|
|
@@ -240,6 +242,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
240
242
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
241
243
|
EventRateLimited: 'event-rate-limited',
|
|
242
244
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
245
|
+
InviteLinkCreated: 'invite-link-created',
|
|
243
246
|
PlayerConnected: 'player-connected',
|
|
244
247
|
PlayerDisconnected: 'player-disconnected',
|
|
245
248
|
ChatMessage: 'chat-message',
|
|
@@ -286,6 +289,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
286
289
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
287
290
|
EventRateLimited: 'event-rate-limited',
|
|
288
291
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
292
|
+
InviteLinkCreated: 'invite-link-created',
|
|
289
293
|
PlayerConnected: 'player-connected',
|
|
290
294
|
PlayerDisconnected: 'player-disconnected',
|
|
291
295
|
ChatMessage: 'chat-message',
|
|
@@ -438,6 +442,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
438
442
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
439
443
|
EventRateLimited: 'event-rate-limited',
|
|
440
444
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
445
|
+
InviteLinkCreated: 'invite-link-created',
|
|
441
446
|
};
|
|
442
447
|
export const HookOutputDTOEventTypeEnum = {
|
|
443
448
|
Log: 'log',
|
|
@@ -486,6 +491,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
486
491
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
487
492
|
EventRateLimited: 'event-rate-limited',
|
|
488
493
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
494
|
+
InviteLinkCreated: 'invite-link-created',
|
|
489
495
|
};
|
|
490
496
|
export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
491
497
|
Log: 'log',
|
|
@@ -534,6 +540,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
534
540
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
535
541
|
EventRateLimited: 'event-rate-limited',
|
|
536
542
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
543
|
+
InviteLinkCreated: 'invite-link-created',
|
|
537
544
|
};
|
|
538
545
|
export const HookSearchInputDTOExtendEnum = {
|
|
539
546
|
Module: 'module',
|
|
@@ -590,6 +597,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
590
597
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
591
598
|
EventRateLimited: 'event-rate-limited',
|
|
592
599
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
600
|
+
InviteLinkCreated: 'invite-link-created',
|
|
593
601
|
};
|
|
594
602
|
export const HookUpdateDTOEventTypeEnum = {
|
|
595
603
|
Log: 'log',
|
|
@@ -638,6 +646,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
638
646
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
639
647
|
EventRateLimited: 'event-rate-limited',
|
|
640
648
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
649
|
+
InviteLinkCreated: 'invite-link-created',
|
|
641
650
|
};
|
|
642
651
|
export const IEntityDTOTypeEnum = {
|
|
643
652
|
Hostile: 'hostile',
|
|
@@ -691,11 +700,34 @@ export const IHookEventTypeEnum = {
|
|
|
691
700
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
692
701
|
EventRateLimited: 'event-rate-limited',
|
|
693
702
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
703
|
+
InviteLinkCreated: 'invite-link-created',
|
|
694
704
|
};
|
|
695
705
|
export const ITakaroQuerySortDirectionEnum = {
|
|
696
706
|
Asc: 'asc',
|
|
697
707
|
Desc: 'desc',
|
|
698
708
|
};
|
|
709
|
+
export const InviteLinkCreateResultDTOStatusEnum = {
|
|
710
|
+
Active: 'ACTIVE',
|
|
711
|
+
Revoked: 'REVOKED',
|
|
712
|
+
Expired: 'EXPIRED',
|
|
713
|
+
Depleted: 'DEPLETED',
|
|
714
|
+
};
|
|
715
|
+
export const InviteLinkOutputDTOStatusEnum = {
|
|
716
|
+
Active: 'ACTIVE',
|
|
717
|
+
Revoked: 'REVOKED',
|
|
718
|
+
Expired: 'EXPIRED',
|
|
719
|
+
Depleted: 'DEPLETED',
|
|
720
|
+
};
|
|
721
|
+
export const InviteLinkPreviewDTOStatusEnum = {
|
|
722
|
+
Active: 'ACTIVE',
|
|
723
|
+
Revoked: 'REVOKED',
|
|
724
|
+
Expired: 'EXPIRED',
|
|
725
|
+
Depleted: 'DEPLETED',
|
|
726
|
+
};
|
|
727
|
+
export const InviteLinkSearchInputDTOSortDirectionEnum = {
|
|
728
|
+
Asc: 'asc',
|
|
729
|
+
Desc: 'desc',
|
|
730
|
+
};
|
|
699
731
|
export const ItemSearchInputDTOExtendEnum = {
|
|
700
732
|
Gameserver: 'gameserver',
|
|
701
733
|
};
|
|
@@ -724,6 +756,12 @@ export const MetaFilterGroupOrLeafDTOOperatorEnum = {
|
|
|
724
756
|
LessThan: '<',
|
|
725
757
|
ArrayContains: 'array_contains',
|
|
726
758
|
};
|
|
759
|
+
export const ModuleInstallationKpisQueryDTOPeriodEnum = {
|
|
760
|
+
_24h: '24h',
|
|
761
|
+
_7d: '7d',
|
|
762
|
+
_30d: '30d',
|
|
763
|
+
_90d: '90d',
|
|
764
|
+
};
|
|
727
765
|
export const ModuleInstallationSearchInputDTOSortDirectionEnum = {
|
|
728
766
|
Asc: 'asc',
|
|
729
767
|
Desc: 'desc',
|
|
@@ -1407,7 +1445,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1407
1445
|
};
|
|
1408
1446
|
},
|
|
1409
1447
|
/**
|
|
1410
|
-
* Normalized 0-1 scores across
|
|
1448
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
1411
1449
|
* @summary Get module health scores
|
|
1412
1450
|
* @param {string} [startDate]
|
|
1413
1451
|
* @param {string} [endDate]
|
|
@@ -1448,6 +1486,56 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1448
1486
|
options: localVarRequestOptions,
|
|
1449
1487
|
};
|
|
1450
1488
|
},
|
|
1489
|
+
/**
|
|
1490
|
+
* 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`
|
|
1491
|
+
* @summary Get per-installation module KPIs
|
|
1492
|
+
* @param {string} gameServerId
|
|
1493
|
+
* @param {string} moduleId
|
|
1494
|
+
* @param {string} [startDate]
|
|
1495
|
+
* @param {string} [endDate]
|
|
1496
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
1497
|
+
* @param {*} [options] Override http request option.
|
|
1498
|
+
* @throws {RequiredError}
|
|
1499
|
+
*/
|
|
1500
|
+
analyticsControllerGetModuleInstallationKpis: async (gameServerId, moduleId, startDate, endDate, period, options = {}) => {
|
|
1501
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
1502
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
|
|
1503
|
+
// verify required parameter 'moduleId' is not null or undefined
|
|
1504
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
|
|
1505
|
+
const localVarPath = `/analytics/modules/installation-kpis`;
|
|
1506
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1507
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1508
|
+
let baseOptions;
|
|
1509
|
+
if (configuration) {
|
|
1510
|
+
baseOptions = configuration.baseOptions;
|
|
1511
|
+
}
|
|
1512
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1513
|
+
const localVarHeaderParameter = {};
|
|
1514
|
+
const localVarQueryParameter = {};
|
|
1515
|
+
// authentication domainAuth required
|
|
1516
|
+
if (startDate !== undefined) {
|
|
1517
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
1518
|
+
}
|
|
1519
|
+
if (endDate !== undefined) {
|
|
1520
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
1521
|
+
}
|
|
1522
|
+
if (gameServerId !== undefined) {
|
|
1523
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
1524
|
+
}
|
|
1525
|
+
if (moduleId !== undefined) {
|
|
1526
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
1527
|
+
}
|
|
1528
|
+
if (period !== undefined) {
|
|
1529
|
+
localVarQueryParameter['period'] = period;
|
|
1530
|
+
}
|
|
1531
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1532
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1533
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1534
|
+
return {
|
|
1535
|
+
url: toPathString(localVarUrlObj),
|
|
1536
|
+
options: localVarRequestOptions,
|
|
1537
|
+
};
|
|
1538
|
+
},
|
|
1451
1539
|
/**
|
|
1452
1540
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
1453
1541
|
* @summary Get module item failure aggregate
|
|
@@ -2248,7 +2336,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2248
2336
|
},
|
|
2249
2337
|
/**
|
|
2250
2338
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2251
|
-
* @summary Get top modules by
|
|
2339
|
+
* @summary Get top modules by execution volume
|
|
2252
2340
|
* @param {string} [startDate]
|
|
2253
2341
|
* @param {string} [endDate]
|
|
2254
2342
|
* @param {string} [gameServerId]
|
|
@@ -2533,7 +2621,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2533
2621
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2534
2622
|
},
|
|
2535
2623
|
/**
|
|
2536
|
-
* Normalized 0-1 scores across
|
|
2624
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
2537
2625
|
* @summary Get module health scores
|
|
2538
2626
|
* @param {string} [startDate]
|
|
2539
2627
|
* @param {string} [endDate]
|
|
@@ -2548,6 +2636,24 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2548
2636
|
const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleHealth']?.[localVarOperationServerIndex]?.url;
|
|
2549
2637
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2550
2638
|
},
|
|
2639
|
+
/**
|
|
2640
|
+
* 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`
|
|
2641
|
+
* @summary Get per-installation module KPIs
|
|
2642
|
+
* @param {string} gameServerId
|
|
2643
|
+
* @param {string} moduleId
|
|
2644
|
+
* @param {string} [startDate]
|
|
2645
|
+
* @param {string} [endDate]
|
|
2646
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
2647
|
+
* @param {*} [options] Override http request option.
|
|
2648
|
+
* @throws {RequiredError}
|
|
2649
|
+
*/
|
|
2650
|
+
async analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
|
|
2651
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options);
|
|
2652
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2653
|
+
const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
|
|
2654
|
+
?.url;
|
|
2655
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2656
|
+
},
|
|
2551
2657
|
/**
|
|
2552
2658
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
2553
2659
|
* @summary Get module item failure aggregate
|
|
@@ -2860,7 +2966,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2860
2966
|
},
|
|
2861
2967
|
/**
|
|
2862
2968
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2863
|
-
* @summary Get top modules by
|
|
2969
|
+
* @summary Get top modules by execution volume
|
|
2864
2970
|
* @param {string} [startDate]
|
|
2865
2971
|
* @param {string} [endDate]
|
|
2866
2972
|
* @param {string} [gameServerId]
|
|
@@ -3076,7 +3182,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3076
3182
|
.then((request) => request(axios, basePath));
|
|
3077
3183
|
},
|
|
3078
3184
|
/**
|
|
3079
|
-
* Normalized 0-1 scores across
|
|
3185
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
3080
3186
|
* @summary Get module health scores
|
|
3081
3187
|
* @param {string} [startDate]
|
|
3082
3188
|
* @param {string} [endDate]
|
|
@@ -3090,6 +3196,22 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3090
3196
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
3091
3197
|
.then((request) => request(axios, basePath));
|
|
3092
3198
|
},
|
|
3199
|
+
/**
|
|
3200
|
+
* 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`
|
|
3201
|
+
* @summary Get per-installation module KPIs
|
|
3202
|
+
* @param {string} gameServerId
|
|
3203
|
+
* @param {string} moduleId
|
|
3204
|
+
* @param {string} [startDate]
|
|
3205
|
+
* @param {string} [endDate]
|
|
3206
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
3207
|
+
* @param {*} [options] Override http request option.
|
|
3208
|
+
* @throws {RequiredError}
|
|
3209
|
+
*/
|
|
3210
|
+
analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
|
|
3211
|
+
return localVarFp
|
|
3212
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
3213
|
+
.then((request) => request(axios, basePath));
|
|
3214
|
+
},
|
|
3093
3215
|
/**
|
|
3094
3216
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
3095
3217
|
* @summary Get module item failure aggregate
|
|
@@ -3377,7 +3499,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3377
3499
|
},
|
|
3378
3500
|
/**
|
|
3379
3501
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
3380
|
-
* @summary Get top modules by
|
|
3502
|
+
* @summary Get top modules by execution volume
|
|
3381
3503
|
* @param {string} [startDate]
|
|
3382
3504
|
* @param {string} [endDate]
|
|
3383
3505
|
* @param {string} [gameServerId]
|
|
@@ -3604,7 +3726,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3604
3726
|
.then((request) => request(this.axios, this.basePath));
|
|
3605
3727
|
}
|
|
3606
3728
|
/**
|
|
3607
|
-
* Normalized 0-1 scores across
|
|
3729
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
3608
3730
|
* @summary Get module health scores
|
|
3609
3731
|
* @param {string} [startDate]
|
|
3610
3732
|
* @param {string} [endDate]
|
|
@@ -3619,6 +3741,23 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3619
3741
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
3620
3742
|
.then((request) => request(this.axios, this.basePath));
|
|
3621
3743
|
}
|
|
3744
|
+
/**
|
|
3745
|
+
* 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`
|
|
3746
|
+
* @summary Get per-installation module KPIs
|
|
3747
|
+
* @param {string} gameServerId
|
|
3748
|
+
* @param {string} moduleId
|
|
3749
|
+
* @param {string} [startDate]
|
|
3750
|
+
* @param {string} [endDate]
|
|
3751
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
3752
|
+
* @param {*} [options] Override http request option.
|
|
3753
|
+
* @throws {RequiredError}
|
|
3754
|
+
* @memberof AnalyticsApi
|
|
3755
|
+
*/
|
|
3756
|
+
analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
|
|
3757
|
+
return AnalyticsApiFp(this.configuration)
|
|
3758
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
3759
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3760
|
+
}
|
|
3622
3761
|
/**
|
|
3623
3762
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
3624
3763
|
* @summary Get module item failure aggregate
|
|
@@ -3925,7 +4064,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3925
4064
|
}
|
|
3926
4065
|
/**
|
|
3927
4066
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
3928
|
-
* @summary Get top modules by
|
|
4067
|
+
* @summary Get top modules by execution volume
|
|
3929
4068
|
* @param {string} [startDate]
|
|
3930
4069
|
* @param {string} [endDate]
|
|
3931
4070
|
* @param {string} [gameServerId]
|
|
@@ -4064,6 +4203,15 @@ export const AnalyticsControllerGetModuleHealthPeriodEnum = {
|
|
|
4064
4203
|
_30d: '30d',
|
|
4065
4204
|
_90d: '90d',
|
|
4066
4205
|
};
|
|
4206
|
+
/**
|
|
4207
|
+
* @export
|
|
4208
|
+
*/
|
|
4209
|
+
export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
|
|
4210
|
+
_24h: '24h',
|
|
4211
|
+
_7d: '7d',
|
|
4212
|
+
_30d: '30d',
|
|
4213
|
+
_90d: '90d',
|
|
4214
|
+
};
|
|
4067
4215
|
/**
|
|
4068
4216
|
* @export
|
|
4069
4217
|
*/
|
|
@@ -4254,118 +4402,99 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
|
|
|
4254
4402
|
_90d: '90d',
|
|
4255
4403
|
};
|
|
4256
4404
|
/**
|
|
4257
|
-
*
|
|
4405
|
+
* AuthApi - axios parameter creator
|
|
4258
4406
|
* @export
|
|
4259
4407
|
*/
|
|
4260
|
-
export const
|
|
4408
|
+
export const AuthApiAxiosParamCreator = function (configuration) {
|
|
4261
4409
|
return {
|
|
4262
4410
|
/**
|
|
4263
|
-
*
|
|
4264
|
-
* @summary
|
|
4265
|
-
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
4411
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4412
|
+
* @summary Account
|
|
4266
4413
|
* @param {*} [options] Override http request option.
|
|
4267
4414
|
* @throws {RequiredError}
|
|
4268
4415
|
*/
|
|
4269
|
-
|
|
4270
|
-
const localVarPath = `/
|
|
4416
|
+
authControllerAccount: async (options = {}) => {
|
|
4417
|
+
const localVarPath = `/auth/account`;
|
|
4271
4418
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4272
4419
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4273
4420
|
let baseOptions;
|
|
4274
4421
|
if (configuration) {
|
|
4275
4422
|
baseOptions = configuration.baseOptions;
|
|
4276
4423
|
}
|
|
4277
|
-
const localVarRequestOptions = { method: '
|
|
4424
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4278
4425
|
const localVarHeaderParameter = {};
|
|
4279
4426
|
const localVarQueryParameter = {};
|
|
4280
|
-
// authentication domainAuth required
|
|
4281
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4282
4427
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4283
4428
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4284
4429
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4285
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
|
|
4286
4430
|
return {
|
|
4287
4431
|
url: toPathString(localVarUrlObj),
|
|
4288
4432
|
options: localVarRequestOptions,
|
|
4289
4433
|
};
|
|
4290
4434
|
},
|
|
4291
4435
|
/**
|
|
4292
|
-
*
|
|
4293
|
-
* @summary
|
|
4294
|
-
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
4436
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4437
|
+
* @summary Callback
|
|
4295
4438
|
* @param {*} [options] Override http request option.
|
|
4296
4439
|
* @throws {RequiredError}
|
|
4297
4440
|
*/
|
|
4298
|
-
|
|
4299
|
-
const localVarPath = `/
|
|
4441
|
+
authControllerCallback: async (options = {}) => {
|
|
4442
|
+
const localVarPath = `/auth/callback`;
|
|
4300
4443
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4301
4444
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4302
4445
|
let baseOptions;
|
|
4303
4446
|
if (configuration) {
|
|
4304
4447
|
baseOptions = configuration.baseOptions;
|
|
4305
4448
|
}
|
|
4306
|
-
const localVarRequestOptions = { method: '
|
|
4449
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4307
4450
|
const localVarHeaderParameter = {};
|
|
4308
4451
|
const localVarQueryParameter = {};
|
|
4309
|
-
// authentication domainAuth required
|
|
4310
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4311
4452
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4312
4453
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4313
4454
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4314
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
|
|
4315
4455
|
return {
|
|
4316
4456
|
url: toPathString(localVarUrlObj),
|
|
4317
4457
|
options: localVarRequestOptions,
|
|
4318
4458
|
};
|
|
4319
4459
|
},
|
|
4320
4460
|
/**
|
|
4321
|
-
*
|
|
4322
|
-
* @summary
|
|
4323
|
-
* @param {string}
|
|
4324
|
-
* @param {any} [success]
|
|
4325
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
4461
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4462
|
+
* @summary Login
|
|
4463
|
+
* @param {string} [redirect]
|
|
4326
4464
|
* @param {*} [options] Override http request option.
|
|
4327
4465
|
* @throws {RequiredError}
|
|
4328
4466
|
*/
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
assertParamExists('commandControllerGetExecutions', 'id', id);
|
|
4332
|
-
const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4467
|
+
authControllerLogin: async (redirect, options = {}) => {
|
|
4468
|
+
const localVarPath = `/auth/login`;
|
|
4333
4469
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4334
4470
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4335
4471
|
let baseOptions;
|
|
4336
4472
|
if (configuration) {
|
|
4337
4473
|
baseOptions = configuration.baseOptions;
|
|
4338
4474
|
}
|
|
4339
|
-
const localVarRequestOptions = { method: '
|
|
4475
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4340
4476
|
const localVarHeaderParameter = {};
|
|
4341
4477
|
const localVarQueryParameter = {};
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
for (const [key, value] of Object.entries(success)) {
|
|
4345
|
-
localVarQueryParameter[key] = value;
|
|
4346
|
-
}
|
|
4478
|
+
if (redirect !== undefined) {
|
|
4479
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
4347
4480
|
}
|
|
4348
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4349
4481
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4350
4482
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4351
4483
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4352
|
-
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
4353
4484
|
return {
|
|
4354
4485
|
url: toPathString(localVarUrlObj),
|
|
4355
4486
|
options: localVarRequestOptions,
|
|
4356
4487
|
};
|
|
4357
4488
|
},
|
|
4358
4489
|
/**
|
|
4359
|
-
*
|
|
4360
|
-
* @summary
|
|
4361
|
-
* @param {string}
|
|
4490
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4491
|
+
* @summary Logout
|
|
4492
|
+
* @param {string} [redirect]
|
|
4362
4493
|
* @param {*} [options] Override http request option.
|
|
4363
4494
|
* @throws {RequiredError}
|
|
4364
4495
|
*/
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
assertParamExists('commandControllerGetOne', 'id', id);
|
|
4368
|
-
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4496
|
+
authControllerLogout: async (redirect, options = {}) => {
|
|
4497
|
+
const localVarPath = `/auth/logout`;
|
|
4369
4498
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4370
4499
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4371
4500
|
let baseOptions;
|
|
@@ -4375,7 +4504,9 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4375
4504
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4376
4505
|
const localVarHeaderParameter = {};
|
|
4377
4506
|
const localVarQueryParameter = {};
|
|
4378
|
-
|
|
4507
|
+
if (redirect !== undefined) {
|
|
4508
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
4509
|
+
}
|
|
4379
4510
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4380
4511
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4381
4512
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -4384,144 +4515,223 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4384
4515
|
options: localVarRequestOptions,
|
|
4385
4516
|
};
|
|
4386
4517
|
},
|
|
4518
|
+
};
|
|
4519
|
+
};
|
|
4520
|
+
/**
|
|
4521
|
+
* AuthApi - functional programming interface
|
|
4522
|
+
* @export
|
|
4523
|
+
*/
|
|
4524
|
+
export const AuthApiFp = function (configuration) {
|
|
4525
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
4526
|
+
return {
|
|
4387
4527
|
/**
|
|
4388
|
-
*
|
|
4389
|
-
* @summary
|
|
4390
|
-
* @param {string} id
|
|
4528
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4529
|
+
* @summary Account
|
|
4391
4530
|
* @param {*} [options] Override http request option.
|
|
4392
4531
|
* @throws {RequiredError}
|
|
4393
4532
|
*/
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
const
|
|
4398
|
-
|
|
4399
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4400
|
-
let baseOptions;
|
|
4401
|
-
if (configuration) {
|
|
4402
|
-
baseOptions = configuration.baseOptions;
|
|
4403
|
-
}
|
|
4404
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4405
|
-
const localVarHeaderParameter = {};
|
|
4406
|
-
const localVarQueryParameter = {};
|
|
4407
|
-
// authentication domainAuth required
|
|
4408
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4409
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4410
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4411
|
-
return {
|
|
4412
|
-
url: toPathString(localVarUrlObj),
|
|
4413
|
-
options: localVarRequestOptions,
|
|
4414
|
-
};
|
|
4533
|
+
async authControllerAccount(options) {
|
|
4534
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
|
|
4535
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4536
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
|
|
4537
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4415
4538
|
},
|
|
4416
4539
|
/**
|
|
4417
|
-
*
|
|
4418
|
-
* @summary
|
|
4419
|
-
* @param {string} id
|
|
4540
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4541
|
+
* @summary Callback
|
|
4420
4542
|
* @param {*} [options] Override http request option.
|
|
4421
4543
|
* @throws {RequiredError}
|
|
4422
4544
|
*/
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
const
|
|
4427
|
-
|
|
4428
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4429
|
-
let baseOptions;
|
|
4430
|
-
if (configuration) {
|
|
4431
|
-
baseOptions = configuration.baseOptions;
|
|
4432
|
-
}
|
|
4433
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4434
|
-
const localVarHeaderParameter = {};
|
|
4435
|
-
const localVarQueryParameter = {};
|
|
4436
|
-
// authentication domainAuth required
|
|
4437
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4438
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4439
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4440
|
-
return {
|
|
4441
|
-
url: toPathString(localVarUrlObj),
|
|
4442
|
-
options: localVarRequestOptions,
|
|
4443
|
-
};
|
|
4545
|
+
async authControllerCallback(options) {
|
|
4546
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
|
|
4547
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4548
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
|
|
4549
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4444
4550
|
},
|
|
4445
4551
|
/**
|
|
4446
|
-
*
|
|
4447
|
-
* @summary
|
|
4448
|
-
* @param {
|
|
4552
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4553
|
+
* @summary Login
|
|
4554
|
+
* @param {string} [redirect]
|
|
4449
4555
|
* @param {*} [options] Override http request option.
|
|
4450
4556
|
* @throws {RequiredError}
|
|
4451
4557
|
*/
|
|
4452
|
-
|
|
4453
|
-
const
|
|
4454
|
-
|
|
4455
|
-
const
|
|
4456
|
-
|
|
4457
|
-
if (configuration) {
|
|
4458
|
-
baseOptions = configuration.baseOptions;
|
|
4459
|
-
}
|
|
4460
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4461
|
-
const localVarHeaderParameter = {};
|
|
4462
|
-
const localVarQueryParameter = {};
|
|
4463
|
-
// authentication domainAuth required
|
|
4464
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4465
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4466
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4467
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4468
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandSearchInputDTO, localVarRequestOptions, configuration);
|
|
4469
|
-
return {
|
|
4470
|
-
url: toPathString(localVarUrlObj),
|
|
4471
|
-
options: localVarRequestOptions,
|
|
4472
|
-
};
|
|
4558
|
+
async authControllerLogin(redirect, options) {
|
|
4559
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
|
|
4560
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4561
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
|
|
4562
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4473
4563
|
},
|
|
4474
4564
|
/**
|
|
4475
|
-
*
|
|
4476
|
-
* @summary
|
|
4477
|
-
* @param {string}
|
|
4478
|
-
* @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
|
|
4565
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4566
|
+
* @summary Logout
|
|
4567
|
+
* @param {string} [redirect]
|
|
4479
4568
|
* @param {*} [options] Override http request option.
|
|
4480
4569
|
* @throws {RequiredError}
|
|
4481
4570
|
*/
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
const
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4571
|
+
async authControllerLogout(redirect, options) {
|
|
4572
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
|
|
4573
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4574
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
|
|
4575
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4576
|
+
},
|
|
4577
|
+
};
|
|
4578
|
+
};
|
|
4579
|
+
/**
|
|
4580
|
+
* AuthApi - factory interface
|
|
4581
|
+
* @export
|
|
4582
|
+
*/
|
|
4583
|
+
export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
4584
|
+
const localVarFp = AuthApiFp(configuration);
|
|
4585
|
+
return {
|
|
4586
|
+
/**
|
|
4587
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4588
|
+
* @summary Account
|
|
4589
|
+
* @param {*} [options] Override http request option.
|
|
4590
|
+
* @throws {RequiredError}
|
|
4591
|
+
*/
|
|
4592
|
+
authControllerAccount(options) {
|
|
4593
|
+
return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
|
|
4594
|
+
},
|
|
4595
|
+
/**
|
|
4596
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4597
|
+
* @summary Callback
|
|
4598
|
+
* @param {*} [options] Override http request option.
|
|
4599
|
+
* @throws {RequiredError}
|
|
4600
|
+
*/
|
|
4601
|
+
authControllerCallback(options) {
|
|
4602
|
+
return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
|
|
4603
|
+
},
|
|
4604
|
+
/**
|
|
4605
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4606
|
+
* @summary Login
|
|
4607
|
+
* @param {string} [redirect]
|
|
4608
|
+
* @param {*} [options] Override http request option.
|
|
4609
|
+
* @throws {RequiredError}
|
|
4610
|
+
*/
|
|
4611
|
+
authControllerLogin(redirect, options) {
|
|
4612
|
+
return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
|
|
4613
|
+
},
|
|
4614
|
+
/**
|
|
4615
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4616
|
+
* @summary Logout
|
|
4617
|
+
* @param {string} [redirect]
|
|
4618
|
+
* @param {*} [options] Override http request option.
|
|
4619
|
+
* @throws {RequiredError}
|
|
4620
|
+
*/
|
|
4621
|
+
authControllerLogout(redirect, options) {
|
|
4622
|
+
return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
|
|
4623
|
+
},
|
|
4624
|
+
};
|
|
4625
|
+
};
|
|
4626
|
+
/**
|
|
4627
|
+
* AuthApi - object-oriented interface
|
|
4628
|
+
* @export
|
|
4629
|
+
* @class AuthApi
|
|
4630
|
+
* @extends {BaseAPI}
|
|
4631
|
+
*/
|
|
4632
|
+
export class AuthApi extends BaseAPI {
|
|
4633
|
+
/**
|
|
4634
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4635
|
+
* @summary Account
|
|
4636
|
+
* @param {*} [options] Override http request option.
|
|
4637
|
+
* @throws {RequiredError}
|
|
4638
|
+
* @memberof AuthApi
|
|
4639
|
+
*/
|
|
4640
|
+
authControllerAccount(options) {
|
|
4641
|
+
return AuthApiFp(this.configuration)
|
|
4642
|
+
.authControllerAccount(options)
|
|
4643
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4644
|
+
}
|
|
4645
|
+
/**
|
|
4646
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4647
|
+
* @summary Callback
|
|
4648
|
+
* @param {*} [options] Override http request option.
|
|
4649
|
+
* @throws {RequiredError}
|
|
4650
|
+
* @memberof AuthApi
|
|
4651
|
+
*/
|
|
4652
|
+
authControllerCallback(options) {
|
|
4653
|
+
return AuthApiFp(this.configuration)
|
|
4654
|
+
.authControllerCallback(options)
|
|
4655
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4656
|
+
}
|
|
4657
|
+
/**
|
|
4658
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4659
|
+
* @summary Login
|
|
4660
|
+
* @param {string} [redirect]
|
|
4661
|
+
* @param {*} [options] Override http request option.
|
|
4662
|
+
* @throws {RequiredError}
|
|
4663
|
+
* @memberof AuthApi
|
|
4664
|
+
*/
|
|
4665
|
+
authControllerLogin(redirect, options) {
|
|
4666
|
+
return AuthApiFp(this.configuration)
|
|
4667
|
+
.authControllerLogin(redirect, options)
|
|
4668
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4669
|
+
}
|
|
4670
|
+
/**
|
|
4671
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4672
|
+
* @summary Logout
|
|
4673
|
+
* @param {string} [redirect]
|
|
4674
|
+
* @param {*} [options] Override http request option.
|
|
4675
|
+
* @throws {RequiredError}
|
|
4676
|
+
* @memberof AuthApi
|
|
4677
|
+
*/
|
|
4678
|
+
authControllerLogout(redirect, options) {
|
|
4679
|
+
return AuthApiFp(this.configuration)
|
|
4680
|
+
.authControllerLogout(redirect, options)
|
|
4681
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4682
|
+
}
|
|
4683
|
+
}
|
|
4684
|
+
/**
|
|
4685
|
+
* CommandApi - axios parameter creator
|
|
4686
|
+
* @export
|
|
4687
|
+
*/
|
|
4688
|
+
export const CommandApiAxiosParamCreator = function (configuration) {
|
|
4689
|
+
return {
|
|
4690
|
+
/**
|
|
4691
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
|
|
4692
|
+
* @summary Create
|
|
4693
|
+
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
4694
|
+
* @param {*} [options] Override http request option.
|
|
4695
|
+
* @throws {RequiredError}
|
|
4696
|
+
*/
|
|
4697
|
+
commandControllerCreate: async (commandCreateDTO, options = {}) => {
|
|
4698
|
+
const localVarPath = `/command`;
|
|
4699
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4700
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4701
|
+
let baseOptions;
|
|
4702
|
+
if (configuration) {
|
|
4703
|
+
baseOptions = configuration.baseOptions;
|
|
4704
|
+
}
|
|
4705
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4706
|
+
const localVarHeaderParameter = {};
|
|
4707
|
+
const localVarQueryParameter = {};
|
|
4495
4708
|
// authentication domainAuth required
|
|
4496
4709
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4497
4710
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4498
4711
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4499
4712
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4500
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4713
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
|
|
4501
4714
|
return {
|
|
4502
4715
|
url: toPathString(localVarUrlObj),
|
|
4503
4716
|
options: localVarRequestOptions,
|
|
4504
4717
|
};
|
|
4505
4718
|
},
|
|
4506
4719
|
/**
|
|
4507
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `
|
|
4508
|
-
* @summary
|
|
4509
|
-
* @param {
|
|
4510
|
-
* @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
|
|
4720
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
4721
|
+
* @summary Create argument
|
|
4722
|
+
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
4511
4723
|
* @param {*} [options] Override http request option.
|
|
4512
4724
|
* @throws {RequiredError}
|
|
4513
4725
|
*/
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
assertParamExists('commandControllerUpdate', 'id', id);
|
|
4517
|
-
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4726
|
+
commandControllerCreateArgument: async (commandArgumentCreateDTO, options = {}) => {
|
|
4727
|
+
const localVarPath = `/command/argument`;
|
|
4518
4728
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4519
4729
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4520
4730
|
let baseOptions;
|
|
4521
4731
|
if (configuration) {
|
|
4522
4732
|
baseOptions = configuration.baseOptions;
|
|
4523
4733
|
}
|
|
4524
|
-
const localVarRequestOptions = { method: '
|
|
4734
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4525
4735
|
const localVarHeaderParameter = {};
|
|
4526
4736
|
const localVarQueryParameter = {};
|
|
4527
4737
|
// authentication domainAuth required
|
|
@@ -4529,94 +4739,50 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4529
4739
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4530
4740
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4531
4741
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4532
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4742
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
|
|
4533
4743
|
return {
|
|
4534
4744
|
url: toPathString(localVarUrlObj),
|
|
4535
4745
|
options: localVarRequestOptions,
|
|
4536
4746
|
};
|
|
4537
4747
|
},
|
|
4538
4748
|
/**
|
|
4539
|
-
* Required permissions: `
|
|
4540
|
-
* @summary
|
|
4749
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
4750
|
+
* @summary Get executions
|
|
4541
4751
|
* @param {string} id
|
|
4542
|
-
* @param {
|
|
4752
|
+
* @param {any} [success]
|
|
4753
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
4543
4754
|
* @param {*} [options] Override http request option.
|
|
4544
4755
|
* @throws {RequiredError}
|
|
4545
4756
|
*/
|
|
4546
|
-
|
|
4757
|
+
commandControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
|
|
4547
4758
|
// verify required parameter 'id' is not null or undefined
|
|
4548
|
-
assertParamExists('
|
|
4549
|
-
const localVarPath = `/command/
|
|
4759
|
+
assertParamExists('commandControllerGetExecutions', 'id', id);
|
|
4760
|
+
const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4550
4761
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4551
4762
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4552
4763
|
let baseOptions;
|
|
4553
4764
|
if (configuration) {
|
|
4554
4765
|
baseOptions = configuration.baseOptions;
|
|
4555
4766
|
}
|
|
4556
|
-
const localVarRequestOptions = { method: '
|
|
4767
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4557
4768
|
const localVarHeaderParameter = {};
|
|
4558
4769
|
const localVarQueryParameter = {};
|
|
4559
4770
|
// authentication domainAuth required
|
|
4771
|
+
if (success !== undefined) {
|
|
4772
|
+
for (const [key, value] of Object.entries(success)) {
|
|
4773
|
+
localVarQueryParameter[key] = value;
|
|
4774
|
+
}
|
|
4775
|
+
}
|
|
4560
4776
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4561
4777
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4562
4778
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4563
4779
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4564
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4780
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
4565
4781
|
return {
|
|
4566
4782
|
url: toPathString(localVarUrlObj),
|
|
4567
4783
|
options: localVarRequestOptions,
|
|
4568
4784
|
};
|
|
4569
4785
|
},
|
|
4570
|
-
};
|
|
4571
|
-
};
|
|
4572
|
-
/**
|
|
4573
|
-
* CommandApi - functional programming interface
|
|
4574
|
-
* @export
|
|
4575
|
-
*/
|
|
4576
|
-
export const CommandApiFp = function (configuration) {
|
|
4577
|
-
const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
|
|
4578
|
-
return {
|
|
4579
|
-
/**
|
|
4580
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
|
|
4581
|
-
* @summary Create
|
|
4582
|
-
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
4583
|
-
* @param {*} [options] Override http request option.
|
|
4584
|
-
* @throws {RequiredError}
|
|
4585
|
-
*/
|
|
4586
|
-
async commandControllerCreate(commandCreateDTO, options) {
|
|
4587
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
|
|
4588
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4589
|
-
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
4590
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4591
|
-
},
|
|
4592
|
-
/**
|
|
4593
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
4594
|
-
* @summary Create argument
|
|
4595
|
-
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
4596
|
-
* @param {*} [options] Override http request option.
|
|
4597
|
-
* @throws {RequiredError}
|
|
4598
|
-
*/
|
|
4599
|
-
async commandControllerCreateArgument(commandArgumentCreateDTO, options) {
|
|
4600
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreateArgument(commandArgumentCreateDTO, options);
|
|
4601
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4602
|
-
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreateArgument']?.[localVarOperationServerIndex]?.url;
|
|
4603
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4604
|
-
},
|
|
4605
|
-
/**
|
|
4606
|
-
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
4607
|
-
* @summary Get executions
|
|
4608
|
-
* @param {string} id
|
|
4609
|
-
* @param {any} [success]
|
|
4610
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
4611
|
-
* @param {*} [options] Override http request option.
|
|
4612
|
-
* @throws {RequiredError}
|
|
4613
|
-
*/
|
|
4614
|
-
async commandControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
4615
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
4616
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4617
|
-
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
|
|
4618
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4619
|
-
},
|
|
4620
4786
|
/**
|
|
4621
4787
|
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
|
|
4622
4788
|
* @summary Get one
|
|
@@ -4624,11 +4790,27 @@ export const CommandApiFp = function (configuration) {
|
|
|
4624
4790
|
* @param {*} [options] Override http request option.
|
|
4625
4791
|
* @throws {RequiredError}
|
|
4626
4792
|
*/
|
|
4627
|
-
async
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
const
|
|
4631
|
-
|
|
4793
|
+
commandControllerGetOne: async (id, options = {}) => {
|
|
4794
|
+
// verify required parameter 'id' is not null or undefined
|
|
4795
|
+
assertParamExists('commandControllerGetOne', 'id', id);
|
|
4796
|
+
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4797
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4798
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4799
|
+
let baseOptions;
|
|
4800
|
+
if (configuration) {
|
|
4801
|
+
baseOptions = configuration.baseOptions;
|
|
4802
|
+
}
|
|
4803
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4804
|
+
const localVarHeaderParameter = {};
|
|
4805
|
+
const localVarQueryParameter = {};
|
|
4806
|
+
// authentication domainAuth required
|
|
4807
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4808
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4809
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4810
|
+
return {
|
|
4811
|
+
url: toPathString(localVarUrlObj),
|
|
4812
|
+
options: localVarRequestOptions,
|
|
4813
|
+
};
|
|
4632
4814
|
},
|
|
4633
4815
|
/**
|
|
4634
4816
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
|
|
@@ -4637,11 +4819,27 @@ export const CommandApiFp = function (configuration) {
|
|
|
4637
4819
|
* @param {*} [options] Override http request option.
|
|
4638
4820
|
* @throws {RequiredError}
|
|
4639
4821
|
*/
|
|
4640
|
-
async
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
const
|
|
4644
|
-
|
|
4822
|
+
commandControllerRemove: async (id, options = {}) => {
|
|
4823
|
+
// verify required parameter 'id' is not null or undefined
|
|
4824
|
+
assertParamExists('commandControllerRemove', 'id', id);
|
|
4825
|
+
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4826
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4827
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4828
|
+
let baseOptions;
|
|
4829
|
+
if (configuration) {
|
|
4830
|
+
baseOptions = configuration.baseOptions;
|
|
4831
|
+
}
|
|
4832
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4833
|
+
const localVarHeaderParameter = {};
|
|
4834
|
+
const localVarQueryParameter = {};
|
|
4835
|
+
// authentication domainAuth required
|
|
4836
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4837
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4838
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4839
|
+
return {
|
|
4840
|
+
url: toPathString(localVarUrlObj),
|
|
4841
|
+
options: localVarRequestOptions,
|
|
4842
|
+
};
|
|
4645
4843
|
},
|
|
4646
4844
|
/**
|
|
4647
4845
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
|
|
@@ -4650,31 +4848,261 @@ export const CommandApiFp = function (configuration) {
|
|
|
4650
4848
|
* @param {*} [options] Override http request option.
|
|
4651
4849
|
* @throws {RequiredError}
|
|
4652
4850
|
*/
|
|
4653
|
-
async
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
const
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
return
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
*
|
|
4677
|
-
* @
|
|
4851
|
+
commandControllerRemoveArgument: async (id, options = {}) => {
|
|
4852
|
+
// verify required parameter 'id' is not null or undefined
|
|
4853
|
+
assertParamExists('commandControllerRemoveArgument', 'id', id);
|
|
4854
|
+
const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4855
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4856
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4857
|
+
let baseOptions;
|
|
4858
|
+
if (configuration) {
|
|
4859
|
+
baseOptions = configuration.baseOptions;
|
|
4860
|
+
}
|
|
4861
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4862
|
+
const localVarHeaderParameter = {};
|
|
4863
|
+
const localVarQueryParameter = {};
|
|
4864
|
+
// authentication domainAuth required
|
|
4865
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4866
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4867
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4868
|
+
return {
|
|
4869
|
+
url: toPathString(localVarUrlObj),
|
|
4870
|
+
options: localVarRequestOptions,
|
|
4871
|
+
};
|
|
4872
|
+
},
|
|
4873
|
+
/**
|
|
4874
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
4875
|
+
* @summary Search
|
|
4876
|
+
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
4877
|
+
* @param {*} [options] Override http request option.
|
|
4878
|
+
* @throws {RequiredError}
|
|
4879
|
+
*/
|
|
4880
|
+
commandControllerSearch: async (commandSearchInputDTO, options = {}) => {
|
|
4881
|
+
const localVarPath = `/command/search`;
|
|
4882
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4883
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4884
|
+
let baseOptions;
|
|
4885
|
+
if (configuration) {
|
|
4886
|
+
baseOptions = configuration.baseOptions;
|
|
4887
|
+
}
|
|
4888
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4889
|
+
const localVarHeaderParameter = {};
|
|
4890
|
+
const localVarQueryParameter = {};
|
|
4891
|
+
// authentication domainAuth required
|
|
4892
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4893
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4894
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4895
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4896
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandSearchInputDTO, localVarRequestOptions, configuration);
|
|
4897
|
+
return {
|
|
4898
|
+
url: toPathString(localVarUrlObj),
|
|
4899
|
+
options: localVarRequestOptions,
|
|
4900
|
+
};
|
|
4901
|
+
},
|
|
4902
|
+
/**
|
|
4903
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
|
|
4904
|
+
* @summary Trigger
|
|
4905
|
+
* @param {string} id
|
|
4906
|
+
* @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
|
|
4907
|
+
* @param {*} [options] Override http request option.
|
|
4908
|
+
* @throws {RequiredError}
|
|
4909
|
+
*/
|
|
4910
|
+
commandControllerTrigger: async (id, commandTriggerDTO, options = {}) => {
|
|
4911
|
+
// verify required parameter 'id' is not null or undefined
|
|
4912
|
+
assertParamExists('commandControllerTrigger', 'id', id);
|
|
4913
|
+
const localVarPath = `/command/{id}/trigger`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4914
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4915
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4916
|
+
let baseOptions;
|
|
4917
|
+
if (configuration) {
|
|
4918
|
+
baseOptions = configuration.baseOptions;
|
|
4919
|
+
}
|
|
4920
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4921
|
+
const localVarHeaderParameter = {};
|
|
4922
|
+
const localVarQueryParameter = {};
|
|
4923
|
+
// authentication domainAuth required
|
|
4924
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4925
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4926
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4927
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4928
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandTriggerDTO, localVarRequestOptions, configuration);
|
|
4929
|
+
return {
|
|
4930
|
+
url: toPathString(localVarUrlObj),
|
|
4931
|
+
options: localVarRequestOptions,
|
|
4932
|
+
};
|
|
4933
|
+
},
|
|
4934
|
+
/**
|
|
4935
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
|
|
4936
|
+
* @summary Update
|
|
4937
|
+
* @param {string} id
|
|
4938
|
+
* @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
|
|
4939
|
+
* @param {*} [options] Override http request option.
|
|
4940
|
+
* @throws {RequiredError}
|
|
4941
|
+
*/
|
|
4942
|
+
commandControllerUpdate: async (id, commandUpdateDTO, options = {}) => {
|
|
4943
|
+
// verify required parameter 'id' is not null or undefined
|
|
4944
|
+
assertParamExists('commandControllerUpdate', 'id', id);
|
|
4945
|
+
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4946
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4947
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4948
|
+
let baseOptions;
|
|
4949
|
+
if (configuration) {
|
|
4950
|
+
baseOptions = configuration.baseOptions;
|
|
4951
|
+
}
|
|
4952
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
4953
|
+
const localVarHeaderParameter = {};
|
|
4954
|
+
const localVarQueryParameter = {};
|
|
4955
|
+
// authentication domainAuth required
|
|
4956
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4957
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4958
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4959
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4960
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandUpdateDTO, localVarRequestOptions, configuration);
|
|
4961
|
+
return {
|
|
4962
|
+
url: toPathString(localVarUrlObj),
|
|
4963
|
+
options: localVarRequestOptions,
|
|
4964
|
+
};
|
|
4965
|
+
},
|
|
4966
|
+
/**
|
|
4967
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
|
|
4968
|
+
* @summary Update argument
|
|
4969
|
+
* @param {string} id
|
|
4970
|
+
* @param {CommandArgumentUpdateDTO} [commandArgumentUpdateDTO] CommandArgumentUpdateDTO
|
|
4971
|
+
* @param {*} [options] Override http request option.
|
|
4972
|
+
* @throws {RequiredError}
|
|
4973
|
+
*/
|
|
4974
|
+
commandControllerUpdateArgument: async (id, commandArgumentUpdateDTO, options = {}) => {
|
|
4975
|
+
// verify required parameter 'id' is not null or undefined
|
|
4976
|
+
assertParamExists('commandControllerUpdateArgument', 'id', id);
|
|
4977
|
+
const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4978
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4979
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4980
|
+
let baseOptions;
|
|
4981
|
+
if (configuration) {
|
|
4982
|
+
baseOptions = configuration.baseOptions;
|
|
4983
|
+
}
|
|
4984
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
4985
|
+
const localVarHeaderParameter = {};
|
|
4986
|
+
const localVarQueryParameter = {};
|
|
4987
|
+
// authentication domainAuth required
|
|
4988
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4989
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4990
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4991
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4992
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentUpdateDTO, localVarRequestOptions, configuration);
|
|
4993
|
+
return {
|
|
4994
|
+
url: toPathString(localVarUrlObj),
|
|
4995
|
+
options: localVarRequestOptions,
|
|
4996
|
+
};
|
|
4997
|
+
},
|
|
4998
|
+
};
|
|
4999
|
+
};
|
|
5000
|
+
/**
|
|
5001
|
+
* CommandApi - functional programming interface
|
|
5002
|
+
* @export
|
|
5003
|
+
*/
|
|
5004
|
+
export const CommandApiFp = function (configuration) {
|
|
5005
|
+
const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
|
|
5006
|
+
return {
|
|
5007
|
+
/**
|
|
5008
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
|
|
5009
|
+
* @summary Create
|
|
5010
|
+
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
5011
|
+
* @param {*} [options] Override http request option.
|
|
5012
|
+
* @throws {RequiredError}
|
|
5013
|
+
*/
|
|
5014
|
+
async commandControllerCreate(commandCreateDTO, options) {
|
|
5015
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
|
|
5016
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5017
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
5018
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5019
|
+
},
|
|
5020
|
+
/**
|
|
5021
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
5022
|
+
* @summary Create argument
|
|
5023
|
+
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
5024
|
+
* @param {*} [options] Override http request option.
|
|
5025
|
+
* @throws {RequiredError}
|
|
5026
|
+
*/
|
|
5027
|
+
async commandControllerCreateArgument(commandArgumentCreateDTO, options) {
|
|
5028
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreateArgument(commandArgumentCreateDTO, options);
|
|
5029
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5030
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreateArgument']?.[localVarOperationServerIndex]?.url;
|
|
5031
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5032
|
+
},
|
|
5033
|
+
/**
|
|
5034
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
5035
|
+
* @summary Get executions
|
|
5036
|
+
* @param {string} id
|
|
5037
|
+
* @param {any} [success]
|
|
5038
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
5039
|
+
* @param {*} [options] Override http request option.
|
|
5040
|
+
* @throws {RequiredError}
|
|
5041
|
+
*/
|
|
5042
|
+
async commandControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
5043
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
5044
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5045
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
|
|
5046
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5047
|
+
},
|
|
5048
|
+
/**
|
|
5049
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
|
|
5050
|
+
* @summary Get one
|
|
5051
|
+
* @param {string} id
|
|
5052
|
+
* @param {*} [options] Override http request option.
|
|
5053
|
+
* @throws {RequiredError}
|
|
5054
|
+
*/
|
|
5055
|
+
async commandControllerGetOne(id, options) {
|
|
5056
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetOne(id, options);
|
|
5057
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5058
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
5059
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5060
|
+
},
|
|
5061
|
+
/**
|
|
5062
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
|
|
5063
|
+
* @summary Remove
|
|
5064
|
+
* @param {string} id
|
|
5065
|
+
* @param {*} [options] Override http request option.
|
|
5066
|
+
* @throws {RequiredError}
|
|
5067
|
+
*/
|
|
5068
|
+
async commandControllerRemove(id, options) {
|
|
5069
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemove(id, options);
|
|
5070
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5071
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerRemove']?.[localVarOperationServerIndex]?.url;
|
|
5072
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5073
|
+
},
|
|
5074
|
+
/**
|
|
5075
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
|
|
5076
|
+
* @summary Remove argument
|
|
5077
|
+
* @param {string} id
|
|
5078
|
+
* @param {*} [options] Override http request option.
|
|
5079
|
+
* @throws {RequiredError}
|
|
5080
|
+
*/
|
|
5081
|
+
async commandControllerRemoveArgument(id, options) {
|
|
5082
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemoveArgument(id, options);
|
|
5083
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5084
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerRemoveArgument']?.[localVarOperationServerIndex]?.url;
|
|
5085
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5086
|
+
},
|
|
5087
|
+
/**
|
|
5088
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
5089
|
+
* @summary Search
|
|
5090
|
+
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
5091
|
+
* @param {*} [options] Override http request option.
|
|
5092
|
+
* @throws {RequiredError}
|
|
5093
|
+
*/
|
|
5094
|
+
async commandControllerSearch(commandSearchInputDTO, options) {
|
|
5095
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerSearch(commandSearchInputDTO, options);
|
|
5096
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5097
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
5098
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5099
|
+
},
|
|
5100
|
+
/**
|
|
5101
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
|
|
5102
|
+
* @summary Trigger
|
|
5103
|
+
* @param {string} id
|
|
5104
|
+
* @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
|
|
5105
|
+
* @param {*} [options] Override http request option.
|
|
4678
5106
|
* @throws {RequiredError}
|
|
4679
5107
|
*/
|
|
4680
5108
|
async commandControllerTrigger(id, commandTriggerDTO, options) {
|
|
@@ -6121,7 +6549,40 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
6121
6549
|
};
|
|
6122
6550
|
},
|
|
6123
6551
|
/**
|
|
6124
|
-
*
|
|
6552
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6553
|
+
* @summary Create admin invite link for a domain
|
|
6554
|
+
* @param {string} id
|
|
6555
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6556
|
+
* @param {*} [options] Override http request option.
|
|
6557
|
+
* @throws {RequiredError}
|
|
6558
|
+
*/
|
|
6559
|
+
domainControllerCreateInviteLink: async (id, inviteLinkCreateInputDTO, options = {}) => {
|
|
6560
|
+
// verify required parameter 'id' is not null or undefined
|
|
6561
|
+
assertParamExists('domainControllerCreateInviteLink', 'id', id);
|
|
6562
|
+
const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
6563
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6564
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6565
|
+
let baseOptions;
|
|
6566
|
+
if (configuration) {
|
|
6567
|
+
baseOptions = configuration.baseOptions;
|
|
6568
|
+
}
|
|
6569
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
6570
|
+
const localVarHeaderParameter = {};
|
|
6571
|
+
const localVarQueryParameter = {};
|
|
6572
|
+
// authentication adminAuth required
|
|
6573
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
6574
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6575
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6576
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6577
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6578
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
|
|
6579
|
+
return {
|
|
6580
|
+
url: toPathString(localVarUrlObj),
|
|
6581
|
+
options: localVarRequestOptions,
|
|
6582
|
+
};
|
|
6583
|
+
},
|
|
6584
|
+
/**
|
|
6585
|
+
* <br> OperationId: `DomainControllerGetOne`
|
|
6125
6586
|
* @summary Get one
|
|
6126
6587
|
* @param {string} id
|
|
6127
6588
|
* @param {*} [options] Override http request option.
|
|
@@ -6331,6 +6792,20 @@ export const DomainApiFp = function (configuration) {
|
|
|
6331
6792
|
const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
6332
6793
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6333
6794
|
},
|
|
6795
|
+
/**
|
|
6796
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6797
|
+
* @summary Create admin invite link for a domain
|
|
6798
|
+
* @param {string} id
|
|
6799
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6800
|
+
* @param {*} [options] Override http request option.
|
|
6801
|
+
* @throws {RequiredError}
|
|
6802
|
+
*/
|
|
6803
|
+
async domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
|
|
6804
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options);
|
|
6805
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6806
|
+
const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
|
|
6807
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6808
|
+
},
|
|
6334
6809
|
/**
|
|
6335
6810
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6336
6811
|
* @summary Get one
|
|
@@ -6432,6 +6907,19 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
|
|
|
6432
6907
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
6433
6908
|
.then((request) => request(axios, basePath));
|
|
6434
6909
|
},
|
|
6910
|
+
/**
|
|
6911
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6912
|
+
* @summary Create admin invite link for a domain
|
|
6913
|
+
* @param {string} id
|
|
6914
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6915
|
+
* @param {*} [options] Override http request option.
|
|
6916
|
+
* @throws {RequiredError}
|
|
6917
|
+
*/
|
|
6918
|
+
domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
|
|
6919
|
+
return localVarFp
|
|
6920
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
6921
|
+
.then((request) => request(axios, basePath));
|
|
6922
|
+
},
|
|
6435
6923
|
/**
|
|
6436
6924
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6437
6925
|
* @summary Get one
|
|
@@ -6522,6 +7010,20 @@ export class DomainApi extends BaseAPI {
|
|
|
6522
7010
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
6523
7011
|
.then((request) => request(this.axios, this.basePath));
|
|
6524
7012
|
}
|
|
7013
|
+
/**
|
|
7014
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
7015
|
+
* @summary Create admin invite link for a domain
|
|
7016
|
+
* @param {string} id
|
|
7017
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
7018
|
+
* @param {*} [options] Override http request option.
|
|
7019
|
+
* @throws {RequiredError}
|
|
7020
|
+
* @memberof DomainApi
|
|
7021
|
+
*/
|
|
7022
|
+
domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
|
|
7023
|
+
return DomainApiFp(this.configuration)
|
|
7024
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
7025
|
+
.then((request) => request(this.axios, this.basePath));
|
|
7026
|
+
}
|
|
6525
7027
|
/**
|
|
6526
7028
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6527
7029
|
* @summary Get one
|
|
@@ -9685,8 +10187,520 @@ export const HookApiAxiosParamCreator = function (configuration) {
|
|
|
9685
10187
|
* @param {*} [options] Override http request option.
|
|
9686
10188
|
* @throws {RequiredError}
|
|
9687
10189
|
*/
|
|
9688
|
-
hookControllerCreate: async (hookCreateDTO, options = {}) => {
|
|
9689
|
-
const localVarPath = `/hook`;
|
|
10190
|
+
hookControllerCreate: async (hookCreateDTO, options = {}) => {
|
|
10191
|
+
const localVarPath = `/hook`;
|
|
10192
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10193
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10194
|
+
let baseOptions;
|
|
10195
|
+
if (configuration) {
|
|
10196
|
+
baseOptions = configuration.baseOptions;
|
|
10197
|
+
}
|
|
10198
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10199
|
+
const localVarHeaderParameter = {};
|
|
10200
|
+
const localVarQueryParameter = {};
|
|
10201
|
+
// authentication domainAuth required
|
|
10202
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10203
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10204
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10205
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10206
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hookCreateDTO, localVarRequestOptions, configuration);
|
|
10207
|
+
return {
|
|
10208
|
+
url: toPathString(localVarUrlObj),
|
|
10209
|
+
options: localVarRequestOptions,
|
|
10210
|
+
};
|
|
10211
|
+
},
|
|
10212
|
+
/**
|
|
10213
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
10214
|
+
* @summary Get executions
|
|
10215
|
+
* @param {string} id
|
|
10216
|
+
* @param {any} [success]
|
|
10217
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10218
|
+
* @param {*} [options] Override http request option.
|
|
10219
|
+
* @throws {RequiredError}
|
|
10220
|
+
*/
|
|
10221
|
+
hookControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
|
|
10222
|
+
// verify required parameter 'id' is not null or undefined
|
|
10223
|
+
assertParamExists('hookControllerGetExecutions', 'id', id);
|
|
10224
|
+
const localVarPath = `/hook/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10225
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10226
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10227
|
+
let baseOptions;
|
|
10228
|
+
if (configuration) {
|
|
10229
|
+
baseOptions = configuration.baseOptions;
|
|
10230
|
+
}
|
|
10231
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10232
|
+
const localVarHeaderParameter = {};
|
|
10233
|
+
const localVarQueryParameter = {};
|
|
10234
|
+
// authentication domainAuth required
|
|
10235
|
+
if (success !== undefined) {
|
|
10236
|
+
for (const [key, value] of Object.entries(success)) {
|
|
10237
|
+
localVarQueryParameter[key] = value;
|
|
10238
|
+
}
|
|
10239
|
+
}
|
|
10240
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10241
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10242
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10243
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10244
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
10245
|
+
return {
|
|
10246
|
+
url: toPathString(localVarUrlObj),
|
|
10247
|
+
options: localVarRequestOptions,
|
|
10248
|
+
};
|
|
10249
|
+
},
|
|
10250
|
+
/**
|
|
10251
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
10252
|
+
* @summary Get one
|
|
10253
|
+
* @param {string} id
|
|
10254
|
+
* @param {*} [options] Override http request option.
|
|
10255
|
+
* @throws {RequiredError}
|
|
10256
|
+
*/
|
|
10257
|
+
hookControllerGetOne: async (id, options = {}) => {
|
|
10258
|
+
// verify required parameter 'id' is not null or undefined
|
|
10259
|
+
assertParamExists('hookControllerGetOne', 'id', id);
|
|
10260
|
+
const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10261
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10262
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10263
|
+
let baseOptions;
|
|
10264
|
+
if (configuration) {
|
|
10265
|
+
baseOptions = configuration.baseOptions;
|
|
10266
|
+
}
|
|
10267
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10268
|
+
const localVarHeaderParameter = {};
|
|
10269
|
+
const localVarQueryParameter = {};
|
|
10270
|
+
// authentication domainAuth required
|
|
10271
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10273
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10274
|
+
return {
|
|
10275
|
+
url: toPathString(localVarUrlObj),
|
|
10276
|
+
options: localVarRequestOptions,
|
|
10277
|
+
};
|
|
10278
|
+
},
|
|
10279
|
+
/**
|
|
10280
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
10281
|
+
* @summary Remove
|
|
10282
|
+
* @param {string} id
|
|
10283
|
+
* @param {*} [options] Override http request option.
|
|
10284
|
+
* @throws {RequiredError}
|
|
10285
|
+
*/
|
|
10286
|
+
hookControllerRemove: async (id, options = {}) => {
|
|
10287
|
+
// verify required parameter 'id' is not null or undefined
|
|
10288
|
+
assertParamExists('hookControllerRemove', 'id', id);
|
|
10289
|
+
const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10290
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10291
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10292
|
+
let baseOptions;
|
|
10293
|
+
if (configuration) {
|
|
10294
|
+
baseOptions = configuration.baseOptions;
|
|
10295
|
+
}
|
|
10296
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
10297
|
+
const localVarHeaderParameter = {};
|
|
10298
|
+
const localVarQueryParameter = {};
|
|
10299
|
+
// authentication domainAuth required
|
|
10300
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10301
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10302
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10303
|
+
return {
|
|
10304
|
+
url: toPathString(localVarUrlObj),
|
|
10305
|
+
options: localVarRequestOptions,
|
|
10306
|
+
};
|
|
10307
|
+
},
|
|
10308
|
+
/**
|
|
10309
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
10310
|
+
* @summary Search
|
|
10311
|
+
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
10312
|
+
* @param {*} [options] Override http request option.
|
|
10313
|
+
* @throws {RequiredError}
|
|
10314
|
+
*/
|
|
10315
|
+
hookControllerSearch: async (hookSearchInputDTO, options = {}) => {
|
|
10316
|
+
const localVarPath = `/hook/search`;
|
|
10317
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10318
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10319
|
+
let baseOptions;
|
|
10320
|
+
if (configuration) {
|
|
10321
|
+
baseOptions = configuration.baseOptions;
|
|
10322
|
+
}
|
|
10323
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10324
|
+
const localVarHeaderParameter = {};
|
|
10325
|
+
const localVarQueryParameter = {};
|
|
10326
|
+
// authentication domainAuth required
|
|
10327
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10328
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10329
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10330
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10331
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hookSearchInputDTO, localVarRequestOptions, configuration);
|
|
10332
|
+
return {
|
|
10333
|
+
url: toPathString(localVarUrlObj),
|
|
10334
|
+
options: localVarRequestOptions,
|
|
10335
|
+
};
|
|
10336
|
+
},
|
|
10337
|
+
/**
|
|
10338
|
+
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
10339
|
+
* @summary Trigger
|
|
10340
|
+
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
10341
|
+
* @param {*} [options] Override http request option.
|
|
10342
|
+
* @throws {RequiredError}
|
|
10343
|
+
*/
|
|
10344
|
+
hookControllerTrigger: async (hookTriggerDTO, options = {}) => {
|
|
10345
|
+
const localVarPath = `/hook/trigger`;
|
|
10346
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10347
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10348
|
+
let baseOptions;
|
|
10349
|
+
if (configuration) {
|
|
10350
|
+
baseOptions = configuration.baseOptions;
|
|
10351
|
+
}
|
|
10352
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10353
|
+
const localVarHeaderParameter = {};
|
|
10354
|
+
const localVarQueryParameter = {};
|
|
10355
|
+
// authentication domainAuth required
|
|
10356
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10357
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10358
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10359
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10360
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hookTriggerDTO, localVarRequestOptions, configuration);
|
|
10361
|
+
return {
|
|
10362
|
+
url: toPathString(localVarUrlObj),
|
|
10363
|
+
options: localVarRequestOptions,
|
|
10364
|
+
};
|
|
10365
|
+
},
|
|
10366
|
+
/**
|
|
10367
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
10368
|
+
* @summary Update
|
|
10369
|
+
* @param {string} id
|
|
10370
|
+
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
10371
|
+
* @param {*} [options] Override http request option.
|
|
10372
|
+
* @throws {RequiredError}
|
|
10373
|
+
*/
|
|
10374
|
+
hookControllerUpdate: async (id, hookUpdateDTO, options = {}) => {
|
|
10375
|
+
// verify required parameter 'id' is not null or undefined
|
|
10376
|
+
assertParamExists('hookControllerUpdate', 'id', id);
|
|
10377
|
+
const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10378
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10379
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10380
|
+
let baseOptions;
|
|
10381
|
+
if (configuration) {
|
|
10382
|
+
baseOptions = configuration.baseOptions;
|
|
10383
|
+
}
|
|
10384
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
10385
|
+
const localVarHeaderParameter = {};
|
|
10386
|
+
const localVarQueryParameter = {};
|
|
10387
|
+
// authentication domainAuth required
|
|
10388
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10389
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10390
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10391
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10392
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hookUpdateDTO, localVarRequestOptions, configuration);
|
|
10393
|
+
return {
|
|
10394
|
+
url: toPathString(localVarUrlObj),
|
|
10395
|
+
options: localVarRequestOptions,
|
|
10396
|
+
};
|
|
10397
|
+
},
|
|
10398
|
+
};
|
|
10399
|
+
};
|
|
10400
|
+
/**
|
|
10401
|
+
* HookApi - functional programming interface
|
|
10402
|
+
* @export
|
|
10403
|
+
*/
|
|
10404
|
+
export const HookApiFp = function (configuration) {
|
|
10405
|
+
const localVarAxiosParamCreator = HookApiAxiosParamCreator(configuration);
|
|
10406
|
+
return {
|
|
10407
|
+
/**
|
|
10408
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
|
|
10409
|
+
* @summary Create
|
|
10410
|
+
* @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
|
|
10411
|
+
* @param {*} [options] Override http request option.
|
|
10412
|
+
* @throws {RequiredError}
|
|
10413
|
+
*/
|
|
10414
|
+
async hookControllerCreate(hookCreateDTO, options) {
|
|
10415
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerCreate(hookCreateDTO, options);
|
|
10416
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10417
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
10418
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10419
|
+
},
|
|
10420
|
+
/**
|
|
10421
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
10422
|
+
* @summary Get executions
|
|
10423
|
+
* @param {string} id
|
|
10424
|
+
* @param {any} [success]
|
|
10425
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10426
|
+
* @param {*} [options] Override http request option.
|
|
10427
|
+
* @throws {RequiredError}
|
|
10428
|
+
*/
|
|
10429
|
+
async hookControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
10430
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
10431
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10432
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
|
|
10433
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10434
|
+
},
|
|
10435
|
+
/**
|
|
10436
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
10437
|
+
* @summary Get one
|
|
10438
|
+
* @param {string} id
|
|
10439
|
+
* @param {*} [options] Override http request option.
|
|
10440
|
+
* @throws {RequiredError}
|
|
10441
|
+
*/
|
|
10442
|
+
async hookControllerGetOne(id, options) {
|
|
10443
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetOne(id, options);
|
|
10444
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10445
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
10446
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10447
|
+
},
|
|
10448
|
+
/**
|
|
10449
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
10450
|
+
* @summary Remove
|
|
10451
|
+
* @param {string} id
|
|
10452
|
+
* @param {*} [options] Override http request option.
|
|
10453
|
+
* @throws {RequiredError}
|
|
10454
|
+
*/
|
|
10455
|
+
async hookControllerRemove(id, options) {
|
|
10456
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerRemove(id, options);
|
|
10457
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10458
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerRemove']?.[localVarOperationServerIndex]?.url;
|
|
10459
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10460
|
+
},
|
|
10461
|
+
/**
|
|
10462
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
10463
|
+
* @summary Search
|
|
10464
|
+
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
10465
|
+
* @param {*} [options] Override http request option.
|
|
10466
|
+
* @throws {RequiredError}
|
|
10467
|
+
*/
|
|
10468
|
+
async hookControllerSearch(hookSearchInputDTO, options) {
|
|
10469
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerSearch(hookSearchInputDTO, options);
|
|
10470
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10471
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
10472
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10473
|
+
},
|
|
10474
|
+
/**
|
|
10475
|
+
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
10476
|
+
* @summary Trigger
|
|
10477
|
+
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
10478
|
+
* @param {*} [options] Override http request option.
|
|
10479
|
+
* @throws {RequiredError}
|
|
10480
|
+
*/
|
|
10481
|
+
async hookControllerTrigger(hookTriggerDTO, options) {
|
|
10482
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerTrigger(hookTriggerDTO, options);
|
|
10483
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10484
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerTrigger']?.[localVarOperationServerIndex]?.url;
|
|
10485
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10486
|
+
},
|
|
10487
|
+
/**
|
|
10488
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
10489
|
+
* @summary Update
|
|
10490
|
+
* @param {string} id
|
|
10491
|
+
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
10492
|
+
* @param {*} [options] Override http request option.
|
|
10493
|
+
* @throws {RequiredError}
|
|
10494
|
+
*/
|
|
10495
|
+
async hookControllerUpdate(id, hookUpdateDTO, options) {
|
|
10496
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerUpdate(id, hookUpdateDTO, options);
|
|
10497
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10498
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerUpdate']?.[localVarOperationServerIndex]?.url;
|
|
10499
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10500
|
+
},
|
|
10501
|
+
};
|
|
10502
|
+
};
|
|
10503
|
+
/**
|
|
10504
|
+
* HookApi - factory interface
|
|
10505
|
+
* @export
|
|
10506
|
+
*/
|
|
10507
|
+
export const HookApiFactory = function (configuration, basePath, axios) {
|
|
10508
|
+
const localVarFp = HookApiFp(configuration);
|
|
10509
|
+
return {
|
|
10510
|
+
/**
|
|
10511
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
|
|
10512
|
+
* @summary Create
|
|
10513
|
+
* @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
|
|
10514
|
+
* @param {*} [options] Override http request option.
|
|
10515
|
+
* @throws {RequiredError}
|
|
10516
|
+
*/
|
|
10517
|
+
hookControllerCreate(hookCreateDTO, options) {
|
|
10518
|
+
return localVarFp.hookControllerCreate(hookCreateDTO, options).then((request) => request(axios, basePath));
|
|
10519
|
+
},
|
|
10520
|
+
/**
|
|
10521
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
10522
|
+
* @summary Get executions
|
|
10523
|
+
* @param {string} id
|
|
10524
|
+
* @param {any} [success]
|
|
10525
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10526
|
+
* @param {*} [options] Override http request option.
|
|
10527
|
+
* @throws {RequiredError}
|
|
10528
|
+
*/
|
|
10529
|
+
hookControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
10530
|
+
return localVarFp
|
|
10531
|
+
.hookControllerGetExecutions(id, success, eventSearchInputDTO, options)
|
|
10532
|
+
.then((request) => request(axios, basePath));
|
|
10533
|
+
},
|
|
10534
|
+
/**
|
|
10535
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
10536
|
+
* @summary Get one
|
|
10537
|
+
* @param {string} id
|
|
10538
|
+
* @param {*} [options] Override http request option.
|
|
10539
|
+
* @throws {RequiredError}
|
|
10540
|
+
*/
|
|
10541
|
+
hookControllerGetOne(id, options) {
|
|
10542
|
+
return localVarFp.hookControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
10543
|
+
},
|
|
10544
|
+
/**
|
|
10545
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
10546
|
+
* @summary Remove
|
|
10547
|
+
* @param {string} id
|
|
10548
|
+
* @param {*} [options] Override http request option.
|
|
10549
|
+
* @throws {RequiredError}
|
|
10550
|
+
*/
|
|
10551
|
+
hookControllerRemove(id, options) {
|
|
10552
|
+
return localVarFp.hookControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
10553
|
+
},
|
|
10554
|
+
/**
|
|
10555
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
10556
|
+
* @summary Search
|
|
10557
|
+
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
10558
|
+
* @param {*} [options] Override http request option.
|
|
10559
|
+
* @throws {RequiredError}
|
|
10560
|
+
*/
|
|
10561
|
+
hookControllerSearch(hookSearchInputDTO, options) {
|
|
10562
|
+
return localVarFp.hookControllerSearch(hookSearchInputDTO, options).then((request) => request(axios, basePath));
|
|
10563
|
+
},
|
|
10564
|
+
/**
|
|
10565
|
+
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
10566
|
+
* @summary Trigger
|
|
10567
|
+
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
10568
|
+
* @param {*} [options] Override http request option.
|
|
10569
|
+
* @throws {RequiredError}
|
|
10570
|
+
*/
|
|
10571
|
+
hookControllerTrigger(hookTriggerDTO, options) {
|
|
10572
|
+
return localVarFp.hookControllerTrigger(hookTriggerDTO, options).then((request) => request(axios, basePath));
|
|
10573
|
+
},
|
|
10574
|
+
/**
|
|
10575
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
10576
|
+
* @summary Update
|
|
10577
|
+
* @param {string} id
|
|
10578
|
+
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
10579
|
+
* @param {*} [options] Override http request option.
|
|
10580
|
+
* @throws {RequiredError}
|
|
10581
|
+
*/
|
|
10582
|
+
hookControllerUpdate(id, hookUpdateDTO, options) {
|
|
10583
|
+
return localVarFp.hookControllerUpdate(id, hookUpdateDTO, options).then((request) => request(axios, basePath));
|
|
10584
|
+
},
|
|
10585
|
+
};
|
|
10586
|
+
};
|
|
10587
|
+
/**
|
|
10588
|
+
* HookApi - object-oriented interface
|
|
10589
|
+
* @export
|
|
10590
|
+
* @class HookApi
|
|
10591
|
+
* @extends {BaseAPI}
|
|
10592
|
+
*/
|
|
10593
|
+
export class HookApi extends BaseAPI {
|
|
10594
|
+
/**
|
|
10595
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
|
|
10596
|
+
* @summary Create
|
|
10597
|
+
* @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
|
|
10598
|
+
* @param {*} [options] Override http request option.
|
|
10599
|
+
* @throws {RequiredError}
|
|
10600
|
+
* @memberof HookApi
|
|
10601
|
+
*/
|
|
10602
|
+
hookControllerCreate(hookCreateDTO, options) {
|
|
10603
|
+
return HookApiFp(this.configuration)
|
|
10604
|
+
.hookControllerCreate(hookCreateDTO, options)
|
|
10605
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10606
|
+
}
|
|
10607
|
+
/**
|
|
10608
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
10609
|
+
* @summary Get executions
|
|
10610
|
+
* @param {string} id
|
|
10611
|
+
* @param {any} [success]
|
|
10612
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10613
|
+
* @param {*} [options] Override http request option.
|
|
10614
|
+
* @throws {RequiredError}
|
|
10615
|
+
* @memberof HookApi
|
|
10616
|
+
*/
|
|
10617
|
+
hookControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
10618
|
+
return HookApiFp(this.configuration)
|
|
10619
|
+
.hookControllerGetExecutions(id, success, eventSearchInputDTO, options)
|
|
10620
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10621
|
+
}
|
|
10622
|
+
/**
|
|
10623
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
10624
|
+
* @summary Get one
|
|
10625
|
+
* @param {string} id
|
|
10626
|
+
* @param {*} [options] Override http request option.
|
|
10627
|
+
* @throws {RequiredError}
|
|
10628
|
+
* @memberof HookApi
|
|
10629
|
+
*/
|
|
10630
|
+
hookControllerGetOne(id, options) {
|
|
10631
|
+
return HookApiFp(this.configuration)
|
|
10632
|
+
.hookControllerGetOne(id, options)
|
|
10633
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10634
|
+
}
|
|
10635
|
+
/**
|
|
10636
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
10637
|
+
* @summary Remove
|
|
10638
|
+
* @param {string} id
|
|
10639
|
+
* @param {*} [options] Override http request option.
|
|
10640
|
+
* @throws {RequiredError}
|
|
10641
|
+
* @memberof HookApi
|
|
10642
|
+
*/
|
|
10643
|
+
hookControllerRemove(id, options) {
|
|
10644
|
+
return HookApiFp(this.configuration)
|
|
10645
|
+
.hookControllerRemove(id, options)
|
|
10646
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10647
|
+
}
|
|
10648
|
+
/**
|
|
10649
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
10650
|
+
* @summary Search
|
|
10651
|
+
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
10652
|
+
* @param {*} [options] Override http request option.
|
|
10653
|
+
* @throws {RequiredError}
|
|
10654
|
+
* @memberof HookApi
|
|
10655
|
+
*/
|
|
10656
|
+
hookControllerSearch(hookSearchInputDTO, options) {
|
|
10657
|
+
return HookApiFp(this.configuration)
|
|
10658
|
+
.hookControllerSearch(hookSearchInputDTO, options)
|
|
10659
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10660
|
+
}
|
|
10661
|
+
/**
|
|
10662
|
+
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
10663
|
+
* @summary Trigger
|
|
10664
|
+
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
10665
|
+
* @param {*} [options] Override http request option.
|
|
10666
|
+
* @throws {RequiredError}
|
|
10667
|
+
* @memberof HookApi
|
|
10668
|
+
*/
|
|
10669
|
+
hookControllerTrigger(hookTriggerDTO, options) {
|
|
10670
|
+
return HookApiFp(this.configuration)
|
|
10671
|
+
.hookControllerTrigger(hookTriggerDTO, options)
|
|
10672
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10673
|
+
}
|
|
10674
|
+
/**
|
|
10675
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
10676
|
+
* @summary Update
|
|
10677
|
+
* @param {string} id
|
|
10678
|
+
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
10679
|
+
* @param {*} [options] Override http request option.
|
|
10680
|
+
* @throws {RequiredError}
|
|
10681
|
+
* @memberof HookApi
|
|
10682
|
+
*/
|
|
10683
|
+
hookControllerUpdate(id, hookUpdateDTO, options) {
|
|
10684
|
+
return HookApiFp(this.configuration)
|
|
10685
|
+
.hookControllerUpdate(id, hookUpdateDTO, options)
|
|
10686
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10687
|
+
}
|
|
10688
|
+
}
|
|
10689
|
+
/**
|
|
10690
|
+
* InviteLinkApi - axios parameter creator
|
|
10691
|
+
* @export
|
|
10692
|
+
*/
|
|
10693
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration) {
|
|
10694
|
+
return {
|
|
10695
|
+
/**
|
|
10696
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
10697
|
+
* @summary Create invite link
|
|
10698
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
10699
|
+
* @param {*} [options] Override http request option.
|
|
10700
|
+
* @throws {RequiredError}
|
|
10701
|
+
*/
|
|
10702
|
+
inviteLinkControllerCreate: async (inviteLinkCreateInputDTO, options = {}) => {
|
|
10703
|
+
const localVarPath = `/invite-link`;
|
|
9690
10704
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9691
10705
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9692
10706
|
let baseOptions;
|
|
@@ -9701,90 +10715,81 @@ export const HookApiAxiosParamCreator = function (configuration) {
|
|
|
9701
10715
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9702
10716
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9703
10717
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9704
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
10718
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
|
|
9705
10719
|
return {
|
|
9706
10720
|
url: toPathString(localVarUrlObj),
|
|
9707
10721
|
options: localVarRequestOptions,
|
|
9708
10722
|
};
|
|
9709
10723
|
},
|
|
9710
10724
|
/**
|
|
9711
|
-
*
|
|
9712
|
-
* @summary
|
|
9713
|
-
* @param {string}
|
|
9714
|
-
* @param {any} [success]
|
|
9715
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10725
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10726
|
+
* @summary Preview
|
|
10727
|
+
* @param {string} token
|
|
9716
10728
|
* @param {*} [options] Override http request option.
|
|
9717
10729
|
* @throws {RequiredError}
|
|
9718
10730
|
*/
|
|
9719
|
-
|
|
9720
|
-
// verify required parameter '
|
|
9721
|
-
assertParamExists('
|
|
9722
|
-
const localVarPath = `/
|
|
10731
|
+
inviteLinkControllerPreview: async (token, options = {}) => {
|
|
10732
|
+
// verify required parameter 'token' is not null or undefined
|
|
10733
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
10734
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
9723
10735
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9724
10736
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9725
10737
|
let baseOptions;
|
|
9726
10738
|
if (configuration) {
|
|
9727
10739
|
baseOptions = configuration.baseOptions;
|
|
9728
10740
|
}
|
|
9729
|
-
const localVarRequestOptions = { method: '
|
|
10741
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
9730
10742
|
const localVarHeaderParameter = {};
|
|
9731
10743
|
const localVarQueryParameter = {};
|
|
9732
10744
|
// authentication domainAuth required
|
|
9733
|
-
if (success !== undefined) {
|
|
9734
|
-
for (const [key, value] of Object.entries(success)) {
|
|
9735
|
-
localVarQueryParameter[key] = value;
|
|
9736
|
-
}
|
|
9737
|
-
}
|
|
9738
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9739
10745
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9740
10746
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9741
10747
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9742
|
-
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
9743
10748
|
return {
|
|
9744
10749
|
url: toPathString(localVarUrlObj),
|
|
9745
10750
|
options: localVarRequestOptions,
|
|
9746
10751
|
};
|
|
9747
10752
|
},
|
|
9748
10753
|
/**
|
|
9749
|
-
*
|
|
9750
|
-
* @summary
|
|
9751
|
-
* @param {
|
|
10754
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10755
|
+
* @summary Redeem
|
|
10756
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
9752
10757
|
* @param {*} [options] Override http request option.
|
|
9753
10758
|
* @throws {RequiredError}
|
|
9754
10759
|
*/
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
assertParamExists('hookControllerGetOne', 'id', id);
|
|
9758
|
-
const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10760
|
+
inviteLinkControllerRedeem: async (redeemInputDTO, options = {}) => {
|
|
10761
|
+
const localVarPath = `/invite-link/redeem`;
|
|
9759
10762
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9760
10763
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9761
10764
|
let baseOptions;
|
|
9762
10765
|
if (configuration) {
|
|
9763
10766
|
baseOptions = configuration.baseOptions;
|
|
9764
10767
|
}
|
|
9765
|
-
const localVarRequestOptions = { method: '
|
|
10768
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
9766
10769
|
const localVarHeaderParameter = {};
|
|
9767
10770
|
const localVarQueryParameter = {};
|
|
9768
10771
|
// authentication domainAuth required
|
|
10772
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9769
10773
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9770
10774
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9771
10775
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10776
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
9772
10777
|
return {
|
|
9773
10778
|
url: toPathString(localVarUrlObj),
|
|
9774
10779
|
options: localVarRequestOptions,
|
|
9775
10780
|
};
|
|
9776
10781
|
},
|
|
9777
10782
|
/**
|
|
9778
|
-
* Required permissions: `
|
|
9779
|
-
* @summary
|
|
10783
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10784
|
+
* @summary Revoke
|
|
9780
10785
|
* @param {string} id
|
|
9781
10786
|
* @param {*} [options] Override http request option.
|
|
9782
10787
|
* @throws {RequiredError}
|
|
9783
10788
|
*/
|
|
9784
|
-
|
|
10789
|
+
inviteLinkControllerRevoke: async (id, options = {}) => {
|
|
9785
10790
|
// verify required parameter 'id' is not null or undefined
|
|
9786
|
-
assertParamExists('
|
|
9787
|
-
const localVarPath = `/
|
|
10791
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
10792
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
9788
10793
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9789
10794
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9790
10795
|
let baseOptions;
|
|
@@ -9804,43 +10809,14 @@ export const HookApiAxiosParamCreator = function (configuration) {
|
|
|
9804
10809
|
};
|
|
9805
10810
|
},
|
|
9806
10811
|
/**
|
|
9807
|
-
*
|
|
10812
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
9808
10813
|
* @summary Search
|
|
9809
|
-
* @param {
|
|
9810
|
-
* @param {*} [options] Override http request option.
|
|
9811
|
-
* @throws {RequiredError}
|
|
9812
|
-
*/
|
|
9813
|
-
hookControllerSearch: async (hookSearchInputDTO, options = {}) => {
|
|
9814
|
-
const localVarPath = `/hook/search`;
|
|
9815
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9816
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9817
|
-
let baseOptions;
|
|
9818
|
-
if (configuration) {
|
|
9819
|
-
baseOptions = configuration.baseOptions;
|
|
9820
|
-
}
|
|
9821
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
9822
|
-
const localVarHeaderParameter = {};
|
|
9823
|
-
const localVarQueryParameter = {};
|
|
9824
|
-
// authentication domainAuth required
|
|
9825
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9826
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9827
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9828
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9829
|
-
localVarRequestOptions.data = serializeDataIfNeeded(hookSearchInputDTO, localVarRequestOptions, configuration);
|
|
9830
|
-
return {
|
|
9831
|
-
url: toPathString(localVarUrlObj),
|
|
9832
|
-
options: localVarRequestOptions,
|
|
9833
|
-
};
|
|
9834
|
-
},
|
|
9835
|
-
/**
|
|
9836
|
-
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
9837
|
-
* @summary Trigger
|
|
9838
|
-
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
10814
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
9839
10815
|
* @param {*} [options] Override http request option.
|
|
9840
10816
|
* @throws {RequiredError}
|
|
9841
10817
|
*/
|
|
9842
|
-
|
|
9843
|
-
const localVarPath = `/
|
|
10818
|
+
inviteLinkControllerSearch: async (inviteLinkSearchInputDTO, options = {}) => {
|
|
10819
|
+
const localVarPath = `/invite-link/search`;
|
|
9844
10820
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9845
10821
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9846
10822
|
let baseOptions;
|
|
@@ -9855,39 +10831,7 @@ export const HookApiAxiosParamCreator = function (configuration) {
|
|
|
9855
10831
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9856
10832
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9857
10833
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9858
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
9859
|
-
return {
|
|
9860
|
-
url: toPathString(localVarUrlObj),
|
|
9861
|
-
options: localVarRequestOptions,
|
|
9862
|
-
};
|
|
9863
|
-
},
|
|
9864
|
-
/**
|
|
9865
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
9866
|
-
* @summary Update
|
|
9867
|
-
* @param {string} id
|
|
9868
|
-
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
9869
|
-
* @param {*} [options] Override http request option.
|
|
9870
|
-
* @throws {RequiredError}
|
|
9871
|
-
*/
|
|
9872
|
-
hookControllerUpdate: async (id, hookUpdateDTO, options = {}) => {
|
|
9873
|
-
// verify required parameter 'id' is not null or undefined
|
|
9874
|
-
assertParamExists('hookControllerUpdate', 'id', id);
|
|
9875
|
-
const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
9876
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9877
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9878
|
-
let baseOptions;
|
|
9879
|
-
if (configuration) {
|
|
9880
|
-
baseOptions = configuration.baseOptions;
|
|
9881
|
-
}
|
|
9882
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
9883
|
-
const localVarHeaderParameter = {};
|
|
9884
|
-
const localVarQueryParameter = {};
|
|
9885
|
-
// authentication domainAuth required
|
|
9886
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9887
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9888
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9889
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9890
|
-
localVarRequestOptions.data = serializeDataIfNeeded(hookUpdateDTO, localVarRequestOptions, configuration);
|
|
10834
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkSearchInputDTO, localVarRequestOptions, configuration);
|
|
9891
10835
|
return {
|
|
9892
10836
|
url: toPathString(localVarUrlObj),
|
|
9893
10837
|
options: localVarRequestOptions,
|
|
@@ -9896,291 +10840,212 @@ export const HookApiAxiosParamCreator = function (configuration) {
|
|
|
9896
10840
|
};
|
|
9897
10841
|
};
|
|
9898
10842
|
/**
|
|
9899
|
-
*
|
|
10843
|
+
* InviteLinkApi - functional programming interface
|
|
9900
10844
|
* @export
|
|
9901
10845
|
*/
|
|
9902
|
-
export const
|
|
9903
|
-
const localVarAxiosParamCreator =
|
|
10846
|
+
export const InviteLinkApiFp = function (configuration) {
|
|
10847
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
9904
10848
|
return {
|
|
9905
10849
|
/**
|
|
9906
|
-
*
|
|
9907
|
-
* @summary Create
|
|
9908
|
-
* @param {
|
|
10850
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
10851
|
+
* @summary Create invite link
|
|
10852
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
9909
10853
|
* @param {*} [options] Override http request option.
|
|
9910
10854
|
* @throws {RequiredError}
|
|
9911
10855
|
*/
|
|
9912
|
-
async
|
|
9913
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10856
|
+
async inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
10857
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options);
|
|
9914
10858
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9915
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10859
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
9916
10860
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9917
10861
|
},
|
|
9918
10862
|
/**
|
|
9919
|
-
*
|
|
9920
|
-
* @summary
|
|
9921
|
-
* @param {string}
|
|
9922
|
-
* @param {any} [success]
|
|
9923
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10863
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10864
|
+
* @summary Preview
|
|
10865
|
+
* @param {string} token
|
|
9924
10866
|
* @param {*} [options] Override http request option.
|
|
9925
10867
|
* @throws {RequiredError}
|
|
9926
10868
|
*/
|
|
9927
|
-
async
|
|
9928
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10869
|
+
async inviteLinkControllerPreview(token, options) {
|
|
10870
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
9929
10871
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9930
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10872
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
9931
10873
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9932
10874
|
},
|
|
9933
10875
|
/**
|
|
9934
|
-
*
|
|
9935
|
-
* @summary
|
|
9936
|
-
* @param {
|
|
10876
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10877
|
+
* @summary Redeem
|
|
10878
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
9937
10879
|
* @param {*} [options] Override http request option.
|
|
9938
10880
|
* @throws {RequiredError}
|
|
9939
10881
|
*/
|
|
9940
|
-
async
|
|
9941
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10882
|
+
async inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
10883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
9942
10884
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9943
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10885
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
9944
10886
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9945
10887
|
},
|
|
9946
10888
|
/**
|
|
9947
|
-
* Required permissions: `
|
|
9948
|
-
* @summary
|
|
10889
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10890
|
+
* @summary Revoke
|
|
9949
10891
|
* @param {string} id
|
|
9950
10892
|
* @param {*} [options] Override http request option.
|
|
9951
10893
|
* @throws {RequiredError}
|
|
9952
10894
|
*/
|
|
9953
|
-
async
|
|
9954
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10895
|
+
async inviteLinkControllerRevoke(id, options) {
|
|
10896
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
9955
10897
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9956
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10898
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
9957
10899
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9958
10900
|
},
|
|
9959
10901
|
/**
|
|
9960
|
-
*
|
|
10902
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
9961
10903
|
* @summary Search
|
|
9962
|
-
* @param {
|
|
9963
|
-
* @param {*} [options] Override http request option.
|
|
9964
|
-
* @throws {RequiredError}
|
|
9965
|
-
*/
|
|
9966
|
-
async hookControllerSearch(hookSearchInputDTO, options) {
|
|
9967
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerSearch(hookSearchInputDTO, options);
|
|
9968
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9969
|
-
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
9970
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9971
|
-
},
|
|
9972
|
-
/**
|
|
9973
|
-
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
9974
|
-
* @summary Trigger
|
|
9975
|
-
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
9976
|
-
* @param {*} [options] Override http request option.
|
|
9977
|
-
* @throws {RequiredError}
|
|
9978
|
-
*/
|
|
9979
|
-
async hookControllerTrigger(hookTriggerDTO, options) {
|
|
9980
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerTrigger(hookTriggerDTO, options);
|
|
9981
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9982
|
-
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerTrigger']?.[localVarOperationServerIndex]?.url;
|
|
9983
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9984
|
-
},
|
|
9985
|
-
/**
|
|
9986
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
9987
|
-
* @summary Update
|
|
9988
|
-
* @param {string} id
|
|
9989
|
-
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
10904
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
9990
10905
|
* @param {*} [options] Override http request option.
|
|
9991
10906
|
* @throws {RequiredError}
|
|
9992
10907
|
*/
|
|
9993
|
-
async
|
|
9994
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10908
|
+
async inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
10909
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options);
|
|
9995
10910
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9996
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10911
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
9997
10912
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9998
10913
|
},
|
|
9999
10914
|
};
|
|
10000
10915
|
};
|
|
10001
10916
|
/**
|
|
10002
|
-
*
|
|
10917
|
+
* InviteLinkApi - factory interface
|
|
10003
10918
|
* @export
|
|
10004
10919
|
*/
|
|
10005
|
-
export const
|
|
10006
|
-
const localVarFp =
|
|
10920
|
+
export const InviteLinkApiFactory = function (configuration, basePath, axios) {
|
|
10921
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
10007
10922
|
return {
|
|
10008
10923
|
/**
|
|
10009
|
-
*
|
|
10010
|
-
* @summary Create
|
|
10011
|
-
* @param {
|
|
10012
|
-
* @param {*} [options] Override http request option.
|
|
10013
|
-
* @throws {RequiredError}
|
|
10014
|
-
*/
|
|
10015
|
-
hookControllerCreate(hookCreateDTO, options) {
|
|
10016
|
-
return localVarFp.hookControllerCreate(hookCreateDTO, options).then((request) => request(axios, basePath));
|
|
10017
|
-
},
|
|
10018
|
-
/**
|
|
10019
|
-
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
10020
|
-
* @summary Get executions
|
|
10021
|
-
* @param {string} id
|
|
10022
|
-
* @param {any} [success]
|
|
10023
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10924
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
10925
|
+
* @summary Create invite link
|
|
10926
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
10024
10927
|
* @param {*} [options] Override http request option.
|
|
10025
10928
|
* @throws {RequiredError}
|
|
10026
10929
|
*/
|
|
10027
|
-
|
|
10930
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
10028
10931
|
return localVarFp
|
|
10029
|
-
.
|
|
10932
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
10030
10933
|
.then((request) => request(axios, basePath));
|
|
10031
10934
|
},
|
|
10032
10935
|
/**
|
|
10033
|
-
*
|
|
10034
|
-
* @summary
|
|
10035
|
-
* @param {string}
|
|
10036
|
-
* @param {*} [options] Override http request option.
|
|
10037
|
-
* @throws {RequiredError}
|
|
10038
|
-
*/
|
|
10039
|
-
hookControllerGetOne(id, options) {
|
|
10040
|
-
return localVarFp.hookControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
10041
|
-
},
|
|
10042
|
-
/**
|
|
10043
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
10044
|
-
* @summary Remove
|
|
10045
|
-
* @param {string} id
|
|
10046
|
-
* @param {*} [options] Override http request option.
|
|
10047
|
-
* @throws {RequiredError}
|
|
10048
|
-
*/
|
|
10049
|
-
hookControllerRemove(id, options) {
|
|
10050
|
-
return localVarFp.hookControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
10051
|
-
},
|
|
10052
|
-
/**
|
|
10053
|
-
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
10054
|
-
* @summary Search
|
|
10055
|
-
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
10936
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10937
|
+
* @summary Preview
|
|
10938
|
+
* @param {string} token
|
|
10056
10939
|
* @param {*} [options] Override http request option.
|
|
10057
10940
|
* @throws {RequiredError}
|
|
10058
10941
|
*/
|
|
10059
|
-
|
|
10060
|
-
return localVarFp.
|
|
10942
|
+
inviteLinkControllerPreview(token, options) {
|
|
10943
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
10061
10944
|
},
|
|
10062
10945
|
/**
|
|
10063
|
-
*
|
|
10064
|
-
* @summary
|
|
10065
|
-
* @param {
|
|
10946
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10947
|
+
* @summary Redeem
|
|
10948
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
10066
10949
|
* @param {*} [options] Override http request option.
|
|
10067
10950
|
* @throws {RequiredError}
|
|
10068
10951
|
*/
|
|
10069
|
-
|
|
10070
|
-
return localVarFp.
|
|
10952
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
10953
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
10071
10954
|
},
|
|
10072
10955
|
/**
|
|
10073
|
-
* Required permissions: `
|
|
10074
|
-
* @summary
|
|
10956
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10957
|
+
* @summary Revoke
|
|
10075
10958
|
* @param {string} id
|
|
10076
|
-
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
10077
10959
|
* @param {*} [options] Override http request option.
|
|
10078
10960
|
* @throws {RequiredError}
|
|
10079
10961
|
*/
|
|
10080
|
-
|
|
10081
|
-
return localVarFp.
|
|
10962
|
+
inviteLinkControllerRevoke(id, options) {
|
|
10963
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
10082
10964
|
},
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10087
|
-
*
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10094
|
-
|
|
10095
|
-
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
|
-
|
|
10101
|
-
|
|
10102
|
-
|
|
10103
|
-
|
|
10104
|
-
}
|
|
10105
|
-
/**
|
|
10106
|
-
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
10107
|
-
* @summary Get executions
|
|
10108
|
-
* @param {string} id
|
|
10109
|
-
* @param {any} [success]
|
|
10110
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10111
|
-
* @param {*} [options] Override http request option.
|
|
10112
|
-
* @throws {RequiredError}
|
|
10113
|
-
* @memberof HookApi
|
|
10114
|
-
*/
|
|
10115
|
-
hookControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
10116
|
-
return HookApiFp(this.configuration)
|
|
10117
|
-
.hookControllerGetExecutions(id, success, eventSearchInputDTO, options)
|
|
10118
|
-
.then((request) => request(this.axios, this.basePath));
|
|
10119
|
-
}
|
|
10965
|
+
/**
|
|
10966
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10967
|
+
* @summary Search
|
|
10968
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10969
|
+
* @param {*} [options] Override http request option.
|
|
10970
|
+
* @throws {RequiredError}
|
|
10971
|
+
*/
|
|
10972
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
10973
|
+
return localVarFp
|
|
10974
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
10975
|
+
.then((request) => request(axios, basePath));
|
|
10976
|
+
},
|
|
10977
|
+
};
|
|
10978
|
+
};
|
|
10979
|
+
/**
|
|
10980
|
+
* InviteLinkApi - object-oriented interface
|
|
10981
|
+
* @export
|
|
10982
|
+
* @class InviteLinkApi
|
|
10983
|
+
* @extends {BaseAPI}
|
|
10984
|
+
*/
|
|
10985
|
+
export class InviteLinkApi extends BaseAPI {
|
|
10120
10986
|
/**
|
|
10121
|
-
*
|
|
10122
|
-
* @summary
|
|
10123
|
-
* @param {
|
|
10987
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
10988
|
+
* @summary Create invite link
|
|
10989
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
10124
10990
|
* @param {*} [options] Override http request option.
|
|
10125
10991
|
* @throws {RequiredError}
|
|
10126
|
-
* @memberof
|
|
10992
|
+
* @memberof InviteLinkApi
|
|
10127
10993
|
*/
|
|
10128
|
-
|
|
10129
|
-
return
|
|
10130
|
-
.
|
|
10994
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
10995
|
+
return InviteLinkApiFp(this.configuration)
|
|
10996
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
10131
10997
|
.then((request) => request(this.axios, this.basePath));
|
|
10132
10998
|
}
|
|
10133
10999
|
/**
|
|
10134
|
-
*
|
|
10135
|
-
* @summary
|
|
10136
|
-
* @param {string}
|
|
11000
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
11001
|
+
* @summary Preview
|
|
11002
|
+
* @param {string} token
|
|
10137
11003
|
* @param {*} [options] Override http request option.
|
|
10138
11004
|
* @throws {RequiredError}
|
|
10139
|
-
* @memberof
|
|
11005
|
+
* @memberof InviteLinkApi
|
|
10140
11006
|
*/
|
|
10141
|
-
|
|
10142
|
-
return
|
|
10143
|
-
.
|
|
11007
|
+
inviteLinkControllerPreview(token, options) {
|
|
11008
|
+
return InviteLinkApiFp(this.configuration)
|
|
11009
|
+
.inviteLinkControllerPreview(token, options)
|
|
10144
11010
|
.then((request) => request(this.axios, this.basePath));
|
|
10145
11011
|
}
|
|
10146
11012
|
/**
|
|
10147
|
-
*
|
|
10148
|
-
* @summary
|
|
10149
|
-
* @param {
|
|
11013
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
11014
|
+
* @summary Redeem
|
|
11015
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
10150
11016
|
* @param {*} [options] Override http request option.
|
|
10151
11017
|
* @throws {RequiredError}
|
|
10152
|
-
* @memberof
|
|
11018
|
+
* @memberof InviteLinkApi
|
|
10153
11019
|
*/
|
|
10154
|
-
|
|
10155
|
-
return
|
|
10156
|
-
.
|
|
11020
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
11021
|
+
return InviteLinkApiFp(this.configuration)
|
|
11022
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
10157
11023
|
.then((request) => request(this.axios, this.basePath));
|
|
10158
11024
|
}
|
|
10159
11025
|
/**
|
|
10160
|
-
*
|
|
10161
|
-
* @summary
|
|
10162
|
-
* @param {
|
|
11026
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
11027
|
+
* @summary Revoke
|
|
11028
|
+
* @param {string} id
|
|
10163
11029
|
* @param {*} [options] Override http request option.
|
|
10164
11030
|
* @throws {RequiredError}
|
|
10165
|
-
* @memberof
|
|
11031
|
+
* @memberof InviteLinkApi
|
|
10166
11032
|
*/
|
|
10167
|
-
|
|
10168
|
-
return
|
|
10169
|
-
.
|
|
11033
|
+
inviteLinkControllerRevoke(id, options) {
|
|
11034
|
+
return InviteLinkApiFp(this.configuration)
|
|
11035
|
+
.inviteLinkControllerRevoke(id, options)
|
|
10170
11036
|
.then((request) => request(this.axios, this.basePath));
|
|
10171
11037
|
}
|
|
10172
11038
|
/**
|
|
10173
|
-
* Required permissions: `
|
|
10174
|
-
* @summary
|
|
10175
|
-
* @param {
|
|
10176
|
-
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
11039
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
11040
|
+
* @summary Search
|
|
11041
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10177
11042
|
* @param {*} [options] Override http request option.
|
|
10178
11043
|
* @throws {RequiredError}
|
|
10179
|
-
* @memberof
|
|
11044
|
+
* @memberof InviteLinkApi
|
|
10180
11045
|
*/
|
|
10181
|
-
|
|
10182
|
-
return
|
|
10183
|
-
.
|
|
11046
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
11047
|
+
return InviteLinkApiFp(this.configuration)
|
|
11048
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
10184
11049
|
.then((request) => request(this.axios, this.basePath));
|
|
10185
11050
|
}
|
|
10186
11051
|
}
|
|
@@ -16408,6 +17273,240 @@ export class ShopOrderApi extends BaseAPI {
|
|
|
16408
17273
|
.then((request) => request(this.axios, this.basePath));
|
|
16409
17274
|
}
|
|
16410
17275
|
}
|
|
17276
|
+
/**
|
|
17277
|
+
* StorefrontConfigApi - axios parameter creator
|
|
17278
|
+
* @export
|
|
17279
|
+
*/
|
|
17280
|
+
export const StorefrontConfigApiAxiosParamCreator = function (configuration) {
|
|
17281
|
+
return {
|
|
17282
|
+
/**
|
|
17283
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17284
|
+
* @summary Get effective config
|
|
17285
|
+
* @param {string} gameServerId
|
|
17286
|
+
* @param {*} [options] Override http request option.
|
|
17287
|
+
* @throws {RequiredError}
|
|
17288
|
+
*/
|
|
17289
|
+
storefrontConfigControllerGetEffectiveConfig: async (gameServerId, options = {}) => {
|
|
17290
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
17291
|
+
assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
|
|
17292
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
17293
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17294
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17295
|
+
let baseOptions;
|
|
17296
|
+
if (configuration) {
|
|
17297
|
+
baseOptions = configuration.baseOptions;
|
|
17298
|
+
}
|
|
17299
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17300
|
+
const localVarHeaderParameter = {};
|
|
17301
|
+
const localVarQueryParameter = {};
|
|
17302
|
+
// authentication domainAuth required
|
|
17303
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17304
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17305
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17306
|
+
return {
|
|
17307
|
+
url: toPathString(localVarUrlObj),
|
|
17308
|
+
options: localVarRequestOptions,
|
|
17309
|
+
};
|
|
17310
|
+
},
|
|
17311
|
+
/**
|
|
17312
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17313
|
+
* @summary List templates
|
|
17314
|
+
* @param {*} [options] Override http request option.
|
|
17315
|
+
* @throws {RequiredError}
|
|
17316
|
+
*/
|
|
17317
|
+
storefrontConfigControllerListTemplates: async (options = {}) => {
|
|
17318
|
+
const localVarPath = `/storefront/templates`;
|
|
17319
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17320
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17321
|
+
let baseOptions;
|
|
17322
|
+
if (configuration) {
|
|
17323
|
+
baseOptions = configuration.baseOptions;
|
|
17324
|
+
}
|
|
17325
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17326
|
+
const localVarHeaderParameter = {};
|
|
17327
|
+
const localVarQueryParameter = {};
|
|
17328
|
+
// authentication domainAuth required
|
|
17329
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17330
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17331
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17332
|
+
return {
|
|
17333
|
+
url: toPathString(localVarUrlObj),
|
|
17334
|
+
options: localVarRequestOptions,
|
|
17335
|
+
};
|
|
17336
|
+
},
|
|
17337
|
+
/**
|
|
17338
|
+
* 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`
|
|
17339
|
+
* @summary Set config
|
|
17340
|
+
* @param {string} gameServerId
|
|
17341
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17342
|
+
* @param {*} [options] Override http request option.
|
|
17343
|
+
* @throws {RequiredError}
|
|
17344
|
+
*/
|
|
17345
|
+
storefrontConfigControllerSetConfig: async (gameServerId, storefrontConfigUpsertBody, options = {}) => {
|
|
17346
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
17347
|
+
assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
|
|
17348
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
17349
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17350
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17351
|
+
let baseOptions;
|
|
17352
|
+
if (configuration) {
|
|
17353
|
+
baseOptions = configuration.baseOptions;
|
|
17354
|
+
}
|
|
17355
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
17356
|
+
const localVarHeaderParameter = {};
|
|
17357
|
+
const localVarQueryParameter = {};
|
|
17358
|
+
// authentication domainAuth required
|
|
17359
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17360
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17361
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17362
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17363
|
+
localVarRequestOptions.data = serializeDataIfNeeded(storefrontConfigUpsertBody, localVarRequestOptions, configuration);
|
|
17364
|
+
return {
|
|
17365
|
+
url: toPathString(localVarUrlObj),
|
|
17366
|
+
options: localVarRequestOptions,
|
|
17367
|
+
};
|
|
17368
|
+
},
|
|
17369
|
+
};
|
|
17370
|
+
};
|
|
17371
|
+
/**
|
|
17372
|
+
* StorefrontConfigApi - functional programming interface
|
|
17373
|
+
* @export
|
|
17374
|
+
*/
|
|
17375
|
+
export const StorefrontConfigApiFp = function (configuration) {
|
|
17376
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
17377
|
+
return {
|
|
17378
|
+
/**
|
|
17379
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17380
|
+
* @summary Get effective config
|
|
17381
|
+
* @param {string} gameServerId
|
|
17382
|
+
* @param {*} [options] Override http request option.
|
|
17383
|
+
* @throws {RequiredError}
|
|
17384
|
+
*/
|
|
17385
|
+
async storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(gameServerId, options);
|
|
17387
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17388
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[localVarOperationServerIndex]?.url;
|
|
17389
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17390
|
+
},
|
|
17391
|
+
/**
|
|
17392
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17393
|
+
* @summary List templates
|
|
17394
|
+
* @param {*} [options] Override http request option.
|
|
17395
|
+
* @throws {RequiredError}
|
|
17396
|
+
*/
|
|
17397
|
+
async storefrontConfigControllerListTemplates(options) {
|
|
17398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
17399
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17400
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[localVarOperationServerIndex]?.url;
|
|
17401
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17402
|
+
},
|
|
17403
|
+
/**
|
|
17404
|
+
* 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`
|
|
17405
|
+
* @summary Set config
|
|
17406
|
+
* @param {string} gameServerId
|
|
17407
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17408
|
+
* @param {*} [options] Override http request option.
|
|
17409
|
+
* @throws {RequiredError}
|
|
17410
|
+
*/
|
|
17411
|
+
async storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17412
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options);
|
|
17413
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17414
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
17415
|
+
?.url;
|
|
17416
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17417
|
+
},
|
|
17418
|
+
};
|
|
17419
|
+
};
|
|
17420
|
+
/**
|
|
17421
|
+
* StorefrontConfigApi - factory interface
|
|
17422
|
+
* @export
|
|
17423
|
+
*/
|
|
17424
|
+
export const StorefrontConfigApiFactory = function (configuration, basePath, axios) {
|
|
17425
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
17426
|
+
return {
|
|
17427
|
+
/**
|
|
17428
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17429
|
+
* @summary Get effective config
|
|
17430
|
+
* @param {string} gameServerId
|
|
17431
|
+
* @param {*} [options] Override http request option.
|
|
17432
|
+
* @throws {RequiredError}
|
|
17433
|
+
*/
|
|
17434
|
+
storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17435
|
+
return localVarFp
|
|
17436
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
17437
|
+
.then((request) => request(axios, basePath));
|
|
17438
|
+
},
|
|
17439
|
+
/**
|
|
17440
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17441
|
+
* @summary List templates
|
|
17442
|
+
* @param {*} [options] Override http request option.
|
|
17443
|
+
* @throws {RequiredError}
|
|
17444
|
+
*/
|
|
17445
|
+
storefrontConfigControllerListTemplates(options) {
|
|
17446
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
17447
|
+
},
|
|
17448
|
+
/**
|
|
17449
|
+
* 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`
|
|
17450
|
+
* @summary Set config
|
|
17451
|
+
* @param {string} gameServerId
|
|
17452
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17453
|
+
* @param {*} [options] Override http request option.
|
|
17454
|
+
* @throws {RequiredError}
|
|
17455
|
+
*/
|
|
17456
|
+
storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17457
|
+
return localVarFp
|
|
17458
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17459
|
+
.then((request) => request(axios, basePath));
|
|
17460
|
+
},
|
|
17461
|
+
};
|
|
17462
|
+
};
|
|
17463
|
+
/**
|
|
17464
|
+
* StorefrontConfigApi - object-oriented interface
|
|
17465
|
+
* @export
|
|
17466
|
+
* @class StorefrontConfigApi
|
|
17467
|
+
* @extends {BaseAPI}
|
|
17468
|
+
*/
|
|
17469
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
17470
|
+
/**
|
|
17471
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17472
|
+
* @summary Get effective config
|
|
17473
|
+
* @param {string} gameServerId
|
|
17474
|
+
* @param {*} [options] Override http request option.
|
|
17475
|
+
* @throws {RequiredError}
|
|
17476
|
+
* @memberof StorefrontConfigApi
|
|
17477
|
+
*/
|
|
17478
|
+
storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17479
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17480
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
17481
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17482
|
+
}
|
|
17483
|
+
/**
|
|
17484
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17485
|
+
* @summary List templates
|
|
17486
|
+
* @param {*} [options] Override http request option.
|
|
17487
|
+
* @throws {RequiredError}
|
|
17488
|
+
* @memberof StorefrontConfigApi
|
|
17489
|
+
*/
|
|
17490
|
+
storefrontConfigControllerListTemplates(options) {
|
|
17491
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17492
|
+
.storefrontConfigControllerListTemplates(options)
|
|
17493
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17494
|
+
}
|
|
17495
|
+
/**
|
|
17496
|
+
* 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`
|
|
17497
|
+
* @summary Set config
|
|
17498
|
+
* @param {string} gameServerId
|
|
17499
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17500
|
+
* @param {*} [options] Override http request option.
|
|
17501
|
+
* @throws {RequiredError}
|
|
17502
|
+
* @memberof StorefrontConfigApi
|
|
17503
|
+
*/
|
|
17504
|
+
storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17505
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17506
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17507
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17508
|
+
}
|
|
17509
|
+
}
|
|
16411
17510
|
/**
|
|
16412
17511
|
* TrackingApi - axios parameter creator
|
|
16413
17512
|
* @export
|
|
@@ -16822,6 +17921,32 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
16822
17921
|
options: localVarRequestOptions,
|
|
16823
17922
|
};
|
|
16824
17923
|
},
|
|
17924
|
+
/**
|
|
17925
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
17926
|
+
* @summary Count billable dashboard users
|
|
17927
|
+
* @param {*} [options] Override http request option.
|
|
17928
|
+
* @throws {RequiredError}
|
|
17929
|
+
*/
|
|
17930
|
+
userControllerCountBillableDashboardUsers: async (options = {}) => {
|
|
17931
|
+
const localVarPath = `/user/count`;
|
|
17932
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17933
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17934
|
+
let baseOptions;
|
|
17935
|
+
if (configuration) {
|
|
17936
|
+
baseOptions = configuration.baseOptions;
|
|
17937
|
+
}
|
|
17938
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17939
|
+
const localVarHeaderParameter = {};
|
|
17940
|
+
const localVarQueryParameter = {};
|
|
17941
|
+
// authentication domainAuth required
|
|
17942
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17943
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17944
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17945
|
+
return {
|
|
17946
|
+
url: toPathString(localVarUrlObj),
|
|
17947
|
+
options: localVarRequestOptions,
|
|
17948
|
+
};
|
|
17949
|
+
},
|
|
16825
17950
|
/**
|
|
16826
17951
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
16827
17952
|
* @summary Create
|
|
@@ -16911,6 +18036,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
16911
18036
|
* @summary Invite
|
|
16912
18037
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
16913
18038
|
* @param {*} [options] Override http request option.
|
|
18039
|
+
* @deprecated
|
|
16914
18040
|
* @throws {RequiredError}
|
|
16915
18041
|
*/
|
|
16916
18042
|
userControllerInvite: async (inviteCreateDTO, options = {}) => {
|
|
@@ -17222,6 +18348,18 @@ export const UserApiFp = function (configuration) {
|
|
|
17222
18348
|
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
17223
18349
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17224
18350
|
},
|
|
18351
|
+
/**
|
|
18352
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18353
|
+
* @summary Count billable dashboard users
|
|
18354
|
+
* @param {*} [options] Override http request option.
|
|
18355
|
+
* @throws {RequiredError}
|
|
18356
|
+
*/
|
|
18357
|
+
async userControllerCountBillableDashboardUsers(options) {
|
|
18358
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
18359
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18360
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
18361
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18362
|
+
},
|
|
17225
18363
|
/**
|
|
17226
18364
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17227
18365
|
* @summary Create
|
|
@@ -17265,6 +18403,7 @@ export const UserApiFp = function (configuration) {
|
|
|
17265
18403
|
* @summary Invite
|
|
17266
18404
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17267
18405
|
* @param {*} [options] Override http request option.
|
|
18406
|
+
* @deprecated
|
|
17268
18407
|
* @throws {RequiredError}
|
|
17269
18408
|
*/
|
|
17270
18409
|
async userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -17413,6 +18552,15 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
17413
18552
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
17414
18553
|
.then((request) => request(axios, basePath));
|
|
17415
18554
|
},
|
|
18555
|
+
/**
|
|
18556
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18557
|
+
* @summary Count billable dashboard users
|
|
18558
|
+
* @param {*} [options] Override http request option.
|
|
18559
|
+
* @throws {RequiredError}
|
|
18560
|
+
*/
|
|
18561
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18562
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
18563
|
+
},
|
|
17416
18564
|
/**
|
|
17417
18565
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17418
18566
|
* @summary Create
|
|
@@ -17447,6 +18595,7 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
17447
18595
|
* @summary Invite
|
|
17448
18596
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17449
18597
|
* @param {*} [options] Override http request option.
|
|
18598
|
+
* @deprecated
|
|
17450
18599
|
* @throws {RequiredError}
|
|
17451
18600
|
*/
|
|
17452
18601
|
userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -17568,6 +18717,18 @@ export class UserApi extends BaseAPI {
|
|
|
17568
18717
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
17569
18718
|
.then((request) => request(this.axios, this.basePath));
|
|
17570
18719
|
}
|
|
18720
|
+
/**
|
|
18721
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18722
|
+
* @summary Count billable dashboard users
|
|
18723
|
+
* @param {*} [options] Override http request option.
|
|
18724
|
+
* @throws {RequiredError}
|
|
18725
|
+
* @memberof UserApi
|
|
18726
|
+
*/
|
|
18727
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18728
|
+
return UserApiFp(this.configuration)
|
|
18729
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
18730
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18731
|
+
}
|
|
17571
18732
|
/**
|
|
17572
18733
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17573
18734
|
* @summary Create
|
|
@@ -17611,6 +18772,7 @@ export class UserApi extends BaseAPI {
|
|
|
17611
18772
|
* @summary Invite
|
|
17612
18773
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17613
18774
|
* @param {*} [options] Override http request option.
|
|
18775
|
+
* @deprecated
|
|
17614
18776
|
* @throws {RequiredError}
|
|
17615
18777
|
* @memberof UserApi
|
|
17616
18778
|
*/
|