@takaro/apiclient 0.0.0-dev.bf507a2 → 0.0.0-dev.bfbcbc4

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.
@@ -148,6 +148,7 @@ export const EventCreateDTOEventNameEnum = {
148
148
  PlayerInventoryChanged: 'player-inventory-changed',
149
149
  EventRateLimited: 'event-rate-limited',
150
150
  PlayerSyncSnapshot: 'player-sync-snapshot',
151
+ InviteLinkCreated: 'invite-link-created',
151
152
  PlayerConnected: 'player-connected',
152
153
  PlayerDisconnected: 'player-disconnected',
153
154
  ChatMessage: 'chat-message',
@@ -194,6 +195,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
194
195
  PlayerInventoryChanged: 'player-inventory-changed',
195
196
  EventRateLimited: 'event-rate-limited',
196
197
  PlayerSyncSnapshot: 'player-sync-snapshot',
198
+ InviteLinkCreated: 'invite-link-created',
197
199
  PlayerConnected: 'player-connected',
198
200
  PlayerDisconnected: 'player-disconnected',
199
201
  ChatMessage: 'chat-message',
@@ -240,6 +242,7 @@ export const EventOutputDTOEventNameEnum = {
240
242
  PlayerInventoryChanged: 'player-inventory-changed',
241
243
  EventRateLimited: 'event-rate-limited',
242
244
  PlayerSyncSnapshot: 'player-sync-snapshot',
245
+ InviteLinkCreated: 'invite-link-created',
243
246
  PlayerConnected: 'player-connected',
244
247
  PlayerDisconnected: 'player-disconnected',
245
248
  ChatMessage: 'chat-message',
@@ -286,6 +289,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
286
289
  PlayerInventoryChanged: 'player-inventory-changed',
287
290
  EventRateLimited: 'event-rate-limited',
288
291
  PlayerSyncSnapshot: 'player-sync-snapshot',
292
+ InviteLinkCreated: 'invite-link-created',
289
293
  PlayerConnected: 'player-connected',
290
294
  PlayerDisconnected: 'player-disconnected',
291
295
  ChatMessage: 'chat-message',
@@ -438,6 +442,7 @@ export const HookCreateDTOEventTypeEnum = {
438
442
  PlayerInventoryChanged: 'player-inventory-changed',
439
443
  EventRateLimited: 'event-rate-limited',
440
444
  PlayerSyncSnapshot: 'player-sync-snapshot',
445
+ InviteLinkCreated: 'invite-link-created',
441
446
  };
442
447
  export const HookOutputDTOEventTypeEnum = {
443
448
  Log: 'log',
@@ -486,6 +491,7 @@ export const HookOutputDTOEventTypeEnum = {
486
491
  PlayerInventoryChanged: 'player-inventory-changed',
487
492
  EventRateLimited: 'event-rate-limited',
488
493
  PlayerSyncSnapshot: 'player-sync-snapshot',
494
+ InviteLinkCreated: 'invite-link-created',
489
495
  };
490
496
  export const HookSearchInputAllowedFiltersEventTypeEnum = {
491
497
  Log: 'log',
@@ -534,6 +540,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
534
540
  PlayerInventoryChanged: 'player-inventory-changed',
535
541
  EventRateLimited: 'event-rate-limited',
536
542
  PlayerSyncSnapshot: 'player-sync-snapshot',
543
+ InviteLinkCreated: 'invite-link-created',
537
544
  };
538
545
  export const HookSearchInputDTOExtendEnum = {
539
546
  Module: 'module',
@@ -590,6 +597,7 @@ export const HookTriggerDTOEventTypeEnum = {
590
597
  PlayerInventoryChanged: 'player-inventory-changed',
591
598
  EventRateLimited: 'event-rate-limited',
592
599
  PlayerSyncSnapshot: 'player-sync-snapshot',
600
+ InviteLinkCreated: 'invite-link-created',
593
601
  };
594
602
  export const HookUpdateDTOEventTypeEnum = {
595
603
  Log: 'log',
@@ -638,6 +646,7 @@ export const HookUpdateDTOEventTypeEnum = {
638
646
  PlayerInventoryChanged: 'player-inventory-changed',
639
647
  EventRateLimited: 'event-rate-limited',
640
648
  PlayerSyncSnapshot: 'player-sync-snapshot',
649
+ InviteLinkCreated: 'invite-link-created',
641
650
  };
642
651
  export const IEntityDTOTypeEnum = {
643
652
  Hostile: 'hostile',
@@ -691,11 +700,34 @@ export const IHookEventTypeEnum = {
691
700
  PlayerInventoryChanged: 'player-inventory-changed',
692
701
  EventRateLimited: 'event-rate-limited',
693
702
  PlayerSyncSnapshot: 'player-sync-snapshot',
703
+ InviteLinkCreated: 'invite-link-created',
694
704
  };
695
705
  export const ITakaroQuerySortDirectionEnum = {
696
706
  Asc: 'asc',
697
707
  Desc: 'desc',
698
708
  };
709
+ export const InviteLinkCreateResultDTOStatusEnum = {
710
+ Active: 'ACTIVE',
711
+ Revoked: 'REVOKED',
712
+ Expired: 'EXPIRED',
713
+ Depleted: 'DEPLETED',
714
+ };
715
+ export const InviteLinkOutputDTOStatusEnum = {
716
+ Active: 'ACTIVE',
717
+ Revoked: 'REVOKED',
718
+ Expired: 'EXPIRED',
719
+ Depleted: 'DEPLETED',
720
+ };
721
+ export const InviteLinkPreviewDTOStatusEnum = {
722
+ Active: 'ACTIVE',
723
+ Revoked: 'REVOKED',
724
+ Expired: 'EXPIRED',
725
+ Depleted: 'DEPLETED',
726
+ };
727
+ export const InviteLinkSearchInputDTOSortDirectionEnum = {
728
+ Asc: 'asc',
729
+ Desc: 'desc',
730
+ };
699
731
  export const ItemSearchInputDTOExtendEnum = {
700
732
  Gameserver: 'gameserver',
701
733
  };
@@ -1413,7 +1445,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
1413
1445
  };
1414
1446
  },
1415
1447
  /**
1416
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
1448
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
1417
1449
  * @summary Get module health scores
1418
1450
  * @param {string} [startDate]
1419
1451
  * @param {string} [endDate]
@@ -2304,7 +2336,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
2304
2336
  },
2305
2337
  /**
2306
2338
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
2307
- * @summary Get top modules by event volume
2339
+ * @summary Get top modules by execution volume
2308
2340
  * @param {string} [startDate]
2309
2341
  * @param {string} [endDate]
2310
2342
  * @param {string} [gameServerId]
@@ -2589,7 +2621,7 @@ export const AnalyticsApiFp = function (configuration) {
2589
2621
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2590
2622
  },
2591
2623
  /**
2592
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
2624
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
2593
2625
  * @summary Get module health scores
2594
2626
  * @param {string} [startDate]
2595
2627
  * @param {string} [endDate]
@@ -2934,7 +2966,7 @@ export const AnalyticsApiFp = function (configuration) {
2934
2966
  },
2935
2967
  /**
2936
2968
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
2937
- * @summary Get top modules by event volume
2969
+ * @summary Get top modules by execution volume
2938
2970
  * @param {string} [startDate]
2939
2971
  * @param {string} [endDate]
2940
2972
  * @param {string} [gameServerId]
@@ -3150,7 +3182,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3150
3182
  .then((request) => request(axios, basePath));
3151
3183
  },
3152
3184
  /**
3153
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
3185
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
3154
3186
  * @summary Get module health scores
3155
3187
  * @param {string} [startDate]
3156
3188
  * @param {string} [endDate]
@@ -3467,7 +3499,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3467
3499
  },
3468
3500
  /**
3469
3501
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
3470
- * @summary Get top modules by event volume
3502
+ * @summary Get top modules by execution volume
3471
3503
  * @param {string} [startDate]
3472
3504
  * @param {string} [endDate]
3473
3505
  * @param {string} [gameServerId]
@@ -3694,7 +3726,7 @@ export class AnalyticsApi extends BaseAPI {
3694
3726
  .then((request) => request(this.axios, this.basePath));
3695
3727
  }
3696
3728
  /**
3697
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
3729
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
3698
3730
  * @summary Get module health scores
3699
3731
  * @param {string} [startDate]
3700
3732
  * @param {string} [endDate]
@@ -4032,7 +4064,7 @@ export class AnalyticsApi extends BaseAPI {
4032
4064
  }
4033
4065
  /**
4034
4066
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
4035
- * @summary Get top modules by event volume
4067
+ * @summary Get top modules by execution volume
4036
4068
  * @param {string} [startDate]
4037
4069
  * @param {string} [endDate]
4038
4070
  * @param {string} [gameServerId]
@@ -6516,6 +6548,39 @@ export const DomainApiAxiosParamCreator = function (configuration) {
6516
6548
  options: localVarRequestOptions,
6517
6549
  };
6518
6550
  },
6551
+ /**
6552
+ * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
6553
+ * @summary Create admin invite link for a domain
6554
+ * @param {string} id
6555
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
6556
+ * @param {*} [options] Override http request option.
6557
+ * @throws {RequiredError}
6558
+ */
6559
+ domainControllerCreateInviteLink: async (id, inviteLinkCreateInputDTO, options = {}) => {
6560
+ // verify required parameter 'id' is not null or undefined
6561
+ assertParamExists('domainControllerCreateInviteLink', 'id', id);
6562
+ const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
6563
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6564
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6565
+ let baseOptions;
6566
+ if (configuration) {
6567
+ baseOptions = configuration.baseOptions;
6568
+ }
6569
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
6570
+ const localVarHeaderParameter = {};
6571
+ const localVarQueryParameter = {};
6572
+ // authentication adminAuth required
6573
+ await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
6574
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6575
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6576
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6577
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
6578
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
6579
+ return {
6580
+ url: toPathString(localVarUrlObj),
6581
+ options: localVarRequestOptions,
6582
+ };
6583
+ },
6519
6584
  /**
6520
6585
  * <br> OperationId: `DomainControllerGetOne`
6521
6586
  * @summary Get one
@@ -6727,6 +6792,20 @@ export const DomainApiFp = function (configuration) {
6727
6792
  const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerCreate']?.[localVarOperationServerIndex]?.url;
6728
6793
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6729
6794
  },
6795
+ /**
6796
+ * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
6797
+ * @summary Create admin invite link for a domain
6798
+ * @param {string} id
6799
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
6800
+ * @param {*} [options] Override http request option.
6801
+ * @throws {RequiredError}
6802
+ */
6803
+ async domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
6804
+ const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options);
6805
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6806
+ const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
6807
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6808
+ },
6730
6809
  /**
6731
6810
  * <br> OperationId: `DomainControllerGetOne`
6732
6811
  * @summary Get one
@@ -6828,6 +6907,19 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
6828
6907
  .domainControllerCreate(domainCreateInputDTO, options)
6829
6908
  .then((request) => request(axios, basePath));
6830
6909
  },
6910
+ /**
6911
+ * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
6912
+ * @summary Create admin invite link for a domain
6913
+ * @param {string} id
6914
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
6915
+ * @param {*} [options] Override http request option.
6916
+ * @throws {RequiredError}
6917
+ */
6918
+ domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
6919
+ return localVarFp
6920
+ .domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
6921
+ .then((request) => request(axios, basePath));
6922
+ },
6831
6923
  /**
6832
6924
  * <br> OperationId: `DomainControllerGetOne`
6833
6925
  * @summary Get one
@@ -6918,6 +7010,20 @@ export class DomainApi extends BaseAPI {
6918
7010
  .domainControllerCreate(domainCreateInputDTO, options)
6919
7011
  .then((request) => request(this.axios, this.basePath));
6920
7012
  }
7013
+ /**
7014
+ * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
7015
+ * @summary Create admin invite link for a domain
7016
+ * @param {string} id
7017
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
7018
+ * @param {*} [options] Override http request option.
7019
+ * @throws {RequiredError}
7020
+ * @memberof DomainApi
7021
+ */
7022
+ domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
7023
+ return DomainApiFp(this.configuration)
7024
+ .domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
7025
+ .then((request) => request(this.axios, this.basePath));
7026
+ }
6921
7027
  /**
6922
7028
  * <br> OperationId: `DomainControllerGetOne`
6923
7029
  * @summary Get one
@@ -10580,6 +10686,369 @@ export class HookApi extends BaseAPI {
10580
10686
  .then((request) => request(this.axios, this.basePath));
10581
10687
  }
10582
10688
  }
10689
+ /**
10690
+ * InviteLinkApi - axios parameter creator
10691
+ * @export
10692
+ */
10693
+ export const InviteLinkApiAxiosParamCreator = function (configuration) {
10694
+ return {
10695
+ /**
10696
+ * 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`
10697
+ * @summary Create invite link
10698
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
10699
+ * @param {*} [options] Override http request option.
10700
+ * @throws {RequiredError}
10701
+ */
10702
+ inviteLinkControllerCreate: async (inviteLinkCreateInputDTO, options = {}) => {
10703
+ const localVarPath = `/invite-link`;
10704
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10705
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10706
+ let baseOptions;
10707
+ if (configuration) {
10708
+ baseOptions = configuration.baseOptions;
10709
+ }
10710
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
10711
+ const localVarHeaderParameter = {};
10712
+ const localVarQueryParameter = {};
10713
+ // authentication domainAuth required
10714
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10715
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10716
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10717
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10718
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
10719
+ return {
10720
+ url: toPathString(localVarUrlObj),
10721
+ options: localVarRequestOptions,
10722
+ };
10723
+ },
10724
+ /**
10725
+ * <br> OperationId: `InviteLinkControllerPreview`
10726
+ * @summary Preview
10727
+ * @param {string} token
10728
+ * @param {*} [options] Override http request option.
10729
+ * @throws {RequiredError}
10730
+ */
10731
+ inviteLinkControllerPreview: async (token, options = {}) => {
10732
+ // verify required parameter 'token' is not null or undefined
10733
+ assertParamExists('inviteLinkControllerPreview', 'token', token);
10734
+ const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
10735
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10736
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10737
+ let baseOptions;
10738
+ if (configuration) {
10739
+ baseOptions = configuration.baseOptions;
10740
+ }
10741
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
10742
+ const localVarHeaderParameter = {};
10743
+ const localVarQueryParameter = {};
10744
+ // authentication domainAuth required
10745
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10746
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10747
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10748
+ return {
10749
+ url: toPathString(localVarUrlObj),
10750
+ options: localVarRequestOptions,
10751
+ };
10752
+ },
10753
+ /**
10754
+ * <br> OperationId: `InviteLinkControllerRedeem`
10755
+ * @summary Redeem
10756
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
10757
+ * @param {*} [options] Override http request option.
10758
+ * @throws {RequiredError}
10759
+ */
10760
+ inviteLinkControllerRedeem: async (redeemInputDTO, options = {}) => {
10761
+ const localVarPath = `/invite-link/redeem`;
10762
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10763
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10764
+ let baseOptions;
10765
+ if (configuration) {
10766
+ baseOptions = configuration.baseOptions;
10767
+ }
10768
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
10769
+ const localVarHeaderParameter = {};
10770
+ const localVarQueryParameter = {};
10771
+ // authentication domainAuth required
10772
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10773
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10774
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10775
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10776
+ localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
10777
+ return {
10778
+ url: toPathString(localVarUrlObj),
10779
+ options: localVarRequestOptions,
10780
+ };
10781
+ },
10782
+ /**
10783
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
10784
+ * @summary Revoke
10785
+ * @param {string} id
10786
+ * @param {*} [options] Override http request option.
10787
+ * @throws {RequiredError}
10788
+ */
10789
+ inviteLinkControllerRevoke: async (id, options = {}) => {
10790
+ // verify required parameter 'id' is not null or undefined
10791
+ assertParamExists('inviteLinkControllerRevoke', 'id', id);
10792
+ const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10793
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10794
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10795
+ let baseOptions;
10796
+ if (configuration) {
10797
+ baseOptions = configuration.baseOptions;
10798
+ }
10799
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
10800
+ const localVarHeaderParameter = {};
10801
+ const localVarQueryParameter = {};
10802
+ // authentication domainAuth required
10803
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10804
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10805
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10806
+ return {
10807
+ url: toPathString(localVarUrlObj),
10808
+ options: localVarRequestOptions,
10809
+ };
10810
+ },
10811
+ /**
10812
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
10813
+ * @summary Search
10814
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
10815
+ * @param {*} [options] Override http request option.
10816
+ * @throws {RequiredError}
10817
+ */
10818
+ inviteLinkControllerSearch: async (inviteLinkSearchInputDTO, options = {}) => {
10819
+ const localVarPath = `/invite-link/search`;
10820
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10821
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10822
+ let baseOptions;
10823
+ if (configuration) {
10824
+ baseOptions = configuration.baseOptions;
10825
+ }
10826
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
10827
+ const localVarHeaderParameter = {};
10828
+ const localVarQueryParameter = {};
10829
+ // authentication domainAuth required
10830
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10831
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10832
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10833
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10834
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkSearchInputDTO, localVarRequestOptions, configuration);
10835
+ return {
10836
+ url: toPathString(localVarUrlObj),
10837
+ options: localVarRequestOptions,
10838
+ };
10839
+ },
10840
+ };
10841
+ };
10842
+ /**
10843
+ * InviteLinkApi - functional programming interface
10844
+ * @export
10845
+ */
10846
+ export const InviteLinkApiFp = function (configuration) {
10847
+ const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
10848
+ return {
10849
+ /**
10850
+ * 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`
10851
+ * @summary Create invite link
10852
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
10853
+ * @param {*} [options] Override http request option.
10854
+ * @throws {RequiredError}
10855
+ */
10856
+ async inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
10857
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options);
10858
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10859
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
10860
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10861
+ },
10862
+ /**
10863
+ * <br> OperationId: `InviteLinkControllerPreview`
10864
+ * @summary Preview
10865
+ * @param {string} token
10866
+ * @param {*} [options] Override http request option.
10867
+ * @throws {RequiredError}
10868
+ */
10869
+ async inviteLinkControllerPreview(token, options) {
10870
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
10871
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10872
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
10873
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10874
+ },
10875
+ /**
10876
+ * <br> OperationId: `InviteLinkControllerRedeem`
10877
+ * @summary Redeem
10878
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
10879
+ * @param {*} [options] Override http request option.
10880
+ * @throws {RequiredError}
10881
+ */
10882
+ async inviteLinkControllerRedeem(redeemInputDTO, options) {
10883
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
10884
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10885
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
10886
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10887
+ },
10888
+ /**
10889
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
10890
+ * @summary Revoke
10891
+ * @param {string} id
10892
+ * @param {*} [options] Override http request option.
10893
+ * @throws {RequiredError}
10894
+ */
10895
+ async inviteLinkControllerRevoke(id, options) {
10896
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
10897
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10898
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
10899
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10900
+ },
10901
+ /**
10902
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
10903
+ * @summary Search
10904
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
10905
+ * @param {*} [options] Override http request option.
10906
+ * @throws {RequiredError}
10907
+ */
10908
+ async inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
10909
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options);
10910
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10911
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
10912
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10913
+ },
10914
+ };
10915
+ };
10916
+ /**
10917
+ * InviteLinkApi - factory interface
10918
+ * @export
10919
+ */
10920
+ export const InviteLinkApiFactory = function (configuration, basePath, axios) {
10921
+ const localVarFp = InviteLinkApiFp(configuration);
10922
+ return {
10923
+ /**
10924
+ * 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`
10925
+ * @summary Create invite link
10926
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
10927
+ * @param {*} [options] Override http request option.
10928
+ * @throws {RequiredError}
10929
+ */
10930
+ inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
10931
+ return localVarFp
10932
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
10933
+ .then((request) => request(axios, basePath));
10934
+ },
10935
+ /**
10936
+ * <br> OperationId: `InviteLinkControllerPreview`
10937
+ * @summary Preview
10938
+ * @param {string} token
10939
+ * @param {*} [options] Override http request option.
10940
+ * @throws {RequiredError}
10941
+ */
10942
+ inviteLinkControllerPreview(token, options) {
10943
+ return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
10944
+ },
10945
+ /**
10946
+ * <br> OperationId: `InviteLinkControllerRedeem`
10947
+ * @summary Redeem
10948
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
10949
+ * @param {*} [options] Override http request option.
10950
+ * @throws {RequiredError}
10951
+ */
10952
+ inviteLinkControllerRedeem(redeemInputDTO, options) {
10953
+ return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
10954
+ },
10955
+ /**
10956
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
10957
+ * @summary Revoke
10958
+ * @param {string} id
10959
+ * @param {*} [options] Override http request option.
10960
+ * @throws {RequiredError}
10961
+ */
10962
+ inviteLinkControllerRevoke(id, options) {
10963
+ return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
10964
+ },
10965
+ /**
10966
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
10967
+ * @summary Search
10968
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
10969
+ * @param {*} [options] Override http request option.
10970
+ * @throws {RequiredError}
10971
+ */
10972
+ inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
10973
+ return localVarFp
10974
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
10975
+ .then((request) => request(axios, basePath));
10976
+ },
10977
+ };
10978
+ };
10979
+ /**
10980
+ * InviteLinkApi - object-oriented interface
10981
+ * @export
10982
+ * @class InviteLinkApi
10983
+ * @extends {BaseAPI}
10984
+ */
10985
+ export class InviteLinkApi extends BaseAPI {
10986
+ /**
10987
+ * 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`
10988
+ * @summary Create invite link
10989
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
10990
+ * @param {*} [options] Override http request option.
10991
+ * @throws {RequiredError}
10992
+ * @memberof InviteLinkApi
10993
+ */
10994
+ inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
10995
+ return InviteLinkApiFp(this.configuration)
10996
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
10997
+ .then((request) => request(this.axios, this.basePath));
10998
+ }
10999
+ /**
11000
+ * <br> OperationId: `InviteLinkControllerPreview`
11001
+ * @summary Preview
11002
+ * @param {string} token
11003
+ * @param {*} [options] Override http request option.
11004
+ * @throws {RequiredError}
11005
+ * @memberof InviteLinkApi
11006
+ */
11007
+ inviteLinkControllerPreview(token, options) {
11008
+ return InviteLinkApiFp(this.configuration)
11009
+ .inviteLinkControllerPreview(token, options)
11010
+ .then((request) => request(this.axios, this.basePath));
11011
+ }
11012
+ /**
11013
+ * <br> OperationId: `InviteLinkControllerRedeem`
11014
+ * @summary Redeem
11015
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
11016
+ * @param {*} [options] Override http request option.
11017
+ * @throws {RequiredError}
11018
+ * @memberof InviteLinkApi
11019
+ */
11020
+ inviteLinkControllerRedeem(redeemInputDTO, options) {
11021
+ return InviteLinkApiFp(this.configuration)
11022
+ .inviteLinkControllerRedeem(redeemInputDTO, options)
11023
+ .then((request) => request(this.axios, this.basePath));
11024
+ }
11025
+ /**
11026
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
11027
+ * @summary Revoke
11028
+ * @param {string} id
11029
+ * @param {*} [options] Override http request option.
11030
+ * @throws {RequiredError}
11031
+ * @memberof InviteLinkApi
11032
+ */
11033
+ inviteLinkControllerRevoke(id, options) {
11034
+ return InviteLinkApiFp(this.configuration)
11035
+ .inviteLinkControllerRevoke(id, options)
11036
+ .then((request) => request(this.axios, this.basePath));
11037
+ }
11038
+ /**
11039
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
11040
+ * @summary Search
11041
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
11042
+ * @param {*} [options] Override http request option.
11043
+ * @throws {RequiredError}
11044
+ * @memberof InviteLinkApi
11045
+ */
11046
+ inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
11047
+ return InviteLinkApiFp(this.configuration)
11048
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
11049
+ .then((request) => request(this.axios, this.basePath));
11050
+ }
11051
+ }
10583
11052
  /**
10584
11053
  * ItemApi - axios parameter creator
10585
11054
  * @export
@@ -16804,6 +17273,240 @@ export class ShopOrderApi extends BaseAPI {
16804
17273
  .then((request) => request(this.axios, this.basePath));
16805
17274
  }
16806
17275
  }
17276
+ /**
17277
+ * StorefrontConfigApi - axios parameter creator
17278
+ * @export
17279
+ */
17280
+ export const StorefrontConfigApiAxiosParamCreator = function (configuration) {
17281
+ return {
17282
+ /**
17283
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
17284
+ * @summary Get effective config
17285
+ * @param {string} gameServerId
17286
+ * @param {*} [options] Override http request option.
17287
+ * @throws {RequiredError}
17288
+ */
17289
+ storefrontConfigControllerGetEffectiveConfig: async (gameServerId, options = {}) => {
17290
+ // verify required parameter 'gameServerId' is not null or undefined
17291
+ assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
17292
+ const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
17293
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17294
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17295
+ let baseOptions;
17296
+ if (configuration) {
17297
+ baseOptions = configuration.baseOptions;
17298
+ }
17299
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
17300
+ const localVarHeaderParameter = {};
17301
+ const localVarQueryParameter = {};
17302
+ // authentication domainAuth required
17303
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17304
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17305
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17306
+ return {
17307
+ url: toPathString(localVarUrlObj),
17308
+ options: localVarRequestOptions,
17309
+ };
17310
+ },
17311
+ /**
17312
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
17313
+ * @summary List templates
17314
+ * @param {*} [options] Override http request option.
17315
+ * @throws {RequiredError}
17316
+ */
17317
+ storefrontConfigControllerListTemplates: async (options = {}) => {
17318
+ const localVarPath = `/storefront/templates`;
17319
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17320
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17321
+ let baseOptions;
17322
+ if (configuration) {
17323
+ baseOptions = configuration.baseOptions;
17324
+ }
17325
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
17326
+ const localVarHeaderParameter = {};
17327
+ const localVarQueryParameter = {};
17328
+ // authentication domainAuth required
17329
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17330
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17331
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17332
+ return {
17333
+ url: toPathString(localVarUrlObj),
17334
+ options: localVarRequestOptions,
17335
+ };
17336
+ },
17337
+ /**
17338
+ * 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`
17339
+ * @summary Set config
17340
+ * @param {string} gameServerId
17341
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
17342
+ * @param {*} [options] Override http request option.
17343
+ * @throws {RequiredError}
17344
+ */
17345
+ storefrontConfigControllerSetConfig: async (gameServerId, storefrontConfigUpsertBody, options = {}) => {
17346
+ // verify required parameter 'gameServerId' is not null or undefined
17347
+ assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
17348
+ const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
17349
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17350
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17351
+ let baseOptions;
17352
+ if (configuration) {
17353
+ baseOptions = configuration.baseOptions;
17354
+ }
17355
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
17356
+ const localVarHeaderParameter = {};
17357
+ const localVarQueryParameter = {};
17358
+ // authentication domainAuth required
17359
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17360
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17361
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17362
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17363
+ localVarRequestOptions.data = serializeDataIfNeeded(storefrontConfigUpsertBody, localVarRequestOptions, configuration);
17364
+ return {
17365
+ url: toPathString(localVarUrlObj),
17366
+ options: localVarRequestOptions,
17367
+ };
17368
+ },
17369
+ };
17370
+ };
17371
+ /**
17372
+ * StorefrontConfigApi - functional programming interface
17373
+ * @export
17374
+ */
17375
+ export const StorefrontConfigApiFp = function (configuration) {
17376
+ const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
17377
+ return {
17378
+ /**
17379
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
17380
+ * @summary Get effective config
17381
+ * @param {string} gameServerId
17382
+ * @param {*} [options] Override http request option.
17383
+ * @throws {RequiredError}
17384
+ */
17385
+ async storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
17386
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(gameServerId, options);
17387
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17388
+ const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[localVarOperationServerIndex]?.url;
17389
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17390
+ },
17391
+ /**
17392
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
17393
+ * @summary List templates
17394
+ * @param {*} [options] Override http request option.
17395
+ * @throws {RequiredError}
17396
+ */
17397
+ async storefrontConfigControllerListTemplates(options) {
17398
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
17399
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17400
+ const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[localVarOperationServerIndex]?.url;
17401
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17402
+ },
17403
+ /**
17404
+ * 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`
17405
+ * @summary Set config
17406
+ * @param {string} gameServerId
17407
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
17408
+ * @param {*} [options] Override http request option.
17409
+ * @throws {RequiredError}
17410
+ */
17411
+ async storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
17412
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options);
17413
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17414
+ const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
17415
+ ?.url;
17416
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17417
+ },
17418
+ };
17419
+ };
17420
+ /**
17421
+ * StorefrontConfigApi - factory interface
17422
+ * @export
17423
+ */
17424
+ export const StorefrontConfigApiFactory = function (configuration, basePath, axios) {
17425
+ const localVarFp = StorefrontConfigApiFp(configuration);
17426
+ return {
17427
+ /**
17428
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
17429
+ * @summary Get effective config
17430
+ * @param {string} gameServerId
17431
+ * @param {*} [options] Override http request option.
17432
+ * @throws {RequiredError}
17433
+ */
17434
+ storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
17435
+ return localVarFp
17436
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
17437
+ .then((request) => request(axios, basePath));
17438
+ },
17439
+ /**
17440
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
17441
+ * @summary List templates
17442
+ * @param {*} [options] Override http request option.
17443
+ * @throws {RequiredError}
17444
+ */
17445
+ storefrontConfigControllerListTemplates(options) {
17446
+ return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
17447
+ },
17448
+ /**
17449
+ * 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`
17450
+ * @summary Set config
17451
+ * @param {string} gameServerId
17452
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
17453
+ * @param {*} [options] Override http request option.
17454
+ * @throws {RequiredError}
17455
+ */
17456
+ storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
17457
+ return localVarFp
17458
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
17459
+ .then((request) => request(axios, basePath));
17460
+ },
17461
+ };
17462
+ };
17463
+ /**
17464
+ * StorefrontConfigApi - object-oriented interface
17465
+ * @export
17466
+ * @class StorefrontConfigApi
17467
+ * @extends {BaseAPI}
17468
+ */
17469
+ export class StorefrontConfigApi extends BaseAPI {
17470
+ /**
17471
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
17472
+ * @summary Get effective config
17473
+ * @param {string} gameServerId
17474
+ * @param {*} [options] Override http request option.
17475
+ * @throws {RequiredError}
17476
+ * @memberof StorefrontConfigApi
17477
+ */
17478
+ storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
17479
+ return StorefrontConfigApiFp(this.configuration)
17480
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
17481
+ .then((request) => request(this.axios, this.basePath));
17482
+ }
17483
+ /**
17484
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
17485
+ * @summary List templates
17486
+ * @param {*} [options] Override http request option.
17487
+ * @throws {RequiredError}
17488
+ * @memberof StorefrontConfigApi
17489
+ */
17490
+ storefrontConfigControllerListTemplates(options) {
17491
+ return StorefrontConfigApiFp(this.configuration)
17492
+ .storefrontConfigControllerListTemplates(options)
17493
+ .then((request) => request(this.axios, this.basePath));
17494
+ }
17495
+ /**
17496
+ * 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`
17497
+ * @summary Set config
17498
+ * @param {string} gameServerId
17499
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
17500
+ * @param {*} [options] Override http request option.
17501
+ * @throws {RequiredError}
17502
+ * @memberof StorefrontConfigApi
17503
+ */
17504
+ storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
17505
+ return StorefrontConfigApiFp(this.configuration)
17506
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
17507
+ .then((request) => request(this.axios, this.basePath));
17508
+ }
17509
+ }
16807
17510
  /**
16808
17511
  * TrackingApi - axios parameter creator
16809
17512
  * @export
@@ -17218,6 +17921,32 @@ export const UserApiAxiosParamCreator = function (configuration) {
17218
17921
  options: localVarRequestOptions,
17219
17922
  };
17220
17923
  },
17924
+ /**
17925
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
17926
+ * @summary Count billable dashboard users
17927
+ * @param {*} [options] Override http request option.
17928
+ * @throws {RequiredError}
17929
+ */
17930
+ userControllerCountBillableDashboardUsers: async (options = {}) => {
17931
+ const localVarPath = `/user/count`;
17932
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17933
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17934
+ let baseOptions;
17935
+ if (configuration) {
17936
+ baseOptions = configuration.baseOptions;
17937
+ }
17938
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
17939
+ const localVarHeaderParameter = {};
17940
+ const localVarQueryParameter = {};
17941
+ // authentication domainAuth required
17942
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17943
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17944
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17945
+ return {
17946
+ url: toPathString(localVarUrlObj),
17947
+ options: localVarRequestOptions,
17948
+ };
17949
+ },
17221
17950
  /**
17222
17951
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
17223
17952
  * @summary Create
@@ -17307,6 +18036,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
17307
18036
  * @summary Invite
17308
18037
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
17309
18038
  * @param {*} [options] Override http request option.
18039
+ * @deprecated
17310
18040
  * @throws {RequiredError}
17311
18041
  */
17312
18042
  userControllerInvite: async (inviteCreateDTO, options = {}) => {
@@ -17618,6 +18348,18 @@ export const UserApiFp = function (configuration) {
17618
18348
  const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[localVarOperationServerIndex]?.url;
17619
18349
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17620
18350
  },
18351
+ /**
18352
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
18353
+ * @summary Count billable dashboard users
18354
+ * @param {*} [options] Override http request option.
18355
+ * @throws {RequiredError}
18356
+ */
18357
+ async userControllerCountBillableDashboardUsers(options) {
18358
+ const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
18359
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18360
+ const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
18361
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18362
+ },
17621
18363
  /**
17622
18364
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
17623
18365
  * @summary Create
@@ -17661,6 +18403,7 @@ export const UserApiFp = function (configuration) {
17661
18403
  * @summary Invite
17662
18404
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
17663
18405
  * @param {*} [options] Override http request option.
18406
+ * @deprecated
17664
18407
  * @throws {RequiredError}
17665
18408
  */
17666
18409
  async userControllerInvite(inviteCreateDTO, options) {
@@ -17809,6 +18552,15 @@ export const UserApiFactory = function (configuration, basePath, axios) {
17809
18552
  .userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
17810
18553
  .then((request) => request(axios, basePath));
17811
18554
  },
18555
+ /**
18556
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
18557
+ * @summary Count billable dashboard users
18558
+ * @param {*} [options] Override http request option.
18559
+ * @throws {RequiredError}
18560
+ */
18561
+ userControllerCountBillableDashboardUsers(options) {
18562
+ return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
18563
+ },
17812
18564
  /**
17813
18565
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
17814
18566
  * @summary Create
@@ -17843,6 +18595,7 @@ export const UserApiFactory = function (configuration, basePath, axios) {
17843
18595
  * @summary Invite
17844
18596
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
17845
18597
  * @param {*} [options] Override http request option.
18598
+ * @deprecated
17846
18599
  * @throws {RequiredError}
17847
18600
  */
17848
18601
  userControllerInvite(inviteCreateDTO, options) {
@@ -17964,6 +18717,18 @@ export class UserApi extends BaseAPI {
17964
18717
  .userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
17965
18718
  .then((request) => request(this.axios, this.basePath));
17966
18719
  }
18720
+ /**
18721
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
18722
+ * @summary Count billable dashboard users
18723
+ * @param {*} [options] Override http request option.
18724
+ * @throws {RequiredError}
18725
+ * @memberof UserApi
18726
+ */
18727
+ userControllerCountBillableDashboardUsers(options) {
18728
+ return UserApiFp(this.configuration)
18729
+ .userControllerCountBillableDashboardUsers(options)
18730
+ .then((request) => request(this.axios, this.basePath));
18731
+ }
17967
18732
  /**
17968
18733
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
17969
18734
  * @summary Create
@@ -18007,6 +18772,7 @@ export class UserApi extends BaseAPI {
18007
18772
  * @summary Invite
18008
18773
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
18009
18774
  * @param {*} [options] Override http request option.
18775
+ * @deprecated
18010
18776
  * @throws {RequiredError}
18011
18777
  * @memberof UserApi
18012
18778
  */