@takaro/apiclient 0.0.0-dev.db86b98 → 0.0.0-dev.db9320f
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 +1506 -161
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +896 -74
- 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 +27938 -0
- package/package.json +2 -2
- package/src/generated/api.ts +2536 -522
- 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
|
};
|
|
@@ -1413,7 +1445,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1413
1445
|
};
|
|
1414
1446
|
},
|
|
1415
1447
|
/**
|
|
1416
|
-
* Normalized 0-1 scores across
|
|
1448
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
1417
1449
|
* @summary Get module health scores
|
|
1418
1450
|
* @param {string} [startDate]
|
|
1419
1451
|
* @param {string} [endDate]
|
|
@@ -2304,7 +2336,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2304
2336
|
},
|
|
2305
2337
|
/**
|
|
2306
2338
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2307
|
-
* @summary Get top modules by
|
|
2339
|
+
* @summary Get top modules by execution volume
|
|
2308
2340
|
* @param {string} [startDate]
|
|
2309
2341
|
* @param {string} [endDate]
|
|
2310
2342
|
* @param {string} [gameServerId]
|
|
@@ -2589,7 +2621,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2589
2621
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2590
2622
|
},
|
|
2591
2623
|
/**
|
|
2592
|
-
* Normalized 0-1 scores across
|
|
2624
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
2593
2625
|
* @summary Get module health scores
|
|
2594
2626
|
* @param {string} [startDate]
|
|
2595
2627
|
* @param {string} [endDate]
|
|
@@ -2934,7 +2966,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2934
2966
|
},
|
|
2935
2967
|
/**
|
|
2936
2968
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2937
|
-
* @summary Get top modules by
|
|
2969
|
+
* @summary Get top modules by execution volume
|
|
2938
2970
|
* @param {string} [startDate]
|
|
2939
2971
|
* @param {string} [endDate]
|
|
2940
2972
|
* @param {string} [gameServerId]
|
|
@@ -3150,7 +3182,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3150
3182
|
.then((request) => request(axios, basePath));
|
|
3151
3183
|
},
|
|
3152
3184
|
/**
|
|
3153
|
-
* Normalized 0-1 scores across
|
|
3185
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
3154
3186
|
* @summary Get module health scores
|
|
3155
3187
|
* @param {string} [startDate]
|
|
3156
3188
|
* @param {string} [endDate]
|
|
@@ -3467,7 +3499,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3467
3499
|
},
|
|
3468
3500
|
/**
|
|
3469
3501
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
3470
|
-
* @summary Get top modules by
|
|
3502
|
+
* @summary Get top modules by execution volume
|
|
3471
3503
|
* @param {string} [startDate]
|
|
3472
3504
|
* @param {string} [endDate]
|
|
3473
3505
|
* @param {string} [gameServerId]
|
|
@@ -3694,7 +3726,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3694
3726
|
.then((request) => request(this.axios, this.basePath));
|
|
3695
3727
|
}
|
|
3696
3728
|
/**
|
|
3697
|
-
* Normalized 0-1 scores across
|
|
3729
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
3698
3730
|
* @summary Get module health scores
|
|
3699
3731
|
* @param {string} [startDate]
|
|
3700
3732
|
* @param {string} [endDate]
|
|
@@ -4032,7 +4064,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
4032
4064
|
}
|
|
4033
4065
|
/**
|
|
4034
4066
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
4035
|
-
* @summary Get top modules by
|
|
4067
|
+
* @summary Get top modules by execution volume
|
|
4036
4068
|
* @param {string} [startDate]
|
|
4037
4069
|
* @param {string} [endDate]
|
|
4038
4070
|
* @param {string} [gameServerId]
|
|
@@ -6516,6 +6548,39 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
6516
6548
|
options: localVarRequestOptions,
|
|
6517
6549
|
};
|
|
6518
6550
|
},
|
|
6551
|
+
/**
|
|
6552
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6553
|
+
* @summary Create staff-recovery invite link for a domain
|
|
6554
|
+
* @param {string} id
|
|
6555
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6556
|
+
* @param {*} [options] Override http request option.
|
|
6557
|
+
* @throws {RequiredError}
|
|
6558
|
+
*/
|
|
6559
|
+
domainControllerCreateInviteLink: async (id, inviteLinkCreateInputDTO, options = {}) => {
|
|
6560
|
+
// verify required parameter 'id' is not null or undefined
|
|
6561
|
+
assertParamExists('domainControllerCreateInviteLink', 'id', id);
|
|
6562
|
+
const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
6563
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6564
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6565
|
+
let baseOptions;
|
|
6566
|
+
if (configuration) {
|
|
6567
|
+
baseOptions = configuration.baseOptions;
|
|
6568
|
+
}
|
|
6569
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
6570
|
+
const localVarHeaderParameter = {};
|
|
6571
|
+
const localVarQueryParameter = {};
|
|
6572
|
+
// authentication adminAuth required
|
|
6573
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
6574
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6575
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6576
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6577
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6578
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
|
|
6579
|
+
return {
|
|
6580
|
+
url: toPathString(localVarUrlObj),
|
|
6581
|
+
options: localVarRequestOptions,
|
|
6582
|
+
};
|
|
6583
|
+
},
|
|
6519
6584
|
/**
|
|
6520
6585
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6521
6586
|
* @summary Get one
|
|
@@ -6727,6 +6792,20 @@ export const DomainApiFp = function (configuration) {
|
|
|
6727
6792
|
const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
6728
6793
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6729
6794
|
},
|
|
6795
|
+
/**
|
|
6796
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6797
|
+
* @summary Create staff-recovery invite link for a domain
|
|
6798
|
+
* @param {string} id
|
|
6799
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6800
|
+
* @param {*} [options] Override http request option.
|
|
6801
|
+
* @throws {RequiredError}
|
|
6802
|
+
*/
|
|
6803
|
+
async domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
|
|
6804
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options);
|
|
6805
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6806
|
+
const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
|
|
6807
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6808
|
+
},
|
|
6730
6809
|
/**
|
|
6731
6810
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6732
6811
|
* @summary Get one
|
|
@@ -6828,6 +6907,19 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
|
|
|
6828
6907
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
6829
6908
|
.then((request) => request(axios, basePath));
|
|
6830
6909
|
},
|
|
6910
|
+
/**
|
|
6911
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6912
|
+
* @summary Create staff-recovery invite link for a domain
|
|
6913
|
+
* @param {string} id
|
|
6914
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6915
|
+
* @param {*} [options] Override http request option.
|
|
6916
|
+
* @throws {RequiredError}
|
|
6917
|
+
*/
|
|
6918
|
+
domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
|
|
6919
|
+
return localVarFp
|
|
6920
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
6921
|
+
.then((request) => request(axios, basePath));
|
|
6922
|
+
},
|
|
6831
6923
|
/**
|
|
6832
6924
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6833
6925
|
* @summary Get one
|
|
@@ -6918,6 +7010,20 @@ export class DomainApi extends BaseAPI {
|
|
|
6918
7010
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
6919
7011
|
.then((request) => request(this.axios, this.basePath));
|
|
6920
7012
|
}
|
|
7013
|
+
/**
|
|
7014
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
7015
|
+
* @summary Create staff-recovery invite link for a domain
|
|
7016
|
+
* @param {string} id
|
|
7017
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
7018
|
+
* @param {*} [options] Override http request option.
|
|
7019
|
+
* @throws {RequiredError}
|
|
7020
|
+
* @memberof DomainApi
|
|
7021
|
+
*/
|
|
7022
|
+
domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
|
|
7023
|
+
return DomainApiFp(this.configuration)
|
|
7024
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
7025
|
+
.then((request) => request(this.axios, this.basePath));
|
|
7026
|
+
}
|
|
6921
7027
|
/**
|
|
6922
7028
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6923
7029
|
* @summary Get one
|
|
@@ -7669,13 +7775,11 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration) {
|
|
|
7669
7775
|
/**
|
|
7670
7776
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7671
7777
|
* @summary Auth discord
|
|
7672
|
-
* @param {string} redirect
|
|
7778
|
+
* @param {string} [redirect]
|
|
7673
7779
|
* @param {*} [options] Override http request option.
|
|
7674
7780
|
* @throws {RequiredError}
|
|
7675
7781
|
*/
|
|
7676
7782
|
externalAuthControllerAuthDiscord: async (redirect, options = {}) => {
|
|
7677
|
-
// verify required parameter 'redirect' is not null or undefined
|
|
7678
|
-
assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
|
|
7679
7783
|
const localVarPath = `/auth/discord`;
|
|
7680
7784
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7681
7785
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7734,7 +7838,7 @@ export const ExternalAuthApiFp = function (configuration) {
|
|
|
7734
7838
|
/**
|
|
7735
7839
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7736
7840
|
* @summary Auth discord
|
|
7737
|
-
* @param {string} redirect
|
|
7841
|
+
* @param {string} [redirect]
|
|
7738
7842
|
* @param {*} [options] Override http request option.
|
|
7739
7843
|
* @throws {RequiredError}
|
|
7740
7844
|
*/
|
|
@@ -7769,7 +7873,7 @@ export const ExternalAuthApiFactory = function (configuration, basePath, axios)
|
|
|
7769
7873
|
/**
|
|
7770
7874
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7771
7875
|
* @summary Auth discord
|
|
7772
|
-
* @param {string} redirect
|
|
7876
|
+
* @param {string} [redirect]
|
|
7773
7877
|
* @param {*} [options] Override http request option.
|
|
7774
7878
|
* @throws {RequiredError}
|
|
7775
7879
|
*/
|
|
@@ -7799,7 +7903,7 @@ export class ExternalAuthApi extends BaseAPI {
|
|
|
7799
7903
|
/**
|
|
7800
7904
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7801
7905
|
* @summary Auth discord
|
|
7802
|
-
* @param {string} redirect
|
|
7906
|
+
* @param {string} [redirect]
|
|
7803
7907
|
* @param {*} [options] Override http request option.
|
|
7804
7908
|
* @throws {RequiredError}
|
|
7805
7909
|
* @memberof ExternalAuthApi
|
|
@@ -10581,29 +10685,116 @@ export class HookApi extends BaseAPI {
|
|
|
10581
10685
|
}
|
|
10582
10686
|
}
|
|
10583
10687
|
/**
|
|
10584
|
-
*
|
|
10688
|
+
* InviteLinkApi - axios parameter creator
|
|
10585
10689
|
* @export
|
|
10586
10690
|
*/
|
|
10587
|
-
export const
|
|
10691
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration) {
|
|
10588
10692
|
return {
|
|
10589
10693
|
/**
|
|
10590
|
-
*
|
|
10591
|
-
* @summary
|
|
10694
|
+
* 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`
|
|
10695
|
+
* @summary Create invite link
|
|
10696
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
10697
|
+
* @param {*} [options] Override http request option.
|
|
10698
|
+
* @throws {RequiredError}
|
|
10699
|
+
*/
|
|
10700
|
+
inviteLinkControllerCreate: async (inviteLinkCreateInputDTO, options = {}) => {
|
|
10701
|
+
const localVarPath = `/invite-link`;
|
|
10702
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10703
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10704
|
+
let baseOptions;
|
|
10705
|
+
if (configuration) {
|
|
10706
|
+
baseOptions = configuration.baseOptions;
|
|
10707
|
+
}
|
|
10708
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10709
|
+
const localVarHeaderParameter = {};
|
|
10710
|
+
const localVarQueryParameter = {};
|
|
10711
|
+
// authentication domainAuth required
|
|
10712
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10713
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10714
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10715
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10716
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
|
|
10717
|
+
return {
|
|
10718
|
+
url: toPathString(localVarUrlObj),
|
|
10719
|
+
options: localVarRequestOptions,
|
|
10720
|
+
};
|
|
10721
|
+
},
|
|
10722
|
+
/**
|
|
10723
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10724
|
+
* @summary Preview
|
|
10725
|
+
* @param {string} token
|
|
10726
|
+
* @param {*} [options] Override http request option.
|
|
10727
|
+
* @throws {RequiredError}
|
|
10728
|
+
*/
|
|
10729
|
+
inviteLinkControllerPreview: async (token, options = {}) => {
|
|
10730
|
+
// verify required parameter 'token' is not null or undefined
|
|
10731
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
10732
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
10733
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10734
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10735
|
+
let baseOptions;
|
|
10736
|
+
if (configuration) {
|
|
10737
|
+
baseOptions = configuration.baseOptions;
|
|
10738
|
+
}
|
|
10739
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10740
|
+
const localVarHeaderParameter = {};
|
|
10741
|
+
const localVarQueryParameter = {};
|
|
10742
|
+
// authentication domainAuth required
|
|
10743
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10744
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10745
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10746
|
+
return {
|
|
10747
|
+
url: toPathString(localVarUrlObj),
|
|
10748
|
+
options: localVarRequestOptions,
|
|
10749
|
+
};
|
|
10750
|
+
},
|
|
10751
|
+
/**
|
|
10752
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10753
|
+
* @summary Redeem
|
|
10754
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
10755
|
+
* @param {*} [options] Override http request option.
|
|
10756
|
+
* @throws {RequiredError}
|
|
10757
|
+
*/
|
|
10758
|
+
inviteLinkControllerRedeem: async (redeemInputDTO, options = {}) => {
|
|
10759
|
+
const localVarPath = `/invite-link/redeem`;
|
|
10760
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10761
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10762
|
+
let baseOptions;
|
|
10763
|
+
if (configuration) {
|
|
10764
|
+
baseOptions = configuration.baseOptions;
|
|
10765
|
+
}
|
|
10766
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10767
|
+
const localVarHeaderParameter = {};
|
|
10768
|
+
const localVarQueryParameter = {};
|
|
10769
|
+
// authentication domainAuth required
|
|
10770
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10771
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10772
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10773
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10774
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
10775
|
+
return {
|
|
10776
|
+
url: toPathString(localVarUrlObj),
|
|
10777
|
+
options: localVarRequestOptions,
|
|
10778
|
+
};
|
|
10779
|
+
},
|
|
10780
|
+
/**
|
|
10781
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10782
|
+
* @summary Revoke
|
|
10592
10783
|
* @param {string} id
|
|
10593
10784
|
* @param {*} [options] Override http request option.
|
|
10594
10785
|
* @throws {RequiredError}
|
|
10595
10786
|
*/
|
|
10596
|
-
|
|
10787
|
+
inviteLinkControllerRevoke: async (id, options = {}) => {
|
|
10597
10788
|
// verify required parameter 'id' is not null or undefined
|
|
10598
|
-
assertParamExists('
|
|
10599
|
-
const localVarPath = `/
|
|
10789
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
10790
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10600
10791
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10601
10792
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10602
10793
|
let baseOptions;
|
|
10603
10794
|
if (configuration) {
|
|
10604
10795
|
baseOptions = configuration.baseOptions;
|
|
10605
10796
|
}
|
|
10606
|
-
const localVarRequestOptions = { method: '
|
|
10797
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
10607
10798
|
const localVarHeaderParameter = {};
|
|
10608
10799
|
const localVarQueryParameter = {};
|
|
10609
10800
|
// authentication domainAuth required
|
|
@@ -10616,14 +10807,14 @@ export const ItemApiAxiosParamCreator = function (configuration) {
|
|
|
10616
10807
|
};
|
|
10617
10808
|
},
|
|
10618
10809
|
/**
|
|
10619
|
-
*
|
|
10810
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10620
10811
|
* @summary Search
|
|
10621
|
-
* @param {
|
|
10812
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10622
10813
|
* @param {*} [options] Override http request option.
|
|
10623
10814
|
* @throws {RequiredError}
|
|
10624
10815
|
*/
|
|
10625
|
-
|
|
10626
|
-
const localVarPath = `/
|
|
10816
|
+
inviteLinkControllerSearch: async (inviteLinkSearchInputDTO, options = {}) => {
|
|
10817
|
+
const localVarPath = `/invite-link/search`;
|
|
10627
10818
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10628
10819
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10629
10820
|
let baseOptions;
|
|
@@ -10638,7 +10829,7 @@ export const ItemApiAxiosParamCreator = function (configuration) {
|
|
|
10638
10829
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10639
10830
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10640
10831
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10641
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
10832
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkSearchInputDTO, localVarRequestOptions, configuration);
|
|
10642
10833
|
return {
|
|
10643
10834
|
url: toPathString(localVarUrlObj),
|
|
10644
10835
|
options: localVarRequestOptions,
|
|
@@ -10647,119 +10838,420 @@ export const ItemApiAxiosParamCreator = function (configuration) {
|
|
|
10647
10838
|
};
|
|
10648
10839
|
};
|
|
10649
10840
|
/**
|
|
10650
|
-
*
|
|
10841
|
+
* InviteLinkApi - functional programming interface
|
|
10651
10842
|
* @export
|
|
10652
10843
|
*/
|
|
10653
|
-
export const
|
|
10654
|
-
const localVarAxiosParamCreator =
|
|
10844
|
+
export const InviteLinkApiFp = function (configuration) {
|
|
10845
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
10655
10846
|
return {
|
|
10656
10847
|
/**
|
|
10657
|
-
*
|
|
10658
|
-
* @summary
|
|
10848
|
+
* 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`
|
|
10849
|
+
* @summary Create invite link
|
|
10850
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
10851
|
+
* @param {*} [options] Override http request option.
|
|
10852
|
+
* @throws {RequiredError}
|
|
10853
|
+
*/
|
|
10854
|
+
async inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
10855
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options);
|
|
10856
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10857
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
10858
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10859
|
+
},
|
|
10860
|
+
/**
|
|
10861
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10862
|
+
* @summary Preview
|
|
10863
|
+
* @param {string} token
|
|
10864
|
+
* @param {*} [options] Override http request option.
|
|
10865
|
+
* @throws {RequiredError}
|
|
10866
|
+
*/
|
|
10867
|
+
async inviteLinkControllerPreview(token, options) {
|
|
10868
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
10869
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10870
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
10871
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10872
|
+
},
|
|
10873
|
+
/**
|
|
10874
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10875
|
+
* @summary Redeem
|
|
10876
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
10877
|
+
* @param {*} [options] Override http request option.
|
|
10878
|
+
* @throws {RequiredError}
|
|
10879
|
+
*/
|
|
10880
|
+
async inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
10881
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
10882
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10883
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
10884
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10885
|
+
},
|
|
10886
|
+
/**
|
|
10887
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10888
|
+
* @summary Revoke
|
|
10659
10889
|
* @param {string} id
|
|
10660
10890
|
* @param {*} [options] Override http request option.
|
|
10661
10891
|
* @throws {RequiredError}
|
|
10662
10892
|
*/
|
|
10663
|
-
async
|
|
10664
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10893
|
+
async inviteLinkControllerRevoke(id, options) {
|
|
10894
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
10665
10895
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10666
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10896
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
10667
10897
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10668
10898
|
},
|
|
10669
10899
|
/**
|
|
10670
|
-
*
|
|
10900
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10671
10901
|
* @summary Search
|
|
10672
|
-
* @param {
|
|
10902
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10673
10903
|
* @param {*} [options] Override http request option.
|
|
10674
10904
|
* @throws {RequiredError}
|
|
10675
10905
|
*/
|
|
10676
|
-
async
|
|
10677
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10906
|
+
async inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
10907
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options);
|
|
10678
10908
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10679
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10909
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
10680
10910
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10681
10911
|
},
|
|
10682
10912
|
};
|
|
10683
10913
|
};
|
|
10684
10914
|
/**
|
|
10685
|
-
*
|
|
10915
|
+
* InviteLinkApi - factory interface
|
|
10686
10916
|
* @export
|
|
10687
10917
|
*/
|
|
10688
|
-
export const
|
|
10689
|
-
const localVarFp =
|
|
10918
|
+
export const InviteLinkApiFactory = function (configuration, basePath, axios) {
|
|
10919
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
10690
10920
|
return {
|
|
10691
10921
|
/**
|
|
10692
|
-
*
|
|
10693
|
-
* @summary
|
|
10922
|
+
* 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`
|
|
10923
|
+
* @summary Create invite link
|
|
10924
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
10925
|
+
* @param {*} [options] Override http request option.
|
|
10926
|
+
* @throws {RequiredError}
|
|
10927
|
+
*/
|
|
10928
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
10929
|
+
return localVarFp
|
|
10930
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
10931
|
+
.then((request) => request(axios, basePath));
|
|
10932
|
+
},
|
|
10933
|
+
/**
|
|
10934
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10935
|
+
* @summary Preview
|
|
10936
|
+
* @param {string} token
|
|
10937
|
+
* @param {*} [options] Override http request option.
|
|
10938
|
+
* @throws {RequiredError}
|
|
10939
|
+
*/
|
|
10940
|
+
inviteLinkControllerPreview(token, options) {
|
|
10941
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
10942
|
+
},
|
|
10943
|
+
/**
|
|
10944
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10945
|
+
* @summary Redeem
|
|
10946
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
10947
|
+
* @param {*} [options] Override http request option.
|
|
10948
|
+
* @throws {RequiredError}
|
|
10949
|
+
*/
|
|
10950
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
10951
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
10952
|
+
},
|
|
10953
|
+
/**
|
|
10954
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10955
|
+
* @summary Revoke
|
|
10694
10956
|
* @param {string} id
|
|
10695
10957
|
* @param {*} [options] Override http request option.
|
|
10696
10958
|
* @throws {RequiredError}
|
|
10697
10959
|
*/
|
|
10698
|
-
|
|
10699
|
-
return localVarFp.
|
|
10960
|
+
inviteLinkControllerRevoke(id, options) {
|
|
10961
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
10700
10962
|
},
|
|
10701
10963
|
/**
|
|
10702
|
-
*
|
|
10964
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10703
10965
|
* @summary Search
|
|
10704
|
-
* @param {
|
|
10966
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10705
10967
|
* @param {*} [options] Override http request option.
|
|
10706
10968
|
* @throws {RequiredError}
|
|
10707
10969
|
*/
|
|
10708
|
-
|
|
10709
|
-
return localVarFp
|
|
10970
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
10971
|
+
return localVarFp
|
|
10972
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
10973
|
+
.then((request) => request(axios, basePath));
|
|
10710
10974
|
},
|
|
10711
10975
|
};
|
|
10712
10976
|
};
|
|
10713
10977
|
/**
|
|
10714
|
-
*
|
|
10978
|
+
* InviteLinkApi - object-oriented interface
|
|
10715
10979
|
* @export
|
|
10716
|
-
* @class
|
|
10980
|
+
* @class InviteLinkApi
|
|
10717
10981
|
* @extends {BaseAPI}
|
|
10718
10982
|
*/
|
|
10719
|
-
export class
|
|
10983
|
+
export class InviteLinkApi extends BaseAPI {
|
|
10720
10984
|
/**
|
|
10721
|
-
*
|
|
10722
|
-
* @summary
|
|
10985
|
+
* 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`
|
|
10986
|
+
* @summary Create invite link
|
|
10987
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
10988
|
+
* @param {*} [options] Override http request option.
|
|
10989
|
+
* @throws {RequiredError}
|
|
10990
|
+
* @memberof InviteLinkApi
|
|
10991
|
+
*/
|
|
10992
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
10993
|
+
return InviteLinkApiFp(this.configuration)
|
|
10994
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
10995
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10996
|
+
}
|
|
10997
|
+
/**
|
|
10998
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10999
|
+
* @summary Preview
|
|
11000
|
+
* @param {string} token
|
|
11001
|
+
* @param {*} [options] Override http request option.
|
|
11002
|
+
* @throws {RequiredError}
|
|
11003
|
+
* @memberof InviteLinkApi
|
|
11004
|
+
*/
|
|
11005
|
+
inviteLinkControllerPreview(token, options) {
|
|
11006
|
+
return InviteLinkApiFp(this.configuration)
|
|
11007
|
+
.inviteLinkControllerPreview(token, options)
|
|
11008
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11009
|
+
}
|
|
11010
|
+
/**
|
|
11011
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
11012
|
+
* @summary Redeem
|
|
11013
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
11014
|
+
* @param {*} [options] Override http request option.
|
|
11015
|
+
* @throws {RequiredError}
|
|
11016
|
+
* @memberof InviteLinkApi
|
|
11017
|
+
*/
|
|
11018
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
11019
|
+
return InviteLinkApiFp(this.configuration)
|
|
11020
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
11021
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11022
|
+
}
|
|
11023
|
+
/**
|
|
11024
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
11025
|
+
* @summary Revoke
|
|
10723
11026
|
* @param {string} id
|
|
10724
11027
|
* @param {*} [options] Override http request option.
|
|
10725
11028
|
* @throws {RequiredError}
|
|
10726
|
-
* @memberof
|
|
11029
|
+
* @memberof InviteLinkApi
|
|
10727
11030
|
*/
|
|
10728
|
-
|
|
10729
|
-
return
|
|
10730
|
-
.
|
|
11031
|
+
inviteLinkControllerRevoke(id, options) {
|
|
11032
|
+
return InviteLinkApiFp(this.configuration)
|
|
11033
|
+
.inviteLinkControllerRevoke(id, options)
|
|
10731
11034
|
.then((request) => request(this.axios, this.basePath));
|
|
10732
11035
|
}
|
|
10733
11036
|
/**
|
|
10734
|
-
*
|
|
11037
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10735
11038
|
* @summary Search
|
|
10736
|
-
* @param {
|
|
11039
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10737
11040
|
* @param {*} [options] Override http request option.
|
|
10738
11041
|
* @throws {RequiredError}
|
|
10739
|
-
* @memberof
|
|
11042
|
+
* @memberof InviteLinkApi
|
|
10740
11043
|
*/
|
|
10741
|
-
|
|
10742
|
-
return
|
|
10743
|
-
.
|
|
11044
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
11045
|
+
return InviteLinkApiFp(this.configuration)
|
|
11046
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
10744
11047
|
.then((request) => request(this.axios, this.basePath));
|
|
10745
11048
|
}
|
|
10746
11049
|
}
|
|
10747
11050
|
/**
|
|
10748
|
-
*
|
|
11051
|
+
* ItemApi - axios parameter creator
|
|
10749
11052
|
* @export
|
|
10750
11053
|
*/
|
|
10751
|
-
export const
|
|
11054
|
+
export const ItemApiAxiosParamCreator = function (configuration) {
|
|
10752
11055
|
return {
|
|
10753
11056
|
/**
|
|
10754
|
-
*
|
|
10755
|
-
* @summary
|
|
11057
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
11058
|
+
* @summary Find one
|
|
11059
|
+
* @param {string} id
|
|
10756
11060
|
* @param {*} [options] Override http request option.
|
|
10757
11061
|
* @throws {RequiredError}
|
|
10758
11062
|
*/
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
const
|
|
11063
|
+
itemControllerFindOne: async (id, options = {}) => {
|
|
11064
|
+
// verify required parameter 'id' is not null or undefined
|
|
11065
|
+
assertParamExists('itemControllerFindOne', 'id', id);
|
|
11066
|
+
const localVarPath = `/items/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
11067
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11068
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11069
|
+
let baseOptions;
|
|
11070
|
+
if (configuration) {
|
|
11071
|
+
baseOptions = configuration.baseOptions;
|
|
11072
|
+
}
|
|
11073
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11074
|
+
const localVarHeaderParameter = {};
|
|
11075
|
+
const localVarQueryParameter = {};
|
|
11076
|
+
// authentication domainAuth required
|
|
11077
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11078
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11079
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11080
|
+
return {
|
|
11081
|
+
url: toPathString(localVarUrlObj),
|
|
11082
|
+
options: localVarRequestOptions,
|
|
11083
|
+
};
|
|
11084
|
+
},
|
|
11085
|
+
/**
|
|
11086
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
11087
|
+
* @summary Search
|
|
11088
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
11089
|
+
* @param {*} [options] Override http request option.
|
|
11090
|
+
* @throws {RequiredError}
|
|
11091
|
+
*/
|
|
11092
|
+
itemControllerSearch: async (itemSearchInputDTO, options = {}) => {
|
|
11093
|
+
const localVarPath = `/items/search`;
|
|
11094
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11095
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11096
|
+
let baseOptions;
|
|
11097
|
+
if (configuration) {
|
|
11098
|
+
baseOptions = configuration.baseOptions;
|
|
11099
|
+
}
|
|
11100
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
11101
|
+
const localVarHeaderParameter = {};
|
|
11102
|
+
const localVarQueryParameter = {};
|
|
11103
|
+
// authentication domainAuth required
|
|
11104
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11105
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11106
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11107
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11108
|
+
localVarRequestOptions.data = serializeDataIfNeeded(itemSearchInputDTO, localVarRequestOptions, configuration);
|
|
11109
|
+
return {
|
|
11110
|
+
url: toPathString(localVarUrlObj),
|
|
11111
|
+
options: localVarRequestOptions,
|
|
11112
|
+
};
|
|
11113
|
+
},
|
|
11114
|
+
};
|
|
11115
|
+
};
|
|
11116
|
+
/**
|
|
11117
|
+
* ItemApi - functional programming interface
|
|
11118
|
+
* @export
|
|
11119
|
+
*/
|
|
11120
|
+
export const ItemApiFp = function (configuration) {
|
|
11121
|
+
const localVarAxiosParamCreator = ItemApiAxiosParamCreator(configuration);
|
|
11122
|
+
return {
|
|
11123
|
+
/**
|
|
11124
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
11125
|
+
* @summary Find one
|
|
11126
|
+
* @param {string} id
|
|
11127
|
+
* @param {*} [options] Override http request option.
|
|
11128
|
+
* @throws {RequiredError}
|
|
11129
|
+
*/
|
|
11130
|
+
async itemControllerFindOne(id, options) {
|
|
11131
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerFindOne(id, options);
|
|
11132
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11133
|
+
const localVarOperationServerBasePath = operationServerMap['ItemApi.itemControllerFindOne']?.[localVarOperationServerIndex]?.url;
|
|
11134
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11135
|
+
},
|
|
11136
|
+
/**
|
|
11137
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
11138
|
+
* @summary Search
|
|
11139
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
11140
|
+
* @param {*} [options] Override http request option.
|
|
11141
|
+
* @throws {RequiredError}
|
|
11142
|
+
*/
|
|
11143
|
+
async itemControllerSearch(itemSearchInputDTO, options) {
|
|
11144
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerSearch(itemSearchInputDTO, options);
|
|
11145
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11146
|
+
const localVarOperationServerBasePath = operationServerMap['ItemApi.itemControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
11147
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11148
|
+
},
|
|
11149
|
+
};
|
|
11150
|
+
};
|
|
11151
|
+
/**
|
|
11152
|
+
* ItemApi - factory interface
|
|
11153
|
+
* @export
|
|
11154
|
+
*/
|
|
11155
|
+
export const ItemApiFactory = function (configuration, basePath, axios) {
|
|
11156
|
+
const localVarFp = ItemApiFp(configuration);
|
|
11157
|
+
return {
|
|
11158
|
+
/**
|
|
11159
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
11160
|
+
* @summary Find one
|
|
11161
|
+
* @param {string} id
|
|
11162
|
+
* @param {*} [options] Override http request option.
|
|
11163
|
+
* @throws {RequiredError}
|
|
11164
|
+
*/
|
|
11165
|
+
itemControllerFindOne(id, options) {
|
|
11166
|
+
return localVarFp.itemControllerFindOne(id, options).then((request) => request(axios, basePath));
|
|
11167
|
+
},
|
|
11168
|
+
/**
|
|
11169
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
11170
|
+
* @summary Search
|
|
11171
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
11172
|
+
* @param {*} [options] Override http request option.
|
|
11173
|
+
* @throws {RequiredError}
|
|
11174
|
+
*/
|
|
11175
|
+
itemControllerSearch(itemSearchInputDTO, options) {
|
|
11176
|
+
return localVarFp.itemControllerSearch(itemSearchInputDTO, options).then((request) => request(axios, basePath));
|
|
11177
|
+
},
|
|
11178
|
+
};
|
|
11179
|
+
};
|
|
11180
|
+
/**
|
|
11181
|
+
* ItemApi - object-oriented interface
|
|
11182
|
+
* @export
|
|
11183
|
+
* @class ItemApi
|
|
11184
|
+
* @extends {BaseAPI}
|
|
11185
|
+
*/
|
|
11186
|
+
export class ItemApi extends BaseAPI {
|
|
11187
|
+
/**
|
|
11188
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
11189
|
+
* @summary Find one
|
|
11190
|
+
* @param {string} id
|
|
11191
|
+
* @param {*} [options] Override http request option.
|
|
11192
|
+
* @throws {RequiredError}
|
|
11193
|
+
* @memberof ItemApi
|
|
11194
|
+
*/
|
|
11195
|
+
itemControllerFindOne(id, options) {
|
|
11196
|
+
return ItemApiFp(this.configuration)
|
|
11197
|
+
.itemControllerFindOne(id, options)
|
|
11198
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11199
|
+
}
|
|
11200
|
+
/**
|
|
11201
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
11202
|
+
* @summary Search
|
|
11203
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
11204
|
+
* @param {*} [options] Override http request option.
|
|
11205
|
+
* @throws {RequiredError}
|
|
11206
|
+
* @memberof ItemApi
|
|
11207
|
+
*/
|
|
11208
|
+
itemControllerSearch(itemSearchInputDTO, options) {
|
|
11209
|
+
return ItemApiFp(this.configuration)
|
|
11210
|
+
.itemControllerSearch(itemSearchInputDTO, options)
|
|
11211
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11212
|
+
}
|
|
11213
|
+
}
|
|
11214
|
+
/**
|
|
11215
|
+
* MetaApi - axios parameter creator
|
|
11216
|
+
* @export
|
|
11217
|
+
*/
|
|
11218
|
+
export const MetaApiAxiosParamCreator = function (configuration) {
|
|
11219
|
+
return {
|
|
11220
|
+
/**
|
|
11221
|
+
* <br> OperationId: `MetaGetHealth`
|
|
11222
|
+
* @summary Get health
|
|
11223
|
+
* @param {*} [options] Override http request option.
|
|
11224
|
+
* @throws {RequiredError}
|
|
11225
|
+
*/
|
|
11226
|
+
metaGetHealth: async (options = {}) => {
|
|
11227
|
+
const localVarPath = `/healthz`;
|
|
11228
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11229
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11230
|
+
let baseOptions;
|
|
11231
|
+
if (configuration) {
|
|
11232
|
+
baseOptions = configuration.baseOptions;
|
|
11233
|
+
}
|
|
11234
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11235
|
+
const localVarHeaderParameter = {};
|
|
11236
|
+
const localVarQueryParameter = {};
|
|
11237
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11238
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11239
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11240
|
+
return {
|
|
11241
|
+
url: toPathString(localVarUrlObj),
|
|
11242
|
+
options: localVarRequestOptions,
|
|
11243
|
+
};
|
|
11244
|
+
},
|
|
11245
|
+
/**
|
|
11246
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11247
|
+
* @summary Get liveness
|
|
11248
|
+
* @param {*} [options] Override http request option.
|
|
11249
|
+
* @throws {RequiredError}
|
|
11250
|
+
*/
|
|
11251
|
+
metaGetLiveness: async (options = {}) => {
|
|
11252
|
+
const localVarPath = `/livez`;
|
|
11253
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11254
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10763
11255
|
let baseOptions;
|
|
10764
11256
|
if (configuration) {
|
|
10765
11257
|
baseOptions = configuration.baseOptions;
|
|
@@ -10921,6 +11413,18 @@ export const MetaApiFp = function (configuration) {
|
|
|
10921
11413
|
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetHealth']?.[localVarOperationServerIndex]?.url;
|
|
10922
11414
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10923
11415
|
},
|
|
11416
|
+
/**
|
|
11417
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11418
|
+
* @summary Get liveness
|
|
11419
|
+
* @param {*} [options] Override http request option.
|
|
11420
|
+
* @throws {RequiredError}
|
|
11421
|
+
*/
|
|
11422
|
+
async metaGetLiveness(options) {
|
|
11423
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
|
|
11424
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11425
|
+
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
|
|
11426
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11427
|
+
},
|
|
10924
11428
|
/**
|
|
10925
11429
|
* <br> OperationId: `MetaGetMetrics`
|
|
10926
11430
|
* @summary Get metrics
|
|
@@ -10999,6 +11503,15 @@ export const MetaApiFactory = function (configuration, basePath, axios) {
|
|
|
10999
11503
|
metaGetHealth(options) {
|
|
11000
11504
|
return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
|
|
11001
11505
|
},
|
|
11506
|
+
/**
|
|
11507
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11508
|
+
* @summary Get liveness
|
|
11509
|
+
* @param {*} [options] Override http request option.
|
|
11510
|
+
* @throws {RequiredError}
|
|
11511
|
+
*/
|
|
11512
|
+
metaGetLiveness(options) {
|
|
11513
|
+
return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
|
|
11514
|
+
},
|
|
11002
11515
|
/**
|
|
11003
11516
|
* <br> OperationId: `MetaGetMetrics`
|
|
11004
11517
|
* @summary Get metrics
|
|
@@ -11065,6 +11578,18 @@ export class MetaApi extends BaseAPI {
|
|
|
11065
11578
|
.metaGetHealth(options)
|
|
11066
11579
|
.then((request) => request(this.axios, this.basePath));
|
|
11067
11580
|
}
|
|
11581
|
+
/**
|
|
11582
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11583
|
+
* @summary Get liveness
|
|
11584
|
+
* @param {*} [options] Override http request option.
|
|
11585
|
+
* @throws {RequiredError}
|
|
11586
|
+
* @memberof MetaApi
|
|
11587
|
+
*/
|
|
11588
|
+
metaGetLiveness(options) {
|
|
11589
|
+
return MetaApiFp(this.configuration)
|
|
11590
|
+
.metaGetLiveness(options)
|
|
11591
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11592
|
+
}
|
|
11068
11593
|
/**
|
|
11069
11594
|
* <br> OperationId: `MetaGetMetrics`
|
|
11070
11595
|
* @summary Get metrics
|
|
@@ -16804,6 +17329,240 @@ export class ShopOrderApi extends BaseAPI {
|
|
|
16804
17329
|
.then((request) => request(this.axios, this.basePath));
|
|
16805
17330
|
}
|
|
16806
17331
|
}
|
|
17332
|
+
/**
|
|
17333
|
+
* StorefrontConfigApi - axios parameter creator
|
|
17334
|
+
* @export
|
|
17335
|
+
*/
|
|
17336
|
+
export const StorefrontConfigApiAxiosParamCreator = function (configuration) {
|
|
17337
|
+
return {
|
|
17338
|
+
/**
|
|
17339
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17340
|
+
* @summary Get effective config
|
|
17341
|
+
* @param {string} gameServerId
|
|
17342
|
+
* @param {*} [options] Override http request option.
|
|
17343
|
+
* @throws {RequiredError}
|
|
17344
|
+
*/
|
|
17345
|
+
storefrontConfigControllerGetEffectiveConfig: async (gameServerId, options = {}) => {
|
|
17346
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
17347
|
+
assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
|
|
17348
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
17349
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17350
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17351
|
+
let baseOptions;
|
|
17352
|
+
if (configuration) {
|
|
17353
|
+
baseOptions = configuration.baseOptions;
|
|
17354
|
+
}
|
|
17355
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17356
|
+
const localVarHeaderParameter = {};
|
|
17357
|
+
const localVarQueryParameter = {};
|
|
17358
|
+
// authentication domainAuth required
|
|
17359
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17360
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17361
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17362
|
+
return {
|
|
17363
|
+
url: toPathString(localVarUrlObj),
|
|
17364
|
+
options: localVarRequestOptions,
|
|
17365
|
+
};
|
|
17366
|
+
},
|
|
17367
|
+
/**
|
|
17368
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17369
|
+
* @summary List templates
|
|
17370
|
+
* @param {*} [options] Override http request option.
|
|
17371
|
+
* @throws {RequiredError}
|
|
17372
|
+
*/
|
|
17373
|
+
storefrontConfigControllerListTemplates: async (options = {}) => {
|
|
17374
|
+
const localVarPath = `/storefront/templates`;
|
|
17375
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17376
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17377
|
+
let baseOptions;
|
|
17378
|
+
if (configuration) {
|
|
17379
|
+
baseOptions = configuration.baseOptions;
|
|
17380
|
+
}
|
|
17381
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17382
|
+
const localVarHeaderParameter = {};
|
|
17383
|
+
const localVarQueryParameter = {};
|
|
17384
|
+
// authentication domainAuth required
|
|
17385
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17386
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17387
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17388
|
+
return {
|
|
17389
|
+
url: toPathString(localVarUrlObj),
|
|
17390
|
+
options: localVarRequestOptions,
|
|
17391
|
+
};
|
|
17392
|
+
},
|
|
17393
|
+
/**
|
|
17394
|
+
* 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`
|
|
17395
|
+
* @summary Set config
|
|
17396
|
+
* @param {string} gameServerId
|
|
17397
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17398
|
+
* @param {*} [options] Override http request option.
|
|
17399
|
+
* @throws {RequiredError}
|
|
17400
|
+
*/
|
|
17401
|
+
storefrontConfigControllerSetConfig: async (gameServerId, storefrontConfigUpsertBody, options = {}) => {
|
|
17402
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
17403
|
+
assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
|
|
17404
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
17405
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17406
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17407
|
+
let baseOptions;
|
|
17408
|
+
if (configuration) {
|
|
17409
|
+
baseOptions = configuration.baseOptions;
|
|
17410
|
+
}
|
|
17411
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
17412
|
+
const localVarHeaderParameter = {};
|
|
17413
|
+
const localVarQueryParameter = {};
|
|
17414
|
+
// authentication domainAuth required
|
|
17415
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17416
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17417
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17418
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17419
|
+
localVarRequestOptions.data = serializeDataIfNeeded(storefrontConfigUpsertBody, localVarRequestOptions, configuration);
|
|
17420
|
+
return {
|
|
17421
|
+
url: toPathString(localVarUrlObj),
|
|
17422
|
+
options: localVarRequestOptions,
|
|
17423
|
+
};
|
|
17424
|
+
},
|
|
17425
|
+
};
|
|
17426
|
+
};
|
|
17427
|
+
/**
|
|
17428
|
+
* StorefrontConfigApi - functional programming interface
|
|
17429
|
+
* @export
|
|
17430
|
+
*/
|
|
17431
|
+
export const StorefrontConfigApiFp = function (configuration) {
|
|
17432
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
17433
|
+
return {
|
|
17434
|
+
/**
|
|
17435
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17436
|
+
* @summary Get effective config
|
|
17437
|
+
* @param {string} gameServerId
|
|
17438
|
+
* @param {*} [options] Override http request option.
|
|
17439
|
+
* @throws {RequiredError}
|
|
17440
|
+
*/
|
|
17441
|
+
async storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17442
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(gameServerId, options);
|
|
17443
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17444
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[localVarOperationServerIndex]?.url;
|
|
17445
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17446
|
+
},
|
|
17447
|
+
/**
|
|
17448
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17449
|
+
* @summary List templates
|
|
17450
|
+
* @param {*} [options] Override http request option.
|
|
17451
|
+
* @throws {RequiredError}
|
|
17452
|
+
*/
|
|
17453
|
+
async storefrontConfigControllerListTemplates(options) {
|
|
17454
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
17455
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17456
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[localVarOperationServerIndex]?.url;
|
|
17457
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17458
|
+
},
|
|
17459
|
+
/**
|
|
17460
|
+
* 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`
|
|
17461
|
+
* @summary Set config
|
|
17462
|
+
* @param {string} gameServerId
|
|
17463
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17464
|
+
* @param {*} [options] Override http request option.
|
|
17465
|
+
* @throws {RequiredError}
|
|
17466
|
+
*/
|
|
17467
|
+
async storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17468
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options);
|
|
17469
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17470
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
17471
|
+
?.url;
|
|
17472
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17473
|
+
},
|
|
17474
|
+
};
|
|
17475
|
+
};
|
|
17476
|
+
/**
|
|
17477
|
+
* StorefrontConfigApi - factory interface
|
|
17478
|
+
* @export
|
|
17479
|
+
*/
|
|
17480
|
+
export const StorefrontConfigApiFactory = function (configuration, basePath, axios) {
|
|
17481
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
17482
|
+
return {
|
|
17483
|
+
/**
|
|
17484
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17485
|
+
* @summary Get effective config
|
|
17486
|
+
* @param {string} gameServerId
|
|
17487
|
+
* @param {*} [options] Override http request option.
|
|
17488
|
+
* @throws {RequiredError}
|
|
17489
|
+
*/
|
|
17490
|
+
storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17491
|
+
return localVarFp
|
|
17492
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
17493
|
+
.then((request) => request(axios, basePath));
|
|
17494
|
+
},
|
|
17495
|
+
/**
|
|
17496
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17497
|
+
* @summary List templates
|
|
17498
|
+
* @param {*} [options] Override http request option.
|
|
17499
|
+
* @throws {RequiredError}
|
|
17500
|
+
*/
|
|
17501
|
+
storefrontConfigControllerListTemplates(options) {
|
|
17502
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
17503
|
+
},
|
|
17504
|
+
/**
|
|
17505
|
+
* 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`
|
|
17506
|
+
* @summary Set config
|
|
17507
|
+
* @param {string} gameServerId
|
|
17508
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17509
|
+
* @param {*} [options] Override http request option.
|
|
17510
|
+
* @throws {RequiredError}
|
|
17511
|
+
*/
|
|
17512
|
+
storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17513
|
+
return localVarFp
|
|
17514
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17515
|
+
.then((request) => request(axios, basePath));
|
|
17516
|
+
},
|
|
17517
|
+
};
|
|
17518
|
+
};
|
|
17519
|
+
/**
|
|
17520
|
+
* StorefrontConfigApi - object-oriented interface
|
|
17521
|
+
* @export
|
|
17522
|
+
* @class StorefrontConfigApi
|
|
17523
|
+
* @extends {BaseAPI}
|
|
17524
|
+
*/
|
|
17525
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
17526
|
+
/**
|
|
17527
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17528
|
+
* @summary Get effective config
|
|
17529
|
+
* @param {string} gameServerId
|
|
17530
|
+
* @param {*} [options] Override http request option.
|
|
17531
|
+
* @throws {RequiredError}
|
|
17532
|
+
* @memberof StorefrontConfigApi
|
|
17533
|
+
*/
|
|
17534
|
+
storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17535
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17536
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
17537
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17538
|
+
}
|
|
17539
|
+
/**
|
|
17540
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17541
|
+
* @summary List templates
|
|
17542
|
+
* @param {*} [options] Override http request option.
|
|
17543
|
+
* @throws {RequiredError}
|
|
17544
|
+
* @memberof StorefrontConfigApi
|
|
17545
|
+
*/
|
|
17546
|
+
storefrontConfigControllerListTemplates(options) {
|
|
17547
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17548
|
+
.storefrontConfigControllerListTemplates(options)
|
|
17549
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17550
|
+
}
|
|
17551
|
+
/**
|
|
17552
|
+
* 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`
|
|
17553
|
+
* @summary Set config
|
|
17554
|
+
* @param {string} gameServerId
|
|
17555
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17556
|
+
* @param {*} [options] Override http request option.
|
|
17557
|
+
* @throws {RequiredError}
|
|
17558
|
+
* @memberof StorefrontConfigApi
|
|
17559
|
+
*/
|
|
17560
|
+
storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17561
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17562
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17563
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17564
|
+
}
|
|
17565
|
+
}
|
|
16807
17566
|
/**
|
|
16808
17567
|
* TrackingApi - axios parameter creator
|
|
16809
17568
|
* @export
|
|
@@ -17218,6 +17977,32 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
17218
17977
|
options: localVarRequestOptions,
|
|
17219
17978
|
};
|
|
17220
17979
|
},
|
|
17980
|
+
/**
|
|
17981
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
17982
|
+
* @summary Count billable dashboard users
|
|
17983
|
+
* @param {*} [options] Override http request option.
|
|
17984
|
+
* @throws {RequiredError}
|
|
17985
|
+
*/
|
|
17986
|
+
userControllerCountBillableDashboardUsers: async (options = {}) => {
|
|
17987
|
+
const localVarPath = `/user/count`;
|
|
17988
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17989
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17990
|
+
let baseOptions;
|
|
17991
|
+
if (configuration) {
|
|
17992
|
+
baseOptions = configuration.baseOptions;
|
|
17993
|
+
}
|
|
17994
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17995
|
+
const localVarHeaderParameter = {};
|
|
17996
|
+
const localVarQueryParameter = {};
|
|
17997
|
+
// authentication domainAuth required
|
|
17998
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17999
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18000
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18001
|
+
return {
|
|
18002
|
+
url: toPathString(localVarUrlObj),
|
|
18003
|
+
options: localVarRequestOptions,
|
|
18004
|
+
};
|
|
18005
|
+
},
|
|
17221
18006
|
/**
|
|
17222
18007
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17223
18008
|
* @summary Create
|
|
@@ -17307,6 +18092,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
17307
18092
|
* @summary Invite
|
|
17308
18093
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17309
18094
|
* @param {*} [options] Override http request option.
|
|
18095
|
+
* @deprecated
|
|
17310
18096
|
* @throws {RequiredError}
|
|
17311
18097
|
*/
|
|
17312
18098
|
userControllerInvite: async (inviteCreateDTO, options = {}) => {
|
|
@@ -17618,6 +18404,18 @@ export const UserApiFp = function (configuration) {
|
|
|
17618
18404
|
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
17619
18405
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17620
18406
|
},
|
|
18407
|
+
/**
|
|
18408
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18409
|
+
* @summary Count billable dashboard users
|
|
18410
|
+
* @param {*} [options] Override http request option.
|
|
18411
|
+
* @throws {RequiredError}
|
|
18412
|
+
*/
|
|
18413
|
+
async userControllerCountBillableDashboardUsers(options) {
|
|
18414
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
18415
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18416
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
18417
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18418
|
+
},
|
|
17621
18419
|
/**
|
|
17622
18420
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17623
18421
|
* @summary Create
|
|
@@ -17661,6 +18459,7 @@ export const UserApiFp = function (configuration) {
|
|
|
17661
18459
|
* @summary Invite
|
|
17662
18460
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17663
18461
|
* @param {*} [options] Override http request option.
|
|
18462
|
+
* @deprecated
|
|
17664
18463
|
* @throws {RequiredError}
|
|
17665
18464
|
*/
|
|
17666
18465
|
async userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -17809,6 +18608,15 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
17809
18608
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
17810
18609
|
.then((request) => request(axios, basePath));
|
|
17811
18610
|
},
|
|
18611
|
+
/**
|
|
18612
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18613
|
+
* @summary Count billable dashboard users
|
|
18614
|
+
* @param {*} [options] Override http request option.
|
|
18615
|
+
* @throws {RequiredError}
|
|
18616
|
+
*/
|
|
18617
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18618
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
18619
|
+
},
|
|
17812
18620
|
/**
|
|
17813
18621
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17814
18622
|
* @summary Create
|
|
@@ -17843,6 +18651,7 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
17843
18651
|
* @summary Invite
|
|
17844
18652
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17845
18653
|
* @param {*} [options] Override http request option.
|
|
18654
|
+
* @deprecated
|
|
17846
18655
|
* @throws {RequiredError}
|
|
17847
18656
|
*/
|
|
17848
18657
|
userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -17964,6 +18773,18 @@ export class UserApi extends BaseAPI {
|
|
|
17964
18773
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
17965
18774
|
.then((request) => request(this.axios, this.basePath));
|
|
17966
18775
|
}
|
|
18776
|
+
/**
|
|
18777
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18778
|
+
* @summary Count billable dashboard users
|
|
18779
|
+
* @param {*} [options] Override http request option.
|
|
18780
|
+
* @throws {RequiredError}
|
|
18781
|
+
* @memberof UserApi
|
|
18782
|
+
*/
|
|
18783
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18784
|
+
return UserApiFp(this.configuration)
|
|
18785
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
18786
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18787
|
+
}
|
|
17967
18788
|
/**
|
|
17968
18789
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17969
18790
|
* @summary Create
|
|
@@ -18007,6 +18828,7 @@ export class UserApi extends BaseAPI {
|
|
|
18007
18828
|
* @summary Invite
|
|
18008
18829
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
18009
18830
|
* @param {*} [options] Override http request option.
|
|
18831
|
+
* @deprecated
|
|
18010
18832
|
* @throws {RequiredError}
|
|
18011
18833
|
* @memberof UserApi
|
|
18012
18834
|
*/
|