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

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,17 @@ 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
+ };
716
727
  export const ModuleInstallationSearchInputDTOSortDirectionEnum = {
717
728
  Asc: 'asc',
718
729
  Desc: 'desc',
@@ -6794,8 +6805,8 @@ export const EventApiAxiosParamCreator = function (configuration) {
6794
6805
  };
6795
6806
  },
6796
6807
  /**
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)
6808
+ * 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`
6809
+ * @summary Explore events
6799
6810
  * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
6800
6811
  * @param {*} [options] Override http request option.
6801
6812
  * @throws {RequiredError}
@@ -6823,7 +6834,7 @@ export const EventApiAxiosParamCreator = function (configuration) {
6823
6834
  };
6824
6835
  },
6825
6836
  /**
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`
6837
+ * 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
6838
  * @summary Get event volume time-series with optional grouping
6828
6839
  * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
6829
6840
  * @param {*} [options] Override http request option.
@@ -6990,8 +7001,8 @@ export const EventApiFp = function (configuration) {
6990
7001
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6991
7002
  },
6992
7003
  /**
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)
7004
+ * 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`
7005
+ * @summary Explore events
6995
7006
  * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
6996
7007
  * @param {*} [options] Override http request option.
6997
7008
  * @throws {RequiredError}
@@ -7003,7 +7014,7 @@ export const EventApiFp = function (configuration) {
7003
7014
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7004
7015
  },
7005
7016
  /**
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`
7017
+ * 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
7018
  * @summary Get event volume time-series with optional grouping
7008
7019
  * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
7009
7020
  * @param {*} [options] Override http request option.
@@ -7087,8 +7098,8 @@ export const EventApiFactory = function (configuration, basePath, axios) {
7087
7098
  return localVarFp.eventControllerCreate(eventCreateDTO, options).then((request) => request(axios, basePath));
7088
7099
  },
7089
7100
  /**
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)
7101
+ * 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`
7102
+ * @summary Explore events
7092
7103
  * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
7093
7104
  * @param {*} [options] Override http request option.
7094
7105
  * @throws {RequiredError}
@@ -7099,7 +7110,7 @@ export const EventApiFactory = function (configuration, basePath, axios) {
7099
7110
  .then((request) => request(axios, basePath));
7100
7111
  },
7101
7112
  /**
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`
7113
+ * 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
7114
  * @summary Get event volume time-series with optional grouping
7104
7115
  * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
7105
7116
  * @param {*} [options] Override http request option.
@@ -7175,8 +7186,8 @@ export class EventApi extends BaseAPI {
7175
7186
  .then((request) => request(this.axios, this.basePath));
7176
7187
  }
7177
7188
  /**
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)
7189
+ * 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`
7190
+ * @summary Explore events
7180
7191
  * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
7181
7192
  * @param {*} [options] Override http request option.
7182
7193
  * @throws {RequiredError}
@@ -7188,7 +7199,7 @@ export class EventApi extends BaseAPI {
7188
7199
  .then((request) => request(this.axios, this.basePath));
7189
7200
  }
7190
7201
  /**
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`
7202
+ * 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
7203
  * @summary Get event volume time-series with optional grouping
7193
7204
  * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
7194
7205
  * @param {*} [options] Override http request option.
@@ -11904,6 +11915,38 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
11904
11915
  options: localVarRequestOptions,
11905
11916
  };
11906
11917
  },
11918
+ /**
11919
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
11920
+ * @summary Bulk assign role
11921
+ * @param {string} roleId
11922
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
11923
+ * @param {*} [options] Override http request option.
11924
+ * @throws {RequiredError}
11925
+ */
11926
+ playerControllerBulkAssignRole: async (roleId, playerBulkAssignRoleInputDTO, options = {}) => {
11927
+ // verify required parameter 'roleId' is not null or undefined
11928
+ assertParamExists('playerControllerBulkAssignRole', 'roleId', roleId);
11929
+ const localVarPath = `/player/role/{roleId}`.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
11930
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11931
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11932
+ let baseOptions;
11933
+ if (configuration) {
11934
+ baseOptions = configuration.baseOptions;
11935
+ }
11936
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
11937
+ const localVarHeaderParameter = {};
11938
+ const localVarQueryParameter = {};
11939
+ // authentication domainAuth required
11940
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11941
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11942
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11943
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11944
+ localVarRequestOptions.data = serializeDataIfNeeded(playerBulkAssignRoleInputDTO, localVarRequestOptions, configuration);
11945
+ return {
11946
+ url: toPathString(localVarUrlObj),
11947
+ options: localVarRequestOptions,
11948
+ };
11949
+ },
11907
11950
  /**
11908
11951
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
11909
11952
  * @summary Bulk delete
@@ -12173,6 +12216,20 @@ export const PlayerApiFp = function (configuration) {
12173
12216
  const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerAssignRole']?.[localVarOperationServerIndex]?.url;
12174
12217
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12175
12218
  },
12219
+ /**
12220
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
12221
+ * @summary Bulk assign role
12222
+ * @param {string} roleId
12223
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
12224
+ * @param {*} [options] Override http request option.
12225
+ * @throws {RequiredError}
12226
+ */
12227
+ async playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
12228
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options);
12229
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12230
+ const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerBulkAssignRole']?.[localVarOperationServerIndex]?.url;
12231
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12232
+ },
12176
12233
  /**
12177
12234
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
12178
12235
  * @summary Bulk delete
@@ -12326,6 +12383,19 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
12326
12383
  .playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
12327
12384
  .then((request) => request(axios, basePath));
12328
12385
  },
12386
+ /**
12387
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
12388
+ * @summary Bulk assign role
12389
+ * @param {string} roleId
12390
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
12391
+ * @param {*} [options] Override http request option.
12392
+ * @throws {RequiredError}
12393
+ */
12394
+ playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
12395
+ return localVarFp
12396
+ .playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
12397
+ .then((request) => request(axios, basePath));
12398
+ },
12329
12399
  /**
12330
12400
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
12331
12401
  * @summary Bulk delete
@@ -12483,6 +12553,20 @@ export class PlayerApi extends BaseAPI {
12483
12553
  .playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
12484
12554
  .then((request) => request(this.axios, this.basePath));
12485
12555
  }
12556
+ /**
12557
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
12558
+ * @summary Bulk assign role
12559
+ * @param {string} roleId
12560
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
12561
+ * @param {*} [options] Override http request option.
12562
+ * @throws {RequiredError}
12563
+ * @memberof PlayerApi
12564
+ */
12565
+ playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
12566
+ return PlayerApiFp(this.configuration)
12567
+ .playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
12568
+ .then((request) => request(this.axios, this.basePath));
12569
+ }
12486
12570
  /**
12487
12571
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
12488
12572
  * @summary Bulk delete
@@ -12606,6 +12690,38 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
12606
12690
  options: localVarRequestOptions,
12607
12691
  };
12608
12692
  },
12693
+ /**
12694
+ * 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`
12695
+ * @summary Bulk add currency
12696
+ * @param {string} gameServerId
12697
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
12698
+ * @param {*} [options] Override http request option.
12699
+ * @throws {RequiredError}
12700
+ */
12701
+ playerOnGameServerControllerBulkAddCurrency: async (gameServerId, pogBulkAddCurrencyInputDTO, options = {}) => {
12702
+ // verify required parameter 'gameServerId' is not null or undefined
12703
+ assertParamExists('playerOnGameServerControllerBulkAddCurrency', 'gameServerId', gameServerId);
12704
+ const localVarPath = `/gameserver/{gameServerId}/addCurrency`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
12705
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12706
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12707
+ let baseOptions;
12708
+ if (configuration) {
12709
+ baseOptions = configuration.baseOptions;
12710
+ }
12711
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
12712
+ const localVarHeaderParameter = {};
12713
+ const localVarQueryParameter = {};
12714
+ // authentication domainAuth required
12715
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12716
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12717
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12718
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12719
+ localVarRequestOptions.data = serializeDataIfNeeded(pogBulkAddCurrencyInputDTO, localVarRequestOptions, configuration);
12720
+ return {
12721
+ url: toPathString(localVarUrlObj),
12722
+ options: localVarRequestOptions,
12723
+ };
12724
+ },
12609
12725
  /**
12610
12726
  * 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
12727
  * @summary Bulk delete
@@ -12874,6 +12990,20 @@ export const PlayerOnGameServerApiFp = function (configuration) {
12874
12990
  const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[localVarOperationServerIndex]?.url;
12875
12991
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12876
12992
  },
12993
+ /**
12994
+ * 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`
12995
+ * @summary Bulk add currency
12996
+ * @param {string} gameServerId
12997
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
12998
+ * @param {*} [options] Override http request option.
12999
+ * @throws {RequiredError}
13000
+ */
13001
+ async playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
13002
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options);
13003
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13004
+ const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkAddCurrency']?.[localVarOperationServerIndex]?.url;
13005
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13006
+ },
12877
13007
  /**
12878
13008
  * 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
13009
  * @summary Bulk delete
@@ -13001,6 +13131,19 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
13001
13131
  .playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
13002
13132
  .then((request) => request(axios, basePath));
13003
13133
  },
13134
+ /**
13135
+ * 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`
13136
+ * @summary Bulk add currency
13137
+ * @param {string} gameServerId
13138
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
13139
+ * @param {*} [options] Override http request option.
13140
+ * @throws {RequiredError}
13141
+ */
13142
+ playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
13143
+ return localVarFp
13144
+ .playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
13145
+ .then((request) => request(axios, basePath));
13146
+ },
13004
13147
  /**
13005
13148
  * 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`
13006
13149
  * @summary Bulk delete
@@ -13119,6 +13262,20 @@ export class PlayerOnGameServerApi extends BaseAPI {
13119
13262
  .playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
13120
13263
  .then((request) => request(this.axios, this.basePath));
13121
13264
  }
13265
+ /**
13266
+ * 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`
13267
+ * @summary Bulk add currency
13268
+ * @param {string} gameServerId
13269
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
13270
+ * @param {*} [options] Override http request option.
13271
+ * @throws {RequiredError}
13272
+ * @memberof PlayerOnGameServerApi
13273
+ */
13274
+ playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
13275
+ return PlayerOnGameServerApiFp(this.configuration)
13276
+ .playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
13277
+ .then((request) => request(this.axios, this.basePath));
13278
+ }
13122
13279
  /**
13123
13280
  * 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
13281
  * @summary Bulk delete
@@ -13221,6 +13378,369 @@ export class PlayerOnGameServerApi extends BaseAPI {
13221
13378
  .then((request) => request(this.axios, this.basePath));
13222
13379
  }
13223
13380
  }
13381
+ /**
13382
+ * RegistryApi - axios parameter creator
13383
+ * @export
13384
+ */
13385
+ export const RegistryApiAxiosParamCreator = function (configuration) {
13386
+ return {
13387
+ /**
13388
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
13389
+ * @summary Install a module from a registry
13390
+ * @param {string} id
13391
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
13392
+ * @param {*} [options] Override http request option.
13393
+ * @throws {RequiredError}
13394
+ */
13395
+ registryControllerInstall: async (id, registryInstallBody, options = {}) => {
13396
+ // verify required parameter 'id' is not null or undefined
13397
+ assertParamExists('registryControllerInstall', 'id', id);
13398
+ const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
13399
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13400
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13401
+ let baseOptions;
13402
+ if (configuration) {
13403
+ baseOptions = configuration.baseOptions;
13404
+ }
13405
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
13406
+ const localVarHeaderParameter = {};
13407
+ const localVarQueryParameter = {};
13408
+ // authentication domainAuth required
13409
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13410
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13411
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13412
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13413
+ localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
13414
+ return {
13415
+ url: toPathString(localVarUrlObj),
13416
+ options: localVarRequestOptions,
13417
+ };
13418
+ },
13419
+ /**
13420
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
13421
+ * @summary List subscribed registries
13422
+ * @param {*} [options] Override http request option.
13423
+ * @throws {RequiredError}
13424
+ */
13425
+ registryControllerList: async (options = {}) => {
13426
+ const localVarPath = `/registry`;
13427
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13428
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13429
+ let baseOptions;
13430
+ if (configuration) {
13431
+ baseOptions = configuration.baseOptions;
13432
+ }
13433
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
13434
+ const localVarHeaderParameter = {};
13435
+ const localVarQueryParameter = {};
13436
+ // authentication domainAuth required
13437
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13438
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13439
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13440
+ return {
13441
+ url: toPathString(localVarUrlObj),
13442
+ options: localVarRequestOptions,
13443
+ };
13444
+ },
13445
+ /**
13446
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
13447
+ * @summary Refresh registry manifest
13448
+ * @param {string} id
13449
+ * @param {*} [options] Override http request option.
13450
+ * @throws {RequiredError}
13451
+ */
13452
+ registryControllerRefresh: async (id, options = {}) => {
13453
+ // verify required parameter 'id' is not null or undefined
13454
+ assertParamExists('registryControllerRefresh', 'id', id);
13455
+ const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
13456
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13457
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13458
+ let baseOptions;
13459
+ if (configuration) {
13460
+ baseOptions = configuration.baseOptions;
13461
+ }
13462
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
13463
+ const localVarHeaderParameter = {};
13464
+ const localVarQueryParameter = {};
13465
+ // authentication domainAuth required
13466
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13467
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13468
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13469
+ return {
13470
+ url: toPathString(localVarUrlObj),
13471
+ options: localVarRequestOptions,
13472
+ };
13473
+ },
13474
+ /**
13475
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
13476
+ * @summary Subscribe to a registry
13477
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
13478
+ * @param {*} [options] Override http request option.
13479
+ * @throws {RequiredError}
13480
+ */
13481
+ registryControllerSubscribe: async (registrySubscribeBody, options = {}) => {
13482
+ const localVarPath = `/registry`;
13483
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13484
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13485
+ let baseOptions;
13486
+ if (configuration) {
13487
+ baseOptions = configuration.baseOptions;
13488
+ }
13489
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
13490
+ const localVarHeaderParameter = {};
13491
+ const localVarQueryParameter = {};
13492
+ // authentication domainAuth required
13493
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13494
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13495
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13496
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13497
+ localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
13498
+ return {
13499
+ url: toPathString(localVarUrlObj),
13500
+ options: localVarRequestOptions,
13501
+ };
13502
+ },
13503
+ /**
13504
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
13505
+ * @summary Unsubscribe from a registry
13506
+ * @param {string} id
13507
+ * @param {*} [options] Override http request option.
13508
+ * @throws {RequiredError}
13509
+ */
13510
+ registryControllerUnsubscribe: async (id, options = {}) => {
13511
+ // verify required parameter 'id' is not null or undefined
13512
+ assertParamExists('registryControllerUnsubscribe', 'id', id);
13513
+ const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
13514
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13515
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13516
+ let baseOptions;
13517
+ if (configuration) {
13518
+ baseOptions = configuration.baseOptions;
13519
+ }
13520
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
13521
+ const localVarHeaderParameter = {};
13522
+ const localVarQueryParameter = {};
13523
+ // authentication domainAuth required
13524
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13525
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13526
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
13527
+ return {
13528
+ url: toPathString(localVarUrlObj),
13529
+ options: localVarRequestOptions,
13530
+ };
13531
+ },
13532
+ };
13533
+ };
13534
+ /**
13535
+ * RegistryApi - functional programming interface
13536
+ * @export
13537
+ */
13538
+ export const RegistryApiFp = function (configuration) {
13539
+ const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
13540
+ return {
13541
+ /**
13542
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
13543
+ * @summary Install a module from a registry
13544
+ * @param {string} id
13545
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
13546
+ * @param {*} [options] Override http request option.
13547
+ * @throws {RequiredError}
13548
+ */
13549
+ async registryControllerInstall(id, registryInstallBody, options) {
13550
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(id, registryInstallBody, options);
13551
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13552
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
13553
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13554
+ },
13555
+ /**
13556
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
13557
+ * @summary List subscribed registries
13558
+ * @param {*} [options] Override http request option.
13559
+ * @throws {RequiredError}
13560
+ */
13561
+ async registryControllerList(options) {
13562
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
13563
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13564
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
13565
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13566
+ },
13567
+ /**
13568
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
13569
+ * @summary Refresh registry manifest
13570
+ * @param {string} id
13571
+ * @param {*} [options] Override http request option.
13572
+ * @throws {RequiredError}
13573
+ */
13574
+ async registryControllerRefresh(id, options) {
13575
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
13576
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13577
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
13578
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13579
+ },
13580
+ /**
13581
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
13582
+ * @summary Subscribe to a registry
13583
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
13584
+ * @param {*} [options] Override http request option.
13585
+ * @throws {RequiredError}
13586
+ */
13587
+ async registryControllerSubscribe(registrySubscribeBody, options) {
13588
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerSubscribe(registrySubscribeBody, options);
13589
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13590
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerSubscribe']?.[localVarOperationServerIndex]?.url;
13591
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13592
+ },
13593
+ /**
13594
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
13595
+ * @summary Unsubscribe from a registry
13596
+ * @param {string} id
13597
+ * @param {*} [options] Override http request option.
13598
+ * @throws {RequiredError}
13599
+ */
13600
+ async registryControllerUnsubscribe(id, options) {
13601
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerUnsubscribe(id, options);
13602
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13603
+ const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerUnsubscribe']?.[localVarOperationServerIndex]?.url;
13604
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13605
+ },
13606
+ };
13607
+ };
13608
+ /**
13609
+ * RegistryApi - factory interface
13610
+ * @export
13611
+ */
13612
+ export const RegistryApiFactory = function (configuration, basePath, axios) {
13613
+ const localVarFp = RegistryApiFp(configuration);
13614
+ return {
13615
+ /**
13616
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
13617
+ * @summary Install a module from a registry
13618
+ * @param {string} id
13619
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
13620
+ * @param {*} [options] Override http request option.
13621
+ * @throws {RequiredError}
13622
+ */
13623
+ registryControllerInstall(id, registryInstallBody, options) {
13624
+ return localVarFp
13625
+ .registryControllerInstall(id, registryInstallBody, options)
13626
+ .then((request) => request(axios, basePath));
13627
+ },
13628
+ /**
13629
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
13630
+ * @summary List subscribed registries
13631
+ * @param {*} [options] Override http request option.
13632
+ * @throws {RequiredError}
13633
+ */
13634
+ registryControllerList(options) {
13635
+ return localVarFp.registryControllerList(options).then((request) => request(axios, basePath));
13636
+ },
13637
+ /**
13638
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
13639
+ * @summary Refresh registry manifest
13640
+ * @param {string} id
13641
+ * @param {*} [options] Override http request option.
13642
+ * @throws {RequiredError}
13643
+ */
13644
+ registryControllerRefresh(id, options) {
13645
+ return localVarFp.registryControllerRefresh(id, options).then((request) => request(axios, basePath));
13646
+ },
13647
+ /**
13648
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
13649
+ * @summary Subscribe to a registry
13650
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
13651
+ * @param {*} [options] Override http request option.
13652
+ * @throws {RequiredError}
13653
+ */
13654
+ registryControllerSubscribe(registrySubscribeBody, options) {
13655
+ return localVarFp
13656
+ .registryControllerSubscribe(registrySubscribeBody, options)
13657
+ .then((request) => request(axios, basePath));
13658
+ },
13659
+ /**
13660
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
13661
+ * @summary Unsubscribe from a registry
13662
+ * @param {string} id
13663
+ * @param {*} [options] Override http request option.
13664
+ * @throws {RequiredError}
13665
+ */
13666
+ registryControllerUnsubscribe(id, options) {
13667
+ return localVarFp.registryControllerUnsubscribe(id, options).then((request) => request(axios, basePath));
13668
+ },
13669
+ };
13670
+ };
13671
+ /**
13672
+ * RegistryApi - object-oriented interface
13673
+ * @export
13674
+ * @class RegistryApi
13675
+ * @extends {BaseAPI}
13676
+ */
13677
+ export class RegistryApi extends BaseAPI {
13678
+ /**
13679
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
13680
+ * @summary Install a module from a registry
13681
+ * @param {string} id
13682
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
13683
+ * @param {*} [options] Override http request option.
13684
+ * @throws {RequiredError}
13685
+ * @memberof RegistryApi
13686
+ */
13687
+ registryControllerInstall(id, registryInstallBody, options) {
13688
+ return RegistryApiFp(this.configuration)
13689
+ .registryControllerInstall(id, registryInstallBody, options)
13690
+ .then((request) => request(this.axios, this.basePath));
13691
+ }
13692
+ /**
13693
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
13694
+ * @summary List subscribed registries
13695
+ * @param {*} [options] Override http request option.
13696
+ * @throws {RequiredError}
13697
+ * @memberof RegistryApi
13698
+ */
13699
+ registryControllerList(options) {
13700
+ return RegistryApiFp(this.configuration)
13701
+ .registryControllerList(options)
13702
+ .then((request) => request(this.axios, this.basePath));
13703
+ }
13704
+ /**
13705
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
13706
+ * @summary Refresh registry manifest
13707
+ * @param {string} id
13708
+ * @param {*} [options] Override http request option.
13709
+ * @throws {RequiredError}
13710
+ * @memberof RegistryApi
13711
+ */
13712
+ registryControllerRefresh(id, options) {
13713
+ return RegistryApiFp(this.configuration)
13714
+ .registryControllerRefresh(id, options)
13715
+ .then((request) => request(this.axios, this.basePath));
13716
+ }
13717
+ /**
13718
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
13719
+ * @summary Subscribe to a registry
13720
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
13721
+ * @param {*} [options] Override http request option.
13722
+ * @throws {RequiredError}
13723
+ * @memberof RegistryApi
13724
+ */
13725
+ registryControllerSubscribe(registrySubscribeBody, options) {
13726
+ return RegistryApiFp(this.configuration)
13727
+ .registryControllerSubscribe(registrySubscribeBody, options)
13728
+ .then((request) => request(this.axios, this.basePath));
13729
+ }
13730
+ /**
13731
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
13732
+ * @summary Unsubscribe from a registry
13733
+ * @param {string} id
13734
+ * @param {*} [options] Override http request option.
13735
+ * @throws {RequiredError}
13736
+ * @memberof RegistryApi
13737
+ */
13738
+ registryControllerUnsubscribe(id, options) {
13739
+ return RegistryApiFp(this.configuration)
13740
+ .registryControllerUnsubscribe(id, options)
13741
+ .then((request) => request(this.axios, this.basePath));
13742
+ }
13743
+ }
13224
13744
  /**
13225
13745
  * RoleApi - axios parameter creator
13226
13746
  * @export