@takaro/apiclient 0.0.0-dev.9f02005 → 0.0.0-dev.a1e25ba
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 +2148 -150
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1962 -601
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/adminClient.d.ts +1 -1
- package/dist/lib/adminClient.d.ts.map +1 -1
- package/dist/lib/adminClient.js +2 -1
- package/dist/lib/adminClient.js.map +1 -1
- package/dist/lib/baseClient.d.ts +15 -1
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +17 -3
- package/dist/lib/baseClient.js.map +1 -1
- package/dist/lib/client.d.ts +3 -2
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +10 -4
- package/dist/lib/client.js.map +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.d.ts.map +1 -1
- package/generated.manifest.json +27 -0
- package/openapi.json +28249 -0
- package/package.json +2 -2
- package/src/generated/api.ts +3329 -227
- package/src/lib/__tests__/baseClient.unit.test.ts +17 -0
- package/src/lib/adminClient.ts +5 -3
- package/src/lib/baseClient.ts +22 -4
- package/src/lib/client.ts +16 -4
- package/src/main.ts +1 -1
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',
|
|
@@ -793,6 +831,10 @@ export const PlayerOnGameServerSearchInputDTOSortDirectionEnum = {
|
|
|
793
831
|
Asc: 'asc',
|
|
794
832
|
Desc: 'desc',
|
|
795
833
|
};
|
|
834
|
+
export const PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum = {
|
|
835
|
+
Global: 'global',
|
|
836
|
+
GameServer: 'gameServer',
|
|
837
|
+
};
|
|
796
838
|
export const PlayerSearchInputDTOExtendEnum = {
|
|
797
839
|
PlayerOnGameServers: 'playerOnGameServers',
|
|
798
840
|
Roles: 'roles',
|
|
@@ -842,6 +884,11 @@ export const ShopCategorySearchInputDTOSortDirectionEnum = {
|
|
|
842
884
|
Asc: 'asc',
|
|
843
885
|
Desc: 'desc',
|
|
844
886
|
};
|
|
887
|
+
export const ShopListingBulkInputDTOActionEnum = {
|
|
888
|
+
Delete: 'delete',
|
|
889
|
+
Publish: 'publish',
|
|
890
|
+
Unpublish: 'unpublish',
|
|
891
|
+
};
|
|
845
892
|
export const ShopListingSearchInputDTOExtendEnum = {
|
|
846
893
|
GameServer: 'gameServer',
|
|
847
894
|
Items: 'items',
|
|
@@ -1407,7 +1454,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1407
1454
|
};
|
|
1408
1455
|
},
|
|
1409
1456
|
/**
|
|
1410
|
-
* Normalized 0-1 scores across
|
|
1457
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
1411
1458
|
* @summary Get module health scores
|
|
1412
1459
|
* @param {string} [startDate]
|
|
1413
1460
|
* @param {string} [endDate]
|
|
@@ -1448,6 +1495,56 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1448
1495
|
options: localVarRequestOptions,
|
|
1449
1496
|
};
|
|
1450
1497
|
},
|
|
1498
|
+
/**
|
|
1499
|
+
* 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`
|
|
1500
|
+
* @summary Get per-installation module KPIs
|
|
1501
|
+
* @param {string} gameServerId
|
|
1502
|
+
* @param {string} moduleId
|
|
1503
|
+
* @param {string} [startDate]
|
|
1504
|
+
* @param {string} [endDate]
|
|
1505
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
1506
|
+
* @param {*} [options] Override http request option.
|
|
1507
|
+
* @throws {RequiredError}
|
|
1508
|
+
*/
|
|
1509
|
+
analyticsControllerGetModuleInstallationKpis: async (gameServerId, moduleId, startDate, endDate, period, options = {}) => {
|
|
1510
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
1511
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
|
|
1512
|
+
// verify required parameter 'moduleId' is not null or undefined
|
|
1513
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
|
|
1514
|
+
const localVarPath = `/analytics/modules/installation-kpis`;
|
|
1515
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1516
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1517
|
+
let baseOptions;
|
|
1518
|
+
if (configuration) {
|
|
1519
|
+
baseOptions = configuration.baseOptions;
|
|
1520
|
+
}
|
|
1521
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1522
|
+
const localVarHeaderParameter = {};
|
|
1523
|
+
const localVarQueryParameter = {};
|
|
1524
|
+
// authentication domainAuth required
|
|
1525
|
+
if (startDate !== undefined) {
|
|
1526
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
1527
|
+
}
|
|
1528
|
+
if (endDate !== undefined) {
|
|
1529
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
1530
|
+
}
|
|
1531
|
+
if (gameServerId !== undefined) {
|
|
1532
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
1533
|
+
}
|
|
1534
|
+
if (moduleId !== undefined) {
|
|
1535
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
1536
|
+
}
|
|
1537
|
+
if (period !== undefined) {
|
|
1538
|
+
localVarQueryParameter['period'] = period;
|
|
1539
|
+
}
|
|
1540
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1541
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1542
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1543
|
+
return {
|
|
1544
|
+
url: toPathString(localVarUrlObj),
|
|
1545
|
+
options: localVarRequestOptions,
|
|
1546
|
+
};
|
|
1547
|
+
},
|
|
1451
1548
|
/**
|
|
1452
1549
|
* 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
1550
|
* @summary Get module item failure aggregate
|
|
@@ -2248,7 +2345,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2248
2345
|
},
|
|
2249
2346
|
/**
|
|
2250
2347
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2251
|
-
* @summary Get top modules by
|
|
2348
|
+
* @summary Get top modules by execution volume
|
|
2252
2349
|
* @param {string} [startDate]
|
|
2253
2350
|
* @param {string} [endDate]
|
|
2254
2351
|
* @param {string} [gameServerId]
|
|
@@ -2533,7 +2630,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2533
2630
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2534
2631
|
},
|
|
2535
2632
|
/**
|
|
2536
|
-
* Normalized 0-1 scores across
|
|
2633
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
2537
2634
|
* @summary Get module health scores
|
|
2538
2635
|
* @param {string} [startDate]
|
|
2539
2636
|
* @param {string} [endDate]
|
|
@@ -2548,6 +2645,24 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2548
2645
|
const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleHealth']?.[localVarOperationServerIndex]?.url;
|
|
2549
2646
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2550
2647
|
},
|
|
2648
|
+
/**
|
|
2649
|
+
* 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`
|
|
2650
|
+
* @summary Get per-installation module KPIs
|
|
2651
|
+
* @param {string} gameServerId
|
|
2652
|
+
* @param {string} moduleId
|
|
2653
|
+
* @param {string} [startDate]
|
|
2654
|
+
* @param {string} [endDate]
|
|
2655
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
2656
|
+
* @param {*} [options] Override http request option.
|
|
2657
|
+
* @throws {RequiredError}
|
|
2658
|
+
*/
|
|
2659
|
+
async analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
|
|
2660
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options);
|
|
2661
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2662
|
+
const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
|
|
2663
|
+
?.url;
|
|
2664
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2665
|
+
},
|
|
2551
2666
|
/**
|
|
2552
2667
|
* 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
2668
|
* @summary Get module item failure aggregate
|
|
@@ -2860,7 +2975,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2860
2975
|
},
|
|
2861
2976
|
/**
|
|
2862
2977
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2863
|
-
* @summary Get top modules by
|
|
2978
|
+
* @summary Get top modules by execution volume
|
|
2864
2979
|
* @param {string} [startDate]
|
|
2865
2980
|
* @param {string} [endDate]
|
|
2866
2981
|
* @param {string} [gameServerId]
|
|
@@ -3076,7 +3191,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3076
3191
|
.then((request) => request(axios, basePath));
|
|
3077
3192
|
},
|
|
3078
3193
|
/**
|
|
3079
|
-
* Normalized 0-1 scores across
|
|
3194
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
3080
3195
|
* @summary Get module health scores
|
|
3081
3196
|
* @param {string} [startDate]
|
|
3082
3197
|
* @param {string} [endDate]
|
|
@@ -3090,6 +3205,22 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3090
3205
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
3091
3206
|
.then((request) => request(axios, basePath));
|
|
3092
3207
|
},
|
|
3208
|
+
/**
|
|
3209
|
+
* 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`
|
|
3210
|
+
* @summary Get per-installation module KPIs
|
|
3211
|
+
* @param {string} gameServerId
|
|
3212
|
+
* @param {string} moduleId
|
|
3213
|
+
* @param {string} [startDate]
|
|
3214
|
+
* @param {string} [endDate]
|
|
3215
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
3216
|
+
* @param {*} [options] Override http request option.
|
|
3217
|
+
* @throws {RequiredError}
|
|
3218
|
+
*/
|
|
3219
|
+
analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
|
|
3220
|
+
return localVarFp
|
|
3221
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
3222
|
+
.then((request) => request(axios, basePath));
|
|
3223
|
+
},
|
|
3093
3224
|
/**
|
|
3094
3225
|
* 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
3226
|
* @summary Get module item failure aggregate
|
|
@@ -3377,7 +3508,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3377
3508
|
},
|
|
3378
3509
|
/**
|
|
3379
3510
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
3380
|
-
* @summary Get top modules by
|
|
3511
|
+
* @summary Get top modules by execution volume
|
|
3381
3512
|
* @param {string} [startDate]
|
|
3382
3513
|
* @param {string} [endDate]
|
|
3383
3514
|
* @param {string} [gameServerId]
|
|
@@ -3604,7 +3735,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3604
3735
|
.then((request) => request(this.axios, this.basePath));
|
|
3605
3736
|
}
|
|
3606
3737
|
/**
|
|
3607
|
-
* Normalized 0-1 scores across
|
|
3738
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
3608
3739
|
* @summary Get module health scores
|
|
3609
3740
|
* @param {string} [startDate]
|
|
3610
3741
|
* @param {string} [endDate]
|
|
@@ -3619,6 +3750,23 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3619
3750
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
3620
3751
|
.then((request) => request(this.axios, this.basePath));
|
|
3621
3752
|
}
|
|
3753
|
+
/**
|
|
3754
|
+
* 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`
|
|
3755
|
+
* @summary Get per-installation module KPIs
|
|
3756
|
+
* @param {string} gameServerId
|
|
3757
|
+
* @param {string} moduleId
|
|
3758
|
+
* @param {string} [startDate]
|
|
3759
|
+
* @param {string} [endDate]
|
|
3760
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
3761
|
+
* @param {*} [options] Override http request option.
|
|
3762
|
+
* @throws {RequiredError}
|
|
3763
|
+
* @memberof AnalyticsApi
|
|
3764
|
+
*/
|
|
3765
|
+
analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
|
|
3766
|
+
return AnalyticsApiFp(this.configuration)
|
|
3767
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
3768
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3769
|
+
}
|
|
3622
3770
|
/**
|
|
3623
3771
|
* 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
3772
|
* @summary Get module item failure aggregate
|
|
@@ -3925,7 +4073,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3925
4073
|
}
|
|
3926
4074
|
/**
|
|
3927
4075
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
3928
|
-
* @summary Get top modules by
|
|
4076
|
+
* @summary Get top modules by execution volume
|
|
3929
4077
|
* @param {string} [startDate]
|
|
3930
4078
|
* @param {string} [endDate]
|
|
3931
4079
|
* @param {string} [gameServerId]
|
|
@@ -4064,6 +4212,15 @@ export const AnalyticsControllerGetModuleHealthPeriodEnum = {
|
|
|
4064
4212
|
_30d: '30d',
|
|
4065
4213
|
_90d: '90d',
|
|
4066
4214
|
};
|
|
4215
|
+
/**
|
|
4216
|
+
* @export
|
|
4217
|
+
*/
|
|
4218
|
+
export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
|
|
4219
|
+
_24h: '24h',
|
|
4220
|
+
_7d: '7d',
|
|
4221
|
+
_30d: '30d',
|
|
4222
|
+
_90d: '90d',
|
|
4223
|
+
};
|
|
4067
4224
|
/**
|
|
4068
4225
|
* @export
|
|
4069
4226
|
*/
|
|
@@ -4254,118 +4411,99 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
|
|
|
4254
4411
|
_90d: '90d',
|
|
4255
4412
|
};
|
|
4256
4413
|
/**
|
|
4257
|
-
*
|
|
4414
|
+
* AuthApi - axios parameter creator
|
|
4258
4415
|
* @export
|
|
4259
4416
|
*/
|
|
4260
|
-
export const
|
|
4417
|
+
export const AuthApiAxiosParamCreator = function (configuration) {
|
|
4261
4418
|
return {
|
|
4262
4419
|
/**
|
|
4263
|
-
*
|
|
4264
|
-
* @summary
|
|
4265
|
-
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
4420
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4421
|
+
* @summary Account
|
|
4266
4422
|
* @param {*} [options] Override http request option.
|
|
4267
4423
|
* @throws {RequiredError}
|
|
4268
4424
|
*/
|
|
4269
|
-
|
|
4270
|
-
const localVarPath = `/
|
|
4425
|
+
authControllerAccount: async (options = {}) => {
|
|
4426
|
+
const localVarPath = `/auth/account`;
|
|
4271
4427
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4272
4428
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4273
4429
|
let baseOptions;
|
|
4274
4430
|
if (configuration) {
|
|
4275
4431
|
baseOptions = configuration.baseOptions;
|
|
4276
4432
|
}
|
|
4277
|
-
const localVarRequestOptions = { method: '
|
|
4433
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4278
4434
|
const localVarHeaderParameter = {};
|
|
4279
4435
|
const localVarQueryParameter = {};
|
|
4280
|
-
// authentication domainAuth required
|
|
4281
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4282
4436
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4283
4437
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4284
4438
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4285
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
|
|
4286
4439
|
return {
|
|
4287
4440
|
url: toPathString(localVarUrlObj),
|
|
4288
4441
|
options: localVarRequestOptions,
|
|
4289
4442
|
};
|
|
4290
4443
|
},
|
|
4291
4444
|
/**
|
|
4292
|
-
*
|
|
4293
|
-
* @summary
|
|
4294
|
-
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
4445
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4446
|
+
* @summary Callback
|
|
4295
4447
|
* @param {*} [options] Override http request option.
|
|
4296
4448
|
* @throws {RequiredError}
|
|
4297
4449
|
*/
|
|
4298
|
-
|
|
4299
|
-
const localVarPath = `/
|
|
4450
|
+
authControllerCallback: async (options = {}) => {
|
|
4451
|
+
const localVarPath = `/auth/callback`;
|
|
4300
4452
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4301
4453
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4302
4454
|
let baseOptions;
|
|
4303
4455
|
if (configuration) {
|
|
4304
4456
|
baseOptions = configuration.baseOptions;
|
|
4305
4457
|
}
|
|
4306
|
-
const localVarRequestOptions = { method: '
|
|
4458
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4307
4459
|
const localVarHeaderParameter = {};
|
|
4308
4460
|
const localVarQueryParameter = {};
|
|
4309
|
-
// authentication domainAuth required
|
|
4310
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4311
4461
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4312
4462
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4313
4463
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4314
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
|
|
4315
4464
|
return {
|
|
4316
4465
|
url: toPathString(localVarUrlObj),
|
|
4317
4466
|
options: localVarRequestOptions,
|
|
4318
4467
|
};
|
|
4319
4468
|
},
|
|
4320
4469
|
/**
|
|
4321
|
-
*
|
|
4322
|
-
* @summary
|
|
4323
|
-
* @param {string}
|
|
4324
|
-
* @param {any} [success]
|
|
4325
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
4470
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4471
|
+
* @summary Login
|
|
4472
|
+
* @param {string} [redirect]
|
|
4326
4473
|
* @param {*} [options] Override http request option.
|
|
4327
4474
|
* @throws {RequiredError}
|
|
4328
4475
|
*/
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
assertParamExists('commandControllerGetExecutions', 'id', id);
|
|
4332
|
-
const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4476
|
+
authControllerLogin: async (redirect, options = {}) => {
|
|
4477
|
+
const localVarPath = `/auth/login`;
|
|
4333
4478
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4334
4479
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4335
4480
|
let baseOptions;
|
|
4336
4481
|
if (configuration) {
|
|
4337
4482
|
baseOptions = configuration.baseOptions;
|
|
4338
4483
|
}
|
|
4339
|
-
const localVarRequestOptions = { method: '
|
|
4484
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4340
4485
|
const localVarHeaderParameter = {};
|
|
4341
4486
|
const localVarQueryParameter = {};
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
for (const [key, value] of Object.entries(success)) {
|
|
4345
|
-
localVarQueryParameter[key] = value;
|
|
4346
|
-
}
|
|
4487
|
+
if (redirect !== undefined) {
|
|
4488
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
4347
4489
|
}
|
|
4348
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4349
4490
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4350
4491
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4351
4492
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4352
|
-
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
4353
4493
|
return {
|
|
4354
4494
|
url: toPathString(localVarUrlObj),
|
|
4355
4495
|
options: localVarRequestOptions,
|
|
4356
4496
|
};
|
|
4357
4497
|
},
|
|
4358
4498
|
/**
|
|
4359
|
-
*
|
|
4360
|
-
* @summary
|
|
4361
|
-
* @param {string}
|
|
4499
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4500
|
+
* @summary Logout
|
|
4501
|
+
* @param {string} [redirect]
|
|
4362
4502
|
* @param {*} [options] Override http request option.
|
|
4363
4503
|
* @throws {RequiredError}
|
|
4364
4504
|
*/
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
assertParamExists('commandControllerGetOne', 'id', id);
|
|
4368
|
-
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4505
|
+
authControllerLogout: async (redirect, options = {}) => {
|
|
4506
|
+
const localVarPath = `/auth/logout`;
|
|
4369
4507
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4370
4508
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4371
4509
|
let baseOptions;
|
|
@@ -4375,7 +4513,9 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4375
4513
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4376
4514
|
const localVarHeaderParameter = {};
|
|
4377
4515
|
const localVarQueryParameter = {};
|
|
4378
|
-
|
|
4516
|
+
if (redirect !== undefined) {
|
|
4517
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
4518
|
+
}
|
|
4379
4519
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4380
4520
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4381
4521
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -4384,110 +4524,192 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4384
4524
|
options: localVarRequestOptions,
|
|
4385
4525
|
};
|
|
4386
4526
|
},
|
|
4527
|
+
};
|
|
4528
|
+
};
|
|
4529
|
+
/**
|
|
4530
|
+
* AuthApi - functional programming interface
|
|
4531
|
+
* @export
|
|
4532
|
+
*/
|
|
4533
|
+
export const AuthApiFp = function (configuration) {
|
|
4534
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
4535
|
+
return {
|
|
4387
4536
|
/**
|
|
4388
|
-
*
|
|
4389
|
-
* @summary
|
|
4390
|
-
* @param {string} id
|
|
4537
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4538
|
+
* @summary Account
|
|
4391
4539
|
* @param {*} [options] Override http request option.
|
|
4392
4540
|
* @throws {RequiredError}
|
|
4393
4541
|
*/
|
|
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
|
-
};
|
|
4542
|
+
async authControllerAccount(options) {
|
|
4543
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
|
|
4544
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4545
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
|
|
4546
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4415
4547
|
},
|
|
4416
4548
|
/**
|
|
4417
|
-
*
|
|
4418
|
-
* @summary
|
|
4419
|
-
* @param {string} id
|
|
4549
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4550
|
+
* @summary Callback
|
|
4420
4551
|
* @param {*} [options] Override http request option.
|
|
4421
4552
|
* @throws {RequiredError}
|
|
4422
4553
|
*/
|
|
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
|
-
};
|
|
4554
|
+
async authControllerCallback(options) {
|
|
4555
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
|
|
4556
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4557
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
|
|
4558
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4444
4559
|
},
|
|
4445
4560
|
/**
|
|
4446
|
-
*
|
|
4447
|
-
* @summary
|
|
4448
|
-
* @param {
|
|
4561
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4562
|
+
* @summary Login
|
|
4563
|
+
* @param {string} [redirect]
|
|
4449
4564
|
* @param {*} [options] Override http request option.
|
|
4450
4565
|
* @throws {RequiredError}
|
|
4451
4566
|
*/
|
|
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
|
-
};
|
|
4567
|
+
async authControllerLogin(redirect, options) {
|
|
4568
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
|
|
4569
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4570
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
|
|
4571
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4473
4572
|
},
|
|
4474
4573
|
/**
|
|
4475
|
-
*
|
|
4476
|
-
* @summary
|
|
4477
|
-
* @param {string}
|
|
4478
|
-
* @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
|
|
4574
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4575
|
+
* @summary Logout
|
|
4576
|
+
* @param {string} [redirect]
|
|
4479
4577
|
* @param {*} [options] Override http request option.
|
|
4480
4578
|
* @throws {RequiredError}
|
|
4481
4579
|
*/
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
const
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4580
|
+
async authControllerLogout(redirect, options) {
|
|
4581
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
|
|
4582
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4583
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
|
|
4584
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4585
|
+
},
|
|
4586
|
+
};
|
|
4587
|
+
};
|
|
4588
|
+
/**
|
|
4589
|
+
* AuthApi - factory interface
|
|
4590
|
+
* @export
|
|
4591
|
+
*/
|
|
4592
|
+
export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
4593
|
+
const localVarFp = AuthApiFp(configuration);
|
|
4594
|
+
return {
|
|
4595
|
+
/**
|
|
4596
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4597
|
+
* @summary Account
|
|
4598
|
+
* @param {*} [options] Override http request option.
|
|
4599
|
+
* @throws {RequiredError}
|
|
4600
|
+
*/
|
|
4601
|
+
authControllerAccount(options) {
|
|
4602
|
+
return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
|
|
4603
|
+
},
|
|
4604
|
+
/**
|
|
4605
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4606
|
+
* @summary Callback
|
|
4607
|
+
* @param {*} [options] Override http request option.
|
|
4608
|
+
* @throws {RequiredError}
|
|
4609
|
+
*/
|
|
4610
|
+
authControllerCallback(options) {
|
|
4611
|
+
return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
|
|
4612
|
+
},
|
|
4613
|
+
/**
|
|
4614
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4615
|
+
* @summary Login
|
|
4616
|
+
* @param {string} [redirect]
|
|
4617
|
+
* @param {*} [options] Override http request option.
|
|
4618
|
+
* @throws {RequiredError}
|
|
4619
|
+
*/
|
|
4620
|
+
authControllerLogin(redirect, options) {
|
|
4621
|
+
return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
|
|
4622
|
+
},
|
|
4623
|
+
/**
|
|
4624
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4625
|
+
* @summary Logout
|
|
4626
|
+
* @param {string} [redirect]
|
|
4627
|
+
* @param {*} [options] Override http request option.
|
|
4628
|
+
* @throws {RequiredError}
|
|
4629
|
+
*/
|
|
4630
|
+
authControllerLogout(redirect, options) {
|
|
4631
|
+
return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
|
|
4632
|
+
},
|
|
4633
|
+
};
|
|
4634
|
+
};
|
|
4635
|
+
/**
|
|
4636
|
+
* AuthApi - object-oriented interface
|
|
4637
|
+
* @export
|
|
4638
|
+
* @class AuthApi
|
|
4639
|
+
* @extends {BaseAPI}
|
|
4640
|
+
*/
|
|
4641
|
+
export class AuthApi extends BaseAPI {
|
|
4642
|
+
/**
|
|
4643
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4644
|
+
* @summary Account
|
|
4645
|
+
* @param {*} [options] Override http request option.
|
|
4646
|
+
* @throws {RequiredError}
|
|
4647
|
+
* @memberof AuthApi
|
|
4648
|
+
*/
|
|
4649
|
+
authControllerAccount(options) {
|
|
4650
|
+
return AuthApiFp(this.configuration)
|
|
4651
|
+
.authControllerAccount(options)
|
|
4652
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4653
|
+
}
|
|
4654
|
+
/**
|
|
4655
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4656
|
+
* @summary Callback
|
|
4657
|
+
* @param {*} [options] Override http request option.
|
|
4658
|
+
* @throws {RequiredError}
|
|
4659
|
+
* @memberof AuthApi
|
|
4660
|
+
*/
|
|
4661
|
+
authControllerCallback(options) {
|
|
4662
|
+
return AuthApiFp(this.configuration)
|
|
4663
|
+
.authControllerCallback(options)
|
|
4664
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4665
|
+
}
|
|
4666
|
+
/**
|
|
4667
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4668
|
+
* @summary Login
|
|
4669
|
+
* @param {string} [redirect]
|
|
4670
|
+
* @param {*} [options] Override http request option.
|
|
4671
|
+
* @throws {RequiredError}
|
|
4672
|
+
* @memberof AuthApi
|
|
4673
|
+
*/
|
|
4674
|
+
authControllerLogin(redirect, options) {
|
|
4675
|
+
return AuthApiFp(this.configuration)
|
|
4676
|
+
.authControllerLogin(redirect, options)
|
|
4677
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4678
|
+
}
|
|
4679
|
+
/**
|
|
4680
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4681
|
+
* @summary Logout
|
|
4682
|
+
* @param {string} [redirect]
|
|
4683
|
+
* @param {*} [options] Override http request option.
|
|
4684
|
+
* @throws {RequiredError}
|
|
4685
|
+
* @memberof AuthApi
|
|
4686
|
+
*/
|
|
4687
|
+
authControllerLogout(redirect, options) {
|
|
4688
|
+
return AuthApiFp(this.configuration)
|
|
4689
|
+
.authControllerLogout(redirect, options)
|
|
4690
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4691
|
+
}
|
|
4692
|
+
}
|
|
4693
|
+
/**
|
|
4694
|
+
* CommandApi - axios parameter creator
|
|
4695
|
+
* @export
|
|
4696
|
+
*/
|
|
4697
|
+
export const CommandApiAxiosParamCreator = function (configuration) {
|
|
4698
|
+
return {
|
|
4699
|
+
/**
|
|
4700
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
|
|
4701
|
+
* @summary Create
|
|
4702
|
+
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
4703
|
+
* @param {*} [options] Override http request option.
|
|
4704
|
+
* @throws {RequiredError}
|
|
4705
|
+
*/
|
|
4706
|
+
commandControllerCreate: async (commandCreateDTO, options = {}) => {
|
|
4707
|
+
const localVarPath = `/command`;
|
|
4708
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4709
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4710
|
+
let baseOptions;
|
|
4711
|
+
if (configuration) {
|
|
4712
|
+
baseOptions = configuration.baseOptions;
|
|
4491
4713
|
}
|
|
4492
4714
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4493
4715
|
const localVarHeaderParameter = {};
|
|
@@ -4497,31 +4719,28 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4497
4719
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4498
4720
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4499
4721
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4500
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4722
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
|
|
4501
4723
|
return {
|
|
4502
4724
|
url: toPathString(localVarUrlObj),
|
|
4503
4725
|
options: localVarRequestOptions,
|
|
4504
4726
|
};
|
|
4505
4727
|
},
|
|
4506
4728
|
/**
|
|
4507
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `
|
|
4508
|
-
* @summary
|
|
4509
|
-
* @param {
|
|
4510
|
-
* @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
|
|
4729
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
4730
|
+
* @summary Create argument
|
|
4731
|
+
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
4511
4732
|
* @param {*} [options] Override http request option.
|
|
4512
4733
|
* @throws {RequiredError}
|
|
4513
4734
|
*/
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
assertParamExists('commandControllerUpdate', 'id', id);
|
|
4517
|
-
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4735
|
+
commandControllerCreateArgument: async (commandArgumentCreateDTO, options = {}) => {
|
|
4736
|
+
const localVarPath = `/command/argument`;
|
|
4518
4737
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4519
4738
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4520
4739
|
let baseOptions;
|
|
4521
4740
|
if (configuration) {
|
|
4522
4741
|
baseOptions = configuration.baseOptions;
|
|
4523
4742
|
}
|
|
4524
|
-
const localVarRequestOptions = { method: '
|
|
4743
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4525
4744
|
const localVarHeaderParameter = {};
|
|
4526
4745
|
const localVarQueryParameter = {};
|
|
4527
4746
|
// authentication domainAuth required
|
|
@@ -4529,94 +4748,50 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4529
4748
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4530
4749
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4531
4750
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4532
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4751
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
|
|
4533
4752
|
return {
|
|
4534
4753
|
url: toPathString(localVarUrlObj),
|
|
4535
4754
|
options: localVarRequestOptions,
|
|
4536
4755
|
};
|
|
4537
4756
|
},
|
|
4538
4757
|
/**
|
|
4539
|
-
* Required permissions: `
|
|
4540
|
-
* @summary
|
|
4758
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
4759
|
+
* @summary Get executions
|
|
4541
4760
|
* @param {string} id
|
|
4542
|
-
* @param {
|
|
4761
|
+
* @param {any} [success]
|
|
4762
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
4543
4763
|
* @param {*} [options] Override http request option.
|
|
4544
4764
|
* @throws {RequiredError}
|
|
4545
4765
|
*/
|
|
4546
|
-
|
|
4766
|
+
commandControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
|
|
4547
4767
|
// verify required parameter 'id' is not null or undefined
|
|
4548
|
-
assertParamExists('
|
|
4549
|
-
const localVarPath = `/command/
|
|
4768
|
+
assertParamExists('commandControllerGetExecutions', 'id', id);
|
|
4769
|
+
const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4550
4770
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4551
4771
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4552
4772
|
let baseOptions;
|
|
4553
4773
|
if (configuration) {
|
|
4554
4774
|
baseOptions = configuration.baseOptions;
|
|
4555
4775
|
}
|
|
4556
|
-
const localVarRequestOptions = { method: '
|
|
4776
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4557
4777
|
const localVarHeaderParameter = {};
|
|
4558
4778
|
const localVarQueryParameter = {};
|
|
4559
4779
|
// authentication domainAuth required
|
|
4780
|
+
if (success !== undefined) {
|
|
4781
|
+
for (const [key, value] of Object.entries(success)) {
|
|
4782
|
+
localVarQueryParameter[key] = value;
|
|
4783
|
+
}
|
|
4784
|
+
}
|
|
4560
4785
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4561
4786
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4562
4787
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4563
4788
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4564
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4789
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
4565
4790
|
return {
|
|
4566
4791
|
url: toPathString(localVarUrlObj),
|
|
4567
4792
|
options: localVarRequestOptions,
|
|
4568
4793
|
};
|
|
4569
4794
|
},
|
|
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
4795
|
/**
|
|
4621
4796
|
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
|
|
4622
4797
|
* @summary Get one
|
|
@@ -4624,11 +4799,27 @@ export const CommandApiFp = function (configuration) {
|
|
|
4624
4799
|
* @param {*} [options] Override http request option.
|
|
4625
4800
|
* @throws {RequiredError}
|
|
4626
4801
|
*/
|
|
4627
|
-
async
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
const
|
|
4631
|
-
|
|
4802
|
+
commandControllerGetOne: async (id, options = {}) => {
|
|
4803
|
+
// verify required parameter 'id' is not null or undefined
|
|
4804
|
+
assertParamExists('commandControllerGetOne', 'id', id);
|
|
4805
|
+
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4806
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4807
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4808
|
+
let baseOptions;
|
|
4809
|
+
if (configuration) {
|
|
4810
|
+
baseOptions = configuration.baseOptions;
|
|
4811
|
+
}
|
|
4812
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4813
|
+
const localVarHeaderParameter = {};
|
|
4814
|
+
const localVarQueryParameter = {};
|
|
4815
|
+
// authentication domainAuth required
|
|
4816
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4817
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4818
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4819
|
+
return {
|
|
4820
|
+
url: toPathString(localVarUrlObj),
|
|
4821
|
+
options: localVarRequestOptions,
|
|
4822
|
+
};
|
|
4632
4823
|
},
|
|
4633
4824
|
/**
|
|
4634
4825
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
|
|
@@ -4637,11 +4828,27 @@ export const CommandApiFp = function (configuration) {
|
|
|
4637
4828
|
* @param {*} [options] Override http request option.
|
|
4638
4829
|
* @throws {RequiredError}
|
|
4639
4830
|
*/
|
|
4640
|
-
async
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
const
|
|
4644
|
-
|
|
4831
|
+
commandControllerRemove: async (id, options = {}) => {
|
|
4832
|
+
// verify required parameter 'id' is not null or undefined
|
|
4833
|
+
assertParamExists('commandControllerRemove', 'id', id);
|
|
4834
|
+
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4835
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4836
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4837
|
+
let baseOptions;
|
|
4838
|
+
if (configuration) {
|
|
4839
|
+
baseOptions = configuration.baseOptions;
|
|
4840
|
+
}
|
|
4841
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4842
|
+
const localVarHeaderParameter = {};
|
|
4843
|
+
const localVarQueryParameter = {};
|
|
4844
|
+
// authentication domainAuth required
|
|
4845
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4846
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4847
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4848
|
+
return {
|
|
4849
|
+
url: toPathString(localVarUrlObj),
|
|
4850
|
+
options: localVarRequestOptions,
|
|
4851
|
+
};
|
|
4645
4852
|
},
|
|
4646
4853
|
/**
|
|
4647
4854
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
|
|
@@ -4650,11 +4857,27 @@ export const CommandApiFp = function (configuration) {
|
|
|
4650
4857
|
* @param {*} [options] Override http request option.
|
|
4651
4858
|
* @throws {RequiredError}
|
|
4652
4859
|
*/
|
|
4653
|
-
async
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
const
|
|
4657
|
-
|
|
4860
|
+
commandControllerRemoveArgument: async (id, options = {}) => {
|
|
4861
|
+
// verify required parameter 'id' is not null or undefined
|
|
4862
|
+
assertParamExists('commandControllerRemoveArgument', 'id', id);
|
|
4863
|
+
const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4864
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4865
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4866
|
+
let baseOptions;
|
|
4867
|
+
if (configuration) {
|
|
4868
|
+
baseOptions = configuration.baseOptions;
|
|
4869
|
+
}
|
|
4870
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4871
|
+
const localVarHeaderParameter = {};
|
|
4872
|
+
const localVarQueryParameter = {};
|
|
4873
|
+
// authentication domainAuth required
|
|
4874
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4875
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4876
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4877
|
+
return {
|
|
4878
|
+
url: toPathString(localVarUrlObj),
|
|
4879
|
+
options: localVarRequestOptions,
|
|
4880
|
+
};
|
|
4658
4881
|
},
|
|
4659
4882
|
/**
|
|
4660
4883
|
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
@@ -4663,9 +4886,223 @@ export const CommandApiFp = function (configuration) {
|
|
|
4663
4886
|
* @param {*} [options] Override http request option.
|
|
4664
4887
|
* @throws {RequiredError}
|
|
4665
4888
|
*/
|
|
4666
|
-
async
|
|
4667
|
-
const
|
|
4668
|
-
|
|
4889
|
+
commandControllerSearch: async (commandSearchInputDTO, options = {}) => {
|
|
4890
|
+
const localVarPath = `/command/search`;
|
|
4891
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4892
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4893
|
+
let baseOptions;
|
|
4894
|
+
if (configuration) {
|
|
4895
|
+
baseOptions = configuration.baseOptions;
|
|
4896
|
+
}
|
|
4897
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4898
|
+
const localVarHeaderParameter = {};
|
|
4899
|
+
const localVarQueryParameter = {};
|
|
4900
|
+
// authentication domainAuth required
|
|
4901
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4902
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4903
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4904
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4905
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandSearchInputDTO, localVarRequestOptions, configuration);
|
|
4906
|
+
return {
|
|
4907
|
+
url: toPathString(localVarUrlObj),
|
|
4908
|
+
options: localVarRequestOptions,
|
|
4909
|
+
};
|
|
4910
|
+
},
|
|
4911
|
+
/**
|
|
4912
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
|
|
4913
|
+
* @summary Trigger
|
|
4914
|
+
* @param {string} id
|
|
4915
|
+
* @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
|
|
4916
|
+
* @param {*} [options] Override http request option.
|
|
4917
|
+
* @throws {RequiredError}
|
|
4918
|
+
*/
|
|
4919
|
+
commandControllerTrigger: async (id, commandTriggerDTO, options = {}) => {
|
|
4920
|
+
// verify required parameter 'id' is not null or undefined
|
|
4921
|
+
assertParamExists('commandControllerTrigger', 'id', id);
|
|
4922
|
+
const localVarPath = `/command/{id}/trigger`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4923
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4924
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4925
|
+
let baseOptions;
|
|
4926
|
+
if (configuration) {
|
|
4927
|
+
baseOptions = configuration.baseOptions;
|
|
4928
|
+
}
|
|
4929
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4930
|
+
const localVarHeaderParameter = {};
|
|
4931
|
+
const localVarQueryParameter = {};
|
|
4932
|
+
// authentication domainAuth required
|
|
4933
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4934
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4935
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4936
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4937
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandTriggerDTO, localVarRequestOptions, configuration);
|
|
4938
|
+
return {
|
|
4939
|
+
url: toPathString(localVarUrlObj),
|
|
4940
|
+
options: localVarRequestOptions,
|
|
4941
|
+
};
|
|
4942
|
+
},
|
|
4943
|
+
/**
|
|
4944
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
|
|
4945
|
+
* @summary Update
|
|
4946
|
+
* @param {string} id
|
|
4947
|
+
* @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
|
|
4948
|
+
* @param {*} [options] Override http request option.
|
|
4949
|
+
* @throws {RequiredError}
|
|
4950
|
+
*/
|
|
4951
|
+
commandControllerUpdate: async (id, commandUpdateDTO, options = {}) => {
|
|
4952
|
+
// verify required parameter 'id' is not null or undefined
|
|
4953
|
+
assertParamExists('commandControllerUpdate', 'id', id);
|
|
4954
|
+
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4955
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4956
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4957
|
+
let baseOptions;
|
|
4958
|
+
if (configuration) {
|
|
4959
|
+
baseOptions = configuration.baseOptions;
|
|
4960
|
+
}
|
|
4961
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
4962
|
+
const localVarHeaderParameter = {};
|
|
4963
|
+
const localVarQueryParameter = {};
|
|
4964
|
+
// authentication domainAuth required
|
|
4965
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4966
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4967
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4968
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4969
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandUpdateDTO, localVarRequestOptions, configuration);
|
|
4970
|
+
return {
|
|
4971
|
+
url: toPathString(localVarUrlObj),
|
|
4972
|
+
options: localVarRequestOptions,
|
|
4973
|
+
};
|
|
4974
|
+
},
|
|
4975
|
+
/**
|
|
4976
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
|
|
4977
|
+
* @summary Update argument
|
|
4978
|
+
* @param {string} id
|
|
4979
|
+
* @param {CommandArgumentUpdateDTO} [commandArgumentUpdateDTO] CommandArgumentUpdateDTO
|
|
4980
|
+
* @param {*} [options] Override http request option.
|
|
4981
|
+
* @throws {RequiredError}
|
|
4982
|
+
*/
|
|
4983
|
+
commandControllerUpdateArgument: async (id, commandArgumentUpdateDTO, options = {}) => {
|
|
4984
|
+
// verify required parameter 'id' is not null or undefined
|
|
4985
|
+
assertParamExists('commandControllerUpdateArgument', 'id', id);
|
|
4986
|
+
const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4987
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4988
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4989
|
+
let baseOptions;
|
|
4990
|
+
if (configuration) {
|
|
4991
|
+
baseOptions = configuration.baseOptions;
|
|
4992
|
+
}
|
|
4993
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
4994
|
+
const localVarHeaderParameter = {};
|
|
4995
|
+
const localVarQueryParameter = {};
|
|
4996
|
+
// authentication domainAuth required
|
|
4997
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4998
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4999
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5000
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5001
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentUpdateDTO, localVarRequestOptions, configuration);
|
|
5002
|
+
return {
|
|
5003
|
+
url: toPathString(localVarUrlObj),
|
|
5004
|
+
options: localVarRequestOptions,
|
|
5005
|
+
};
|
|
5006
|
+
},
|
|
5007
|
+
};
|
|
5008
|
+
};
|
|
5009
|
+
/**
|
|
5010
|
+
* CommandApi - functional programming interface
|
|
5011
|
+
* @export
|
|
5012
|
+
*/
|
|
5013
|
+
export const CommandApiFp = function (configuration) {
|
|
5014
|
+
const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
|
|
5015
|
+
return {
|
|
5016
|
+
/**
|
|
5017
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
|
|
5018
|
+
* @summary Create
|
|
5019
|
+
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
5020
|
+
* @param {*} [options] Override http request option.
|
|
5021
|
+
* @throws {RequiredError}
|
|
5022
|
+
*/
|
|
5023
|
+
async commandControllerCreate(commandCreateDTO, options) {
|
|
5024
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
|
|
5025
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5026
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
5027
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5028
|
+
},
|
|
5029
|
+
/**
|
|
5030
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
5031
|
+
* @summary Create argument
|
|
5032
|
+
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
5033
|
+
* @param {*} [options] Override http request option.
|
|
5034
|
+
* @throws {RequiredError}
|
|
5035
|
+
*/
|
|
5036
|
+
async commandControllerCreateArgument(commandArgumentCreateDTO, options) {
|
|
5037
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreateArgument(commandArgumentCreateDTO, options);
|
|
5038
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5039
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreateArgument']?.[localVarOperationServerIndex]?.url;
|
|
5040
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5041
|
+
},
|
|
5042
|
+
/**
|
|
5043
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
5044
|
+
* @summary Get executions
|
|
5045
|
+
* @param {string} id
|
|
5046
|
+
* @param {any} [success]
|
|
5047
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
5048
|
+
* @param {*} [options] Override http request option.
|
|
5049
|
+
* @throws {RequiredError}
|
|
5050
|
+
*/
|
|
5051
|
+
async commandControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
5052
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
5053
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5054
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
|
|
5055
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5056
|
+
},
|
|
5057
|
+
/**
|
|
5058
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
|
|
5059
|
+
* @summary Get one
|
|
5060
|
+
* @param {string} id
|
|
5061
|
+
* @param {*} [options] Override http request option.
|
|
5062
|
+
* @throws {RequiredError}
|
|
5063
|
+
*/
|
|
5064
|
+
async commandControllerGetOne(id, options) {
|
|
5065
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetOne(id, options);
|
|
5066
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5067
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
5068
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5069
|
+
},
|
|
5070
|
+
/**
|
|
5071
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
|
|
5072
|
+
* @summary Remove
|
|
5073
|
+
* @param {string} id
|
|
5074
|
+
* @param {*} [options] Override http request option.
|
|
5075
|
+
* @throws {RequiredError}
|
|
5076
|
+
*/
|
|
5077
|
+
async commandControllerRemove(id, options) {
|
|
5078
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemove(id, options);
|
|
5079
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5080
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerRemove']?.[localVarOperationServerIndex]?.url;
|
|
5081
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5082
|
+
},
|
|
5083
|
+
/**
|
|
5084
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
|
|
5085
|
+
* @summary Remove argument
|
|
5086
|
+
* @param {string} id
|
|
5087
|
+
* @param {*} [options] Override http request option.
|
|
5088
|
+
* @throws {RequiredError}
|
|
5089
|
+
*/
|
|
5090
|
+
async commandControllerRemoveArgument(id, options) {
|
|
5091
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemoveArgument(id, options);
|
|
5092
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5093
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerRemoveArgument']?.[localVarOperationServerIndex]?.url;
|
|
5094
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5095
|
+
},
|
|
5096
|
+
/**
|
|
5097
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
5098
|
+
* @summary Search
|
|
5099
|
+
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
5100
|
+
* @param {*} [options] Override http request option.
|
|
5101
|
+
* @throws {RequiredError}
|
|
5102
|
+
*/
|
|
5103
|
+
async commandControllerSearch(commandSearchInputDTO, options) {
|
|
5104
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerSearch(commandSearchInputDTO, options);
|
|
5105
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4669
5106
|
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
4670
5107
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4671
5108
|
},
|
|
@@ -6120,6 +6557,39 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
6120
6557
|
options: localVarRequestOptions,
|
|
6121
6558
|
};
|
|
6122
6559
|
},
|
|
6560
|
+
/**
|
|
6561
|
+
* 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`
|
|
6562
|
+
* @summary Create staff-recovery invite link for a domain
|
|
6563
|
+
* @param {string} id
|
|
6564
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6565
|
+
* @param {*} [options] Override http request option.
|
|
6566
|
+
* @throws {RequiredError}
|
|
6567
|
+
*/
|
|
6568
|
+
domainControllerCreateInviteLink: async (id, inviteLinkCreateInputDTO, options = {}) => {
|
|
6569
|
+
// verify required parameter 'id' is not null or undefined
|
|
6570
|
+
assertParamExists('domainControllerCreateInviteLink', 'id', id);
|
|
6571
|
+
const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
6572
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6573
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6574
|
+
let baseOptions;
|
|
6575
|
+
if (configuration) {
|
|
6576
|
+
baseOptions = configuration.baseOptions;
|
|
6577
|
+
}
|
|
6578
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
6579
|
+
const localVarHeaderParameter = {};
|
|
6580
|
+
const localVarQueryParameter = {};
|
|
6581
|
+
// authentication adminAuth required
|
|
6582
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
6583
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6584
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6585
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6586
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6587
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
|
|
6588
|
+
return {
|
|
6589
|
+
url: toPathString(localVarUrlObj),
|
|
6590
|
+
options: localVarRequestOptions,
|
|
6591
|
+
};
|
|
6592
|
+
},
|
|
6123
6593
|
/**
|
|
6124
6594
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6125
6595
|
* @summary Get one
|
|
@@ -6331,6 +6801,20 @@ export const DomainApiFp = function (configuration) {
|
|
|
6331
6801
|
const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
6332
6802
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6333
6803
|
},
|
|
6804
|
+
/**
|
|
6805
|
+
* 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`
|
|
6806
|
+
* @summary Create staff-recovery invite link for a domain
|
|
6807
|
+
* @param {string} id
|
|
6808
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6809
|
+
* @param {*} [options] Override http request option.
|
|
6810
|
+
* @throws {RequiredError}
|
|
6811
|
+
*/
|
|
6812
|
+
async domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
|
|
6813
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options);
|
|
6814
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6815
|
+
const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
|
|
6816
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6817
|
+
},
|
|
6334
6818
|
/**
|
|
6335
6819
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6336
6820
|
* @summary Get one
|
|
@@ -6433,15 +6917,28 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
|
|
|
6433
6917
|
.then((request) => request(axios, basePath));
|
|
6434
6918
|
},
|
|
6435
6919
|
/**
|
|
6436
|
-
*
|
|
6437
|
-
* @summary
|
|
6920
|
+
* 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`
|
|
6921
|
+
* @summary Create staff-recovery invite link for a domain
|
|
6438
6922
|
* @param {string} id
|
|
6923
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6439
6924
|
* @param {*} [options] Override http request option.
|
|
6440
6925
|
* @throws {RequiredError}
|
|
6441
6926
|
*/
|
|
6442
|
-
|
|
6443
|
-
return localVarFp
|
|
6444
|
-
|
|
6927
|
+
domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
|
|
6928
|
+
return localVarFp
|
|
6929
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
6930
|
+
.then((request) => request(axios, basePath));
|
|
6931
|
+
},
|
|
6932
|
+
/**
|
|
6933
|
+
* <br> OperationId: `DomainControllerGetOne`
|
|
6934
|
+
* @summary Get one
|
|
6935
|
+
* @param {string} id
|
|
6936
|
+
* @param {*} [options] Override http request option.
|
|
6937
|
+
* @throws {RequiredError}
|
|
6938
|
+
*/
|
|
6939
|
+
domainControllerGetOne(id, options) {
|
|
6940
|
+
return localVarFp.domainControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
6941
|
+
},
|
|
6445
6942
|
/**
|
|
6446
6943
|
* <br> OperationId: `DomainControllerGetToken`
|
|
6447
6944
|
* @summary Get token
|
|
@@ -6522,6 +7019,20 @@ export class DomainApi extends BaseAPI {
|
|
|
6522
7019
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
6523
7020
|
.then((request) => request(this.axios, this.basePath));
|
|
6524
7021
|
}
|
|
7022
|
+
/**
|
|
7023
|
+
* 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`
|
|
7024
|
+
* @summary Create staff-recovery invite link for a domain
|
|
7025
|
+
* @param {string} id
|
|
7026
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
7027
|
+
* @param {*} [options] Override http request option.
|
|
7028
|
+
* @throws {RequiredError}
|
|
7029
|
+
* @memberof DomainApi
|
|
7030
|
+
*/
|
|
7031
|
+
domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
|
|
7032
|
+
return DomainApiFp(this.configuration)
|
|
7033
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
7034
|
+
.then((request) => request(this.axios, this.basePath));
|
|
7035
|
+
}
|
|
6525
7036
|
/**
|
|
6526
7037
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6527
7038
|
* @summary Get one
|
|
@@ -7273,13 +7784,11 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration) {
|
|
|
7273
7784
|
/**
|
|
7274
7785
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7275
7786
|
* @summary Auth discord
|
|
7276
|
-
* @param {string} redirect
|
|
7787
|
+
* @param {string} [redirect]
|
|
7277
7788
|
* @param {*} [options] Override http request option.
|
|
7278
7789
|
* @throws {RequiredError}
|
|
7279
7790
|
*/
|
|
7280
7791
|
externalAuthControllerAuthDiscord: async (redirect, options = {}) => {
|
|
7281
|
-
// verify required parameter 'redirect' is not null or undefined
|
|
7282
|
-
assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
|
|
7283
7792
|
const localVarPath = `/auth/discord`;
|
|
7284
7793
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7285
7794
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7338,7 +7847,7 @@ export const ExternalAuthApiFp = function (configuration) {
|
|
|
7338
7847
|
/**
|
|
7339
7848
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7340
7849
|
* @summary Auth discord
|
|
7341
|
-
* @param {string} redirect
|
|
7850
|
+
* @param {string} [redirect]
|
|
7342
7851
|
* @param {*} [options] Override http request option.
|
|
7343
7852
|
* @throws {RequiredError}
|
|
7344
7853
|
*/
|
|
@@ -7373,7 +7882,7 @@ export const ExternalAuthApiFactory = function (configuration, basePath, axios)
|
|
|
7373
7882
|
/**
|
|
7374
7883
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7375
7884
|
* @summary Auth discord
|
|
7376
|
-
* @param {string} redirect
|
|
7885
|
+
* @param {string} [redirect]
|
|
7377
7886
|
* @param {*} [options] Override http request option.
|
|
7378
7887
|
* @throws {RequiredError}
|
|
7379
7888
|
*/
|
|
@@ -7403,7 +7912,7 @@ export class ExternalAuthApi extends BaseAPI {
|
|
|
7403
7912
|
/**
|
|
7404
7913
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7405
7914
|
* @summary Auth discord
|
|
7406
|
-
* @param {string} redirect
|
|
7915
|
+
* @param {string} [redirect]
|
|
7407
7916
|
* @param {*} [options] Override http request option.
|
|
7408
7917
|
* @throws {RequiredError}
|
|
7409
7918
|
* @memberof ExternalAuthApi
|
|
@@ -9580,113 +10089,625 @@ export class GameServerApi extends BaseAPI {
|
|
|
9580
10089
|
* @param {string} id
|
|
9581
10090
|
* @param {*} [options] Override http request option.
|
|
9582
10091
|
* @throws {RequiredError}
|
|
9583
|
-
* @memberof GameServerApi
|
|
10092
|
+
* @memberof GameServerApi
|
|
10093
|
+
*/
|
|
10094
|
+
gameServerControllerShutdown(id, options) {
|
|
10095
|
+
return GameServerApiFp(this.configuration)
|
|
10096
|
+
.gameServerControllerShutdown(id, options)
|
|
10097
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10098
|
+
}
|
|
10099
|
+
/**
|
|
10100
|
+
* Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
|
|
10101
|
+
* @summary Teleport player
|
|
10102
|
+
* @param {string} gameServerId
|
|
10103
|
+
* @param {string} playerId
|
|
10104
|
+
* @param {TeleportPlayerInputDTO} [teleportPlayerInputDTO] TeleportPlayerInputDTO
|
|
10105
|
+
* @param {*} [options] Override http request option.
|
|
10106
|
+
* @throws {RequiredError}
|
|
10107
|
+
* @memberof GameServerApi
|
|
10108
|
+
*/
|
|
10109
|
+
gameServerControllerTeleportPlayer(gameServerId, playerId, teleportPlayerInputDTO, options) {
|
|
10110
|
+
return GameServerApiFp(this.configuration)
|
|
10111
|
+
.gameServerControllerTeleportPlayer(gameServerId, playerId, teleportPlayerInputDTO, options)
|
|
10112
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10113
|
+
}
|
|
10114
|
+
/**
|
|
10115
|
+
* Test if Takaro can connect to a gameserver. Will do a thorough check and report details.<br> OperationId: `GameServerControllerTestReachability`
|
|
10116
|
+
* @summary Test reachability
|
|
10117
|
+
* @param {GameServerTestReachabilityInputDTO} [gameServerTestReachabilityInputDTO] GameServerTestReachabilityInputDTO
|
|
10118
|
+
* @param {*} [options] Override http request option.
|
|
10119
|
+
* @throws {RequiredError}
|
|
10120
|
+
* @memberof GameServerApi
|
|
10121
|
+
*/
|
|
10122
|
+
gameServerControllerTestReachability(gameServerTestReachabilityInputDTO, options) {
|
|
10123
|
+
return GameServerApiFp(this.configuration)
|
|
10124
|
+
.gameServerControllerTestReachability(gameServerTestReachabilityInputDTO, options)
|
|
10125
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10126
|
+
}
|
|
10127
|
+
/**
|
|
10128
|
+
* Test if Takaro can connect to a gameserver. Will do a thorough check and report details.<br> OperationId: `GameServerControllerTestReachabilityForId`
|
|
10129
|
+
* @summary Test reachability for id
|
|
10130
|
+
* @param {string} id
|
|
10131
|
+
* @param {*} [options] Override http request option.
|
|
10132
|
+
* @throws {RequiredError}
|
|
10133
|
+
* @memberof GameServerApi
|
|
10134
|
+
*/
|
|
10135
|
+
gameServerControllerTestReachabilityForId(id, options) {
|
|
10136
|
+
return GameServerApiFp(this.configuration)
|
|
10137
|
+
.gameServerControllerTestReachabilityForId(id, options)
|
|
10138
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10139
|
+
}
|
|
10140
|
+
/**
|
|
10141
|
+
* Manually trigger a job, you can poll the status with the GET endpoint Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTriggerJob`
|
|
10142
|
+
* @summary Trigger job
|
|
10143
|
+
* @param {string} type
|
|
10144
|
+
* @param {string} id
|
|
10145
|
+
* @param {*} [options] Override http request option.
|
|
10146
|
+
* @throws {RequiredError}
|
|
10147
|
+
* @memberof GameServerApi
|
|
10148
|
+
*/
|
|
10149
|
+
gameServerControllerTriggerJob(type, id, options) {
|
|
10150
|
+
return GameServerApiFp(this.configuration)
|
|
10151
|
+
.gameServerControllerTriggerJob(type, id, options)
|
|
10152
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10153
|
+
}
|
|
10154
|
+
/**
|
|
10155
|
+
* Unban a player from a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerUnbanPlayer`
|
|
10156
|
+
* @summary Unban player
|
|
10157
|
+
* @param {string} gameServerId
|
|
10158
|
+
* @param {string} playerId
|
|
10159
|
+
* @param {*} [options] Override http request option.
|
|
10160
|
+
* @deprecated
|
|
10161
|
+
* @throws {RequiredError}
|
|
10162
|
+
* @memberof GameServerApi
|
|
10163
|
+
*/
|
|
10164
|
+
gameServerControllerUnbanPlayer(gameServerId, playerId, options) {
|
|
10165
|
+
return GameServerApiFp(this.configuration)
|
|
10166
|
+
.gameServerControllerUnbanPlayer(gameServerId, playerId, options)
|
|
10167
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10168
|
+
}
|
|
10169
|
+
/**
|
|
10170
|
+
* Update a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerUpdate`
|
|
10171
|
+
* @summary Update
|
|
10172
|
+
* @param {string} id
|
|
10173
|
+
* @param {GameServerUpdateDTO} [gameServerUpdateDTO] GameServerUpdateDTO
|
|
10174
|
+
* @param {*} [options] Override http request option.
|
|
10175
|
+
* @throws {RequiredError}
|
|
10176
|
+
* @memberof GameServerApi
|
|
10177
|
+
*/
|
|
10178
|
+
gameServerControllerUpdate(id, gameServerUpdateDTO, options) {
|
|
10179
|
+
return GameServerApiFp(this.configuration)
|
|
10180
|
+
.gameServerControllerUpdate(id, gameServerUpdateDTO, options)
|
|
10181
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10182
|
+
}
|
|
10183
|
+
}
|
|
10184
|
+
/**
|
|
10185
|
+
* HookApi - axios parameter creator
|
|
10186
|
+
* @export
|
|
10187
|
+
*/
|
|
10188
|
+
export const HookApiAxiosParamCreator = function (configuration) {
|
|
10189
|
+
return {
|
|
10190
|
+
/**
|
|
10191
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
|
|
10192
|
+
* @summary Create
|
|
10193
|
+
* @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
|
|
10194
|
+
* @param {*} [options] Override http request option.
|
|
10195
|
+
* @throws {RequiredError}
|
|
10196
|
+
*/
|
|
10197
|
+
hookControllerCreate: async (hookCreateDTO, options = {}) => {
|
|
10198
|
+
const localVarPath = `/hook`;
|
|
10199
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10200
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10201
|
+
let baseOptions;
|
|
10202
|
+
if (configuration) {
|
|
10203
|
+
baseOptions = configuration.baseOptions;
|
|
10204
|
+
}
|
|
10205
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10206
|
+
const localVarHeaderParameter = {};
|
|
10207
|
+
const localVarQueryParameter = {};
|
|
10208
|
+
// authentication domainAuth required
|
|
10209
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10210
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10211
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10212
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10213
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hookCreateDTO, localVarRequestOptions, configuration);
|
|
10214
|
+
return {
|
|
10215
|
+
url: toPathString(localVarUrlObj),
|
|
10216
|
+
options: localVarRequestOptions,
|
|
10217
|
+
};
|
|
10218
|
+
},
|
|
10219
|
+
/**
|
|
10220
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
10221
|
+
* @summary Get executions
|
|
10222
|
+
* @param {string} id
|
|
10223
|
+
* @param {any} [success]
|
|
10224
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10225
|
+
* @param {*} [options] Override http request option.
|
|
10226
|
+
* @throws {RequiredError}
|
|
10227
|
+
*/
|
|
10228
|
+
hookControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
|
|
10229
|
+
// verify required parameter 'id' is not null or undefined
|
|
10230
|
+
assertParamExists('hookControllerGetExecutions', 'id', id);
|
|
10231
|
+
const localVarPath = `/hook/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10232
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10233
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10234
|
+
let baseOptions;
|
|
10235
|
+
if (configuration) {
|
|
10236
|
+
baseOptions = configuration.baseOptions;
|
|
10237
|
+
}
|
|
10238
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10239
|
+
const localVarHeaderParameter = {};
|
|
10240
|
+
const localVarQueryParameter = {};
|
|
10241
|
+
// authentication domainAuth required
|
|
10242
|
+
if (success !== undefined) {
|
|
10243
|
+
for (const [key, value] of Object.entries(success)) {
|
|
10244
|
+
localVarQueryParameter[key] = value;
|
|
10245
|
+
}
|
|
10246
|
+
}
|
|
10247
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10248
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10249
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10250
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10251
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
10252
|
+
return {
|
|
10253
|
+
url: toPathString(localVarUrlObj),
|
|
10254
|
+
options: localVarRequestOptions,
|
|
10255
|
+
};
|
|
10256
|
+
},
|
|
10257
|
+
/**
|
|
10258
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
10259
|
+
* @summary Get one
|
|
10260
|
+
* @param {string} id
|
|
10261
|
+
* @param {*} [options] Override http request option.
|
|
10262
|
+
* @throws {RequiredError}
|
|
10263
|
+
*/
|
|
10264
|
+
hookControllerGetOne: async (id, options = {}) => {
|
|
10265
|
+
// verify required parameter 'id' is not null or undefined
|
|
10266
|
+
assertParamExists('hookControllerGetOne', 'id', id);
|
|
10267
|
+
const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10268
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10269
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10270
|
+
let baseOptions;
|
|
10271
|
+
if (configuration) {
|
|
10272
|
+
baseOptions = configuration.baseOptions;
|
|
10273
|
+
}
|
|
10274
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10275
|
+
const localVarHeaderParameter = {};
|
|
10276
|
+
const localVarQueryParameter = {};
|
|
10277
|
+
// authentication domainAuth required
|
|
10278
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10279
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10280
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10281
|
+
return {
|
|
10282
|
+
url: toPathString(localVarUrlObj),
|
|
10283
|
+
options: localVarRequestOptions,
|
|
10284
|
+
};
|
|
10285
|
+
},
|
|
10286
|
+
/**
|
|
10287
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
10288
|
+
* @summary Remove
|
|
10289
|
+
* @param {string} id
|
|
10290
|
+
* @param {*} [options] Override http request option.
|
|
10291
|
+
* @throws {RequiredError}
|
|
10292
|
+
*/
|
|
10293
|
+
hookControllerRemove: async (id, options = {}) => {
|
|
10294
|
+
// verify required parameter 'id' is not null or undefined
|
|
10295
|
+
assertParamExists('hookControllerRemove', 'id', id);
|
|
10296
|
+
const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10297
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10298
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10299
|
+
let baseOptions;
|
|
10300
|
+
if (configuration) {
|
|
10301
|
+
baseOptions = configuration.baseOptions;
|
|
10302
|
+
}
|
|
10303
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
10304
|
+
const localVarHeaderParameter = {};
|
|
10305
|
+
const localVarQueryParameter = {};
|
|
10306
|
+
// authentication domainAuth required
|
|
10307
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10308
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10309
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10310
|
+
return {
|
|
10311
|
+
url: toPathString(localVarUrlObj),
|
|
10312
|
+
options: localVarRequestOptions,
|
|
10313
|
+
};
|
|
10314
|
+
},
|
|
10315
|
+
/**
|
|
10316
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
10317
|
+
* @summary Search
|
|
10318
|
+
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
10319
|
+
* @param {*} [options] Override http request option.
|
|
10320
|
+
* @throws {RequiredError}
|
|
10321
|
+
*/
|
|
10322
|
+
hookControllerSearch: async (hookSearchInputDTO, options = {}) => {
|
|
10323
|
+
const localVarPath = `/hook/search`;
|
|
10324
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10325
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10326
|
+
let baseOptions;
|
|
10327
|
+
if (configuration) {
|
|
10328
|
+
baseOptions = configuration.baseOptions;
|
|
10329
|
+
}
|
|
10330
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10331
|
+
const localVarHeaderParameter = {};
|
|
10332
|
+
const localVarQueryParameter = {};
|
|
10333
|
+
// authentication domainAuth required
|
|
10334
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10335
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10336
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10337
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10338
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hookSearchInputDTO, localVarRequestOptions, configuration);
|
|
10339
|
+
return {
|
|
10340
|
+
url: toPathString(localVarUrlObj),
|
|
10341
|
+
options: localVarRequestOptions,
|
|
10342
|
+
};
|
|
10343
|
+
},
|
|
10344
|
+
/**
|
|
10345
|
+
* 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`
|
|
10346
|
+
* @summary Trigger
|
|
10347
|
+
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
10348
|
+
* @param {*} [options] Override http request option.
|
|
10349
|
+
* @throws {RequiredError}
|
|
10350
|
+
*/
|
|
10351
|
+
hookControllerTrigger: async (hookTriggerDTO, options = {}) => {
|
|
10352
|
+
const localVarPath = `/hook/trigger`;
|
|
10353
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10354
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10355
|
+
let baseOptions;
|
|
10356
|
+
if (configuration) {
|
|
10357
|
+
baseOptions = configuration.baseOptions;
|
|
10358
|
+
}
|
|
10359
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10360
|
+
const localVarHeaderParameter = {};
|
|
10361
|
+
const localVarQueryParameter = {};
|
|
10362
|
+
// authentication domainAuth required
|
|
10363
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10364
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10365
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10366
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10367
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hookTriggerDTO, localVarRequestOptions, configuration);
|
|
10368
|
+
return {
|
|
10369
|
+
url: toPathString(localVarUrlObj),
|
|
10370
|
+
options: localVarRequestOptions,
|
|
10371
|
+
};
|
|
10372
|
+
},
|
|
10373
|
+
/**
|
|
10374
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
10375
|
+
* @summary Update
|
|
10376
|
+
* @param {string} id
|
|
10377
|
+
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
10378
|
+
* @param {*} [options] Override http request option.
|
|
10379
|
+
* @throws {RequiredError}
|
|
10380
|
+
*/
|
|
10381
|
+
hookControllerUpdate: async (id, hookUpdateDTO, options = {}) => {
|
|
10382
|
+
// verify required parameter 'id' is not null or undefined
|
|
10383
|
+
assertParamExists('hookControllerUpdate', 'id', id);
|
|
10384
|
+
const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10385
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10386
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10387
|
+
let baseOptions;
|
|
10388
|
+
if (configuration) {
|
|
10389
|
+
baseOptions = configuration.baseOptions;
|
|
10390
|
+
}
|
|
10391
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
10392
|
+
const localVarHeaderParameter = {};
|
|
10393
|
+
const localVarQueryParameter = {};
|
|
10394
|
+
// authentication domainAuth required
|
|
10395
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10396
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10397
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10398
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10399
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hookUpdateDTO, localVarRequestOptions, configuration);
|
|
10400
|
+
return {
|
|
10401
|
+
url: toPathString(localVarUrlObj),
|
|
10402
|
+
options: localVarRequestOptions,
|
|
10403
|
+
};
|
|
10404
|
+
},
|
|
10405
|
+
};
|
|
10406
|
+
};
|
|
10407
|
+
/**
|
|
10408
|
+
* HookApi - functional programming interface
|
|
10409
|
+
* @export
|
|
10410
|
+
*/
|
|
10411
|
+
export const HookApiFp = function (configuration) {
|
|
10412
|
+
const localVarAxiosParamCreator = HookApiAxiosParamCreator(configuration);
|
|
10413
|
+
return {
|
|
10414
|
+
/**
|
|
10415
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
|
|
10416
|
+
* @summary Create
|
|
10417
|
+
* @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
|
|
10418
|
+
* @param {*} [options] Override http request option.
|
|
10419
|
+
* @throws {RequiredError}
|
|
10420
|
+
*/
|
|
10421
|
+
async hookControllerCreate(hookCreateDTO, options) {
|
|
10422
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerCreate(hookCreateDTO, options);
|
|
10423
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10424
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
10425
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10426
|
+
},
|
|
10427
|
+
/**
|
|
10428
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
10429
|
+
* @summary Get executions
|
|
10430
|
+
* @param {string} id
|
|
10431
|
+
* @param {any} [success]
|
|
10432
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10433
|
+
* @param {*} [options] Override http request option.
|
|
10434
|
+
* @throws {RequiredError}
|
|
10435
|
+
*/
|
|
10436
|
+
async hookControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
10437
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
10438
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10439
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
|
|
10440
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10441
|
+
},
|
|
10442
|
+
/**
|
|
10443
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
10444
|
+
* @summary Get one
|
|
10445
|
+
* @param {string} id
|
|
10446
|
+
* @param {*} [options] Override http request option.
|
|
10447
|
+
* @throws {RequiredError}
|
|
10448
|
+
*/
|
|
10449
|
+
async hookControllerGetOne(id, options) {
|
|
10450
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetOne(id, options);
|
|
10451
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10452
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
10453
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10454
|
+
},
|
|
10455
|
+
/**
|
|
10456
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
10457
|
+
* @summary Remove
|
|
10458
|
+
* @param {string} id
|
|
10459
|
+
* @param {*} [options] Override http request option.
|
|
10460
|
+
* @throws {RequiredError}
|
|
10461
|
+
*/
|
|
10462
|
+
async hookControllerRemove(id, options) {
|
|
10463
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerRemove(id, options);
|
|
10464
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10465
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerRemove']?.[localVarOperationServerIndex]?.url;
|
|
10466
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10467
|
+
},
|
|
10468
|
+
/**
|
|
10469
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
10470
|
+
* @summary Search
|
|
10471
|
+
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
10472
|
+
* @param {*} [options] Override http request option.
|
|
10473
|
+
* @throws {RequiredError}
|
|
10474
|
+
*/
|
|
10475
|
+
async hookControllerSearch(hookSearchInputDTO, options) {
|
|
10476
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerSearch(hookSearchInputDTO, options);
|
|
10477
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10478
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
10479
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10480
|
+
},
|
|
10481
|
+
/**
|
|
10482
|
+
* 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`
|
|
10483
|
+
* @summary Trigger
|
|
10484
|
+
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
10485
|
+
* @param {*} [options] Override http request option.
|
|
10486
|
+
* @throws {RequiredError}
|
|
10487
|
+
*/
|
|
10488
|
+
async hookControllerTrigger(hookTriggerDTO, options) {
|
|
10489
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerTrigger(hookTriggerDTO, options);
|
|
10490
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10491
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerTrigger']?.[localVarOperationServerIndex]?.url;
|
|
10492
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10493
|
+
},
|
|
10494
|
+
/**
|
|
10495
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
10496
|
+
* @summary Update
|
|
10497
|
+
* @param {string} id
|
|
10498
|
+
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
10499
|
+
* @param {*} [options] Override http request option.
|
|
10500
|
+
* @throws {RequiredError}
|
|
10501
|
+
*/
|
|
10502
|
+
async hookControllerUpdate(id, hookUpdateDTO, options) {
|
|
10503
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerUpdate(id, hookUpdateDTO, options);
|
|
10504
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10505
|
+
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerUpdate']?.[localVarOperationServerIndex]?.url;
|
|
10506
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10507
|
+
},
|
|
10508
|
+
};
|
|
10509
|
+
};
|
|
10510
|
+
/**
|
|
10511
|
+
* HookApi - factory interface
|
|
10512
|
+
* @export
|
|
10513
|
+
*/
|
|
10514
|
+
export const HookApiFactory = function (configuration, basePath, axios) {
|
|
10515
|
+
const localVarFp = HookApiFp(configuration);
|
|
10516
|
+
return {
|
|
10517
|
+
/**
|
|
10518
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
|
|
10519
|
+
* @summary Create
|
|
10520
|
+
* @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
|
|
10521
|
+
* @param {*} [options] Override http request option.
|
|
10522
|
+
* @throws {RequiredError}
|
|
10523
|
+
*/
|
|
10524
|
+
hookControllerCreate(hookCreateDTO, options) {
|
|
10525
|
+
return localVarFp.hookControllerCreate(hookCreateDTO, options).then((request) => request(axios, basePath));
|
|
10526
|
+
},
|
|
10527
|
+
/**
|
|
10528
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
10529
|
+
* @summary Get executions
|
|
10530
|
+
* @param {string} id
|
|
10531
|
+
* @param {any} [success]
|
|
10532
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10533
|
+
* @param {*} [options] Override http request option.
|
|
10534
|
+
* @throws {RequiredError}
|
|
10535
|
+
*/
|
|
10536
|
+
hookControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
10537
|
+
return localVarFp
|
|
10538
|
+
.hookControllerGetExecutions(id, success, eventSearchInputDTO, options)
|
|
10539
|
+
.then((request) => request(axios, basePath));
|
|
10540
|
+
},
|
|
10541
|
+
/**
|
|
10542
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
10543
|
+
* @summary Get one
|
|
10544
|
+
* @param {string} id
|
|
10545
|
+
* @param {*} [options] Override http request option.
|
|
10546
|
+
* @throws {RequiredError}
|
|
10547
|
+
*/
|
|
10548
|
+
hookControllerGetOne(id, options) {
|
|
10549
|
+
return localVarFp.hookControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
10550
|
+
},
|
|
10551
|
+
/**
|
|
10552
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
10553
|
+
* @summary Remove
|
|
10554
|
+
* @param {string} id
|
|
10555
|
+
* @param {*} [options] Override http request option.
|
|
10556
|
+
* @throws {RequiredError}
|
|
10557
|
+
*/
|
|
10558
|
+
hookControllerRemove(id, options) {
|
|
10559
|
+
return localVarFp.hookControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
10560
|
+
},
|
|
10561
|
+
/**
|
|
10562
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
10563
|
+
* @summary Search
|
|
10564
|
+
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
10565
|
+
* @param {*} [options] Override http request option.
|
|
10566
|
+
* @throws {RequiredError}
|
|
10567
|
+
*/
|
|
10568
|
+
hookControllerSearch(hookSearchInputDTO, options) {
|
|
10569
|
+
return localVarFp.hookControllerSearch(hookSearchInputDTO, options).then((request) => request(axios, basePath));
|
|
10570
|
+
},
|
|
10571
|
+
/**
|
|
10572
|
+
* 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`
|
|
10573
|
+
* @summary Trigger
|
|
10574
|
+
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
10575
|
+
* @param {*} [options] Override http request option.
|
|
10576
|
+
* @throws {RequiredError}
|
|
10577
|
+
*/
|
|
10578
|
+
hookControllerTrigger(hookTriggerDTO, options) {
|
|
10579
|
+
return localVarFp.hookControllerTrigger(hookTriggerDTO, options).then((request) => request(axios, basePath));
|
|
10580
|
+
},
|
|
10581
|
+
/**
|
|
10582
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
10583
|
+
* @summary Update
|
|
10584
|
+
* @param {string} id
|
|
10585
|
+
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
10586
|
+
* @param {*} [options] Override http request option.
|
|
10587
|
+
* @throws {RequiredError}
|
|
10588
|
+
*/
|
|
10589
|
+
hookControllerUpdate(id, hookUpdateDTO, options) {
|
|
10590
|
+
return localVarFp.hookControllerUpdate(id, hookUpdateDTO, options).then((request) => request(axios, basePath));
|
|
10591
|
+
},
|
|
10592
|
+
};
|
|
10593
|
+
};
|
|
10594
|
+
/**
|
|
10595
|
+
* HookApi - object-oriented interface
|
|
10596
|
+
* @export
|
|
10597
|
+
* @class HookApi
|
|
10598
|
+
* @extends {BaseAPI}
|
|
10599
|
+
*/
|
|
10600
|
+
export class HookApi extends BaseAPI {
|
|
10601
|
+
/**
|
|
10602
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
|
|
10603
|
+
* @summary Create
|
|
10604
|
+
* @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
|
|
10605
|
+
* @param {*} [options] Override http request option.
|
|
10606
|
+
* @throws {RequiredError}
|
|
10607
|
+
* @memberof HookApi
|
|
9584
10608
|
*/
|
|
9585
|
-
|
|
9586
|
-
return
|
|
9587
|
-
.
|
|
10609
|
+
hookControllerCreate(hookCreateDTO, options) {
|
|
10610
|
+
return HookApiFp(this.configuration)
|
|
10611
|
+
.hookControllerCreate(hookCreateDTO, options)
|
|
9588
10612
|
.then((request) => request(this.axios, this.basePath));
|
|
9589
10613
|
}
|
|
9590
10614
|
/**
|
|
9591
|
-
*
|
|
9592
|
-
* @summary
|
|
9593
|
-
* @param {string}
|
|
9594
|
-
* @param {
|
|
9595
|
-
* @param {
|
|
10615
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
10616
|
+
* @summary Get executions
|
|
10617
|
+
* @param {string} id
|
|
10618
|
+
* @param {any} [success]
|
|
10619
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
9596
10620
|
* @param {*} [options] Override http request option.
|
|
9597
10621
|
* @throws {RequiredError}
|
|
9598
|
-
* @memberof
|
|
10622
|
+
* @memberof HookApi
|
|
9599
10623
|
*/
|
|
9600
|
-
|
|
9601
|
-
return
|
|
9602
|
-
.
|
|
10624
|
+
hookControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
10625
|
+
return HookApiFp(this.configuration)
|
|
10626
|
+
.hookControllerGetExecutions(id, success, eventSearchInputDTO, options)
|
|
9603
10627
|
.then((request) => request(this.axios, this.basePath));
|
|
9604
10628
|
}
|
|
9605
10629
|
/**
|
|
9606
|
-
*
|
|
9607
|
-
* @summary
|
|
9608
|
-
* @param {
|
|
10630
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
10631
|
+
* @summary Get one
|
|
10632
|
+
* @param {string} id
|
|
9609
10633
|
* @param {*} [options] Override http request option.
|
|
9610
10634
|
* @throws {RequiredError}
|
|
9611
|
-
* @memberof
|
|
10635
|
+
* @memberof HookApi
|
|
9612
10636
|
*/
|
|
9613
|
-
|
|
9614
|
-
return
|
|
9615
|
-
.
|
|
10637
|
+
hookControllerGetOne(id, options) {
|
|
10638
|
+
return HookApiFp(this.configuration)
|
|
10639
|
+
.hookControllerGetOne(id, options)
|
|
9616
10640
|
.then((request) => request(this.axios, this.basePath));
|
|
9617
10641
|
}
|
|
9618
10642
|
/**
|
|
9619
|
-
*
|
|
9620
|
-
* @summary
|
|
10643
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
10644
|
+
* @summary Remove
|
|
9621
10645
|
* @param {string} id
|
|
9622
10646
|
* @param {*} [options] Override http request option.
|
|
9623
10647
|
* @throws {RequiredError}
|
|
9624
|
-
* @memberof
|
|
10648
|
+
* @memberof HookApi
|
|
9625
10649
|
*/
|
|
9626
|
-
|
|
9627
|
-
return
|
|
9628
|
-
.
|
|
10650
|
+
hookControllerRemove(id, options) {
|
|
10651
|
+
return HookApiFp(this.configuration)
|
|
10652
|
+
.hookControllerRemove(id, options)
|
|
9629
10653
|
.then((request) => request(this.axios, this.basePath));
|
|
9630
10654
|
}
|
|
9631
10655
|
/**
|
|
9632
|
-
*
|
|
9633
|
-
* @summary
|
|
9634
|
-
* @param {
|
|
9635
|
-
* @param {string} id
|
|
10656
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
10657
|
+
* @summary Search
|
|
10658
|
+
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
9636
10659
|
* @param {*} [options] Override http request option.
|
|
9637
10660
|
* @throws {RequiredError}
|
|
9638
|
-
* @memberof
|
|
10661
|
+
* @memberof HookApi
|
|
9639
10662
|
*/
|
|
9640
|
-
|
|
9641
|
-
return
|
|
9642
|
-
.
|
|
10663
|
+
hookControllerSearch(hookSearchInputDTO, options) {
|
|
10664
|
+
return HookApiFp(this.configuration)
|
|
10665
|
+
.hookControllerSearch(hookSearchInputDTO, options)
|
|
9643
10666
|
.then((request) => request(this.axios, this.basePath));
|
|
9644
10667
|
}
|
|
9645
10668
|
/**
|
|
9646
|
-
*
|
|
9647
|
-
* @summary
|
|
9648
|
-
* @param {
|
|
9649
|
-
* @param {string} playerId
|
|
10669
|
+
* 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`
|
|
10670
|
+
* @summary Trigger
|
|
10671
|
+
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
9650
10672
|
* @param {*} [options] Override http request option.
|
|
9651
|
-
* @deprecated
|
|
9652
10673
|
* @throws {RequiredError}
|
|
9653
|
-
* @memberof
|
|
10674
|
+
* @memberof HookApi
|
|
9654
10675
|
*/
|
|
9655
|
-
|
|
9656
|
-
return
|
|
9657
|
-
.
|
|
10676
|
+
hookControllerTrigger(hookTriggerDTO, options) {
|
|
10677
|
+
return HookApiFp(this.configuration)
|
|
10678
|
+
.hookControllerTrigger(hookTriggerDTO, options)
|
|
9658
10679
|
.then((request) => request(this.axios, this.basePath));
|
|
9659
10680
|
}
|
|
9660
10681
|
/**
|
|
9661
|
-
*
|
|
10682
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
9662
10683
|
* @summary Update
|
|
9663
10684
|
* @param {string} id
|
|
9664
|
-
* @param {
|
|
10685
|
+
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
9665
10686
|
* @param {*} [options] Override http request option.
|
|
9666
10687
|
* @throws {RequiredError}
|
|
9667
|
-
* @memberof
|
|
10688
|
+
* @memberof HookApi
|
|
9668
10689
|
*/
|
|
9669
|
-
|
|
9670
|
-
return
|
|
9671
|
-
.
|
|
10690
|
+
hookControllerUpdate(id, hookUpdateDTO, options) {
|
|
10691
|
+
return HookApiFp(this.configuration)
|
|
10692
|
+
.hookControllerUpdate(id, hookUpdateDTO, options)
|
|
9672
10693
|
.then((request) => request(this.axios, this.basePath));
|
|
9673
10694
|
}
|
|
9674
10695
|
}
|
|
9675
10696
|
/**
|
|
9676
|
-
*
|
|
10697
|
+
* InviteLinkApi - axios parameter creator
|
|
9677
10698
|
* @export
|
|
9678
10699
|
*/
|
|
9679
|
-
export const
|
|
10700
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration) {
|
|
9680
10701
|
return {
|
|
9681
10702
|
/**
|
|
9682
|
-
*
|
|
9683
|
-
* @summary Create
|
|
9684
|
-
* @param {
|
|
10703
|
+
* 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`
|
|
10704
|
+
* @summary Create invite link
|
|
10705
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
9685
10706
|
* @param {*} [options] Override http request option.
|
|
9686
10707
|
* @throws {RequiredError}
|
|
9687
10708
|
*/
|
|
9688
|
-
|
|
9689
|
-
const localVarPath = `/
|
|
10709
|
+
inviteLinkControllerCreate: async (inviteLinkCreateInputDTO, options = {}) => {
|
|
10710
|
+
const localVarPath = `/invite-link`;
|
|
9690
10711
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9691
10712
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9692
10713
|
let baseOptions;
|
|
@@ -9701,90 +10722,81 @@ export const HookApiAxiosParamCreator = function (configuration) {
|
|
|
9701
10722
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9702
10723
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9703
10724
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9704
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
10725
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
|
|
9705
10726
|
return {
|
|
9706
10727
|
url: toPathString(localVarUrlObj),
|
|
9707
10728
|
options: localVarRequestOptions,
|
|
9708
10729
|
};
|
|
9709
10730
|
},
|
|
9710
10731
|
/**
|
|
9711
|
-
*
|
|
9712
|
-
* @summary
|
|
9713
|
-
* @param {string}
|
|
9714
|
-
* @param {any} [success]
|
|
9715
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10732
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10733
|
+
* @summary Preview
|
|
10734
|
+
* @param {string} token
|
|
9716
10735
|
* @param {*} [options] Override http request option.
|
|
9717
10736
|
* @throws {RequiredError}
|
|
9718
10737
|
*/
|
|
9719
|
-
|
|
9720
|
-
// verify required parameter '
|
|
9721
|
-
assertParamExists('
|
|
9722
|
-
const localVarPath = `/
|
|
10738
|
+
inviteLinkControllerPreview: async (token, options = {}) => {
|
|
10739
|
+
// verify required parameter 'token' is not null or undefined
|
|
10740
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
10741
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
9723
10742
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9724
10743
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9725
10744
|
let baseOptions;
|
|
9726
10745
|
if (configuration) {
|
|
9727
10746
|
baseOptions = configuration.baseOptions;
|
|
9728
10747
|
}
|
|
9729
|
-
const localVarRequestOptions = { method: '
|
|
10748
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
9730
10749
|
const localVarHeaderParameter = {};
|
|
9731
10750
|
const localVarQueryParameter = {};
|
|
9732
10751
|
// 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
10752
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9740
10753
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9741
10754
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9742
|
-
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
9743
10755
|
return {
|
|
9744
10756
|
url: toPathString(localVarUrlObj),
|
|
9745
10757
|
options: localVarRequestOptions,
|
|
9746
10758
|
};
|
|
9747
10759
|
},
|
|
9748
10760
|
/**
|
|
9749
|
-
*
|
|
9750
|
-
* @summary
|
|
9751
|
-
* @param {
|
|
10761
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10762
|
+
* @summary Redeem
|
|
10763
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
9752
10764
|
* @param {*} [options] Override http request option.
|
|
9753
10765
|
* @throws {RequiredError}
|
|
9754
10766
|
*/
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
assertParamExists('hookControllerGetOne', 'id', id);
|
|
9758
|
-
const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10767
|
+
inviteLinkControllerRedeem: async (redeemInputDTO, options = {}) => {
|
|
10768
|
+
const localVarPath = `/invite-link/redeem`;
|
|
9759
10769
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9760
10770
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9761
10771
|
let baseOptions;
|
|
9762
10772
|
if (configuration) {
|
|
9763
10773
|
baseOptions = configuration.baseOptions;
|
|
9764
10774
|
}
|
|
9765
|
-
const localVarRequestOptions = { method: '
|
|
10775
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
9766
10776
|
const localVarHeaderParameter = {};
|
|
9767
10777
|
const localVarQueryParameter = {};
|
|
9768
10778
|
// authentication domainAuth required
|
|
10779
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9769
10780
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9770
10781
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9771
10782
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10783
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
9772
10784
|
return {
|
|
9773
10785
|
url: toPathString(localVarUrlObj),
|
|
9774
10786
|
options: localVarRequestOptions,
|
|
9775
10787
|
};
|
|
9776
10788
|
},
|
|
9777
10789
|
/**
|
|
9778
|
-
* Required permissions: `
|
|
9779
|
-
* @summary
|
|
10790
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10791
|
+
* @summary Revoke
|
|
9780
10792
|
* @param {string} id
|
|
9781
10793
|
* @param {*} [options] Override http request option.
|
|
9782
10794
|
* @throws {RequiredError}
|
|
9783
10795
|
*/
|
|
9784
|
-
|
|
10796
|
+
inviteLinkControllerRevoke: async (id, options = {}) => {
|
|
9785
10797
|
// verify required parameter 'id' is not null or undefined
|
|
9786
|
-
assertParamExists('
|
|
9787
|
-
const localVarPath = `/
|
|
10798
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
10799
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
9788
10800
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9789
10801
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9790
10802
|
let baseOptions;
|
|
@@ -9804,383 +10816,243 @@ export const HookApiAxiosParamCreator = function (configuration) {
|
|
|
9804
10816
|
};
|
|
9805
10817
|
},
|
|
9806
10818
|
/**
|
|
9807
|
-
*
|
|
10819
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
9808
10820
|
* @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
|
|
9839
|
-
* @param {*} [options] Override http request option.
|
|
9840
|
-
* @throws {RequiredError}
|
|
9841
|
-
*/
|
|
9842
|
-
hookControllerTrigger: async (hookTriggerDTO, options = {}) => {
|
|
9843
|
-
const localVarPath = `/hook/trigger`;
|
|
9844
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9845
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9846
|
-
let baseOptions;
|
|
9847
|
-
if (configuration) {
|
|
9848
|
-
baseOptions = configuration.baseOptions;
|
|
9849
|
-
}
|
|
9850
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
9851
|
-
const localVarHeaderParameter = {};
|
|
9852
|
-
const localVarQueryParameter = {};
|
|
9853
|
-
// authentication domainAuth required
|
|
9854
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9855
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9856
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9857
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9858
|
-
localVarRequestOptions.data = serializeDataIfNeeded(hookTriggerDTO, localVarRequestOptions, configuration);
|
|
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
|
|
10821
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
9869
10822
|
* @param {*} [options] Override http request option.
|
|
9870
10823
|
* @throws {RequiredError}
|
|
9871
10824
|
*/
|
|
9872
|
-
|
|
9873
|
-
|
|
9874
|
-
assertParamExists('hookControllerUpdate', 'id', id);
|
|
9875
|
-
const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10825
|
+
inviteLinkControllerSearch: async (inviteLinkSearchInputDTO, options = {}) => {
|
|
10826
|
+
const localVarPath = `/invite-link/search`;
|
|
9876
10827
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9877
10828
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9878
10829
|
let baseOptions;
|
|
9879
10830
|
if (configuration) {
|
|
9880
10831
|
baseOptions = configuration.baseOptions;
|
|
9881
10832
|
}
|
|
9882
|
-
const localVarRequestOptions = { method: '
|
|
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(
|
|
9891
|
-
return {
|
|
9892
|
-
url: toPathString(localVarUrlObj),
|
|
9893
|
-
options: localVarRequestOptions,
|
|
9894
|
-
};
|
|
9895
|
-
},
|
|
9896
|
-
};
|
|
9897
|
-
};
|
|
9898
|
-
/**
|
|
9899
|
-
* HookApi - functional programming interface
|
|
9900
|
-
* @export
|
|
9901
|
-
*/
|
|
9902
|
-
export const HookApiFp = function (configuration) {
|
|
9903
|
-
const localVarAxiosParamCreator = HookApiAxiosParamCreator(configuration);
|
|
9904
|
-
return {
|
|
9905
|
-
/**
|
|
9906
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
|
|
9907
|
-
* @summary Create
|
|
9908
|
-
* @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
|
|
9909
|
-
* @param {*} [options] Override http request option.
|
|
9910
|
-
* @throws {RequiredError}
|
|
9911
|
-
*/
|
|
9912
|
-
async hookControllerCreate(hookCreateDTO, options) {
|
|
9913
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerCreate(hookCreateDTO, options);
|
|
9914
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9915
|
-
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
9916
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9917
|
-
},
|
|
9918
|
-
/**
|
|
9919
|
-
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
9920
|
-
* @summary Get executions
|
|
9921
|
-
* @param {string} id
|
|
9922
|
-
* @param {any} [success]
|
|
9923
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
9924
|
-
* @param {*} [options] Override http request option.
|
|
9925
|
-
* @throws {RequiredError}
|
|
9926
|
-
*/
|
|
9927
|
-
async hookControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
9928
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
9929
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9930
|
-
const localVarOperationServerBasePath = operationServerMap['HookApi.hookControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
|
|
9931
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10833
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10834
|
+
const localVarHeaderParameter = {};
|
|
10835
|
+
const localVarQueryParameter = {};
|
|
10836
|
+
// authentication domainAuth required
|
|
10837
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10838
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10839
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10840
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10841
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkSearchInputDTO, localVarRequestOptions, configuration);
|
|
10842
|
+
return {
|
|
10843
|
+
url: toPathString(localVarUrlObj),
|
|
10844
|
+
options: localVarRequestOptions,
|
|
10845
|
+
};
|
|
9932
10846
|
},
|
|
10847
|
+
};
|
|
10848
|
+
};
|
|
10849
|
+
/**
|
|
10850
|
+
* InviteLinkApi - functional programming interface
|
|
10851
|
+
* @export
|
|
10852
|
+
*/
|
|
10853
|
+
export const InviteLinkApiFp = function (configuration) {
|
|
10854
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
10855
|
+
return {
|
|
9933
10856
|
/**
|
|
9934
|
-
*
|
|
9935
|
-
* @summary
|
|
9936
|
-
* @param {
|
|
10857
|
+
* 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`
|
|
10858
|
+
* @summary Create invite link
|
|
10859
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
9937
10860
|
* @param {*} [options] Override http request option.
|
|
9938
10861
|
* @throws {RequiredError}
|
|
9939
10862
|
*/
|
|
9940
|
-
async
|
|
9941
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10863
|
+
async inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
10864
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options);
|
|
9942
10865
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9943
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10866
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
9944
10867
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9945
10868
|
},
|
|
9946
10869
|
/**
|
|
9947
|
-
*
|
|
9948
|
-
* @summary
|
|
9949
|
-
* @param {string}
|
|
10870
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10871
|
+
* @summary Preview
|
|
10872
|
+
* @param {string} token
|
|
9950
10873
|
* @param {*} [options] Override http request option.
|
|
9951
10874
|
* @throws {RequiredError}
|
|
9952
10875
|
*/
|
|
9953
|
-
async
|
|
9954
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10876
|
+
async inviteLinkControllerPreview(token, options) {
|
|
10877
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
9955
10878
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9956
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10879
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
9957
10880
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9958
10881
|
},
|
|
9959
10882
|
/**
|
|
9960
|
-
*
|
|
9961
|
-
* @summary
|
|
9962
|
-
* @param {
|
|
10883
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10884
|
+
* @summary Redeem
|
|
10885
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
9963
10886
|
* @param {*} [options] Override http request option.
|
|
9964
10887
|
* @throws {RequiredError}
|
|
9965
10888
|
*/
|
|
9966
|
-
async
|
|
9967
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10889
|
+
async inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
10890
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
9968
10891
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9969
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10892
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
9970
10893
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9971
10894
|
},
|
|
9972
10895
|
/**
|
|
9973
|
-
*
|
|
9974
|
-
* @summary
|
|
9975
|
-
* @param {
|
|
10896
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10897
|
+
* @summary Revoke
|
|
10898
|
+
* @param {string} id
|
|
9976
10899
|
* @param {*} [options] Override http request option.
|
|
9977
10900
|
* @throws {RequiredError}
|
|
9978
10901
|
*/
|
|
9979
|
-
async
|
|
9980
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10902
|
+
async inviteLinkControllerRevoke(id, options) {
|
|
10903
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
9981
10904
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9982
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10905
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
9983
10906
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9984
10907
|
},
|
|
9985
10908
|
/**
|
|
9986
|
-
* Required permissions: `
|
|
9987
|
-
* @summary
|
|
9988
|
-
* @param {
|
|
9989
|
-
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
10909
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10910
|
+
* @summary Search
|
|
10911
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
9990
10912
|
* @param {*} [options] Override http request option.
|
|
9991
10913
|
* @throws {RequiredError}
|
|
9992
10914
|
*/
|
|
9993
|
-
async
|
|
9994
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10915
|
+
async inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
10916
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options);
|
|
9995
10917
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9996
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10918
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
9997
10919
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9998
10920
|
},
|
|
9999
10921
|
};
|
|
10000
10922
|
};
|
|
10001
10923
|
/**
|
|
10002
|
-
*
|
|
10924
|
+
* InviteLinkApi - factory interface
|
|
10003
10925
|
* @export
|
|
10004
10926
|
*/
|
|
10005
|
-
export const
|
|
10006
|
-
const localVarFp =
|
|
10927
|
+
export const InviteLinkApiFactory = function (configuration, basePath, axios) {
|
|
10928
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
10007
10929
|
return {
|
|
10008
10930
|
/**
|
|
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
|
|
10931
|
+
* 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`
|
|
10932
|
+
* @summary Create invite link
|
|
10933
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
10024
10934
|
* @param {*} [options] Override http request option.
|
|
10025
10935
|
* @throws {RequiredError}
|
|
10026
10936
|
*/
|
|
10027
|
-
|
|
10937
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
10028
10938
|
return localVarFp
|
|
10029
|
-
.
|
|
10939
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
10030
10940
|
.then((request) => request(axios, basePath));
|
|
10031
10941
|
},
|
|
10032
10942
|
/**
|
|
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
|
|
10943
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10944
|
+
* @summary Preview
|
|
10945
|
+
* @param {string} token
|
|
10046
10946
|
* @param {*} [options] Override http request option.
|
|
10047
10947
|
* @throws {RequiredError}
|
|
10048
10948
|
*/
|
|
10049
|
-
|
|
10050
|
-
return localVarFp.
|
|
10949
|
+
inviteLinkControllerPreview(token, options) {
|
|
10950
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
10051
10951
|
},
|
|
10052
10952
|
/**
|
|
10053
|
-
*
|
|
10054
|
-
* @summary
|
|
10055
|
-
* @param {
|
|
10953
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10954
|
+
* @summary Redeem
|
|
10955
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
10056
10956
|
* @param {*} [options] Override http request option.
|
|
10057
10957
|
* @throws {RequiredError}
|
|
10058
10958
|
*/
|
|
10059
|
-
|
|
10060
|
-
return localVarFp.
|
|
10959
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
10960
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
10061
10961
|
},
|
|
10062
10962
|
/**
|
|
10063
|
-
*
|
|
10064
|
-
* @summary
|
|
10065
|
-
* @param {
|
|
10963
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10964
|
+
* @summary Revoke
|
|
10965
|
+
* @param {string} id
|
|
10066
10966
|
* @param {*} [options] Override http request option.
|
|
10067
10967
|
* @throws {RequiredError}
|
|
10068
10968
|
*/
|
|
10069
|
-
|
|
10070
|
-
return localVarFp.
|
|
10969
|
+
inviteLinkControllerRevoke(id, options) {
|
|
10970
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
10071
10971
|
},
|
|
10072
10972
|
/**
|
|
10073
|
-
* Required permissions: `
|
|
10074
|
-
* @summary
|
|
10075
|
-
* @param {
|
|
10076
|
-
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
10973
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10974
|
+
* @summary Search
|
|
10975
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10077
10976
|
* @param {*} [options] Override http request option.
|
|
10078
10977
|
* @throws {RequiredError}
|
|
10079
10978
|
*/
|
|
10080
|
-
|
|
10081
|
-
return localVarFp
|
|
10979
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
10980
|
+
return localVarFp
|
|
10981
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
10982
|
+
.then((request) => request(axios, basePath));
|
|
10082
10983
|
},
|
|
10083
10984
|
};
|
|
10084
10985
|
};
|
|
10085
10986
|
/**
|
|
10086
|
-
*
|
|
10987
|
+
* InviteLinkApi - object-oriented interface
|
|
10087
10988
|
* @export
|
|
10088
|
-
* @class
|
|
10989
|
+
* @class InviteLinkApi
|
|
10089
10990
|
* @extends {BaseAPI}
|
|
10090
10991
|
*/
|
|
10091
|
-
export class
|
|
10992
|
+
export class InviteLinkApi extends BaseAPI {
|
|
10092
10993
|
/**
|
|
10093
|
-
*
|
|
10094
|
-
* @summary Create
|
|
10095
|
-
* @param {
|
|
10994
|
+
* 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`
|
|
10995
|
+
* @summary Create invite link
|
|
10996
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
10096
10997
|
* @param {*} [options] Override http request option.
|
|
10097
10998
|
* @throws {RequiredError}
|
|
10098
|
-
* @memberof
|
|
10999
|
+
* @memberof InviteLinkApi
|
|
10099
11000
|
*/
|
|
10100
|
-
|
|
10101
|
-
return
|
|
10102
|
-
.
|
|
11001
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
11002
|
+
return InviteLinkApiFp(this.configuration)
|
|
11003
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
10103
11004
|
.then((request) => request(this.axios, this.basePath));
|
|
10104
11005
|
}
|
|
10105
11006
|
/**
|
|
10106
|
-
*
|
|
10107
|
-
* @summary
|
|
10108
|
-
* @param {string}
|
|
10109
|
-
* @param {any} [success]
|
|
10110
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
11007
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
11008
|
+
* @summary Preview
|
|
11009
|
+
* @param {string} token
|
|
10111
11010
|
* @param {*} [options] Override http request option.
|
|
10112
11011
|
* @throws {RequiredError}
|
|
10113
|
-
* @memberof
|
|
11012
|
+
* @memberof InviteLinkApi
|
|
10114
11013
|
*/
|
|
10115
|
-
|
|
10116
|
-
return
|
|
10117
|
-
.
|
|
11014
|
+
inviteLinkControllerPreview(token, options) {
|
|
11015
|
+
return InviteLinkApiFp(this.configuration)
|
|
11016
|
+
.inviteLinkControllerPreview(token, options)
|
|
10118
11017
|
.then((request) => request(this.axios, this.basePath));
|
|
10119
11018
|
}
|
|
10120
11019
|
/**
|
|
10121
|
-
*
|
|
10122
|
-
* @summary
|
|
10123
|
-
* @param {
|
|
11020
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
11021
|
+
* @summary Redeem
|
|
11022
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
10124
11023
|
* @param {*} [options] Override http request option.
|
|
10125
11024
|
* @throws {RequiredError}
|
|
10126
|
-
* @memberof
|
|
11025
|
+
* @memberof InviteLinkApi
|
|
10127
11026
|
*/
|
|
10128
|
-
|
|
10129
|
-
return
|
|
10130
|
-
.
|
|
11027
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
11028
|
+
return InviteLinkApiFp(this.configuration)
|
|
11029
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
10131
11030
|
.then((request) => request(this.axios, this.basePath));
|
|
10132
11031
|
}
|
|
10133
11032
|
/**
|
|
10134
|
-
* Required permissions: `
|
|
10135
|
-
* @summary
|
|
11033
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
11034
|
+
* @summary Revoke
|
|
10136
11035
|
* @param {string} id
|
|
10137
11036
|
* @param {*} [options] Override http request option.
|
|
10138
11037
|
* @throws {RequiredError}
|
|
10139
|
-
* @memberof
|
|
11038
|
+
* @memberof InviteLinkApi
|
|
10140
11039
|
*/
|
|
10141
|
-
|
|
10142
|
-
return
|
|
10143
|
-
.
|
|
11040
|
+
inviteLinkControllerRevoke(id, options) {
|
|
11041
|
+
return InviteLinkApiFp(this.configuration)
|
|
11042
|
+
.inviteLinkControllerRevoke(id, options)
|
|
10144
11043
|
.then((request) => request(this.axios, this.basePath));
|
|
10145
11044
|
}
|
|
10146
11045
|
/**
|
|
10147
|
-
*
|
|
11046
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10148
11047
|
* @summary Search
|
|
10149
|
-
* @param {
|
|
10150
|
-
* @param {*} [options] Override http request option.
|
|
10151
|
-
* @throws {RequiredError}
|
|
10152
|
-
* @memberof HookApi
|
|
10153
|
-
*/
|
|
10154
|
-
hookControllerSearch(hookSearchInputDTO, options) {
|
|
10155
|
-
return HookApiFp(this.configuration)
|
|
10156
|
-
.hookControllerSearch(hookSearchInputDTO, options)
|
|
10157
|
-
.then((request) => request(this.axios, this.basePath));
|
|
10158
|
-
}
|
|
10159
|
-
/**
|
|
10160
|
-
* 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`
|
|
10161
|
-
* @summary Trigger
|
|
10162
|
-
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
10163
|
-
* @param {*} [options] Override http request option.
|
|
10164
|
-
* @throws {RequiredError}
|
|
10165
|
-
* @memberof HookApi
|
|
10166
|
-
*/
|
|
10167
|
-
hookControllerTrigger(hookTriggerDTO, options) {
|
|
10168
|
-
return HookApiFp(this.configuration)
|
|
10169
|
-
.hookControllerTrigger(hookTriggerDTO, options)
|
|
10170
|
-
.then((request) => request(this.axios, this.basePath));
|
|
10171
|
-
}
|
|
10172
|
-
/**
|
|
10173
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
10174
|
-
* @summary Update
|
|
10175
|
-
* @param {string} id
|
|
10176
|
-
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
11048
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10177
11049
|
* @param {*} [options] Override http request option.
|
|
10178
11050
|
* @throws {RequiredError}
|
|
10179
|
-
* @memberof
|
|
11051
|
+
* @memberof InviteLinkApi
|
|
10180
11052
|
*/
|
|
10181
|
-
|
|
10182
|
-
return
|
|
10183
|
-
.
|
|
11053
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
11054
|
+
return InviteLinkApiFp(this.configuration)
|
|
11055
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
10184
11056
|
.then((request) => request(this.axios, this.basePath));
|
|
10185
11057
|
}
|
|
10186
11058
|
}
|
|
@@ -10379,6 +11251,31 @@ export const MetaApiAxiosParamCreator = function (configuration) {
|
|
|
10379
11251
|
options: localVarRequestOptions,
|
|
10380
11252
|
};
|
|
10381
11253
|
},
|
|
11254
|
+
/**
|
|
11255
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11256
|
+
* @summary Get liveness
|
|
11257
|
+
* @param {*} [options] Override http request option.
|
|
11258
|
+
* @throws {RequiredError}
|
|
11259
|
+
*/
|
|
11260
|
+
metaGetLiveness: async (options = {}) => {
|
|
11261
|
+
const localVarPath = `/livez`;
|
|
11262
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11263
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11264
|
+
let baseOptions;
|
|
11265
|
+
if (configuration) {
|
|
11266
|
+
baseOptions = configuration.baseOptions;
|
|
11267
|
+
}
|
|
11268
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11269
|
+
const localVarHeaderParameter = {};
|
|
11270
|
+
const localVarQueryParameter = {};
|
|
11271
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11273
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11274
|
+
return {
|
|
11275
|
+
url: toPathString(localVarUrlObj),
|
|
11276
|
+
options: localVarRequestOptions,
|
|
11277
|
+
};
|
|
11278
|
+
},
|
|
10382
11279
|
/**
|
|
10383
11280
|
* <br> OperationId: `MetaGetMetrics`
|
|
10384
11281
|
* @summary Get metrics
|
|
@@ -10525,6 +11422,18 @@ export const MetaApiFp = function (configuration) {
|
|
|
10525
11422
|
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetHealth']?.[localVarOperationServerIndex]?.url;
|
|
10526
11423
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10527
11424
|
},
|
|
11425
|
+
/**
|
|
11426
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11427
|
+
* @summary Get liveness
|
|
11428
|
+
* @param {*} [options] Override http request option.
|
|
11429
|
+
* @throws {RequiredError}
|
|
11430
|
+
*/
|
|
11431
|
+
async metaGetLiveness(options) {
|
|
11432
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
|
|
11433
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11434
|
+
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
|
|
11435
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11436
|
+
},
|
|
10528
11437
|
/**
|
|
10529
11438
|
* <br> OperationId: `MetaGetMetrics`
|
|
10530
11439
|
* @summary Get metrics
|
|
@@ -10603,6 +11512,15 @@ export const MetaApiFactory = function (configuration, basePath, axios) {
|
|
|
10603
11512
|
metaGetHealth(options) {
|
|
10604
11513
|
return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
|
|
10605
11514
|
},
|
|
11515
|
+
/**
|
|
11516
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11517
|
+
* @summary Get liveness
|
|
11518
|
+
* @param {*} [options] Override http request option.
|
|
11519
|
+
* @throws {RequiredError}
|
|
11520
|
+
*/
|
|
11521
|
+
metaGetLiveness(options) {
|
|
11522
|
+
return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
|
|
11523
|
+
},
|
|
10606
11524
|
/**
|
|
10607
11525
|
* <br> OperationId: `MetaGetMetrics`
|
|
10608
11526
|
* @summary Get metrics
|
|
@@ -10669,6 +11587,18 @@ export class MetaApi extends BaseAPI {
|
|
|
10669
11587
|
.metaGetHealth(options)
|
|
10670
11588
|
.then((request) => request(this.axios, this.basePath));
|
|
10671
11589
|
}
|
|
11590
|
+
/**
|
|
11591
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11592
|
+
* @summary Get liveness
|
|
11593
|
+
* @param {*} [options] Override http request option.
|
|
11594
|
+
* @throws {RequiredError}
|
|
11595
|
+
* @memberof MetaApi
|
|
11596
|
+
*/
|
|
11597
|
+
metaGetLiveness(options) {
|
|
11598
|
+
return MetaApiFp(this.configuration)
|
|
11599
|
+
.metaGetLiveness(options)
|
|
11600
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11601
|
+
}
|
|
10672
11602
|
/**
|
|
10673
11603
|
* <br> OperationId: `MetaGetMetrics`
|
|
10674
11604
|
* @summary Get metrics
|
|
@@ -11916,7 +12846,7 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
11916
12846
|
};
|
|
11917
12847
|
},
|
|
11918
12848
|
/**
|
|
11919
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12849
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
11920
12850
|
* @summary Bulk assign role
|
|
11921
12851
|
* @param {string} roleId
|
|
11922
12852
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -11948,7 +12878,7 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
11948
12878
|
};
|
|
11949
12879
|
},
|
|
11950
12880
|
/**
|
|
11951
|
-
* Bulk delete players by
|
|
12881
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
11952
12882
|
* @summary Bulk delete
|
|
11953
12883
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
11954
12884
|
* @param {*} [options] Override http request option.
|
|
@@ -12217,7 +13147,7 @@ export const PlayerApiFp = function (configuration) {
|
|
|
12217
13147
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12218
13148
|
},
|
|
12219
13149
|
/**
|
|
12220
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13150
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12221
13151
|
* @summary Bulk assign role
|
|
12222
13152
|
* @param {string} roleId
|
|
12223
13153
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -12231,7 +13161,7 @@ export const PlayerApiFp = function (configuration) {
|
|
|
12231
13161
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12232
13162
|
},
|
|
12233
13163
|
/**
|
|
12234
|
-
* Bulk delete players by
|
|
13164
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
12235
13165
|
* @summary Bulk delete
|
|
12236
13166
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
12237
13167
|
* @param {*} [options] Override http request option.
|
|
@@ -12384,7 +13314,7 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
12384
13314
|
.then((request) => request(axios, basePath));
|
|
12385
13315
|
},
|
|
12386
13316
|
/**
|
|
12387
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13317
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12388
13318
|
* @summary Bulk assign role
|
|
12389
13319
|
* @param {string} roleId
|
|
12390
13320
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -12397,7 +13327,7 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
12397
13327
|
.then((request) => request(axios, basePath));
|
|
12398
13328
|
},
|
|
12399
13329
|
/**
|
|
12400
|
-
* Bulk delete players by
|
|
13330
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
12401
13331
|
* @summary Bulk delete
|
|
12402
13332
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
12403
13333
|
* @param {*} [options] Override http request option.
|
|
@@ -12554,7 +13484,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
12554
13484
|
.then((request) => request(this.axios, this.basePath));
|
|
12555
13485
|
}
|
|
12556
13486
|
/**
|
|
12557
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13487
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12558
13488
|
* @summary Bulk assign role
|
|
12559
13489
|
* @param {string} roleId
|
|
12560
13490
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -12568,7 +13498,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
12568
13498
|
.then((request) => request(this.axios, this.basePath));
|
|
12569
13499
|
}
|
|
12570
13500
|
/**
|
|
12571
|
-
* Bulk delete players by
|
|
13501
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
12572
13502
|
* @summary Bulk delete
|
|
12573
13503
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
12574
13504
|
* @param {*} [options] Override http request option.
|
|
@@ -12691,7 +13621,7 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
12691
13621
|
};
|
|
12692
13622
|
},
|
|
12693
13623
|
/**
|
|
12694
|
-
* Bulk add currency to
|
|
13624
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
12695
13625
|
* @summary Bulk add currency
|
|
12696
13626
|
* @param {string} gameServerId
|
|
12697
13627
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -12991,7 +13921,7 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
12991
13921
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12992
13922
|
},
|
|
12993
13923
|
/**
|
|
12994
|
-
* Bulk add currency to
|
|
13924
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
12995
13925
|
* @summary Bulk add currency
|
|
12996
13926
|
* @param {string} gameServerId
|
|
12997
13927
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -13132,7 +14062,7 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
13132
14062
|
.then((request) => request(axios, basePath));
|
|
13133
14063
|
},
|
|
13134
14064
|
/**
|
|
13135
|
-
* Bulk add currency to
|
|
14065
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
13136
14066
|
* @summary Bulk add currency
|
|
13137
14067
|
* @param {string} gameServerId
|
|
13138
14068
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -13263,7 +14193,7 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
13263
14193
|
.then((request) => request(this.axios, this.basePath));
|
|
13264
14194
|
}
|
|
13265
14195
|
/**
|
|
13266
|
-
* Bulk add currency to
|
|
14196
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
13267
14197
|
* @summary Bulk add currency
|
|
13268
14198
|
* @param {string} gameServerId
|
|
13269
14199
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -15036,7 +15966,7 @@ export class ShopActionApi extends BaseAPI {
|
|
|
15036
15966
|
export const ShopCategoryApiAxiosParamCreator = function (configuration) {
|
|
15037
15967
|
return {
|
|
15038
15968
|
/**
|
|
15039
|
-
* Bulk assign categories to
|
|
15969
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
15040
15970
|
* @summary Bulk assign
|
|
15041
15971
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
15042
15972
|
* @param {*} [options] Override http request option.
|
|
@@ -15288,7 +16218,7 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
15288
16218
|
const localVarAxiosParamCreator = ShopCategoryApiAxiosParamCreator(configuration);
|
|
15289
16219
|
return {
|
|
15290
16220
|
/**
|
|
15291
|
-
* Bulk assign categories to
|
|
16221
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
15292
16222
|
* @summary Bulk assign
|
|
15293
16223
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
15294
16224
|
* @param {*} [options] Override http request option.
|
|
@@ -15404,7 +16334,7 @@ export const ShopCategoryApiFactory = function (configuration, basePath, axios)
|
|
|
15404
16334
|
const localVarFp = ShopCategoryApiFp(configuration);
|
|
15405
16335
|
return {
|
|
15406
16336
|
/**
|
|
15407
|
-
* Bulk assign categories to
|
|
16337
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
15408
16338
|
* @summary Bulk assign
|
|
15409
16339
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
15410
16340
|
* @param {*} [options] Override http request option.
|
|
@@ -15508,7 +16438,7 @@ export const ShopCategoryApiFactory = function (configuration, basePath, axios)
|
|
|
15508
16438
|
*/
|
|
15509
16439
|
export class ShopCategoryApi extends BaseAPI {
|
|
15510
16440
|
/**
|
|
15511
|
-
* Bulk assign categories to
|
|
16441
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
15512
16442
|
* @summary Bulk assign
|
|
15513
16443
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
15514
16444
|
* @param {*} [options] Override http request option.
|
|
@@ -15621,6 +16551,35 @@ export class ShopCategoryApi extends BaseAPI {
|
|
|
15621
16551
|
*/
|
|
15622
16552
|
export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
15623
16553
|
return {
|
|
16554
|
+
/**
|
|
16555
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
16556
|
+
* @summary Bulk
|
|
16557
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
16558
|
+
* @param {*} [options] Override http request option.
|
|
16559
|
+
* @throws {RequiredError}
|
|
16560
|
+
*/
|
|
16561
|
+
shopListingControllerBulk: async (shopListingBulkInputDTO, options = {}) => {
|
|
16562
|
+
const localVarPath = `/shop/listing/bulk`;
|
|
16563
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16564
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16565
|
+
let baseOptions;
|
|
16566
|
+
if (configuration) {
|
|
16567
|
+
baseOptions = configuration.baseOptions;
|
|
16568
|
+
}
|
|
16569
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
16570
|
+
const localVarHeaderParameter = {};
|
|
16571
|
+
const localVarQueryParameter = {};
|
|
16572
|
+
// authentication domainAuth required
|
|
16573
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16574
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16575
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16576
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
16577
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shopListingBulkInputDTO, localVarRequestOptions, configuration);
|
|
16578
|
+
return {
|
|
16579
|
+
url: toPathString(localVarUrlObj),
|
|
16580
|
+
options: localVarRequestOptions,
|
|
16581
|
+
};
|
|
16582
|
+
},
|
|
15624
16583
|
/**
|
|
15625
16584
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
15626
16585
|
* @summary Create
|
|
@@ -15804,6 +16763,19 @@ export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
|
15804
16763
|
export const ShopListingApiFp = function (configuration) {
|
|
15805
16764
|
const localVarAxiosParamCreator = ShopListingApiAxiosParamCreator(configuration);
|
|
15806
16765
|
return {
|
|
16766
|
+
/**
|
|
16767
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
16768
|
+
* @summary Bulk
|
|
16769
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
16770
|
+
* @param {*} [options] Override http request option.
|
|
16771
|
+
* @throws {RequiredError}
|
|
16772
|
+
*/
|
|
16773
|
+
async shopListingControllerBulk(shopListingBulkInputDTO, options) {
|
|
16774
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerBulk(shopListingBulkInputDTO, options);
|
|
16775
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16776
|
+
const localVarOperationServerBasePath = operationServerMap['ShopListingApi.shopListingControllerBulk']?.[localVarOperationServerIndex]?.url;
|
|
16777
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16778
|
+
},
|
|
15807
16779
|
/**
|
|
15808
16780
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
15809
16781
|
* @summary Create
|
|
@@ -15891,6 +16863,18 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
15891
16863
|
export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
15892
16864
|
const localVarFp = ShopListingApiFp(configuration);
|
|
15893
16865
|
return {
|
|
16866
|
+
/**
|
|
16867
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
16868
|
+
* @summary Bulk
|
|
16869
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
16870
|
+
* @param {*} [options] Override http request option.
|
|
16871
|
+
* @throws {RequiredError}
|
|
16872
|
+
*/
|
|
16873
|
+
shopListingControllerBulk(shopListingBulkInputDTO, options) {
|
|
16874
|
+
return localVarFp
|
|
16875
|
+
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
16876
|
+
.then((request) => request(axios, basePath));
|
|
16877
|
+
},
|
|
15894
16878
|
/**
|
|
15895
16879
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
15896
16880
|
* @summary Create
|
|
@@ -15966,6 +16950,19 @@ export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
|
15966
16950
|
* @extends {BaseAPI}
|
|
15967
16951
|
*/
|
|
15968
16952
|
export class ShopListingApi extends BaseAPI {
|
|
16953
|
+
/**
|
|
16954
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
16955
|
+
* @summary Bulk
|
|
16956
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
16957
|
+
* @param {*} [options] Override http request option.
|
|
16958
|
+
* @throws {RequiredError}
|
|
16959
|
+
* @memberof ShopListingApi
|
|
16960
|
+
*/
|
|
16961
|
+
shopListingControllerBulk(shopListingBulkInputDTO, options) {
|
|
16962
|
+
return ShopListingApiFp(this.configuration)
|
|
16963
|
+
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
16964
|
+
.then((request) => request(this.axios, this.basePath));
|
|
16965
|
+
}
|
|
15969
16966
|
/**
|
|
15970
16967
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
15971
16968
|
* @summary Create
|
|
@@ -16408,6 +17405,240 @@ export class ShopOrderApi extends BaseAPI {
|
|
|
16408
17405
|
.then((request) => request(this.axios, this.basePath));
|
|
16409
17406
|
}
|
|
16410
17407
|
}
|
|
17408
|
+
/**
|
|
17409
|
+
* StorefrontConfigApi - axios parameter creator
|
|
17410
|
+
* @export
|
|
17411
|
+
*/
|
|
17412
|
+
export const StorefrontConfigApiAxiosParamCreator = function (configuration) {
|
|
17413
|
+
return {
|
|
17414
|
+
/**
|
|
17415
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17416
|
+
* @summary Get effective config
|
|
17417
|
+
* @param {string} gameServerId
|
|
17418
|
+
* @param {*} [options] Override http request option.
|
|
17419
|
+
* @throws {RequiredError}
|
|
17420
|
+
*/
|
|
17421
|
+
storefrontConfigControllerGetEffectiveConfig: async (gameServerId, options = {}) => {
|
|
17422
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
17423
|
+
assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
|
|
17424
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
17425
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17426
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17427
|
+
let baseOptions;
|
|
17428
|
+
if (configuration) {
|
|
17429
|
+
baseOptions = configuration.baseOptions;
|
|
17430
|
+
}
|
|
17431
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17432
|
+
const localVarHeaderParameter = {};
|
|
17433
|
+
const localVarQueryParameter = {};
|
|
17434
|
+
// authentication domainAuth required
|
|
17435
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17436
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17437
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17438
|
+
return {
|
|
17439
|
+
url: toPathString(localVarUrlObj),
|
|
17440
|
+
options: localVarRequestOptions,
|
|
17441
|
+
};
|
|
17442
|
+
},
|
|
17443
|
+
/**
|
|
17444
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17445
|
+
* @summary List templates
|
|
17446
|
+
* @param {*} [options] Override http request option.
|
|
17447
|
+
* @throws {RequiredError}
|
|
17448
|
+
*/
|
|
17449
|
+
storefrontConfigControllerListTemplates: async (options = {}) => {
|
|
17450
|
+
const localVarPath = `/storefront/templates`;
|
|
17451
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17452
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17453
|
+
let baseOptions;
|
|
17454
|
+
if (configuration) {
|
|
17455
|
+
baseOptions = configuration.baseOptions;
|
|
17456
|
+
}
|
|
17457
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17458
|
+
const localVarHeaderParameter = {};
|
|
17459
|
+
const localVarQueryParameter = {};
|
|
17460
|
+
// authentication domainAuth required
|
|
17461
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17462
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17463
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17464
|
+
return {
|
|
17465
|
+
url: toPathString(localVarUrlObj),
|
|
17466
|
+
options: localVarRequestOptions,
|
|
17467
|
+
};
|
|
17468
|
+
},
|
|
17469
|
+
/**
|
|
17470
|
+
* 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`
|
|
17471
|
+
* @summary Set config
|
|
17472
|
+
* @param {string} gameServerId
|
|
17473
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17474
|
+
* @param {*} [options] Override http request option.
|
|
17475
|
+
* @throws {RequiredError}
|
|
17476
|
+
*/
|
|
17477
|
+
storefrontConfigControllerSetConfig: async (gameServerId, storefrontConfigUpsertBody, options = {}) => {
|
|
17478
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
17479
|
+
assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
|
|
17480
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
17481
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17482
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17483
|
+
let baseOptions;
|
|
17484
|
+
if (configuration) {
|
|
17485
|
+
baseOptions = configuration.baseOptions;
|
|
17486
|
+
}
|
|
17487
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
17488
|
+
const localVarHeaderParameter = {};
|
|
17489
|
+
const localVarQueryParameter = {};
|
|
17490
|
+
// authentication domainAuth required
|
|
17491
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17492
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17493
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17494
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17495
|
+
localVarRequestOptions.data = serializeDataIfNeeded(storefrontConfigUpsertBody, localVarRequestOptions, configuration);
|
|
17496
|
+
return {
|
|
17497
|
+
url: toPathString(localVarUrlObj),
|
|
17498
|
+
options: localVarRequestOptions,
|
|
17499
|
+
};
|
|
17500
|
+
},
|
|
17501
|
+
};
|
|
17502
|
+
};
|
|
17503
|
+
/**
|
|
17504
|
+
* StorefrontConfigApi - functional programming interface
|
|
17505
|
+
* @export
|
|
17506
|
+
*/
|
|
17507
|
+
export const StorefrontConfigApiFp = function (configuration) {
|
|
17508
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
17509
|
+
return {
|
|
17510
|
+
/**
|
|
17511
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17512
|
+
* @summary Get effective config
|
|
17513
|
+
* @param {string} gameServerId
|
|
17514
|
+
* @param {*} [options] Override http request option.
|
|
17515
|
+
* @throws {RequiredError}
|
|
17516
|
+
*/
|
|
17517
|
+
async storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17518
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(gameServerId, options);
|
|
17519
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17520
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[localVarOperationServerIndex]?.url;
|
|
17521
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17522
|
+
},
|
|
17523
|
+
/**
|
|
17524
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17525
|
+
* @summary List templates
|
|
17526
|
+
* @param {*} [options] Override http request option.
|
|
17527
|
+
* @throws {RequiredError}
|
|
17528
|
+
*/
|
|
17529
|
+
async storefrontConfigControllerListTemplates(options) {
|
|
17530
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
17531
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17532
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[localVarOperationServerIndex]?.url;
|
|
17533
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17534
|
+
},
|
|
17535
|
+
/**
|
|
17536
|
+
* 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`
|
|
17537
|
+
* @summary Set config
|
|
17538
|
+
* @param {string} gameServerId
|
|
17539
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17540
|
+
* @param {*} [options] Override http request option.
|
|
17541
|
+
* @throws {RequiredError}
|
|
17542
|
+
*/
|
|
17543
|
+
async storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17544
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options);
|
|
17545
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17546
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
17547
|
+
?.url;
|
|
17548
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17549
|
+
},
|
|
17550
|
+
};
|
|
17551
|
+
};
|
|
17552
|
+
/**
|
|
17553
|
+
* StorefrontConfigApi - factory interface
|
|
17554
|
+
* @export
|
|
17555
|
+
*/
|
|
17556
|
+
export const StorefrontConfigApiFactory = function (configuration, basePath, axios) {
|
|
17557
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
17558
|
+
return {
|
|
17559
|
+
/**
|
|
17560
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17561
|
+
* @summary Get effective config
|
|
17562
|
+
* @param {string} gameServerId
|
|
17563
|
+
* @param {*} [options] Override http request option.
|
|
17564
|
+
* @throws {RequiredError}
|
|
17565
|
+
*/
|
|
17566
|
+
storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17567
|
+
return localVarFp
|
|
17568
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
17569
|
+
.then((request) => request(axios, basePath));
|
|
17570
|
+
},
|
|
17571
|
+
/**
|
|
17572
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17573
|
+
* @summary List templates
|
|
17574
|
+
* @param {*} [options] Override http request option.
|
|
17575
|
+
* @throws {RequiredError}
|
|
17576
|
+
*/
|
|
17577
|
+
storefrontConfigControllerListTemplates(options) {
|
|
17578
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
17579
|
+
},
|
|
17580
|
+
/**
|
|
17581
|
+
* 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`
|
|
17582
|
+
* @summary Set config
|
|
17583
|
+
* @param {string} gameServerId
|
|
17584
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17585
|
+
* @param {*} [options] Override http request option.
|
|
17586
|
+
* @throws {RequiredError}
|
|
17587
|
+
*/
|
|
17588
|
+
storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17589
|
+
return localVarFp
|
|
17590
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17591
|
+
.then((request) => request(axios, basePath));
|
|
17592
|
+
},
|
|
17593
|
+
};
|
|
17594
|
+
};
|
|
17595
|
+
/**
|
|
17596
|
+
* StorefrontConfigApi - object-oriented interface
|
|
17597
|
+
* @export
|
|
17598
|
+
* @class StorefrontConfigApi
|
|
17599
|
+
* @extends {BaseAPI}
|
|
17600
|
+
*/
|
|
17601
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
17602
|
+
/**
|
|
17603
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17604
|
+
* @summary Get effective config
|
|
17605
|
+
* @param {string} gameServerId
|
|
17606
|
+
* @param {*} [options] Override http request option.
|
|
17607
|
+
* @throws {RequiredError}
|
|
17608
|
+
* @memberof StorefrontConfigApi
|
|
17609
|
+
*/
|
|
17610
|
+
storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17611
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17612
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
17613
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17614
|
+
}
|
|
17615
|
+
/**
|
|
17616
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17617
|
+
* @summary List templates
|
|
17618
|
+
* @param {*} [options] Override http request option.
|
|
17619
|
+
* @throws {RequiredError}
|
|
17620
|
+
* @memberof StorefrontConfigApi
|
|
17621
|
+
*/
|
|
17622
|
+
storefrontConfigControllerListTemplates(options) {
|
|
17623
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17624
|
+
.storefrontConfigControllerListTemplates(options)
|
|
17625
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17626
|
+
}
|
|
17627
|
+
/**
|
|
17628
|
+
* 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`
|
|
17629
|
+
* @summary Set config
|
|
17630
|
+
* @param {string} gameServerId
|
|
17631
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17632
|
+
* @param {*} [options] Override http request option.
|
|
17633
|
+
* @throws {RequiredError}
|
|
17634
|
+
* @memberof StorefrontConfigApi
|
|
17635
|
+
*/
|
|
17636
|
+
storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17637
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17638
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17639
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17640
|
+
}
|
|
17641
|
+
}
|
|
16411
17642
|
/**
|
|
16412
17643
|
* TrackingApi - axios parameter creator
|
|
16413
17644
|
* @export
|
|
@@ -16822,6 +18053,32 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
16822
18053
|
options: localVarRequestOptions,
|
|
16823
18054
|
};
|
|
16824
18055
|
},
|
|
18056
|
+
/**
|
|
18057
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18058
|
+
* @summary Count billable dashboard users
|
|
18059
|
+
* @param {*} [options] Override http request option.
|
|
18060
|
+
* @throws {RequiredError}
|
|
18061
|
+
*/
|
|
18062
|
+
userControllerCountBillableDashboardUsers: async (options = {}) => {
|
|
18063
|
+
const localVarPath = `/user/count`;
|
|
18064
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18065
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18066
|
+
let baseOptions;
|
|
18067
|
+
if (configuration) {
|
|
18068
|
+
baseOptions = configuration.baseOptions;
|
|
18069
|
+
}
|
|
18070
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18071
|
+
const localVarHeaderParameter = {};
|
|
18072
|
+
const localVarQueryParameter = {};
|
|
18073
|
+
// authentication domainAuth required
|
|
18074
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18075
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18076
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18077
|
+
return {
|
|
18078
|
+
url: toPathString(localVarUrlObj),
|
|
18079
|
+
options: localVarRequestOptions,
|
|
18080
|
+
};
|
|
18081
|
+
},
|
|
16825
18082
|
/**
|
|
16826
18083
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
16827
18084
|
* @summary Create
|
|
@@ -16911,6 +18168,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
16911
18168
|
* @summary Invite
|
|
16912
18169
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
16913
18170
|
* @param {*} [options] Override http request option.
|
|
18171
|
+
* @deprecated
|
|
16914
18172
|
* @throws {RequiredError}
|
|
16915
18173
|
*/
|
|
16916
18174
|
userControllerInvite: async (inviteCreateDTO, options = {}) => {
|
|
@@ -17222,6 +18480,18 @@ export const UserApiFp = function (configuration) {
|
|
|
17222
18480
|
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
17223
18481
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17224
18482
|
},
|
|
18483
|
+
/**
|
|
18484
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18485
|
+
* @summary Count billable dashboard users
|
|
18486
|
+
* @param {*} [options] Override http request option.
|
|
18487
|
+
* @throws {RequiredError}
|
|
18488
|
+
*/
|
|
18489
|
+
async userControllerCountBillableDashboardUsers(options) {
|
|
18490
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
18491
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18492
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
18493
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18494
|
+
},
|
|
17225
18495
|
/**
|
|
17226
18496
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17227
18497
|
* @summary Create
|
|
@@ -17265,6 +18535,7 @@ export const UserApiFp = function (configuration) {
|
|
|
17265
18535
|
* @summary Invite
|
|
17266
18536
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17267
18537
|
* @param {*} [options] Override http request option.
|
|
18538
|
+
* @deprecated
|
|
17268
18539
|
* @throws {RequiredError}
|
|
17269
18540
|
*/
|
|
17270
18541
|
async userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -17413,6 +18684,15 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
17413
18684
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
17414
18685
|
.then((request) => request(axios, basePath));
|
|
17415
18686
|
},
|
|
18687
|
+
/**
|
|
18688
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18689
|
+
* @summary Count billable dashboard users
|
|
18690
|
+
* @param {*} [options] Override http request option.
|
|
18691
|
+
* @throws {RequiredError}
|
|
18692
|
+
*/
|
|
18693
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18694
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
18695
|
+
},
|
|
17416
18696
|
/**
|
|
17417
18697
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17418
18698
|
* @summary Create
|
|
@@ -17447,6 +18727,7 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
17447
18727
|
* @summary Invite
|
|
17448
18728
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17449
18729
|
* @param {*} [options] Override http request option.
|
|
18730
|
+
* @deprecated
|
|
17450
18731
|
* @throws {RequiredError}
|
|
17451
18732
|
*/
|
|
17452
18733
|
userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -17568,6 +18849,18 @@ export class UserApi extends BaseAPI {
|
|
|
17568
18849
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
17569
18850
|
.then((request) => request(this.axios, this.basePath));
|
|
17570
18851
|
}
|
|
18852
|
+
/**
|
|
18853
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18854
|
+
* @summary Count billable dashboard users
|
|
18855
|
+
* @param {*} [options] Override http request option.
|
|
18856
|
+
* @throws {RequiredError}
|
|
18857
|
+
* @memberof UserApi
|
|
18858
|
+
*/
|
|
18859
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18860
|
+
return UserApiFp(this.configuration)
|
|
18861
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
18862
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18863
|
+
}
|
|
17571
18864
|
/**
|
|
17572
18865
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17573
18866
|
* @summary Create
|
|
@@ -17611,6 +18904,7 @@ export class UserApi extends BaseAPI {
|
|
|
17611
18904
|
* @summary Invite
|
|
17612
18905
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17613
18906
|
* @param {*} [options] Override http request option.
|
|
18907
|
+
* @deprecated
|
|
17614
18908
|
* @throws {RequiredError}
|
|
17615
18909
|
* @memberof UserApi
|
|
17616
18910
|
*/
|
|
@@ -17743,6 +19037,35 @@ export class UserApi extends BaseAPI {
|
|
|
17743
19037
|
*/
|
|
17744
19038
|
export const VariableApiAxiosParamCreator = function (configuration) {
|
|
17745
19039
|
return {
|
|
19040
|
+
/**
|
|
19041
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19042
|
+
* @summary Bulk delete
|
|
19043
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19044
|
+
* @param {*} [options] Override http request option.
|
|
19045
|
+
* @throws {RequiredError}
|
|
19046
|
+
*/
|
|
19047
|
+
variableControllerBulkDelete: async (variableBulkDeleteInputDTO, options = {}) => {
|
|
19048
|
+
const localVarPath = `/variables`;
|
|
19049
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19050
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19051
|
+
let baseOptions;
|
|
19052
|
+
if (configuration) {
|
|
19053
|
+
baseOptions = configuration.baseOptions;
|
|
19054
|
+
}
|
|
19055
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
19056
|
+
const localVarHeaderParameter = {};
|
|
19057
|
+
const localVarQueryParameter = {};
|
|
19058
|
+
// authentication domainAuth required
|
|
19059
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19060
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19061
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19062
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19063
|
+
localVarRequestOptions.data = serializeDataIfNeeded(variableBulkDeleteInputDTO, localVarRequestOptions, configuration);
|
|
19064
|
+
return {
|
|
19065
|
+
url: toPathString(localVarUrlObj),
|
|
19066
|
+
options: localVarRequestOptions,
|
|
19067
|
+
};
|
|
19068
|
+
},
|
|
17746
19069
|
/**
|
|
17747
19070
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
17748
19071
|
* @summary Create
|
|
@@ -17900,6 +19223,19 @@ export const VariableApiAxiosParamCreator = function (configuration) {
|
|
|
17900
19223
|
export const VariableApiFp = function (configuration) {
|
|
17901
19224
|
const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
|
|
17902
19225
|
return {
|
|
19226
|
+
/**
|
|
19227
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19228
|
+
* @summary Bulk delete
|
|
19229
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19230
|
+
* @param {*} [options] Override http request option.
|
|
19231
|
+
* @throws {RequiredError}
|
|
19232
|
+
*/
|
|
19233
|
+
async variableControllerBulkDelete(variableBulkDeleteInputDTO, options) {
|
|
19234
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerBulkDelete(variableBulkDeleteInputDTO, options);
|
|
19235
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19236
|
+
const localVarOperationServerBasePath = operationServerMap['VariableApi.variableControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
19237
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19238
|
+
},
|
|
17903
19239
|
/**
|
|
17904
19240
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
17905
19241
|
* @summary Create
|
|
@@ -17975,6 +19311,18 @@ export const VariableApiFp = function (configuration) {
|
|
|
17975
19311
|
export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
17976
19312
|
const localVarFp = VariableApiFp(configuration);
|
|
17977
19313
|
return {
|
|
19314
|
+
/**
|
|
19315
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19316
|
+
* @summary Bulk delete
|
|
19317
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19318
|
+
* @param {*} [options] Override http request option.
|
|
19319
|
+
* @throws {RequiredError}
|
|
19320
|
+
*/
|
|
19321
|
+
variableControllerBulkDelete(variableBulkDeleteInputDTO, options) {
|
|
19322
|
+
return localVarFp
|
|
19323
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
19324
|
+
.then((request) => request(axios, basePath));
|
|
19325
|
+
},
|
|
17978
19326
|
/**
|
|
17979
19327
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
17980
19328
|
* @summary Create
|
|
@@ -18041,6 +19389,19 @@ export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
|
18041
19389
|
* @extends {BaseAPI}
|
|
18042
19390
|
*/
|
|
18043
19391
|
export class VariableApi extends BaseAPI {
|
|
19392
|
+
/**
|
|
19393
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19394
|
+
* @summary Bulk delete
|
|
19395
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19396
|
+
* @param {*} [options] Override http request option.
|
|
19397
|
+
* @throws {RequiredError}
|
|
19398
|
+
* @memberof VariableApi
|
|
19399
|
+
*/
|
|
19400
|
+
variableControllerBulkDelete(variableBulkDeleteInputDTO, options) {
|
|
19401
|
+
return VariableApiFp(this.configuration)
|
|
19402
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
19403
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19404
|
+
}
|
|
18044
19405
|
/**
|
|
18045
19406
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18046
19407
|
* @summary Create
|