@takaro/apiclient 0.0.0-dev.cd89c68 → 0.0.0-dev.ce27140

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,54 @@ 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',
152
+ PlayerConnected: 'player-connected',
153
+ PlayerDisconnected: 'player-disconnected',
154
+ ChatMessage: 'chat-message',
155
+ PlayerDeath: 'player-death',
156
+ EntityKilled: 'entity-killed',
157
+ };
158
+ export const EventExploreFiltersDTOEventNameEnum = {
159
+ RoleAssigned: 'role-assigned',
160
+ RoleRemoved: 'role-removed',
161
+ RoleCreated: 'role-created',
162
+ RoleUpdated: 'role-updated',
163
+ RoleDeleted: 'role-deleted',
164
+ CommandExecuted: 'command-executed',
165
+ CommandExecutionDenied: 'command-execution-denied',
166
+ HookExecuted: 'hook-executed',
167
+ CronjobExecuted: 'cronjob-executed',
168
+ CurrencyAdded: 'currency-added',
169
+ CurrencyDeducted: 'currency-deducted',
170
+ CurrencyResetAll: 'currency-reset-all',
171
+ SettingsSet: 'settings-set',
172
+ PlayerNewIpDetected: 'player-new-ip-detected',
173
+ PlayerNewNameDetected: 'player-new-name-detected',
174
+ ServerStatusChanged: 'server-status-changed',
175
+ ModuleCreated: 'module-created',
176
+ ModuleUpdated: 'module-updated',
177
+ ModuleDeleted: 'module-deleted',
178
+ ModuleInstalled: 'module-installed',
179
+ ModuleUninstalled: 'module-uninstalled',
180
+ PlayerCreated: 'player-created',
181
+ ShopListingCreated: 'shop-listing-created',
182
+ ShopListingUpdated: 'shop-listing-updated',
183
+ ShopListingDeleted: 'shop-listing-deleted',
184
+ ShopOrderCreated: 'shop-order-created',
185
+ ShopOrderStatusChanged: 'shop-order-status-changed',
186
+ ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
187
+ PlayerLinked: 'player-linked',
188
+ GameserverCreated: 'gameserver-created',
189
+ GameserverUpdated: 'gameserver-updated',
190
+ GameserverDeleted: 'gameserver-deleted',
191
+ PlayerBanned: 'player-banned',
192
+ PlayerUnbanned: 'player-unbanned',
193
+ PlayerDeleted: 'player-deleted',
194
+ ShopActionExecuted: 'shop-action-executed',
195
+ PlayerInventoryChanged: 'player-inventory-changed',
196
+ EventRateLimited: 'event-rate-limited',
197
+ PlayerSyncSnapshot: 'player-sync-snapshot',
198
+ InviteLinkCreated: 'invite-link-created',
151
199
  PlayerConnected: 'player-connected',
152
200
  PlayerDisconnected: 'player-disconnected',
153
201
  ChatMessage: 'chat-message',
@@ -194,6 +242,7 @@ export const EventOutputDTOEventNameEnum = {
194
242
  PlayerInventoryChanged: 'player-inventory-changed',
195
243
  EventRateLimited: 'event-rate-limited',
196
244
  PlayerSyncSnapshot: 'player-sync-snapshot',
245
+ InviteLinkCreated: 'invite-link-created',
197
246
  PlayerConnected: 'player-connected',
198
247
  PlayerDisconnected: 'player-disconnected',
199
248
  ChatMessage: 'chat-message',
@@ -240,6 +289,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
240
289
  PlayerInventoryChanged: 'player-inventory-changed',
241
290
  EventRateLimited: 'event-rate-limited',
242
291
  PlayerSyncSnapshot: 'player-sync-snapshot',
292
+ InviteLinkCreated: 'invite-link-created',
243
293
  PlayerConnected: 'player-connected',
244
294
  PlayerDisconnected: 'player-disconnected',
245
295
  ChatMessage: 'chat-message',
@@ -256,6 +306,10 @@ export const EventSearchInputDTOSortDirectionEnum = {
256
306
  Asc: 'asc',
257
307
  Desc: 'desc',
258
308
  };
309
+ export const EventVolumeInputDTOGroupByEnum = {
310
+ EventName: 'eventName',
311
+ GameServerId: 'gameServerId',
312
+ };
259
313
  export const FunctionSearchInputDTOExtendEnum = {
260
314
  Version: 'version',
261
315
  CronJob: 'cronJob',
@@ -388,6 +442,7 @@ export const HookCreateDTOEventTypeEnum = {
388
442
  PlayerInventoryChanged: 'player-inventory-changed',
389
443
  EventRateLimited: 'event-rate-limited',
390
444
  PlayerSyncSnapshot: 'player-sync-snapshot',
445
+ InviteLinkCreated: 'invite-link-created',
391
446
  };
392
447
  export const HookOutputDTOEventTypeEnum = {
393
448
  Log: 'log',
@@ -436,6 +491,7 @@ export const HookOutputDTOEventTypeEnum = {
436
491
  PlayerInventoryChanged: 'player-inventory-changed',
437
492
  EventRateLimited: 'event-rate-limited',
438
493
  PlayerSyncSnapshot: 'player-sync-snapshot',
494
+ InviteLinkCreated: 'invite-link-created',
439
495
  };
440
496
  export const HookSearchInputAllowedFiltersEventTypeEnum = {
441
497
  Log: 'log',
@@ -484,6 +540,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
484
540
  PlayerInventoryChanged: 'player-inventory-changed',
485
541
  EventRateLimited: 'event-rate-limited',
486
542
  PlayerSyncSnapshot: 'player-sync-snapshot',
543
+ InviteLinkCreated: 'invite-link-created',
487
544
  };
488
545
  export const HookSearchInputDTOExtendEnum = {
489
546
  Module: 'module',
@@ -540,6 +597,7 @@ export const HookTriggerDTOEventTypeEnum = {
540
597
  PlayerInventoryChanged: 'player-inventory-changed',
541
598
  EventRateLimited: 'event-rate-limited',
542
599
  PlayerSyncSnapshot: 'player-sync-snapshot',
600
+ InviteLinkCreated: 'invite-link-created',
543
601
  };
544
602
  export const HookUpdateDTOEventTypeEnum = {
545
603
  Log: 'log',
@@ -588,6 +646,7 @@ export const HookUpdateDTOEventTypeEnum = {
588
646
  PlayerInventoryChanged: 'player-inventory-changed',
589
647
  EventRateLimited: 'event-rate-limited',
590
648
  PlayerSyncSnapshot: 'player-sync-snapshot',
649
+ InviteLinkCreated: 'invite-link-created',
591
650
  };
592
651
  export const IEntityDTOTypeEnum = {
593
652
  Hostile: 'hostile',
@@ -641,11 +700,34 @@ export const IHookEventTypeEnum = {
641
700
  PlayerInventoryChanged: 'player-inventory-changed',
642
701
  EventRateLimited: 'event-rate-limited',
643
702
  PlayerSyncSnapshot: 'player-sync-snapshot',
703
+ InviteLinkCreated: 'invite-link-created',
644
704
  };
645
705
  export const ITakaroQuerySortDirectionEnum = {
646
706
  Asc: 'asc',
647
707
  Desc: 'desc',
648
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
+ };
649
731
  export const ItemSearchInputDTOExtendEnum = {
650
732
  Gameserver: 'gameserver',
651
733
  };
@@ -663,6 +745,23 @@ export const JobStatusOutputDTOStatusEnum = {
663
745
  Waiting: 'waiting',
664
746
  WaitingChildren: 'waiting-children',
665
747
  };
748
+ export const MetaFilterGroupOrLeafDTOLogicalOperatorEnum = {
749
+ And: 'AND',
750
+ Or: 'OR',
751
+ };
752
+ export const MetaFilterGroupOrLeafDTOOperatorEnum = {
753
+ Equal: '=',
754
+ NotEqual: '!=',
755
+ GreaterThan: '>',
756
+ LessThan: '<',
757
+ ArrayContains: 'array_contains',
758
+ };
759
+ export const ModuleInstallationKpisQueryDTOPeriodEnum = {
760
+ _24h: '24h',
761
+ _7d: '7d',
762
+ _30d: '30d',
763
+ _90d: '90d',
764
+ };
666
765
  export const ModuleInstallationSearchInputDTOSortDirectionEnum = {
667
766
  Asc: 'asc',
668
767
  Desc: 'desc',
@@ -1346,7 +1445,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
1346
1445
  };
1347
1446
  },
1348
1447
  /**
1349
- * 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`
1350
1449
  * @summary Get module health scores
1351
1450
  * @param {string} [startDate]
1352
1451
  * @param {string} [endDate]
@@ -1387,6 +1486,56 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
1387
1486
  options: localVarRequestOptions,
1388
1487
  };
1389
1488
  },
1489
+ /**
1490
+ * Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
1491
+ * @summary Get per-installation module KPIs
1492
+ * @param {string} gameServerId
1493
+ * @param {string} moduleId
1494
+ * @param {string} [startDate]
1495
+ * @param {string} [endDate]
1496
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
1497
+ * @param {*} [options] Override http request option.
1498
+ * @throws {RequiredError}
1499
+ */
1500
+ analyticsControllerGetModuleInstallationKpis: async (gameServerId, moduleId, startDate, endDate, period, options = {}) => {
1501
+ // verify required parameter 'gameServerId' is not null or undefined
1502
+ assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
1503
+ // verify required parameter 'moduleId' is not null or undefined
1504
+ assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
1505
+ const localVarPath = `/analytics/modules/installation-kpis`;
1506
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1507
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1508
+ let baseOptions;
1509
+ if (configuration) {
1510
+ baseOptions = configuration.baseOptions;
1511
+ }
1512
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1513
+ const localVarHeaderParameter = {};
1514
+ const localVarQueryParameter = {};
1515
+ // authentication domainAuth required
1516
+ if (startDate !== undefined) {
1517
+ localVarQueryParameter['startDate'] = startDate;
1518
+ }
1519
+ if (endDate !== undefined) {
1520
+ localVarQueryParameter['endDate'] = endDate;
1521
+ }
1522
+ if (gameServerId !== undefined) {
1523
+ localVarQueryParameter['gameServerId'] = gameServerId;
1524
+ }
1525
+ if (moduleId !== undefined) {
1526
+ localVarQueryParameter['moduleId'] = moduleId;
1527
+ }
1528
+ if (period !== undefined) {
1529
+ localVarQueryParameter['period'] = period;
1530
+ }
1531
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1532
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1533
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1534
+ return {
1535
+ url: toPathString(localVarUrlObj),
1536
+ options: localVarRequestOptions,
1537
+ };
1538
+ },
1390
1539
  /**
1391
1540
  * Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
1392
1541
  * @summary Get module item failure aggregate
@@ -2187,7 +2336,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
2187
2336
  },
2188
2337
  /**
2189
2338
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
2190
- * @summary Get top modules by event volume
2339
+ * @summary Get top modules by execution volume
2191
2340
  * @param {string} [startDate]
2192
2341
  * @param {string} [endDate]
2193
2342
  * @param {string} [gameServerId]
@@ -2472,7 +2621,7 @@ export const AnalyticsApiFp = function (configuration) {
2472
2621
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2473
2622
  },
2474
2623
  /**
2475
- * 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`
2476
2625
  * @summary Get module health scores
2477
2626
  * @param {string} [startDate]
2478
2627
  * @param {string} [endDate]
@@ -2487,6 +2636,24 @@ export const AnalyticsApiFp = function (configuration) {
2487
2636
  const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleHealth']?.[localVarOperationServerIndex]?.url;
2488
2637
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2489
2638
  },
2639
+ /**
2640
+ * Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
2641
+ * @summary Get per-installation module KPIs
2642
+ * @param {string} gameServerId
2643
+ * @param {string} moduleId
2644
+ * @param {string} [startDate]
2645
+ * @param {string} [endDate]
2646
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
2647
+ * @param {*} [options] Override http request option.
2648
+ * @throws {RequiredError}
2649
+ */
2650
+ async analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
2651
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options);
2652
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2653
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
2654
+ ?.url;
2655
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2656
+ },
2490
2657
  /**
2491
2658
  * Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
2492
2659
  * @summary Get module item failure aggregate
@@ -2799,7 +2966,7 @@ export const AnalyticsApiFp = function (configuration) {
2799
2966
  },
2800
2967
  /**
2801
2968
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
2802
- * @summary Get top modules by event volume
2969
+ * @summary Get top modules by execution volume
2803
2970
  * @param {string} [startDate]
2804
2971
  * @param {string} [endDate]
2805
2972
  * @param {string} [gameServerId]
@@ -3015,7 +3182,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3015
3182
  .then((request) => request(axios, basePath));
3016
3183
  },
3017
3184
  /**
3018
- * 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`
3019
3186
  * @summary Get module health scores
3020
3187
  * @param {string} [startDate]
3021
3188
  * @param {string} [endDate]
@@ -3029,6 +3196,22 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3029
3196
  .analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
3030
3197
  .then((request) => request(axios, basePath));
3031
3198
  },
3199
+ /**
3200
+ * Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
3201
+ * @summary Get per-installation module KPIs
3202
+ * @param {string} gameServerId
3203
+ * @param {string} moduleId
3204
+ * @param {string} [startDate]
3205
+ * @param {string} [endDate]
3206
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
3207
+ * @param {*} [options] Override http request option.
3208
+ * @throws {RequiredError}
3209
+ */
3210
+ analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
3211
+ return localVarFp
3212
+ .analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
3213
+ .then((request) => request(axios, basePath));
3214
+ },
3032
3215
  /**
3033
3216
  * Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
3034
3217
  * @summary Get module item failure aggregate
@@ -3316,7 +3499,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3316
3499
  },
3317
3500
  /**
3318
3501
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
3319
- * @summary Get top modules by event volume
3502
+ * @summary Get top modules by execution volume
3320
3503
  * @param {string} [startDate]
3321
3504
  * @param {string} [endDate]
3322
3505
  * @param {string} [gameServerId]
@@ -3543,7 +3726,7 @@ export class AnalyticsApi extends BaseAPI {
3543
3726
  .then((request) => request(this.axios, this.basePath));
3544
3727
  }
3545
3728
  /**
3546
- * 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`
3547
3730
  * @summary Get module health scores
3548
3731
  * @param {string} [startDate]
3549
3732
  * @param {string} [endDate]
@@ -3558,6 +3741,23 @@ export class AnalyticsApi extends BaseAPI {
3558
3741
  .analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
3559
3742
  .then((request) => request(this.axios, this.basePath));
3560
3743
  }
3744
+ /**
3745
+ * Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
3746
+ * @summary Get per-installation module KPIs
3747
+ * @param {string} gameServerId
3748
+ * @param {string} moduleId
3749
+ * @param {string} [startDate]
3750
+ * @param {string} [endDate]
3751
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
3752
+ * @param {*} [options] Override http request option.
3753
+ * @throws {RequiredError}
3754
+ * @memberof AnalyticsApi
3755
+ */
3756
+ analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
3757
+ return AnalyticsApiFp(this.configuration)
3758
+ .analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
3759
+ .then((request) => request(this.axios, this.basePath));
3760
+ }
3561
3761
  /**
3562
3762
  * Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
3563
3763
  * @summary Get module item failure aggregate
@@ -3864,7 +4064,7 @@ export class AnalyticsApi extends BaseAPI {
3864
4064
  }
3865
4065
  /**
3866
4066
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
3867
- * @summary Get top modules by event volume
4067
+ * @summary Get top modules by execution volume
3868
4068
  * @param {string} [startDate]
3869
4069
  * @param {string} [endDate]
3870
4070
  * @param {string} [gameServerId]
@@ -4003,6 +4203,15 @@ export const AnalyticsControllerGetModuleHealthPeriodEnum = {
4003
4203
  _30d: '30d',
4004
4204
  _90d: '90d',
4005
4205
  };
4206
+ /**
4207
+ * @export
4208
+ */
4209
+ export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
4210
+ _24h: '24h',
4211
+ _7d: '7d',
4212
+ _30d: '30d',
4213
+ _90d: '90d',
4214
+ };
4006
4215
  /**
4007
4216
  * @export
4008
4217
  */
@@ -4193,118 +4402,99 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
4193
4402
  _90d: '90d',
4194
4403
  };
4195
4404
  /**
4196
- * CommandApi - axios parameter creator
4405
+ * AuthApi - axios parameter creator
4197
4406
  * @export
4198
4407
  */
4199
- export const CommandApiAxiosParamCreator = function (configuration) {
4408
+ export const AuthApiAxiosParamCreator = function (configuration) {
4200
4409
  return {
4201
4410
  /**
4202
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
4203
- * @summary Create
4204
- * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
4411
+ * <br> OperationId: `AuthControllerAccount`
4412
+ * @summary Account
4205
4413
  * @param {*} [options] Override http request option.
4206
4414
  * @throws {RequiredError}
4207
4415
  */
4208
- commandControllerCreate: async (commandCreateDTO, options = {}) => {
4209
- const localVarPath = `/command`;
4416
+ authControllerAccount: async (options = {}) => {
4417
+ const localVarPath = `/auth/account`;
4210
4418
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4211
4419
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4212
4420
  let baseOptions;
4213
4421
  if (configuration) {
4214
4422
  baseOptions = configuration.baseOptions;
4215
4423
  }
4216
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4424
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4217
4425
  const localVarHeaderParameter = {};
4218
4426
  const localVarQueryParameter = {};
4219
- // authentication domainAuth required
4220
- localVarHeaderParameter['Content-Type'] = 'application/json';
4221
4427
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4222
4428
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4223
4429
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4224
- localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
4225
4430
  return {
4226
4431
  url: toPathString(localVarUrlObj),
4227
4432
  options: localVarRequestOptions,
4228
4433
  };
4229
4434
  },
4230
4435
  /**
4231
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
4232
- * @summary Create argument
4233
- * @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
4436
+ * <br> OperationId: `AuthControllerCallback`
4437
+ * @summary Callback
4234
4438
  * @param {*} [options] Override http request option.
4235
4439
  * @throws {RequiredError}
4236
4440
  */
4237
- commandControllerCreateArgument: async (commandArgumentCreateDTO, options = {}) => {
4238
- const localVarPath = `/command/argument`;
4441
+ authControllerCallback: async (options = {}) => {
4442
+ const localVarPath = `/auth/callback`;
4239
4443
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4240
4444
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4241
4445
  let baseOptions;
4242
4446
  if (configuration) {
4243
4447
  baseOptions = configuration.baseOptions;
4244
4448
  }
4245
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4449
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4246
4450
  const localVarHeaderParameter = {};
4247
4451
  const localVarQueryParameter = {};
4248
- // authentication domainAuth required
4249
- localVarHeaderParameter['Content-Type'] = 'application/json';
4250
4452
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4251
4453
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4252
4454
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4253
- localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
4254
4455
  return {
4255
4456
  url: toPathString(localVarUrlObj),
4256
4457
  options: localVarRequestOptions,
4257
4458
  };
4258
4459
  },
4259
4460
  /**
4260
- * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
4261
- * @summary Get executions
4262
- * @param {string} id
4263
- * @param {any} [success]
4264
- * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
4461
+ * <br> OperationId: `AuthControllerLogin`
4462
+ * @summary Login
4463
+ * @param {string} [redirect]
4265
4464
  * @param {*} [options] Override http request option.
4266
4465
  * @throws {RequiredError}
4267
4466
  */
4268
- commandControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
4269
- // verify required parameter 'id' is not null or undefined
4270
- assertParamExists('commandControllerGetExecutions', 'id', id);
4271
- const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4467
+ authControllerLogin: async (redirect, options = {}) => {
4468
+ const localVarPath = `/auth/login`;
4272
4469
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4273
4470
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4274
4471
  let baseOptions;
4275
4472
  if (configuration) {
4276
4473
  baseOptions = configuration.baseOptions;
4277
4474
  }
4278
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4475
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4279
4476
  const localVarHeaderParameter = {};
4280
4477
  const localVarQueryParameter = {};
4281
- // authentication domainAuth required
4282
- if (success !== undefined) {
4283
- for (const [key, value] of Object.entries(success)) {
4284
- localVarQueryParameter[key] = value;
4285
- }
4478
+ if (redirect !== undefined) {
4479
+ localVarQueryParameter['redirect'] = redirect;
4286
4480
  }
4287
- localVarHeaderParameter['Content-Type'] = 'application/json';
4288
4481
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4289
4482
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4290
4483
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4291
- localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
4292
4484
  return {
4293
4485
  url: toPathString(localVarUrlObj),
4294
4486
  options: localVarRequestOptions,
4295
4487
  };
4296
4488
  },
4297
4489
  /**
4298
- * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
4299
- * @summary Get one
4300
- * @param {string} id
4490
+ * <br> OperationId: `AuthControllerLogout`
4491
+ * @summary Logout
4492
+ * @param {string} [redirect]
4301
4493
  * @param {*} [options] Override http request option.
4302
4494
  * @throws {RequiredError}
4303
4495
  */
4304
- commandControllerGetOne: async (id, options = {}) => {
4305
- // verify required parameter 'id' is not null or undefined
4306
- assertParamExists('commandControllerGetOne', 'id', id);
4307
- const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4496
+ authControllerLogout: async (redirect, options = {}) => {
4497
+ const localVarPath = `/auth/logout`;
4308
4498
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4309
4499
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4310
4500
  let baseOptions;
@@ -4314,7 +4504,9 @@ export const CommandApiAxiosParamCreator = function (configuration) {
4314
4504
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4315
4505
  const localVarHeaderParameter = {};
4316
4506
  const localVarQueryParameter = {};
4317
- // authentication domainAuth required
4507
+ if (redirect !== undefined) {
4508
+ localVarQueryParameter['redirect'] = redirect;
4509
+ }
4318
4510
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4319
4511
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4320
4512
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -4323,73 +4515,216 @@ export const CommandApiAxiosParamCreator = function (configuration) {
4323
4515
  options: localVarRequestOptions,
4324
4516
  };
4325
4517
  },
4518
+ };
4519
+ };
4520
+ /**
4521
+ * AuthApi - functional programming interface
4522
+ * @export
4523
+ */
4524
+ export const AuthApiFp = function (configuration) {
4525
+ const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
4526
+ return {
4326
4527
  /**
4327
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
4328
- * @summary Remove
4329
- * @param {string} id
4528
+ * <br> OperationId: `AuthControllerAccount`
4529
+ * @summary Account
4330
4530
  * @param {*} [options] Override http request option.
4331
4531
  * @throws {RequiredError}
4332
4532
  */
4333
- commandControllerRemove: async (id, options = {}) => {
4334
- // verify required parameter 'id' is not null or undefined
4335
- assertParamExists('commandControllerRemove', 'id', id);
4336
- const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4337
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4338
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4339
- let baseOptions;
4340
- if (configuration) {
4341
- baseOptions = configuration.baseOptions;
4342
- }
4343
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
4344
- const localVarHeaderParameter = {};
4345
- const localVarQueryParameter = {};
4346
- // authentication domainAuth required
4347
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4348
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4349
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4350
- return {
4351
- url: toPathString(localVarUrlObj),
4352
- options: localVarRequestOptions,
4353
- };
4533
+ async authControllerAccount(options) {
4534
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
4535
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4536
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
4537
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4354
4538
  },
4355
4539
  /**
4356
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
4357
- * @summary Remove argument
4358
- * @param {string} id
4540
+ * <br> OperationId: `AuthControllerCallback`
4541
+ * @summary Callback
4359
4542
  * @param {*} [options] Override http request option.
4360
4543
  * @throws {RequiredError}
4361
4544
  */
4362
- commandControllerRemoveArgument: async (id, options = {}) => {
4363
- // verify required parameter 'id' is not null or undefined
4364
- assertParamExists('commandControllerRemoveArgument', 'id', id);
4365
- const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4366
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4367
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4368
- let baseOptions;
4369
- if (configuration) {
4370
- baseOptions = configuration.baseOptions;
4371
- }
4372
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
4373
- const localVarHeaderParameter = {};
4374
- const localVarQueryParameter = {};
4375
- // authentication domainAuth required
4376
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4377
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4378
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4379
- return {
4380
- url: toPathString(localVarUrlObj),
4381
- options: localVarRequestOptions,
4545
+ async authControllerCallback(options) {
4546
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
4547
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4548
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
4549
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4550
+ },
4551
+ /**
4552
+ * <br> OperationId: `AuthControllerLogin`
4553
+ * @summary Login
4554
+ * @param {string} [redirect]
4555
+ * @param {*} [options] Override http request option.
4556
+ * @throws {RequiredError}
4557
+ */
4558
+ async authControllerLogin(redirect, options) {
4559
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
4560
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4561
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
4562
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4563
+ },
4564
+ /**
4565
+ * <br> OperationId: `AuthControllerLogout`
4566
+ * @summary Logout
4567
+ * @param {string} [redirect]
4568
+ * @param {*} [options] Override http request option.
4569
+ * @throws {RequiredError}
4570
+ */
4571
+ async authControllerLogout(redirect, options) {
4572
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
4573
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4574
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
4575
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4576
+ },
4577
+ };
4578
+ };
4579
+ /**
4580
+ * AuthApi - factory interface
4581
+ * @export
4582
+ */
4583
+ export const AuthApiFactory = function (configuration, basePath, axios) {
4584
+ const localVarFp = AuthApiFp(configuration);
4585
+ return {
4586
+ /**
4587
+ * <br> OperationId: `AuthControllerAccount`
4588
+ * @summary Account
4589
+ * @param {*} [options] Override http request option.
4590
+ * @throws {RequiredError}
4591
+ */
4592
+ authControllerAccount(options) {
4593
+ return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
4594
+ },
4595
+ /**
4596
+ * <br> OperationId: `AuthControllerCallback`
4597
+ * @summary Callback
4598
+ * @param {*} [options] Override http request option.
4599
+ * @throws {RequiredError}
4600
+ */
4601
+ authControllerCallback(options) {
4602
+ return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
4603
+ },
4604
+ /**
4605
+ * <br> OperationId: `AuthControllerLogin`
4606
+ * @summary Login
4607
+ * @param {string} [redirect]
4608
+ * @param {*} [options] Override http request option.
4609
+ * @throws {RequiredError}
4610
+ */
4611
+ authControllerLogin(redirect, options) {
4612
+ return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
4613
+ },
4614
+ /**
4615
+ * <br> OperationId: `AuthControllerLogout`
4616
+ * @summary Logout
4617
+ * @param {string} [redirect]
4618
+ * @param {*} [options] Override http request option.
4619
+ * @throws {RequiredError}
4620
+ */
4621
+ authControllerLogout(redirect, options) {
4622
+ return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
4623
+ },
4624
+ };
4625
+ };
4626
+ /**
4627
+ * AuthApi - object-oriented interface
4628
+ * @export
4629
+ * @class AuthApi
4630
+ * @extends {BaseAPI}
4631
+ */
4632
+ export class AuthApi extends BaseAPI {
4633
+ /**
4634
+ * <br> OperationId: `AuthControllerAccount`
4635
+ * @summary Account
4636
+ * @param {*} [options] Override http request option.
4637
+ * @throws {RequiredError}
4638
+ * @memberof AuthApi
4639
+ */
4640
+ authControllerAccount(options) {
4641
+ return AuthApiFp(this.configuration)
4642
+ .authControllerAccount(options)
4643
+ .then((request) => request(this.axios, this.basePath));
4644
+ }
4645
+ /**
4646
+ * <br> OperationId: `AuthControllerCallback`
4647
+ * @summary Callback
4648
+ * @param {*} [options] Override http request option.
4649
+ * @throws {RequiredError}
4650
+ * @memberof AuthApi
4651
+ */
4652
+ authControllerCallback(options) {
4653
+ return AuthApiFp(this.configuration)
4654
+ .authControllerCallback(options)
4655
+ .then((request) => request(this.axios, this.basePath));
4656
+ }
4657
+ /**
4658
+ * <br> OperationId: `AuthControllerLogin`
4659
+ * @summary Login
4660
+ * @param {string} [redirect]
4661
+ * @param {*} [options] Override http request option.
4662
+ * @throws {RequiredError}
4663
+ * @memberof AuthApi
4664
+ */
4665
+ authControllerLogin(redirect, options) {
4666
+ return AuthApiFp(this.configuration)
4667
+ .authControllerLogin(redirect, options)
4668
+ .then((request) => request(this.axios, this.basePath));
4669
+ }
4670
+ /**
4671
+ * <br> OperationId: `AuthControllerLogout`
4672
+ * @summary Logout
4673
+ * @param {string} [redirect]
4674
+ * @param {*} [options] Override http request option.
4675
+ * @throws {RequiredError}
4676
+ * @memberof AuthApi
4677
+ */
4678
+ authControllerLogout(redirect, options) {
4679
+ return AuthApiFp(this.configuration)
4680
+ .authControllerLogout(redirect, options)
4681
+ .then((request) => request(this.axios, this.basePath));
4682
+ }
4683
+ }
4684
+ /**
4685
+ * CommandApi - axios parameter creator
4686
+ * @export
4687
+ */
4688
+ export const CommandApiAxiosParamCreator = function (configuration) {
4689
+ return {
4690
+ /**
4691
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
4692
+ * @summary Create
4693
+ * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
4694
+ * @param {*} [options] Override http request option.
4695
+ * @throws {RequiredError}
4696
+ */
4697
+ commandControllerCreate: async (commandCreateDTO, options = {}) => {
4698
+ const localVarPath = `/command`;
4699
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4700
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4701
+ let baseOptions;
4702
+ if (configuration) {
4703
+ baseOptions = configuration.baseOptions;
4704
+ }
4705
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4706
+ const localVarHeaderParameter = {};
4707
+ const localVarQueryParameter = {};
4708
+ // authentication domainAuth required
4709
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4710
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4711
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4712
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4713
+ localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
4714
+ return {
4715
+ url: toPathString(localVarUrlObj),
4716
+ options: localVarRequestOptions,
4382
4717
  };
4383
4718
  },
4384
4719
  /**
4385
- * Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
4386
- * @summary Search
4387
- * @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
4720
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
4721
+ * @summary Create argument
4722
+ * @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
4388
4723
  * @param {*} [options] Override http request option.
4389
4724
  * @throws {RequiredError}
4390
4725
  */
4391
- commandControllerSearch: async (commandSearchInputDTO, options = {}) => {
4392
- const localVarPath = `/command/search`;
4726
+ commandControllerCreateArgument: async (commandArgumentCreateDTO, options = {}) => {
4727
+ const localVarPath = `/command/argument`;
4393
4728
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4394
4729
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4395
4730
  let baseOptions;
@@ -4404,24 +4739,25 @@ export const CommandApiAxiosParamCreator = function (configuration) {
4404
4739
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4405
4740
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4406
4741
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4407
- localVarRequestOptions.data = serializeDataIfNeeded(commandSearchInputDTO, localVarRequestOptions, configuration);
4742
+ localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
4408
4743
  return {
4409
4744
  url: toPathString(localVarUrlObj),
4410
4745
  options: localVarRequestOptions,
4411
4746
  };
4412
4747
  },
4413
4748
  /**
4414
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
4415
- * @summary Trigger
4749
+ * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
4750
+ * @summary Get executions
4416
4751
  * @param {string} id
4417
- * @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
4752
+ * @param {any} [success]
4753
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
4418
4754
  * @param {*} [options] Override http request option.
4419
4755
  * @throws {RequiredError}
4420
4756
  */
4421
- commandControllerTrigger: async (id, commandTriggerDTO, options = {}) => {
4757
+ commandControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
4422
4758
  // verify required parameter 'id' is not null or undefined
4423
- assertParamExists('commandControllerTrigger', 'id', id);
4424
- const localVarPath = `/command/{id}/trigger`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4759
+ assertParamExists('commandControllerGetExecutions', 'id', id);
4760
+ const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4425
4761
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4426
4762
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4427
4763
  let baseOptions;
@@ -4432,27 +4768,31 @@ export const CommandApiAxiosParamCreator = function (configuration) {
4432
4768
  const localVarHeaderParameter = {};
4433
4769
  const localVarQueryParameter = {};
4434
4770
  // authentication domainAuth required
4771
+ if (success !== undefined) {
4772
+ for (const [key, value] of Object.entries(success)) {
4773
+ localVarQueryParameter[key] = value;
4774
+ }
4775
+ }
4435
4776
  localVarHeaderParameter['Content-Type'] = 'application/json';
4436
4777
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4437
4778
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4438
4779
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4439
- localVarRequestOptions.data = serializeDataIfNeeded(commandTriggerDTO, localVarRequestOptions, configuration);
4780
+ localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
4440
4781
  return {
4441
4782
  url: toPathString(localVarUrlObj),
4442
4783
  options: localVarRequestOptions,
4443
4784
  };
4444
4785
  },
4445
4786
  /**
4446
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
4447
- * @summary Update
4787
+ * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
4788
+ * @summary Get one
4448
4789
  * @param {string} id
4449
- * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
4450
4790
  * @param {*} [options] Override http request option.
4451
4791
  * @throws {RequiredError}
4452
4792
  */
4453
- commandControllerUpdate: async (id, commandUpdateDTO, options = {}) => {
4793
+ commandControllerGetOne: async (id, options = {}) => {
4454
4794
  // verify required parameter 'id' is not null or undefined
4455
- assertParamExists('commandControllerUpdate', 'id', id);
4795
+ assertParamExists('commandControllerGetOne', 'id', id);
4456
4796
  const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4457
4797
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4458
4798
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4460,99 +4800,248 @@ export const CommandApiAxiosParamCreator = function (configuration) {
4460
4800
  if (configuration) {
4461
4801
  baseOptions = configuration.baseOptions;
4462
4802
  }
4463
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
4803
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4464
4804
  const localVarHeaderParameter = {};
4465
4805
  const localVarQueryParameter = {};
4466
4806
  // authentication domainAuth required
4467
- localVarHeaderParameter['Content-Type'] = 'application/json';
4468
4807
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4469
4808
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4470
4809
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4471
- localVarRequestOptions.data = serializeDataIfNeeded(commandUpdateDTO, localVarRequestOptions, configuration);
4472
4810
  return {
4473
4811
  url: toPathString(localVarUrlObj),
4474
4812
  options: localVarRequestOptions,
4475
4813
  };
4476
4814
  },
4477
4815
  /**
4478
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
4479
- * @summary Update argument
4816
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
4817
+ * @summary Remove
4480
4818
  * @param {string} id
4481
- * @param {CommandArgumentUpdateDTO} [commandArgumentUpdateDTO] CommandArgumentUpdateDTO
4482
4819
  * @param {*} [options] Override http request option.
4483
4820
  * @throws {RequiredError}
4484
4821
  */
4485
- commandControllerUpdateArgument: async (id, commandArgumentUpdateDTO, options = {}) => {
4822
+ commandControllerRemove: async (id, options = {}) => {
4486
4823
  // verify required parameter 'id' is not null or undefined
4487
- assertParamExists('commandControllerUpdateArgument', 'id', id);
4488
- const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4824
+ assertParamExists('commandControllerRemove', 'id', id);
4825
+ const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4489
4826
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4490
4827
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4491
4828
  let baseOptions;
4492
4829
  if (configuration) {
4493
4830
  baseOptions = configuration.baseOptions;
4494
4831
  }
4495
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
4832
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
4496
4833
  const localVarHeaderParameter = {};
4497
4834
  const localVarQueryParameter = {};
4498
4835
  // authentication domainAuth required
4499
- localVarHeaderParameter['Content-Type'] = 'application/json';
4500
4836
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4501
4837
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4502
4838
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4503
- localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentUpdateDTO, localVarRequestOptions, configuration);
4504
4839
  return {
4505
4840
  url: toPathString(localVarUrlObj),
4506
4841
  options: localVarRequestOptions,
4507
4842
  };
4508
4843
  },
4509
- };
4510
- };
4511
- /**
4512
- * CommandApi - functional programming interface
4513
- * @export
4514
- */
4515
- export const CommandApiFp = function (configuration) {
4516
- const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
4517
- return {
4518
4844
  /**
4519
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
4520
- * @summary Create
4521
- * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
4845
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
4846
+ * @summary Remove argument
4847
+ * @param {string} id
4522
4848
  * @param {*} [options] Override http request option.
4523
4849
  * @throws {RequiredError}
4524
4850
  */
4525
- async commandControllerCreate(commandCreateDTO, options) {
4526
- const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
4527
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4528
- const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreate']?.[localVarOperationServerIndex]?.url;
4529
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4851
+ commandControllerRemoveArgument: async (id, options = {}) => {
4852
+ // verify required parameter 'id' is not null or undefined
4853
+ assertParamExists('commandControllerRemoveArgument', 'id', id);
4854
+ const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4855
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4856
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4857
+ let baseOptions;
4858
+ if (configuration) {
4859
+ baseOptions = configuration.baseOptions;
4860
+ }
4861
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
4862
+ const localVarHeaderParameter = {};
4863
+ const localVarQueryParameter = {};
4864
+ // authentication domainAuth required
4865
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4866
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4867
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4868
+ return {
4869
+ url: toPathString(localVarUrlObj),
4870
+ options: localVarRequestOptions,
4871
+ };
4530
4872
  },
4531
4873
  /**
4532
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
4533
- * @summary Create argument
4534
- * @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
4874
+ * Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
4875
+ * @summary Search
4876
+ * @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
4535
4877
  * @param {*} [options] Override http request option.
4536
4878
  * @throws {RequiredError}
4537
4879
  */
4538
- async commandControllerCreateArgument(commandArgumentCreateDTO, options) {
4539
- const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreateArgument(commandArgumentCreateDTO, options);
4540
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4541
- const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreateArgument']?.[localVarOperationServerIndex]?.url;
4542
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4880
+ commandControllerSearch: async (commandSearchInputDTO, options = {}) => {
4881
+ const localVarPath = `/command/search`;
4882
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4883
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4884
+ let baseOptions;
4885
+ if (configuration) {
4886
+ baseOptions = configuration.baseOptions;
4887
+ }
4888
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4889
+ const localVarHeaderParameter = {};
4890
+ const localVarQueryParameter = {};
4891
+ // authentication domainAuth required
4892
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4893
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4894
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4895
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4896
+ localVarRequestOptions.data = serializeDataIfNeeded(commandSearchInputDTO, localVarRequestOptions, configuration);
4897
+ return {
4898
+ url: toPathString(localVarUrlObj),
4899
+ options: localVarRequestOptions,
4900
+ };
4543
4901
  },
4544
4902
  /**
4545
- * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
4546
- * @summary Get executions
4903
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
4904
+ * @summary Trigger
4547
4905
  * @param {string} id
4548
- * @param {any} [success]
4549
- * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
4906
+ * @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
4550
4907
  * @param {*} [options] Override http request option.
4551
4908
  * @throws {RequiredError}
4552
4909
  */
4553
- async commandControllerGetExecutions(id, success, eventSearchInputDTO, options) {
4554
- const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetExecutions(id, success, eventSearchInputDTO, options);
4555
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4910
+ commandControllerTrigger: async (id, commandTriggerDTO, options = {}) => {
4911
+ // verify required parameter 'id' is not null or undefined
4912
+ assertParamExists('commandControllerTrigger', 'id', id);
4913
+ const localVarPath = `/command/{id}/trigger`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4914
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4915
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4916
+ let baseOptions;
4917
+ if (configuration) {
4918
+ baseOptions = configuration.baseOptions;
4919
+ }
4920
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4921
+ const localVarHeaderParameter = {};
4922
+ const localVarQueryParameter = {};
4923
+ // authentication domainAuth required
4924
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4925
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4926
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4927
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4928
+ localVarRequestOptions.data = serializeDataIfNeeded(commandTriggerDTO, localVarRequestOptions, configuration);
4929
+ return {
4930
+ url: toPathString(localVarUrlObj),
4931
+ options: localVarRequestOptions,
4932
+ };
4933
+ },
4934
+ /**
4935
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
4936
+ * @summary Update
4937
+ * @param {string} id
4938
+ * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
4939
+ * @param {*} [options] Override http request option.
4940
+ * @throws {RequiredError}
4941
+ */
4942
+ commandControllerUpdate: async (id, commandUpdateDTO, options = {}) => {
4943
+ // verify required parameter 'id' is not null or undefined
4944
+ assertParamExists('commandControllerUpdate', 'id', id);
4945
+ const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4946
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4947
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4948
+ let baseOptions;
4949
+ if (configuration) {
4950
+ baseOptions = configuration.baseOptions;
4951
+ }
4952
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
4953
+ const localVarHeaderParameter = {};
4954
+ const localVarQueryParameter = {};
4955
+ // authentication domainAuth required
4956
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4957
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4958
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4959
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4960
+ localVarRequestOptions.data = serializeDataIfNeeded(commandUpdateDTO, localVarRequestOptions, configuration);
4961
+ return {
4962
+ url: toPathString(localVarUrlObj),
4963
+ options: localVarRequestOptions,
4964
+ };
4965
+ },
4966
+ /**
4967
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
4968
+ * @summary Update argument
4969
+ * @param {string} id
4970
+ * @param {CommandArgumentUpdateDTO} [commandArgumentUpdateDTO] CommandArgumentUpdateDTO
4971
+ * @param {*} [options] Override http request option.
4972
+ * @throws {RequiredError}
4973
+ */
4974
+ commandControllerUpdateArgument: async (id, commandArgumentUpdateDTO, options = {}) => {
4975
+ // verify required parameter 'id' is not null or undefined
4976
+ assertParamExists('commandControllerUpdateArgument', 'id', id);
4977
+ const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4978
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4979
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4980
+ let baseOptions;
4981
+ if (configuration) {
4982
+ baseOptions = configuration.baseOptions;
4983
+ }
4984
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
4985
+ const localVarHeaderParameter = {};
4986
+ const localVarQueryParameter = {};
4987
+ // authentication domainAuth required
4988
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4989
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4990
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4991
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4992
+ localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentUpdateDTO, localVarRequestOptions, configuration);
4993
+ return {
4994
+ url: toPathString(localVarUrlObj),
4995
+ options: localVarRequestOptions,
4996
+ };
4997
+ },
4998
+ };
4999
+ };
5000
+ /**
5001
+ * CommandApi - functional programming interface
5002
+ * @export
5003
+ */
5004
+ export const CommandApiFp = function (configuration) {
5005
+ const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
5006
+ return {
5007
+ /**
5008
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
5009
+ * @summary Create
5010
+ * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
5011
+ * @param {*} [options] Override http request option.
5012
+ * @throws {RequiredError}
5013
+ */
5014
+ async commandControllerCreate(commandCreateDTO, options) {
5015
+ const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
5016
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5017
+ const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreate']?.[localVarOperationServerIndex]?.url;
5018
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5019
+ },
5020
+ /**
5021
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
5022
+ * @summary Create argument
5023
+ * @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
5024
+ * @param {*} [options] Override http request option.
5025
+ * @throws {RequiredError}
5026
+ */
5027
+ async commandControllerCreateArgument(commandArgumentCreateDTO, options) {
5028
+ const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreateArgument(commandArgumentCreateDTO, options);
5029
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5030
+ const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreateArgument']?.[localVarOperationServerIndex]?.url;
5031
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5032
+ },
5033
+ /**
5034
+ * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
5035
+ * @summary Get executions
5036
+ * @param {string} id
5037
+ * @param {any} [success]
5038
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
5039
+ * @param {*} [options] Override http request option.
5040
+ * @throws {RequiredError}
5041
+ */
5042
+ async commandControllerGetExecutions(id, success, eventSearchInputDTO, options) {
5043
+ const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetExecutions(id, success, eventSearchInputDTO, options);
5044
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4556
5045
  const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
4557
5046
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4558
5047
  },
@@ -6059,6 +6548,39 @@ export const DomainApiAxiosParamCreator = function (configuration) {
6059
6548
  options: localVarRequestOptions,
6060
6549
  };
6061
6550
  },
6551
+ /**
6552
+ * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
6553
+ * @summary Create staff-recovery invite link for a domain
6554
+ * @param {string} id
6555
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
6556
+ * @param {*} [options] Override http request option.
6557
+ * @throws {RequiredError}
6558
+ */
6559
+ domainControllerCreateInviteLink: async (id, inviteLinkCreateInputDTO, options = {}) => {
6560
+ // verify required parameter 'id' is not null or undefined
6561
+ assertParamExists('domainControllerCreateInviteLink', 'id', id);
6562
+ const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
6563
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6564
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6565
+ let baseOptions;
6566
+ if (configuration) {
6567
+ baseOptions = configuration.baseOptions;
6568
+ }
6569
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
6570
+ const localVarHeaderParameter = {};
6571
+ const localVarQueryParameter = {};
6572
+ // authentication adminAuth required
6573
+ await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
6574
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6575
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6576
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6577
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
6578
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
6579
+ return {
6580
+ url: toPathString(localVarUrlObj),
6581
+ options: localVarRequestOptions,
6582
+ };
6583
+ },
6062
6584
  /**
6063
6585
  * <br> OperationId: `DomainControllerGetOne`
6064
6586
  * @summary Get one
@@ -6270,6 +6792,20 @@ export const DomainApiFp = function (configuration) {
6270
6792
  const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerCreate']?.[localVarOperationServerIndex]?.url;
6271
6793
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6272
6794
  },
6795
+ /**
6796
+ * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
6797
+ * @summary Create staff-recovery invite link for a domain
6798
+ * @param {string} id
6799
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
6800
+ * @param {*} [options] Override http request option.
6801
+ * @throws {RequiredError}
6802
+ */
6803
+ async domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
6804
+ const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options);
6805
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6806
+ const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
6807
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6808
+ },
6273
6809
  /**
6274
6810
  * <br> OperationId: `DomainControllerGetOne`
6275
6811
  * @summary Get one
@@ -6371,6 +6907,19 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
6371
6907
  .domainControllerCreate(domainCreateInputDTO, options)
6372
6908
  .then((request) => request(axios, basePath));
6373
6909
  },
6910
+ /**
6911
+ * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
6912
+ * @summary Create staff-recovery invite link for a domain
6913
+ * @param {string} id
6914
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
6915
+ * @param {*} [options] Override http request option.
6916
+ * @throws {RequiredError}
6917
+ */
6918
+ domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
6919
+ return localVarFp
6920
+ .domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
6921
+ .then((request) => request(axios, basePath));
6922
+ },
6374
6923
  /**
6375
6924
  * <br> OperationId: `DomainControllerGetOne`
6376
6925
  * @summary Get one
@@ -6461,6 +7010,20 @@ export class DomainApi extends BaseAPI {
6461
7010
  .domainControllerCreate(domainCreateInputDTO, options)
6462
7011
  .then((request) => request(this.axios, this.basePath));
6463
7012
  }
7013
+ /**
7014
+ * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
7015
+ * @summary Create staff-recovery invite link for a domain
7016
+ * @param {string} id
7017
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
7018
+ * @param {*} [options] Override http request option.
7019
+ * @throws {RequiredError}
7020
+ * @memberof DomainApi
7021
+ */
7022
+ domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
7023
+ return DomainApiFp(this.configuration)
7024
+ .domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
7025
+ .then((request) => request(this.axios, this.basePath));
7026
+ }
6464
7027
  /**
6465
7028
  * <br> OperationId: `DomainControllerGetOne`
6466
7029
  * @summary Get one
@@ -6743,6 +7306,64 @@ export const EventApiAxiosParamCreator = function (configuration) {
6743
7306
  options: localVarRequestOptions,
6744
7307
  };
6745
7308
  },
7309
+ /**
7310
+ * Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
7311
+ * @summary Explore events
7312
+ * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
7313
+ * @param {*} [options] Override http request option.
7314
+ * @throws {RequiredError}
7315
+ */
7316
+ eventControllerExplore: async (eventExploreInputDTO, options = {}) => {
7317
+ const localVarPath = `/event/explore`;
7318
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7319
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7320
+ let baseOptions;
7321
+ if (configuration) {
7322
+ baseOptions = configuration.baseOptions;
7323
+ }
7324
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
7325
+ const localVarHeaderParameter = {};
7326
+ const localVarQueryParameter = {};
7327
+ // authentication domainAuth required
7328
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7329
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7330
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7331
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7332
+ localVarRequestOptions.data = serializeDataIfNeeded(eventExploreInputDTO, localVarRequestOptions, configuration);
7333
+ return {
7334
+ url: toPathString(localVarUrlObj),
7335
+ options: localVarRequestOptions,
7336
+ };
7337
+ },
7338
+ /**
7339
+ * Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
7340
+ * @summary Get event volume time-series with optional grouping
7341
+ * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
7342
+ * @param {*} [options] Override http request option.
7343
+ * @throws {RequiredError}
7344
+ */
7345
+ eventControllerExploreVolume: async (eventVolumeInputDTO, options = {}) => {
7346
+ const localVarPath = `/event/explore/volume`;
7347
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7348
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7349
+ let baseOptions;
7350
+ if (configuration) {
7351
+ baseOptions = configuration.baseOptions;
7352
+ }
7353
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
7354
+ const localVarHeaderParameter = {};
7355
+ const localVarQueryParameter = {};
7356
+ // authentication domainAuth required
7357
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7358
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7359
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7360
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7361
+ localVarRequestOptions.data = serializeDataIfNeeded(eventVolumeInputDTO, localVarRequestOptions, configuration);
7362
+ return {
7363
+ url: toPathString(localVarUrlObj),
7364
+ options: localVarRequestOptions,
7365
+ };
7366
+ },
6746
7367
  /**
6747
7368
  * Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
6748
7369
  * @summary Export events to CSV
@@ -6881,6 +7502,32 @@ export const EventApiFp = function (configuration) {
6881
7502
  const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerCreate']?.[localVarOperationServerIndex]?.url;
6882
7503
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6883
7504
  },
7505
+ /**
7506
+ * Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
7507
+ * @summary Explore events
7508
+ * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
7509
+ * @param {*} [options] Override http request option.
7510
+ * @throws {RequiredError}
7511
+ */
7512
+ async eventControllerExplore(eventExploreInputDTO, options) {
7513
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExplore(eventExploreInputDTO, options);
7514
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7515
+ const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerExplore']?.[localVarOperationServerIndex]?.url;
7516
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7517
+ },
7518
+ /**
7519
+ * Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
7520
+ * @summary Get event volume time-series with optional grouping
7521
+ * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
7522
+ * @param {*} [options] Override http request option.
7523
+ * @throws {RequiredError}
7524
+ */
7525
+ async eventControllerExploreVolume(eventVolumeInputDTO, options) {
7526
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExploreVolume(eventVolumeInputDTO, options);
7527
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7528
+ const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerExploreVolume']?.[localVarOperationServerIndex]?.url;
7529
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7530
+ },
6884
7531
  /**
6885
7532
  * Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
6886
7533
  * @summary Export events to CSV
@@ -6953,19 +7600,43 @@ export const EventApiFactory = function (configuration, basePath, axios) {
6953
7600
  return localVarFp.eventControllerCreate(eventCreateDTO, options).then((request) => request(axios, basePath));
6954
7601
  },
6955
7602
  /**
6956
- * Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
6957
- * @summary Export events to CSV
6958
- * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
7603
+ * Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
7604
+ * @summary Explore events
7605
+ * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
6959
7606
  * @param {*} [options] Override http request option.
6960
7607
  * @throws {RequiredError}
6961
7608
  */
6962
- eventControllerExport(eventSearchInputDTO, options) {
6963
- return localVarFp.eventControllerExport(eventSearchInputDTO, options).then((request) => request(axios, basePath));
7609
+ eventControllerExplore(eventExploreInputDTO, options) {
7610
+ return localVarFp
7611
+ .eventControllerExplore(eventExploreInputDTO, options)
7612
+ .then((request) => request(axios, basePath));
6964
7613
  },
6965
7614
  /**
6966
- * Fetches events where cronjob, hook and command failed. Supports all the common query parameters Required permissions: `READ_MODULES`, `READ_EVENTS`<br> OperationId: `EventControllerGetFailedFunctions`
6967
- * @summary Get failed functions
6968
- * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
7615
+ * Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
7616
+ * @summary Get event volume time-series with optional grouping
7617
+ * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
7618
+ * @param {*} [options] Override http request option.
7619
+ * @throws {RequiredError}
7620
+ */
7621
+ eventControllerExploreVolume(eventVolumeInputDTO, options) {
7622
+ return localVarFp
7623
+ .eventControllerExploreVolume(eventVolumeInputDTO, options)
7624
+ .then((request) => request(axios, basePath));
7625
+ },
7626
+ /**
7627
+ * Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
7628
+ * @summary Export events to CSV
7629
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
7630
+ * @param {*} [options] Override http request option.
7631
+ * @throws {RequiredError}
7632
+ */
7633
+ eventControllerExport(eventSearchInputDTO, options) {
7634
+ return localVarFp.eventControllerExport(eventSearchInputDTO, options).then((request) => request(axios, basePath));
7635
+ },
7636
+ /**
7637
+ * Fetches events where cronjob, hook and command failed. Supports all the common query parameters Required permissions: `READ_MODULES`, `READ_EVENTS`<br> OperationId: `EventControllerGetFailedFunctions`
7638
+ * @summary Get failed functions
7639
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
6969
7640
  * @param {*} [options] Override http request option.
6970
7641
  * @throws {RequiredError}
6971
7642
  */
@@ -7016,6 +7687,32 @@ export class EventApi extends BaseAPI {
7016
7687
  .eventControllerCreate(eventCreateDTO, options)
7017
7688
  .then((request) => request(this.axios, this.basePath));
7018
7689
  }
7690
+ /**
7691
+ * Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
7692
+ * @summary Explore events
7693
+ * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
7694
+ * @param {*} [options] Override http request option.
7695
+ * @throws {RequiredError}
7696
+ * @memberof EventApi
7697
+ */
7698
+ eventControllerExplore(eventExploreInputDTO, options) {
7699
+ return EventApiFp(this.configuration)
7700
+ .eventControllerExplore(eventExploreInputDTO, options)
7701
+ .then((request) => request(this.axios, this.basePath));
7702
+ }
7703
+ /**
7704
+ * Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
7705
+ * @summary Get event volume time-series with optional grouping
7706
+ * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
7707
+ * @param {*} [options] Override http request option.
7708
+ * @throws {RequiredError}
7709
+ * @memberof EventApi
7710
+ */
7711
+ eventControllerExploreVolume(eventVolumeInputDTO, options) {
7712
+ return EventApiFp(this.configuration)
7713
+ .eventControllerExploreVolume(eventVolumeInputDTO, options)
7714
+ .then((request) => request(this.axios, this.basePath));
7715
+ }
7019
7716
  /**
7020
7717
  * Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
7021
7718
  * @summary Export events to CSV
@@ -7078,13 +7775,11 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration) {
7078
7775
  /**
7079
7776
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
7080
7777
  * @summary Auth discord
7081
- * @param {string} redirect
7778
+ * @param {string} [redirect]
7082
7779
  * @param {*} [options] Override http request option.
7083
7780
  * @throws {RequiredError}
7084
7781
  */
7085
7782
  externalAuthControllerAuthDiscord: async (redirect, options = {}) => {
7086
- // verify required parameter 'redirect' is not null or undefined
7087
- assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
7088
7783
  const localVarPath = `/auth/discord`;
7089
7784
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7090
7785
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7143,7 +7838,7 @@ export const ExternalAuthApiFp = function (configuration) {
7143
7838
  /**
7144
7839
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
7145
7840
  * @summary Auth discord
7146
- * @param {string} redirect
7841
+ * @param {string} [redirect]
7147
7842
  * @param {*} [options] Override http request option.
7148
7843
  * @throws {RequiredError}
7149
7844
  */
@@ -7178,7 +7873,7 @@ export const ExternalAuthApiFactory = function (configuration, basePath, axios)
7178
7873
  /**
7179
7874
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
7180
7875
  * @summary Auth discord
7181
- * @param {string} redirect
7876
+ * @param {string} [redirect]
7182
7877
  * @param {*} [options] Override http request option.
7183
7878
  * @throws {RequiredError}
7184
7879
  */
@@ -7208,7 +7903,7 @@ export class ExternalAuthApi extends BaseAPI {
7208
7903
  /**
7209
7904
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
7210
7905
  * @summary Auth discord
7211
- * @param {string} redirect
7906
+ * @param {string} [redirect]
7212
7907
  * @param {*} [options] Override http request option.
7213
7908
  * @throws {RequiredError}
7214
7909
  * @memberof ExternalAuthApi
@@ -9990,29 +10685,116 @@ export class HookApi extends BaseAPI {
9990
10685
  }
9991
10686
  }
9992
10687
  /**
9993
- * ItemApi - axios parameter creator
10688
+ * InviteLinkApi - axios parameter creator
9994
10689
  * @export
9995
10690
  */
9996
- export const ItemApiAxiosParamCreator = function (configuration) {
10691
+ export const InviteLinkApiAxiosParamCreator = function (configuration) {
9997
10692
  return {
9998
10693
  /**
9999
- * Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
10000
- * @summary Find one
10694
+ * Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
10695
+ * @summary Create invite link
10696
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
10697
+ * @param {*} [options] Override http request option.
10698
+ * @throws {RequiredError}
10699
+ */
10700
+ inviteLinkControllerCreate: async (inviteLinkCreateInputDTO, options = {}) => {
10701
+ const localVarPath = `/invite-link`;
10702
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10703
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10704
+ let baseOptions;
10705
+ if (configuration) {
10706
+ baseOptions = configuration.baseOptions;
10707
+ }
10708
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
10709
+ const localVarHeaderParameter = {};
10710
+ const localVarQueryParameter = {};
10711
+ // authentication domainAuth required
10712
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10713
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10714
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10715
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10716
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
10717
+ return {
10718
+ url: toPathString(localVarUrlObj),
10719
+ options: localVarRequestOptions,
10720
+ };
10721
+ },
10722
+ /**
10723
+ * <br> OperationId: `InviteLinkControllerPreview`
10724
+ * @summary Preview
10725
+ * @param {string} token
10726
+ * @param {*} [options] Override http request option.
10727
+ * @throws {RequiredError}
10728
+ */
10729
+ inviteLinkControllerPreview: async (token, options = {}) => {
10730
+ // verify required parameter 'token' is not null or undefined
10731
+ assertParamExists('inviteLinkControllerPreview', 'token', token);
10732
+ const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
10733
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10734
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10735
+ let baseOptions;
10736
+ if (configuration) {
10737
+ baseOptions = configuration.baseOptions;
10738
+ }
10739
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
10740
+ const localVarHeaderParameter = {};
10741
+ const localVarQueryParameter = {};
10742
+ // authentication domainAuth required
10743
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10744
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10745
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10746
+ return {
10747
+ url: toPathString(localVarUrlObj),
10748
+ options: localVarRequestOptions,
10749
+ };
10750
+ },
10751
+ /**
10752
+ * <br> OperationId: `InviteLinkControllerRedeem`
10753
+ * @summary Redeem
10754
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
10755
+ * @param {*} [options] Override http request option.
10756
+ * @throws {RequiredError}
10757
+ */
10758
+ inviteLinkControllerRedeem: async (redeemInputDTO, options = {}) => {
10759
+ const localVarPath = `/invite-link/redeem`;
10760
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10761
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10762
+ let baseOptions;
10763
+ if (configuration) {
10764
+ baseOptions = configuration.baseOptions;
10765
+ }
10766
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
10767
+ const localVarHeaderParameter = {};
10768
+ const localVarQueryParameter = {};
10769
+ // authentication domainAuth required
10770
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10771
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10772
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10773
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10774
+ localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
10775
+ return {
10776
+ url: toPathString(localVarUrlObj),
10777
+ options: localVarRequestOptions,
10778
+ };
10779
+ },
10780
+ /**
10781
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
10782
+ * @summary Revoke
10001
10783
  * @param {string} id
10002
10784
  * @param {*} [options] Override http request option.
10003
10785
  * @throws {RequiredError}
10004
10786
  */
10005
- itemControllerFindOne: async (id, options = {}) => {
10787
+ inviteLinkControllerRevoke: async (id, options = {}) => {
10006
10788
  // verify required parameter 'id' is not null or undefined
10007
- assertParamExists('itemControllerFindOne', 'id', id);
10008
- const localVarPath = `/items/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10789
+ assertParamExists('inviteLinkControllerRevoke', 'id', id);
10790
+ const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10009
10791
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10010
10792
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10011
10793
  let baseOptions;
10012
10794
  if (configuration) {
10013
10795
  baseOptions = configuration.baseOptions;
10014
10796
  }
10015
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
10797
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
10016
10798
  const localVarHeaderParameter = {};
10017
10799
  const localVarQueryParameter = {};
10018
10800
  // authentication domainAuth required
@@ -10025,14 +10807,14 @@ export const ItemApiAxiosParamCreator = function (configuration) {
10025
10807
  };
10026
10808
  },
10027
10809
  /**
10028
- * Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
10810
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
10029
10811
  * @summary Search
10030
- * @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
10812
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
10031
10813
  * @param {*} [options] Override http request option.
10032
10814
  * @throws {RequiredError}
10033
10815
  */
10034
- itemControllerSearch: async (itemSearchInputDTO, options = {}) => {
10035
- const localVarPath = `/items/search`;
10816
+ inviteLinkControllerSearch: async (inviteLinkSearchInputDTO, options = {}) => {
10817
+ const localVarPath = `/invite-link/search`;
10036
10818
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10037
10819
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10038
10820
  let baseOptions;
@@ -10047,7 +10829,7 @@ export const ItemApiAxiosParamCreator = function (configuration) {
10047
10829
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10048
10830
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10049
10831
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10050
- localVarRequestOptions.data = serializeDataIfNeeded(itemSearchInputDTO, localVarRequestOptions, configuration);
10832
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkSearchInputDTO, localVarRequestOptions, configuration);
10051
10833
  return {
10052
10834
  url: toPathString(localVarUrlObj),
10053
10835
  options: localVarRequestOptions,
@@ -10056,117 +10838,232 @@ export const ItemApiAxiosParamCreator = function (configuration) {
10056
10838
  };
10057
10839
  };
10058
10840
  /**
10059
- * ItemApi - functional programming interface
10841
+ * InviteLinkApi - functional programming interface
10060
10842
  * @export
10061
10843
  */
10062
- export const ItemApiFp = function (configuration) {
10063
- const localVarAxiosParamCreator = ItemApiAxiosParamCreator(configuration);
10844
+ export const InviteLinkApiFp = function (configuration) {
10845
+ const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
10064
10846
  return {
10065
10847
  /**
10066
- * Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
10067
- * @summary Find one
10848
+ * Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
10849
+ * @summary Create invite link
10850
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
10851
+ * @param {*} [options] Override http request option.
10852
+ * @throws {RequiredError}
10853
+ */
10854
+ async inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
10855
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options);
10856
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10857
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
10858
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10859
+ },
10860
+ /**
10861
+ * <br> OperationId: `InviteLinkControllerPreview`
10862
+ * @summary Preview
10863
+ * @param {string} token
10864
+ * @param {*} [options] Override http request option.
10865
+ * @throws {RequiredError}
10866
+ */
10867
+ async inviteLinkControllerPreview(token, options) {
10868
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
10869
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10870
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
10871
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10872
+ },
10873
+ /**
10874
+ * <br> OperationId: `InviteLinkControllerRedeem`
10875
+ * @summary Redeem
10876
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
10877
+ * @param {*} [options] Override http request option.
10878
+ * @throws {RequiredError}
10879
+ */
10880
+ async inviteLinkControllerRedeem(redeemInputDTO, options) {
10881
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
10882
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10883
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
10884
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10885
+ },
10886
+ /**
10887
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
10888
+ * @summary Revoke
10068
10889
  * @param {string} id
10069
10890
  * @param {*} [options] Override http request option.
10070
10891
  * @throws {RequiredError}
10071
10892
  */
10072
- async itemControllerFindOne(id, options) {
10073
- const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerFindOne(id, options);
10893
+ async inviteLinkControllerRevoke(id, options) {
10894
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
10074
10895
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10075
- const localVarOperationServerBasePath = operationServerMap['ItemApi.itemControllerFindOne']?.[localVarOperationServerIndex]?.url;
10896
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
10076
10897
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10077
10898
  },
10078
10899
  /**
10079
- * Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
10900
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
10080
10901
  * @summary Search
10081
- * @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
10902
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
10082
10903
  * @param {*} [options] Override http request option.
10083
10904
  * @throws {RequiredError}
10084
10905
  */
10085
- async itemControllerSearch(itemSearchInputDTO, options) {
10086
- const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerSearch(itemSearchInputDTO, options);
10906
+ async inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
10907
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options);
10087
10908
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10088
- const localVarOperationServerBasePath = operationServerMap['ItemApi.itemControllerSearch']?.[localVarOperationServerIndex]?.url;
10909
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
10089
10910
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10090
10911
  },
10091
10912
  };
10092
10913
  };
10093
10914
  /**
10094
- * ItemApi - factory interface
10915
+ * InviteLinkApi - factory interface
10095
10916
  * @export
10096
10917
  */
10097
- export const ItemApiFactory = function (configuration, basePath, axios) {
10098
- const localVarFp = ItemApiFp(configuration);
10918
+ export const InviteLinkApiFactory = function (configuration, basePath, axios) {
10919
+ const localVarFp = InviteLinkApiFp(configuration);
10099
10920
  return {
10100
10921
  /**
10101
- * Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
10102
- * @summary Find one
10922
+ * Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
10923
+ * @summary Create invite link
10924
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
10925
+ * @param {*} [options] Override http request option.
10926
+ * @throws {RequiredError}
10927
+ */
10928
+ inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
10929
+ return localVarFp
10930
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
10931
+ .then((request) => request(axios, basePath));
10932
+ },
10933
+ /**
10934
+ * <br> OperationId: `InviteLinkControllerPreview`
10935
+ * @summary Preview
10936
+ * @param {string} token
10937
+ * @param {*} [options] Override http request option.
10938
+ * @throws {RequiredError}
10939
+ */
10940
+ inviteLinkControllerPreview(token, options) {
10941
+ return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
10942
+ },
10943
+ /**
10944
+ * <br> OperationId: `InviteLinkControllerRedeem`
10945
+ * @summary Redeem
10946
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
10947
+ * @param {*} [options] Override http request option.
10948
+ * @throws {RequiredError}
10949
+ */
10950
+ inviteLinkControllerRedeem(redeemInputDTO, options) {
10951
+ return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
10952
+ },
10953
+ /**
10954
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
10955
+ * @summary Revoke
10103
10956
  * @param {string} id
10104
10957
  * @param {*} [options] Override http request option.
10105
10958
  * @throws {RequiredError}
10106
10959
  */
10107
- itemControllerFindOne(id, options) {
10108
- return localVarFp.itemControllerFindOne(id, options).then((request) => request(axios, basePath));
10960
+ inviteLinkControllerRevoke(id, options) {
10961
+ return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
10109
10962
  },
10110
10963
  /**
10111
- * Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
10964
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
10112
10965
  * @summary Search
10113
- * @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
10966
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
10114
10967
  * @param {*} [options] Override http request option.
10115
10968
  * @throws {RequiredError}
10116
10969
  */
10117
- itemControllerSearch(itemSearchInputDTO, options) {
10118
- return localVarFp.itemControllerSearch(itemSearchInputDTO, options).then((request) => request(axios, basePath));
10970
+ inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
10971
+ return localVarFp
10972
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
10973
+ .then((request) => request(axios, basePath));
10119
10974
  },
10120
10975
  };
10121
10976
  };
10122
10977
  /**
10123
- * ItemApi - object-oriented interface
10978
+ * InviteLinkApi - object-oriented interface
10124
10979
  * @export
10125
- * @class ItemApi
10980
+ * @class InviteLinkApi
10126
10981
  * @extends {BaseAPI}
10127
10982
  */
10128
- export class ItemApi extends BaseAPI {
10983
+ export class InviteLinkApi extends BaseAPI {
10129
10984
  /**
10130
- * Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
10131
- * @summary Find one
10985
+ * Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
10986
+ * @summary Create invite link
10987
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
10988
+ * @param {*} [options] Override http request option.
10989
+ * @throws {RequiredError}
10990
+ * @memberof InviteLinkApi
10991
+ */
10992
+ inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
10993
+ return InviteLinkApiFp(this.configuration)
10994
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
10995
+ .then((request) => request(this.axios, this.basePath));
10996
+ }
10997
+ /**
10998
+ * <br> OperationId: `InviteLinkControllerPreview`
10999
+ * @summary Preview
11000
+ * @param {string} token
11001
+ * @param {*} [options] Override http request option.
11002
+ * @throws {RequiredError}
11003
+ * @memberof InviteLinkApi
11004
+ */
11005
+ inviteLinkControllerPreview(token, options) {
11006
+ return InviteLinkApiFp(this.configuration)
11007
+ .inviteLinkControllerPreview(token, options)
11008
+ .then((request) => request(this.axios, this.basePath));
11009
+ }
11010
+ /**
11011
+ * <br> OperationId: `InviteLinkControllerRedeem`
11012
+ * @summary Redeem
11013
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
11014
+ * @param {*} [options] Override http request option.
11015
+ * @throws {RequiredError}
11016
+ * @memberof InviteLinkApi
11017
+ */
11018
+ inviteLinkControllerRedeem(redeemInputDTO, options) {
11019
+ return InviteLinkApiFp(this.configuration)
11020
+ .inviteLinkControllerRedeem(redeemInputDTO, options)
11021
+ .then((request) => request(this.axios, this.basePath));
11022
+ }
11023
+ /**
11024
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
11025
+ * @summary Revoke
10132
11026
  * @param {string} id
10133
11027
  * @param {*} [options] Override http request option.
10134
11028
  * @throws {RequiredError}
10135
- * @memberof ItemApi
11029
+ * @memberof InviteLinkApi
10136
11030
  */
10137
- itemControllerFindOne(id, options) {
10138
- return ItemApiFp(this.configuration)
10139
- .itemControllerFindOne(id, options)
11031
+ inviteLinkControllerRevoke(id, options) {
11032
+ return InviteLinkApiFp(this.configuration)
11033
+ .inviteLinkControllerRevoke(id, options)
10140
11034
  .then((request) => request(this.axios, this.basePath));
10141
11035
  }
10142
11036
  /**
10143
- * Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
11037
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
10144
11038
  * @summary Search
10145
- * @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
11039
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
10146
11040
  * @param {*} [options] Override http request option.
10147
11041
  * @throws {RequiredError}
10148
- * @memberof ItemApi
11042
+ * @memberof InviteLinkApi
10149
11043
  */
10150
- itemControllerSearch(itemSearchInputDTO, options) {
10151
- return ItemApiFp(this.configuration)
10152
- .itemControllerSearch(itemSearchInputDTO, options)
11044
+ inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
11045
+ return InviteLinkApiFp(this.configuration)
11046
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
10153
11047
  .then((request) => request(this.axios, this.basePath));
10154
11048
  }
10155
11049
  }
10156
11050
  /**
10157
- * MetaApi - axios parameter creator
11051
+ * ItemApi - axios parameter creator
10158
11052
  * @export
10159
11053
  */
10160
- export const MetaApiAxiosParamCreator = function (configuration) {
11054
+ export const ItemApiAxiosParamCreator = function (configuration) {
10161
11055
  return {
10162
11056
  /**
10163
- * <br> OperationId: `MetaGetHealth`
10164
- * @summary Get health
11057
+ * Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
11058
+ * @summary Find one
11059
+ * @param {string} id
10165
11060
  * @param {*} [options] Override http request option.
10166
11061
  * @throws {RequiredError}
10167
11062
  */
10168
- metaGetHealth: async (options = {}) => {
10169
- const localVarPath = `/healthz`;
11063
+ itemControllerFindOne: async (id, options = {}) => {
11064
+ // verify required parameter 'id' is not null or undefined
11065
+ assertParamExists('itemControllerFindOne', 'id', id);
11066
+ const localVarPath = `/items/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10170
11067
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10171
11068
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10172
11069
  let baseOptions;
@@ -10176,6 +11073,7 @@ export const MetaApiAxiosParamCreator = function (configuration) {
10176
11073
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
10177
11074
  const localVarHeaderParameter = {};
10178
11075
  const localVarQueryParameter = {};
11076
+ // authentication domainAuth required
10179
11077
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10180
11078
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10181
11079
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -10185,33 +11083,218 @@ export const MetaApiAxiosParamCreator = function (configuration) {
10185
11083
  };
10186
11084
  },
10187
11085
  /**
10188
- * <br> OperationId: `MetaGetMetrics`
10189
- * @summary Get metrics
11086
+ * Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
11087
+ * @summary Search
11088
+ * @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
10190
11089
  * @param {*} [options] Override http request option.
10191
11090
  * @throws {RequiredError}
10192
11091
  */
10193
- metaGetMetrics: async (options = {}) => {
10194
- const localVarPath = `/metrics`;
11092
+ itemControllerSearch: async (itemSearchInputDTO, options = {}) => {
11093
+ const localVarPath = `/items/search`;
10195
11094
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10196
11095
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10197
11096
  let baseOptions;
10198
11097
  if (configuration) {
10199
11098
  baseOptions = configuration.baseOptions;
10200
11099
  }
10201
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
11100
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
10202
11101
  const localVarHeaderParameter = {};
10203
11102
  const localVarQueryParameter = {};
11103
+ // authentication domainAuth required
11104
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10204
11105
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10205
11106
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10206
11107
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11108
+ localVarRequestOptions.data = serializeDataIfNeeded(itemSearchInputDTO, localVarRequestOptions, configuration);
10207
11109
  return {
10208
11110
  url: toPathString(localVarUrlObj),
10209
11111
  options: localVarRequestOptions,
10210
11112
  };
10211
11113
  },
11114
+ };
11115
+ };
11116
+ /**
11117
+ * ItemApi - functional programming interface
11118
+ * @export
11119
+ */
11120
+ export const ItemApiFp = function (configuration) {
11121
+ const localVarAxiosParamCreator = ItemApiAxiosParamCreator(configuration);
11122
+ return {
10212
11123
  /**
10213
- * <br> OperationId: `MetaGetOpenApi`
10214
- * @summary Get open api
11124
+ * Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
11125
+ * @summary Find one
11126
+ * @param {string} id
11127
+ * @param {*} [options] Override http request option.
11128
+ * @throws {RequiredError}
11129
+ */
11130
+ async itemControllerFindOne(id, options) {
11131
+ const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerFindOne(id, options);
11132
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11133
+ const localVarOperationServerBasePath = operationServerMap['ItemApi.itemControllerFindOne']?.[localVarOperationServerIndex]?.url;
11134
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11135
+ },
11136
+ /**
11137
+ * Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
11138
+ * @summary Search
11139
+ * @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
11140
+ * @param {*} [options] Override http request option.
11141
+ * @throws {RequiredError}
11142
+ */
11143
+ async itemControllerSearch(itemSearchInputDTO, options) {
11144
+ const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerSearch(itemSearchInputDTO, options);
11145
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11146
+ const localVarOperationServerBasePath = operationServerMap['ItemApi.itemControllerSearch']?.[localVarOperationServerIndex]?.url;
11147
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11148
+ },
11149
+ };
11150
+ };
11151
+ /**
11152
+ * ItemApi - factory interface
11153
+ * @export
11154
+ */
11155
+ export const ItemApiFactory = function (configuration, basePath, axios) {
11156
+ const localVarFp = ItemApiFp(configuration);
11157
+ return {
11158
+ /**
11159
+ * Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
11160
+ * @summary Find one
11161
+ * @param {string} id
11162
+ * @param {*} [options] Override http request option.
11163
+ * @throws {RequiredError}
11164
+ */
11165
+ itemControllerFindOne(id, options) {
11166
+ return localVarFp.itemControllerFindOne(id, options).then((request) => request(axios, basePath));
11167
+ },
11168
+ /**
11169
+ * Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
11170
+ * @summary Search
11171
+ * @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
11172
+ * @param {*} [options] Override http request option.
11173
+ * @throws {RequiredError}
11174
+ */
11175
+ itemControllerSearch(itemSearchInputDTO, options) {
11176
+ return localVarFp.itemControllerSearch(itemSearchInputDTO, options).then((request) => request(axios, basePath));
11177
+ },
11178
+ };
11179
+ };
11180
+ /**
11181
+ * ItemApi - object-oriented interface
11182
+ * @export
11183
+ * @class ItemApi
11184
+ * @extends {BaseAPI}
11185
+ */
11186
+ export class ItemApi extends BaseAPI {
11187
+ /**
11188
+ * Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
11189
+ * @summary Find one
11190
+ * @param {string} id
11191
+ * @param {*} [options] Override http request option.
11192
+ * @throws {RequiredError}
11193
+ * @memberof ItemApi
11194
+ */
11195
+ itemControllerFindOne(id, options) {
11196
+ return ItemApiFp(this.configuration)
11197
+ .itemControllerFindOne(id, options)
11198
+ .then((request) => request(this.axios, this.basePath));
11199
+ }
11200
+ /**
11201
+ * Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
11202
+ * @summary Search
11203
+ * @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
11204
+ * @param {*} [options] Override http request option.
11205
+ * @throws {RequiredError}
11206
+ * @memberof ItemApi
11207
+ */
11208
+ itemControllerSearch(itemSearchInputDTO, options) {
11209
+ return ItemApiFp(this.configuration)
11210
+ .itemControllerSearch(itemSearchInputDTO, options)
11211
+ .then((request) => request(this.axios, this.basePath));
11212
+ }
11213
+ }
11214
+ /**
11215
+ * MetaApi - axios parameter creator
11216
+ * @export
11217
+ */
11218
+ export const MetaApiAxiosParamCreator = function (configuration) {
11219
+ return {
11220
+ /**
11221
+ * <br> OperationId: `MetaGetHealth`
11222
+ * @summary Get health
11223
+ * @param {*} [options] Override http request option.
11224
+ * @throws {RequiredError}
11225
+ */
11226
+ metaGetHealth: async (options = {}) => {
11227
+ const localVarPath = `/healthz`;
11228
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11229
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11230
+ let baseOptions;
11231
+ if (configuration) {
11232
+ baseOptions = configuration.baseOptions;
11233
+ }
11234
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
11235
+ const localVarHeaderParameter = {};
11236
+ const localVarQueryParameter = {};
11237
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11238
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11239
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11240
+ return {
11241
+ url: toPathString(localVarUrlObj),
11242
+ options: localVarRequestOptions,
11243
+ };
11244
+ },
11245
+ /**
11246
+ * <br> OperationId: `MetaGetLiveness`
11247
+ * @summary Get liveness
11248
+ * @param {*} [options] Override http request option.
11249
+ * @throws {RequiredError}
11250
+ */
11251
+ metaGetLiveness: async (options = {}) => {
11252
+ const localVarPath = `/livez`;
11253
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11254
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11255
+ let baseOptions;
11256
+ if (configuration) {
11257
+ baseOptions = configuration.baseOptions;
11258
+ }
11259
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
11260
+ const localVarHeaderParameter = {};
11261
+ const localVarQueryParameter = {};
11262
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11263
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11264
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11265
+ return {
11266
+ url: toPathString(localVarUrlObj),
11267
+ options: localVarRequestOptions,
11268
+ };
11269
+ },
11270
+ /**
11271
+ * <br> OperationId: `MetaGetMetrics`
11272
+ * @summary Get metrics
11273
+ * @param {*} [options] Override http request option.
11274
+ * @throws {RequiredError}
11275
+ */
11276
+ metaGetMetrics: async (options = {}) => {
11277
+ const localVarPath = `/metrics`;
11278
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11279
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11280
+ let baseOptions;
11281
+ if (configuration) {
11282
+ baseOptions = configuration.baseOptions;
11283
+ }
11284
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
11285
+ const localVarHeaderParameter = {};
11286
+ const localVarQueryParameter = {};
11287
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11288
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11289
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11290
+ return {
11291
+ url: toPathString(localVarUrlObj),
11292
+ options: localVarRequestOptions,
11293
+ };
11294
+ },
11295
+ /**
11296
+ * <br> OperationId: `MetaGetOpenApi`
11297
+ * @summary Get open api
10215
11298
  * @param {*} [options] Override http request option.
10216
11299
  * @throws {RequiredError}
10217
11300
  */
@@ -10330,6 +11413,18 @@ export const MetaApiFp = function (configuration) {
10330
11413
  const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetHealth']?.[localVarOperationServerIndex]?.url;
10331
11414
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10332
11415
  },
11416
+ /**
11417
+ * <br> OperationId: `MetaGetLiveness`
11418
+ * @summary Get liveness
11419
+ * @param {*} [options] Override http request option.
11420
+ * @throws {RequiredError}
11421
+ */
11422
+ async metaGetLiveness(options) {
11423
+ const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
11424
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11425
+ const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
11426
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11427
+ },
10333
11428
  /**
10334
11429
  * <br> OperationId: `MetaGetMetrics`
10335
11430
  * @summary Get metrics
@@ -10408,6 +11503,15 @@ export const MetaApiFactory = function (configuration, basePath, axios) {
10408
11503
  metaGetHealth(options) {
10409
11504
  return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
10410
11505
  },
11506
+ /**
11507
+ * <br> OperationId: `MetaGetLiveness`
11508
+ * @summary Get liveness
11509
+ * @param {*} [options] Override http request option.
11510
+ * @throws {RequiredError}
11511
+ */
11512
+ metaGetLiveness(options) {
11513
+ return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
11514
+ },
10411
11515
  /**
10412
11516
  * <br> OperationId: `MetaGetMetrics`
10413
11517
  * @summary Get metrics
@@ -10474,6 +11578,18 @@ export class MetaApi extends BaseAPI {
10474
11578
  .metaGetHealth(options)
10475
11579
  .then((request) => request(this.axios, this.basePath));
10476
11580
  }
11581
+ /**
11582
+ * <br> OperationId: `MetaGetLiveness`
11583
+ * @summary Get liveness
11584
+ * @param {*} [options] Override http request option.
11585
+ * @throws {RequiredError}
11586
+ * @memberof MetaApi
11587
+ */
11588
+ metaGetLiveness(options) {
11589
+ return MetaApiFp(this.configuration)
11590
+ .metaGetLiveness(options)
11591
+ .then((request) => request(this.axios, this.basePath));
11592
+ }
10477
11593
  /**
10478
11594
  * <br> OperationId: `MetaGetMetrics`
10479
11595
  * @summary Get metrics
@@ -11720,6 +12836,38 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
11720
12836
  options: localVarRequestOptions,
11721
12837
  };
11722
12838
  },
12839
+ /**
12840
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
12841
+ * @summary Bulk assign role
12842
+ * @param {string} roleId
12843
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
12844
+ * @param {*} [options] Override http request option.
12845
+ * @throws {RequiredError}
12846
+ */
12847
+ playerControllerBulkAssignRole: async (roleId, playerBulkAssignRoleInputDTO, options = {}) => {
12848
+ // verify required parameter 'roleId' is not null or undefined
12849
+ assertParamExists('playerControllerBulkAssignRole', 'roleId', roleId);
12850
+ const localVarPath = `/player/role/{roleId}`.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
12851
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12852
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12853
+ let baseOptions;
12854
+ if (configuration) {
12855
+ baseOptions = configuration.baseOptions;
12856
+ }
12857
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
12858
+ const localVarHeaderParameter = {};
12859
+ const localVarQueryParameter = {};
12860
+ // authentication domainAuth required
12861
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12862
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12863
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12864
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12865
+ localVarRequestOptions.data = serializeDataIfNeeded(playerBulkAssignRoleInputDTO, localVarRequestOptions, configuration);
12866
+ return {
12867
+ url: toPathString(localVarUrlObj),
12868
+ options: localVarRequestOptions,
12869
+ };
12870
+ },
11723
12871
  /**
11724
12872
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
11725
12873
  * @summary Bulk delete
@@ -11989,6 +13137,20 @@ export const PlayerApiFp = function (configuration) {
11989
13137
  const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerAssignRole']?.[localVarOperationServerIndex]?.url;
11990
13138
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11991
13139
  },
13140
+ /**
13141
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
13142
+ * @summary Bulk assign role
13143
+ * @param {string} roleId
13144
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
13145
+ * @param {*} [options] Override http request option.
13146
+ * @throws {RequiredError}
13147
+ */
13148
+ async playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
13149
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options);
13150
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13151
+ const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerBulkAssignRole']?.[localVarOperationServerIndex]?.url;
13152
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13153
+ },
11992
13154
  /**
11993
13155
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
11994
13156
  * @summary Bulk delete
@@ -12142,6 +13304,19 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
12142
13304
  .playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
12143
13305
  .then((request) => request(axios, basePath));
12144
13306
  },
13307
+ /**
13308
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
13309
+ * @summary Bulk assign role
13310
+ * @param {string} roleId
13311
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
13312
+ * @param {*} [options] Override http request option.
13313
+ * @throws {RequiredError}
13314
+ */
13315
+ playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
13316
+ return localVarFp
13317
+ .playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
13318
+ .then((request) => request(axios, basePath));
13319
+ },
12145
13320
  /**
12146
13321
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
12147
13322
  * @summary Bulk delete
@@ -12299,6 +13474,20 @@ export class PlayerApi extends BaseAPI {
12299
13474
  .playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
12300
13475
  .then((request) => request(this.axios, this.basePath));
12301
13476
  }
13477
+ /**
13478
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
13479
+ * @summary Bulk assign role
13480
+ * @param {string} roleId
13481
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
13482
+ * @param {*} [options] Override http request option.
13483
+ * @throws {RequiredError}
13484
+ * @memberof PlayerApi
13485
+ */
13486
+ playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
13487
+ return PlayerApiFp(this.configuration)
13488
+ .playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
13489
+ .then((request) => request(this.axios, this.basePath));
13490
+ }
12302
13491
  /**
12303
13492
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
12304
13493
  * @summary Bulk delete
@@ -12423,24 +13612,24 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
12423
13612
  };
12424
13613
  },
12425
13614
  /**
12426
- * Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
12427
- * @summary Bulk delete
13615
+ * Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
13616
+ * @summary Bulk add currency
12428
13617
  * @param {string} gameServerId
12429
- * @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
13618
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
12430
13619
  * @param {*} [options] Override http request option.
12431
13620
  * @throws {RequiredError}
12432
13621
  */
12433
- playerOnGameServerControllerBulkDelete: async (gameServerId, pogBulkDeleteInputDTO, options = {}) => {
13622
+ playerOnGameServerControllerBulkAddCurrency: async (gameServerId, pogBulkAddCurrencyInputDTO, options = {}) => {
12434
13623
  // verify required parameter 'gameServerId' is not null or undefined
12435
- assertParamExists('playerOnGameServerControllerBulkDelete', 'gameServerId', gameServerId);
12436
- const localVarPath = `/gameserver/{gameServerId}/player`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
13624
+ assertParamExists('playerOnGameServerControllerBulkAddCurrency', 'gameServerId', gameServerId);
13625
+ const localVarPath = `/gameserver/{gameServerId}/addCurrency`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
12437
13626
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12438
13627
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12439
13628
  let baseOptions;
12440
13629
  if (configuration) {
12441
13630
  baseOptions = configuration.baseOptions;
12442
13631
  }
12443
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
13632
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
12444
13633
  const localVarHeaderParameter = {};
12445
13634
  const localVarQueryParameter = {};
12446
13635
  // authentication domainAuth required
@@ -12448,18 +13637,50 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
12448
13637
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12449
13638
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12450
13639
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12451
- localVarRequestOptions.data = serializeDataIfNeeded(pogBulkDeleteInputDTO, localVarRequestOptions, configuration);
13640
+ localVarRequestOptions.data = serializeDataIfNeeded(pogBulkAddCurrencyInputDTO, localVarRequestOptions, configuration);
12452
13641
  return {
12453
13642
  url: toPathString(localVarUrlObj),
12454
13643
  options: localVarRequestOptions,
12455
13644
  };
12456
13645
  },
12457
13646
  /**
12458
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
12459
- * @summary Deduct currency
13647
+ * Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
13648
+ * @summary Bulk delete
12460
13649
  * @param {string} gameServerId
12461
- * @param {string} playerId
12462
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13650
+ * @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
13651
+ * @param {*} [options] Override http request option.
13652
+ * @throws {RequiredError}
13653
+ */
13654
+ playerOnGameServerControllerBulkDelete: async (gameServerId, pogBulkDeleteInputDTO, options = {}) => {
13655
+ // verify required parameter 'gameServerId' is not null or undefined
13656
+ assertParamExists('playerOnGameServerControllerBulkDelete', 'gameServerId', gameServerId);
13657
+ const localVarPath = `/gameserver/{gameServerId}/player`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
13658
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13659
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13660
+ let baseOptions;
13661
+ if (configuration) {
13662
+ baseOptions = configuration.baseOptions;
13663
+ }
13664
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
13665
+ const localVarHeaderParameter = {};
13666
+ const localVarQueryParameter = {};
13667
+ // authentication domainAuth required
13668
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13669
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13670
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13671
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13672
+ localVarRequestOptions.data = serializeDataIfNeeded(pogBulkDeleteInputDTO, localVarRequestOptions, configuration);
13673
+ return {
13674
+ url: toPathString(localVarUrlObj),
13675
+ options: localVarRequestOptions,
13676
+ };
13677
+ },
13678
+ /**
13679
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
13680
+ * @summary Deduct currency
13681
+ * @param {string} gameServerId
13682
+ * @param {string} playerId
13683
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
12463
13684
  * @param {*} [options] Override http request option.
12464
13685
  * @throws {RequiredError}
12465
13686
  */
@@ -12619,48 +13840,611 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
12619
13840
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12620
13841
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12621
13842
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12622
- localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSetCurrencyInputDTO, localVarRequestOptions, configuration);
13843
+ localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSetCurrencyInputDTO, localVarRequestOptions, configuration);
13844
+ return {
13845
+ url: toPathString(localVarUrlObj),
13846
+ options: localVarRequestOptions,
13847
+ };
13848
+ },
13849
+ /**
13850
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
13851
+ * @summary Transact between players
13852
+ * @param {string} gameServerId
13853
+ * @param {string} sender
13854
+ * @param {string} receiver
13855
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13856
+ * @param {*} [options] Override http request option.
13857
+ * @throws {RequiredError}
13858
+ */
13859
+ playerOnGameServerControllerTransactBetweenPlayers: async (gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options = {}) => {
13860
+ // verify required parameter 'gameServerId' is not null or undefined
13861
+ assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'gameServerId', gameServerId);
13862
+ // verify required parameter 'sender' is not null or undefined
13863
+ assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'sender', sender);
13864
+ // verify required parameter 'receiver' is not null or undefined
13865
+ assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'receiver', receiver);
13866
+ const localVarPath = `/gameserver/{gameServerId}/player/{sender}/{receiver}/transfer`
13867
+ .replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)))
13868
+ .replace(`{${'sender'}}`, encodeURIComponent(String(sender)))
13869
+ .replace(`{${'receiver'}}`, encodeURIComponent(String(receiver)));
13870
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13871
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13872
+ let baseOptions;
13873
+ if (configuration) {
13874
+ baseOptions = configuration.baseOptions;
13875
+ }
13876
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
13877
+ const localVarHeaderParameter = {};
13878
+ const localVarQueryParameter = {};
13879
+ // authentication domainAuth required
13880
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13881
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13882
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13883
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13884
+ localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSetCurrencyInputDTO, localVarRequestOptions, configuration);
13885
+ return {
13886
+ url: toPathString(localVarUrlObj),
13887
+ options: localVarRequestOptions,
13888
+ };
13889
+ },
13890
+ };
13891
+ };
13892
+ /**
13893
+ * PlayerOnGameServerApi - functional programming interface
13894
+ * @export
13895
+ */
13896
+ export const PlayerOnGameServerApiFp = function (configuration) {
13897
+ const localVarAxiosParamCreator = PlayerOnGameServerApiAxiosParamCreator(configuration);
13898
+ return {
13899
+ /**
13900
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
13901
+ * @summary Add currency
13902
+ * @param {string} gameServerId
13903
+ * @param {string} playerId
13904
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13905
+ * @param {*} [options] Override http request option.
13906
+ * @throws {RequiredError}
13907
+ */
13908
+ async playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
13909
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
13910
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13911
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[localVarOperationServerIndex]?.url;
13912
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13913
+ },
13914
+ /**
13915
+ * Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
13916
+ * @summary Bulk add currency
13917
+ * @param {string} gameServerId
13918
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
13919
+ * @param {*} [options] Override http request option.
13920
+ * @throws {RequiredError}
13921
+ */
13922
+ async playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
13923
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options);
13924
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13925
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkAddCurrency']?.[localVarOperationServerIndex]?.url;
13926
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13927
+ },
13928
+ /**
13929
+ * Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
13930
+ * @summary Bulk delete
13931
+ * @param {string} gameServerId
13932
+ * @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
13933
+ * @param {*} [options] Override http request option.
13934
+ * @throws {RequiredError}
13935
+ */
13936
+ async playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
13937
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options);
13938
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13939
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
13940
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13941
+ },
13942
+ /**
13943
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
13944
+ * @summary Deduct currency
13945
+ * @param {string} gameServerId
13946
+ * @param {string} playerId
13947
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13948
+ * @param {*} [options] Override http request option.
13949
+ * @throws {RequiredError}
13950
+ */
13951
+ async playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
13952
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
13953
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13954
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDeductCurrency']?.[localVarOperationServerIndex]?.url;
13955
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13956
+ },
13957
+ /**
13958
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
13959
+ * @summary Delete
13960
+ * @param {string} gameServerId
13961
+ * @param {string} playerId
13962
+ * @param {*} [options] Override http request option.
13963
+ * @throws {RequiredError}
13964
+ */
13965
+ async playerOnGameServerControllerDelete(gameServerId, playerId, options) {
13966
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDelete(gameServerId, playerId, options);
13967
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13968
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDelete']?.[localVarOperationServerIndex]
13969
+ ?.url;
13970
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13971
+ },
13972
+ /**
13973
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
13974
+ * @summary Get one
13975
+ * @param {string} gameServerId
13976
+ * @param {string} playerId
13977
+ * @param {*} [options] Override http request option.
13978
+ * @throws {RequiredError}
13979
+ */
13980
+ async playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
13981
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerGetOne(gameServerId, playerId, options);
13982
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13983
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerGetOne']?.[localVarOperationServerIndex]
13984
+ ?.url;
13985
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13986
+ },
13987
+ /**
13988
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
13989
+ * @summary Search
13990
+ * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
13991
+ * @param {*} [options] Override http request option.
13992
+ * @throws {RequiredError}
13993
+ */
13994
+ async playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
13995
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options);
13996
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13997
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSearch']?.[localVarOperationServerIndex]
13998
+ ?.url;
13999
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14000
+ },
14001
+ /**
14002
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
14003
+ * @summary Set currency
14004
+ * @param {string} gameServerId
14005
+ * @param {string} playerId
14006
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14007
+ * @param {*} [options] Override http request option.
14008
+ * @throws {RequiredError}
14009
+ */
14010
+ async playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
14011
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
14012
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14013
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSetCurrency']?.[localVarOperationServerIndex]?.url;
14014
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14015
+ },
14016
+ /**
14017
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
14018
+ * @summary Transact between players
14019
+ * @param {string} gameServerId
14020
+ * @param {string} sender
14021
+ * @param {string} receiver
14022
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14023
+ * @param {*} [options] Override http request option.
14024
+ * @throws {RequiredError}
14025
+ */
14026
+ async playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
14027
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options);
14028
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14029
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerTransactBetweenPlayers']?.[localVarOperationServerIndex]?.url;
14030
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14031
+ },
14032
+ };
14033
+ };
14034
+ /**
14035
+ * PlayerOnGameServerApi - factory interface
14036
+ * @export
14037
+ */
14038
+ export const PlayerOnGameServerApiFactory = function (configuration, basePath, axios) {
14039
+ const localVarFp = PlayerOnGameServerApiFp(configuration);
14040
+ return {
14041
+ /**
14042
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
14043
+ * @summary Add currency
14044
+ * @param {string} gameServerId
14045
+ * @param {string} playerId
14046
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14047
+ * @param {*} [options] Override http request option.
14048
+ * @throws {RequiredError}
14049
+ */
14050
+ playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
14051
+ return localVarFp
14052
+ .playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
14053
+ .then((request) => request(axios, basePath));
14054
+ },
14055
+ /**
14056
+ * Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
14057
+ * @summary Bulk add currency
14058
+ * @param {string} gameServerId
14059
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
14060
+ * @param {*} [options] Override http request option.
14061
+ * @throws {RequiredError}
14062
+ */
14063
+ playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
14064
+ return localVarFp
14065
+ .playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
14066
+ .then((request) => request(axios, basePath));
14067
+ },
14068
+ /**
14069
+ * Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
14070
+ * @summary Bulk delete
14071
+ * @param {string} gameServerId
14072
+ * @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
14073
+ * @param {*} [options] Override http request option.
14074
+ * @throws {RequiredError}
14075
+ */
14076
+ playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
14077
+ return localVarFp
14078
+ .playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
14079
+ .then((request) => request(axios, basePath));
14080
+ },
14081
+ /**
14082
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
14083
+ * @summary Deduct currency
14084
+ * @param {string} gameServerId
14085
+ * @param {string} playerId
14086
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14087
+ * @param {*} [options] Override http request option.
14088
+ * @throws {RequiredError}
14089
+ */
14090
+ playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
14091
+ return localVarFp
14092
+ .playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
14093
+ .then((request) => request(axios, basePath));
14094
+ },
14095
+ /**
14096
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
14097
+ * @summary Delete
14098
+ * @param {string} gameServerId
14099
+ * @param {string} playerId
14100
+ * @param {*} [options] Override http request option.
14101
+ * @throws {RequiredError}
14102
+ */
14103
+ playerOnGameServerControllerDelete(gameServerId, playerId, options) {
14104
+ return localVarFp
14105
+ .playerOnGameServerControllerDelete(gameServerId, playerId, options)
14106
+ .then((request) => request(axios, basePath));
14107
+ },
14108
+ /**
14109
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
14110
+ * @summary Get one
14111
+ * @param {string} gameServerId
14112
+ * @param {string} playerId
14113
+ * @param {*} [options] Override http request option.
14114
+ * @throws {RequiredError}
14115
+ */
14116
+ playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
14117
+ return localVarFp
14118
+ .playerOnGameServerControllerGetOne(gameServerId, playerId, options)
14119
+ .then((request) => request(axios, basePath));
14120
+ },
14121
+ /**
14122
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
14123
+ * @summary Search
14124
+ * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
14125
+ * @param {*} [options] Override http request option.
14126
+ * @throws {RequiredError}
14127
+ */
14128
+ playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
14129
+ return localVarFp
14130
+ .playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options)
14131
+ .then((request) => request(axios, basePath));
14132
+ },
14133
+ /**
14134
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
14135
+ * @summary Set currency
14136
+ * @param {string} gameServerId
14137
+ * @param {string} playerId
14138
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14139
+ * @param {*} [options] Override http request option.
14140
+ * @throws {RequiredError}
14141
+ */
14142
+ playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
14143
+ return localVarFp
14144
+ .playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
14145
+ .then((request) => request(axios, basePath));
14146
+ },
14147
+ /**
14148
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
14149
+ * @summary Transact between players
14150
+ * @param {string} gameServerId
14151
+ * @param {string} sender
14152
+ * @param {string} receiver
14153
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14154
+ * @param {*} [options] Override http request option.
14155
+ * @throws {RequiredError}
14156
+ */
14157
+ playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
14158
+ return localVarFp
14159
+ .playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options)
14160
+ .then((request) => request(axios, basePath));
14161
+ },
14162
+ };
14163
+ };
14164
+ /**
14165
+ * PlayerOnGameServerApi - object-oriented interface
14166
+ * @export
14167
+ * @class PlayerOnGameServerApi
14168
+ * @extends {BaseAPI}
14169
+ */
14170
+ export class PlayerOnGameServerApi extends BaseAPI {
14171
+ /**
14172
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
14173
+ * @summary Add currency
14174
+ * @param {string} gameServerId
14175
+ * @param {string} playerId
14176
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14177
+ * @param {*} [options] Override http request option.
14178
+ * @throws {RequiredError}
14179
+ * @memberof PlayerOnGameServerApi
14180
+ */
14181
+ playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
14182
+ return PlayerOnGameServerApiFp(this.configuration)
14183
+ .playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
14184
+ .then((request) => request(this.axios, this.basePath));
14185
+ }
14186
+ /**
14187
+ * Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
14188
+ * @summary Bulk add currency
14189
+ * @param {string} gameServerId
14190
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
14191
+ * @param {*} [options] Override http request option.
14192
+ * @throws {RequiredError}
14193
+ * @memberof PlayerOnGameServerApi
14194
+ */
14195
+ playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
14196
+ return PlayerOnGameServerApiFp(this.configuration)
14197
+ .playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
14198
+ .then((request) => request(this.axios, this.basePath));
14199
+ }
14200
+ /**
14201
+ * Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
14202
+ * @summary Bulk delete
14203
+ * @param {string} gameServerId
14204
+ * @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
14205
+ * @param {*} [options] Override http request option.
14206
+ * @throws {RequiredError}
14207
+ * @memberof PlayerOnGameServerApi
14208
+ */
14209
+ playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
14210
+ return PlayerOnGameServerApiFp(this.configuration)
14211
+ .playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
14212
+ .then((request) => request(this.axios, this.basePath));
14213
+ }
14214
+ /**
14215
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
14216
+ * @summary Deduct currency
14217
+ * @param {string} gameServerId
14218
+ * @param {string} playerId
14219
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14220
+ * @param {*} [options] Override http request option.
14221
+ * @throws {RequiredError}
14222
+ * @memberof PlayerOnGameServerApi
14223
+ */
14224
+ playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
14225
+ return PlayerOnGameServerApiFp(this.configuration)
14226
+ .playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
14227
+ .then((request) => request(this.axios, this.basePath));
14228
+ }
14229
+ /**
14230
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
14231
+ * @summary Delete
14232
+ * @param {string} gameServerId
14233
+ * @param {string} playerId
14234
+ * @param {*} [options] Override http request option.
14235
+ * @throws {RequiredError}
14236
+ * @memberof PlayerOnGameServerApi
14237
+ */
14238
+ playerOnGameServerControllerDelete(gameServerId, playerId, options) {
14239
+ return PlayerOnGameServerApiFp(this.configuration)
14240
+ .playerOnGameServerControllerDelete(gameServerId, playerId, options)
14241
+ .then((request) => request(this.axios, this.basePath));
14242
+ }
14243
+ /**
14244
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
14245
+ * @summary Get one
14246
+ * @param {string} gameServerId
14247
+ * @param {string} playerId
14248
+ * @param {*} [options] Override http request option.
14249
+ * @throws {RequiredError}
14250
+ * @memberof PlayerOnGameServerApi
14251
+ */
14252
+ playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
14253
+ return PlayerOnGameServerApiFp(this.configuration)
14254
+ .playerOnGameServerControllerGetOne(gameServerId, playerId, options)
14255
+ .then((request) => request(this.axios, this.basePath));
14256
+ }
14257
+ /**
14258
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
14259
+ * @summary Search
14260
+ * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
14261
+ * @param {*} [options] Override http request option.
14262
+ * @throws {RequiredError}
14263
+ * @memberof PlayerOnGameServerApi
14264
+ */
14265
+ playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
14266
+ return PlayerOnGameServerApiFp(this.configuration)
14267
+ .playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options)
14268
+ .then((request) => request(this.axios, this.basePath));
14269
+ }
14270
+ /**
14271
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
14272
+ * @summary Set currency
14273
+ * @param {string} gameServerId
14274
+ * @param {string} playerId
14275
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14276
+ * @param {*} [options] Override http request option.
14277
+ * @throws {RequiredError}
14278
+ * @memberof PlayerOnGameServerApi
14279
+ */
14280
+ playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
14281
+ return PlayerOnGameServerApiFp(this.configuration)
14282
+ .playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
14283
+ .then((request) => request(this.axios, this.basePath));
14284
+ }
14285
+ /**
14286
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
14287
+ * @summary Transact between players
14288
+ * @param {string} gameServerId
14289
+ * @param {string} sender
14290
+ * @param {string} receiver
14291
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14292
+ * @param {*} [options] Override http request option.
14293
+ * @throws {RequiredError}
14294
+ * @memberof PlayerOnGameServerApi
14295
+ */
14296
+ playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
14297
+ return PlayerOnGameServerApiFp(this.configuration)
14298
+ .playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options)
14299
+ .then((request) => request(this.axios, this.basePath));
14300
+ }
14301
+ }
14302
+ /**
14303
+ * RegistryApi - axios parameter creator
14304
+ * @export
14305
+ */
14306
+ export const RegistryApiAxiosParamCreator = function (configuration) {
14307
+ return {
14308
+ /**
14309
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
14310
+ * @summary Install a module from a registry
14311
+ * @param {string} id
14312
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
14313
+ * @param {*} [options] Override http request option.
14314
+ * @throws {RequiredError}
14315
+ */
14316
+ registryControllerInstall: async (id, registryInstallBody, options = {}) => {
14317
+ // verify required parameter 'id' is not null or undefined
14318
+ assertParamExists('registryControllerInstall', 'id', id);
14319
+ const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
14320
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14321
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14322
+ let baseOptions;
14323
+ if (configuration) {
14324
+ baseOptions = configuration.baseOptions;
14325
+ }
14326
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
14327
+ const localVarHeaderParameter = {};
14328
+ const localVarQueryParameter = {};
14329
+ // authentication domainAuth required
14330
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14331
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14332
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14333
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
14334
+ localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
14335
+ return {
14336
+ url: toPathString(localVarUrlObj),
14337
+ options: localVarRequestOptions,
14338
+ };
14339
+ },
14340
+ /**
14341
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
14342
+ * @summary List subscribed registries
14343
+ * @param {*} [options] Override http request option.
14344
+ * @throws {RequiredError}
14345
+ */
14346
+ registryControllerList: async (options = {}) => {
14347
+ const localVarPath = `/registry`;
14348
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14349
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14350
+ let baseOptions;
14351
+ if (configuration) {
14352
+ baseOptions = configuration.baseOptions;
14353
+ }
14354
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
14355
+ const localVarHeaderParameter = {};
14356
+ const localVarQueryParameter = {};
14357
+ // authentication domainAuth required
14358
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14359
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14360
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
14361
+ return {
14362
+ url: toPathString(localVarUrlObj),
14363
+ options: localVarRequestOptions,
14364
+ };
14365
+ },
14366
+ /**
14367
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
14368
+ * @summary Refresh registry manifest
14369
+ * @param {string} id
14370
+ * @param {*} [options] Override http request option.
14371
+ * @throws {RequiredError}
14372
+ */
14373
+ registryControllerRefresh: async (id, options = {}) => {
14374
+ // verify required parameter 'id' is not null or undefined
14375
+ assertParamExists('registryControllerRefresh', 'id', id);
14376
+ const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
14377
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14378
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14379
+ let baseOptions;
14380
+ if (configuration) {
14381
+ baseOptions = configuration.baseOptions;
14382
+ }
14383
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
14384
+ const localVarHeaderParameter = {};
14385
+ const localVarQueryParameter = {};
14386
+ // authentication domainAuth required
14387
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14388
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14389
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
14390
+ return {
14391
+ url: toPathString(localVarUrlObj),
14392
+ options: localVarRequestOptions,
14393
+ };
14394
+ },
14395
+ /**
14396
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
14397
+ * @summary Subscribe to a registry
14398
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
14399
+ * @param {*} [options] Override http request option.
14400
+ * @throws {RequiredError}
14401
+ */
14402
+ registryControllerSubscribe: async (registrySubscribeBody, options = {}) => {
14403
+ const localVarPath = `/registry`;
14404
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14405
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14406
+ let baseOptions;
14407
+ if (configuration) {
14408
+ baseOptions = configuration.baseOptions;
14409
+ }
14410
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
14411
+ const localVarHeaderParameter = {};
14412
+ const localVarQueryParameter = {};
14413
+ // authentication domainAuth required
14414
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14415
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14416
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14417
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
14418
+ localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
12623
14419
  return {
12624
14420
  url: toPathString(localVarUrlObj),
12625
14421
  options: localVarRequestOptions,
12626
14422
  };
12627
14423
  },
12628
14424
  /**
12629
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
12630
- * @summary Transact between players
12631
- * @param {string} gameServerId
12632
- * @param {string} sender
12633
- * @param {string} receiver
12634
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14425
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
14426
+ * @summary Unsubscribe from a registry
14427
+ * @param {string} id
12635
14428
  * @param {*} [options] Override http request option.
12636
14429
  * @throws {RequiredError}
12637
14430
  */
12638
- playerOnGameServerControllerTransactBetweenPlayers: async (gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options = {}) => {
12639
- // verify required parameter 'gameServerId' is not null or undefined
12640
- assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'gameServerId', gameServerId);
12641
- // verify required parameter 'sender' is not null or undefined
12642
- assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'sender', sender);
12643
- // verify required parameter 'receiver' is not null or undefined
12644
- assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'receiver', receiver);
12645
- const localVarPath = `/gameserver/{gameServerId}/player/{sender}/{receiver}/transfer`
12646
- .replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)))
12647
- .replace(`{${'sender'}}`, encodeURIComponent(String(sender)))
12648
- .replace(`{${'receiver'}}`, encodeURIComponent(String(receiver)));
14431
+ registryControllerUnsubscribe: async (id, options = {}) => {
14432
+ // verify required parameter 'id' is not null or undefined
14433
+ assertParamExists('registryControllerUnsubscribe', 'id', id);
14434
+ const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
12649
14435
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12650
14436
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12651
14437
  let baseOptions;
12652
14438
  if (configuration) {
12653
14439
  baseOptions = configuration.baseOptions;
12654
14440
  }
12655
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
14441
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
12656
14442
  const localVarHeaderParameter = {};
12657
14443
  const localVarQueryParameter = {};
12658
14444
  // authentication domainAuth required
12659
- localVarHeaderParameter['Content-Type'] = 'application/json';
12660
14445
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12661
14446
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12662
14447
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12663
- localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSetCurrencyInputDTO, localVarRequestOptions, configuration);
12664
14448
  return {
12665
14449
  url: toPathString(localVarUrlObj),
12666
14450
  options: localVarRequestOptions,
@@ -12669,371 +14453,212 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
12669
14453
  };
12670
14454
  };
12671
14455
  /**
12672
- * PlayerOnGameServerApi - functional programming interface
14456
+ * RegistryApi - functional programming interface
12673
14457
  * @export
12674
14458
  */
12675
- export const PlayerOnGameServerApiFp = function (configuration) {
12676
- const localVarAxiosParamCreator = PlayerOnGameServerApiAxiosParamCreator(configuration);
14459
+ export const RegistryApiFp = function (configuration) {
14460
+ const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
12677
14461
  return {
12678
14462
  /**
12679
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
12680
- * @summary Add currency
12681
- * @param {string} gameServerId
12682
- * @param {string} playerId
12683
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
12684
- * @param {*} [options] Override http request option.
12685
- * @throws {RequiredError}
12686
- */
12687
- async playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
12688
- const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
12689
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12690
- const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[localVarOperationServerIndex]?.url;
12691
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12692
- },
12693
- /**
12694
- * Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
12695
- * @summary Bulk delete
12696
- * @param {string} gameServerId
12697
- * @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
12698
- * @param {*} [options] Override http request option.
12699
- * @throws {RequiredError}
12700
- */
12701
- async playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
12702
- const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options);
12703
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12704
- const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
12705
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12706
- },
12707
- /**
12708
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
12709
- * @summary Deduct currency
12710
- * @param {string} gameServerId
12711
- * @param {string} playerId
12712
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
12713
- * @param {*} [options] Override http request option.
12714
- * @throws {RequiredError}
12715
- */
12716
- async playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
12717
- const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
12718
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12719
- const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDeductCurrency']?.[localVarOperationServerIndex]?.url;
12720
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12721
- },
12722
- /**
12723
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
12724
- * @summary Delete
12725
- * @param {string} gameServerId
12726
- * @param {string} playerId
14463
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
14464
+ * @summary Install a module from a registry
14465
+ * @param {string} id
14466
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
12727
14467
  * @param {*} [options] Override http request option.
12728
14468
  * @throws {RequiredError}
12729
14469
  */
12730
- async playerOnGameServerControllerDelete(gameServerId, playerId, options) {
12731
- const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDelete(gameServerId, playerId, options);
14470
+ async registryControllerInstall(id, registryInstallBody, options) {
14471
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(id, registryInstallBody, options);
12732
14472
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12733
- const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDelete']?.[localVarOperationServerIndex]
12734
- ?.url;
14473
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
12735
14474
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12736
14475
  },
12737
14476
  /**
12738
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
12739
- * @summary Get one
12740
- * @param {string} gameServerId
12741
- * @param {string} playerId
14477
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
14478
+ * @summary List subscribed registries
12742
14479
  * @param {*} [options] Override http request option.
12743
14480
  * @throws {RequiredError}
12744
14481
  */
12745
- async playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
12746
- const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerGetOne(gameServerId, playerId, options);
14482
+ async registryControllerList(options) {
14483
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
12747
14484
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12748
- const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerGetOne']?.[localVarOperationServerIndex]
12749
- ?.url;
14485
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
12750
14486
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12751
14487
  },
12752
14488
  /**
12753
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
12754
- * @summary Search
12755
- * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
14489
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
14490
+ * @summary Refresh registry manifest
14491
+ * @param {string} id
12756
14492
  * @param {*} [options] Override http request option.
12757
14493
  * @throws {RequiredError}
12758
14494
  */
12759
- async playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
12760
- const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options);
14495
+ async registryControllerRefresh(id, options) {
14496
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
12761
14497
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12762
- const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSearch']?.[localVarOperationServerIndex]
12763
- ?.url;
14498
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
12764
14499
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12765
14500
  },
12766
14501
  /**
12767
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
12768
- * @summary Set currency
12769
- * @param {string} gameServerId
12770
- * @param {string} playerId
12771
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14502
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
14503
+ * @summary Subscribe to a registry
14504
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
12772
14505
  * @param {*} [options] Override http request option.
12773
14506
  * @throws {RequiredError}
12774
14507
  */
12775
- async playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
12776
- const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
14508
+ async registryControllerSubscribe(registrySubscribeBody, options) {
14509
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerSubscribe(registrySubscribeBody, options);
12777
14510
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12778
- const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSetCurrency']?.[localVarOperationServerIndex]?.url;
14511
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerSubscribe']?.[localVarOperationServerIndex]?.url;
12779
14512
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12780
14513
  },
12781
14514
  /**
12782
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
12783
- * @summary Transact between players
12784
- * @param {string} gameServerId
12785
- * @param {string} sender
12786
- * @param {string} receiver
12787
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14515
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
14516
+ * @summary Unsubscribe from a registry
14517
+ * @param {string} id
12788
14518
  * @param {*} [options] Override http request option.
12789
14519
  * @throws {RequiredError}
12790
14520
  */
12791
- async playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
12792
- const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options);
14521
+ async registryControllerUnsubscribe(id, options) {
14522
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerUnsubscribe(id, options);
12793
14523
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12794
- const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerTransactBetweenPlayers']?.[localVarOperationServerIndex]?.url;
14524
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerUnsubscribe']?.[localVarOperationServerIndex]?.url;
12795
14525
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12796
14526
  },
12797
14527
  };
12798
14528
  };
12799
14529
  /**
12800
- * PlayerOnGameServerApi - factory interface
14530
+ * RegistryApi - factory interface
12801
14531
  * @export
12802
14532
  */
12803
- export const PlayerOnGameServerApiFactory = function (configuration, basePath, axios) {
12804
- const localVarFp = PlayerOnGameServerApiFp(configuration);
14533
+ export const RegistryApiFactory = function (configuration, basePath, axios) {
14534
+ const localVarFp = RegistryApiFp(configuration);
12805
14535
  return {
12806
14536
  /**
12807
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
12808
- * @summary Add currency
12809
- * @param {string} gameServerId
12810
- * @param {string} playerId
12811
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
12812
- * @param {*} [options] Override http request option.
12813
- * @throws {RequiredError}
12814
- */
12815
- playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
12816
- return localVarFp
12817
- .playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
12818
- .then((request) => request(axios, basePath));
12819
- },
12820
- /**
12821
- * Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
12822
- * @summary Bulk delete
12823
- * @param {string} gameServerId
12824
- * @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
12825
- * @param {*} [options] Override http request option.
12826
- * @throws {RequiredError}
12827
- */
12828
- playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
12829
- return localVarFp
12830
- .playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
12831
- .then((request) => request(axios, basePath));
12832
- },
12833
- /**
12834
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
12835
- * @summary Deduct currency
12836
- * @param {string} gameServerId
12837
- * @param {string} playerId
12838
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
12839
- * @param {*} [options] Override http request option.
12840
- * @throws {RequiredError}
12841
- */
12842
- playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
12843
- return localVarFp
12844
- .playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
12845
- .then((request) => request(axios, basePath));
12846
- },
12847
- /**
12848
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
12849
- * @summary Delete
12850
- * @param {string} gameServerId
12851
- * @param {string} playerId
14537
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
14538
+ * @summary Install a module from a registry
14539
+ * @param {string} id
14540
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
12852
14541
  * @param {*} [options] Override http request option.
12853
14542
  * @throws {RequiredError}
12854
14543
  */
12855
- playerOnGameServerControllerDelete(gameServerId, playerId, options) {
14544
+ registryControllerInstall(id, registryInstallBody, options) {
12856
14545
  return localVarFp
12857
- .playerOnGameServerControllerDelete(gameServerId, playerId, options)
14546
+ .registryControllerInstall(id, registryInstallBody, options)
12858
14547
  .then((request) => request(axios, basePath));
12859
14548
  },
12860
14549
  /**
12861
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
12862
- * @summary Get one
12863
- * @param {string} gameServerId
12864
- * @param {string} playerId
14550
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
14551
+ * @summary List subscribed registries
12865
14552
  * @param {*} [options] Override http request option.
12866
14553
  * @throws {RequiredError}
12867
14554
  */
12868
- playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
12869
- return localVarFp
12870
- .playerOnGameServerControllerGetOne(gameServerId, playerId, options)
12871
- .then((request) => request(axios, basePath));
14555
+ registryControllerList(options) {
14556
+ return localVarFp.registryControllerList(options).then((request) => request(axios, basePath));
12872
14557
  },
12873
14558
  /**
12874
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
12875
- * @summary Search
12876
- * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
14559
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
14560
+ * @summary Refresh registry manifest
14561
+ * @param {string} id
12877
14562
  * @param {*} [options] Override http request option.
12878
14563
  * @throws {RequiredError}
12879
14564
  */
12880
- playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
12881
- return localVarFp
12882
- .playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options)
12883
- .then((request) => request(axios, basePath));
14565
+ registryControllerRefresh(id, options) {
14566
+ return localVarFp.registryControllerRefresh(id, options).then((request) => request(axios, basePath));
12884
14567
  },
12885
14568
  /**
12886
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
12887
- * @summary Set currency
12888
- * @param {string} gameServerId
12889
- * @param {string} playerId
12890
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14569
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
14570
+ * @summary Subscribe to a registry
14571
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
12891
14572
  * @param {*} [options] Override http request option.
12892
14573
  * @throws {RequiredError}
12893
14574
  */
12894
- playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
14575
+ registryControllerSubscribe(registrySubscribeBody, options) {
12895
14576
  return localVarFp
12896
- .playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
14577
+ .registryControllerSubscribe(registrySubscribeBody, options)
12897
14578
  .then((request) => request(axios, basePath));
12898
14579
  },
12899
14580
  /**
12900
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
12901
- * @summary Transact between players
12902
- * @param {string} gameServerId
12903
- * @param {string} sender
12904
- * @param {string} receiver
12905
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14581
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
14582
+ * @summary Unsubscribe from a registry
14583
+ * @param {string} id
12906
14584
  * @param {*} [options] Override http request option.
12907
14585
  * @throws {RequiredError}
12908
14586
  */
12909
- playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
12910
- return localVarFp
12911
- .playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options)
12912
- .then((request) => request(axios, basePath));
14587
+ registryControllerUnsubscribe(id, options) {
14588
+ return localVarFp.registryControllerUnsubscribe(id, options).then((request) => request(axios, basePath));
12913
14589
  },
12914
- };
12915
- };
12916
- /**
12917
- * PlayerOnGameServerApi - object-oriented interface
12918
- * @export
12919
- * @class PlayerOnGameServerApi
12920
- * @extends {BaseAPI}
12921
- */
12922
- export class PlayerOnGameServerApi extends BaseAPI {
12923
- /**
12924
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
12925
- * @summary Add currency
12926
- * @param {string} gameServerId
12927
- * @param {string} playerId
12928
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
12929
- * @param {*} [options] Override http request option.
12930
- * @throws {RequiredError}
12931
- * @memberof PlayerOnGameServerApi
12932
- */
12933
- playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
12934
- return PlayerOnGameServerApiFp(this.configuration)
12935
- .playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
12936
- .then((request) => request(this.axios, this.basePath));
12937
- }
12938
- /**
12939
- * Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
12940
- * @summary Bulk delete
12941
- * @param {string} gameServerId
12942
- * @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
12943
- * @param {*} [options] Override http request option.
12944
- * @throws {RequiredError}
12945
- * @memberof PlayerOnGameServerApi
12946
- */
12947
- playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
12948
- return PlayerOnGameServerApiFp(this.configuration)
12949
- .playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
12950
- .then((request) => request(this.axios, this.basePath));
12951
- }
12952
- /**
12953
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
12954
- * @summary Deduct currency
12955
- * @param {string} gameServerId
12956
- * @param {string} playerId
12957
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
12958
- * @param {*} [options] Override http request option.
12959
- * @throws {RequiredError}
12960
- * @memberof PlayerOnGameServerApi
12961
- */
12962
- playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
12963
- return PlayerOnGameServerApiFp(this.configuration)
12964
- .playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
12965
- .then((request) => request(this.axios, this.basePath));
12966
- }
14590
+ };
14591
+ };
14592
+ /**
14593
+ * RegistryApi - object-oriented interface
14594
+ * @export
14595
+ * @class RegistryApi
14596
+ * @extends {BaseAPI}
14597
+ */
14598
+ export class RegistryApi extends BaseAPI {
12967
14599
  /**
12968
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
12969
- * @summary Delete
12970
- * @param {string} gameServerId
12971
- * @param {string} playerId
14600
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
14601
+ * @summary Install a module from a registry
14602
+ * @param {string} id
14603
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
12972
14604
  * @param {*} [options] Override http request option.
12973
14605
  * @throws {RequiredError}
12974
- * @memberof PlayerOnGameServerApi
14606
+ * @memberof RegistryApi
12975
14607
  */
12976
- playerOnGameServerControllerDelete(gameServerId, playerId, options) {
12977
- return PlayerOnGameServerApiFp(this.configuration)
12978
- .playerOnGameServerControllerDelete(gameServerId, playerId, options)
14608
+ registryControllerInstall(id, registryInstallBody, options) {
14609
+ return RegistryApiFp(this.configuration)
14610
+ .registryControllerInstall(id, registryInstallBody, options)
12979
14611
  .then((request) => request(this.axios, this.basePath));
12980
14612
  }
12981
14613
  /**
12982
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
12983
- * @summary Get one
12984
- * @param {string} gameServerId
12985
- * @param {string} playerId
14614
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
14615
+ * @summary List subscribed registries
12986
14616
  * @param {*} [options] Override http request option.
12987
14617
  * @throws {RequiredError}
12988
- * @memberof PlayerOnGameServerApi
14618
+ * @memberof RegistryApi
12989
14619
  */
12990
- playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
12991
- return PlayerOnGameServerApiFp(this.configuration)
12992
- .playerOnGameServerControllerGetOne(gameServerId, playerId, options)
14620
+ registryControllerList(options) {
14621
+ return RegistryApiFp(this.configuration)
14622
+ .registryControllerList(options)
12993
14623
  .then((request) => request(this.axios, this.basePath));
12994
14624
  }
12995
14625
  /**
12996
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
12997
- * @summary Search
12998
- * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
14626
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
14627
+ * @summary Refresh registry manifest
14628
+ * @param {string} id
12999
14629
  * @param {*} [options] Override http request option.
13000
14630
  * @throws {RequiredError}
13001
- * @memberof PlayerOnGameServerApi
14631
+ * @memberof RegistryApi
13002
14632
  */
13003
- playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
13004
- return PlayerOnGameServerApiFp(this.configuration)
13005
- .playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options)
14633
+ registryControllerRefresh(id, options) {
14634
+ return RegistryApiFp(this.configuration)
14635
+ .registryControllerRefresh(id, options)
13006
14636
  .then((request) => request(this.axios, this.basePath));
13007
14637
  }
13008
14638
  /**
13009
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
13010
- * @summary Set currency
13011
- * @param {string} gameServerId
13012
- * @param {string} playerId
13013
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14639
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
14640
+ * @summary Subscribe to a registry
14641
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
13014
14642
  * @param {*} [options] Override http request option.
13015
14643
  * @throws {RequiredError}
13016
- * @memberof PlayerOnGameServerApi
14644
+ * @memberof RegistryApi
13017
14645
  */
13018
- playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
13019
- return PlayerOnGameServerApiFp(this.configuration)
13020
- .playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
14646
+ registryControllerSubscribe(registrySubscribeBody, options) {
14647
+ return RegistryApiFp(this.configuration)
14648
+ .registryControllerSubscribe(registrySubscribeBody, options)
13021
14649
  .then((request) => request(this.axios, this.basePath));
13022
14650
  }
13023
14651
  /**
13024
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
13025
- * @summary Transact between players
13026
- * @param {string} gameServerId
13027
- * @param {string} sender
13028
- * @param {string} receiver
13029
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
14652
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
14653
+ * @summary Unsubscribe from a registry
14654
+ * @param {string} id
13030
14655
  * @param {*} [options] Override http request option.
13031
14656
  * @throws {RequiredError}
13032
- * @memberof PlayerOnGameServerApi
14657
+ * @memberof RegistryApi
13033
14658
  */
13034
- playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
13035
- return PlayerOnGameServerApiFp(this.configuration)
13036
- .playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options)
14659
+ registryControllerUnsubscribe(id, options) {
14660
+ return RegistryApiFp(this.configuration)
14661
+ .registryControllerUnsubscribe(id, options)
13037
14662
  .then((request) => request(this.axios, this.basePath));
13038
14663
  }
13039
14664
  }
@@ -15704,6 +17329,240 @@ export class ShopOrderApi extends BaseAPI {
15704
17329
  .then((request) => request(this.axios, this.basePath));
15705
17330
  }
15706
17331
  }
17332
+ /**
17333
+ * StorefrontConfigApi - axios parameter creator
17334
+ * @export
17335
+ */
17336
+ export const StorefrontConfigApiAxiosParamCreator = function (configuration) {
17337
+ return {
17338
+ /**
17339
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
17340
+ * @summary Get effective config
17341
+ * @param {string} gameServerId
17342
+ * @param {*} [options] Override http request option.
17343
+ * @throws {RequiredError}
17344
+ */
17345
+ storefrontConfigControllerGetEffectiveConfig: async (gameServerId, options = {}) => {
17346
+ // verify required parameter 'gameServerId' is not null or undefined
17347
+ assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
17348
+ const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
17349
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17350
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17351
+ let baseOptions;
17352
+ if (configuration) {
17353
+ baseOptions = configuration.baseOptions;
17354
+ }
17355
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
17356
+ const localVarHeaderParameter = {};
17357
+ const localVarQueryParameter = {};
17358
+ // authentication domainAuth required
17359
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17360
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17361
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17362
+ return {
17363
+ url: toPathString(localVarUrlObj),
17364
+ options: localVarRequestOptions,
17365
+ };
17366
+ },
17367
+ /**
17368
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
17369
+ * @summary List templates
17370
+ * @param {*} [options] Override http request option.
17371
+ * @throws {RequiredError}
17372
+ */
17373
+ storefrontConfigControllerListTemplates: async (options = {}) => {
17374
+ const localVarPath = `/storefront/templates`;
17375
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17376
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17377
+ let baseOptions;
17378
+ if (configuration) {
17379
+ baseOptions = configuration.baseOptions;
17380
+ }
17381
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
17382
+ const localVarHeaderParameter = {};
17383
+ const localVarQueryParameter = {};
17384
+ // authentication domainAuth required
17385
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17386
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17387
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17388
+ return {
17389
+ url: toPathString(localVarUrlObj),
17390
+ options: localVarRequestOptions,
17391
+ };
17392
+ },
17393
+ /**
17394
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
17395
+ * @summary Set config
17396
+ * @param {string} gameServerId
17397
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
17398
+ * @param {*} [options] Override http request option.
17399
+ * @throws {RequiredError}
17400
+ */
17401
+ storefrontConfigControllerSetConfig: async (gameServerId, storefrontConfigUpsertBody, options = {}) => {
17402
+ // verify required parameter 'gameServerId' is not null or undefined
17403
+ assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
17404
+ const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
17405
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17406
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17407
+ let baseOptions;
17408
+ if (configuration) {
17409
+ baseOptions = configuration.baseOptions;
17410
+ }
17411
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
17412
+ const localVarHeaderParameter = {};
17413
+ const localVarQueryParameter = {};
17414
+ // authentication domainAuth required
17415
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17416
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17417
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17418
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17419
+ localVarRequestOptions.data = serializeDataIfNeeded(storefrontConfigUpsertBody, localVarRequestOptions, configuration);
17420
+ return {
17421
+ url: toPathString(localVarUrlObj),
17422
+ options: localVarRequestOptions,
17423
+ };
17424
+ },
17425
+ };
17426
+ };
17427
+ /**
17428
+ * StorefrontConfigApi - functional programming interface
17429
+ * @export
17430
+ */
17431
+ export const StorefrontConfigApiFp = function (configuration) {
17432
+ const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
17433
+ return {
17434
+ /**
17435
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
17436
+ * @summary Get effective config
17437
+ * @param {string} gameServerId
17438
+ * @param {*} [options] Override http request option.
17439
+ * @throws {RequiredError}
17440
+ */
17441
+ async storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
17442
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(gameServerId, options);
17443
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17444
+ const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[localVarOperationServerIndex]?.url;
17445
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17446
+ },
17447
+ /**
17448
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
17449
+ * @summary List templates
17450
+ * @param {*} [options] Override http request option.
17451
+ * @throws {RequiredError}
17452
+ */
17453
+ async storefrontConfigControllerListTemplates(options) {
17454
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
17455
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17456
+ const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[localVarOperationServerIndex]?.url;
17457
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17458
+ },
17459
+ /**
17460
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
17461
+ * @summary Set config
17462
+ * @param {string} gameServerId
17463
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
17464
+ * @param {*} [options] Override http request option.
17465
+ * @throws {RequiredError}
17466
+ */
17467
+ async storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
17468
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options);
17469
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17470
+ const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
17471
+ ?.url;
17472
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17473
+ },
17474
+ };
17475
+ };
17476
+ /**
17477
+ * StorefrontConfigApi - factory interface
17478
+ * @export
17479
+ */
17480
+ export const StorefrontConfigApiFactory = function (configuration, basePath, axios) {
17481
+ const localVarFp = StorefrontConfigApiFp(configuration);
17482
+ return {
17483
+ /**
17484
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
17485
+ * @summary Get effective config
17486
+ * @param {string} gameServerId
17487
+ * @param {*} [options] Override http request option.
17488
+ * @throws {RequiredError}
17489
+ */
17490
+ storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
17491
+ return localVarFp
17492
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
17493
+ .then((request) => request(axios, basePath));
17494
+ },
17495
+ /**
17496
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
17497
+ * @summary List templates
17498
+ * @param {*} [options] Override http request option.
17499
+ * @throws {RequiredError}
17500
+ */
17501
+ storefrontConfigControllerListTemplates(options) {
17502
+ return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
17503
+ },
17504
+ /**
17505
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
17506
+ * @summary Set config
17507
+ * @param {string} gameServerId
17508
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
17509
+ * @param {*} [options] Override http request option.
17510
+ * @throws {RequiredError}
17511
+ */
17512
+ storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
17513
+ return localVarFp
17514
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
17515
+ .then((request) => request(axios, basePath));
17516
+ },
17517
+ };
17518
+ };
17519
+ /**
17520
+ * StorefrontConfigApi - object-oriented interface
17521
+ * @export
17522
+ * @class StorefrontConfigApi
17523
+ * @extends {BaseAPI}
17524
+ */
17525
+ export class StorefrontConfigApi extends BaseAPI {
17526
+ /**
17527
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
17528
+ * @summary Get effective config
17529
+ * @param {string} gameServerId
17530
+ * @param {*} [options] Override http request option.
17531
+ * @throws {RequiredError}
17532
+ * @memberof StorefrontConfigApi
17533
+ */
17534
+ storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
17535
+ return StorefrontConfigApiFp(this.configuration)
17536
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
17537
+ .then((request) => request(this.axios, this.basePath));
17538
+ }
17539
+ /**
17540
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
17541
+ * @summary List templates
17542
+ * @param {*} [options] Override http request option.
17543
+ * @throws {RequiredError}
17544
+ * @memberof StorefrontConfigApi
17545
+ */
17546
+ storefrontConfigControllerListTemplates(options) {
17547
+ return StorefrontConfigApiFp(this.configuration)
17548
+ .storefrontConfigControllerListTemplates(options)
17549
+ .then((request) => request(this.axios, this.basePath));
17550
+ }
17551
+ /**
17552
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
17553
+ * @summary Set config
17554
+ * @param {string} gameServerId
17555
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
17556
+ * @param {*} [options] Override http request option.
17557
+ * @throws {RequiredError}
17558
+ * @memberof StorefrontConfigApi
17559
+ */
17560
+ storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
17561
+ return StorefrontConfigApiFp(this.configuration)
17562
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
17563
+ .then((request) => request(this.axios, this.basePath));
17564
+ }
17565
+ }
15707
17566
  /**
15708
17567
  * TrackingApi - axios parameter creator
15709
17568
  * @export
@@ -16118,6 +17977,32 @@ export const UserApiAxiosParamCreator = function (configuration) {
16118
17977
  options: localVarRequestOptions,
16119
17978
  };
16120
17979
  },
17980
+ /**
17981
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
17982
+ * @summary Count billable dashboard users
17983
+ * @param {*} [options] Override http request option.
17984
+ * @throws {RequiredError}
17985
+ */
17986
+ userControllerCountBillableDashboardUsers: async (options = {}) => {
17987
+ const localVarPath = `/user/count`;
17988
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17989
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17990
+ let baseOptions;
17991
+ if (configuration) {
17992
+ baseOptions = configuration.baseOptions;
17993
+ }
17994
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
17995
+ const localVarHeaderParameter = {};
17996
+ const localVarQueryParameter = {};
17997
+ // authentication domainAuth required
17998
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17999
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18000
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18001
+ return {
18002
+ url: toPathString(localVarUrlObj),
18003
+ options: localVarRequestOptions,
18004
+ };
18005
+ },
16121
18006
  /**
16122
18007
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
16123
18008
  * @summary Create
@@ -16207,6 +18092,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
16207
18092
  * @summary Invite
16208
18093
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
16209
18094
  * @param {*} [options] Override http request option.
18095
+ * @deprecated
16210
18096
  * @throws {RequiredError}
16211
18097
  */
16212
18098
  userControllerInvite: async (inviteCreateDTO, options = {}) => {
@@ -16518,6 +18404,18 @@ export const UserApiFp = function (configuration) {
16518
18404
  const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[localVarOperationServerIndex]?.url;
16519
18405
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16520
18406
  },
18407
+ /**
18408
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
18409
+ * @summary Count billable dashboard users
18410
+ * @param {*} [options] Override http request option.
18411
+ * @throws {RequiredError}
18412
+ */
18413
+ async userControllerCountBillableDashboardUsers(options) {
18414
+ const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
18415
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18416
+ const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
18417
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18418
+ },
16521
18419
  /**
16522
18420
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
16523
18421
  * @summary Create
@@ -16561,6 +18459,7 @@ export const UserApiFp = function (configuration) {
16561
18459
  * @summary Invite
16562
18460
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
16563
18461
  * @param {*} [options] Override http request option.
18462
+ * @deprecated
16564
18463
  * @throws {RequiredError}
16565
18464
  */
16566
18465
  async userControllerInvite(inviteCreateDTO, options) {
@@ -16709,6 +18608,15 @@ export const UserApiFactory = function (configuration, basePath, axios) {
16709
18608
  .userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
16710
18609
  .then((request) => request(axios, basePath));
16711
18610
  },
18611
+ /**
18612
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
18613
+ * @summary Count billable dashboard users
18614
+ * @param {*} [options] Override http request option.
18615
+ * @throws {RequiredError}
18616
+ */
18617
+ userControllerCountBillableDashboardUsers(options) {
18618
+ return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
18619
+ },
16712
18620
  /**
16713
18621
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
16714
18622
  * @summary Create
@@ -16743,6 +18651,7 @@ export const UserApiFactory = function (configuration, basePath, axios) {
16743
18651
  * @summary Invite
16744
18652
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
16745
18653
  * @param {*} [options] Override http request option.
18654
+ * @deprecated
16746
18655
  * @throws {RequiredError}
16747
18656
  */
16748
18657
  userControllerInvite(inviteCreateDTO, options) {
@@ -16864,6 +18773,18 @@ export class UserApi extends BaseAPI {
16864
18773
  .userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
16865
18774
  .then((request) => request(this.axios, this.basePath));
16866
18775
  }
18776
+ /**
18777
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
18778
+ * @summary Count billable dashboard users
18779
+ * @param {*} [options] Override http request option.
18780
+ * @throws {RequiredError}
18781
+ * @memberof UserApi
18782
+ */
18783
+ userControllerCountBillableDashboardUsers(options) {
18784
+ return UserApiFp(this.configuration)
18785
+ .userControllerCountBillableDashboardUsers(options)
18786
+ .then((request) => request(this.axios, this.basePath));
18787
+ }
16867
18788
  /**
16868
18789
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
16869
18790
  * @summary Create
@@ -16907,6 +18828,7 @@ export class UserApi extends BaseAPI {
16907
18828
  * @summary Invite
16908
18829
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
16909
18830
  * @param {*} [options] Override http request option.
18831
+ * @deprecated
16910
18832
  * @throws {RequiredError}
16911
18833
  * @memberof UserApi
16912
18834
  */