@takaro/apiclient 0.0.0-dev.a2993e0 → 0.0.0-dev.a453433
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 +1387 -50
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +761 -30
- 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 +1 -1
- package/src/generated/api.ts +1989 -49
- 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
|
};
|
|
@@ -799,6 +831,10 @@ export const PlayerOnGameServerSearchInputDTOSortDirectionEnum = {
|
|
|
799
831
|
Asc: 'asc',
|
|
800
832
|
Desc: 'desc',
|
|
801
833
|
};
|
|
834
|
+
export const PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum = {
|
|
835
|
+
Global: 'global',
|
|
836
|
+
GameServer: 'gameServer',
|
|
837
|
+
};
|
|
802
838
|
export const PlayerSearchInputDTOExtendEnum = {
|
|
803
839
|
PlayerOnGameServers: 'playerOnGameServers',
|
|
804
840
|
Roles: 'roles',
|
|
@@ -848,6 +884,11 @@ export const ShopCategorySearchInputDTOSortDirectionEnum = {
|
|
|
848
884
|
Asc: 'asc',
|
|
849
885
|
Desc: 'desc',
|
|
850
886
|
};
|
|
887
|
+
export const ShopListingBulkInputDTOActionEnum = {
|
|
888
|
+
Delete: 'delete',
|
|
889
|
+
Publish: 'publish',
|
|
890
|
+
Unpublish: 'unpublish',
|
|
891
|
+
};
|
|
851
892
|
export const ShopListingSearchInputDTOExtendEnum = {
|
|
852
893
|
GameServer: 'gameServer',
|
|
853
894
|
Items: 'items',
|
|
@@ -1413,7 +1454,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1413
1454
|
};
|
|
1414
1455
|
},
|
|
1415
1456
|
/**
|
|
1416
|
-
* 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`
|
|
1417
1458
|
* @summary Get module health scores
|
|
1418
1459
|
* @param {string} [startDate]
|
|
1419
1460
|
* @param {string} [endDate]
|
|
@@ -2304,7 +2345,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2304
2345
|
},
|
|
2305
2346
|
/**
|
|
2306
2347
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2307
|
-
* @summary Get top modules by
|
|
2348
|
+
* @summary Get top modules by execution volume
|
|
2308
2349
|
* @param {string} [startDate]
|
|
2309
2350
|
* @param {string} [endDate]
|
|
2310
2351
|
* @param {string} [gameServerId]
|
|
@@ -2589,7 +2630,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2589
2630
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2590
2631
|
},
|
|
2591
2632
|
/**
|
|
2592
|
-
* 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`
|
|
2593
2634
|
* @summary Get module health scores
|
|
2594
2635
|
* @param {string} [startDate]
|
|
2595
2636
|
* @param {string} [endDate]
|
|
@@ -2934,7 +2975,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2934
2975
|
},
|
|
2935
2976
|
/**
|
|
2936
2977
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2937
|
-
* @summary Get top modules by
|
|
2978
|
+
* @summary Get top modules by execution volume
|
|
2938
2979
|
* @param {string} [startDate]
|
|
2939
2980
|
* @param {string} [endDate]
|
|
2940
2981
|
* @param {string} [gameServerId]
|
|
@@ -3150,7 +3191,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3150
3191
|
.then((request) => request(axios, basePath));
|
|
3151
3192
|
},
|
|
3152
3193
|
/**
|
|
3153
|
-
* 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`
|
|
3154
3195
|
* @summary Get module health scores
|
|
3155
3196
|
* @param {string} [startDate]
|
|
3156
3197
|
* @param {string} [endDate]
|
|
@@ -3467,7 +3508,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3467
3508
|
},
|
|
3468
3509
|
/**
|
|
3469
3510
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
3470
|
-
* @summary Get top modules by
|
|
3511
|
+
* @summary Get top modules by execution volume
|
|
3471
3512
|
* @param {string} [startDate]
|
|
3472
3513
|
* @param {string} [endDate]
|
|
3473
3514
|
* @param {string} [gameServerId]
|
|
@@ -3694,7 +3735,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3694
3735
|
.then((request) => request(this.axios, this.basePath));
|
|
3695
3736
|
}
|
|
3696
3737
|
/**
|
|
3697
|
-
* 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`
|
|
3698
3739
|
* @summary Get module health scores
|
|
3699
3740
|
* @param {string} [startDate]
|
|
3700
3741
|
* @param {string} [endDate]
|
|
@@ -4032,7 +4073,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
4032
4073
|
}
|
|
4033
4074
|
/**
|
|
4034
4075
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
4035
|
-
* @summary Get top modules by
|
|
4076
|
+
* @summary Get top modules by execution volume
|
|
4036
4077
|
* @param {string} [startDate]
|
|
4037
4078
|
* @param {string} [endDate]
|
|
4038
4079
|
* @param {string} [gameServerId]
|
|
@@ -6516,6 +6557,39 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
6516
6557
|
options: localVarRequestOptions,
|
|
6517
6558
|
};
|
|
6518
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
|
+
},
|
|
6519
6593
|
/**
|
|
6520
6594
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6521
6595
|
* @summary Get one
|
|
@@ -6727,6 +6801,20 @@ export const DomainApiFp = function (configuration) {
|
|
|
6727
6801
|
const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
6728
6802
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6729
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
|
+
},
|
|
6730
6818
|
/**
|
|
6731
6819
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6732
6820
|
* @summary Get one
|
|
@@ -6828,6 +6916,19 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
|
|
|
6828
6916
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
6829
6917
|
.then((request) => request(axios, basePath));
|
|
6830
6918
|
},
|
|
6919
|
+
/**
|
|
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
|
|
6922
|
+
* @param {string} id
|
|
6923
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6924
|
+
* @param {*} [options] Override http request option.
|
|
6925
|
+
* @throws {RequiredError}
|
|
6926
|
+
*/
|
|
6927
|
+
domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
|
|
6928
|
+
return localVarFp
|
|
6929
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
6930
|
+
.then((request) => request(axios, basePath));
|
|
6931
|
+
},
|
|
6831
6932
|
/**
|
|
6832
6933
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6833
6934
|
* @summary Get one
|
|
@@ -6918,6 +7019,20 @@ export class DomainApi extends BaseAPI {
|
|
|
6918
7019
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
6919
7020
|
.then((request) => request(this.axios, this.basePath));
|
|
6920
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
|
+
}
|
|
6921
7036
|
/**
|
|
6922
7037
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6923
7038
|
* @summary Get one
|
|
@@ -7669,13 +7784,11 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration) {
|
|
|
7669
7784
|
/**
|
|
7670
7785
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7671
7786
|
* @summary Auth discord
|
|
7672
|
-
* @param {string} redirect
|
|
7787
|
+
* @param {string} [redirect]
|
|
7673
7788
|
* @param {*} [options] Override http request option.
|
|
7674
7789
|
* @throws {RequiredError}
|
|
7675
7790
|
*/
|
|
7676
7791
|
externalAuthControllerAuthDiscord: async (redirect, options = {}) => {
|
|
7677
|
-
// verify required parameter 'redirect' is not null or undefined
|
|
7678
|
-
assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
|
|
7679
7792
|
const localVarPath = `/auth/discord`;
|
|
7680
7793
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7681
7794
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7734,7 +7847,7 @@ export const ExternalAuthApiFp = function (configuration) {
|
|
|
7734
7847
|
/**
|
|
7735
7848
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7736
7849
|
* @summary Auth discord
|
|
7737
|
-
* @param {string} redirect
|
|
7850
|
+
* @param {string} [redirect]
|
|
7738
7851
|
* @param {*} [options] Override http request option.
|
|
7739
7852
|
* @throws {RequiredError}
|
|
7740
7853
|
*/
|
|
@@ -7769,7 +7882,7 @@ export const ExternalAuthApiFactory = function (configuration, basePath, axios)
|
|
|
7769
7882
|
/**
|
|
7770
7883
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7771
7884
|
* @summary Auth discord
|
|
7772
|
-
* @param {string} redirect
|
|
7885
|
+
* @param {string} [redirect]
|
|
7773
7886
|
* @param {*} [options] Override http request option.
|
|
7774
7887
|
* @throws {RequiredError}
|
|
7775
7888
|
*/
|
|
@@ -7799,7 +7912,7 @@ export class ExternalAuthApi extends BaseAPI {
|
|
|
7799
7912
|
/**
|
|
7800
7913
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7801
7914
|
* @summary Auth discord
|
|
7802
|
-
* @param {string} redirect
|
|
7915
|
+
* @param {string} [redirect]
|
|
7803
7916
|
* @param {*} [options] Override http request option.
|
|
7804
7917
|
* @throws {RequiredError}
|
|
7805
7918
|
* @memberof ExternalAuthApi
|
|
@@ -10580,6 +10693,369 @@ export class HookApi extends BaseAPI {
|
|
|
10580
10693
|
.then((request) => request(this.axios, this.basePath));
|
|
10581
10694
|
}
|
|
10582
10695
|
}
|
|
10696
|
+
/**
|
|
10697
|
+
* InviteLinkApi - axios parameter creator
|
|
10698
|
+
* @export
|
|
10699
|
+
*/
|
|
10700
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration) {
|
|
10701
|
+
return {
|
|
10702
|
+
/**
|
|
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
|
|
10706
|
+
* @param {*} [options] Override http request option.
|
|
10707
|
+
* @throws {RequiredError}
|
|
10708
|
+
*/
|
|
10709
|
+
inviteLinkControllerCreate: async (inviteLinkCreateInputDTO, options = {}) => {
|
|
10710
|
+
const localVarPath = `/invite-link`;
|
|
10711
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10712
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10713
|
+
let baseOptions;
|
|
10714
|
+
if (configuration) {
|
|
10715
|
+
baseOptions = configuration.baseOptions;
|
|
10716
|
+
}
|
|
10717
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10718
|
+
const localVarHeaderParameter = {};
|
|
10719
|
+
const localVarQueryParameter = {};
|
|
10720
|
+
// authentication domainAuth required
|
|
10721
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10722
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10723
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10724
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10725
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
|
|
10726
|
+
return {
|
|
10727
|
+
url: toPathString(localVarUrlObj),
|
|
10728
|
+
options: localVarRequestOptions,
|
|
10729
|
+
};
|
|
10730
|
+
},
|
|
10731
|
+
/**
|
|
10732
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10733
|
+
* @summary Preview
|
|
10734
|
+
* @param {string} token
|
|
10735
|
+
* @param {*} [options] Override http request option.
|
|
10736
|
+
* @throws {RequiredError}
|
|
10737
|
+
*/
|
|
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)));
|
|
10742
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10743
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10744
|
+
let baseOptions;
|
|
10745
|
+
if (configuration) {
|
|
10746
|
+
baseOptions = configuration.baseOptions;
|
|
10747
|
+
}
|
|
10748
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10749
|
+
const localVarHeaderParameter = {};
|
|
10750
|
+
const localVarQueryParameter = {};
|
|
10751
|
+
// authentication domainAuth required
|
|
10752
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10753
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10754
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10755
|
+
return {
|
|
10756
|
+
url: toPathString(localVarUrlObj),
|
|
10757
|
+
options: localVarRequestOptions,
|
|
10758
|
+
};
|
|
10759
|
+
},
|
|
10760
|
+
/**
|
|
10761
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10762
|
+
* @summary Redeem
|
|
10763
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
10764
|
+
* @param {*} [options] Override http request option.
|
|
10765
|
+
* @throws {RequiredError}
|
|
10766
|
+
*/
|
|
10767
|
+
inviteLinkControllerRedeem: async (redeemInputDTO, options = {}) => {
|
|
10768
|
+
const localVarPath = `/invite-link/redeem`;
|
|
10769
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10770
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10771
|
+
let baseOptions;
|
|
10772
|
+
if (configuration) {
|
|
10773
|
+
baseOptions = configuration.baseOptions;
|
|
10774
|
+
}
|
|
10775
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10776
|
+
const localVarHeaderParameter = {};
|
|
10777
|
+
const localVarQueryParameter = {};
|
|
10778
|
+
// authentication domainAuth required
|
|
10779
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10780
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10781
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10782
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10783
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
10784
|
+
return {
|
|
10785
|
+
url: toPathString(localVarUrlObj),
|
|
10786
|
+
options: localVarRequestOptions,
|
|
10787
|
+
};
|
|
10788
|
+
},
|
|
10789
|
+
/**
|
|
10790
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10791
|
+
* @summary Revoke
|
|
10792
|
+
* @param {string} id
|
|
10793
|
+
* @param {*} [options] Override http request option.
|
|
10794
|
+
* @throws {RequiredError}
|
|
10795
|
+
*/
|
|
10796
|
+
inviteLinkControllerRevoke: async (id, options = {}) => {
|
|
10797
|
+
// verify required parameter 'id' is not null or undefined
|
|
10798
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
10799
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10800
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10801
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10802
|
+
let baseOptions;
|
|
10803
|
+
if (configuration) {
|
|
10804
|
+
baseOptions = configuration.baseOptions;
|
|
10805
|
+
}
|
|
10806
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
10807
|
+
const localVarHeaderParameter = {};
|
|
10808
|
+
const localVarQueryParameter = {};
|
|
10809
|
+
// authentication domainAuth required
|
|
10810
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10811
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10812
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10813
|
+
return {
|
|
10814
|
+
url: toPathString(localVarUrlObj),
|
|
10815
|
+
options: localVarRequestOptions,
|
|
10816
|
+
};
|
|
10817
|
+
},
|
|
10818
|
+
/**
|
|
10819
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10820
|
+
* @summary Search
|
|
10821
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10822
|
+
* @param {*} [options] Override http request option.
|
|
10823
|
+
* @throws {RequiredError}
|
|
10824
|
+
*/
|
|
10825
|
+
inviteLinkControllerSearch: async (inviteLinkSearchInputDTO, options = {}) => {
|
|
10826
|
+
const localVarPath = `/invite-link/search`;
|
|
10827
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10828
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10829
|
+
let baseOptions;
|
|
10830
|
+
if (configuration) {
|
|
10831
|
+
baseOptions = configuration.baseOptions;
|
|
10832
|
+
}
|
|
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
|
+
};
|
|
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 {
|
|
10856
|
+
/**
|
|
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
|
|
10860
|
+
* @param {*} [options] Override http request option.
|
|
10861
|
+
* @throws {RequiredError}
|
|
10862
|
+
*/
|
|
10863
|
+
async inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
10864
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options);
|
|
10865
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10866
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
10867
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10868
|
+
},
|
|
10869
|
+
/**
|
|
10870
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10871
|
+
* @summary Preview
|
|
10872
|
+
* @param {string} token
|
|
10873
|
+
* @param {*} [options] Override http request option.
|
|
10874
|
+
* @throws {RequiredError}
|
|
10875
|
+
*/
|
|
10876
|
+
async inviteLinkControllerPreview(token, options) {
|
|
10877
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
10878
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10879
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
10880
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10881
|
+
},
|
|
10882
|
+
/**
|
|
10883
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10884
|
+
* @summary Redeem
|
|
10885
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
10886
|
+
* @param {*} [options] Override http request option.
|
|
10887
|
+
* @throws {RequiredError}
|
|
10888
|
+
*/
|
|
10889
|
+
async inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
10890
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
10891
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10892
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
10893
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10894
|
+
},
|
|
10895
|
+
/**
|
|
10896
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10897
|
+
* @summary Revoke
|
|
10898
|
+
* @param {string} id
|
|
10899
|
+
* @param {*} [options] Override http request option.
|
|
10900
|
+
* @throws {RequiredError}
|
|
10901
|
+
*/
|
|
10902
|
+
async inviteLinkControllerRevoke(id, options) {
|
|
10903
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
10904
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10905
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
10906
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10907
|
+
},
|
|
10908
|
+
/**
|
|
10909
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10910
|
+
* @summary Search
|
|
10911
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10912
|
+
* @param {*} [options] Override http request option.
|
|
10913
|
+
* @throws {RequiredError}
|
|
10914
|
+
*/
|
|
10915
|
+
async inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
10916
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options);
|
|
10917
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10918
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
10919
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10920
|
+
},
|
|
10921
|
+
};
|
|
10922
|
+
};
|
|
10923
|
+
/**
|
|
10924
|
+
* InviteLinkApi - factory interface
|
|
10925
|
+
* @export
|
|
10926
|
+
*/
|
|
10927
|
+
export const InviteLinkApiFactory = function (configuration, basePath, axios) {
|
|
10928
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
10929
|
+
return {
|
|
10930
|
+
/**
|
|
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
|
|
10934
|
+
* @param {*} [options] Override http request option.
|
|
10935
|
+
* @throws {RequiredError}
|
|
10936
|
+
*/
|
|
10937
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
10938
|
+
return localVarFp
|
|
10939
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
10940
|
+
.then((request) => request(axios, basePath));
|
|
10941
|
+
},
|
|
10942
|
+
/**
|
|
10943
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10944
|
+
* @summary Preview
|
|
10945
|
+
* @param {string} token
|
|
10946
|
+
* @param {*} [options] Override http request option.
|
|
10947
|
+
* @throws {RequiredError}
|
|
10948
|
+
*/
|
|
10949
|
+
inviteLinkControllerPreview(token, options) {
|
|
10950
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
10951
|
+
},
|
|
10952
|
+
/**
|
|
10953
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10954
|
+
* @summary Redeem
|
|
10955
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
10956
|
+
* @param {*} [options] Override http request option.
|
|
10957
|
+
* @throws {RequiredError}
|
|
10958
|
+
*/
|
|
10959
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
10960
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
10961
|
+
},
|
|
10962
|
+
/**
|
|
10963
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10964
|
+
* @summary Revoke
|
|
10965
|
+
* @param {string} id
|
|
10966
|
+
* @param {*} [options] Override http request option.
|
|
10967
|
+
* @throws {RequiredError}
|
|
10968
|
+
*/
|
|
10969
|
+
inviteLinkControllerRevoke(id, options) {
|
|
10970
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
10971
|
+
},
|
|
10972
|
+
/**
|
|
10973
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10974
|
+
* @summary Search
|
|
10975
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10976
|
+
* @param {*} [options] Override http request option.
|
|
10977
|
+
* @throws {RequiredError}
|
|
10978
|
+
*/
|
|
10979
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
10980
|
+
return localVarFp
|
|
10981
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
10982
|
+
.then((request) => request(axios, basePath));
|
|
10983
|
+
},
|
|
10984
|
+
};
|
|
10985
|
+
};
|
|
10986
|
+
/**
|
|
10987
|
+
* InviteLinkApi - object-oriented interface
|
|
10988
|
+
* @export
|
|
10989
|
+
* @class InviteLinkApi
|
|
10990
|
+
* @extends {BaseAPI}
|
|
10991
|
+
*/
|
|
10992
|
+
export class InviteLinkApi extends BaseAPI {
|
|
10993
|
+
/**
|
|
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
|
|
10997
|
+
* @param {*} [options] Override http request option.
|
|
10998
|
+
* @throws {RequiredError}
|
|
10999
|
+
* @memberof InviteLinkApi
|
|
11000
|
+
*/
|
|
11001
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
11002
|
+
return InviteLinkApiFp(this.configuration)
|
|
11003
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
11004
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11005
|
+
}
|
|
11006
|
+
/**
|
|
11007
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
11008
|
+
* @summary Preview
|
|
11009
|
+
* @param {string} token
|
|
11010
|
+
* @param {*} [options] Override http request option.
|
|
11011
|
+
* @throws {RequiredError}
|
|
11012
|
+
* @memberof InviteLinkApi
|
|
11013
|
+
*/
|
|
11014
|
+
inviteLinkControllerPreview(token, options) {
|
|
11015
|
+
return InviteLinkApiFp(this.configuration)
|
|
11016
|
+
.inviteLinkControllerPreview(token, options)
|
|
11017
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11018
|
+
}
|
|
11019
|
+
/**
|
|
11020
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
11021
|
+
* @summary Redeem
|
|
11022
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
11023
|
+
* @param {*} [options] Override http request option.
|
|
11024
|
+
* @throws {RequiredError}
|
|
11025
|
+
* @memberof InviteLinkApi
|
|
11026
|
+
*/
|
|
11027
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
11028
|
+
return InviteLinkApiFp(this.configuration)
|
|
11029
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
11030
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11031
|
+
}
|
|
11032
|
+
/**
|
|
11033
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
11034
|
+
* @summary Revoke
|
|
11035
|
+
* @param {string} id
|
|
11036
|
+
* @param {*} [options] Override http request option.
|
|
11037
|
+
* @throws {RequiredError}
|
|
11038
|
+
* @memberof InviteLinkApi
|
|
11039
|
+
*/
|
|
11040
|
+
inviteLinkControllerRevoke(id, options) {
|
|
11041
|
+
return InviteLinkApiFp(this.configuration)
|
|
11042
|
+
.inviteLinkControllerRevoke(id, options)
|
|
11043
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11044
|
+
}
|
|
11045
|
+
/**
|
|
11046
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
11047
|
+
* @summary Search
|
|
11048
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
11049
|
+
* @param {*} [options] Override http request option.
|
|
11050
|
+
* @throws {RequiredError}
|
|
11051
|
+
* @memberof InviteLinkApi
|
|
11052
|
+
*/
|
|
11053
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
11054
|
+
return InviteLinkApiFp(this.configuration)
|
|
11055
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
11056
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11057
|
+
}
|
|
11058
|
+
}
|
|
10583
11059
|
/**
|
|
10584
11060
|
* ItemApi - axios parameter creator
|
|
10585
11061
|
* @export
|
|
@@ -10775,6 +11251,31 @@ export const MetaApiAxiosParamCreator = function (configuration) {
|
|
|
10775
11251
|
options: localVarRequestOptions,
|
|
10776
11252
|
};
|
|
10777
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
|
+
},
|
|
10778
11279
|
/**
|
|
10779
11280
|
* <br> OperationId: `MetaGetMetrics`
|
|
10780
11281
|
* @summary Get metrics
|
|
@@ -10921,6 +11422,18 @@ export const MetaApiFp = function (configuration) {
|
|
|
10921
11422
|
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetHealth']?.[localVarOperationServerIndex]?.url;
|
|
10922
11423
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10923
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
|
+
},
|
|
10924
11437
|
/**
|
|
10925
11438
|
* <br> OperationId: `MetaGetMetrics`
|
|
10926
11439
|
* @summary Get metrics
|
|
@@ -10999,6 +11512,15 @@ export const MetaApiFactory = function (configuration, basePath, axios) {
|
|
|
10999
11512
|
metaGetHealth(options) {
|
|
11000
11513
|
return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
|
|
11001
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
|
+
},
|
|
11002
11524
|
/**
|
|
11003
11525
|
* <br> OperationId: `MetaGetMetrics`
|
|
11004
11526
|
* @summary Get metrics
|
|
@@ -11065,6 +11587,18 @@ export class MetaApi extends BaseAPI {
|
|
|
11065
11587
|
.metaGetHealth(options)
|
|
11066
11588
|
.then((request) => request(this.axios, this.basePath));
|
|
11067
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
|
+
}
|
|
11068
11602
|
/**
|
|
11069
11603
|
* <br> OperationId: `MetaGetMetrics`
|
|
11070
11604
|
* @summary Get metrics
|
|
@@ -12312,7 +12846,7 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
12312
12846
|
};
|
|
12313
12847
|
},
|
|
12314
12848
|
/**
|
|
12315
|
-
* 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`
|
|
12316
12850
|
* @summary Bulk assign role
|
|
12317
12851
|
* @param {string} roleId
|
|
12318
12852
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -12344,7 +12878,7 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
12344
12878
|
};
|
|
12345
12879
|
},
|
|
12346
12880
|
/**
|
|
12347
|
-
* 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`
|
|
12348
12882
|
* @summary Bulk delete
|
|
12349
12883
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
12350
12884
|
* @param {*} [options] Override http request option.
|
|
@@ -12613,7 +13147,7 @@ export const PlayerApiFp = function (configuration) {
|
|
|
12613
13147
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12614
13148
|
},
|
|
12615
13149
|
/**
|
|
12616
|
-
* 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`
|
|
12617
13151
|
* @summary Bulk assign role
|
|
12618
13152
|
* @param {string} roleId
|
|
12619
13153
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -12627,7 +13161,7 @@ export const PlayerApiFp = function (configuration) {
|
|
|
12627
13161
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12628
13162
|
},
|
|
12629
13163
|
/**
|
|
12630
|
-
* 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`
|
|
12631
13165
|
* @summary Bulk delete
|
|
12632
13166
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
12633
13167
|
* @param {*} [options] Override http request option.
|
|
@@ -12780,7 +13314,7 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
12780
13314
|
.then((request) => request(axios, basePath));
|
|
12781
13315
|
},
|
|
12782
13316
|
/**
|
|
12783
|
-
* 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`
|
|
12784
13318
|
* @summary Bulk assign role
|
|
12785
13319
|
* @param {string} roleId
|
|
12786
13320
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -12793,7 +13327,7 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
12793
13327
|
.then((request) => request(axios, basePath));
|
|
12794
13328
|
},
|
|
12795
13329
|
/**
|
|
12796
|
-
* 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`
|
|
12797
13331
|
* @summary Bulk delete
|
|
12798
13332
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
12799
13333
|
* @param {*} [options] Override http request option.
|
|
@@ -12950,7 +13484,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
12950
13484
|
.then((request) => request(this.axios, this.basePath));
|
|
12951
13485
|
}
|
|
12952
13486
|
/**
|
|
12953
|
-
* 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`
|
|
12954
13488
|
* @summary Bulk assign role
|
|
12955
13489
|
* @param {string} roleId
|
|
12956
13490
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -12964,7 +13498,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
12964
13498
|
.then((request) => request(this.axios, this.basePath));
|
|
12965
13499
|
}
|
|
12966
13500
|
/**
|
|
12967
|
-
* 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`
|
|
12968
13502
|
* @summary Bulk delete
|
|
12969
13503
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
12970
13504
|
* @param {*} [options] Override http request option.
|
|
@@ -13087,7 +13621,7 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
13087
13621
|
};
|
|
13088
13622
|
},
|
|
13089
13623
|
/**
|
|
13090
|
-
* 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`
|
|
13091
13625
|
* @summary Bulk add currency
|
|
13092
13626
|
* @param {string} gameServerId
|
|
13093
13627
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -13387,7 +13921,7 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
13387
13921
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13388
13922
|
},
|
|
13389
13923
|
/**
|
|
13390
|
-
* 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`
|
|
13391
13925
|
* @summary Bulk add currency
|
|
13392
13926
|
* @param {string} gameServerId
|
|
13393
13927
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -13528,7 +14062,7 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
13528
14062
|
.then((request) => request(axios, basePath));
|
|
13529
14063
|
},
|
|
13530
14064
|
/**
|
|
13531
|
-
* 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`
|
|
13532
14066
|
* @summary Bulk add currency
|
|
13533
14067
|
* @param {string} gameServerId
|
|
13534
14068
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -13659,7 +14193,7 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
13659
14193
|
.then((request) => request(this.axios, this.basePath));
|
|
13660
14194
|
}
|
|
13661
14195
|
/**
|
|
13662
|
-
* 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`
|
|
13663
14197
|
* @summary Bulk add currency
|
|
13664
14198
|
* @param {string} gameServerId
|
|
13665
14199
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -15432,7 +15966,7 @@ export class ShopActionApi extends BaseAPI {
|
|
|
15432
15966
|
export const ShopCategoryApiAxiosParamCreator = function (configuration) {
|
|
15433
15967
|
return {
|
|
15434
15968
|
/**
|
|
15435
|
-
* 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`
|
|
15436
15970
|
* @summary Bulk assign
|
|
15437
15971
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
15438
15972
|
* @param {*} [options] Override http request option.
|
|
@@ -15684,7 +16218,7 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
15684
16218
|
const localVarAxiosParamCreator = ShopCategoryApiAxiosParamCreator(configuration);
|
|
15685
16219
|
return {
|
|
15686
16220
|
/**
|
|
15687
|
-
* 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`
|
|
15688
16222
|
* @summary Bulk assign
|
|
15689
16223
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
15690
16224
|
* @param {*} [options] Override http request option.
|
|
@@ -15800,7 +16334,7 @@ export const ShopCategoryApiFactory = function (configuration, basePath, axios)
|
|
|
15800
16334
|
const localVarFp = ShopCategoryApiFp(configuration);
|
|
15801
16335
|
return {
|
|
15802
16336
|
/**
|
|
15803
|
-
* 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`
|
|
15804
16338
|
* @summary Bulk assign
|
|
15805
16339
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
15806
16340
|
* @param {*} [options] Override http request option.
|
|
@@ -15904,7 +16438,7 @@ export const ShopCategoryApiFactory = function (configuration, basePath, axios)
|
|
|
15904
16438
|
*/
|
|
15905
16439
|
export class ShopCategoryApi extends BaseAPI {
|
|
15906
16440
|
/**
|
|
15907
|
-
* 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`
|
|
15908
16442
|
* @summary Bulk assign
|
|
15909
16443
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
15910
16444
|
* @param {*} [options] Override http request option.
|
|
@@ -16017,6 +16551,35 @@ export class ShopCategoryApi extends BaseAPI {
|
|
|
16017
16551
|
*/
|
|
16018
16552
|
export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
16019
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
|
+
},
|
|
16020
16583
|
/**
|
|
16021
16584
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16022
16585
|
* @summary Create
|
|
@@ -16200,6 +16763,19 @@ export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
|
16200
16763
|
export const ShopListingApiFp = function (configuration) {
|
|
16201
16764
|
const localVarAxiosParamCreator = ShopListingApiAxiosParamCreator(configuration);
|
|
16202
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
|
+
},
|
|
16203
16779
|
/**
|
|
16204
16780
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16205
16781
|
* @summary Create
|
|
@@ -16287,6 +16863,18 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
16287
16863
|
export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
16288
16864
|
const localVarFp = ShopListingApiFp(configuration);
|
|
16289
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
|
+
},
|
|
16290
16878
|
/**
|
|
16291
16879
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16292
16880
|
* @summary Create
|
|
@@ -16362,6 +16950,19 @@ export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
|
16362
16950
|
* @extends {BaseAPI}
|
|
16363
16951
|
*/
|
|
16364
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
|
+
}
|
|
16365
16966
|
/**
|
|
16366
16967
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16367
16968
|
* @summary Create
|
|
@@ -17452,6 +18053,32 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
17452
18053
|
options: localVarRequestOptions,
|
|
17453
18054
|
};
|
|
17454
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
|
+
},
|
|
17455
18082
|
/**
|
|
17456
18083
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17457
18084
|
* @summary Create
|
|
@@ -17541,6 +18168,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
17541
18168
|
* @summary Invite
|
|
17542
18169
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17543
18170
|
* @param {*} [options] Override http request option.
|
|
18171
|
+
* @deprecated
|
|
17544
18172
|
* @throws {RequiredError}
|
|
17545
18173
|
*/
|
|
17546
18174
|
userControllerInvite: async (inviteCreateDTO, options = {}) => {
|
|
@@ -17852,6 +18480,18 @@ export const UserApiFp = function (configuration) {
|
|
|
17852
18480
|
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
17853
18481
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17854
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
|
+
},
|
|
17855
18495
|
/**
|
|
17856
18496
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17857
18497
|
* @summary Create
|
|
@@ -17895,6 +18535,7 @@ export const UserApiFp = function (configuration) {
|
|
|
17895
18535
|
* @summary Invite
|
|
17896
18536
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17897
18537
|
* @param {*} [options] Override http request option.
|
|
18538
|
+
* @deprecated
|
|
17898
18539
|
* @throws {RequiredError}
|
|
17899
18540
|
*/
|
|
17900
18541
|
async userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -18043,6 +18684,15 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
18043
18684
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
18044
18685
|
.then((request) => request(axios, basePath));
|
|
18045
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
|
+
},
|
|
18046
18696
|
/**
|
|
18047
18697
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
18048
18698
|
* @summary Create
|
|
@@ -18077,6 +18727,7 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
18077
18727
|
* @summary Invite
|
|
18078
18728
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
18079
18729
|
* @param {*} [options] Override http request option.
|
|
18730
|
+
* @deprecated
|
|
18080
18731
|
* @throws {RequiredError}
|
|
18081
18732
|
*/
|
|
18082
18733
|
userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -18198,6 +18849,18 @@ export class UserApi extends BaseAPI {
|
|
|
18198
18849
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
18199
18850
|
.then((request) => request(this.axios, this.basePath));
|
|
18200
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
|
+
}
|
|
18201
18864
|
/**
|
|
18202
18865
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
18203
18866
|
* @summary Create
|
|
@@ -18241,6 +18904,7 @@ export class UserApi extends BaseAPI {
|
|
|
18241
18904
|
* @summary Invite
|
|
18242
18905
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
18243
18906
|
* @param {*} [options] Override http request option.
|
|
18907
|
+
* @deprecated
|
|
18244
18908
|
* @throws {RequiredError}
|
|
18245
18909
|
* @memberof UserApi
|
|
18246
18910
|
*/
|
|
@@ -18373,6 +19037,35 @@ export class UserApi extends BaseAPI {
|
|
|
18373
19037
|
*/
|
|
18374
19038
|
export const VariableApiAxiosParamCreator = function (configuration) {
|
|
18375
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
|
+
},
|
|
18376
19069
|
/**
|
|
18377
19070
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18378
19071
|
* @summary Create
|
|
@@ -18530,6 +19223,19 @@ export const VariableApiAxiosParamCreator = function (configuration) {
|
|
|
18530
19223
|
export const VariableApiFp = function (configuration) {
|
|
18531
19224
|
const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
|
|
18532
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
|
+
},
|
|
18533
19239
|
/**
|
|
18534
19240
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18535
19241
|
* @summary Create
|
|
@@ -18605,6 +19311,18 @@ export const VariableApiFp = function (configuration) {
|
|
|
18605
19311
|
export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
18606
19312
|
const localVarFp = VariableApiFp(configuration);
|
|
18607
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
|
+
},
|
|
18608
19326
|
/**
|
|
18609
19327
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18610
19328
|
* @summary Create
|
|
@@ -18671,6 +19389,19 @@ export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
|
18671
19389
|
* @extends {BaseAPI}
|
|
18672
19390
|
*/
|
|
18673
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
|
+
}
|
|
18674
19405
|
/**
|
|
18675
19406
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18676
19407
|
* @summary Create
|