@seekora-ai/admin-api 1.0.18 → 1.0.19
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/README.md +2 -3
- package/api.ts +0 -72
- package/dist/api.d.ts +0 -33
- package/dist/api.js +0 -68
- package/dist/esm/api.d.ts +0 -33
- package/dist/esm/api.js +0 -68
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.19.tgz +0 -0
- package/seekora-ai-admin-api-1.0.18.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @seekora-ai/admin-api@1.0.
|
|
1
|
+
## @seekora-ai/admin-api@1.0.19
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @seekora-ai/admin-api@1.0.
|
|
39
|
+
npm install @seekora-ai/admin-api@1.0.19 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -167,7 +167,6 @@ Class | Method | HTTP request | Description
|
|
|
167
167
|
*SearchApi* | [**v1IndexIndexnameDefaultsGet**](docs/SearchApi.md#v1indexindexnamedefaultsget) | **GET** /v1/index/{indexname}/defaults | Get Schema-Based Defaults
|
|
168
168
|
*SearchApi* | [**v1SearchPost**](docs/SearchApi.md#v1searchpost) | **POST** /v1/search | Public Search API
|
|
169
169
|
*StoresApi* | [**adminStoresGet**](docs/StoresApi.md#adminstoresget) | **GET** /admin/Stores | Fetches list of all stores
|
|
170
|
-
*StoresApi* | [**adminStoresGetStoreStoreIDGet**](docs/StoresApi.md#adminstoresgetstorestoreidget) | **GET** /admin/Stores/GetStore/{storeID} | Fetches stores by id
|
|
171
170
|
*StoresApi* | [**adminStoresGetStoreXStoreIDGet**](docs/StoresApi.md#adminstoresgetstorexstoreidget) | **GET** /admin/Stores/GetStore/{xStoreID} | Fetches stores by xStoreID
|
|
172
171
|
*StoresApi* | [**adminStoresPost**](docs/StoresApi.md#adminstorespost) | **POST** /admin/Stores | Creates a new store
|
|
173
172
|
*StoresApi* | [**adminStoresStoreIDPut**](docs/StoresApi.md#adminstoresstoreidput) | **PUT** /admin/Stores/{storeID} | Update an existing store
|
package/api.ts
CHANGED
|
@@ -14749,43 +14749,6 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
14749
14749
|
|
|
14750
14750
|
|
|
14751
14751
|
|
|
14752
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14753
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14754
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14755
|
-
|
|
14756
|
-
return {
|
|
14757
|
-
url: toPathString(localVarUrlObj),
|
|
14758
|
-
options: localVarRequestOptions,
|
|
14759
|
-
};
|
|
14760
|
-
},
|
|
14761
|
-
/**
|
|
14762
|
-
* Fetches stores by id
|
|
14763
|
-
* @summary Fetches stores by id
|
|
14764
|
-
* @param {number} storeID Stores ID
|
|
14765
|
-
* @param {*} [options] Override http request option.
|
|
14766
|
-
* @throws {RequiredError}
|
|
14767
|
-
*/
|
|
14768
|
-
adminStoresGetStoreStoreIDGet: async (storeID: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14769
|
-
// verify required parameter 'storeID' is not null or undefined
|
|
14770
|
-
assertParamExists('adminStoresGetStoreStoreIDGet', 'storeID', storeID)
|
|
14771
|
-
const localVarPath = `/admin/Stores/GetStore/{storeID}`
|
|
14772
|
-
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
14773
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14774
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14775
|
-
let baseOptions;
|
|
14776
|
-
if (configuration) {
|
|
14777
|
-
baseOptions = configuration.baseOptions;
|
|
14778
|
-
}
|
|
14779
|
-
|
|
14780
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14781
|
-
const localVarHeaderParameter = {} as any;
|
|
14782
|
-
const localVarQueryParameter = {} as any;
|
|
14783
|
-
|
|
14784
|
-
// authentication BearerAuth required
|
|
14785
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
14786
|
-
|
|
14787
|
-
|
|
14788
|
-
|
|
14789
14752
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14790
14753
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14791
14754
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15131,19 +15094,6 @@ export const StoresApiFp = function(configuration?: Configuration) {
|
|
|
15131
15094
|
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresGet']?.[localVarOperationServerIndex]?.url;
|
|
15132
15095
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15133
15096
|
},
|
|
15134
|
-
/**
|
|
15135
|
-
* Fetches stores by id
|
|
15136
|
-
* @summary Fetches stores by id
|
|
15137
|
-
* @param {number} storeID Stores ID
|
|
15138
|
-
* @param {*} [options] Override http request option.
|
|
15139
|
-
* @throws {RequiredError}
|
|
15140
|
-
*/
|
|
15141
|
-
async adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreResponse>> {
|
|
15142
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresGetStoreStoreIDGet(storeID, options);
|
|
15143
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15144
|
-
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresGetStoreStoreIDGet']?.[localVarOperationServerIndex]?.url;
|
|
15145
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15146
|
-
},
|
|
15147
15097
|
/**
|
|
15148
15098
|
* Fetches stores by xStoreID
|
|
15149
15099
|
* @summary Fetches stores by xStoreID
|
|
@@ -15270,16 +15220,6 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
|
|
|
15270
15220
|
adminStoresGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoresListResponse> {
|
|
15271
15221
|
return localVarFp.adminStoresGet(options).then((request) => request(axios, basePath));
|
|
15272
15222
|
},
|
|
15273
|
-
/**
|
|
15274
|
-
* Fetches stores by id
|
|
15275
|
-
* @summary Fetches stores by id
|
|
15276
|
-
* @param {number} storeID Stores ID
|
|
15277
|
-
* @param {*} [options] Override http request option.
|
|
15278
|
-
* @throws {RequiredError}
|
|
15279
|
-
*/
|
|
15280
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreResponse> {
|
|
15281
|
-
return localVarFp.adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(axios, basePath));
|
|
15282
|
-
},
|
|
15283
15223
|
/**
|
|
15284
15224
|
* Fetches stores by xStoreID
|
|
15285
15225
|
* @summary Fetches stores by xStoreID
|
|
@@ -15384,18 +15324,6 @@ export class StoresApi extends BaseAPI {
|
|
|
15384
15324
|
return StoresApiFp(this.configuration).adminStoresGet(options).then((request) => request(this.axios, this.basePath));
|
|
15385
15325
|
}
|
|
15386
15326
|
|
|
15387
|
-
/**
|
|
15388
|
-
* Fetches stores by id
|
|
15389
|
-
* @summary Fetches stores by id
|
|
15390
|
-
* @param {number} storeID Stores ID
|
|
15391
|
-
* @param {*} [options] Override http request option.
|
|
15392
|
-
* @throws {RequiredError}
|
|
15393
|
-
* @memberof StoresApi
|
|
15394
|
-
*/
|
|
15395
|
-
public adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig) {
|
|
15396
|
-
return StoresApiFp(this.configuration).adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(this.axios, this.basePath));
|
|
15397
|
-
}
|
|
15398
|
-
|
|
15399
15327
|
/**
|
|
15400
15328
|
* Fetches stores by xStoreID
|
|
15401
15329
|
* @summary Fetches stores by xStoreID
|
package/dist/api.d.ts
CHANGED
|
@@ -9917,14 +9917,6 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
9917
9917
|
* @throws {RequiredError}
|
|
9918
9918
|
*/
|
|
9919
9919
|
adminStoresGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9920
|
-
/**
|
|
9921
|
-
* Fetches stores by id
|
|
9922
|
-
* @summary Fetches stores by id
|
|
9923
|
-
* @param {number} storeID Stores ID
|
|
9924
|
-
* @param {*} [options] Override http request option.
|
|
9925
|
-
* @throws {RequiredError}
|
|
9926
|
-
*/
|
|
9927
|
-
adminStoresGetStoreStoreIDGet: (storeID: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9928
9920
|
/**
|
|
9929
9921
|
* Fetches stores by xStoreID
|
|
9930
9922
|
* @summary Fetches stores by xStoreID
|
|
@@ -10005,14 +9997,6 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
|
|
|
10005
9997
|
* @throws {RequiredError}
|
|
10006
9998
|
*/
|
|
10007
9999
|
adminStoresGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoresListResponse>>;
|
|
10008
|
-
/**
|
|
10009
|
-
* Fetches stores by id
|
|
10010
|
-
* @summary Fetches stores by id
|
|
10011
|
-
* @param {number} storeID Stores ID
|
|
10012
|
-
* @param {*} [options] Override http request option.
|
|
10013
|
-
* @throws {RequiredError}
|
|
10014
|
-
*/
|
|
10015
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreResponse>>;
|
|
10016
10000
|
/**
|
|
10017
10001
|
* Fetches stores by xStoreID
|
|
10018
10002
|
* @summary Fetches stores by xStoreID
|
|
@@ -10093,14 +10077,6 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
|
|
|
10093
10077
|
* @throws {RequiredError}
|
|
10094
10078
|
*/
|
|
10095
10079
|
adminStoresGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoresListResponse>;
|
|
10096
|
-
/**
|
|
10097
|
-
* Fetches stores by id
|
|
10098
|
-
* @summary Fetches stores by id
|
|
10099
|
-
* @param {number} storeID Stores ID
|
|
10100
|
-
* @param {*} [options] Override http request option.
|
|
10101
|
-
* @throws {RequiredError}
|
|
10102
|
-
*/
|
|
10103
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreResponse>;
|
|
10104
10080
|
/**
|
|
10105
10081
|
* Fetches stores by xStoreID
|
|
10106
10082
|
* @summary Fetches stores by xStoreID
|
|
@@ -10184,15 +10160,6 @@ export declare class StoresApi extends BaseAPI {
|
|
|
10184
10160
|
* @memberof StoresApi
|
|
10185
10161
|
*/
|
|
10186
10162
|
adminStoresGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoresListResponse, any>>;
|
|
10187
|
-
/**
|
|
10188
|
-
* Fetches stores by id
|
|
10189
|
-
* @summary Fetches stores by id
|
|
10190
|
-
* @param {number} storeID Stores ID
|
|
10191
|
-
* @param {*} [options] Override http request option.
|
|
10192
|
-
* @throws {RequiredError}
|
|
10193
|
-
* @memberof StoresApi
|
|
10194
|
-
*/
|
|
10195
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoreResponse, any>>;
|
|
10196
10163
|
/**
|
|
10197
10164
|
* Fetches stores by xStoreID
|
|
10198
10165
|
* @summary Fetches stores by xStoreID
|
package/dist/api.js
CHANGED
|
@@ -8752,37 +8752,6 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8752
8752
|
options: localVarRequestOptions,
|
|
8753
8753
|
};
|
|
8754
8754
|
}),
|
|
8755
|
-
/**
|
|
8756
|
-
* Fetches stores by id
|
|
8757
|
-
* @summary Fetches stores by id
|
|
8758
|
-
* @param {number} storeID Stores ID
|
|
8759
|
-
* @param {*} [options] Override http request option.
|
|
8760
|
-
* @throws {RequiredError}
|
|
8761
|
-
*/
|
|
8762
|
-
adminStoresGetStoreStoreIDGet: (storeID_1, ...args_1) => __awaiter(this, [storeID_1, ...args_1], void 0, function* (storeID, options = {}) {
|
|
8763
|
-
// verify required parameter 'storeID' is not null or undefined
|
|
8764
|
-
(0, common_1.assertParamExists)('adminStoresGetStoreStoreIDGet', 'storeID', storeID);
|
|
8765
|
-
const localVarPath = `/admin/Stores/GetStore/{storeID}`
|
|
8766
|
-
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
8767
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8768
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8769
|
-
let baseOptions;
|
|
8770
|
-
if (configuration) {
|
|
8771
|
-
baseOptions = configuration.baseOptions;
|
|
8772
|
-
}
|
|
8773
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8774
|
-
const localVarHeaderParameter = {};
|
|
8775
|
-
const localVarQueryParameter = {};
|
|
8776
|
-
// authentication BearerAuth required
|
|
8777
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8778
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8779
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8780
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8781
|
-
return {
|
|
8782
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8783
|
-
options: localVarRequestOptions,
|
|
8784
|
-
};
|
|
8785
|
-
}),
|
|
8786
8755
|
/**
|
|
8787
8756
|
* Fetches stores by xStoreID
|
|
8788
8757
|
* @summary Fetches stores by xStoreID
|
|
@@ -9071,22 +9040,6 @@ const StoresApiFp = function (configuration) {
|
|
|
9071
9040
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9072
9041
|
});
|
|
9073
9042
|
},
|
|
9074
|
-
/**
|
|
9075
|
-
* Fetches stores by id
|
|
9076
|
-
* @summary Fetches stores by id
|
|
9077
|
-
* @param {number} storeID Stores ID
|
|
9078
|
-
* @param {*} [options] Override http request option.
|
|
9079
|
-
* @throws {RequiredError}
|
|
9080
|
-
*/
|
|
9081
|
-
adminStoresGetStoreStoreIDGet(storeID, options) {
|
|
9082
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9083
|
-
var _a, _b, _c;
|
|
9084
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresGetStoreStoreIDGet(storeID, options);
|
|
9085
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9086
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresGetStoreStoreIDGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9087
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9088
|
-
});
|
|
9089
|
-
},
|
|
9090
9043
|
/**
|
|
9091
9044
|
* Fetches stores by xStoreID
|
|
9092
9045
|
* @summary Fetches stores by xStoreID
|
|
@@ -9237,16 +9190,6 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
9237
9190
|
adminStoresGet(options) {
|
|
9238
9191
|
return localVarFp.adminStoresGet(options).then((request) => request(axios, basePath));
|
|
9239
9192
|
},
|
|
9240
|
-
/**
|
|
9241
|
-
* Fetches stores by id
|
|
9242
|
-
* @summary Fetches stores by id
|
|
9243
|
-
* @param {number} storeID Stores ID
|
|
9244
|
-
* @param {*} [options] Override http request option.
|
|
9245
|
-
* @throws {RequiredError}
|
|
9246
|
-
*/
|
|
9247
|
-
adminStoresGetStoreStoreIDGet(storeID, options) {
|
|
9248
|
-
return localVarFp.adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(axios, basePath));
|
|
9249
|
-
},
|
|
9250
9193
|
/**
|
|
9251
9194
|
* Fetches stores by xStoreID
|
|
9252
9195
|
* @summary Fetches stores by xStoreID
|
|
@@ -9350,17 +9293,6 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
9350
9293
|
adminStoresGet(options) {
|
|
9351
9294
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresGet(options).then((request) => request(this.axios, this.basePath));
|
|
9352
9295
|
}
|
|
9353
|
-
/**
|
|
9354
|
-
* Fetches stores by id
|
|
9355
|
-
* @summary Fetches stores by id
|
|
9356
|
-
* @param {number} storeID Stores ID
|
|
9357
|
-
* @param {*} [options] Override http request option.
|
|
9358
|
-
* @throws {RequiredError}
|
|
9359
|
-
* @memberof StoresApi
|
|
9360
|
-
*/
|
|
9361
|
-
adminStoresGetStoreStoreIDGet(storeID, options) {
|
|
9362
|
-
return (0, exports.StoresApiFp)(this.configuration).adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(this.axios, this.basePath));
|
|
9363
|
-
}
|
|
9364
9296
|
/**
|
|
9365
9297
|
* Fetches stores by xStoreID
|
|
9366
9298
|
* @summary Fetches stores by xStoreID
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -9917,14 +9917,6 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
9917
9917
|
* @throws {RequiredError}
|
|
9918
9918
|
*/
|
|
9919
9919
|
adminStoresGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9920
|
-
/**
|
|
9921
|
-
* Fetches stores by id
|
|
9922
|
-
* @summary Fetches stores by id
|
|
9923
|
-
* @param {number} storeID Stores ID
|
|
9924
|
-
* @param {*} [options] Override http request option.
|
|
9925
|
-
* @throws {RequiredError}
|
|
9926
|
-
*/
|
|
9927
|
-
adminStoresGetStoreStoreIDGet: (storeID: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9928
9920
|
/**
|
|
9929
9921
|
* Fetches stores by xStoreID
|
|
9930
9922
|
* @summary Fetches stores by xStoreID
|
|
@@ -10005,14 +9997,6 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
|
|
|
10005
9997
|
* @throws {RequiredError}
|
|
10006
9998
|
*/
|
|
10007
9999
|
adminStoresGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoresListResponse>>;
|
|
10008
|
-
/**
|
|
10009
|
-
* Fetches stores by id
|
|
10010
|
-
* @summary Fetches stores by id
|
|
10011
|
-
* @param {number} storeID Stores ID
|
|
10012
|
-
* @param {*} [options] Override http request option.
|
|
10013
|
-
* @throws {RequiredError}
|
|
10014
|
-
*/
|
|
10015
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreResponse>>;
|
|
10016
10000
|
/**
|
|
10017
10001
|
* Fetches stores by xStoreID
|
|
10018
10002
|
* @summary Fetches stores by xStoreID
|
|
@@ -10093,14 +10077,6 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
|
|
|
10093
10077
|
* @throws {RequiredError}
|
|
10094
10078
|
*/
|
|
10095
10079
|
adminStoresGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoresListResponse>;
|
|
10096
|
-
/**
|
|
10097
|
-
* Fetches stores by id
|
|
10098
|
-
* @summary Fetches stores by id
|
|
10099
|
-
* @param {number} storeID Stores ID
|
|
10100
|
-
* @param {*} [options] Override http request option.
|
|
10101
|
-
* @throws {RequiredError}
|
|
10102
|
-
*/
|
|
10103
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreResponse>;
|
|
10104
10080
|
/**
|
|
10105
10081
|
* Fetches stores by xStoreID
|
|
10106
10082
|
* @summary Fetches stores by xStoreID
|
|
@@ -10184,15 +10160,6 @@ export declare class StoresApi extends BaseAPI {
|
|
|
10184
10160
|
* @memberof StoresApi
|
|
10185
10161
|
*/
|
|
10186
10162
|
adminStoresGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoresListResponse, any>>;
|
|
10187
|
-
/**
|
|
10188
|
-
* Fetches stores by id
|
|
10189
|
-
* @summary Fetches stores by id
|
|
10190
|
-
* @param {number} storeID Stores ID
|
|
10191
|
-
* @param {*} [options] Override http request option.
|
|
10192
|
-
* @throws {RequiredError}
|
|
10193
|
-
* @memberof StoresApi
|
|
10194
|
-
*/
|
|
10195
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoreResponse, any>>;
|
|
10196
10163
|
/**
|
|
10197
10164
|
* Fetches stores by xStoreID
|
|
10198
10165
|
* @summary Fetches stores by xStoreID
|
package/dist/esm/api.js
CHANGED
|
@@ -8672,37 +8672,6 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8672
8672
|
options: localVarRequestOptions,
|
|
8673
8673
|
};
|
|
8674
8674
|
}),
|
|
8675
|
-
/**
|
|
8676
|
-
* Fetches stores by id
|
|
8677
|
-
* @summary Fetches stores by id
|
|
8678
|
-
* @param {number} storeID Stores ID
|
|
8679
|
-
* @param {*} [options] Override http request option.
|
|
8680
|
-
* @throws {RequiredError}
|
|
8681
|
-
*/
|
|
8682
|
-
adminStoresGetStoreStoreIDGet: (storeID_1, ...args_1) => __awaiter(this, [storeID_1, ...args_1], void 0, function* (storeID, options = {}) {
|
|
8683
|
-
// verify required parameter 'storeID' is not null or undefined
|
|
8684
|
-
assertParamExists('adminStoresGetStoreStoreIDGet', 'storeID', storeID);
|
|
8685
|
-
const localVarPath = `/admin/Stores/GetStore/{storeID}`
|
|
8686
|
-
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
8687
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8688
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8689
|
-
let baseOptions;
|
|
8690
|
-
if (configuration) {
|
|
8691
|
-
baseOptions = configuration.baseOptions;
|
|
8692
|
-
}
|
|
8693
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8694
|
-
const localVarHeaderParameter = {};
|
|
8695
|
-
const localVarQueryParameter = {};
|
|
8696
|
-
// authentication BearerAuth required
|
|
8697
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8698
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8699
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8700
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8701
|
-
return {
|
|
8702
|
-
url: toPathString(localVarUrlObj),
|
|
8703
|
-
options: localVarRequestOptions,
|
|
8704
|
-
};
|
|
8705
|
-
}),
|
|
8706
8675
|
/**
|
|
8707
8676
|
* Fetches stores by xStoreID
|
|
8708
8677
|
* @summary Fetches stores by xStoreID
|
|
@@ -8990,22 +8959,6 @@ export const StoresApiFp = function (configuration) {
|
|
|
8990
8959
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8991
8960
|
});
|
|
8992
8961
|
},
|
|
8993
|
-
/**
|
|
8994
|
-
* Fetches stores by id
|
|
8995
|
-
* @summary Fetches stores by id
|
|
8996
|
-
* @param {number} storeID Stores ID
|
|
8997
|
-
* @param {*} [options] Override http request option.
|
|
8998
|
-
* @throws {RequiredError}
|
|
8999
|
-
*/
|
|
9000
|
-
adminStoresGetStoreStoreIDGet(storeID, options) {
|
|
9001
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9002
|
-
var _a, _b, _c;
|
|
9003
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresGetStoreStoreIDGet(storeID, options);
|
|
9004
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9005
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresGetStoreStoreIDGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9006
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9007
|
-
});
|
|
9008
|
-
},
|
|
9009
8962
|
/**
|
|
9010
8963
|
* Fetches stores by xStoreID
|
|
9011
8964
|
* @summary Fetches stores by xStoreID
|
|
@@ -9155,16 +9108,6 @@ export const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
9155
9108
|
adminStoresGet(options) {
|
|
9156
9109
|
return localVarFp.adminStoresGet(options).then((request) => request(axios, basePath));
|
|
9157
9110
|
},
|
|
9158
|
-
/**
|
|
9159
|
-
* Fetches stores by id
|
|
9160
|
-
* @summary Fetches stores by id
|
|
9161
|
-
* @param {number} storeID Stores ID
|
|
9162
|
-
* @param {*} [options] Override http request option.
|
|
9163
|
-
* @throws {RequiredError}
|
|
9164
|
-
*/
|
|
9165
|
-
adminStoresGetStoreStoreIDGet(storeID, options) {
|
|
9166
|
-
return localVarFp.adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(axios, basePath));
|
|
9167
|
-
},
|
|
9168
9111
|
/**
|
|
9169
9112
|
* Fetches stores by xStoreID
|
|
9170
9113
|
* @summary Fetches stores by xStoreID
|
|
@@ -9267,17 +9210,6 @@ export class StoresApi extends BaseAPI {
|
|
|
9267
9210
|
adminStoresGet(options) {
|
|
9268
9211
|
return StoresApiFp(this.configuration).adminStoresGet(options).then((request) => request(this.axios, this.basePath));
|
|
9269
9212
|
}
|
|
9270
|
-
/**
|
|
9271
|
-
* Fetches stores by id
|
|
9272
|
-
* @summary Fetches stores by id
|
|
9273
|
-
* @param {number} storeID Stores ID
|
|
9274
|
-
* @param {*} [options] Override http request option.
|
|
9275
|
-
* @throws {RequiredError}
|
|
9276
|
-
* @memberof StoresApi
|
|
9277
|
-
*/
|
|
9278
|
-
adminStoresGetStoreStoreIDGet(storeID, options) {
|
|
9279
|
-
return StoresApiFp(this.configuration).adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(this.axios, this.basePath));
|
|
9280
|
-
}
|
|
9281
9213
|
/**
|
|
9282
9214
|
* Fetches stores by xStoreID
|
|
9283
9215
|
* @summary Fetches stores by xStoreID
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|