@takaro/apiclient 0.0.0-dev.cad8e2e → 0.0.0-dev.caee66e

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.
@@ -713,6 +713,23 @@ export const JobStatusOutputDTOStatusEnum = {
713
713
  Waiting: 'waiting',
714
714
  WaitingChildren: 'waiting-children',
715
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
+ };
716
733
  export const ModuleInstallationSearchInputDTOSortDirectionEnum = {
717
734
  Asc: 'asc',
718
735
  Desc: 'desc',
@@ -1437,6 +1454,56 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
1437
1454
  options: localVarRequestOptions,
1438
1455
  };
1439
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
+ },
1440
1507
  /**
1441
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`
1442
1509
  * @summary Get module item failure aggregate
@@ -2537,6 +2604,24 @@ export const AnalyticsApiFp = function (configuration) {
2537
2604
  const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleHealth']?.[localVarOperationServerIndex]?.url;
2538
2605
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2539
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
+ },
2540
2625
  /**
2541
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`
2542
2627
  * @summary Get module item failure aggregate
@@ -3079,6 +3164,22 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3079
3164
  .analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
3080
3165
  .then((request) => request(axios, basePath));
3081
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
+ },
3082
3183
  /**
3083
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`
3084
3185
  * @summary Get module item failure aggregate
@@ -3608,6 +3709,23 @@ export class AnalyticsApi extends BaseAPI {
3608
3709
  .analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
3609
3710
  .then((request) => request(this.axios, this.basePath));
3610
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
+ }
3611
3729
  /**
3612
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`
3613
3731
  * @summary Get module item failure aggregate
@@ -4053,6 +4171,15 @@ export const AnalyticsControllerGetModuleHealthPeriodEnum = {
4053
4171
  _30d: '30d',
4054
4172
  _90d: '90d',
4055
4173
  };
4174
+ /**
4175
+ * @export
4176
+ */
4177
+ export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
4178
+ _24h: '24h',
4179
+ _7d: '7d',
4180
+ _30d: '30d',
4181
+ _90d: '90d',
4182
+ };
4056
4183
  /**
4057
4184
  * @export
4058
4185
  */
@@ -4243,118 +4370,99 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
4243
4370
  _90d: '90d',
4244
4371
  };
4245
4372
  /**
4246
- * CommandApi - axios parameter creator
4373
+ * AuthApi - axios parameter creator
4247
4374
  * @export
4248
4375
  */
4249
- export const CommandApiAxiosParamCreator = function (configuration) {
4376
+ export const AuthApiAxiosParamCreator = function (configuration) {
4250
4377
  return {
4251
4378
  /**
4252
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
4253
- * @summary Create
4254
- * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
4379
+ * <br> OperationId: `AuthControllerAccount`
4380
+ * @summary Account
4255
4381
  * @param {*} [options] Override http request option.
4256
4382
  * @throws {RequiredError}
4257
4383
  */
4258
- commandControllerCreate: async (commandCreateDTO, options = {}) => {
4259
- const localVarPath = `/command`;
4384
+ authControllerAccount: async (options = {}) => {
4385
+ const localVarPath = `/auth/account`;
4260
4386
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4261
4387
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4262
4388
  let baseOptions;
4263
4389
  if (configuration) {
4264
4390
  baseOptions = configuration.baseOptions;
4265
4391
  }
4266
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4392
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4267
4393
  const localVarHeaderParameter = {};
4268
4394
  const localVarQueryParameter = {};
4269
- // authentication domainAuth required
4270
- localVarHeaderParameter['Content-Type'] = 'application/json';
4271
4395
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4272
4396
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4273
4397
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4274
- localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
4275
4398
  return {
4276
4399
  url: toPathString(localVarUrlObj),
4277
4400
  options: localVarRequestOptions,
4278
4401
  };
4279
4402
  },
4280
4403
  /**
4281
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
4282
- * @summary Create argument
4283
- * @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
4404
+ * <br> OperationId: `AuthControllerCallback`
4405
+ * @summary Callback
4284
4406
  * @param {*} [options] Override http request option.
4285
4407
  * @throws {RequiredError}
4286
4408
  */
4287
- commandControllerCreateArgument: async (commandArgumentCreateDTO, options = {}) => {
4288
- const localVarPath = `/command/argument`;
4409
+ authControllerCallback: async (options = {}) => {
4410
+ const localVarPath = `/auth/callback`;
4289
4411
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4290
4412
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4291
4413
  let baseOptions;
4292
4414
  if (configuration) {
4293
4415
  baseOptions = configuration.baseOptions;
4294
4416
  }
4295
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4417
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4296
4418
  const localVarHeaderParameter = {};
4297
4419
  const localVarQueryParameter = {};
4298
- // authentication domainAuth required
4299
- localVarHeaderParameter['Content-Type'] = 'application/json';
4300
4420
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4301
4421
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4302
4422
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4303
- localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
4304
4423
  return {
4305
4424
  url: toPathString(localVarUrlObj),
4306
4425
  options: localVarRequestOptions,
4307
4426
  };
4308
4427
  },
4309
4428
  /**
4310
- * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
4311
- * @summary Get executions
4312
- * @param {string} id
4313
- * @param {any} [success]
4314
- * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
4429
+ * <br> OperationId: `AuthControllerLogin`
4430
+ * @summary Login
4431
+ * @param {string} [redirect]
4315
4432
  * @param {*} [options] Override http request option.
4316
4433
  * @throws {RequiredError}
4317
4434
  */
4318
- commandControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
4319
- // verify required parameter 'id' is not null or undefined
4320
- assertParamExists('commandControllerGetExecutions', 'id', id);
4321
- const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4435
+ authControllerLogin: async (redirect, options = {}) => {
4436
+ const localVarPath = `/auth/login`;
4322
4437
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4323
4438
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4324
4439
  let baseOptions;
4325
4440
  if (configuration) {
4326
4441
  baseOptions = configuration.baseOptions;
4327
4442
  }
4328
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4443
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4329
4444
  const localVarHeaderParameter = {};
4330
4445
  const localVarQueryParameter = {};
4331
- // authentication domainAuth required
4332
- if (success !== undefined) {
4333
- for (const [key, value] of Object.entries(success)) {
4334
- localVarQueryParameter[key] = value;
4335
- }
4446
+ if (redirect !== undefined) {
4447
+ localVarQueryParameter['redirect'] = redirect;
4336
4448
  }
4337
- localVarHeaderParameter['Content-Type'] = 'application/json';
4338
4449
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4339
4450
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4340
4451
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4341
- localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
4342
4452
  return {
4343
4453
  url: toPathString(localVarUrlObj),
4344
4454
  options: localVarRequestOptions,
4345
4455
  };
4346
4456
  },
4347
4457
  /**
4348
- * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
4349
- * @summary Get one
4350
- * @param {string} id
4458
+ * <br> OperationId: `AuthControllerLogout`
4459
+ * @summary Logout
4460
+ * @param {string} [redirect]
4351
4461
  * @param {*} [options] Override http request option.
4352
4462
  * @throws {RequiredError}
4353
4463
  */
4354
- commandControllerGetOne: async (id, options = {}) => {
4355
- // verify required parameter 'id' is not null or undefined
4356
- assertParamExists('commandControllerGetOne', 'id', id);
4357
- const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4464
+ authControllerLogout: async (redirect, options = {}) => {
4465
+ const localVarPath = `/auth/logout`;
4358
4466
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4359
4467
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4360
4468
  let baseOptions;
@@ -4364,7 +4472,9 @@ export const CommandApiAxiosParamCreator = function (configuration) {
4364
4472
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4365
4473
  const localVarHeaderParameter = {};
4366
4474
  const localVarQueryParameter = {};
4367
- // authentication domainAuth required
4475
+ if (redirect !== undefined) {
4476
+ localVarQueryParameter['redirect'] = redirect;
4477
+ }
4368
4478
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4369
4479
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4370
4480
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -4373,121 +4483,418 @@ export const CommandApiAxiosParamCreator = function (configuration) {
4373
4483
  options: localVarRequestOptions,
4374
4484
  };
4375
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 {
4376
4495
  /**
4377
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
4378
- * @summary Remove
4379
- * @param {string} id
4496
+ * <br> OperationId: `AuthControllerAccount`
4497
+ * @summary Account
4380
4498
  * @param {*} [options] Override http request option.
4381
4499
  * @throws {RequiredError}
4382
4500
  */
4383
- commandControllerRemove: async (id, options = {}) => {
4384
- // verify required parameter 'id' is not null or undefined
4385
- assertParamExists('commandControllerRemove', 'id', id);
4386
- const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4387
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4388
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4389
- let baseOptions;
4390
- if (configuration) {
4391
- baseOptions = configuration.baseOptions;
4392
- }
4393
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
4394
- const localVarHeaderParameter = {};
4395
- const localVarQueryParameter = {};
4396
- // authentication domainAuth required
4397
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4398
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4399
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4400
- return {
4401
- url: toPathString(localVarUrlObj),
4402
- options: localVarRequestOptions,
4403
- };
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);
4404
4506
  },
4405
4507
  /**
4406
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
4407
- * @summary Remove argument
4408
- * @param {string} id
4508
+ * <br> OperationId: `AuthControllerCallback`
4509
+ * @summary Callback
4409
4510
  * @param {*} [options] Override http request option.
4410
4511
  * @throws {RequiredError}
4411
4512
  */
4412
- commandControllerRemoveArgument: async (id, options = {}) => {
4413
- // verify required parameter 'id' is not null or undefined
4414
- assertParamExists('commandControllerRemoveArgument', 'id', id);
4415
- const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4416
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4417
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4418
- let baseOptions;
4419
- if (configuration) {
4420
- baseOptions = configuration.baseOptions;
4421
- }
4422
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
4423
- const localVarHeaderParameter = {};
4424
- const localVarQueryParameter = {};
4425
- // authentication domainAuth required
4426
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4427
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4428
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4429
- return {
4430
- url: toPathString(localVarUrlObj),
4431
- options: localVarRequestOptions,
4432
- };
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);
4433
4518
  },
4434
4519
  /**
4435
- * Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
4436
- * @summary Search
4437
- * @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
4520
+ * <br> OperationId: `AuthControllerLogin`
4521
+ * @summary Login
4522
+ * @param {string} [redirect]
4438
4523
  * @param {*} [options] Override http request option.
4439
4524
  * @throws {RequiredError}
4440
4525
  */
4441
- commandControllerSearch: async (commandSearchInputDTO, options = {}) => {
4442
- const localVarPath = `/command/search`;
4443
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4444
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4445
- let baseOptions;
4446
- if (configuration) {
4447
- baseOptions = configuration.baseOptions;
4448
- }
4449
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4450
- const localVarHeaderParameter = {};
4451
- const localVarQueryParameter = {};
4452
- // authentication domainAuth required
4453
- localVarHeaderParameter['Content-Type'] = 'application/json';
4454
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4455
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4456
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4457
- localVarRequestOptions.data = serializeDataIfNeeded(commandSearchInputDTO, localVarRequestOptions, configuration);
4458
- return {
4459
- url: toPathString(localVarUrlObj),
4460
- options: localVarRequestOptions,
4461
- };
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);
4462
4531
  },
4463
4532
  /**
4464
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
4465
- * @summary Trigger
4466
- * @param {string} id
4467
- * @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
4533
+ * <br> OperationId: `AuthControllerLogout`
4534
+ * @summary Logout
4535
+ * @param {string} [redirect]
4468
4536
  * @param {*} [options] Override http request option.
4469
4537
  * @throws {RequiredError}
4470
4538
  */
4471
- commandControllerTrigger: async (id, commandTriggerDTO, options = {}) => {
4472
- // verify required parameter 'id' is not null or undefined
4473
- assertParamExists('commandControllerTrigger', 'id', id);
4474
- const localVarPath = `/command/{id}/trigger`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4475
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4476
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4477
- let baseOptions;
4478
- if (configuration) {
4479
- baseOptions = configuration.baseOptions;
4480
- }
4481
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4482
- const localVarHeaderParameter = {};
4483
- const localVarQueryParameter = {};
4484
- // authentication domainAuth required
4485
- localVarHeaderParameter['Content-Type'] = 'application/json';
4486
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4487
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4488
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4489
- localVarRequestOptions.data = serializeDataIfNeeded(commandTriggerDTO, localVarRequestOptions, configuration);
4490
- return {
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`;
4667
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4668
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4669
+ let baseOptions;
4670
+ if (configuration) {
4671
+ baseOptions = configuration.baseOptions;
4672
+ }
4673
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4674
+ const localVarHeaderParameter = {};
4675
+ const localVarQueryParameter = {};
4676
+ // authentication domainAuth required
4677
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4678
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4679
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4680
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4681
+ localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
4682
+ return {
4683
+ url: toPathString(localVarUrlObj),
4684
+ options: localVarRequestOptions,
4685
+ };
4686
+ },
4687
+ /**
4688
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
4689
+ * @summary Create argument
4690
+ * @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
4691
+ * @param {*} [options] Override http request option.
4692
+ * @throws {RequiredError}
4693
+ */
4694
+ commandControllerCreateArgument: async (commandArgumentCreateDTO, options = {}) => {
4695
+ const localVarPath = `/command/argument`;
4696
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4697
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4698
+ let baseOptions;
4699
+ if (configuration) {
4700
+ baseOptions = configuration.baseOptions;
4701
+ }
4702
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4703
+ const localVarHeaderParameter = {};
4704
+ const localVarQueryParameter = {};
4705
+ // authentication domainAuth required
4706
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4707
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4708
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4709
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4710
+ localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
4711
+ return {
4712
+ url: toPathString(localVarUrlObj),
4713
+ options: localVarRequestOptions,
4714
+ };
4715
+ },
4716
+ /**
4717
+ * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
4718
+ * @summary Get executions
4719
+ * @param {string} id
4720
+ * @param {any} [success]
4721
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
4722
+ * @param {*} [options] Override http request option.
4723
+ * @throws {RequiredError}
4724
+ */
4725
+ commandControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
4726
+ // verify required parameter 'id' is not null or undefined
4727
+ assertParamExists('commandControllerGetExecutions', 'id', id);
4728
+ const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4729
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4730
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4731
+ let baseOptions;
4732
+ if (configuration) {
4733
+ baseOptions = configuration.baseOptions;
4734
+ }
4735
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4736
+ const localVarHeaderParameter = {};
4737
+ const localVarQueryParameter = {};
4738
+ // authentication domainAuth required
4739
+ if (success !== undefined) {
4740
+ for (const [key, value] of Object.entries(success)) {
4741
+ localVarQueryParameter[key] = value;
4742
+ }
4743
+ }
4744
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4745
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4746
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4747
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4748
+ localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
4749
+ return {
4750
+ url: toPathString(localVarUrlObj),
4751
+ options: localVarRequestOptions,
4752
+ };
4753
+ },
4754
+ /**
4755
+ * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
4756
+ * @summary Get one
4757
+ * @param {string} id
4758
+ * @param {*} [options] Override http request option.
4759
+ * @throws {RequiredError}
4760
+ */
4761
+ commandControllerGetOne: async (id, options = {}) => {
4762
+ // verify required parameter 'id' is not null or undefined
4763
+ assertParamExists('commandControllerGetOne', 'id', id);
4764
+ const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4765
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4766
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4767
+ let baseOptions;
4768
+ if (configuration) {
4769
+ baseOptions = configuration.baseOptions;
4770
+ }
4771
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4772
+ const localVarHeaderParameter = {};
4773
+ const localVarQueryParameter = {};
4774
+ // authentication domainAuth required
4775
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4776
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4777
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4778
+ return {
4779
+ url: toPathString(localVarUrlObj),
4780
+ options: localVarRequestOptions,
4781
+ };
4782
+ },
4783
+ /**
4784
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
4785
+ * @summary Remove
4786
+ * @param {string} id
4787
+ * @param {*} [options] Override http request option.
4788
+ * @throws {RequiredError}
4789
+ */
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
+ };
4811
+ },
4812
+ /**
4813
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
4814
+ * @summary Remove argument
4815
+ * @param {string} id
4816
+ * @param {*} [options] Override http request option.
4817
+ * @throws {RequiredError}
4818
+ */
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 {
4491
4898
  url: toPathString(localVarUrlObj),
4492
4899
  options: localVarRequestOptions,
4493
4900
  };
@@ -6794,8 +7201,8 @@ export const EventApiAxiosParamCreator = function (configuration) {
6794
7201
  };
6795
7202
  },
6796
7203
  /**
6797
- * Cursor-paginated event search powered by ClickHouse. Rows are hydrated with current entity names (player, gameserver, module, user) from Postgres. 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`
6798
- * @summary Explore events (ClickHouse-backed)
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
6799
7206
  * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
6800
7207
  * @param {*} [options] Override http request option.
6801
7208
  * @throws {RequiredError}
@@ -6823,7 +7230,7 @@ export const EventApiAxiosParamCreator = function (configuration) {
6823
7230
  };
6824
7231
  },
6825
7232
  /**
6826
- * 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. Caches preset-period queries with empty filters/metaFilters. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
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`
6827
7234
  * @summary Get event volume time-series with optional grouping
6828
7235
  * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
6829
7236
  * @param {*} [options] Override http request option.
@@ -6990,8 +7397,8 @@ export const EventApiFp = function (configuration) {
6990
7397
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6991
7398
  },
6992
7399
  /**
6993
- * Cursor-paginated event search powered by ClickHouse. Rows are hydrated with current entity names (player, gameserver, module, user) from Postgres. 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`
6994
- * @summary Explore events (ClickHouse-backed)
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
6995
7402
  * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
6996
7403
  * @param {*} [options] Override http request option.
6997
7404
  * @throws {RequiredError}
@@ -7003,7 +7410,7 @@ export const EventApiFp = function (configuration) {
7003
7410
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7004
7411
  },
7005
7412
  /**
7006
- * 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. Caches preset-period queries with empty filters/metaFilters. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
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`
7007
7414
  * @summary Get event volume time-series with optional grouping
7008
7415
  * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
7009
7416
  * @param {*} [options] Override http request option.
@@ -7087,8 +7494,8 @@ export const EventApiFactory = function (configuration, basePath, axios) {
7087
7494
  return localVarFp.eventControllerCreate(eventCreateDTO, options).then((request) => request(axios, basePath));
7088
7495
  },
7089
7496
  /**
7090
- * Cursor-paginated event search powered by ClickHouse. Rows are hydrated with current entity names (player, gameserver, module, user) from Postgres. 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`
7091
- * @summary Explore events (ClickHouse-backed)
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
7092
7499
  * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
7093
7500
  * @param {*} [options] Override http request option.
7094
7501
  * @throws {RequiredError}
@@ -7099,7 +7506,7 @@ export const EventApiFactory = function (configuration, basePath, axios) {
7099
7506
  .then((request) => request(axios, basePath));
7100
7507
  },
7101
7508
  /**
7102
- * 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. Caches preset-period queries with empty filters/metaFilters. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
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`
7103
7510
  * @summary Get event volume time-series with optional grouping
7104
7511
  * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
7105
7512
  * @param {*} [options] Override http request option.
@@ -7175,8 +7582,8 @@ export class EventApi extends BaseAPI {
7175
7582
  .then((request) => request(this.axios, this.basePath));
7176
7583
  }
7177
7584
  /**
7178
- * Cursor-paginated event search powered by ClickHouse. Rows are hydrated with current entity names (player, gameserver, module, user) from Postgres. 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`
7179
- * @summary Explore events (ClickHouse-backed)
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
7180
7587
  * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
7181
7588
  * @param {*} [options] Override http request option.
7182
7589
  * @throws {RequiredError}
@@ -7188,7 +7595,7 @@ export class EventApi extends BaseAPI {
7188
7595
  .then((request) => request(this.axios, this.basePath));
7189
7596
  }
7190
7597
  /**
7191
- * 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. Caches preset-period queries with empty filters/metaFilters. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
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`
7192
7599
  * @summary Get event volume time-series with optional grouping
7193
7600
  * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
7194
7601
  * @param {*} [options] Override http request option.
@@ -11904,6 +12311,38 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
11904
12311
  options: localVarRequestOptions,
11905
12312
  };
11906
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
+ },
11907
12346
  /**
11908
12347
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
11909
12348
  * @summary Bulk delete
@@ -12173,6 +12612,20 @@ export const PlayerApiFp = function (configuration) {
12173
12612
  const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerAssignRole']?.[localVarOperationServerIndex]?.url;
12174
12613
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12175
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
+ },
12176
12629
  /**
12177
12630
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
12178
12631
  * @summary Bulk delete
@@ -12326,6 +12779,19 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
12326
12779
  .playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
12327
12780
  .then((request) => request(axios, basePath));
12328
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
+ },
12329
12795
  /**
12330
12796
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
12331
12797
  * @summary Bulk delete
@@ -12483,6 +12949,20 @@ export class PlayerApi extends BaseAPI {
12483
12949
  .playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
12484
12950
  .then((request) => request(this.axios, this.basePath));
12485
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
+ }
12486
12966
  /**
12487
12967
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
12488
12968
  * @summary Bulk delete
@@ -12606,6 +13086,38 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
12606
13086
  options: localVarRequestOptions,
12607
13087
  };
12608
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
+ },
12609
13121
  /**
12610
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`
12611
13123
  * @summary Bulk delete
@@ -12874,6 +13386,20 @@ export const PlayerOnGameServerApiFp = function (configuration) {
12874
13386
  const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[localVarOperationServerIndex]?.url;
12875
13387
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12876
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
+ },
12877
13403
  /**
12878
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`
12879
13405
  * @summary Bulk delete
@@ -12996,9 +13522,22 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
12996
13522
  * @param {*} [options] Override http request option.
12997
13523
  * @throws {RequiredError}
12998
13524
  */
12999
- playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
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) {
13000
13539
  return localVarFp
13001
- .playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
13540
+ .playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
13002
13541
  .then((request) => request(axios, basePath));
13003
13542
  },
13004
13543
  /**
@@ -13119,6 +13658,20 @@ export class PlayerOnGameServerApi extends BaseAPI {
13119
13658
  .playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
13120
13659
  .then((request) => request(this.axios, this.basePath));
13121
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
+ }
13122
13675
  /**
13123
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`
13124
13677
  * @summary Bulk delete
@@ -13221,6 +13774,369 @@ export class PlayerOnGameServerApi extends BaseAPI {
13221
13774
  .then((request) => request(this.axios, this.basePath));
13222
13775
  }
13223
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
13788
+ * @param {*} [options] Override http request option.
13789
+ * @throws {RequiredError}
13790
+ */
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)));
13795
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13796
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13797
+ let baseOptions;
13798
+ if (configuration) {
13799
+ baseOptions = configuration.baseOptions;
13800
+ }
13801
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
13802
+ const localVarHeaderParameter = {};
13803
+ const localVarQueryParameter = {};
13804
+ // authentication domainAuth required
13805
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13806
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13807
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13808
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13809
+ localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
13810
+ return {
13811
+ url: toPathString(localVarUrlObj),
13812
+ options: localVarRequestOptions,
13813
+ };
13814
+ },
13815
+ /**
13816
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
13817
+ * @summary List subscribed registries
13818
+ * @param {*} [options] Override http request option.
13819
+ * @throws {RequiredError}
13820
+ */
13821
+ registryControllerList: async (options = {}) => {
13822
+ const localVarPath = `/registry`;
13823
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13824
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13825
+ let baseOptions;
13826
+ if (configuration) {
13827
+ baseOptions = configuration.baseOptions;
13828
+ }
13829
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
13830
+ const localVarHeaderParameter = {};
13831
+ const localVarQueryParameter = {};
13832
+ // authentication domainAuth required
13833
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13834
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13835
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13836
+ return {
13837
+ url: toPathString(localVarUrlObj),
13838
+ options: localVarRequestOptions,
13839
+ };
13840
+ },
13841
+ /**
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
13845
+ * @param {*} [options] Override http request option.
13846
+ * @throws {RequiredError}
13847
+ */
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)));
13852
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13853
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13854
+ let baseOptions;
13855
+ if (configuration) {
13856
+ baseOptions = configuration.baseOptions;
13857
+ }
13858
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
13859
+ const localVarHeaderParameter = {};
13860
+ const localVarQueryParameter = {};
13861
+ // authentication domainAuth required
13862
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13863
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13864
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13865
+ return {
13866
+ url: toPathString(localVarUrlObj),
13867
+ options: localVarRequestOptions,
13868
+ };
13869
+ },
13870
+ /**
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
13874
+ * @param {*} [options] Override http request option.
13875
+ * @throws {RequiredError}
13876
+ */
13877
+ registryControllerSubscribe: async (registrySubscribeBody, options = {}) => {
13878
+ const localVarPath = `/registry`;
13879
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13880
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13881
+ let baseOptions;
13882
+ if (configuration) {
13883
+ baseOptions = configuration.baseOptions;
13884
+ }
13885
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
13886
+ const localVarHeaderParameter = {};
13887
+ const localVarQueryParameter = {};
13888
+ // authentication domainAuth required
13889
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13890
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13891
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13892
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13893
+ localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
13894
+ return {
13895
+ url: toPathString(localVarUrlObj),
13896
+ options: localVarRequestOptions,
13897
+ };
13898
+ },
13899
+ /**
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
13903
+ * @param {*} [options] Override http request option.
13904
+ * @throws {RequiredError}
13905
+ */
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)));
13910
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13911
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13912
+ let baseOptions;
13913
+ if (configuration) {
13914
+ baseOptions = configuration.baseOptions;
13915
+ }
13916
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
13917
+ const localVarHeaderParameter = {};
13918
+ const localVarQueryParameter = {};
13919
+ // authentication domainAuth required
13920
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13921
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13922
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13923
+ return {
13924
+ url: toPathString(localVarUrlObj),
13925
+ options: localVarRequestOptions,
13926
+ };
13927
+ },
13928
+ };
13929
+ };
13930
+ /**
13931
+ * RegistryApi - functional programming interface
13932
+ * @export
13933
+ */
13934
+ export const RegistryApiFp = function (configuration) {
13935
+ const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
13936
+ return {
13937
+ /**
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
13942
+ * @param {*} [options] Override http request option.
13943
+ * @throws {RequiredError}
13944
+ */
13945
+ async registryControllerInstall(id, registryInstallBody, options) {
13946
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(id, registryInstallBody, options);
13947
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13948
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
13949
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13950
+ },
13951
+ /**
13952
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
13953
+ * @summary List subscribed registries
13954
+ * @param {*} [options] Override http request option.
13955
+ * @throws {RequiredError}
13956
+ */
13957
+ async registryControllerList(options) {
13958
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
13959
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13960
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
13961
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13962
+ },
13963
+ /**
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
13967
+ * @param {*} [options] Override http request option.
13968
+ * @throws {RequiredError}
13969
+ */
13970
+ async registryControllerRefresh(id, options) {
13971
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
13972
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13973
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
13974
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13975
+ },
13976
+ /**
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
13980
+ * @param {*} [options] Override http request option.
13981
+ * @throws {RequiredError}
13982
+ */
13983
+ async registryControllerSubscribe(registrySubscribeBody, options) {
13984
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerSubscribe(registrySubscribeBody, options);
13985
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13986
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerSubscribe']?.[localVarOperationServerIndex]?.url;
13987
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13988
+ },
13989
+ /**
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
13993
+ * @param {*} [options] Override http request option.
13994
+ * @throws {RequiredError}
13995
+ */
13996
+ async registryControllerUnsubscribe(id, options) {
13997
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerUnsubscribe(id, options);
13998
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13999
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerUnsubscribe']?.[localVarOperationServerIndex]?.url;
14000
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14001
+ },
14002
+ };
14003
+ };
14004
+ /**
14005
+ * RegistryApi - factory interface
14006
+ * @export
14007
+ */
14008
+ export const RegistryApiFactory = function (configuration, basePath, axios) {
14009
+ const localVarFp = RegistryApiFp(configuration);
14010
+ return {
14011
+ /**
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
14016
+ * @param {*} [options] Override http request option.
14017
+ * @throws {RequiredError}
14018
+ */
14019
+ registryControllerInstall(id, registryInstallBody, options) {
14020
+ return localVarFp
14021
+ .registryControllerInstall(id, registryInstallBody, options)
14022
+ .then((request) => request(axios, basePath));
14023
+ },
14024
+ /**
14025
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
14026
+ * @summary List subscribed registries
14027
+ * @param {*} [options] Override http request option.
14028
+ * @throws {RequiredError}
14029
+ */
14030
+ registryControllerList(options) {
14031
+ return localVarFp.registryControllerList(options).then((request) => request(axios, basePath));
14032
+ },
14033
+ /**
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
14037
+ * @param {*} [options] Override http request option.
14038
+ * @throws {RequiredError}
14039
+ */
14040
+ registryControllerRefresh(id, options) {
14041
+ return localVarFp.registryControllerRefresh(id, options).then((request) => request(axios, basePath));
14042
+ },
14043
+ /**
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
14047
+ * @param {*} [options] Override http request option.
14048
+ * @throws {RequiredError}
14049
+ */
14050
+ registryControllerSubscribe(registrySubscribeBody, options) {
14051
+ return localVarFp
14052
+ .registryControllerSubscribe(registrySubscribeBody, options)
14053
+ .then((request) => request(axios, basePath));
14054
+ },
14055
+ /**
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
14059
+ * @param {*} [options] Override http request option.
14060
+ * @throws {RequiredError}
14061
+ */
14062
+ registryControllerUnsubscribe(id, options) {
14063
+ return localVarFp.registryControllerUnsubscribe(id, options).then((request) => request(axios, basePath));
14064
+ },
14065
+ };
14066
+ };
14067
+ /**
14068
+ * RegistryApi - object-oriented interface
14069
+ * @export
14070
+ * @class RegistryApi
14071
+ * @extends {BaseAPI}
14072
+ */
14073
+ export class RegistryApi extends BaseAPI {
14074
+ /**
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
14079
+ * @param {*} [options] Override http request option.
14080
+ * @throws {RequiredError}
14081
+ * @memberof RegistryApi
14082
+ */
14083
+ registryControllerInstall(id, registryInstallBody, options) {
14084
+ return RegistryApiFp(this.configuration)
14085
+ .registryControllerInstall(id, registryInstallBody, options)
14086
+ .then((request) => request(this.axios, this.basePath));
14087
+ }
14088
+ /**
14089
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
14090
+ * @summary List subscribed registries
14091
+ * @param {*} [options] Override http request option.
14092
+ * @throws {RequiredError}
14093
+ * @memberof RegistryApi
14094
+ */
14095
+ registryControllerList(options) {
14096
+ return RegistryApiFp(this.configuration)
14097
+ .registryControllerList(options)
14098
+ .then((request) => request(this.axios, this.basePath));
14099
+ }
14100
+ /**
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
14104
+ * @param {*} [options] Override http request option.
14105
+ * @throws {RequiredError}
14106
+ * @memberof RegistryApi
14107
+ */
14108
+ registryControllerRefresh(id, options) {
14109
+ return RegistryApiFp(this.configuration)
14110
+ .registryControllerRefresh(id, options)
14111
+ .then((request) => request(this.axios, this.basePath));
14112
+ }
14113
+ /**
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
14117
+ * @param {*} [options] Override http request option.
14118
+ * @throws {RequiredError}
14119
+ * @memberof RegistryApi
14120
+ */
14121
+ registryControllerSubscribe(registrySubscribeBody, options) {
14122
+ return RegistryApiFp(this.configuration)
14123
+ .registryControllerSubscribe(registrySubscribeBody, options)
14124
+ .then((request) => request(this.axios, this.basePath));
14125
+ }
14126
+ /**
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
14130
+ * @param {*} [options] Override http request option.
14131
+ * @throws {RequiredError}
14132
+ * @memberof RegistryApi
14133
+ */
14134
+ registryControllerUnsubscribe(id, options) {
14135
+ return RegistryApiFp(this.configuration)
14136
+ .registryControllerUnsubscribe(id, options)
14137
+ .then((request) => request(this.axios, this.basePath));
14138
+ }
14139
+ }
13224
14140
  /**
13225
14141
  * RoleApi - axios parameter creator
13226
14142
  * @export