@takaro/apiclient 0.0.0-dev.4533bd5 → 0.0.0-dev.469f15a
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 +1885 -210
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1051 -86
- 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 +2708 -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
|
};
|
|
@@ -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
|
|
@@ -10581,29 +10694,116 @@ export class HookApi extends BaseAPI {
|
|
|
10581
10694
|
}
|
|
10582
10695
|
}
|
|
10583
10696
|
/**
|
|
10584
|
-
*
|
|
10697
|
+
* InviteLinkApi - axios parameter creator
|
|
10585
10698
|
* @export
|
|
10586
10699
|
*/
|
|
10587
|
-
export const
|
|
10700
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration) {
|
|
10588
10701
|
return {
|
|
10589
10702
|
/**
|
|
10590
|
-
*
|
|
10591
|
-
* @summary
|
|
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
|
|
10592
10792
|
* @param {string} id
|
|
10593
10793
|
* @param {*} [options] Override http request option.
|
|
10594
10794
|
* @throws {RequiredError}
|
|
10595
10795
|
*/
|
|
10596
|
-
|
|
10796
|
+
inviteLinkControllerRevoke: async (id, options = {}) => {
|
|
10597
10797
|
// verify required parameter 'id' is not null or undefined
|
|
10598
|
-
assertParamExists('
|
|
10599
|
-
const localVarPath = `/
|
|
10798
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
10799
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10600
10800
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10601
10801
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10602
10802
|
let baseOptions;
|
|
10603
10803
|
if (configuration) {
|
|
10604
10804
|
baseOptions = configuration.baseOptions;
|
|
10605
10805
|
}
|
|
10606
|
-
const localVarRequestOptions = { method: '
|
|
10806
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
10607
10807
|
const localVarHeaderParameter = {};
|
|
10608
10808
|
const localVarQueryParameter = {};
|
|
10609
10809
|
// authentication domainAuth required
|
|
@@ -10616,14 +10816,14 @@ export const ItemApiAxiosParamCreator = function (configuration) {
|
|
|
10616
10816
|
};
|
|
10617
10817
|
},
|
|
10618
10818
|
/**
|
|
10619
|
-
*
|
|
10819
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10620
10820
|
* @summary Search
|
|
10621
|
-
* @param {
|
|
10821
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10622
10822
|
* @param {*} [options] Override http request option.
|
|
10623
10823
|
* @throws {RequiredError}
|
|
10624
10824
|
*/
|
|
10625
|
-
|
|
10626
|
-
const localVarPath = `/
|
|
10825
|
+
inviteLinkControllerSearch: async (inviteLinkSearchInputDTO, options = {}) => {
|
|
10826
|
+
const localVarPath = `/invite-link/search`;
|
|
10627
10827
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10628
10828
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10629
10829
|
let baseOptions;
|
|
@@ -10638,7 +10838,7 @@ export const ItemApiAxiosParamCreator = function (configuration) {
|
|
|
10638
10838
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10639
10839
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10640
10840
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10641
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
10841
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkSearchInputDTO, localVarRequestOptions, configuration);
|
|
10642
10842
|
return {
|
|
10643
10843
|
url: toPathString(localVarUrlObj),
|
|
10644
10844
|
options: localVarRequestOptions,
|
|
@@ -10647,112 +10847,388 @@ export const ItemApiAxiosParamCreator = function (configuration) {
|
|
|
10647
10847
|
};
|
|
10648
10848
|
};
|
|
10649
10849
|
/**
|
|
10650
|
-
*
|
|
10850
|
+
* InviteLinkApi - functional programming interface
|
|
10651
10851
|
* @export
|
|
10652
10852
|
*/
|
|
10653
|
-
export const
|
|
10654
|
-
const localVarAxiosParamCreator =
|
|
10853
|
+
export const InviteLinkApiFp = function (configuration) {
|
|
10854
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
10655
10855
|
return {
|
|
10656
10856
|
/**
|
|
10657
|
-
*
|
|
10658
|
-
* @summary
|
|
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
|
|
10659
10898
|
* @param {string} id
|
|
10660
10899
|
* @param {*} [options] Override http request option.
|
|
10661
10900
|
* @throws {RequiredError}
|
|
10662
10901
|
*/
|
|
10663
|
-
async
|
|
10664
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10902
|
+
async inviteLinkControllerRevoke(id, options) {
|
|
10903
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
10665
10904
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10666
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10905
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
10667
10906
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10668
10907
|
},
|
|
10669
10908
|
/**
|
|
10670
|
-
*
|
|
10909
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10671
10910
|
* @summary Search
|
|
10672
|
-
* @param {
|
|
10911
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10673
10912
|
* @param {*} [options] Override http request option.
|
|
10674
10913
|
* @throws {RequiredError}
|
|
10675
10914
|
*/
|
|
10676
|
-
async
|
|
10677
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10915
|
+
async inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
10916
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options);
|
|
10678
10917
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10679
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10918
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
10680
10919
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10681
10920
|
},
|
|
10682
10921
|
};
|
|
10683
10922
|
};
|
|
10684
10923
|
/**
|
|
10685
|
-
*
|
|
10924
|
+
* InviteLinkApi - factory interface
|
|
10686
10925
|
* @export
|
|
10687
10926
|
*/
|
|
10688
|
-
export const
|
|
10689
|
-
const localVarFp =
|
|
10927
|
+
export const InviteLinkApiFactory = function (configuration, basePath, axios) {
|
|
10928
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
10690
10929
|
return {
|
|
10691
10930
|
/**
|
|
10692
|
-
*
|
|
10693
|
-
* @summary
|
|
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
|
|
10694
10965
|
* @param {string} id
|
|
10695
10966
|
* @param {*} [options] Override http request option.
|
|
10696
10967
|
* @throws {RequiredError}
|
|
10697
10968
|
*/
|
|
10698
|
-
|
|
10699
|
-
return localVarFp.
|
|
10969
|
+
inviteLinkControllerRevoke(id, options) {
|
|
10970
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
10700
10971
|
},
|
|
10701
10972
|
/**
|
|
10702
|
-
*
|
|
10973
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10703
10974
|
* @summary Search
|
|
10704
|
-
* @param {
|
|
10975
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10705
10976
|
* @param {*} [options] Override http request option.
|
|
10706
10977
|
* @throws {RequiredError}
|
|
10707
10978
|
*/
|
|
10708
|
-
|
|
10709
|
-
return localVarFp
|
|
10979
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
10980
|
+
return localVarFp
|
|
10981
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
10982
|
+
.then((request) => request(axios, basePath));
|
|
10710
10983
|
},
|
|
10711
10984
|
};
|
|
10712
10985
|
};
|
|
10713
10986
|
/**
|
|
10714
|
-
*
|
|
10987
|
+
* InviteLinkApi - object-oriented interface
|
|
10715
10988
|
* @export
|
|
10716
|
-
* @class
|
|
10989
|
+
* @class InviteLinkApi
|
|
10717
10990
|
* @extends {BaseAPI}
|
|
10718
10991
|
*/
|
|
10719
|
-
export class
|
|
10992
|
+
export class InviteLinkApi extends BaseAPI {
|
|
10720
10993
|
/**
|
|
10721
|
-
*
|
|
10722
|
-
* @summary
|
|
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
|
|
10723
11035
|
* @param {string} id
|
|
10724
11036
|
* @param {*} [options] Override http request option.
|
|
10725
11037
|
* @throws {RequiredError}
|
|
10726
|
-
* @memberof
|
|
11038
|
+
* @memberof InviteLinkApi
|
|
10727
11039
|
*/
|
|
10728
|
-
|
|
10729
|
-
return
|
|
10730
|
-
.
|
|
11040
|
+
inviteLinkControllerRevoke(id, options) {
|
|
11041
|
+
return InviteLinkApiFp(this.configuration)
|
|
11042
|
+
.inviteLinkControllerRevoke(id, options)
|
|
10731
11043
|
.then((request) => request(this.axios, this.basePath));
|
|
10732
11044
|
}
|
|
10733
11045
|
/**
|
|
10734
|
-
*
|
|
11046
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10735
11047
|
* @summary Search
|
|
10736
|
-
* @param {
|
|
11048
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10737
11049
|
* @param {*} [options] Override http request option.
|
|
10738
11050
|
* @throws {RequiredError}
|
|
10739
|
-
* @memberof
|
|
11051
|
+
* @memberof InviteLinkApi
|
|
10740
11052
|
*/
|
|
10741
|
-
|
|
10742
|
-
return
|
|
10743
|
-
.
|
|
11053
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
11054
|
+
return InviteLinkApiFp(this.configuration)
|
|
11055
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
10744
11056
|
.then((request) => request(this.axios, this.basePath));
|
|
10745
11057
|
}
|
|
10746
11058
|
}
|
|
10747
11059
|
/**
|
|
10748
|
-
*
|
|
11060
|
+
* ItemApi - axios parameter creator
|
|
10749
11061
|
* @export
|
|
10750
11062
|
*/
|
|
10751
|
-
export const
|
|
11063
|
+
export const ItemApiAxiosParamCreator = function (configuration) {
|
|
10752
11064
|
return {
|
|
10753
11065
|
/**
|
|
10754
|
-
*
|
|
10755
|
-
* @summary
|
|
11066
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
11067
|
+
* @summary Find one
|
|
11068
|
+
* @param {string} id
|
|
11069
|
+
* @param {*} [options] Override http request option.
|
|
11070
|
+
* @throws {RequiredError}
|
|
11071
|
+
*/
|
|
11072
|
+
itemControllerFindOne: async (id, options = {}) => {
|
|
11073
|
+
// verify required parameter 'id' is not null or undefined
|
|
11074
|
+
assertParamExists('itemControllerFindOne', 'id', id);
|
|
11075
|
+
const localVarPath = `/items/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
11076
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11077
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11078
|
+
let baseOptions;
|
|
11079
|
+
if (configuration) {
|
|
11080
|
+
baseOptions = configuration.baseOptions;
|
|
11081
|
+
}
|
|
11082
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11083
|
+
const localVarHeaderParameter = {};
|
|
11084
|
+
const localVarQueryParameter = {};
|
|
11085
|
+
// authentication domainAuth required
|
|
11086
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11087
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11088
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11089
|
+
return {
|
|
11090
|
+
url: toPathString(localVarUrlObj),
|
|
11091
|
+
options: localVarRequestOptions,
|
|
11092
|
+
};
|
|
11093
|
+
},
|
|
11094
|
+
/**
|
|
11095
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
11096
|
+
* @summary Search
|
|
11097
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
11098
|
+
* @param {*} [options] Override http request option.
|
|
11099
|
+
* @throws {RequiredError}
|
|
11100
|
+
*/
|
|
11101
|
+
itemControllerSearch: async (itemSearchInputDTO, options = {}) => {
|
|
11102
|
+
const localVarPath = `/items/search`;
|
|
11103
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11104
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11105
|
+
let baseOptions;
|
|
11106
|
+
if (configuration) {
|
|
11107
|
+
baseOptions = configuration.baseOptions;
|
|
11108
|
+
}
|
|
11109
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
11110
|
+
const localVarHeaderParameter = {};
|
|
11111
|
+
const localVarQueryParameter = {};
|
|
11112
|
+
// authentication domainAuth required
|
|
11113
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11114
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11115
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11116
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11117
|
+
localVarRequestOptions.data = serializeDataIfNeeded(itemSearchInputDTO, localVarRequestOptions, configuration);
|
|
11118
|
+
return {
|
|
11119
|
+
url: toPathString(localVarUrlObj),
|
|
11120
|
+
options: localVarRequestOptions,
|
|
11121
|
+
};
|
|
11122
|
+
},
|
|
11123
|
+
};
|
|
11124
|
+
};
|
|
11125
|
+
/**
|
|
11126
|
+
* ItemApi - functional programming interface
|
|
11127
|
+
* @export
|
|
11128
|
+
*/
|
|
11129
|
+
export const ItemApiFp = function (configuration) {
|
|
11130
|
+
const localVarAxiosParamCreator = ItemApiAxiosParamCreator(configuration);
|
|
11131
|
+
return {
|
|
11132
|
+
/**
|
|
11133
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
11134
|
+
* @summary Find one
|
|
11135
|
+
* @param {string} id
|
|
11136
|
+
* @param {*} [options] Override http request option.
|
|
11137
|
+
* @throws {RequiredError}
|
|
11138
|
+
*/
|
|
11139
|
+
async itemControllerFindOne(id, options) {
|
|
11140
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerFindOne(id, options);
|
|
11141
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11142
|
+
const localVarOperationServerBasePath = operationServerMap['ItemApi.itemControllerFindOne']?.[localVarOperationServerIndex]?.url;
|
|
11143
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11144
|
+
},
|
|
11145
|
+
/**
|
|
11146
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
11147
|
+
* @summary Search
|
|
11148
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
11149
|
+
* @param {*} [options] Override http request option.
|
|
11150
|
+
* @throws {RequiredError}
|
|
11151
|
+
*/
|
|
11152
|
+
async itemControllerSearch(itemSearchInputDTO, options) {
|
|
11153
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerSearch(itemSearchInputDTO, options);
|
|
11154
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11155
|
+
const localVarOperationServerBasePath = operationServerMap['ItemApi.itemControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
11156
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11157
|
+
},
|
|
11158
|
+
};
|
|
11159
|
+
};
|
|
11160
|
+
/**
|
|
11161
|
+
* ItemApi - factory interface
|
|
11162
|
+
* @export
|
|
11163
|
+
*/
|
|
11164
|
+
export const ItemApiFactory = function (configuration, basePath, axios) {
|
|
11165
|
+
const localVarFp = ItemApiFp(configuration);
|
|
11166
|
+
return {
|
|
11167
|
+
/**
|
|
11168
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
11169
|
+
* @summary Find one
|
|
11170
|
+
* @param {string} id
|
|
11171
|
+
* @param {*} [options] Override http request option.
|
|
11172
|
+
* @throws {RequiredError}
|
|
11173
|
+
*/
|
|
11174
|
+
itemControllerFindOne(id, options) {
|
|
11175
|
+
return localVarFp.itemControllerFindOne(id, options).then((request) => request(axios, basePath));
|
|
11176
|
+
},
|
|
11177
|
+
/**
|
|
11178
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
11179
|
+
* @summary Search
|
|
11180
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
11181
|
+
* @param {*} [options] Override http request option.
|
|
11182
|
+
* @throws {RequiredError}
|
|
11183
|
+
*/
|
|
11184
|
+
itemControllerSearch(itemSearchInputDTO, options) {
|
|
11185
|
+
return localVarFp.itemControllerSearch(itemSearchInputDTO, options).then((request) => request(axios, basePath));
|
|
11186
|
+
},
|
|
11187
|
+
};
|
|
11188
|
+
};
|
|
11189
|
+
/**
|
|
11190
|
+
* ItemApi - object-oriented interface
|
|
11191
|
+
* @export
|
|
11192
|
+
* @class ItemApi
|
|
11193
|
+
* @extends {BaseAPI}
|
|
11194
|
+
*/
|
|
11195
|
+
export class ItemApi extends BaseAPI {
|
|
11196
|
+
/**
|
|
11197
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
11198
|
+
* @summary Find one
|
|
11199
|
+
* @param {string} id
|
|
11200
|
+
* @param {*} [options] Override http request option.
|
|
11201
|
+
* @throws {RequiredError}
|
|
11202
|
+
* @memberof ItemApi
|
|
11203
|
+
*/
|
|
11204
|
+
itemControllerFindOne(id, options) {
|
|
11205
|
+
return ItemApiFp(this.configuration)
|
|
11206
|
+
.itemControllerFindOne(id, options)
|
|
11207
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11208
|
+
}
|
|
11209
|
+
/**
|
|
11210
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
11211
|
+
* @summary Search
|
|
11212
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
11213
|
+
* @param {*} [options] Override http request option.
|
|
11214
|
+
* @throws {RequiredError}
|
|
11215
|
+
* @memberof ItemApi
|
|
11216
|
+
*/
|
|
11217
|
+
itemControllerSearch(itemSearchInputDTO, options) {
|
|
11218
|
+
return ItemApiFp(this.configuration)
|
|
11219
|
+
.itemControllerSearch(itemSearchInputDTO, options)
|
|
11220
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11221
|
+
}
|
|
11222
|
+
}
|
|
11223
|
+
/**
|
|
11224
|
+
* MetaApi - axios parameter creator
|
|
11225
|
+
* @export
|
|
11226
|
+
*/
|
|
11227
|
+
export const MetaApiAxiosParamCreator = function (configuration) {
|
|
11228
|
+
return {
|
|
11229
|
+
/**
|
|
11230
|
+
* <br> OperationId: `MetaGetHealth`
|
|
11231
|
+
* @summary Get health
|
|
10756
11232
|
* @param {*} [options] Override http request option.
|
|
10757
11233
|
* @throws {RequiredError}
|
|
10758
11234
|
*/
|
|
@@ -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
|
|
@@ -16804,6 +17405,240 @@ export class ShopOrderApi extends BaseAPI {
|
|
|
16804
17405
|
.then((request) => request(this.axios, this.basePath));
|
|
16805
17406
|
}
|
|
16806
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
|
+
}
|
|
16807
17642
|
/**
|
|
16808
17643
|
* TrackingApi - axios parameter creator
|
|
16809
17644
|
* @export
|
|
@@ -17218,6 +18053,32 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
17218
18053
|
options: localVarRequestOptions,
|
|
17219
18054
|
};
|
|
17220
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
|
+
},
|
|
17221
18082
|
/**
|
|
17222
18083
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17223
18084
|
* @summary Create
|
|
@@ -17307,6 +18168,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
17307
18168
|
* @summary Invite
|
|
17308
18169
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17309
18170
|
* @param {*} [options] Override http request option.
|
|
18171
|
+
* @deprecated
|
|
17310
18172
|
* @throws {RequiredError}
|
|
17311
18173
|
*/
|
|
17312
18174
|
userControllerInvite: async (inviteCreateDTO, options = {}) => {
|
|
@@ -17618,6 +18480,18 @@ export const UserApiFp = function (configuration) {
|
|
|
17618
18480
|
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
17619
18481
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17620
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
|
+
},
|
|
17621
18495
|
/**
|
|
17622
18496
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17623
18497
|
* @summary Create
|
|
@@ -17661,6 +18535,7 @@ export const UserApiFp = function (configuration) {
|
|
|
17661
18535
|
* @summary Invite
|
|
17662
18536
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17663
18537
|
* @param {*} [options] Override http request option.
|
|
18538
|
+
* @deprecated
|
|
17664
18539
|
* @throws {RequiredError}
|
|
17665
18540
|
*/
|
|
17666
18541
|
async userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -17809,6 +18684,15 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
17809
18684
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
17810
18685
|
.then((request) => request(axios, basePath));
|
|
17811
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
|
+
},
|
|
17812
18696
|
/**
|
|
17813
18697
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17814
18698
|
* @summary Create
|
|
@@ -17843,6 +18727,7 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
17843
18727
|
* @summary Invite
|
|
17844
18728
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17845
18729
|
* @param {*} [options] Override http request option.
|
|
18730
|
+
* @deprecated
|
|
17846
18731
|
* @throws {RequiredError}
|
|
17847
18732
|
*/
|
|
17848
18733
|
userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -17964,6 +18849,18 @@ export class UserApi extends BaseAPI {
|
|
|
17964
18849
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
17965
18850
|
.then((request) => request(this.axios, this.basePath));
|
|
17966
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
|
+
}
|
|
17967
18864
|
/**
|
|
17968
18865
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17969
18866
|
* @summary Create
|
|
@@ -18007,6 +18904,7 @@ export class UserApi extends BaseAPI {
|
|
|
18007
18904
|
* @summary Invite
|
|
18008
18905
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
18009
18906
|
* @param {*} [options] Override http request option.
|
|
18907
|
+
* @deprecated
|
|
18010
18908
|
* @throws {RequiredError}
|
|
18011
18909
|
* @memberof UserApi
|
|
18012
18910
|
*/
|
|
@@ -18139,6 +19037,35 @@ export class UserApi extends BaseAPI {
|
|
|
18139
19037
|
*/
|
|
18140
19038
|
export const VariableApiAxiosParamCreator = function (configuration) {
|
|
18141
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
|
+
},
|
|
18142
19069
|
/**
|
|
18143
19070
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18144
19071
|
* @summary Create
|
|
@@ -18296,6 +19223,19 @@ export const VariableApiAxiosParamCreator = function (configuration) {
|
|
|
18296
19223
|
export const VariableApiFp = function (configuration) {
|
|
18297
19224
|
const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
|
|
18298
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
|
+
},
|
|
18299
19239
|
/**
|
|
18300
19240
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18301
19241
|
* @summary Create
|
|
@@ -18371,6 +19311,18 @@ export const VariableApiFp = function (configuration) {
|
|
|
18371
19311
|
export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
18372
19312
|
const localVarFp = VariableApiFp(configuration);
|
|
18373
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
|
+
},
|
|
18374
19326
|
/**
|
|
18375
19327
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18376
19328
|
* @summary Create
|
|
@@ -18437,6 +19389,19 @@ export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
|
18437
19389
|
* @extends {BaseAPI}
|
|
18438
19390
|
*/
|
|
18439
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
|
+
}
|
|
18440
19405
|
/**
|
|
18441
19406
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18442
19407
|
* @summary Create
|