@takaro/apiclient 0.0.0-dev.d495c77 → 0.0.0-dev.d4ad6b4
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.
- package/dist/generated/api.d.ts +464 -44
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +225 -26
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/adminClient.d.ts +1 -1
- package/dist/lib/adminClient.d.ts.map +1 -1
- package/dist/lib/adminClient.js +2 -1
- package/dist/lib/adminClient.js.map +1 -1
- package/dist/lib/baseClient.d.ts +1 -1
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +4 -3
- package/dist/lib/baseClient.js.map +1 -1
- package/dist/lib/client.d.ts +1 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +4 -3
- package/dist/lib/client.js.map +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.d.ts.map +1 -1
- package/generated.manifest.json +27 -0
- package/openapi.json +28249 -0
- package/package.json +1 -1
- package/src/generated/api.ts +643 -46
- package/src/lib/adminClient.ts +5 -3
- package/src/lib/baseClient.ts +6 -4
- package/src/lib/client.ts +5 -4
- package/src/main.ts +1 -1
package/dist/generated/api.js
CHANGED
|
@@ -831,6 +831,10 @@ export const PlayerOnGameServerSearchInputDTOSortDirectionEnum = {
|
|
|
831
831
|
Asc: 'asc',
|
|
832
832
|
Desc: 'desc',
|
|
833
833
|
};
|
|
834
|
+
export const PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum = {
|
|
835
|
+
Global: 'global',
|
|
836
|
+
GameServer: 'gameServer',
|
|
837
|
+
};
|
|
834
838
|
export const PlayerSearchInputDTOExtendEnum = {
|
|
835
839
|
PlayerOnGameServers: 'playerOnGameServers',
|
|
836
840
|
Roles: 'roles',
|
|
@@ -880,6 +884,11 @@ export const ShopCategorySearchInputDTOSortDirectionEnum = {
|
|
|
880
884
|
Asc: 'asc',
|
|
881
885
|
Desc: 'desc',
|
|
882
886
|
};
|
|
887
|
+
export const ShopListingBulkInputDTOActionEnum = {
|
|
888
|
+
Delete: 'delete',
|
|
889
|
+
Publish: 'publish',
|
|
890
|
+
Unpublish: 'unpublish',
|
|
891
|
+
};
|
|
883
892
|
export const ShopListingSearchInputDTOExtendEnum = {
|
|
884
893
|
GameServer: 'gameServer',
|
|
885
894
|
Items: 'items',
|
|
@@ -6550,7 +6559,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
6550
6559
|
},
|
|
6551
6560
|
/**
|
|
6552
6561
|
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6553
|
-
* @summary Create
|
|
6562
|
+
* @summary Create staff-recovery invite link for a domain
|
|
6554
6563
|
* @param {string} id
|
|
6555
6564
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6556
6565
|
* @param {*} [options] Override http request option.
|
|
@@ -6794,7 +6803,7 @@ export const DomainApiFp = function (configuration) {
|
|
|
6794
6803
|
},
|
|
6795
6804
|
/**
|
|
6796
6805
|
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6797
|
-
* @summary Create
|
|
6806
|
+
* @summary Create staff-recovery invite link for a domain
|
|
6798
6807
|
* @param {string} id
|
|
6799
6808
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6800
6809
|
* @param {*} [options] Override http request option.
|
|
@@ -6909,7 +6918,7 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
|
|
|
6909
6918
|
},
|
|
6910
6919
|
/**
|
|
6911
6920
|
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6912
|
-
* @summary Create
|
|
6921
|
+
* @summary Create staff-recovery invite link for a domain
|
|
6913
6922
|
* @param {string} id
|
|
6914
6923
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6915
6924
|
* @param {*} [options] Override http request option.
|
|
@@ -7012,7 +7021,7 @@ export class DomainApi extends BaseAPI {
|
|
|
7012
7021
|
}
|
|
7013
7022
|
/**
|
|
7014
7023
|
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
7015
|
-
* @summary Create
|
|
7024
|
+
* @summary Create staff-recovery invite link for a domain
|
|
7016
7025
|
* @param {string} id
|
|
7017
7026
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
7018
7027
|
* @param {*} [options] Override http request option.
|
|
@@ -7775,13 +7784,11 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration) {
|
|
|
7775
7784
|
/**
|
|
7776
7785
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7777
7786
|
* @summary Auth discord
|
|
7778
|
-
* @param {string} redirect
|
|
7787
|
+
* @param {string} [redirect]
|
|
7779
7788
|
* @param {*} [options] Override http request option.
|
|
7780
7789
|
* @throws {RequiredError}
|
|
7781
7790
|
*/
|
|
7782
7791
|
externalAuthControllerAuthDiscord: async (redirect, options = {}) => {
|
|
7783
|
-
// verify required parameter 'redirect' is not null or undefined
|
|
7784
|
-
assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
|
|
7785
7792
|
const localVarPath = `/auth/discord`;
|
|
7786
7793
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7787
7794
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7840,7 +7847,7 @@ export const ExternalAuthApiFp = function (configuration) {
|
|
|
7840
7847
|
/**
|
|
7841
7848
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7842
7849
|
* @summary Auth discord
|
|
7843
|
-
* @param {string} redirect
|
|
7850
|
+
* @param {string} [redirect]
|
|
7844
7851
|
* @param {*} [options] Override http request option.
|
|
7845
7852
|
* @throws {RequiredError}
|
|
7846
7853
|
*/
|
|
@@ -7875,7 +7882,7 @@ export const ExternalAuthApiFactory = function (configuration, basePath, axios)
|
|
|
7875
7882
|
/**
|
|
7876
7883
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7877
7884
|
* @summary Auth discord
|
|
7878
|
-
* @param {string} redirect
|
|
7885
|
+
* @param {string} [redirect]
|
|
7879
7886
|
* @param {*} [options] Override http request option.
|
|
7880
7887
|
* @throws {RequiredError}
|
|
7881
7888
|
*/
|
|
@@ -7905,7 +7912,7 @@ export class ExternalAuthApi extends BaseAPI {
|
|
|
7905
7912
|
/**
|
|
7906
7913
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7907
7914
|
* @summary Auth discord
|
|
7908
|
-
* @param {string} redirect
|
|
7915
|
+
* @param {string} [redirect]
|
|
7909
7916
|
* @param {*} [options] Override http request option.
|
|
7910
7917
|
* @throws {RequiredError}
|
|
7911
7918
|
* @memberof ExternalAuthApi
|
|
@@ -11244,6 +11251,31 @@ export const MetaApiAxiosParamCreator = function (configuration) {
|
|
|
11244
11251
|
options: localVarRequestOptions,
|
|
11245
11252
|
};
|
|
11246
11253
|
},
|
|
11254
|
+
/**
|
|
11255
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11256
|
+
* @summary Get liveness
|
|
11257
|
+
* @param {*} [options] Override http request option.
|
|
11258
|
+
* @throws {RequiredError}
|
|
11259
|
+
*/
|
|
11260
|
+
metaGetLiveness: async (options = {}) => {
|
|
11261
|
+
const localVarPath = `/livez`;
|
|
11262
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11263
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11264
|
+
let baseOptions;
|
|
11265
|
+
if (configuration) {
|
|
11266
|
+
baseOptions = configuration.baseOptions;
|
|
11267
|
+
}
|
|
11268
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11269
|
+
const localVarHeaderParameter = {};
|
|
11270
|
+
const localVarQueryParameter = {};
|
|
11271
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11273
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11274
|
+
return {
|
|
11275
|
+
url: toPathString(localVarUrlObj),
|
|
11276
|
+
options: localVarRequestOptions,
|
|
11277
|
+
};
|
|
11278
|
+
},
|
|
11247
11279
|
/**
|
|
11248
11280
|
* <br> OperationId: `MetaGetMetrics`
|
|
11249
11281
|
* @summary Get metrics
|
|
@@ -11390,6 +11422,18 @@ export const MetaApiFp = function (configuration) {
|
|
|
11390
11422
|
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetHealth']?.[localVarOperationServerIndex]?.url;
|
|
11391
11423
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11392
11424
|
},
|
|
11425
|
+
/**
|
|
11426
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11427
|
+
* @summary Get liveness
|
|
11428
|
+
* @param {*} [options] Override http request option.
|
|
11429
|
+
* @throws {RequiredError}
|
|
11430
|
+
*/
|
|
11431
|
+
async metaGetLiveness(options) {
|
|
11432
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
|
|
11433
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11434
|
+
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
|
|
11435
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11436
|
+
},
|
|
11393
11437
|
/**
|
|
11394
11438
|
* <br> OperationId: `MetaGetMetrics`
|
|
11395
11439
|
* @summary Get metrics
|
|
@@ -11468,6 +11512,15 @@ export const MetaApiFactory = function (configuration, basePath, axios) {
|
|
|
11468
11512
|
metaGetHealth(options) {
|
|
11469
11513
|
return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
|
|
11470
11514
|
},
|
|
11515
|
+
/**
|
|
11516
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11517
|
+
* @summary Get liveness
|
|
11518
|
+
* @param {*} [options] Override http request option.
|
|
11519
|
+
* @throws {RequiredError}
|
|
11520
|
+
*/
|
|
11521
|
+
metaGetLiveness(options) {
|
|
11522
|
+
return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
|
|
11523
|
+
},
|
|
11471
11524
|
/**
|
|
11472
11525
|
* <br> OperationId: `MetaGetMetrics`
|
|
11473
11526
|
* @summary Get metrics
|
|
@@ -11534,6 +11587,18 @@ export class MetaApi extends BaseAPI {
|
|
|
11534
11587
|
.metaGetHealth(options)
|
|
11535
11588
|
.then((request) => request(this.axios, this.basePath));
|
|
11536
11589
|
}
|
|
11590
|
+
/**
|
|
11591
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11592
|
+
* @summary Get liveness
|
|
11593
|
+
* @param {*} [options] Override http request option.
|
|
11594
|
+
* @throws {RequiredError}
|
|
11595
|
+
* @memberof MetaApi
|
|
11596
|
+
*/
|
|
11597
|
+
metaGetLiveness(options) {
|
|
11598
|
+
return MetaApiFp(this.configuration)
|
|
11599
|
+
.metaGetLiveness(options)
|
|
11600
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11601
|
+
}
|
|
11537
11602
|
/**
|
|
11538
11603
|
* <br> OperationId: `MetaGetMetrics`
|
|
11539
11604
|
* @summary Get metrics
|
|
@@ -12781,7 +12846,7 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
12781
12846
|
};
|
|
12782
12847
|
},
|
|
12783
12848
|
/**
|
|
12784
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12849
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12785
12850
|
* @summary Bulk assign role
|
|
12786
12851
|
* @param {string} roleId
|
|
12787
12852
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -12813,7 +12878,7 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
12813
12878
|
};
|
|
12814
12879
|
},
|
|
12815
12880
|
/**
|
|
12816
|
-
* Bulk delete players by
|
|
12881
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
12817
12882
|
* @summary Bulk delete
|
|
12818
12883
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
12819
12884
|
* @param {*} [options] Override http request option.
|
|
@@ -13082,7 +13147,7 @@ export const PlayerApiFp = function (configuration) {
|
|
|
13082
13147
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13083
13148
|
},
|
|
13084
13149
|
/**
|
|
13085
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13150
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13086
13151
|
* @summary Bulk assign role
|
|
13087
13152
|
* @param {string} roleId
|
|
13088
13153
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -13096,7 +13161,7 @@ export const PlayerApiFp = function (configuration) {
|
|
|
13096
13161
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13097
13162
|
},
|
|
13098
13163
|
/**
|
|
13099
|
-
* Bulk delete players by
|
|
13164
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
13100
13165
|
* @summary Bulk delete
|
|
13101
13166
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
13102
13167
|
* @param {*} [options] Override http request option.
|
|
@@ -13249,7 +13314,7 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
13249
13314
|
.then((request) => request(axios, basePath));
|
|
13250
13315
|
},
|
|
13251
13316
|
/**
|
|
13252
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13317
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13253
13318
|
* @summary Bulk assign role
|
|
13254
13319
|
* @param {string} roleId
|
|
13255
13320
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -13262,7 +13327,7 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
13262
13327
|
.then((request) => request(axios, basePath));
|
|
13263
13328
|
},
|
|
13264
13329
|
/**
|
|
13265
|
-
* Bulk delete players by
|
|
13330
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
13266
13331
|
* @summary Bulk delete
|
|
13267
13332
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
13268
13333
|
* @param {*} [options] Override http request option.
|
|
@@ -13419,7 +13484,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
13419
13484
|
.then((request) => request(this.axios, this.basePath));
|
|
13420
13485
|
}
|
|
13421
13486
|
/**
|
|
13422
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13487
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13423
13488
|
* @summary Bulk assign role
|
|
13424
13489
|
* @param {string} roleId
|
|
13425
13490
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -13433,7 +13498,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
13433
13498
|
.then((request) => request(this.axios, this.basePath));
|
|
13434
13499
|
}
|
|
13435
13500
|
/**
|
|
13436
|
-
* Bulk delete players by
|
|
13501
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
13437
13502
|
* @summary Bulk delete
|
|
13438
13503
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
13439
13504
|
* @param {*} [options] Override http request option.
|
|
@@ -13556,7 +13621,7 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
13556
13621
|
};
|
|
13557
13622
|
},
|
|
13558
13623
|
/**
|
|
13559
|
-
* Bulk add currency to
|
|
13624
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
13560
13625
|
* @summary Bulk add currency
|
|
13561
13626
|
* @param {string} gameServerId
|
|
13562
13627
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -13856,7 +13921,7 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
13856
13921
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13857
13922
|
},
|
|
13858
13923
|
/**
|
|
13859
|
-
* Bulk add currency to
|
|
13924
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
13860
13925
|
* @summary Bulk add currency
|
|
13861
13926
|
* @param {string} gameServerId
|
|
13862
13927
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -13997,7 +14062,7 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
13997
14062
|
.then((request) => request(axios, basePath));
|
|
13998
14063
|
},
|
|
13999
14064
|
/**
|
|
14000
|
-
* Bulk add currency to
|
|
14065
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
14001
14066
|
* @summary Bulk add currency
|
|
14002
14067
|
* @param {string} gameServerId
|
|
14003
14068
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -14128,7 +14193,7 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
14128
14193
|
.then((request) => request(this.axios, this.basePath));
|
|
14129
14194
|
}
|
|
14130
14195
|
/**
|
|
14131
|
-
* Bulk add currency to
|
|
14196
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
14132
14197
|
* @summary Bulk add currency
|
|
14133
14198
|
* @param {string} gameServerId
|
|
14134
14199
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -15901,7 +15966,7 @@ export class ShopActionApi extends BaseAPI {
|
|
|
15901
15966
|
export const ShopCategoryApiAxiosParamCreator = function (configuration) {
|
|
15902
15967
|
return {
|
|
15903
15968
|
/**
|
|
15904
|
-
* Bulk assign categories to
|
|
15969
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
15905
15970
|
* @summary Bulk assign
|
|
15906
15971
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
15907
15972
|
* @param {*} [options] Override http request option.
|
|
@@ -16153,7 +16218,7 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
16153
16218
|
const localVarAxiosParamCreator = ShopCategoryApiAxiosParamCreator(configuration);
|
|
16154
16219
|
return {
|
|
16155
16220
|
/**
|
|
16156
|
-
* Bulk assign categories to
|
|
16221
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
16157
16222
|
* @summary Bulk assign
|
|
16158
16223
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
16159
16224
|
* @param {*} [options] Override http request option.
|
|
@@ -16269,7 +16334,7 @@ export const ShopCategoryApiFactory = function (configuration, basePath, axios)
|
|
|
16269
16334
|
const localVarFp = ShopCategoryApiFp(configuration);
|
|
16270
16335
|
return {
|
|
16271
16336
|
/**
|
|
16272
|
-
* Bulk assign categories to
|
|
16337
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
16273
16338
|
* @summary Bulk assign
|
|
16274
16339
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
16275
16340
|
* @param {*} [options] Override http request option.
|
|
@@ -16373,7 +16438,7 @@ export const ShopCategoryApiFactory = function (configuration, basePath, axios)
|
|
|
16373
16438
|
*/
|
|
16374
16439
|
export class ShopCategoryApi extends BaseAPI {
|
|
16375
16440
|
/**
|
|
16376
|
-
* Bulk assign categories to
|
|
16441
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
16377
16442
|
* @summary Bulk assign
|
|
16378
16443
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
16379
16444
|
* @param {*} [options] Override http request option.
|
|
@@ -16486,6 +16551,35 @@ export class ShopCategoryApi extends BaseAPI {
|
|
|
16486
16551
|
*/
|
|
16487
16552
|
export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
16488
16553
|
return {
|
|
16554
|
+
/**
|
|
16555
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
16556
|
+
* @summary Bulk
|
|
16557
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
16558
|
+
* @param {*} [options] Override http request option.
|
|
16559
|
+
* @throws {RequiredError}
|
|
16560
|
+
*/
|
|
16561
|
+
shopListingControllerBulk: async (shopListingBulkInputDTO, options = {}) => {
|
|
16562
|
+
const localVarPath = `/shop/listing/bulk`;
|
|
16563
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16564
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16565
|
+
let baseOptions;
|
|
16566
|
+
if (configuration) {
|
|
16567
|
+
baseOptions = configuration.baseOptions;
|
|
16568
|
+
}
|
|
16569
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
16570
|
+
const localVarHeaderParameter = {};
|
|
16571
|
+
const localVarQueryParameter = {};
|
|
16572
|
+
// authentication domainAuth required
|
|
16573
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16574
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16575
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16576
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
16577
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shopListingBulkInputDTO, localVarRequestOptions, configuration);
|
|
16578
|
+
return {
|
|
16579
|
+
url: toPathString(localVarUrlObj),
|
|
16580
|
+
options: localVarRequestOptions,
|
|
16581
|
+
};
|
|
16582
|
+
},
|
|
16489
16583
|
/**
|
|
16490
16584
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16491
16585
|
* @summary Create
|
|
@@ -16669,6 +16763,19 @@ export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
|
16669
16763
|
export const ShopListingApiFp = function (configuration) {
|
|
16670
16764
|
const localVarAxiosParamCreator = ShopListingApiAxiosParamCreator(configuration);
|
|
16671
16765
|
return {
|
|
16766
|
+
/**
|
|
16767
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
16768
|
+
* @summary Bulk
|
|
16769
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
16770
|
+
* @param {*} [options] Override http request option.
|
|
16771
|
+
* @throws {RequiredError}
|
|
16772
|
+
*/
|
|
16773
|
+
async shopListingControllerBulk(shopListingBulkInputDTO, options) {
|
|
16774
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerBulk(shopListingBulkInputDTO, options);
|
|
16775
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16776
|
+
const localVarOperationServerBasePath = operationServerMap['ShopListingApi.shopListingControllerBulk']?.[localVarOperationServerIndex]?.url;
|
|
16777
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16778
|
+
},
|
|
16672
16779
|
/**
|
|
16673
16780
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16674
16781
|
* @summary Create
|
|
@@ -16756,6 +16863,18 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
16756
16863
|
export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
16757
16864
|
const localVarFp = ShopListingApiFp(configuration);
|
|
16758
16865
|
return {
|
|
16866
|
+
/**
|
|
16867
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
16868
|
+
* @summary Bulk
|
|
16869
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
16870
|
+
* @param {*} [options] Override http request option.
|
|
16871
|
+
* @throws {RequiredError}
|
|
16872
|
+
*/
|
|
16873
|
+
shopListingControllerBulk(shopListingBulkInputDTO, options) {
|
|
16874
|
+
return localVarFp
|
|
16875
|
+
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
16876
|
+
.then((request) => request(axios, basePath));
|
|
16877
|
+
},
|
|
16759
16878
|
/**
|
|
16760
16879
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16761
16880
|
* @summary Create
|
|
@@ -16831,6 +16950,19 @@ export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
|
16831
16950
|
* @extends {BaseAPI}
|
|
16832
16951
|
*/
|
|
16833
16952
|
export class ShopListingApi extends BaseAPI {
|
|
16953
|
+
/**
|
|
16954
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
16955
|
+
* @summary Bulk
|
|
16956
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
16957
|
+
* @param {*} [options] Override http request option.
|
|
16958
|
+
* @throws {RequiredError}
|
|
16959
|
+
* @memberof ShopListingApi
|
|
16960
|
+
*/
|
|
16961
|
+
shopListingControllerBulk(shopListingBulkInputDTO, options) {
|
|
16962
|
+
return ShopListingApiFp(this.configuration)
|
|
16963
|
+
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
16964
|
+
.then((request) => request(this.axios, this.basePath));
|
|
16965
|
+
}
|
|
16834
16966
|
/**
|
|
16835
16967
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16836
16968
|
* @summary Create
|
|
@@ -18905,6 +19037,35 @@ export class UserApi extends BaseAPI {
|
|
|
18905
19037
|
*/
|
|
18906
19038
|
export const VariableApiAxiosParamCreator = function (configuration) {
|
|
18907
19039
|
return {
|
|
19040
|
+
/**
|
|
19041
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19042
|
+
* @summary Bulk delete
|
|
19043
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19044
|
+
* @param {*} [options] Override http request option.
|
|
19045
|
+
* @throws {RequiredError}
|
|
19046
|
+
*/
|
|
19047
|
+
variableControllerBulkDelete: async (variableBulkDeleteInputDTO, options = {}) => {
|
|
19048
|
+
const localVarPath = `/variables`;
|
|
19049
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19050
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19051
|
+
let baseOptions;
|
|
19052
|
+
if (configuration) {
|
|
19053
|
+
baseOptions = configuration.baseOptions;
|
|
19054
|
+
}
|
|
19055
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
19056
|
+
const localVarHeaderParameter = {};
|
|
19057
|
+
const localVarQueryParameter = {};
|
|
19058
|
+
// authentication domainAuth required
|
|
19059
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19060
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19061
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19062
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19063
|
+
localVarRequestOptions.data = serializeDataIfNeeded(variableBulkDeleteInputDTO, localVarRequestOptions, configuration);
|
|
19064
|
+
return {
|
|
19065
|
+
url: toPathString(localVarUrlObj),
|
|
19066
|
+
options: localVarRequestOptions,
|
|
19067
|
+
};
|
|
19068
|
+
},
|
|
18908
19069
|
/**
|
|
18909
19070
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18910
19071
|
* @summary Create
|
|
@@ -19062,6 +19223,19 @@ export const VariableApiAxiosParamCreator = function (configuration) {
|
|
|
19062
19223
|
export const VariableApiFp = function (configuration) {
|
|
19063
19224
|
const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
|
|
19064
19225
|
return {
|
|
19226
|
+
/**
|
|
19227
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19228
|
+
* @summary Bulk delete
|
|
19229
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19230
|
+
* @param {*} [options] Override http request option.
|
|
19231
|
+
* @throws {RequiredError}
|
|
19232
|
+
*/
|
|
19233
|
+
async variableControllerBulkDelete(variableBulkDeleteInputDTO, options) {
|
|
19234
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerBulkDelete(variableBulkDeleteInputDTO, options);
|
|
19235
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19236
|
+
const localVarOperationServerBasePath = operationServerMap['VariableApi.variableControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
19237
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19238
|
+
},
|
|
19065
19239
|
/**
|
|
19066
19240
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
19067
19241
|
* @summary Create
|
|
@@ -19137,6 +19311,18 @@ export const VariableApiFp = function (configuration) {
|
|
|
19137
19311
|
export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
19138
19312
|
const localVarFp = VariableApiFp(configuration);
|
|
19139
19313
|
return {
|
|
19314
|
+
/**
|
|
19315
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19316
|
+
* @summary Bulk delete
|
|
19317
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19318
|
+
* @param {*} [options] Override http request option.
|
|
19319
|
+
* @throws {RequiredError}
|
|
19320
|
+
*/
|
|
19321
|
+
variableControllerBulkDelete(variableBulkDeleteInputDTO, options) {
|
|
19322
|
+
return localVarFp
|
|
19323
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
19324
|
+
.then((request) => request(axios, basePath));
|
|
19325
|
+
},
|
|
19140
19326
|
/**
|
|
19141
19327
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
19142
19328
|
* @summary Create
|
|
@@ -19203,6 +19389,19 @@ export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
|
19203
19389
|
* @extends {BaseAPI}
|
|
19204
19390
|
*/
|
|
19205
19391
|
export class VariableApi extends BaseAPI {
|
|
19392
|
+
/**
|
|
19393
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19394
|
+
* @summary Bulk delete
|
|
19395
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19396
|
+
* @param {*} [options] Override http request option.
|
|
19397
|
+
* @throws {RequiredError}
|
|
19398
|
+
* @memberof VariableApi
|
|
19399
|
+
*/
|
|
19400
|
+
variableControllerBulkDelete(variableBulkDeleteInputDTO, options) {
|
|
19401
|
+
return VariableApiFp(this.configuration)
|
|
19402
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
19403
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19404
|
+
}
|
|
19206
19405
|
/**
|
|
19207
19406
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
19208
19407
|
* @summary Create
|