@takaro/apiclient 0.0.0-dev.a282bfc → 0.0.0-dev.a453433
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 +350 -20
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +159 -16
- package/dist/generated/api.js.map +1 -1
- package/generated.manifest.json +2 -2
- package/openapi.json +939 -628
- package/package.json +1 -1
- package/src/generated/api.ts +487 -20
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',
|
|
@@ -12837,7 +12846,7 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
12837
12846
|
};
|
|
12838
12847
|
},
|
|
12839
12848
|
/**
|
|
12840
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
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`
|
|
12841
12850
|
* @summary Bulk assign role
|
|
12842
12851
|
* @param {string} roleId
|
|
12843
12852
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -12869,7 +12878,7 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
12869
12878
|
};
|
|
12870
12879
|
},
|
|
12871
12880
|
/**
|
|
12872
|
-
* 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`
|
|
12873
12882
|
* @summary Bulk delete
|
|
12874
12883
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
12875
12884
|
* @param {*} [options] Override http request option.
|
|
@@ -13138,7 +13147,7 @@ export const PlayerApiFp = function (configuration) {
|
|
|
13138
13147
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13139
13148
|
},
|
|
13140
13149
|
/**
|
|
13141
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
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`
|
|
13142
13151
|
* @summary Bulk assign role
|
|
13143
13152
|
* @param {string} roleId
|
|
13144
13153
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -13152,7 +13161,7 @@ export const PlayerApiFp = function (configuration) {
|
|
|
13152
13161
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13153
13162
|
},
|
|
13154
13163
|
/**
|
|
13155
|
-
* 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`
|
|
13156
13165
|
* @summary Bulk delete
|
|
13157
13166
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
13158
13167
|
* @param {*} [options] Override http request option.
|
|
@@ -13305,7 +13314,7 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
13305
13314
|
.then((request) => request(axios, basePath));
|
|
13306
13315
|
},
|
|
13307
13316
|
/**
|
|
13308
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
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`
|
|
13309
13318
|
* @summary Bulk assign role
|
|
13310
13319
|
* @param {string} roleId
|
|
13311
13320
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -13318,7 +13327,7 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
13318
13327
|
.then((request) => request(axios, basePath));
|
|
13319
13328
|
},
|
|
13320
13329
|
/**
|
|
13321
|
-
* 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`
|
|
13322
13331
|
* @summary Bulk delete
|
|
13323
13332
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
13324
13333
|
* @param {*} [options] Override http request option.
|
|
@@ -13475,7 +13484,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
13475
13484
|
.then((request) => request(this.axios, this.basePath));
|
|
13476
13485
|
}
|
|
13477
13486
|
/**
|
|
13478
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
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`
|
|
13479
13488
|
* @summary Bulk assign role
|
|
13480
13489
|
* @param {string} roleId
|
|
13481
13490
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -13489,7 +13498,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
13489
13498
|
.then((request) => request(this.axios, this.basePath));
|
|
13490
13499
|
}
|
|
13491
13500
|
/**
|
|
13492
|
-
* 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`
|
|
13493
13502
|
* @summary Bulk delete
|
|
13494
13503
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
13495
13504
|
* @param {*} [options] Override http request option.
|
|
@@ -13612,7 +13621,7 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
13612
13621
|
};
|
|
13613
13622
|
},
|
|
13614
13623
|
/**
|
|
13615
|
-
* 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`
|
|
13616
13625
|
* @summary Bulk add currency
|
|
13617
13626
|
* @param {string} gameServerId
|
|
13618
13627
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -13912,7 +13921,7 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
13912
13921
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13913
13922
|
},
|
|
13914
13923
|
/**
|
|
13915
|
-
* 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`
|
|
13916
13925
|
* @summary Bulk add currency
|
|
13917
13926
|
* @param {string} gameServerId
|
|
13918
13927
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -14053,7 +14062,7 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
14053
14062
|
.then((request) => request(axios, basePath));
|
|
14054
14063
|
},
|
|
14055
14064
|
/**
|
|
14056
|
-
* 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`
|
|
14057
14066
|
* @summary Bulk add currency
|
|
14058
14067
|
* @param {string} gameServerId
|
|
14059
14068
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -14184,7 +14193,7 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
14184
14193
|
.then((request) => request(this.axios, this.basePath));
|
|
14185
14194
|
}
|
|
14186
14195
|
/**
|
|
14187
|
-
* 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`
|
|
14188
14197
|
* @summary Bulk add currency
|
|
14189
14198
|
* @param {string} gameServerId
|
|
14190
14199
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -15957,7 +15966,7 @@ export class ShopActionApi extends BaseAPI {
|
|
|
15957
15966
|
export const ShopCategoryApiAxiosParamCreator = function (configuration) {
|
|
15958
15967
|
return {
|
|
15959
15968
|
/**
|
|
15960
|
-
* 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`
|
|
15961
15970
|
* @summary Bulk assign
|
|
15962
15971
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
15963
15972
|
* @param {*} [options] Override http request option.
|
|
@@ -16209,7 +16218,7 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
16209
16218
|
const localVarAxiosParamCreator = ShopCategoryApiAxiosParamCreator(configuration);
|
|
16210
16219
|
return {
|
|
16211
16220
|
/**
|
|
16212
|
-
* 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`
|
|
16213
16222
|
* @summary Bulk assign
|
|
16214
16223
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
16215
16224
|
* @param {*} [options] Override http request option.
|
|
@@ -16325,7 +16334,7 @@ export const ShopCategoryApiFactory = function (configuration, basePath, axios)
|
|
|
16325
16334
|
const localVarFp = ShopCategoryApiFp(configuration);
|
|
16326
16335
|
return {
|
|
16327
16336
|
/**
|
|
16328
|
-
* 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`
|
|
16329
16338
|
* @summary Bulk assign
|
|
16330
16339
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
16331
16340
|
* @param {*} [options] Override http request option.
|
|
@@ -16429,7 +16438,7 @@ export const ShopCategoryApiFactory = function (configuration, basePath, axios)
|
|
|
16429
16438
|
*/
|
|
16430
16439
|
export class ShopCategoryApi extends BaseAPI {
|
|
16431
16440
|
/**
|
|
16432
|
-
* 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`
|
|
16433
16442
|
* @summary Bulk assign
|
|
16434
16443
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
16435
16444
|
* @param {*} [options] Override http request option.
|
|
@@ -16542,6 +16551,35 @@ export class ShopCategoryApi extends BaseAPI {
|
|
|
16542
16551
|
*/
|
|
16543
16552
|
export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
16544
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
|
+
},
|
|
16545
16583
|
/**
|
|
16546
16584
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16547
16585
|
* @summary Create
|
|
@@ -16725,6 +16763,19 @@ export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
|
16725
16763
|
export const ShopListingApiFp = function (configuration) {
|
|
16726
16764
|
const localVarAxiosParamCreator = ShopListingApiAxiosParamCreator(configuration);
|
|
16727
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
|
+
},
|
|
16728
16779
|
/**
|
|
16729
16780
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16730
16781
|
* @summary Create
|
|
@@ -16812,6 +16863,18 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
16812
16863
|
export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
16813
16864
|
const localVarFp = ShopListingApiFp(configuration);
|
|
16814
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
|
+
},
|
|
16815
16878
|
/**
|
|
16816
16879
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16817
16880
|
* @summary Create
|
|
@@ -16887,6 +16950,19 @@ export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
|
16887
16950
|
* @extends {BaseAPI}
|
|
16888
16951
|
*/
|
|
16889
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
|
+
}
|
|
16890
16966
|
/**
|
|
16891
16967
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16892
16968
|
* @summary Create
|
|
@@ -18961,6 +19037,35 @@ export class UserApi extends BaseAPI {
|
|
|
18961
19037
|
*/
|
|
18962
19038
|
export const VariableApiAxiosParamCreator = function (configuration) {
|
|
18963
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
|
+
},
|
|
18964
19069
|
/**
|
|
18965
19070
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18966
19071
|
* @summary Create
|
|
@@ -19118,6 +19223,19 @@ export const VariableApiAxiosParamCreator = function (configuration) {
|
|
|
19118
19223
|
export const VariableApiFp = function (configuration) {
|
|
19119
19224
|
const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
|
|
19120
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
|
+
},
|
|
19121
19239
|
/**
|
|
19122
19240
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
19123
19241
|
* @summary Create
|
|
@@ -19193,6 +19311,18 @@ export const VariableApiFp = function (configuration) {
|
|
|
19193
19311
|
export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
19194
19312
|
const localVarFp = VariableApiFp(configuration);
|
|
19195
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
|
+
},
|
|
19196
19326
|
/**
|
|
19197
19327
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
19198
19328
|
* @summary Create
|
|
@@ -19259,6 +19389,19 @@ export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
|
19259
19389
|
* @extends {BaseAPI}
|
|
19260
19390
|
*/
|
|
19261
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
|
+
}
|
|
19262
19405
|
/**
|
|
19263
19406
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
19264
19407
|
* @summary Create
|