@takaro/apiclient 0.0.13 → 0.0.14
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 +73 -13
- package/dist/generated/api.js +61 -2
- package/dist/generated/api.js.map +1 -1
- package/dist/generated/base.d.ts +2 -2
- package/dist/generated/base.js +2 -2
- package/dist/generated/common.d.ts +2 -2
- package/dist/generated/common.js +2 -2
- package/dist/generated/configuration.d.ts +2 -2
- package/dist/generated/configuration.js +2 -2
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +2 -2
- package/package.json +1 -1
- package/src/generated/api.ts +117 -13
- package/src/generated/base.ts +2 -2
- package/src/generated/common.ts +2 -2
- package/src/generated/configuration.ts +2 -2
- package/src/generated/index.ts +2 -2
package/dist/generated/api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Takaro
|
|
2
|
+
* Takaro API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: unset - unset
|
|
6
6
|
* Contact: support@takaro.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3164,10 +3164,10 @@ export interface GiveItemInputDTO {
|
|
|
3164
3164
|
amount: number;
|
|
3165
3165
|
/**
|
|
3166
3166
|
*
|
|
3167
|
-
* @type {
|
|
3167
|
+
* @type {string}
|
|
3168
3168
|
* @memberof GiveItemInputDTO
|
|
3169
3169
|
*/
|
|
3170
|
-
quality:
|
|
3170
|
+
quality: string;
|
|
3171
3171
|
}
|
|
3172
3172
|
/**
|
|
3173
3173
|
*
|
|
@@ -7471,12 +7471,6 @@ export interface SdtdConnectionInfo {
|
|
|
7471
7471
|
* @memberof SdtdConnectionInfo
|
|
7472
7472
|
*/
|
|
7473
7473
|
useCPM: boolean;
|
|
7474
|
-
/**
|
|
7475
|
-
*
|
|
7476
|
-
* @type {boolean}
|
|
7477
|
-
* @memberof SdtdConnectionInfo
|
|
7478
|
-
*/
|
|
7479
|
-
useV1: boolean;
|
|
7480
7474
|
}
|
|
7481
7475
|
/**
|
|
7482
7476
|
*
|
|
@@ -7681,6 +7675,25 @@ export interface SettingsSetDTO {
|
|
|
7681
7675
|
*/
|
|
7682
7676
|
value: any;
|
|
7683
7677
|
}
|
|
7678
|
+
/**
|
|
7679
|
+
*
|
|
7680
|
+
* @export
|
|
7681
|
+
* @interface ShopImportOptions
|
|
7682
|
+
*/
|
|
7683
|
+
export interface ShopImportOptions {
|
|
7684
|
+
/**
|
|
7685
|
+
*
|
|
7686
|
+
* @type {boolean}
|
|
7687
|
+
* @memberof ShopImportOptions
|
|
7688
|
+
*/
|
|
7689
|
+
replace?: boolean;
|
|
7690
|
+
/**
|
|
7691
|
+
*
|
|
7692
|
+
* @type {string}
|
|
7693
|
+
* @memberof ShopImportOptions
|
|
7694
|
+
*/
|
|
7695
|
+
gameServerId: string;
|
|
7696
|
+
}
|
|
7684
7697
|
/**
|
|
7685
7698
|
*
|
|
7686
7699
|
* @export
|
|
@@ -8042,7 +8055,7 @@ export interface ShopOrderCreateDTO {
|
|
|
8042
8055
|
* @type {string}
|
|
8043
8056
|
* @memberof ShopOrderCreateDTO
|
|
8044
8057
|
*/
|
|
8045
|
-
|
|
8058
|
+
playerId?: string;
|
|
8046
8059
|
/**
|
|
8047
8060
|
*
|
|
8048
8061
|
* @type {number}
|
|
@@ -8061,7 +8074,13 @@ export interface ShopOrderCreateInternalDTO {
|
|
|
8061
8074
|
* @type {string}
|
|
8062
8075
|
* @memberof ShopOrderCreateInternalDTO
|
|
8063
8076
|
*/
|
|
8064
|
-
|
|
8077
|
+
playerId?: string;
|
|
8078
|
+
/**
|
|
8079
|
+
*
|
|
8080
|
+
* @type {string}
|
|
8081
|
+
* @memberof ShopOrderCreateInternalDTO
|
|
8082
|
+
*/
|
|
8083
|
+
gameServerId: string;
|
|
8065
8084
|
/**
|
|
8066
8085
|
*
|
|
8067
8086
|
* @type {string}
|
|
@@ -8117,7 +8136,13 @@ export interface ShopOrderOutputDTO {
|
|
|
8117
8136
|
* @type {string}
|
|
8118
8137
|
* @memberof ShopOrderOutputDTO
|
|
8119
8138
|
*/
|
|
8120
|
-
|
|
8139
|
+
playerId: string;
|
|
8140
|
+
/**
|
|
8141
|
+
*
|
|
8142
|
+
* @type {string}
|
|
8143
|
+
* @memberof ShopOrderOutputDTO
|
|
8144
|
+
*/
|
|
8145
|
+
gameServerId: string;
|
|
8121
8146
|
/**
|
|
8122
8147
|
*
|
|
8123
8148
|
* @type {number}
|
|
@@ -8192,6 +8217,12 @@ export interface ShopOrderSearchInputAllowedFilters {
|
|
|
8192
8217
|
* @memberof ShopOrderSearchInputAllowedFilters
|
|
8193
8218
|
*/
|
|
8194
8219
|
gameServerId?: Array<string>;
|
|
8220
|
+
/**
|
|
8221
|
+
*
|
|
8222
|
+
* @type {Array<string>}
|
|
8223
|
+
* @memberof ShopOrderSearchInputAllowedFilters
|
|
8224
|
+
*/
|
|
8225
|
+
playerId?: Array<string>;
|
|
8195
8226
|
/**
|
|
8196
8227
|
*
|
|
8197
8228
|
* @type {Array<string>}
|
|
@@ -14132,6 +14163,13 @@ export declare const ShopListingApiAxiosParamCreator: (configuration?: Configura
|
|
|
14132
14163
|
* @throws {RequiredError}
|
|
14133
14164
|
*/
|
|
14134
14165
|
shopListingControllerGetOne: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14166
|
+
/**
|
|
14167
|
+
* Required permissions: `MANAGE_SHOP_LISTINGS`
|
|
14168
|
+
* @summary Import listings
|
|
14169
|
+
* @param {*} [options] Override http request option.
|
|
14170
|
+
* @throws {RequiredError}
|
|
14171
|
+
*/
|
|
14172
|
+
shopListingControllerImportListings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14135
14173
|
/**
|
|
14136
14174
|
*
|
|
14137
14175
|
* @summary Search
|
|
@@ -14179,6 +14217,13 @@ export declare const ShopListingApiFp: (configuration?: Configuration) => {
|
|
|
14179
14217
|
* @throws {RequiredError}
|
|
14180
14218
|
*/
|
|
14181
14219
|
shopListingControllerGetOne(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopListingOutputDTOAPI>>;
|
|
14220
|
+
/**
|
|
14221
|
+
* Required permissions: `MANAGE_SHOP_LISTINGS`
|
|
14222
|
+
* @summary Import listings
|
|
14223
|
+
* @param {*} [options] Override http request option.
|
|
14224
|
+
* @throws {RequiredError}
|
|
14225
|
+
*/
|
|
14226
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>>;
|
|
14182
14227
|
/**
|
|
14183
14228
|
*
|
|
14184
14229
|
* @summary Search
|
|
@@ -14226,6 +14271,13 @@ export declare const ShopListingApiFactory: (configuration?: Configuration, base
|
|
|
14226
14271
|
* @throws {RequiredError}
|
|
14227
14272
|
*/
|
|
14228
14273
|
shopListingControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopListingOutputDTOAPI>;
|
|
14274
|
+
/**
|
|
14275
|
+
* Required permissions: `MANAGE_SHOP_LISTINGS`
|
|
14276
|
+
* @summary Import listings
|
|
14277
|
+
* @param {*} [options] Override http request option.
|
|
14278
|
+
* @throws {RequiredError}
|
|
14279
|
+
*/
|
|
14280
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<APIOutput>;
|
|
14229
14281
|
/**
|
|
14230
14282
|
*
|
|
14231
14283
|
* @summary Search
|
|
@@ -14278,6 +14330,14 @@ export declare class ShopListingApi extends BaseAPI {
|
|
|
14278
14330
|
* @memberof ShopListingApi
|
|
14279
14331
|
*/
|
|
14280
14332
|
shopListingControllerGetOne(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShopListingOutputDTOAPI, any>>;
|
|
14333
|
+
/**
|
|
14334
|
+
* Required permissions: `MANAGE_SHOP_LISTINGS`
|
|
14335
|
+
* @summary Import listings
|
|
14336
|
+
* @param {*} [options] Override http request option.
|
|
14337
|
+
* @throws {RequiredError}
|
|
14338
|
+
* @memberof ShopListingApi
|
|
14339
|
+
*/
|
|
14340
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<APIOutput, any>>;
|
|
14281
14341
|
/**
|
|
14282
14342
|
*
|
|
14283
14343
|
* @summary Search
|
package/dist/generated/api.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Takaro
|
|
4
|
+
* Takaro API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: unset - unset
|
|
8
8
|
* Contact: support@takaro.io
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -8737,6 +8737,32 @@ export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
|
8737
8737
|
options: localVarRequestOptions,
|
|
8738
8738
|
};
|
|
8739
8739
|
},
|
|
8740
|
+
/**
|
|
8741
|
+
* Required permissions: `MANAGE_SHOP_LISTINGS`
|
|
8742
|
+
* @summary Import listings
|
|
8743
|
+
* @param {*} [options] Override http request option.
|
|
8744
|
+
* @throws {RequiredError}
|
|
8745
|
+
*/
|
|
8746
|
+
shopListingControllerImportListings: async (options = {}) => {
|
|
8747
|
+
const localVarPath = `/shop/listing/import`;
|
|
8748
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8749
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8750
|
+
let baseOptions;
|
|
8751
|
+
if (configuration) {
|
|
8752
|
+
baseOptions = configuration.baseOptions;
|
|
8753
|
+
}
|
|
8754
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
8755
|
+
const localVarHeaderParameter = {};
|
|
8756
|
+
const localVarQueryParameter = {};
|
|
8757
|
+
// authentication domainAuth required
|
|
8758
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8759
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8760
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8761
|
+
return {
|
|
8762
|
+
url: toPathString(localVarUrlObj),
|
|
8763
|
+
options: localVarRequestOptions,
|
|
8764
|
+
};
|
|
8765
|
+
},
|
|
8740
8766
|
/**
|
|
8741
8767
|
*
|
|
8742
8768
|
* @summary Search
|
|
@@ -8846,6 +8872,18 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
8846
8872
|
const localVarOperationServerBasePath = operationServerMap['ShopListingApi.shopListingControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
8847
8873
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8848
8874
|
},
|
|
8875
|
+
/**
|
|
8876
|
+
* Required permissions: `MANAGE_SHOP_LISTINGS`
|
|
8877
|
+
* @summary Import listings
|
|
8878
|
+
* @param {*} [options] Override http request option.
|
|
8879
|
+
* @throws {RequiredError}
|
|
8880
|
+
*/
|
|
8881
|
+
async shopListingControllerImportListings(options) {
|
|
8882
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
8883
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8884
|
+
const localVarOperationServerBasePath = operationServerMap['ShopListingApi.shopListingControllerImportListings']?.[localVarOperationServerIndex]?.url;
|
|
8885
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8886
|
+
},
|
|
8849
8887
|
/**
|
|
8850
8888
|
*
|
|
8851
8889
|
* @summary Search
|
|
@@ -8914,6 +8952,15 @@ export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
|
8914
8952
|
shopListingControllerGetOne(id, options) {
|
|
8915
8953
|
return localVarFp.shopListingControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
8916
8954
|
},
|
|
8955
|
+
/**
|
|
8956
|
+
* Required permissions: `MANAGE_SHOP_LISTINGS`
|
|
8957
|
+
* @summary Import listings
|
|
8958
|
+
* @param {*} [options] Override http request option.
|
|
8959
|
+
* @throws {RequiredError}
|
|
8960
|
+
*/
|
|
8961
|
+
shopListingControllerImportListings(options) {
|
|
8962
|
+
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
8963
|
+
},
|
|
8917
8964
|
/**
|
|
8918
8965
|
*
|
|
8919
8966
|
* @summary Search
|
|
@@ -8987,6 +9034,18 @@ export class ShopListingApi extends BaseAPI {
|
|
|
8987
9034
|
.shopListingControllerGetOne(id, options)
|
|
8988
9035
|
.then((request) => request(this.axios, this.basePath));
|
|
8989
9036
|
}
|
|
9037
|
+
/**
|
|
9038
|
+
* Required permissions: `MANAGE_SHOP_LISTINGS`
|
|
9039
|
+
* @summary Import listings
|
|
9040
|
+
* @param {*} [options] Override http request option.
|
|
9041
|
+
* @throws {RequiredError}
|
|
9042
|
+
* @memberof ShopListingApi
|
|
9043
|
+
*/
|
|
9044
|
+
shopListingControllerImportListings(options) {
|
|
9045
|
+
return ShopListingApiFp(this.configuration)
|
|
9046
|
+
.shopListingControllerImportListings(options)
|
|
9047
|
+
.then((request) => request(this.axios, this.basePath));
|
|
9048
|
+
}
|
|
8990
9049
|
/**
|
|
8991
9050
|
*
|
|
8992
9051
|
* @summary Search
|