@takaro/apiclient 0.0.0-dev.401d3e5 → 0.0.0-dev.4046cbc
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 +1600 -139
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +890 -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 +4 -2
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +15 -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 +28393 -0
- package/package.json +1 -1
- package/src/generated/api.ts +2506 -364
- 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 +27 -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
|
|
@@ -16865,6 +17466,38 @@ export const StorefrontConfigApiAxiosParamCreator = function (configuration) {
|
|
|
16865
17466
|
options: localVarRequestOptions,
|
|
16866
17467
|
};
|
|
16867
17468
|
},
|
|
17469
|
+
/**
|
|
17470
|
+
* Render the storefront for a game server from an unsaved template id and values, using the same validation and render path as the public page. Persists nothing. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerPreviewConfig`
|
|
17471
|
+
* @summary Preview config
|
|
17472
|
+
* @param {string} gameServerId
|
|
17473
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17474
|
+
* @param {*} [options] Override http request option.
|
|
17475
|
+
* @throws {RequiredError}
|
|
17476
|
+
*/
|
|
17477
|
+
storefrontConfigControllerPreviewConfig: async (gameServerId, storefrontConfigUpsertBody, options = {}) => {
|
|
17478
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
17479
|
+
assertParamExists('storefrontConfigControllerPreviewConfig', 'gameServerId', gameServerId);
|
|
17480
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config/preview`.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: 'POST', ...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
|
+
},
|
|
16868
17501
|
/**
|
|
16869
17502
|
* 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`
|
|
16870
17503
|
* @summary Set config
|
|
@@ -16931,6 +17564,20 @@ export const StorefrontConfigApiFp = function (configuration) {
|
|
|
16931
17564
|
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[localVarOperationServerIndex]?.url;
|
|
16932
17565
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16933
17566
|
},
|
|
17567
|
+
/**
|
|
17568
|
+
* Render the storefront for a game server from an unsaved template id and values, using the same validation and render path as the public page. Persists nothing. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerPreviewConfig`
|
|
17569
|
+
* @summary Preview config
|
|
17570
|
+
* @param {string} gameServerId
|
|
17571
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17572
|
+
* @param {*} [options] Override http request option.
|
|
17573
|
+
* @throws {RequiredError}
|
|
17574
|
+
*/
|
|
17575
|
+
async storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17576
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options);
|
|
17577
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17578
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerPreviewConfig']?.[localVarOperationServerIndex]?.url;
|
|
17579
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17580
|
+
},
|
|
16934
17581
|
/**
|
|
16935
17582
|
* 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`
|
|
16936
17583
|
* @summary Set config
|
|
@@ -16976,6 +17623,19 @@ export const StorefrontConfigApiFactory = function (configuration, basePath, axi
|
|
|
16976
17623
|
storefrontConfigControllerListTemplates(options) {
|
|
16977
17624
|
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
16978
17625
|
},
|
|
17626
|
+
/**
|
|
17627
|
+
* Render the storefront for a game server from an unsaved template id and values, using the same validation and render path as the public page. Persists nothing. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerPreviewConfig`
|
|
17628
|
+
* @summary Preview config
|
|
17629
|
+
* @param {string} gameServerId
|
|
17630
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17631
|
+
* @param {*} [options] Override http request option.
|
|
17632
|
+
* @throws {RequiredError}
|
|
17633
|
+
*/
|
|
17634
|
+
storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17635
|
+
return localVarFp
|
|
17636
|
+
.storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17637
|
+
.then((request) => request(axios, basePath));
|
|
17638
|
+
},
|
|
16979
17639
|
/**
|
|
16980
17640
|
* 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`
|
|
16981
17641
|
* @summary Set config
|
|
@@ -17023,6 +17683,20 @@ export class StorefrontConfigApi extends BaseAPI {
|
|
|
17023
17683
|
.storefrontConfigControllerListTemplates(options)
|
|
17024
17684
|
.then((request) => request(this.axios, this.basePath));
|
|
17025
17685
|
}
|
|
17686
|
+
/**
|
|
17687
|
+
* Render the storefront for a game server from an unsaved template id and values, using the same validation and render path as the public page. Persists nothing. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerPreviewConfig`
|
|
17688
|
+
* @summary Preview config
|
|
17689
|
+
* @param {string} gameServerId
|
|
17690
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17691
|
+
* @param {*} [options] Override http request option.
|
|
17692
|
+
* @throws {RequiredError}
|
|
17693
|
+
* @memberof StorefrontConfigApi
|
|
17694
|
+
*/
|
|
17695
|
+
storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17696
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17697
|
+
.storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17698
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17699
|
+
}
|
|
17026
17700
|
/**
|
|
17027
17701
|
* 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`
|
|
17028
17702
|
* @summary Set config
|
|
@@ -17452,6 +18126,32 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
17452
18126
|
options: localVarRequestOptions,
|
|
17453
18127
|
};
|
|
17454
18128
|
},
|
|
18129
|
+
/**
|
|
18130
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18131
|
+
* @summary Count billable dashboard users
|
|
18132
|
+
* @param {*} [options] Override http request option.
|
|
18133
|
+
* @throws {RequiredError}
|
|
18134
|
+
*/
|
|
18135
|
+
userControllerCountBillableDashboardUsers: async (options = {}) => {
|
|
18136
|
+
const localVarPath = `/user/count`;
|
|
18137
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18138
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18139
|
+
let baseOptions;
|
|
18140
|
+
if (configuration) {
|
|
18141
|
+
baseOptions = configuration.baseOptions;
|
|
18142
|
+
}
|
|
18143
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18144
|
+
const localVarHeaderParameter = {};
|
|
18145
|
+
const localVarQueryParameter = {};
|
|
18146
|
+
// authentication domainAuth required
|
|
18147
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18148
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18149
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18150
|
+
return {
|
|
18151
|
+
url: toPathString(localVarUrlObj),
|
|
18152
|
+
options: localVarRequestOptions,
|
|
18153
|
+
};
|
|
18154
|
+
},
|
|
17455
18155
|
/**
|
|
17456
18156
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17457
18157
|
* @summary Create
|
|
@@ -17541,6 +18241,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
17541
18241
|
* @summary Invite
|
|
17542
18242
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17543
18243
|
* @param {*} [options] Override http request option.
|
|
18244
|
+
* @deprecated
|
|
17544
18245
|
* @throws {RequiredError}
|
|
17545
18246
|
*/
|
|
17546
18247
|
userControllerInvite: async (inviteCreateDTO, options = {}) => {
|
|
@@ -17852,6 +18553,18 @@ export const UserApiFp = function (configuration) {
|
|
|
17852
18553
|
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
17853
18554
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17854
18555
|
},
|
|
18556
|
+
/**
|
|
18557
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18558
|
+
* @summary Count billable dashboard users
|
|
18559
|
+
* @param {*} [options] Override http request option.
|
|
18560
|
+
* @throws {RequiredError}
|
|
18561
|
+
*/
|
|
18562
|
+
async userControllerCountBillableDashboardUsers(options) {
|
|
18563
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
18564
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18565
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
18566
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18567
|
+
},
|
|
17855
18568
|
/**
|
|
17856
18569
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17857
18570
|
* @summary Create
|
|
@@ -17895,6 +18608,7 @@ export const UserApiFp = function (configuration) {
|
|
|
17895
18608
|
* @summary Invite
|
|
17896
18609
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
17897
18610
|
* @param {*} [options] Override http request option.
|
|
18611
|
+
* @deprecated
|
|
17898
18612
|
* @throws {RequiredError}
|
|
17899
18613
|
*/
|
|
17900
18614
|
async userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -18043,6 +18757,15 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
18043
18757
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
18044
18758
|
.then((request) => request(axios, basePath));
|
|
18045
18759
|
},
|
|
18760
|
+
/**
|
|
18761
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18762
|
+
* @summary Count billable dashboard users
|
|
18763
|
+
* @param {*} [options] Override http request option.
|
|
18764
|
+
* @throws {RequiredError}
|
|
18765
|
+
*/
|
|
18766
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18767
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
18768
|
+
},
|
|
18046
18769
|
/**
|
|
18047
18770
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
18048
18771
|
* @summary Create
|
|
@@ -18077,6 +18800,7 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
18077
18800
|
* @summary Invite
|
|
18078
18801
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
18079
18802
|
* @param {*} [options] Override http request option.
|
|
18803
|
+
* @deprecated
|
|
18080
18804
|
* @throws {RequiredError}
|
|
18081
18805
|
*/
|
|
18082
18806
|
userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -18198,6 +18922,18 @@ export class UserApi extends BaseAPI {
|
|
|
18198
18922
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
18199
18923
|
.then((request) => request(this.axios, this.basePath));
|
|
18200
18924
|
}
|
|
18925
|
+
/**
|
|
18926
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18927
|
+
* @summary Count billable dashboard users
|
|
18928
|
+
* @param {*} [options] Override http request option.
|
|
18929
|
+
* @throws {RequiredError}
|
|
18930
|
+
* @memberof UserApi
|
|
18931
|
+
*/
|
|
18932
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18933
|
+
return UserApiFp(this.configuration)
|
|
18934
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
18935
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18936
|
+
}
|
|
18201
18937
|
/**
|
|
18202
18938
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
18203
18939
|
* @summary Create
|
|
@@ -18241,6 +18977,7 @@ export class UserApi extends BaseAPI {
|
|
|
18241
18977
|
* @summary Invite
|
|
18242
18978
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
18243
18979
|
* @param {*} [options] Override http request option.
|
|
18980
|
+
* @deprecated
|
|
18244
18981
|
* @throws {RequiredError}
|
|
18245
18982
|
* @memberof UserApi
|
|
18246
18983
|
*/
|
|
@@ -18373,6 +19110,35 @@ export class UserApi extends BaseAPI {
|
|
|
18373
19110
|
*/
|
|
18374
19111
|
export const VariableApiAxiosParamCreator = function (configuration) {
|
|
18375
19112
|
return {
|
|
19113
|
+
/**
|
|
19114
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19115
|
+
* @summary Bulk delete
|
|
19116
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19117
|
+
* @param {*} [options] Override http request option.
|
|
19118
|
+
* @throws {RequiredError}
|
|
19119
|
+
*/
|
|
19120
|
+
variableControllerBulkDelete: async (variableBulkDeleteInputDTO, options = {}) => {
|
|
19121
|
+
const localVarPath = `/variables`;
|
|
19122
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19123
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19124
|
+
let baseOptions;
|
|
19125
|
+
if (configuration) {
|
|
19126
|
+
baseOptions = configuration.baseOptions;
|
|
19127
|
+
}
|
|
19128
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
19129
|
+
const localVarHeaderParameter = {};
|
|
19130
|
+
const localVarQueryParameter = {};
|
|
19131
|
+
// authentication domainAuth required
|
|
19132
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19133
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19134
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19135
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19136
|
+
localVarRequestOptions.data = serializeDataIfNeeded(variableBulkDeleteInputDTO, localVarRequestOptions, configuration);
|
|
19137
|
+
return {
|
|
19138
|
+
url: toPathString(localVarUrlObj),
|
|
19139
|
+
options: localVarRequestOptions,
|
|
19140
|
+
};
|
|
19141
|
+
},
|
|
18376
19142
|
/**
|
|
18377
19143
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18378
19144
|
* @summary Create
|
|
@@ -18530,6 +19296,19 @@ export const VariableApiAxiosParamCreator = function (configuration) {
|
|
|
18530
19296
|
export const VariableApiFp = function (configuration) {
|
|
18531
19297
|
const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
|
|
18532
19298
|
return {
|
|
19299
|
+
/**
|
|
19300
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19301
|
+
* @summary Bulk delete
|
|
19302
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19303
|
+
* @param {*} [options] Override http request option.
|
|
19304
|
+
* @throws {RequiredError}
|
|
19305
|
+
*/
|
|
19306
|
+
async variableControllerBulkDelete(variableBulkDeleteInputDTO, options) {
|
|
19307
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerBulkDelete(variableBulkDeleteInputDTO, options);
|
|
19308
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19309
|
+
const localVarOperationServerBasePath = operationServerMap['VariableApi.variableControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
19310
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19311
|
+
},
|
|
18533
19312
|
/**
|
|
18534
19313
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18535
19314
|
* @summary Create
|
|
@@ -18605,6 +19384,18 @@ export const VariableApiFp = function (configuration) {
|
|
|
18605
19384
|
export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
18606
19385
|
const localVarFp = VariableApiFp(configuration);
|
|
18607
19386
|
return {
|
|
19387
|
+
/**
|
|
19388
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19389
|
+
* @summary Bulk delete
|
|
19390
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19391
|
+
* @param {*} [options] Override http request option.
|
|
19392
|
+
* @throws {RequiredError}
|
|
19393
|
+
*/
|
|
19394
|
+
variableControllerBulkDelete(variableBulkDeleteInputDTO, options) {
|
|
19395
|
+
return localVarFp
|
|
19396
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
19397
|
+
.then((request) => request(axios, basePath));
|
|
19398
|
+
},
|
|
18608
19399
|
/**
|
|
18609
19400
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18610
19401
|
* @summary Create
|
|
@@ -18671,6 +19462,19 @@ export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
|
18671
19462
|
* @extends {BaseAPI}
|
|
18672
19463
|
*/
|
|
18673
19464
|
export class VariableApi extends BaseAPI {
|
|
19465
|
+
/**
|
|
19466
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19467
|
+
* @summary Bulk delete
|
|
19468
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19469
|
+
* @param {*} [options] Override http request option.
|
|
19470
|
+
* @throws {RequiredError}
|
|
19471
|
+
* @memberof VariableApi
|
|
19472
|
+
*/
|
|
19473
|
+
variableControllerBulkDelete(variableBulkDeleteInputDTO, options) {
|
|
19474
|
+
return VariableApiFp(this.configuration)
|
|
19475
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
19476
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19477
|
+
}
|
|
18674
19478
|
/**
|
|
18675
19479
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18676
19480
|
* @summary Create
|