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

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.
@@ -154,6 +154,52 @@ export const EventCreateDTOEventNameEnum = {
154
154
  PlayerDeath: 'player-death',
155
155
  EntityKilled: 'entity-killed',
156
156
  };
157
+ export const EventExploreFiltersDTOEventNameEnum = {
158
+ RoleAssigned: 'role-assigned',
159
+ RoleRemoved: 'role-removed',
160
+ RoleCreated: 'role-created',
161
+ RoleUpdated: 'role-updated',
162
+ RoleDeleted: 'role-deleted',
163
+ CommandExecuted: 'command-executed',
164
+ CommandExecutionDenied: 'command-execution-denied',
165
+ HookExecuted: 'hook-executed',
166
+ CronjobExecuted: 'cronjob-executed',
167
+ CurrencyAdded: 'currency-added',
168
+ CurrencyDeducted: 'currency-deducted',
169
+ CurrencyResetAll: 'currency-reset-all',
170
+ SettingsSet: 'settings-set',
171
+ PlayerNewIpDetected: 'player-new-ip-detected',
172
+ PlayerNewNameDetected: 'player-new-name-detected',
173
+ ServerStatusChanged: 'server-status-changed',
174
+ ModuleCreated: 'module-created',
175
+ ModuleUpdated: 'module-updated',
176
+ ModuleDeleted: 'module-deleted',
177
+ ModuleInstalled: 'module-installed',
178
+ ModuleUninstalled: 'module-uninstalled',
179
+ PlayerCreated: 'player-created',
180
+ ShopListingCreated: 'shop-listing-created',
181
+ ShopListingUpdated: 'shop-listing-updated',
182
+ ShopListingDeleted: 'shop-listing-deleted',
183
+ ShopOrderCreated: 'shop-order-created',
184
+ ShopOrderStatusChanged: 'shop-order-status-changed',
185
+ ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
186
+ PlayerLinked: 'player-linked',
187
+ GameserverCreated: 'gameserver-created',
188
+ GameserverUpdated: 'gameserver-updated',
189
+ GameserverDeleted: 'gameserver-deleted',
190
+ PlayerBanned: 'player-banned',
191
+ PlayerUnbanned: 'player-unbanned',
192
+ PlayerDeleted: 'player-deleted',
193
+ ShopActionExecuted: 'shop-action-executed',
194
+ PlayerInventoryChanged: 'player-inventory-changed',
195
+ EventRateLimited: 'event-rate-limited',
196
+ PlayerSyncSnapshot: 'player-sync-snapshot',
197
+ PlayerConnected: 'player-connected',
198
+ PlayerDisconnected: 'player-disconnected',
199
+ ChatMessage: 'chat-message',
200
+ PlayerDeath: 'player-death',
201
+ EntityKilled: 'entity-killed',
202
+ };
157
203
  export const EventOutputDTOEventNameEnum = {
158
204
  RoleAssigned: 'role-assigned',
159
205
  RoleRemoved: 'role-removed',
@@ -256,6 +302,10 @@ export const EventSearchInputDTOSortDirectionEnum = {
256
302
  Asc: 'asc',
257
303
  Desc: 'desc',
258
304
  };
305
+ export const EventVolumeInputDTOGroupByEnum = {
306
+ EventName: 'eventName',
307
+ GameServerId: 'gameServerId',
308
+ };
259
309
  export const FunctionSearchInputDTOExtendEnum = {
260
310
  Version: 'version',
261
311
  CronJob: 'cronJob',
@@ -663,6 +713,23 @@ export const JobStatusOutputDTOStatusEnum = {
663
713
  Waiting: 'waiting',
664
714
  WaitingChildren: 'waiting-children',
665
715
  };
716
+ export const MetaFilterGroupOrLeafDTOLogicalOperatorEnum = {
717
+ And: 'AND',
718
+ Or: 'OR',
719
+ };
720
+ export const MetaFilterGroupOrLeafDTOOperatorEnum = {
721
+ Equal: '=',
722
+ NotEqual: '!=',
723
+ GreaterThan: '>',
724
+ LessThan: '<',
725
+ ArrayContains: 'array_contains',
726
+ };
727
+ export const ModuleInstallationKpisQueryDTOPeriodEnum = {
728
+ _24h: '24h',
729
+ _7d: '7d',
730
+ _30d: '30d',
731
+ _90d: '90d',
732
+ };
666
733
  export const ModuleInstallationSearchInputDTOSortDirectionEnum = {
667
734
  Asc: 'asc',
668
735
  Desc: 'desc',
@@ -1387,6 +1454,56 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
1387
1454
  options: localVarRequestOptions,
1388
1455
  };
1389
1456
  },
1457
+ /**
1458
+ * 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`
1459
+ * @summary Get per-installation module KPIs
1460
+ * @param {string} gameServerId
1461
+ * @param {string} moduleId
1462
+ * @param {string} [startDate]
1463
+ * @param {string} [endDate]
1464
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
1465
+ * @param {*} [options] Override http request option.
1466
+ * @throws {RequiredError}
1467
+ */
1468
+ analyticsControllerGetModuleInstallationKpis: async (gameServerId, moduleId, startDate, endDate, period, options = {}) => {
1469
+ // verify required parameter 'gameServerId' is not null or undefined
1470
+ assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
1471
+ // verify required parameter 'moduleId' is not null or undefined
1472
+ assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
1473
+ const localVarPath = `/analytics/modules/installation-kpis`;
1474
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1475
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1476
+ let baseOptions;
1477
+ if (configuration) {
1478
+ baseOptions = configuration.baseOptions;
1479
+ }
1480
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1481
+ const localVarHeaderParameter = {};
1482
+ const localVarQueryParameter = {};
1483
+ // authentication domainAuth required
1484
+ if (startDate !== undefined) {
1485
+ localVarQueryParameter['startDate'] = startDate;
1486
+ }
1487
+ if (endDate !== undefined) {
1488
+ localVarQueryParameter['endDate'] = endDate;
1489
+ }
1490
+ if (gameServerId !== undefined) {
1491
+ localVarQueryParameter['gameServerId'] = gameServerId;
1492
+ }
1493
+ if (moduleId !== undefined) {
1494
+ localVarQueryParameter['moduleId'] = moduleId;
1495
+ }
1496
+ if (period !== undefined) {
1497
+ localVarQueryParameter['period'] = period;
1498
+ }
1499
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1500
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1501
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1502
+ return {
1503
+ url: toPathString(localVarUrlObj),
1504
+ options: localVarRequestOptions,
1505
+ };
1506
+ },
1390
1507
  /**
1391
1508
  * 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
1509
  * @summary Get module item failure aggregate
@@ -2487,6 +2604,24 @@ export const AnalyticsApiFp = function (configuration) {
2487
2604
  const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleHealth']?.[localVarOperationServerIndex]?.url;
2488
2605
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2489
2606
  },
2607
+ /**
2608
+ * 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`
2609
+ * @summary Get per-installation module KPIs
2610
+ * @param {string} gameServerId
2611
+ * @param {string} moduleId
2612
+ * @param {string} [startDate]
2613
+ * @param {string} [endDate]
2614
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
2615
+ * @param {*} [options] Override http request option.
2616
+ * @throws {RequiredError}
2617
+ */
2618
+ async analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
2619
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options);
2620
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2621
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
2622
+ ?.url;
2623
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2624
+ },
2490
2625
  /**
2491
2626
  * 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
2627
  * @summary Get module item failure aggregate
@@ -3029,6 +3164,22 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3029
3164
  .analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
3030
3165
  .then((request) => request(axios, basePath));
3031
3166
  },
3167
+ /**
3168
+ * 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`
3169
+ * @summary Get per-installation module KPIs
3170
+ * @param {string} gameServerId
3171
+ * @param {string} moduleId
3172
+ * @param {string} [startDate]
3173
+ * @param {string} [endDate]
3174
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
3175
+ * @param {*} [options] Override http request option.
3176
+ * @throws {RequiredError}
3177
+ */
3178
+ analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
3179
+ return localVarFp
3180
+ .analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
3181
+ .then((request) => request(axios, basePath));
3182
+ },
3032
3183
  /**
3033
3184
  * 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
3185
  * @summary Get module item failure aggregate
@@ -3558,6 +3709,23 @@ export class AnalyticsApi extends BaseAPI {
3558
3709
  .analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
3559
3710
  .then((request) => request(this.axios, this.basePath));
3560
3711
  }
3712
+ /**
3713
+ * 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`
3714
+ * @summary Get per-installation module KPIs
3715
+ * @param {string} gameServerId
3716
+ * @param {string} moduleId
3717
+ * @param {string} [startDate]
3718
+ * @param {string} [endDate]
3719
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
3720
+ * @param {*} [options] Override http request option.
3721
+ * @throws {RequiredError}
3722
+ * @memberof AnalyticsApi
3723
+ */
3724
+ analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
3725
+ return AnalyticsApiFp(this.configuration)
3726
+ .analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
3727
+ .then((request) => request(this.axios, this.basePath));
3728
+ }
3561
3729
  /**
3562
3730
  * 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
3731
  * @summary Get module item failure aggregate
@@ -4003,6 +4171,15 @@ export const AnalyticsControllerGetModuleHealthPeriodEnum = {
4003
4171
  _30d: '30d',
4004
4172
  _90d: '90d',
4005
4173
  };
4174
+ /**
4175
+ * @export
4176
+ */
4177
+ export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
4178
+ _24h: '24h',
4179
+ _7d: '7d',
4180
+ _30d: '30d',
4181
+ _90d: '90d',
4182
+ };
4006
4183
  /**
4007
4184
  * @export
4008
4185
  */
@@ -4193,118 +4370,99 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
4193
4370
  _90d: '90d',
4194
4371
  };
4195
4372
  /**
4196
- * CommandApi - axios parameter creator
4373
+ * AuthApi - axios parameter creator
4197
4374
  * @export
4198
4375
  */
4199
- export const CommandApiAxiosParamCreator = function (configuration) {
4376
+ export const AuthApiAxiosParamCreator = function (configuration) {
4200
4377
  return {
4201
4378
  /**
4202
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
4203
- * @summary Create
4204
- * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
4379
+ * <br> OperationId: `AuthControllerAccount`
4380
+ * @summary Account
4205
4381
  * @param {*} [options] Override http request option.
4206
4382
  * @throws {RequiredError}
4207
4383
  */
4208
- commandControllerCreate: async (commandCreateDTO, options = {}) => {
4209
- const localVarPath = `/command`;
4384
+ authControllerAccount: async (options = {}) => {
4385
+ const localVarPath = `/auth/account`;
4210
4386
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4211
4387
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4212
4388
  let baseOptions;
4213
4389
  if (configuration) {
4214
4390
  baseOptions = configuration.baseOptions;
4215
4391
  }
4216
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4392
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4217
4393
  const localVarHeaderParameter = {};
4218
4394
  const localVarQueryParameter = {};
4219
- // authentication domainAuth required
4220
- localVarHeaderParameter['Content-Type'] = 'application/json';
4221
4395
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4222
4396
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4223
4397
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4224
- localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
4225
4398
  return {
4226
4399
  url: toPathString(localVarUrlObj),
4227
4400
  options: localVarRequestOptions,
4228
4401
  };
4229
4402
  },
4230
4403
  /**
4231
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
4232
- * @summary Create argument
4233
- * @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
4404
+ * <br> OperationId: `AuthControllerCallback`
4405
+ * @summary Callback
4234
4406
  * @param {*} [options] Override http request option.
4235
4407
  * @throws {RequiredError}
4236
4408
  */
4237
- commandControllerCreateArgument: async (commandArgumentCreateDTO, options = {}) => {
4238
- const localVarPath = `/command/argument`;
4409
+ authControllerCallback: async (options = {}) => {
4410
+ const localVarPath = `/auth/callback`;
4239
4411
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4240
4412
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4241
4413
  let baseOptions;
4242
4414
  if (configuration) {
4243
4415
  baseOptions = configuration.baseOptions;
4244
4416
  }
4245
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4417
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4246
4418
  const localVarHeaderParameter = {};
4247
4419
  const localVarQueryParameter = {};
4248
- // authentication domainAuth required
4249
- localVarHeaderParameter['Content-Type'] = 'application/json';
4250
4420
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4251
4421
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4252
4422
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4253
- localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
4254
4423
  return {
4255
4424
  url: toPathString(localVarUrlObj),
4256
4425
  options: localVarRequestOptions,
4257
4426
  };
4258
4427
  },
4259
4428
  /**
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
4429
+ * <br> OperationId: `AuthControllerLogin`
4430
+ * @summary Login
4431
+ * @param {string} [redirect]
4265
4432
  * @param {*} [options] Override http request option.
4266
4433
  * @throws {RequiredError}
4267
4434
  */
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)));
4435
+ authControllerLogin: async (redirect, options = {}) => {
4436
+ const localVarPath = `/auth/login`;
4272
4437
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4273
4438
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4274
4439
  let baseOptions;
4275
4440
  if (configuration) {
4276
4441
  baseOptions = configuration.baseOptions;
4277
4442
  }
4278
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4443
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4279
4444
  const localVarHeaderParameter = {};
4280
4445
  const localVarQueryParameter = {};
4281
- // authentication domainAuth required
4282
- if (success !== undefined) {
4283
- for (const [key, value] of Object.entries(success)) {
4284
- localVarQueryParameter[key] = value;
4285
- }
4446
+ if (redirect !== undefined) {
4447
+ localVarQueryParameter['redirect'] = redirect;
4286
4448
  }
4287
- localVarHeaderParameter['Content-Type'] = 'application/json';
4288
4449
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4289
4450
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4290
4451
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4291
- localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
4292
4452
  return {
4293
4453
  url: toPathString(localVarUrlObj),
4294
4454
  options: localVarRequestOptions,
4295
4455
  };
4296
4456
  },
4297
4457
  /**
4298
- * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
4299
- * @summary Get one
4300
- * @param {string} id
4458
+ * <br> OperationId: `AuthControllerLogout`
4459
+ * @summary Logout
4460
+ * @param {string} [redirect]
4301
4461
  * @param {*} [options] Override http request option.
4302
4462
  * @throws {RequiredError}
4303
4463
  */
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)));
4464
+ authControllerLogout: async (redirect, options = {}) => {
4465
+ const localVarPath = `/auth/logout`;
4308
4466
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4309
4467
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4310
4468
  let baseOptions;
@@ -4314,7 +4472,9 @@ export const CommandApiAxiosParamCreator = function (configuration) {
4314
4472
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4315
4473
  const localVarHeaderParameter = {};
4316
4474
  const localVarQueryParameter = {};
4317
- // authentication domainAuth required
4475
+ if (redirect !== undefined) {
4476
+ localVarQueryParameter['redirect'] = redirect;
4477
+ }
4318
4478
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4319
4479
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4320
4480
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -4323,73 +4483,187 @@ export const CommandApiAxiosParamCreator = function (configuration) {
4323
4483
  options: localVarRequestOptions,
4324
4484
  };
4325
4485
  },
4486
+ };
4487
+ };
4488
+ /**
4489
+ * AuthApi - functional programming interface
4490
+ * @export
4491
+ */
4492
+ export const AuthApiFp = function (configuration) {
4493
+ const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
4494
+ return {
4326
4495
  /**
4327
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
4328
- * @summary Remove
4329
- * @param {string} id
4496
+ * <br> OperationId: `AuthControllerAccount`
4497
+ * @summary Account
4330
4498
  * @param {*} [options] Override http request option.
4331
4499
  * @throws {RequiredError}
4332
4500
  */
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
- };
4501
+ async authControllerAccount(options) {
4502
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
4503
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4504
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
4505
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4354
4506
  },
4355
4507
  /**
4356
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
4357
- * @summary Remove argument
4358
- * @param {string} id
4508
+ * <br> OperationId: `AuthControllerCallback`
4509
+ * @summary Callback
4359
4510
  * @param {*} [options] Override http request option.
4360
4511
  * @throws {RequiredError}
4361
4512
  */
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,
4382
- };
4513
+ async authControllerCallback(options) {
4514
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
4515
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4516
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
4517
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4383
4518
  },
4384
4519
  /**
4385
- * Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
4386
- * @summary Search
4387
- * @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
4520
+ * <br> OperationId: `AuthControllerLogin`
4521
+ * @summary Login
4522
+ * @param {string} [redirect]
4388
4523
  * @param {*} [options] Override http request option.
4389
4524
  * @throws {RequiredError}
4390
4525
  */
4391
- commandControllerSearch: async (commandSearchInputDTO, options = {}) => {
4392
- const localVarPath = `/command/search`;
4526
+ async authControllerLogin(redirect, options) {
4527
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
4528
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4529
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
4530
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4531
+ },
4532
+ /**
4533
+ * <br> OperationId: `AuthControllerLogout`
4534
+ * @summary Logout
4535
+ * @param {string} [redirect]
4536
+ * @param {*} [options] Override http request option.
4537
+ * @throws {RequiredError}
4538
+ */
4539
+ async authControllerLogout(redirect, options) {
4540
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
4541
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4542
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
4543
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4544
+ },
4545
+ };
4546
+ };
4547
+ /**
4548
+ * AuthApi - factory interface
4549
+ * @export
4550
+ */
4551
+ export const AuthApiFactory = function (configuration, basePath, axios) {
4552
+ const localVarFp = AuthApiFp(configuration);
4553
+ return {
4554
+ /**
4555
+ * <br> OperationId: `AuthControllerAccount`
4556
+ * @summary Account
4557
+ * @param {*} [options] Override http request option.
4558
+ * @throws {RequiredError}
4559
+ */
4560
+ authControllerAccount(options) {
4561
+ return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
4562
+ },
4563
+ /**
4564
+ * <br> OperationId: `AuthControllerCallback`
4565
+ * @summary Callback
4566
+ * @param {*} [options] Override http request option.
4567
+ * @throws {RequiredError}
4568
+ */
4569
+ authControllerCallback(options) {
4570
+ return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
4571
+ },
4572
+ /**
4573
+ * <br> OperationId: `AuthControllerLogin`
4574
+ * @summary Login
4575
+ * @param {string} [redirect]
4576
+ * @param {*} [options] Override http request option.
4577
+ * @throws {RequiredError}
4578
+ */
4579
+ authControllerLogin(redirect, options) {
4580
+ return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
4581
+ },
4582
+ /**
4583
+ * <br> OperationId: `AuthControllerLogout`
4584
+ * @summary Logout
4585
+ * @param {string} [redirect]
4586
+ * @param {*} [options] Override http request option.
4587
+ * @throws {RequiredError}
4588
+ */
4589
+ authControllerLogout(redirect, options) {
4590
+ return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
4591
+ },
4592
+ };
4593
+ };
4594
+ /**
4595
+ * AuthApi - object-oriented interface
4596
+ * @export
4597
+ * @class AuthApi
4598
+ * @extends {BaseAPI}
4599
+ */
4600
+ export class AuthApi extends BaseAPI {
4601
+ /**
4602
+ * <br> OperationId: `AuthControllerAccount`
4603
+ * @summary Account
4604
+ * @param {*} [options] Override http request option.
4605
+ * @throws {RequiredError}
4606
+ * @memberof AuthApi
4607
+ */
4608
+ authControllerAccount(options) {
4609
+ return AuthApiFp(this.configuration)
4610
+ .authControllerAccount(options)
4611
+ .then((request) => request(this.axios, this.basePath));
4612
+ }
4613
+ /**
4614
+ * <br> OperationId: `AuthControllerCallback`
4615
+ * @summary Callback
4616
+ * @param {*} [options] Override http request option.
4617
+ * @throws {RequiredError}
4618
+ * @memberof AuthApi
4619
+ */
4620
+ authControllerCallback(options) {
4621
+ return AuthApiFp(this.configuration)
4622
+ .authControllerCallback(options)
4623
+ .then((request) => request(this.axios, this.basePath));
4624
+ }
4625
+ /**
4626
+ * <br> OperationId: `AuthControllerLogin`
4627
+ * @summary Login
4628
+ * @param {string} [redirect]
4629
+ * @param {*} [options] Override http request option.
4630
+ * @throws {RequiredError}
4631
+ * @memberof AuthApi
4632
+ */
4633
+ authControllerLogin(redirect, options) {
4634
+ return AuthApiFp(this.configuration)
4635
+ .authControllerLogin(redirect, options)
4636
+ .then((request) => request(this.axios, this.basePath));
4637
+ }
4638
+ /**
4639
+ * <br> OperationId: `AuthControllerLogout`
4640
+ * @summary Logout
4641
+ * @param {string} [redirect]
4642
+ * @param {*} [options] Override http request option.
4643
+ * @throws {RequiredError}
4644
+ * @memberof AuthApi
4645
+ */
4646
+ authControllerLogout(redirect, options) {
4647
+ return AuthApiFp(this.configuration)
4648
+ .authControllerLogout(redirect, options)
4649
+ .then((request) => request(this.axios, this.basePath));
4650
+ }
4651
+ }
4652
+ /**
4653
+ * CommandApi - axios parameter creator
4654
+ * @export
4655
+ */
4656
+ export const CommandApiAxiosParamCreator = function (configuration) {
4657
+ return {
4658
+ /**
4659
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
4660
+ * @summary Create
4661
+ * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
4662
+ * @param {*} [options] Override http request option.
4663
+ * @throws {RequiredError}
4664
+ */
4665
+ commandControllerCreate: async (commandCreateDTO, options = {}) => {
4666
+ const localVarPath = `/command`;
4393
4667
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4394
4668
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4395
4669
  let baseOptions;
@@ -4404,24 +4678,21 @@ export const CommandApiAxiosParamCreator = function (configuration) {
4404
4678
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4405
4679
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4406
4680
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4407
- localVarRequestOptions.data = serializeDataIfNeeded(commandSearchInputDTO, localVarRequestOptions, configuration);
4681
+ localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
4408
4682
  return {
4409
4683
  url: toPathString(localVarUrlObj),
4410
4684
  options: localVarRequestOptions,
4411
4685
  };
4412
4686
  },
4413
4687
  /**
4414
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
4415
- * @summary Trigger
4416
- * @param {string} id
4417
- * @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
4688
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
4689
+ * @summary Create argument
4690
+ * @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
4418
4691
  * @param {*} [options] Override http request option.
4419
4692
  * @throws {RequiredError}
4420
4693
  */
4421
- commandControllerTrigger: async (id, commandTriggerDTO, options = {}) => {
4422
- // 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)));
4694
+ commandControllerCreateArgument: async (commandArgumentCreateDTO, options = {}) => {
4695
+ const localVarPath = `/command/argument`;
4425
4696
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4426
4697
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4427
4698
  let baseOptions;
@@ -4436,139 +4707,79 @@ export const CommandApiAxiosParamCreator = function (configuration) {
4436
4707
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4437
4708
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4438
4709
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4439
- localVarRequestOptions.data = serializeDataIfNeeded(commandTriggerDTO, localVarRequestOptions, configuration);
4710
+ localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
4440
4711
  return {
4441
4712
  url: toPathString(localVarUrlObj),
4442
4713
  options: localVarRequestOptions,
4443
4714
  };
4444
4715
  },
4445
4716
  /**
4446
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
4447
- * @summary Update
4717
+ * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
4718
+ * @summary Get executions
4448
4719
  * @param {string} id
4449
- * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
4720
+ * @param {any} [success]
4721
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
4450
4722
  * @param {*} [options] Override http request option.
4451
4723
  * @throws {RequiredError}
4452
4724
  */
4453
- commandControllerUpdate: async (id, commandUpdateDTO, options = {}) => {
4725
+ commandControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
4454
4726
  // verify required parameter 'id' is not null or undefined
4455
- assertParamExists('commandControllerUpdate', 'id', id);
4456
- const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4727
+ assertParamExists('commandControllerGetExecutions', 'id', id);
4728
+ const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4457
4729
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4458
4730
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4459
4731
  let baseOptions;
4460
4732
  if (configuration) {
4461
4733
  baseOptions = configuration.baseOptions;
4462
4734
  }
4463
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
4735
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4464
4736
  const localVarHeaderParameter = {};
4465
4737
  const localVarQueryParameter = {};
4466
4738
  // authentication domainAuth required
4739
+ if (success !== undefined) {
4740
+ for (const [key, value] of Object.entries(success)) {
4741
+ localVarQueryParameter[key] = value;
4742
+ }
4743
+ }
4467
4744
  localVarHeaderParameter['Content-Type'] = 'application/json';
4468
4745
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4469
4746
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4470
4747
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4471
- localVarRequestOptions.data = serializeDataIfNeeded(commandUpdateDTO, localVarRequestOptions, configuration);
4748
+ localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
4472
4749
  return {
4473
4750
  url: toPathString(localVarUrlObj),
4474
4751
  options: localVarRequestOptions,
4475
4752
  };
4476
4753
  },
4477
4754
  /**
4478
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
4479
- * @summary Update argument
4755
+ * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
4756
+ * @summary Get one
4480
4757
  * @param {string} id
4481
- * @param {CommandArgumentUpdateDTO} [commandArgumentUpdateDTO] CommandArgumentUpdateDTO
4482
4758
  * @param {*} [options] Override http request option.
4483
4759
  * @throws {RequiredError}
4484
4760
  */
4485
- commandControllerUpdateArgument: async (id, commandArgumentUpdateDTO, options = {}) => {
4761
+ commandControllerGetOne: async (id, options = {}) => {
4486
4762
  // 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)));
4763
+ assertParamExists('commandControllerGetOne', 'id', id);
4764
+ const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4489
4765
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4490
4766
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4491
4767
  let baseOptions;
4492
4768
  if (configuration) {
4493
4769
  baseOptions = configuration.baseOptions;
4494
4770
  }
4495
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
4771
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4496
4772
  const localVarHeaderParameter = {};
4497
4773
  const localVarQueryParameter = {};
4498
4774
  // authentication domainAuth required
4499
- localVarHeaderParameter['Content-Type'] = 'application/json';
4500
4775
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4501
4776
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4502
4777
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4503
- localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentUpdateDTO, localVarRequestOptions, configuration);
4504
4778
  return {
4505
4779
  url: toPathString(localVarUrlObj),
4506
4780
  options: localVarRequestOptions,
4507
4781
  };
4508
4782
  },
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
- /**
4519
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
4520
- * @summary Create
4521
- * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
4522
- * @param {*} [options] Override http request option.
4523
- * @throws {RequiredError}
4524
- */
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);
4530
- },
4531
- /**
4532
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
4533
- * @summary Create argument
4534
- * @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
4535
- * @param {*} [options] Override http request option.
4536
- * @throws {RequiredError}
4537
- */
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);
4543
- },
4544
- /**
4545
- * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
4546
- * @summary Get executions
4547
- * @param {string} id
4548
- * @param {any} [success]
4549
- * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
4550
- * @param {*} [options] Override http request option.
4551
- * @throws {RequiredError}
4552
- */
4553
- async commandControllerGetExecutions(id, success, eventSearchInputDTO, options) {
4554
- const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetExecutions(id, success, eventSearchInputDTO, options);
4555
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4556
- const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
4557
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4558
- },
4559
- /**
4560
- * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
4561
- * @summary Get one
4562
- * @param {string} id
4563
- * @param {*} [options] Override http request option.
4564
- * @throws {RequiredError}
4565
- */
4566
- async commandControllerGetOne(id, options) {
4567
- const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetOne(id, options);
4568
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4569
- const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerGetOne']?.[localVarOperationServerIndex]?.url;
4570
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4571
- },
4572
4783
  /**
4573
4784
  * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
4574
4785
  * @summary Remove
@@ -4576,11 +4787,27 @@ export const CommandApiFp = function (configuration) {
4576
4787
  * @param {*} [options] Override http request option.
4577
4788
  * @throws {RequiredError}
4578
4789
  */
4579
- async commandControllerRemove(id, options) {
4580
- const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemove(id, options);
4581
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4582
- const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerRemove']?.[localVarOperationServerIndex]?.url;
4583
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4790
+ commandControllerRemove: async (id, options = {}) => {
4791
+ // verify required parameter 'id' is not null or undefined
4792
+ assertParamExists('commandControllerRemove', 'id', id);
4793
+ const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4794
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4795
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4796
+ let baseOptions;
4797
+ if (configuration) {
4798
+ baseOptions = configuration.baseOptions;
4799
+ }
4800
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
4801
+ const localVarHeaderParameter = {};
4802
+ const localVarQueryParameter = {};
4803
+ // authentication domainAuth required
4804
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4805
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4806
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4807
+ return {
4808
+ url: toPathString(localVarUrlObj),
4809
+ options: localVarRequestOptions,
4810
+ };
4584
4811
  },
4585
4812
  /**
4586
4813
  * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
@@ -4589,11 +4816,241 @@ export const CommandApiFp = function (configuration) {
4589
4816
  * @param {*} [options] Override http request option.
4590
4817
  * @throws {RequiredError}
4591
4818
  */
4592
- async commandControllerRemoveArgument(id, options) {
4593
- const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemoveArgument(id, options);
4594
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4595
- const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerRemoveArgument']?.[localVarOperationServerIndex]?.url;
4596
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4819
+ commandControllerRemoveArgument: async (id, options = {}) => {
4820
+ // verify required parameter 'id' is not null or undefined
4821
+ assertParamExists('commandControllerRemoveArgument', 'id', id);
4822
+ const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4823
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4824
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4825
+ let baseOptions;
4826
+ if (configuration) {
4827
+ baseOptions = configuration.baseOptions;
4828
+ }
4829
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
4830
+ const localVarHeaderParameter = {};
4831
+ const localVarQueryParameter = {};
4832
+ // authentication domainAuth required
4833
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4834
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4835
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4836
+ return {
4837
+ url: toPathString(localVarUrlObj),
4838
+ options: localVarRequestOptions,
4839
+ };
4840
+ },
4841
+ /**
4842
+ * Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
4843
+ * @summary Search
4844
+ * @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
4845
+ * @param {*} [options] Override http request option.
4846
+ * @throws {RequiredError}
4847
+ */
4848
+ commandControllerSearch: async (commandSearchInputDTO, options = {}) => {
4849
+ const localVarPath = `/command/search`;
4850
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4851
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4852
+ let baseOptions;
4853
+ if (configuration) {
4854
+ baseOptions = configuration.baseOptions;
4855
+ }
4856
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4857
+ const localVarHeaderParameter = {};
4858
+ const localVarQueryParameter = {};
4859
+ // authentication domainAuth required
4860
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4861
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4862
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4863
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4864
+ localVarRequestOptions.data = serializeDataIfNeeded(commandSearchInputDTO, localVarRequestOptions, configuration);
4865
+ return {
4866
+ url: toPathString(localVarUrlObj),
4867
+ options: localVarRequestOptions,
4868
+ };
4869
+ },
4870
+ /**
4871
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
4872
+ * @summary Trigger
4873
+ * @param {string} id
4874
+ * @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
4875
+ * @param {*} [options] Override http request option.
4876
+ * @throws {RequiredError}
4877
+ */
4878
+ commandControllerTrigger: async (id, commandTriggerDTO, options = {}) => {
4879
+ // verify required parameter 'id' is not null or undefined
4880
+ assertParamExists('commandControllerTrigger', 'id', id);
4881
+ const localVarPath = `/command/{id}/trigger`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
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(commandTriggerDTO, localVarRequestOptions, configuration);
4897
+ return {
4898
+ url: toPathString(localVarUrlObj),
4899
+ options: localVarRequestOptions,
4900
+ };
4901
+ },
4902
+ /**
4903
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
4904
+ * @summary Update
4905
+ * @param {string} id
4906
+ * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
4907
+ * @param {*} [options] Override http request option.
4908
+ * @throws {RequiredError}
4909
+ */
4910
+ commandControllerUpdate: async (id, commandUpdateDTO, options = {}) => {
4911
+ // verify required parameter 'id' is not null or undefined
4912
+ assertParamExists('commandControllerUpdate', 'id', id);
4913
+ const localVarPath = `/command/{id}`.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: 'PUT', ...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(commandUpdateDTO, localVarRequestOptions, configuration);
4929
+ return {
4930
+ url: toPathString(localVarUrlObj),
4931
+ options: localVarRequestOptions,
4932
+ };
4933
+ },
4934
+ /**
4935
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
4936
+ * @summary Update argument
4937
+ * @param {string} id
4938
+ * @param {CommandArgumentUpdateDTO} [commandArgumentUpdateDTO] CommandArgumentUpdateDTO
4939
+ * @param {*} [options] Override http request option.
4940
+ * @throws {RequiredError}
4941
+ */
4942
+ commandControllerUpdateArgument: async (id, commandArgumentUpdateDTO, options = {}) => {
4943
+ // verify required parameter 'id' is not null or undefined
4944
+ assertParamExists('commandControllerUpdateArgument', 'id', id);
4945
+ const localVarPath = `/command/argument/{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(commandArgumentUpdateDTO, localVarRequestOptions, configuration);
4961
+ return {
4962
+ url: toPathString(localVarUrlObj),
4963
+ options: localVarRequestOptions,
4964
+ };
4965
+ },
4966
+ };
4967
+ };
4968
+ /**
4969
+ * CommandApi - functional programming interface
4970
+ * @export
4971
+ */
4972
+ export const CommandApiFp = function (configuration) {
4973
+ const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
4974
+ return {
4975
+ /**
4976
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
4977
+ * @summary Create
4978
+ * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
4979
+ * @param {*} [options] Override http request option.
4980
+ * @throws {RequiredError}
4981
+ */
4982
+ async commandControllerCreate(commandCreateDTO, options) {
4983
+ const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
4984
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4985
+ const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreate']?.[localVarOperationServerIndex]?.url;
4986
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4987
+ },
4988
+ /**
4989
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
4990
+ * @summary Create argument
4991
+ * @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
4992
+ * @param {*} [options] Override http request option.
4993
+ * @throws {RequiredError}
4994
+ */
4995
+ async commandControllerCreateArgument(commandArgumentCreateDTO, options) {
4996
+ const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreateArgument(commandArgumentCreateDTO, options);
4997
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4998
+ const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreateArgument']?.[localVarOperationServerIndex]?.url;
4999
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5000
+ },
5001
+ /**
5002
+ * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
5003
+ * @summary Get executions
5004
+ * @param {string} id
5005
+ * @param {any} [success]
5006
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
5007
+ * @param {*} [options] Override http request option.
5008
+ * @throws {RequiredError}
5009
+ */
5010
+ async commandControllerGetExecutions(id, success, eventSearchInputDTO, options) {
5011
+ const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetExecutions(id, success, eventSearchInputDTO, options);
5012
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5013
+ const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
5014
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5015
+ },
5016
+ /**
5017
+ * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
5018
+ * @summary Get one
5019
+ * @param {string} id
5020
+ * @param {*} [options] Override http request option.
5021
+ * @throws {RequiredError}
5022
+ */
5023
+ async commandControllerGetOne(id, options) {
5024
+ const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetOne(id, options);
5025
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5026
+ const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerGetOne']?.[localVarOperationServerIndex]?.url;
5027
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5028
+ },
5029
+ /**
5030
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
5031
+ * @summary Remove
5032
+ * @param {string} id
5033
+ * @param {*} [options] Override http request option.
5034
+ * @throws {RequiredError}
5035
+ */
5036
+ async commandControllerRemove(id, options) {
5037
+ const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemove(id, options);
5038
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5039
+ const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerRemove']?.[localVarOperationServerIndex]?.url;
5040
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5041
+ },
5042
+ /**
5043
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
5044
+ * @summary Remove argument
5045
+ * @param {string} id
5046
+ * @param {*} [options] Override http request option.
5047
+ * @throws {RequiredError}
5048
+ */
5049
+ async commandControllerRemoveArgument(id, options) {
5050
+ const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemoveArgument(id, options);
5051
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5052
+ const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerRemoveArgument']?.[localVarOperationServerIndex]?.url;
5053
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4597
5054
  },
4598
5055
  /**
4599
5056
  * Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
@@ -6744,14 +7201,14 @@ export const EventApiAxiosParamCreator = function (configuration) {
6744
7201
  };
6745
7202
  },
6746
7203
  /**
6747
- * 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
- * @summary Export events to CSV
6749
- * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
7204
+ * 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`
7205
+ * @summary Explore events
7206
+ * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
6750
7207
  * @param {*} [options] Override http request option.
6751
7208
  * @throws {RequiredError}
6752
7209
  */
6753
- eventControllerExport: async (eventSearchInputDTO, options = {}) => {
6754
- const localVarPath = `/event/export`;
7210
+ eventControllerExplore: async (eventExploreInputDTO, options = {}) => {
7211
+ const localVarPath = `/event/explore`;
6755
7212
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6756
7213
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6757
7214
  let baseOptions;
@@ -6766,21 +7223,21 @@ export const EventApiAxiosParamCreator = function (configuration) {
6766
7223
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6767
7224
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6768
7225
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
6769
- localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
7226
+ localVarRequestOptions.data = serializeDataIfNeeded(eventExploreInputDTO, localVarRequestOptions, configuration);
6770
7227
  return {
6771
7228
  url: toPathString(localVarUrlObj),
6772
7229
  options: localVarRequestOptions,
6773
7230
  };
6774
7231
  },
6775
7232
  /**
6776
- * Fetches events where cronjob, hook and command failed. Supports all the common query parameters Required permissions: `READ_MODULES`, `READ_EVENTS`<br> OperationId: `EventControllerGetFailedFunctions`
6777
- * @summary Get failed functions
6778
- * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
7233
+ * 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`
7234
+ * @summary Get event volume time-series with optional grouping
7235
+ * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
6779
7236
  * @param {*} [options] Override http request option.
6780
7237
  * @throws {RequiredError}
6781
7238
  */
6782
- eventControllerGetFailedFunctions: async (eventSearchInputDTO, options = {}) => {
6783
- const localVarPath = `/event/filter/failed-functions`;
7239
+ eventControllerExploreVolume: async (eventVolumeInputDTO, options = {}) => {
7240
+ const localVarPath = `/event/explore/volume`;
6784
7241
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6785
7242
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6786
7243
  let baseOptions;
@@ -6795,50 +7252,50 @@ export const EventApiAxiosParamCreator = function (configuration) {
6795
7252
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6796
7253
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6797
7254
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
6798
- localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
7255
+ localVarRequestOptions.data = serializeDataIfNeeded(eventVolumeInputDTO, localVarRequestOptions, configuration);
6799
7256
  return {
6800
7257
  url: toPathString(localVarUrlObj),
6801
7258
  options: localVarRequestOptions,
6802
7259
  };
6803
7260
  },
6804
7261
  /**
6805
- * Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerGetOne`
6806
- * @summary Get one
6807
- * @param {string} id
7262
+ * 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`
7263
+ * @summary Export events to CSV
7264
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
6808
7265
  * @param {*} [options] Override http request option.
6809
7266
  * @throws {RequiredError}
6810
7267
  */
6811
- eventControllerGetOne: async (id, options = {}) => {
6812
- // verify required parameter 'id' is not null or undefined
6813
- assertParamExists('eventControllerGetOne', 'id', id);
6814
- const localVarPath = `/event/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
7268
+ eventControllerExport: async (eventSearchInputDTO, options = {}) => {
7269
+ const localVarPath = `/event/export`;
6815
7270
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6816
7271
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6817
7272
  let baseOptions;
6818
7273
  if (configuration) {
6819
7274
  baseOptions = configuration.baseOptions;
6820
7275
  }
6821
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
7276
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
6822
7277
  const localVarHeaderParameter = {};
6823
7278
  const localVarQueryParameter = {};
6824
7279
  // authentication domainAuth required
7280
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6825
7281
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6826
7282
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6827
7283
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7284
+ localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
6828
7285
  return {
6829
7286
  url: toPathString(localVarUrlObj),
6830
7287
  options: localVarRequestOptions,
6831
7288
  };
6832
7289
  },
6833
7290
  /**
6834
- * Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
6835
- * @summary Search
7291
+ * Fetches events where cronjob, hook and command failed. Supports all the common query parameters Required permissions: `READ_MODULES`, `READ_EVENTS`<br> OperationId: `EventControllerGetFailedFunctions`
7292
+ * @summary Get failed functions
6836
7293
  * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
6837
7294
  * @param {*} [options] Override http request option.
6838
7295
  * @throws {RequiredError}
6839
7296
  */
6840
- eventControllerSearch: async (eventSearchInputDTO, options = {}) => {
6841
- const localVarPath = `/event/search`;
7297
+ eventControllerGetFailedFunctions: async (eventSearchInputDTO, options = {}) => {
7298
+ const localVarPath = `/event/filter/failed-functions`;
6842
7299
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6843
7300
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6844
7301
  let baseOptions;
@@ -6859,12 +7316,70 @@ export const EventApiAxiosParamCreator = function (configuration) {
6859
7316
  options: localVarRequestOptions,
6860
7317
  };
6861
7318
  },
6862
- };
6863
- };
6864
- /**
6865
- * EventApi - functional programming interface
6866
- * @export
6867
- */
7319
+ /**
7320
+ * Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerGetOne`
7321
+ * @summary Get one
7322
+ * @param {string} id
7323
+ * @param {*} [options] Override http request option.
7324
+ * @throws {RequiredError}
7325
+ */
7326
+ eventControllerGetOne: async (id, options = {}) => {
7327
+ // verify required parameter 'id' is not null or undefined
7328
+ assertParamExists('eventControllerGetOne', 'id', id);
7329
+ const localVarPath = `/event/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
7330
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7331
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7332
+ let baseOptions;
7333
+ if (configuration) {
7334
+ baseOptions = configuration.baseOptions;
7335
+ }
7336
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
7337
+ const localVarHeaderParameter = {};
7338
+ const localVarQueryParameter = {};
7339
+ // authentication domainAuth required
7340
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7341
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7342
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7343
+ return {
7344
+ url: toPathString(localVarUrlObj),
7345
+ options: localVarRequestOptions,
7346
+ };
7347
+ },
7348
+ /**
7349
+ * Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
7350
+ * @summary Search
7351
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
7352
+ * @param {*} [options] Override http request option.
7353
+ * @throws {RequiredError}
7354
+ */
7355
+ eventControllerSearch: async (eventSearchInputDTO, options = {}) => {
7356
+ const localVarPath = `/event/search`;
7357
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7358
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7359
+ let baseOptions;
7360
+ if (configuration) {
7361
+ baseOptions = configuration.baseOptions;
7362
+ }
7363
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
7364
+ const localVarHeaderParameter = {};
7365
+ const localVarQueryParameter = {};
7366
+ // authentication domainAuth required
7367
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7368
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7369
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7370
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7371
+ localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
7372
+ return {
7373
+ url: toPathString(localVarUrlObj),
7374
+ options: localVarRequestOptions,
7375
+ };
7376
+ },
7377
+ };
7378
+ };
7379
+ /**
7380
+ * EventApi - functional programming interface
7381
+ * @export
7382
+ */
6868
7383
  export const EventApiFp = function (configuration) {
6869
7384
  const localVarAxiosParamCreator = EventApiAxiosParamCreator(configuration);
6870
7385
  return {
@@ -6881,6 +7396,32 @@ export const EventApiFp = function (configuration) {
6881
7396
  const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerCreate']?.[localVarOperationServerIndex]?.url;
6882
7397
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6883
7398
  },
7399
+ /**
7400
+ * 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`
7401
+ * @summary Explore events
7402
+ * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
7403
+ * @param {*} [options] Override http request option.
7404
+ * @throws {RequiredError}
7405
+ */
7406
+ async eventControllerExplore(eventExploreInputDTO, options) {
7407
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExplore(eventExploreInputDTO, options);
7408
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7409
+ const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerExplore']?.[localVarOperationServerIndex]?.url;
7410
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7411
+ },
7412
+ /**
7413
+ * 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`
7414
+ * @summary Get event volume time-series with optional grouping
7415
+ * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
7416
+ * @param {*} [options] Override http request option.
7417
+ * @throws {RequiredError}
7418
+ */
7419
+ async eventControllerExploreVolume(eventVolumeInputDTO, options) {
7420
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExploreVolume(eventVolumeInputDTO, options);
7421
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7422
+ const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerExploreVolume']?.[localVarOperationServerIndex]?.url;
7423
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7424
+ },
6884
7425
  /**
6885
7426
  * 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
7427
  * @summary Export events to CSV
@@ -6952,6 +7493,30 @@ export const EventApiFactory = function (configuration, basePath, axios) {
6952
7493
  eventControllerCreate(eventCreateDTO, options) {
6953
7494
  return localVarFp.eventControllerCreate(eventCreateDTO, options).then((request) => request(axios, basePath));
6954
7495
  },
7496
+ /**
7497
+ * 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`
7498
+ * @summary Explore events
7499
+ * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
7500
+ * @param {*} [options] Override http request option.
7501
+ * @throws {RequiredError}
7502
+ */
7503
+ eventControllerExplore(eventExploreInputDTO, options) {
7504
+ return localVarFp
7505
+ .eventControllerExplore(eventExploreInputDTO, options)
7506
+ .then((request) => request(axios, basePath));
7507
+ },
7508
+ /**
7509
+ * 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`
7510
+ * @summary Get event volume time-series with optional grouping
7511
+ * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
7512
+ * @param {*} [options] Override http request option.
7513
+ * @throws {RequiredError}
7514
+ */
7515
+ eventControllerExploreVolume(eventVolumeInputDTO, options) {
7516
+ return localVarFp
7517
+ .eventControllerExploreVolume(eventVolumeInputDTO, options)
7518
+ .then((request) => request(axios, basePath));
7519
+ },
6955
7520
  /**
6956
7521
  * 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
7522
  * @summary Export events to CSV
@@ -7016,6 +7581,32 @@ export class EventApi extends BaseAPI {
7016
7581
  .eventControllerCreate(eventCreateDTO, options)
7017
7582
  .then((request) => request(this.axios, this.basePath));
7018
7583
  }
7584
+ /**
7585
+ * 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`
7586
+ * @summary Explore events
7587
+ * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
7588
+ * @param {*} [options] Override http request option.
7589
+ * @throws {RequiredError}
7590
+ * @memberof EventApi
7591
+ */
7592
+ eventControllerExplore(eventExploreInputDTO, options) {
7593
+ return EventApiFp(this.configuration)
7594
+ .eventControllerExplore(eventExploreInputDTO, options)
7595
+ .then((request) => request(this.axios, this.basePath));
7596
+ }
7597
+ /**
7598
+ * 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`
7599
+ * @summary Get event volume time-series with optional grouping
7600
+ * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
7601
+ * @param {*} [options] Override http request option.
7602
+ * @throws {RequiredError}
7603
+ * @memberof EventApi
7604
+ */
7605
+ eventControllerExploreVolume(eventVolumeInputDTO, options) {
7606
+ return EventApiFp(this.configuration)
7607
+ .eventControllerExploreVolume(eventVolumeInputDTO, options)
7608
+ .then((request) => request(this.axios, this.basePath));
7609
+ }
7019
7610
  /**
7020
7611
  * 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
7612
  * @summary Export events to CSV
@@ -11720,6 +12311,38 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
11720
12311
  options: localVarRequestOptions,
11721
12312
  };
11722
12313
  },
12314
+ /**
12315
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
12316
+ * @summary Bulk assign role
12317
+ * @param {string} roleId
12318
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
12319
+ * @param {*} [options] Override http request option.
12320
+ * @throws {RequiredError}
12321
+ */
12322
+ playerControllerBulkAssignRole: async (roleId, playerBulkAssignRoleInputDTO, options = {}) => {
12323
+ // verify required parameter 'roleId' is not null or undefined
12324
+ assertParamExists('playerControllerBulkAssignRole', 'roleId', roleId);
12325
+ const localVarPath = `/player/role/{roleId}`.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
12326
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12327
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12328
+ let baseOptions;
12329
+ if (configuration) {
12330
+ baseOptions = configuration.baseOptions;
12331
+ }
12332
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
12333
+ const localVarHeaderParameter = {};
12334
+ const localVarQueryParameter = {};
12335
+ // authentication domainAuth required
12336
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12337
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12338
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12339
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12340
+ localVarRequestOptions.data = serializeDataIfNeeded(playerBulkAssignRoleInputDTO, localVarRequestOptions, configuration);
12341
+ return {
12342
+ url: toPathString(localVarUrlObj),
12343
+ options: localVarRequestOptions,
12344
+ };
12345
+ },
11723
12346
  /**
11724
12347
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
11725
12348
  * @summary Bulk delete
@@ -11989,6 +12612,20 @@ export const PlayerApiFp = function (configuration) {
11989
12612
  const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerAssignRole']?.[localVarOperationServerIndex]?.url;
11990
12613
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11991
12614
  },
12615
+ /**
12616
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
12617
+ * @summary Bulk assign role
12618
+ * @param {string} roleId
12619
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
12620
+ * @param {*} [options] Override http request option.
12621
+ * @throws {RequiredError}
12622
+ */
12623
+ async playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
12624
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options);
12625
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12626
+ const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerBulkAssignRole']?.[localVarOperationServerIndex]?.url;
12627
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12628
+ },
11992
12629
  /**
11993
12630
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
11994
12631
  * @summary Bulk delete
@@ -12142,6 +12779,19 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
12142
12779
  .playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
12143
12780
  .then((request) => request(axios, basePath));
12144
12781
  },
12782
+ /**
12783
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
12784
+ * @summary Bulk assign role
12785
+ * @param {string} roleId
12786
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
12787
+ * @param {*} [options] Override http request option.
12788
+ * @throws {RequiredError}
12789
+ */
12790
+ playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
12791
+ return localVarFp
12792
+ .playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
12793
+ .then((request) => request(axios, basePath));
12794
+ },
12145
12795
  /**
12146
12796
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
12147
12797
  * @summary Bulk delete
@@ -12299,6 +12949,20 @@ export class PlayerApi extends BaseAPI {
12299
12949
  .playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
12300
12950
  .then((request) => request(this.axios, this.basePath));
12301
12951
  }
12952
+ /**
12953
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
12954
+ * @summary Bulk assign role
12955
+ * @param {string} roleId
12956
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
12957
+ * @param {*} [options] Override http request option.
12958
+ * @throws {RequiredError}
12959
+ * @memberof PlayerApi
12960
+ */
12961
+ playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
12962
+ return PlayerApiFp(this.configuration)
12963
+ .playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
12964
+ .then((request) => request(this.axios, this.basePath));
12965
+ }
12302
12966
  /**
12303
12967
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
12304
12968
  * @summary Bulk delete
@@ -12422,6 +13086,38 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
12422
13086
  options: localVarRequestOptions,
12423
13087
  };
12424
13088
  },
13089
+ /**
13090
+ * 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`
13091
+ * @summary Bulk add currency
13092
+ * @param {string} gameServerId
13093
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
13094
+ * @param {*} [options] Override http request option.
13095
+ * @throws {RequiredError}
13096
+ */
13097
+ playerOnGameServerControllerBulkAddCurrency: async (gameServerId, pogBulkAddCurrencyInputDTO, options = {}) => {
13098
+ // verify required parameter 'gameServerId' is not null or undefined
13099
+ assertParamExists('playerOnGameServerControllerBulkAddCurrency', 'gameServerId', gameServerId);
13100
+ const localVarPath = `/gameserver/{gameServerId}/addCurrency`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
13101
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13102
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13103
+ let baseOptions;
13104
+ if (configuration) {
13105
+ baseOptions = configuration.baseOptions;
13106
+ }
13107
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
13108
+ const localVarHeaderParameter = {};
13109
+ const localVarQueryParameter = {};
13110
+ // authentication domainAuth required
13111
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13112
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13113
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13114
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13115
+ localVarRequestOptions.data = serializeDataIfNeeded(pogBulkAddCurrencyInputDTO, localVarRequestOptions, configuration);
13116
+ return {
13117
+ url: toPathString(localVarUrlObj),
13118
+ options: localVarRequestOptions,
13119
+ };
13120
+ },
12425
13121
  /**
12426
13122
  * 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
13123
  * @summary Bulk delete
@@ -12492,55 +13188,638 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
12492
13188
  };
12493
13189
  },
12494
13190
  /**
12495
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
12496
- * @summary Delete
12497
- * @param {string} gameServerId
12498
- * @param {string} playerId
13191
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
13192
+ * @summary Delete
13193
+ * @param {string} gameServerId
13194
+ * @param {string} playerId
13195
+ * @param {*} [options] Override http request option.
13196
+ * @throws {RequiredError}
13197
+ */
13198
+ playerOnGameServerControllerDelete: async (gameServerId, playerId, options = {}) => {
13199
+ // verify required parameter 'gameServerId' is not null or undefined
13200
+ assertParamExists('playerOnGameServerControllerDelete', 'gameServerId', gameServerId);
13201
+ // verify required parameter 'playerId' is not null or undefined
13202
+ assertParamExists('playerOnGameServerControllerDelete', 'playerId', playerId);
13203
+ const localVarPath = `/gameserver/{gameServerId}/player/{playerId}`
13204
+ .replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)))
13205
+ .replace(`{${'playerId'}}`, encodeURIComponent(String(playerId)));
13206
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13207
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13208
+ let baseOptions;
13209
+ if (configuration) {
13210
+ baseOptions = configuration.baseOptions;
13211
+ }
13212
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
13213
+ const localVarHeaderParameter = {};
13214
+ const localVarQueryParameter = {};
13215
+ // authentication domainAuth required
13216
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13217
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13218
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13219
+ return {
13220
+ url: toPathString(localVarUrlObj),
13221
+ options: localVarRequestOptions,
13222
+ };
13223
+ },
13224
+ /**
13225
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
13226
+ * @summary Get one
13227
+ * @param {string} gameServerId
13228
+ * @param {string} playerId
13229
+ * @param {*} [options] Override http request option.
13230
+ * @throws {RequiredError}
13231
+ */
13232
+ playerOnGameServerControllerGetOne: async (gameServerId, playerId, options = {}) => {
13233
+ // verify required parameter 'gameServerId' is not null or undefined
13234
+ assertParamExists('playerOnGameServerControllerGetOne', 'gameServerId', gameServerId);
13235
+ // verify required parameter 'playerId' is not null or undefined
13236
+ assertParamExists('playerOnGameServerControllerGetOne', 'playerId', playerId);
13237
+ const localVarPath = `/gameserver/{gameServerId}/player/{playerId}`
13238
+ .replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)))
13239
+ .replace(`{${'playerId'}}`, encodeURIComponent(String(playerId)));
13240
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13241
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13242
+ let baseOptions;
13243
+ if (configuration) {
13244
+ baseOptions = configuration.baseOptions;
13245
+ }
13246
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
13247
+ const localVarHeaderParameter = {};
13248
+ const localVarQueryParameter = {};
13249
+ // authentication domainAuth required
13250
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13251
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13252
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13253
+ return {
13254
+ url: toPathString(localVarUrlObj),
13255
+ options: localVarRequestOptions,
13256
+ };
13257
+ },
13258
+ /**
13259
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
13260
+ * @summary Search
13261
+ * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
13262
+ * @param {*} [options] Override http request option.
13263
+ * @throws {RequiredError}
13264
+ */
13265
+ playerOnGameServerControllerSearch: async (playerOnGameServerSearchInputDTO, options = {}) => {
13266
+ const localVarPath = `/gameserver/player/search`;
13267
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13268
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13269
+ let baseOptions;
13270
+ if (configuration) {
13271
+ baseOptions = configuration.baseOptions;
13272
+ }
13273
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
13274
+ const localVarHeaderParameter = {};
13275
+ const localVarQueryParameter = {};
13276
+ // authentication domainAuth required
13277
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13278
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13279
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13280
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13281
+ localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSearchInputDTO, localVarRequestOptions, configuration);
13282
+ return {
13283
+ url: toPathString(localVarUrlObj),
13284
+ options: localVarRequestOptions,
13285
+ };
13286
+ },
13287
+ /**
13288
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
13289
+ * @summary Set currency
13290
+ * @param {string} gameServerId
13291
+ * @param {string} playerId
13292
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13293
+ * @param {*} [options] Override http request option.
13294
+ * @throws {RequiredError}
13295
+ */
13296
+ playerOnGameServerControllerSetCurrency: async (gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options = {}) => {
13297
+ // verify required parameter 'gameServerId' is not null or undefined
13298
+ assertParamExists('playerOnGameServerControllerSetCurrency', 'gameServerId', gameServerId);
13299
+ // verify required parameter 'playerId' is not null or undefined
13300
+ assertParamExists('playerOnGameServerControllerSetCurrency', 'playerId', playerId);
13301
+ const localVarPath = `/gameserver/{gameServerId}/player/{playerId}/currency`
13302
+ .replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)))
13303
+ .replace(`{${'playerId'}}`, encodeURIComponent(String(playerId)));
13304
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13305
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13306
+ let baseOptions;
13307
+ if (configuration) {
13308
+ baseOptions = configuration.baseOptions;
13309
+ }
13310
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
13311
+ const localVarHeaderParameter = {};
13312
+ const localVarQueryParameter = {};
13313
+ // authentication domainAuth required
13314
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13315
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13316
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13317
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13318
+ localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSetCurrencyInputDTO, localVarRequestOptions, configuration);
13319
+ return {
13320
+ url: toPathString(localVarUrlObj),
13321
+ options: localVarRequestOptions,
13322
+ };
13323
+ },
13324
+ /**
13325
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
13326
+ * @summary Transact between players
13327
+ * @param {string} gameServerId
13328
+ * @param {string} sender
13329
+ * @param {string} receiver
13330
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13331
+ * @param {*} [options] Override http request option.
13332
+ * @throws {RequiredError}
13333
+ */
13334
+ playerOnGameServerControllerTransactBetweenPlayers: async (gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options = {}) => {
13335
+ // verify required parameter 'gameServerId' is not null or undefined
13336
+ assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'gameServerId', gameServerId);
13337
+ // verify required parameter 'sender' is not null or undefined
13338
+ assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'sender', sender);
13339
+ // verify required parameter 'receiver' is not null or undefined
13340
+ assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'receiver', receiver);
13341
+ const localVarPath = `/gameserver/{gameServerId}/player/{sender}/{receiver}/transfer`
13342
+ .replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)))
13343
+ .replace(`{${'sender'}}`, encodeURIComponent(String(sender)))
13344
+ .replace(`{${'receiver'}}`, encodeURIComponent(String(receiver)));
13345
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13346
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13347
+ let baseOptions;
13348
+ if (configuration) {
13349
+ baseOptions = configuration.baseOptions;
13350
+ }
13351
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
13352
+ const localVarHeaderParameter = {};
13353
+ const localVarQueryParameter = {};
13354
+ // authentication domainAuth required
13355
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13356
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13357
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13358
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13359
+ localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSetCurrencyInputDTO, localVarRequestOptions, configuration);
13360
+ return {
13361
+ url: toPathString(localVarUrlObj),
13362
+ options: localVarRequestOptions,
13363
+ };
13364
+ },
13365
+ };
13366
+ };
13367
+ /**
13368
+ * PlayerOnGameServerApi - functional programming interface
13369
+ * @export
13370
+ */
13371
+ export const PlayerOnGameServerApiFp = function (configuration) {
13372
+ const localVarAxiosParamCreator = PlayerOnGameServerApiAxiosParamCreator(configuration);
13373
+ return {
13374
+ /**
13375
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
13376
+ * @summary Add currency
13377
+ * @param {string} gameServerId
13378
+ * @param {string} playerId
13379
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13380
+ * @param {*} [options] Override http request option.
13381
+ * @throws {RequiredError}
13382
+ */
13383
+ async playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
13384
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
13385
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13386
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[localVarOperationServerIndex]?.url;
13387
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13388
+ },
13389
+ /**
13390
+ * 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`
13391
+ * @summary Bulk add currency
13392
+ * @param {string} gameServerId
13393
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
13394
+ * @param {*} [options] Override http request option.
13395
+ * @throws {RequiredError}
13396
+ */
13397
+ async playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
13398
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options);
13399
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13400
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkAddCurrency']?.[localVarOperationServerIndex]?.url;
13401
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13402
+ },
13403
+ /**
13404
+ * 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`
13405
+ * @summary Bulk delete
13406
+ * @param {string} gameServerId
13407
+ * @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
13408
+ * @param {*} [options] Override http request option.
13409
+ * @throws {RequiredError}
13410
+ */
13411
+ async playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
13412
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options);
13413
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13414
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
13415
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13416
+ },
13417
+ /**
13418
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
13419
+ * @summary Deduct currency
13420
+ * @param {string} gameServerId
13421
+ * @param {string} playerId
13422
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13423
+ * @param {*} [options] Override http request option.
13424
+ * @throws {RequiredError}
13425
+ */
13426
+ async playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
13427
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
13428
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13429
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDeductCurrency']?.[localVarOperationServerIndex]?.url;
13430
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13431
+ },
13432
+ /**
13433
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
13434
+ * @summary Delete
13435
+ * @param {string} gameServerId
13436
+ * @param {string} playerId
13437
+ * @param {*} [options] Override http request option.
13438
+ * @throws {RequiredError}
13439
+ */
13440
+ async playerOnGameServerControllerDelete(gameServerId, playerId, options) {
13441
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDelete(gameServerId, playerId, options);
13442
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13443
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDelete']?.[localVarOperationServerIndex]
13444
+ ?.url;
13445
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13446
+ },
13447
+ /**
13448
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
13449
+ * @summary Get one
13450
+ * @param {string} gameServerId
13451
+ * @param {string} playerId
13452
+ * @param {*} [options] Override http request option.
13453
+ * @throws {RequiredError}
13454
+ */
13455
+ async playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
13456
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerGetOne(gameServerId, playerId, options);
13457
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13458
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerGetOne']?.[localVarOperationServerIndex]
13459
+ ?.url;
13460
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13461
+ },
13462
+ /**
13463
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
13464
+ * @summary Search
13465
+ * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
13466
+ * @param {*} [options] Override http request option.
13467
+ * @throws {RequiredError}
13468
+ */
13469
+ async playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
13470
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options);
13471
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13472
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSearch']?.[localVarOperationServerIndex]
13473
+ ?.url;
13474
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13475
+ },
13476
+ /**
13477
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
13478
+ * @summary Set currency
13479
+ * @param {string} gameServerId
13480
+ * @param {string} playerId
13481
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13482
+ * @param {*} [options] Override http request option.
13483
+ * @throws {RequiredError}
13484
+ */
13485
+ async playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
13486
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
13487
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13488
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSetCurrency']?.[localVarOperationServerIndex]?.url;
13489
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13490
+ },
13491
+ /**
13492
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
13493
+ * @summary Transact between players
13494
+ * @param {string} gameServerId
13495
+ * @param {string} sender
13496
+ * @param {string} receiver
13497
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13498
+ * @param {*} [options] Override http request option.
13499
+ * @throws {RequiredError}
13500
+ */
13501
+ async playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
13502
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options);
13503
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13504
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerTransactBetweenPlayers']?.[localVarOperationServerIndex]?.url;
13505
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13506
+ },
13507
+ };
13508
+ };
13509
+ /**
13510
+ * PlayerOnGameServerApi - factory interface
13511
+ * @export
13512
+ */
13513
+ export const PlayerOnGameServerApiFactory = function (configuration, basePath, axios) {
13514
+ const localVarFp = PlayerOnGameServerApiFp(configuration);
13515
+ return {
13516
+ /**
13517
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
13518
+ * @summary Add currency
13519
+ * @param {string} gameServerId
13520
+ * @param {string} playerId
13521
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13522
+ * @param {*} [options] Override http request option.
13523
+ * @throws {RequiredError}
13524
+ */
13525
+ playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
13526
+ return localVarFp
13527
+ .playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
13528
+ .then((request) => request(axios, basePath));
13529
+ },
13530
+ /**
13531
+ * 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`
13532
+ * @summary Bulk add currency
13533
+ * @param {string} gameServerId
13534
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
13535
+ * @param {*} [options] Override http request option.
13536
+ * @throws {RequiredError}
13537
+ */
13538
+ playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
13539
+ return localVarFp
13540
+ .playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
13541
+ .then((request) => request(axios, basePath));
13542
+ },
13543
+ /**
13544
+ * 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`
13545
+ * @summary Bulk delete
13546
+ * @param {string} gameServerId
13547
+ * @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
13548
+ * @param {*} [options] Override http request option.
13549
+ * @throws {RequiredError}
13550
+ */
13551
+ playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
13552
+ return localVarFp
13553
+ .playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
13554
+ .then((request) => request(axios, basePath));
13555
+ },
13556
+ /**
13557
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
13558
+ * @summary Deduct currency
13559
+ * @param {string} gameServerId
13560
+ * @param {string} playerId
13561
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13562
+ * @param {*} [options] Override http request option.
13563
+ * @throws {RequiredError}
13564
+ */
13565
+ playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
13566
+ return localVarFp
13567
+ .playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
13568
+ .then((request) => request(axios, basePath));
13569
+ },
13570
+ /**
13571
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
13572
+ * @summary Delete
13573
+ * @param {string} gameServerId
13574
+ * @param {string} playerId
13575
+ * @param {*} [options] Override http request option.
13576
+ * @throws {RequiredError}
13577
+ */
13578
+ playerOnGameServerControllerDelete(gameServerId, playerId, options) {
13579
+ return localVarFp
13580
+ .playerOnGameServerControllerDelete(gameServerId, playerId, options)
13581
+ .then((request) => request(axios, basePath));
13582
+ },
13583
+ /**
13584
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
13585
+ * @summary Get one
13586
+ * @param {string} gameServerId
13587
+ * @param {string} playerId
13588
+ * @param {*} [options] Override http request option.
13589
+ * @throws {RequiredError}
13590
+ */
13591
+ playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
13592
+ return localVarFp
13593
+ .playerOnGameServerControllerGetOne(gameServerId, playerId, options)
13594
+ .then((request) => request(axios, basePath));
13595
+ },
13596
+ /**
13597
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
13598
+ * @summary Search
13599
+ * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
13600
+ * @param {*} [options] Override http request option.
13601
+ * @throws {RequiredError}
13602
+ */
13603
+ playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
13604
+ return localVarFp
13605
+ .playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options)
13606
+ .then((request) => request(axios, basePath));
13607
+ },
13608
+ /**
13609
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
13610
+ * @summary Set currency
13611
+ * @param {string} gameServerId
13612
+ * @param {string} playerId
13613
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13614
+ * @param {*} [options] Override http request option.
13615
+ * @throws {RequiredError}
13616
+ */
13617
+ playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
13618
+ return localVarFp
13619
+ .playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
13620
+ .then((request) => request(axios, basePath));
13621
+ },
13622
+ /**
13623
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
13624
+ * @summary Transact between players
13625
+ * @param {string} gameServerId
13626
+ * @param {string} sender
13627
+ * @param {string} receiver
13628
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13629
+ * @param {*} [options] Override http request option.
13630
+ * @throws {RequiredError}
13631
+ */
13632
+ playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
13633
+ return localVarFp
13634
+ .playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options)
13635
+ .then((request) => request(axios, basePath));
13636
+ },
13637
+ };
13638
+ };
13639
+ /**
13640
+ * PlayerOnGameServerApi - object-oriented interface
13641
+ * @export
13642
+ * @class PlayerOnGameServerApi
13643
+ * @extends {BaseAPI}
13644
+ */
13645
+ export class PlayerOnGameServerApi extends BaseAPI {
13646
+ /**
13647
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
13648
+ * @summary Add currency
13649
+ * @param {string} gameServerId
13650
+ * @param {string} playerId
13651
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13652
+ * @param {*} [options] Override http request option.
13653
+ * @throws {RequiredError}
13654
+ * @memberof PlayerOnGameServerApi
13655
+ */
13656
+ playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
13657
+ return PlayerOnGameServerApiFp(this.configuration)
13658
+ .playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
13659
+ .then((request) => request(this.axios, this.basePath));
13660
+ }
13661
+ /**
13662
+ * 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`
13663
+ * @summary Bulk add currency
13664
+ * @param {string} gameServerId
13665
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
13666
+ * @param {*} [options] Override http request option.
13667
+ * @throws {RequiredError}
13668
+ * @memberof PlayerOnGameServerApi
13669
+ */
13670
+ playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
13671
+ return PlayerOnGameServerApiFp(this.configuration)
13672
+ .playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
13673
+ .then((request) => request(this.axios, this.basePath));
13674
+ }
13675
+ /**
13676
+ * 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`
13677
+ * @summary Bulk delete
13678
+ * @param {string} gameServerId
13679
+ * @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
13680
+ * @param {*} [options] Override http request option.
13681
+ * @throws {RequiredError}
13682
+ * @memberof PlayerOnGameServerApi
13683
+ */
13684
+ playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
13685
+ return PlayerOnGameServerApiFp(this.configuration)
13686
+ .playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
13687
+ .then((request) => request(this.axios, this.basePath));
13688
+ }
13689
+ /**
13690
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
13691
+ * @summary Deduct currency
13692
+ * @param {string} gameServerId
13693
+ * @param {string} playerId
13694
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13695
+ * @param {*} [options] Override http request option.
13696
+ * @throws {RequiredError}
13697
+ * @memberof PlayerOnGameServerApi
13698
+ */
13699
+ playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
13700
+ return PlayerOnGameServerApiFp(this.configuration)
13701
+ .playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
13702
+ .then((request) => request(this.axios, this.basePath));
13703
+ }
13704
+ /**
13705
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
13706
+ * @summary Delete
13707
+ * @param {string} gameServerId
13708
+ * @param {string} playerId
13709
+ * @param {*} [options] Override http request option.
13710
+ * @throws {RequiredError}
13711
+ * @memberof PlayerOnGameServerApi
13712
+ */
13713
+ playerOnGameServerControllerDelete(gameServerId, playerId, options) {
13714
+ return PlayerOnGameServerApiFp(this.configuration)
13715
+ .playerOnGameServerControllerDelete(gameServerId, playerId, options)
13716
+ .then((request) => request(this.axios, this.basePath));
13717
+ }
13718
+ /**
13719
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
13720
+ * @summary Get one
13721
+ * @param {string} gameServerId
13722
+ * @param {string} playerId
13723
+ * @param {*} [options] Override http request option.
13724
+ * @throws {RequiredError}
13725
+ * @memberof PlayerOnGameServerApi
13726
+ */
13727
+ playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
13728
+ return PlayerOnGameServerApiFp(this.configuration)
13729
+ .playerOnGameServerControllerGetOne(gameServerId, playerId, options)
13730
+ .then((request) => request(this.axios, this.basePath));
13731
+ }
13732
+ /**
13733
+ * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
13734
+ * @summary Search
13735
+ * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
13736
+ * @param {*} [options] Override http request option.
13737
+ * @throws {RequiredError}
13738
+ * @memberof PlayerOnGameServerApi
13739
+ */
13740
+ playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
13741
+ return PlayerOnGameServerApiFp(this.configuration)
13742
+ .playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options)
13743
+ .then((request) => request(this.axios, this.basePath));
13744
+ }
13745
+ /**
13746
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
13747
+ * @summary Set currency
13748
+ * @param {string} gameServerId
13749
+ * @param {string} playerId
13750
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13751
+ * @param {*} [options] Override http request option.
13752
+ * @throws {RequiredError}
13753
+ * @memberof PlayerOnGameServerApi
13754
+ */
13755
+ playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
13756
+ return PlayerOnGameServerApiFp(this.configuration)
13757
+ .playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
13758
+ .then((request) => request(this.axios, this.basePath));
13759
+ }
13760
+ /**
13761
+ * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
13762
+ * @summary Transact between players
13763
+ * @param {string} gameServerId
13764
+ * @param {string} sender
13765
+ * @param {string} receiver
13766
+ * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13767
+ * @param {*} [options] Override http request option.
13768
+ * @throws {RequiredError}
13769
+ * @memberof PlayerOnGameServerApi
13770
+ */
13771
+ playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
13772
+ return PlayerOnGameServerApiFp(this.configuration)
13773
+ .playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options)
13774
+ .then((request) => request(this.axios, this.basePath));
13775
+ }
13776
+ }
13777
+ /**
13778
+ * RegistryApi - axios parameter creator
13779
+ * @export
13780
+ */
13781
+ export const RegistryApiAxiosParamCreator = function (configuration) {
13782
+ return {
13783
+ /**
13784
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
13785
+ * @summary Install a module from a registry
13786
+ * @param {string} id
13787
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
12499
13788
  * @param {*} [options] Override http request option.
12500
13789
  * @throws {RequiredError}
12501
13790
  */
12502
- playerOnGameServerControllerDelete: async (gameServerId, playerId, options = {}) => {
12503
- // verify required parameter 'gameServerId' is not null or undefined
12504
- assertParamExists('playerOnGameServerControllerDelete', 'gameServerId', gameServerId);
12505
- // verify required parameter 'playerId' is not null or undefined
12506
- assertParamExists('playerOnGameServerControllerDelete', 'playerId', playerId);
12507
- const localVarPath = `/gameserver/{gameServerId}/player/{playerId}`
12508
- .replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)))
12509
- .replace(`{${'playerId'}}`, encodeURIComponent(String(playerId)));
13791
+ registryControllerInstall: async (id, registryInstallBody, options = {}) => {
13792
+ // verify required parameter 'id' is not null or undefined
13793
+ assertParamExists('registryControllerInstall', 'id', id);
13794
+ const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
12510
13795
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12511
13796
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12512
13797
  let baseOptions;
12513
13798
  if (configuration) {
12514
13799
  baseOptions = configuration.baseOptions;
12515
13800
  }
12516
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
13801
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
12517
13802
  const localVarHeaderParameter = {};
12518
13803
  const localVarQueryParameter = {};
12519
13804
  // authentication domainAuth required
13805
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12520
13806
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12521
13807
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12522
13808
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13809
+ localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
12523
13810
  return {
12524
13811
  url: toPathString(localVarUrlObj),
12525
13812
  options: localVarRequestOptions,
12526
13813
  };
12527
13814
  },
12528
13815
  /**
12529
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
12530
- * @summary Get one
12531
- * @param {string} gameServerId
12532
- * @param {string} playerId
13816
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
13817
+ * @summary List subscribed registries
12533
13818
  * @param {*} [options] Override http request option.
12534
13819
  * @throws {RequiredError}
12535
13820
  */
12536
- playerOnGameServerControllerGetOne: async (gameServerId, playerId, options = {}) => {
12537
- // verify required parameter 'gameServerId' is not null or undefined
12538
- assertParamExists('playerOnGameServerControllerGetOne', 'gameServerId', gameServerId);
12539
- // verify required parameter 'playerId' is not null or undefined
12540
- assertParamExists('playerOnGameServerControllerGetOne', 'playerId', playerId);
12541
- const localVarPath = `/gameserver/{gameServerId}/player/{playerId}`
12542
- .replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)))
12543
- .replace(`{${'playerId'}}`, encodeURIComponent(String(playerId)));
13821
+ registryControllerList: async (options = {}) => {
13822
+ const localVarPath = `/registry`;
12544
13823
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12545
13824
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12546
13825
  let baseOptions;
@@ -12560,14 +13839,16 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
12560
13839
  };
12561
13840
  },
12562
13841
  /**
12563
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
12564
- * @summary Search
12565
- * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
13842
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
13843
+ * @summary Refresh registry manifest
13844
+ * @param {string} id
12566
13845
  * @param {*} [options] Override http request option.
12567
13846
  * @throws {RequiredError}
12568
13847
  */
12569
- playerOnGameServerControllerSearch: async (playerOnGameServerSearchInputDTO, options = {}) => {
12570
- const localVarPath = `/gameserver/player/search`;
13848
+ registryControllerRefresh: async (id, options = {}) => {
13849
+ // verify required parameter 'id' is not null or undefined
13850
+ assertParamExists('registryControllerRefresh', 'id', id);
13851
+ const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
12571
13852
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12572
13853
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12573
13854
  let baseOptions;
@@ -12578,33 +13859,23 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
12578
13859
  const localVarHeaderParameter = {};
12579
13860
  const localVarQueryParameter = {};
12580
13861
  // authentication domainAuth required
12581
- localVarHeaderParameter['Content-Type'] = 'application/json';
12582
13862
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12583
13863
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12584
13864
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12585
- localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSearchInputDTO, localVarRequestOptions, configuration);
12586
13865
  return {
12587
13866
  url: toPathString(localVarUrlObj),
12588
13867
  options: localVarRequestOptions,
12589
13868
  };
12590
13869
  },
12591
13870
  /**
12592
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
12593
- * @summary Set currency
12594
- * @param {string} gameServerId
12595
- * @param {string} playerId
12596
- * @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
13871
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
13872
+ * @summary Subscribe to a registry
13873
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
12597
13874
  * @param {*} [options] Override http request option.
12598
13875
  * @throws {RequiredError}
12599
13876
  */
12600
- playerOnGameServerControllerSetCurrency: async (gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options = {}) => {
12601
- // verify required parameter 'gameServerId' is not null or undefined
12602
- assertParamExists('playerOnGameServerControllerSetCurrency', 'gameServerId', gameServerId);
12603
- // verify required parameter 'playerId' is not null or undefined
12604
- assertParamExists('playerOnGameServerControllerSetCurrency', 'playerId', playerId);
12605
- const localVarPath = `/gameserver/{gameServerId}/player/{playerId}/currency`
12606
- .replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)))
12607
- .replace(`{${'playerId'}}`, encodeURIComponent(String(playerId)));
13877
+ registryControllerSubscribe: async (registrySubscribeBody, options = {}) => {
13878
+ const localVarPath = `/registry`;
12608
13879
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12609
13880
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12610
13881
  let baseOptions;
@@ -12619,48 +13890,36 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
12619
13890
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12620
13891
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12621
13892
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12622
- localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSetCurrencyInputDTO, localVarRequestOptions, configuration);
13893
+ localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
12623
13894
  return {
12624
13895
  url: toPathString(localVarUrlObj),
12625
13896
  options: localVarRequestOptions,
12626
13897
  };
12627
13898
  },
12628
13899
  /**
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
13900
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
13901
+ * @summary Unsubscribe from a registry
13902
+ * @param {string} id
12635
13903
  * @param {*} [options] Override http request option.
12636
13904
  * @throws {RequiredError}
12637
13905
  */
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)));
13906
+ registryControllerUnsubscribe: async (id, options = {}) => {
13907
+ // verify required parameter 'id' is not null or undefined
13908
+ assertParamExists('registryControllerUnsubscribe', 'id', id);
13909
+ const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
12649
13910
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12650
13911
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12651
13912
  let baseOptions;
12652
13913
  if (configuration) {
12653
13914
  baseOptions = configuration.baseOptions;
12654
13915
  }
12655
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
13916
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
12656
13917
  const localVarHeaderParameter = {};
12657
13918
  const localVarQueryParameter = {};
12658
13919
  // authentication domainAuth required
12659
- localVarHeaderParameter['Content-Type'] = 'application/json';
12660
13920
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12661
13921
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12662
13922
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12663
- localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSetCurrencyInputDTO, localVarRequestOptions, configuration);
12664
13923
  return {
12665
13924
  url: toPathString(localVarUrlObj),
12666
13925
  options: localVarRequestOptions,
@@ -12669,371 +13928,212 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
12669
13928
  };
12670
13929
  };
12671
13930
  /**
12672
- * PlayerOnGameServerApi - functional programming interface
13931
+ * RegistryApi - functional programming interface
12673
13932
  * @export
12674
13933
  */
12675
- export const PlayerOnGameServerApiFp = function (configuration) {
12676
- const localVarAxiosParamCreator = PlayerOnGameServerApiAxiosParamCreator(configuration);
13934
+ export const RegistryApiFp = function (configuration) {
13935
+ const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
12677
13936
  return {
12678
13937
  /**
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
13938
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
13939
+ * @summary Install a module from a registry
13940
+ * @param {string} id
13941
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
12727
13942
  * @param {*} [options] Override http request option.
12728
13943
  * @throws {RequiredError}
12729
13944
  */
12730
- async playerOnGameServerControllerDelete(gameServerId, playerId, options) {
12731
- const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDelete(gameServerId, playerId, options);
13945
+ async registryControllerInstall(id, registryInstallBody, options) {
13946
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(id, registryInstallBody, options);
12732
13947
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12733
- const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDelete']?.[localVarOperationServerIndex]
12734
- ?.url;
13948
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
12735
13949
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12736
13950
  },
12737
13951
  /**
12738
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
12739
- * @summary Get one
12740
- * @param {string} gameServerId
12741
- * @param {string} playerId
13952
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
13953
+ * @summary List subscribed registries
12742
13954
  * @param {*} [options] Override http request option.
12743
13955
  * @throws {RequiredError}
12744
13956
  */
12745
- async playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
12746
- const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerGetOne(gameServerId, playerId, options);
13957
+ async registryControllerList(options) {
13958
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
12747
13959
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12748
- const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerGetOne']?.[localVarOperationServerIndex]
12749
- ?.url;
13960
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
12750
13961
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12751
13962
  },
12752
13963
  /**
12753
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
12754
- * @summary Search
12755
- * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
13964
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
13965
+ * @summary Refresh registry manifest
13966
+ * @param {string} id
12756
13967
  * @param {*} [options] Override http request option.
12757
13968
  * @throws {RequiredError}
12758
13969
  */
12759
- async playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
12760
- const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options);
13970
+ async registryControllerRefresh(id, options) {
13971
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
12761
13972
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12762
- const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSearch']?.[localVarOperationServerIndex]
12763
- ?.url;
13973
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
12764
13974
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12765
13975
  },
12766
13976
  /**
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
13977
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
13978
+ * @summary Subscribe to a registry
13979
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
12772
13980
  * @param {*} [options] Override http request option.
12773
13981
  * @throws {RequiredError}
12774
13982
  */
12775
- async playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
12776
- const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
13983
+ async registryControllerSubscribe(registrySubscribeBody, options) {
13984
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerSubscribe(registrySubscribeBody, options);
12777
13985
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12778
- const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSetCurrency']?.[localVarOperationServerIndex]?.url;
13986
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerSubscribe']?.[localVarOperationServerIndex]?.url;
12779
13987
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12780
13988
  },
12781
13989
  /**
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
13990
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
13991
+ * @summary Unsubscribe from a registry
13992
+ * @param {string} id
12788
13993
  * @param {*} [options] Override http request option.
12789
13994
  * @throws {RequiredError}
12790
13995
  */
12791
- async playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
12792
- const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options);
13996
+ async registryControllerUnsubscribe(id, options) {
13997
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerUnsubscribe(id, options);
12793
13998
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12794
- const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerTransactBetweenPlayers']?.[localVarOperationServerIndex]?.url;
13999
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerUnsubscribe']?.[localVarOperationServerIndex]?.url;
12795
14000
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12796
14001
  },
12797
14002
  };
12798
14003
  };
12799
14004
  /**
12800
- * PlayerOnGameServerApi - factory interface
14005
+ * RegistryApi - factory interface
12801
14006
  * @export
12802
14007
  */
12803
- export const PlayerOnGameServerApiFactory = function (configuration, basePath, axios) {
12804
- const localVarFp = PlayerOnGameServerApiFp(configuration);
14008
+ export const RegistryApiFactory = function (configuration, basePath, axios) {
14009
+ const localVarFp = RegistryApiFp(configuration);
12805
14010
  return {
12806
14011
  /**
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
14012
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
14013
+ * @summary Install a module from a registry
14014
+ * @param {string} id
14015
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
12852
14016
  * @param {*} [options] Override http request option.
12853
14017
  * @throws {RequiredError}
12854
14018
  */
12855
- playerOnGameServerControllerDelete(gameServerId, playerId, options) {
14019
+ registryControllerInstall(id, registryInstallBody, options) {
12856
14020
  return localVarFp
12857
- .playerOnGameServerControllerDelete(gameServerId, playerId, options)
14021
+ .registryControllerInstall(id, registryInstallBody, options)
12858
14022
  .then((request) => request(axios, basePath));
12859
14023
  },
12860
14024
  /**
12861
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
12862
- * @summary Get one
12863
- * @param {string} gameServerId
12864
- * @param {string} playerId
14025
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
14026
+ * @summary List subscribed registries
12865
14027
  * @param {*} [options] Override http request option.
12866
14028
  * @throws {RequiredError}
12867
14029
  */
12868
- playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
12869
- return localVarFp
12870
- .playerOnGameServerControllerGetOne(gameServerId, playerId, options)
12871
- .then((request) => request(axios, basePath));
14030
+ registryControllerList(options) {
14031
+ return localVarFp.registryControllerList(options).then((request) => request(axios, basePath));
12872
14032
  },
12873
14033
  /**
12874
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
12875
- * @summary Search
12876
- * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
14034
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
14035
+ * @summary Refresh registry manifest
14036
+ * @param {string} id
12877
14037
  * @param {*} [options] Override http request option.
12878
14038
  * @throws {RequiredError}
12879
14039
  */
12880
- playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
12881
- return localVarFp
12882
- .playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options)
12883
- .then((request) => request(axios, basePath));
14040
+ registryControllerRefresh(id, options) {
14041
+ return localVarFp.registryControllerRefresh(id, options).then((request) => request(axios, basePath));
12884
14042
  },
12885
14043
  /**
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
14044
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
14045
+ * @summary Subscribe to a registry
14046
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
12891
14047
  * @param {*} [options] Override http request option.
12892
14048
  * @throws {RequiredError}
12893
14049
  */
12894
- playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
14050
+ registryControllerSubscribe(registrySubscribeBody, options) {
12895
14051
  return localVarFp
12896
- .playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
14052
+ .registryControllerSubscribe(registrySubscribeBody, options)
12897
14053
  .then((request) => request(axios, basePath));
12898
14054
  },
12899
14055
  /**
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
14056
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
14057
+ * @summary Unsubscribe from a registry
14058
+ * @param {string} id
12906
14059
  * @param {*} [options] Override http request option.
12907
14060
  * @throws {RequiredError}
12908
14061
  */
12909
- playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
12910
- return localVarFp
12911
- .playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options)
12912
- .then((request) => request(axios, basePath));
14062
+ registryControllerUnsubscribe(id, options) {
14063
+ return localVarFp.registryControllerUnsubscribe(id, options).then((request) => request(axios, basePath));
12913
14064
  },
12914
14065
  };
12915
14066
  };
12916
14067
  /**
12917
- * PlayerOnGameServerApi - object-oriented interface
14068
+ * RegistryApi - object-oriented interface
12918
14069
  * @export
12919
- * @class PlayerOnGameServerApi
14070
+ * @class RegistryApi
12920
14071
  * @extends {BaseAPI}
12921
14072
  */
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
- }
14073
+ export class RegistryApi extends BaseAPI {
12967
14074
  /**
12968
- * Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
12969
- * @summary Delete
12970
- * @param {string} gameServerId
12971
- * @param {string} playerId
14075
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
14076
+ * @summary Install a module from a registry
14077
+ * @param {string} id
14078
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
12972
14079
  * @param {*} [options] Override http request option.
12973
14080
  * @throws {RequiredError}
12974
- * @memberof PlayerOnGameServerApi
14081
+ * @memberof RegistryApi
12975
14082
  */
12976
- playerOnGameServerControllerDelete(gameServerId, playerId, options) {
12977
- return PlayerOnGameServerApiFp(this.configuration)
12978
- .playerOnGameServerControllerDelete(gameServerId, playerId, options)
14083
+ registryControllerInstall(id, registryInstallBody, options) {
14084
+ return RegistryApiFp(this.configuration)
14085
+ .registryControllerInstall(id, registryInstallBody, options)
12979
14086
  .then((request) => request(this.axios, this.basePath));
12980
14087
  }
12981
14088
  /**
12982
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
12983
- * @summary Get one
12984
- * @param {string} gameServerId
12985
- * @param {string} playerId
14089
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
14090
+ * @summary List subscribed registries
12986
14091
  * @param {*} [options] Override http request option.
12987
14092
  * @throws {RequiredError}
12988
- * @memberof PlayerOnGameServerApi
14093
+ * @memberof RegistryApi
12989
14094
  */
12990
- playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
12991
- return PlayerOnGameServerApiFp(this.configuration)
12992
- .playerOnGameServerControllerGetOne(gameServerId, playerId, options)
14095
+ registryControllerList(options) {
14096
+ return RegistryApiFp(this.configuration)
14097
+ .registryControllerList(options)
12993
14098
  .then((request) => request(this.axios, this.basePath));
12994
14099
  }
12995
14100
  /**
12996
- * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
12997
- * @summary Search
12998
- * @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
14101
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
14102
+ * @summary Refresh registry manifest
14103
+ * @param {string} id
12999
14104
  * @param {*} [options] Override http request option.
13000
14105
  * @throws {RequiredError}
13001
- * @memberof PlayerOnGameServerApi
14106
+ * @memberof RegistryApi
13002
14107
  */
13003
- playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
13004
- return PlayerOnGameServerApiFp(this.configuration)
13005
- .playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options)
14108
+ registryControllerRefresh(id, options) {
14109
+ return RegistryApiFp(this.configuration)
14110
+ .registryControllerRefresh(id, options)
13006
14111
  .then((request) => request(this.axios, this.basePath));
13007
14112
  }
13008
14113
  /**
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
14114
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
14115
+ * @summary Subscribe to a registry
14116
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
13014
14117
  * @param {*} [options] Override http request option.
13015
14118
  * @throws {RequiredError}
13016
- * @memberof PlayerOnGameServerApi
14119
+ * @memberof RegistryApi
13017
14120
  */
13018
- playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
13019
- return PlayerOnGameServerApiFp(this.configuration)
13020
- .playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
14121
+ registryControllerSubscribe(registrySubscribeBody, options) {
14122
+ return RegistryApiFp(this.configuration)
14123
+ .registryControllerSubscribe(registrySubscribeBody, options)
13021
14124
  .then((request) => request(this.axios, this.basePath));
13022
14125
  }
13023
14126
  /**
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
14127
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
14128
+ * @summary Unsubscribe from a registry
14129
+ * @param {string} id
13030
14130
  * @param {*} [options] Override http request option.
13031
14131
  * @throws {RequiredError}
13032
- * @memberof PlayerOnGameServerApi
14132
+ * @memberof RegistryApi
13033
14133
  */
13034
- playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
13035
- return PlayerOnGameServerApiFp(this.configuration)
13036
- .playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options)
14134
+ registryControllerUnsubscribe(id, options) {
14135
+ return RegistryApiFp(this.configuration)
14136
+ .registryControllerUnsubscribe(id, options)
13037
14137
  .then((request) => request(this.axios, this.basePath));
13038
14138
  }
13039
14139
  }
@@ -15704,6 +16804,240 @@ export class ShopOrderApi extends BaseAPI {
15704
16804
  .then((request) => request(this.axios, this.basePath));
15705
16805
  }
15706
16806
  }
16807
+ /**
16808
+ * StorefrontConfigApi - axios parameter creator
16809
+ * @export
16810
+ */
16811
+ export const StorefrontConfigApiAxiosParamCreator = function (configuration) {
16812
+ return {
16813
+ /**
16814
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
16815
+ * @summary Get effective config
16816
+ * @param {string} gameServerId
16817
+ * @param {*} [options] Override http request option.
16818
+ * @throws {RequiredError}
16819
+ */
16820
+ storefrontConfigControllerGetEffectiveConfig: async (gameServerId, options = {}) => {
16821
+ // verify required parameter 'gameServerId' is not null or undefined
16822
+ assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
16823
+ const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
16824
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16825
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16826
+ let baseOptions;
16827
+ if (configuration) {
16828
+ baseOptions = configuration.baseOptions;
16829
+ }
16830
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
16831
+ const localVarHeaderParameter = {};
16832
+ const localVarQueryParameter = {};
16833
+ // authentication domainAuth required
16834
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16835
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16836
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
16837
+ return {
16838
+ url: toPathString(localVarUrlObj),
16839
+ options: localVarRequestOptions,
16840
+ };
16841
+ },
16842
+ /**
16843
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
16844
+ * @summary List templates
16845
+ * @param {*} [options] Override http request option.
16846
+ * @throws {RequiredError}
16847
+ */
16848
+ storefrontConfigControllerListTemplates: async (options = {}) => {
16849
+ const localVarPath = `/storefront/templates`;
16850
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16851
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16852
+ let baseOptions;
16853
+ if (configuration) {
16854
+ baseOptions = configuration.baseOptions;
16855
+ }
16856
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
16857
+ const localVarHeaderParameter = {};
16858
+ const localVarQueryParameter = {};
16859
+ // authentication domainAuth required
16860
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16861
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16862
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
16863
+ return {
16864
+ url: toPathString(localVarUrlObj),
16865
+ options: localVarRequestOptions,
16866
+ };
16867
+ },
16868
+ /**
16869
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
16870
+ * @summary Set config
16871
+ * @param {string} gameServerId
16872
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
16873
+ * @param {*} [options] Override http request option.
16874
+ * @throws {RequiredError}
16875
+ */
16876
+ storefrontConfigControllerSetConfig: async (gameServerId, storefrontConfigUpsertBody, options = {}) => {
16877
+ // verify required parameter 'gameServerId' is not null or undefined
16878
+ assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
16879
+ const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
16880
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16881
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16882
+ let baseOptions;
16883
+ if (configuration) {
16884
+ baseOptions = configuration.baseOptions;
16885
+ }
16886
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
16887
+ const localVarHeaderParameter = {};
16888
+ const localVarQueryParameter = {};
16889
+ // authentication domainAuth required
16890
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16891
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16892
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16893
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
16894
+ localVarRequestOptions.data = serializeDataIfNeeded(storefrontConfigUpsertBody, localVarRequestOptions, configuration);
16895
+ return {
16896
+ url: toPathString(localVarUrlObj),
16897
+ options: localVarRequestOptions,
16898
+ };
16899
+ },
16900
+ };
16901
+ };
16902
+ /**
16903
+ * StorefrontConfigApi - functional programming interface
16904
+ * @export
16905
+ */
16906
+ export const StorefrontConfigApiFp = function (configuration) {
16907
+ const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
16908
+ return {
16909
+ /**
16910
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
16911
+ * @summary Get effective config
16912
+ * @param {string} gameServerId
16913
+ * @param {*} [options] Override http request option.
16914
+ * @throws {RequiredError}
16915
+ */
16916
+ async storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
16917
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(gameServerId, options);
16918
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16919
+ const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[localVarOperationServerIndex]?.url;
16920
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16921
+ },
16922
+ /**
16923
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
16924
+ * @summary List templates
16925
+ * @param {*} [options] Override http request option.
16926
+ * @throws {RequiredError}
16927
+ */
16928
+ async storefrontConfigControllerListTemplates(options) {
16929
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
16930
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16931
+ const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[localVarOperationServerIndex]?.url;
16932
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16933
+ },
16934
+ /**
16935
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
16936
+ * @summary Set config
16937
+ * @param {string} gameServerId
16938
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
16939
+ * @param {*} [options] Override http request option.
16940
+ * @throws {RequiredError}
16941
+ */
16942
+ async storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
16943
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options);
16944
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16945
+ const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
16946
+ ?.url;
16947
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16948
+ },
16949
+ };
16950
+ };
16951
+ /**
16952
+ * StorefrontConfigApi - factory interface
16953
+ * @export
16954
+ */
16955
+ export const StorefrontConfigApiFactory = function (configuration, basePath, axios) {
16956
+ const localVarFp = StorefrontConfigApiFp(configuration);
16957
+ return {
16958
+ /**
16959
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
16960
+ * @summary Get effective config
16961
+ * @param {string} gameServerId
16962
+ * @param {*} [options] Override http request option.
16963
+ * @throws {RequiredError}
16964
+ */
16965
+ storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
16966
+ return localVarFp
16967
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
16968
+ .then((request) => request(axios, basePath));
16969
+ },
16970
+ /**
16971
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
16972
+ * @summary List templates
16973
+ * @param {*} [options] Override http request option.
16974
+ * @throws {RequiredError}
16975
+ */
16976
+ storefrontConfigControllerListTemplates(options) {
16977
+ return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
16978
+ },
16979
+ /**
16980
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
16981
+ * @summary Set config
16982
+ * @param {string} gameServerId
16983
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
16984
+ * @param {*} [options] Override http request option.
16985
+ * @throws {RequiredError}
16986
+ */
16987
+ storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
16988
+ return localVarFp
16989
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
16990
+ .then((request) => request(axios, basePath));
16991
+ },
16992
+ };
16993
+ };
16994
+ /**
16995
+ * StorefrontConfigApi - object-oriented interface
16996
+ * @export
16997
+ * @class StorefrontConfigApi
16998
+ * @extends {BaseAPI}
16999
+ */
17000
+ export class StorefrontConfigApi extends BaseAPI {
17001
+ /**
17002
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
17003
+ * @summary Get effective config
17004
+ * @param {string} gameServerId
17005
+ * @param {*} [options] Override http request option.
17006
+ * @throws {RequiredError}
17007
+ * @memberof StorefrontConfigApi
17008
+ */
17009
+ storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
17010
+ return StorefrontConfigApiFp(this.configuration)
17011
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
17012
+ .then((request) => request(this.axios, this.basePath));
17013
+ }
17014
+ /**
17015
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
17016
+ * @summary List templates
17017
+ * @param {*} [options] Override http request option.
17018
+ * @throws {RequiredError}
17019
+ * @memberof StorefrontConfigApi
17020
+ */
17021
+ storefrontConfigControllerListTemplates(options) {
17022
+ return StorefrontConfigApiFp(this.configuration)
17023
+ .storefrontConfigControllerListTemplates(options)
17024
+ .then((request) => request(this.axios, this.basePath));
17025
+ }
17026
+ /**
17027
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
17028
+ * @summary Set config
17029
+ * @param {string} gameServerId
17030
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
17031
+ * @param {*} [options] Override http request option.
17032
+ * @throws {RequiredError}
17033
+ * @memberof StorefrontConfigApi
17034
+ */
17035
+ storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
17036
+ return StorefrontConfigApiFp(this.configuration)
17037
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
17038
+ .then((request) => request(this.axios, this.basePath));
17039
+ }
17040
+ }
15707
17041
  /**
15708
17042
  * TrackingApi - axios parameter creator
15709
17043
  * @export