@seekora-ai/admin-api 1.0.17 → 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 +9 -11
- package/api.ts +247 -286
- package/dist/api.d.ts +162 -198
- package/dist/api.js +227 -234
- package/dist/esm/api.d.ts +162 -198
- package/dist/esm/api.js +227 -234
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.19.tgz +0 -0
- package/seekora-ai-admin-api-1.0.17.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -8176,18 +8176,18 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
8176
8176
|
/**
|
|
8177
8177
|
* Search documents with optional configuration override and autocomplete suggestions
|
|
8178
8178
|
* @summary Admin Search API
|
|
8179
|
-
* @param {
|
|
8179
|
+
* @param {string} xStoreID X-Store ID
|
|
8180
8180
|
* @param {DataTypesAdminSearchRequest} body Admin search request (set include_suggestions: true for autocomplete)
|
|
8181
8181
|
* @param {*} [options] Override http request option.
|
|
8182
8182
|
* @throws {RequiredError}
|
|
8183
8183
|
*/
|
|
8184
|
-
|
|
8185
|
-
// verify required parameter '
|
|
8186
|
-
(0, common_1.assertParamExists)('
|
|
8184
|
+
adminV1SearchXStoreIDPost: (xStoreID_1, body_1, ...args_1) => __awaiter(this, [xStoreID_1, body_1, ...args_1], void 0, function* (xStoreID, body, options = {}) {
|
|
8185
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8186
|
+
(0, common_1.assertParamExists)('adminV1SearchXStoreIDPost', 'xStoreID', xStoreID);
|
|
8187
8187
|
// verify required parameter 'body' is not null or undefined
|
|
8188
|
-
(0, common_1.assertParamExists)('
|
|
8189
|
-
const localVarPath = `/admin/v1/search/{
|
|
8190
|
-
.replace(`{${"
|
|
8188
|
+
(0, common_1.assertParamExists)('adminV1SearchXStoreIDPost', 'body', body);
|
|
8189
|
+
const localVarPath = `/admin/v1/search/{xStoreID}`
|
|
8190
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8191
8191
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8192
8192
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8193
8193
|
let baseOptions;
|
|
@@ -8423,17 +8423,17 @@ const SearchApiFp = function (configuration) {
|
|
|
8423
8423
|
/**
|
|
8424
8424
|
* Search documents with optional configuration override and autocomplete suggestions
|
|
8425
8425
|
* @summary Admin Search API
|
|
8426
|
-
* @param {
|
|
8426
|
+
* @param {string} xStoreID X-Store ID
|
|
8427
8427
|
* @param {DataTypesAdminSearchRequest} body Admin search request (set include_suggestions: true for autocomplete)
|
|
8428
8428
|
* @param {*} [options] Override http request option.
|
|
8429
8429
|
* @throws {RequiredError}
|
|
8430
8430
|
*/
|
|
8431
|
-
|
|
8431
|
+
adminV1SearchXStoreIDPost(xStoreID, body, options) {
|
|
8432
8432
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8433
8433
|
var _a, _b, _c;
|
|
8434
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
8434
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1SearchXStoreIDPost(xStoreID, body, options);
|
|
8435
8435
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8436
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SearchApi.
|
|
8436
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SearchApi.adminV1SearchXStoreIDPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8437
8437
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8438
8438
|
});
|
|
8439
8439
|
},
|
|
@@ -8551,13 +8551,13 @@ const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
8551
8551
|
/**
|
|
8552
8552
|
* Search documents with optional configuration override and autocomplete suggestions
|
|
8553
8553
|
* @summary Admin Search API
|
|
8554
|
-
* @param {
|
|
8554
|
+
* @param {string} xStoreID X-Store ID
|
|
8555
8555
|
* @param {DataTypesAdminSearchRequest} body Admin search request (set include_suggestions: true for autocomplete)
|
|
8556
8556
|
* @param {*} [options] Override http request option.
|
|
8557
8557
|
* @throws {RequiredError}
|
|
8558
8558
|
*/
|
|
8559
|
-
|
|
8560
|
-
return localVarFp.
|
|
8559
|
+
adminV1SearchXStoreIDPost(xStoreID, body, options) {
|
|
8560
|
+
return localVarFp.adminV1SearchXStoreIDPost(xStoreID, body, options).then((request) => request(axios, basePath));
|
|
8561
8561
|
},
|
|
8562
8562
|
/**
|
|
8563
8563
|
* Get metadata about all configurable fields for dynamic form generation
|
|
@@ -8637,14 +8637,14 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
8637
8637
|
/**
|
|
8638
8638
|
* Search documents with optional configuration override and autocomplete suggestions
|
|
8639
8639
|
* @summary Admin Search API
|
|
8640
|
-
* @param {
|
|
8640
|
+
* @param {string} xStoreID X-Store ID
|
|
8641
8641
|
* @param {DataTypesAdminSearchRequest} body Admin search request (set include_suggestions: true for autocomplete)
|
|
8642
8642
|
* @param {*} [options] Override http request option.
|
|
8643
8643
|
* @throws {RequiredError}
|
|
8644
8644
|
* @memberof SearchApi
|
|
8645
8645
|
*/
|
|
8646
|
-
|
|
8647
|
-
return (0, exports.SearchApiFp)(this.configuration).
|
|
8646
|
+
adminV1SearchXStoreIDPost(xStoreID, body, options) {
|
|
8647
|
+
return (0, exports.SearchApiFp)(this.configuration).adminV1SearchXStoreIDPost(xStoreID, body, options).then((request) => request(this.axios, this.basePath));
|
|
8648
8648
|
}
|
|
8649
8649
|
/**
|
|
8650
8650
|
* Get metadata about all configurable fields for dynamic form generation
|
|
@@ -8726,17 +8726,13 @@ exports.SearchApi = SearchApi;
|
|
|
8726
8726
|
const StoresApiAxiosParamCreator = function (configuration) {
|
|
8727
8727
|
return {
|
|
8728
8728
|
/**
|
|
8729
|
-
* Fetches stores
|
|
8730
|
-
* @summary Fetches
|
|
8731
|
-
* @param {number} storeID Stores ID
|
|
8729
|
+
* Fetches list of all stores for the authenticated user\'s organization
|
|
8730
|
+
* @summary Fetches list of all stores
|
|
8732
8731
|
* @param {*} [options] Override http request option.
|
|
8733
8732
|
* @throws {RequiredError}
|
|
8734
8733
|
*/
|
|
8735
|
-
|
|
8736
|
-
|
|
8737
|
-
(0, common_1.assertParamExists)('adminStoresGetStoreStoreIDGet', 'storeID', storeID);
|
|
8738
|
-
const localVarPath = `/admin/Stores/GetStore/{storeID}`
|
|
8739
|
-
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
8734
|
+
adminStoresGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
8735
|
+
const localVarPath = `/admin/Stores`;
|
|
8740
8736
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8741
8737
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8742
8738
|
let baseOptions;
|
|
@@ -8757,17 +8753,17 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8757
8753
|
};
|
|
8758
8754
|
}),
|
|
8759
8755
|
/**
|
|
8760
|
-
* Fetches
|
|
8761
|
-
* @summary Fetches
|
|
8762
|
-
* @param {
|
|
8756
|
+
* Fetches stores by xStoreID
|
|
8757
|
+
* @summary Fetches stores by xStoreID
|
|
8758
|
+
* @param {string} xStoreID X-Store ID
|
|
8763
8759
|
* @param {*} [options] Override http request option.
|
|
8764
8760
|
* @throws {RequiredError}
|
|
8765
8761
|
*/
|
|
8766
|
-
|
|
8767
|
-
// verify required parameter '
|
|
8768
|
-
(0, common_1.assertParamExists)('
|
|
8769
|
-
const localVarPath = `/admin/Stores/{
|
|
8770
|
-
.replace(`{${"
|
|
8762
|
+
adminStoresGetStoreXStoreIDGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
8763
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8764
|
+
(0, common_1.assertParamExists)('adminStoresGetStoreXStoreIDGet', 'xStoreID', xStoreID);
|
|
8765
|
+
const localVarPath = `/admin/Stores/GetStore/{xStoreID}`
|
|
8766
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8771
8767
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8772
8768
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8773
8769
|
let baseOptions;
|
|
@@ -8820,16 +8816,19 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8820
8816
|
};
|
|
8821
8817
|
}),
|
|
8822
8818
|
/**
|
|
8823
|
-
*
|
|
8824
|
-
* @summary
|
|
8825
|
-
* @param {number} storeID
|
|
8819
|
+
* Updates store information by ID.
|
|
8820
|
+
* @summary Update an existing store
|
|
8821
|
+
* @param {number} storeID store ID
|
|
8822
|
+
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
8826
8823
|
* @param {*} [options] Override http request option.
|
|
8827
8824
|
* @throws {RequiredError}
|
|
8828
8825
|
*/
|
|
8829
|
-
|
|
8826
|
+
adminStoresStoreIDPut: (storeID_1, store_1, ...args_1) => __awaiter(this, [storeID_1, store_1, ...args_1], void 0, function* (storeID, store, options = {}) {
|
|
8830
8827
|
// verify required parameter 'storeID' is not null or undefined
|
|
8831
|
-
(0, common_1.assertParamExists)('
|
|
8832
|
-
|
|
8828
|
+
(0, common_1.assertParamExists)('adminStoresStoreIDPut', 'storeID', storeID);
|
|
8829
|
+
// verify required parameter 'store' is not null or undefined
|
|
8830
|
+
(0, common_1.assertParamExists)('adminStoresStoreIDPut', 'store', store);
|
|
8831
|
+
const localVarPath = `/admin/Stores/{storeID}`
|
|
8833
8832
|
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
8834
8833
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8835
8834
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -8837,34 +8836,37 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8837
8836
|
if (configuration) {
|
|
8838
8837
|
baseOptions = configuration.baseOptions;
|
|
8839
8838
|
}
|
|
8840
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
8839
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
8841
8840
|
const localVarHeaderParameter = {};
|
|
8842
8841
|
const localVarQueryParameter = {};
|
|
8843
8842
|
// authentication BearerAuth required
|
|
8844
8843
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8844
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8845
8845
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8846
8846
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8847
8847
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8848
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(store, localVarRequestOptions, configuration);
|
|
8848
8849
|
return {
|
|
8849
8850
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8850
8851
|
options: localVarRequestOptions,
|
|
8851
8852
|
};
|
|
8852
8853
|
}),
|
|
8853
8854
|
/**
|
|
8854
|
-
* Updates
|
|
8855
|
-
* @summary Update
|
|
8856
|
-
* @param {number}
|
|
8857
|
-
* @param {
|
|
8855
|
+
* Updates StoreStatus information by ID.
|
|
8856
|
+
* @summary Update an existing StoreStatus
|
|
8857
|
+
* @param {number} id Store ID
|
|
8858
|
+
* @param {boolean} status status
|
|
8858
8859
|
* @param {*} [options] Override http request option.
|
|
8859
8860
|
* @throws {RequiredError}
|
|
8860
8861
|
*/
|
|
8861
|
-
|
|
8862
|
-
// verify required parameter '
|
|
8863
|
-
(0, common_1.assertParamExists)('
|
|
8864
|
-
// verify required parameter '
|
|
8865
|
-
(0, common_1.assertParamExists)('
|
|
8866
|
-
const localVarPath = `/admin/Stores/{
|
|
8867
|
-
.replace(`{${"
|
|
8862
|
+
adminStoresUpdateStatusIdStatusPut: (id_1, status_1, ...args_1) => __awaiter(this, [id_1, status_1, ...args_1], void 0, function* (id, status, options = {}) {
|
|
8863
|
+
// verify required parameter 'id' is not null or undefined
|
|
8864
|
+
(0, common_1.assertParamExists)('adminStoresUpdateStatusIdStatusPut', 'id', id);
|
|
8865
|
+
// verify required parameter 'status' is not null or undefined
|
|
8866
|
+
(0, common_1.assertParamExists)('adminStoresUpdateStatusIdStatusPut', 'status', status);
|
|
8867
|
+
const localVarPath = `/admin/Stores/UpdateStatus/{id}/{status}`
|
|
8868
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
8869
|
+
.replace(`{${"status"}}`, encodeURIComponent(String(status)));
|
|
8868
8870
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8869
8871
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8870
8872
|
let baseOptions;
|
|
@@ -8876,28 +8878,26 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8876
8878
|
const localVarQueryParameter = {};
|
|
8877
8879
|
// authentication BearerAuth required
|
|
8878
8880
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8879
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8880
8881
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8881
8882
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8882
8883
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8883
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
8884
8884
|
return {
|
|
8885
8885
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8886
8886
|
options: localVarRequestOptions,
|
|
8887
8887
|
};
|
|
8888
8888
|
}),
|
|
8889
8889
|
/**
|
|
8890
|
-
*
|
|
8891
|
-
* @summary Get Store Config
|
|
8892
|
-
* @param {
|
|
8890
|
+
* Retrieves the store configuration using x-store ID
|
|
8891
|
+
* @summary Get Store Config
|
|
8892
|
+
* @param {string} xStoreID X-Store ID
|
|
8893
8893
|
* @param {*} [options] Override http request option.
|
|
8894
8894
|
* @throws {RequiredError}
|
|
8895
8895
|
*/
|
|
8896
|
-
|
|
8897
|
-
// verify required parameter '
|
|
8898
|
-
(0, common_1.assertParamExists)('
|
|
8899
|
-
const localVarPath = `/admin/Stores/{
|
|
8900
|
-
.replace(`{${"
|
|
8896
|
+
adminStoresXStoreIDConfigGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
8897
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8898
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDConfigGet', 'xStoreID', xStoreID);
|
|
8899
|
+
const localVarPath = `/admin/Stores/{xStoreID}/config`
|
|
8900
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8901
8901
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8902
8902
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8903
8903
|
let baseOptions;
|
|
@@ -8918,95 +8918,91 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8918
8918
|
};
|
|
8919
8919
|
}),
|
|
8920
8920
|
/**
|
|
8921
|
-
*
|
|
8922
|
-
* @summary
|
|
8923
|
-
* @param {
|
|
8921
|
+
* Updates the store configuration using x-store ID
|
|
8922
|
+
* @summary Update Store Config
|
|
8923
|
+
* @param {string} xStoreID X-Store ID
|
|
8924
|
+
* @param {DataTypesIndexConfig} body Store configuration
|
|
8924
8925
|
* @param {*} [options] Override http request option.
|
|
8925
8926
|
* @throws {RequiredError}
|
|
8926
8927
|
*/
|
|
8927
|
-
|
|
8928
|
-
// verify required parameter '
|
|
8929
|
-
(0, common_1.assertParamExists)('
|
|
8930
|
-
|
|
8931
|
-
|
|
8928
|
+
adminStoresXStoreIDConfigPut: (xStoreID_1, body_1, ...args_1) => __awaiter(this, [xStoreID_1, body_1, ...args_1], void 0, function* (xStoreID, body, options = {}) {
|
|
8929
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8930
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDConfigPut', 'xStoreID', xStoreID);
|
|
8931
|
+
// verify required parameter 'body' is not null or undefined
|
|
8932
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDConfigPut', 'body', body);
|
|
8933
|
+
const localVarPath = `/admin/Stores/{xStoreID}/config`
|
|
8934
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8932
8935
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8933
8936
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8934
8937
|
let baseOptions;
|
|
8935
8938
|
if (configuration) {
|
|
8936
8939
|
baseOptions = configuration.baseOptions;
|
|
8937
8940
|
}
|
|
8938
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
8941
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
8939
8942
|
const localVarHeaderParameter = {};
|
|
8940
8943
|
const localVarQueryParameter = {};
|
|
8941
8944
|
// authentication BearerAuth required
|
|
8942
8945
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8946
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8943
8947
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8944
8948
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8945
8949
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8950
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
8946
8951
|
return {
|
|
8947
8952
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8948
8953
|
options: localVarRequestOptions,
|
|
8949
8954
|
};
|
|
8950
8955
|
}),
|
|
8951
8956
|
/**
|
|
8952
|
-
*
|
|
8953
|
-
* @summary
|
|
8954
|
-
* @param {
|
|
8955
|
-
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
8957
|
+
* Get metadata about all configurable fields for store configuration using x-store ID
|
|
8958
|
+
* @summary Get Store Config Schema
|
|
8959
|
+
* @param {string} xStoreID X-Store ID to get field options from
|
|
8956
8960
|
* @param {*} [options] Override http request option.
|
|
8957
8961
|
* @throws {RequiredError}
|
|
8958
8962
|
*/
|
|
8959
|
-
|
|
8960
|
-
// verify required parameter '
|
|
8961
|
-
(0, common_1.assertParamExists)('
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
const localVarPath = `/admin/Stores/{storeID}`
|
|
8965
|
-
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
8963
|
+
adminStoresXStoreIDConfigSchemaGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
8964
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8965
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDConfigSchemaGet', 'xStoreID', xStoreID);
|
|
8966
|
+
const localVarPath = `/admin/Stores/{xStoreID}/config-schema`
|
|
8967
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8966
8968
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8967
8969
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8968
8970
|
let baseOptions;
|
|
8969
8971
|
if (configuration) {
|
|
8970
8972
|
baseOptions = configuration.baseOptions;
|
|
8971
8973
|
}
|
|
8972
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
8974
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8973
8975
|
const localVarHeaderParameter = {};
|
|
8974
8976
|
const localVarQueryParameter = {};
|
|
8975
8977
|
// authentication BearerAuth required
|
|
8976
8978
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8977
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8978
8979
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8979
8980
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8980
8981
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8981
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(store, localVarRequestOptions, configuration);
|
|
8982
8982
|
return {
|
|
8983
8983
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8984
8984
|
options: localVarRequestOptions,
|
|
8985
8985
|
};
|
|
8986
8986
|
}),
|
|
8987
8987
|
/**
|
|
8988
|
-
*
|
|
8989
|
-
* @summary
|
|
8990
|
-
* @param {
|
|
8991
|
-
* @param {boolean} status status
|
|
8988
|
+
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
8989
|
+
* @summary Get Store Schema-Based Defaults
|
|
8990
|
+
* @param {string} xStoreID X-Store ID
|
|
8992
8991
|
* @param {*} [options] Override http request option.
|
|
8993
8992
|
* @throws {RequiredError}
|
|
8994
8993
|
*/
|
|
8995
|
-
|
|
8996
|
-
// verify required parameter '
|
|
8997
|
-
(0, common_1.assertParamExists)('
|
|
8998
|
-
|
|
8999
|
-
|
|
9000
|
-
const localVarPath = `/admin/Stores/UpdateStatus/{id}/{status}`
|
|
9001
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
9002
|
-
.replace(`{${"status"}}`, encodeURIComponent(String(status)));
|
|
8994
|
+
adminStoresXStoreIDDefaultsGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
8995
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8996
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDDefaultsGet', 'xStoreID', xStoreID);
|
|
8997
|
+
const localVarPath = `/admin/Stores/{xStoreID}/defaults`
|
|
8998
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
9003
8999
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9004
9000
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9005
9001
|
let baseOptions;
|
|
9006
9002
|
if (configuration) {
|
|
9007
9003
|
baseOptions = configuration.baseOptions;
|
|
9008
9004
|
}
|
|
9009
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
9005
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9010
9006
|
const localVarHeaderParameter = {};
|
|
9011
9007
|
const localVarQueryParameter = {};
|
|
9012
9008
|
// authentication BearerAuth required
|
|
@@ -9030,34 +9026,33 @@ const StoresApiFp = function (configuration) {
|
|
|
9030
9026
|
const localVarAxiosParamCreator = (0, exports.StoresApiAxiosParamCreator)(configuration);
|
|
9031
9027
|
return {
|
|
9032
9028
|
/**
|
|
9033
|
-
* Fetches stores
|
|
9034
|
-
* @summary Fetches
|
|
9035
|
-
* @param {number} storeID Stores ID
|
|
9029
|
+
* Fetches list of all stores for the authenticated user\'s organization
|
|
9030
|
+
* @summary Fetches list of all stores
|
|
9036
9031
|
* @param {*} [options] Override http request option.
|
|
9037
9032
|
* @throws {RequiredError}
|
|
9038
9033
|
*/
|
|
9039
|
-
|
|
9034
|
+
adminStoresGet(options) {
|
|
9040
9035
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9041
9036
|
var _a, _b, _c;
|
|
9042
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9037
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresGet(options);
|
|
9043
9038
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9044
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.
|
|
9039
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9045
9040
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9046
9041
|
});
|
|
9047
9042
|
},
|
|
9048
9043
|
/**
|
|
9049
|
-
* Fetches
|
|
9050
|
-
* @summary Fetches
|
|
9051
|
-
* @param {
|
|
9044
|
+
* Fetches stores by xStoreID
|
|
9045
|
+
* @summary Fetches stores by xStoreID
|
|
9046
|
+
* @param {string} xStoreID X-Store ID
|
|
9052
9047
|
* @param {*} [options] Override http request option.
|
|
9053
9048
|
* @throws {RequiredError}
|
|
9054
9049
|
*/
|
|
9055
|
-
|
|
9050
|
+
adminStoresGetStoreXStoreIDGet(xStoreID, options) {
|
|
9056
9051
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9057
9052
|
var _a, _b, _c;
|
|
9058
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9053
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresGetStoreXStoreIDGet(xStoreID, options);
|
|
9059
9054
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9060
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.
|
|
9055
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresGetStoreXStoreIDGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9061
9056
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9062
9057
|
});
|
|
9063
9058
|
},
|
|
@@ -9078,101 +9073,101 @@ const StoresApiFp = function (configuration) {
|
|
|
9078
9073
|
});
|
|
9079
9074
|
},
|
|
9080
9075
|
/**
|
|
9081
|
-
*
|
|
9082
|
-
* @summary
|
|
9083
|
-
* @param {number} storeID
|
|
9076
|
+
* Updates store information by ID.
|
|
9077
|
+
* @summary Update an existing store
|
|
9078
|
+
* @param {number} storeID store ID
|
|
9079
|
+
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9084
9080
|
* @param {*} [options] Override http request option.
|
|
9085
9081
|
* @throws {RequiredError}
|
|
9086
9082
|
*/
|
|
9087
|
-
|
|
9083
|
+
adminStoresStoreIDPut(storeID, store, options) {
|
|
9088
9084
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9089
9085
|
var _a, _b, _c;
|
|
9090
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9086
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresStoreIDPut(storeID, store, options);
|
|
9091
9087
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9092
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.
|
|
9088
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresStoreIDPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9093
9089
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9094
9090
|
});
|
|
9095
9091
|
},
|
|
9096
9092
|
/**
|
|
9097
|
-
* Updates
|
|
9098
|
-
* @summary Update
|
|
9099
|
-
* @param {number}
|
|
9100
|
-
* @param {
|
|
9093
|
+
* Updates StoreStatus information by ID.
|
|
9094
|
+
* @summary Update an existing StoreStatus
|
|
9095
|
+
* @param {number} id Store ID
|
|
9096
|
+
* @param {boolean} status status
|
|
9101
9097
|
* @param {*} [options] Override http request option.
|
|
9102
9098
|
* @throws {RequiredError}
|
|
9103
9099
|
*/
|
|
9104
|
-
|
|
9100
|
+
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
9105
9101
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9106
9102
|
var _a, _b, _c;
|
|
9107
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9103
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresUpdateStatusIdStatusPut(id, status, options);
|
|
9108
9104
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9109
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.
|
|
9105
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresUpdateStatusIdStatusPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9110
9106
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9111
9107
|
});
|
|
9112
9108
|
},
|
|
9113
9109
|
/**
|
|
9114
|
-
*
|
|
9115
|
-
* @summary Get Store Config
|
|
9116
|
-
* @param {
|
|
9110
|
+
* Retrieves the store configuration using x-store ID
|
|
9111
|
+
* @summary Get Store Config
|
|
9112
|
+
* @param {string} xStoreID X-Store ID
|
|
9117
9113
|
* @param {*} [options] Override http request option.
|
|
9118
9114
|
* @throws {RequiredError}
|
|
9119
9115
|
*/
|
|
9120
|
-
|
|
9116
|
+
adminStoresXStoreIDConfigGet(xStoreID, options) {
|
|
9121
9117
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9122
9118
|
var _a, _b, _c;
|
|
9123
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9119
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDConfigGet(xStoreID, options);
|
|
9124
9120
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9125
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.
|
|
9121
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresXStoreIDConfigGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9126
9122
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9127
9123
|
});
|
|
9128
9124
|
},
|
|
9129
9125
|
/**
|
|
9130
|
-
*
|
|
9131
|
-
* @summary
|
|
9132
|
-
* @param {
|
|
9126
|
+
* Updates the store configuration using x-store ID
|
|
9127
|
+
* @summary Update Store Config
|
|
9128
|
+
* @param {string} xStoreID X-Store ID
|
|
9129
|
+
* @param {DataTypesIndexConfig} body Store configuration
|
|
9133
9130
|
* @param {*} [options] Override http request option.
|
|
9134
9131
|
* @throws {RequiredError}
|
|
9135
9132
|
*/
|
|
9136
|
-
|
|
9133
|
+
adminStoresXStoreIDConfigPut(xStoreID, body, options) {
|
|
9137
9134
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9138
9135
|
var _a, _b, _c;
|
|
9139
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9136
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDConfigPut(xStoreID, body, options);
|
|
9140
9137
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9141
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.
|
|
9138
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresXStoreIDConfigPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9142
9139
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9143
9140
|
});
|
|
9144
9141
|
},
|
|
9145
9142
|
/**
|
|
9146
|
-
*
|
|
9147
|
-
* @summary
|
|
9148
|
-
* @param {
|
|
9149
|
-
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9143
|
+
* Get metadata about all configurable fields for store configuration using x-store ID
|
|
9144
|
+
* @summary Get Store Config Schema
|
|
9145
|
+
* @param {string} xStoreID X-Store ID to get field options from
|
|
9150
9146
|
* @param {*} [options] Override http request option.
|
|
9151
9147
|
* @throws {RequiredError}
|
|
9152
9148
|
*/
|
|
9153
|
-
|
|
9149
|
+
adminStoresXStoreIDConfigSchemaGet(xStoreID, options) {
|
|
9154
9150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9155
9151
|
var _a, _b, _c;
|
|
9156
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9152
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDConfigSchemaGet(xStoreID, options);
|
|
9157
9153
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9158
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.
|
|
9154
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresXStoreIDConfigSchemaGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9159
9155
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9160
9156
|
});
|
|
9161
9157
|
},
|
|
9162
9158
|
/**
|
|
9163
|
-
*
|
|
9164
|
-
* @summary
|
|
9165
|
-
* @param {
|
|
9166
|
-
* @param {boolean} status status
|
|
9159
|
+
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
9160
|
+
* @summary Get Store Schema-Based Defaults
|
|
9161
|
+
* @param {string} xStoreID X-Store ID
|
|
9167
9162
|
* @param {*} [options] Override http request option.
|
|
9168
9163
|
* @throws {RequiredError}
|
|
9169
9164
|
*/
|
|
9170
|
-
|
|
9165
|
+
adminStoresXStoreIDDefaultsGet(xStoreID, options) {
|
|
9171
9166
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9172
9167
|
var _a, _b, _c;
|
|
9173
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9168
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDDefaultsGet(xStoreID, options);
|
|
9174
9169
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9175
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.
|
|
9170
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresXStoreIDDefaultsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9176
9171
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9177
9172
|
});
|
|
9178
9173
|
},
|
|
@@ -9187,24 +9182,23 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
9187
9182
|
const localVarFp = (0, exports.StoresApiFp)(configuration);
|
|
9188
9183
|
return {
|
|
9189
9184
|
/**
|
|
9190
|
-
* Fetches stores
|
|
9191
|
-
* @summary Fetches
|
|
9192
|
-
* @param {number} storeID Stores ID
|
|
9185
|
+
* Fetches list of all stores for the authenticated user\'s organization
|
|
9186
|
+
* @summary Fetches list of all stores
|
|
9193
9187
|
* @param {*} [options] Override http request option.
|
|
9194
9188
|
* @throws {RequiredError}
|
|
9195
9189
|
*/
|
|
9196
|
-
|
|
9197
|
-
return localVarFp.
|
|
9190
|
+
adminStoresGet(options) {
|
|
9191
|
+
return localVarFp.adminStoresGet(options).then((request) => request(axios, basePath));
|
|
9198
9192
|
},
|
|
9199
9193
|
/**
|
|
9200
|
-
* Fetches
|
|
9201
|
-
* @summary Fetches
|
|
9202
|
-
* @param {
|
|
9194
|
+
* Fetches stores by xStoreID
|
|
9195
|
+
* @summary Fetches stores by xStoreID
|
|
9196
|
+
* @param {string} xStoreID X-Store ID
|
|
9203
9197
|
* @param {*} [options] Override http request option.
|
|
9204
9198
|
* @throws {RequiredError}
|
|
9205
9199
|
*/
|
|
9206
|
-
|
|
9207
|
-
return localVarFp.
|
|
9200
|
+
adminStoresGetStoreXStoreIDGet(xStoreID, options) {
|
|
9201
|
+
return localVarFp.adminStoresGetStoreXStoreIDGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
9208
9202
|
},
|
|
9209
9203
|
/**
|
|
9210
9204
|
* Adds a new store to the system
|
|
@@ -9217,67 +9211,67 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
9217
9211
|
return localVarFp.adminStoresPost(store, options).then((request) => request(axios, basePath));
|
|
9218
9212
|
},
|
|
9219
9213
|
/**
|
|
9220
|
-
*
|
|
9221
|
-
* @summary
|
|
9222
|
-
* @param {number} storeID
|
|
9214
|
+
* Updates store information by ID.
|
|
9215
|
+
* @summary Update an existing store
|
|
9216
|
+
* @param {number} storeID store ID
|
|
9217
|
+
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9223
9218
|
* @param {*} [options] Override http request option.
|
|
9224
9219
|
* @throws {RequiredError}
|
|
9225
9220
|
*/
|
|
9226
|
-
|
|
9227
|
-
return localVarFp.
|
|
9221
|
+
adminStoresStoreIDPut(storeID, store, options) {
|
|
9222
|
+
return localVarFp.adminStoresStoreIDPut(storeID, store, options).then((request) => request(axios, basePath));
|
|
9228
9223
|
},
|
|
9229
9224
|
/**
|
|
9230
|
-
* Updates
|
|
9231
|
-
* @summary Update
|
|
9232
|
-
* @param {number}
|
|
9233
|
-
* @param {
|
|
9225
|
+
* Updates StoreStatus information by ID.
|
|
9226
|
+
* @summary Update an existing StoreStatus
|
|
9227
|
+
* @param {number} id Store ID
|
|
9228
|
+
* @param {boolean} status status
|
|
9234
9229
|
* @param {*} [options] Override http request option.
|
|
9235
9230
|
* @throws {RequiredError}
|
|
9236
9231
|
*/
|
|
9237
|
-
|
|
9238
|
-
return localVarFp.
|
|
9232
|
+
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
9233
|
+
return localVarFp.adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(axios, basePath));
|
|
9239
9234
|
},
|
|
9240
9235
|
/**
|
|
9241
|
-
*
|
|
9242
|
-
* @summary Get Store Config
|
|
9243
|
-
* @param {
|
|
9236
|
+
* Retrieves the store configuration using x-store ID
|
|
9237
|
+
* @summary Get Store Config
|
|
9238
|
+
* @param {string} xStoreID X-Store ID
|
|
9244
9239
|
* @param {*} [options] Override http request option.
|
|
9245
9240
|
* @throws {RequiredError}
|
|
9246
9241
|
*/
|
|
9247
|
-
|
|
9248
|
-
return localVarFp.
|
|
9242
|
+
adminStoresXStoreIDConfigGet(xStoreID, options) {
|
|
9243
|
+
return localVarFp.adminStoresXStoreIDConfigGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
9249
9244
|
},
|
|
9250
9245
|
/**
|
|
9251
|
-
*
|
|
9252
|
-
* @summary
|
|
9253
|
-
* @param {
|
|
9246
|
+
* Updates the store configuration using x-store ID
|
|
9247
|
+
* @summary Update Store Config
|
|
9248
|
+
* @param {string} xStoreID X-Store ID
|
|
9249
|
+
* @param {DataTypesIndexConfig} body Store configuration
|
|
9254
9250
|
* @param {*} [options] Override http request option.
|
|
9255
9251
|
* @throws {RequiredError}
|
|
9256
9252
|
*/
|
|
9257
|
-
|
|
9258
|
-
return localVarFp.
|
|
9253
|
+
adminStoresXStoreIDConfigPut(xStoreID, body, options) {
|
|
9254
|
+
return localVarFp.adminStoresXStoreIDConfigPut(xStoreID, body, options).then((request) => request(axios, basePath));
|
|
9259
9255
|
},
|
|
9260
9256
|
/**
|
|
9261
|
-
*
|
|
9262
|
-
* @summary
|
|
9263
|
-
* @param {
|
|
9264
|
-
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9257
|
+
* Get metadata about all configurable fields for store configuration using x-store ID
|
|
9258
|
+
* @summary Get Store Config Schema
|
|
9259
|
+
* @param {string} xStoreID X-Store ID to get field options from
|
|
9265
9260
|
* @param {*} [options] Override http request option.
|
|
9266
9261
|
* @throws {RequiredError}
|
|
9267
9262
|
*/
|
|
9268
|
-
|
|
9269
|
-
return localVarFp.
|
|
9263
|
+
adminStoresXStoreIDConfigSchemaGet(xStoreID, options) {
|
|
9264
|
+
return localVarFp.adminStoresXStoreIDConfigSchemaGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
9270
9265
|
},
|
|
9271
9266
|
/**
|
|
9272
|
-
*
|
|
9273
|
-
* @summary
|
|
9274
|
-
* @param {
|
|
9275
|
-
* @param {boolean} status status
|
|
9267
|
+
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
9268
|
+
* @summary Get Store Schema-Based Defaults
|
|
9269
|
+
* @param {string} xStoreID X-Store ID
|
|
9276
9270
|
* @param {*} [options] Override http request option.
|
|
9277
9271
|
* @throws {RequiredError}
|
|
9278
9272
|
*/
|
|
9279
|
-
|
|
9280
|
-
return localVarFp.
|
|
9273
|
+
adminStoresXStoreIDDefaultsGet(xStoreID, options) {
|
|
9274
|
+
return localVarFp.adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
9281
9275
|
},
|
|
9282
9276
|
};
|
|
9283
9277
|
};
|
|
@@ -9290,26 +9284,25 @@ exports.StoresApiFactory = StoresApiFactory;
|
|
|
9290
9284
|
*/
|
|
9291
9285
|
class StoresApi extends base_1.BaseAPI {
|
|
9292
9286
|
/**
|
|
9293
|
-
* Fetches stores
|
|
9294
|
-
* @summary Fetches
|
|
9295
|
-
* @param {number} storeID Stores ID
|
|
9287
|
+
* Fetches list of all stores for the authenticated user\'s organization
|
|
9288
|
+
* @summary Fetches list of all stores
|
|
9296
9289
|
* @param {*} [options] Override http request option.
|
|
9297
9290
|
* @throws {RequiredError}
|
|
9298
9291
|
* @memberof StoresApi
|
|
9299
9292
|
*/
|
|
9300
|
-
|
|
9301
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9293
|
+
adminStoresGet(options) {
|
|
9294
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresGet(options).then((request) => request(this.axios, this.basePath));
|
|
9302
9295
|
}
|
|
9303
9296
|
/**
|
|
9304
|
-
* Fetches
|
|
9305
|
-
* @summary Fetches
|
|
9306
|
-
* @param {
|
|
9297
|
+
* Fetches stores by xStoreID
|
|
9298
|
+
* @summary Fetches stores by xStoreID
|
|
9299
|
+
* @param {string} xStoreID X-Store ID
|
|
9307
9300
|
* @param {*} [options] Override http request option.
|
|
9308
9301
|
* @throws {RequiredError}
|
|
9309
9302
|
* @memberof StoresApi
|
|
9310
9303
|
*/
|
|
9311
|
-
|
|
9312
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9304
|
+
adminStoresGetStoreXStoreIDGet(xStoreID, options) {
|
|
9305
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresGetStoreXStoreIDGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
9313
9306
|
}
|
|
9314
9307
|
/**
|
|
9315
9308
|
* Adds a new store to the system
|
|
@@ -9323,73 +9316,73 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
9323
9316
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresPost(store, options).then((request) => request(this.axios, this.basePath));
|
|
9324
9317
|
}
|
|
9325
9318
|
/**
|
|
9326
|
-
*
|
|
9327
|
-
* @summary
|
|
9328
|
-
* @param {number} storeID
|
|
9319
|
+
* Updates store information by ID.
|
|
9320
|
+
* @summary Update an existing store
|
|
9321
|
+
* @param {number} storeID store ID
|
|
9322
|
+
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9329
9323
|
* @param {*} [options] Override http request option.
|
|
9330
9324
|
* @throws {RequiredError}
|
|
9331
9325
|
* @memberof StoresApi
|
|
9332
9326
|
*/
|
|
9333
|
-
|
|
9334
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9327
|
+
adminStoresStoreIDPut(storeID, store, options) {
|
|
9328
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresStoreIDPut(storeID, store, options).then((request) => request(this.axios, this.basePath));
|
|
9335
9329
|
}
|
|
9336
9330
|
/**
|
|
9337
|
-
* Updates
|
|
9338
|
-
* @summary Update
|
|
9339
|
-
* @param {number}
|
|
9340
|
-
* @param {
|
|
9331
|
+
* Updates StoreStatus information by ID.
|
|
9332
|
+
* @summary Update an existing StoreStatus
|
|
9333
|
+
* @param {number} id Store ID
|
|
9334
|
+
* @param {boolean} status status
|
|
9341
9335
|
* @param {*} [options] Override http request option.
|
|
9342
9336
|
* @throws {RequiredError}
|
|
9343
9337
|
* @memberof StoresApi
|
|
9344
9338
|
*/
|
|
9345
|
-
|
|
9346
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9339
|
+
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
9340
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(this.axios, this.basePath));
|
|
9347
9341
|
}
|
|
9348
9342
|
/**
|
|
9349
|
-
*
|
|
9350
|
-
* @summary Get Store Config
|
|
9351
|
-
* @param {
|
|
9343
|
+
* Retrieves the store configuration using x-store ID
|
|
9344
|
+
* @summary Get Store Config
|
|
9345
|
+
* @param {string} xStoreID X-Store ID
|
|
9352
9346
|
* @param {*} [options] Override http request option.
|
|
9353
9347
|
* @throws {RequiredError}
|
|
9354
9348
|
* @memberof StoresApi
|
|
9355
9349
|
*/
|
|
9356
|
-
|
|
9357
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9350
|
+
adminStoresXStoreIDConfigGet(xStoreID, options) {
|
|
9351
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDConfigGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
9358
9352
|
}
|
|
9359
9353
|
/**
|
|
9360
|
-
*
|
|
9361
|
-
* @summary
|
|
9362
|
-
* @param {
|
|
9354
|
+
* Updates the store configuration using x-store ID
|
|
9355
|
+
* @summary Update Store Config
|
|
9356
|
+
* @param {string} xStoreID X-Store ID
|
|
9357
|
+
* @param {DataTypesIndexConfig} body Store configuration
|
|
9363
9358
|
* @param {*} [options] Override http request option.
|
|
9364
9359
|
* @throws {RequiredError}
|
|
9365
9360
|
* @memberof StoresApi
|
|
9366
9361
|
*/
|
|
9367
|
-
|
|
9368
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9362
|
+
adminStoresXStoreIDConfigPut(xStoreID, body, options) {
|
|
9363
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDConfigPut(xStoreID, body, options).then((request) => request(this.axios, this.basePath));
|
|
9369
9364
|
}
|
|
9370
9365
|
/**
|
|
9371
|
-
*
|
|
9372
|
-
* @summary
|
|
9373
|
-
* @param {
|
|
9374
|
-
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9366
|
+
* Get metadata about all configurable fields for store configuration using x-store ID
|
|
9367
|
+
* @summary Get Store Config Schema
|
|
9368
|
+
* @param {string} xStoreID X-Store ID to get field options from
|
|
9375
9369
|
* @param {*} [options] Override http request option.
|
|
9376
9370
|
* @throws {RequiredError}
|
|
9377
9371
|
* @memberof StoresApi
|
|
9378
9372
|
*/
|
|
9379
|
-
|
|
9380
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9373
|
+
adminStoresXStoreIDConfigSchemaGet(xStoreID, options) {
|
|
9374
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDConfigSchemaGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
9381
9375
|
}
|
|
9382
9376
|
/**
|
|
9383
|
-
*
|
|
9384
|
-
* @summary
|
|
9385
|
-
* @param {
|
|
9386
|
-
* @param {boolean} status status
|
|
9377
|
+
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
9378
|
+
* @summary Get Store Schema-Based Defaults
|
|
9379
|
+
* @param {string} xStoreID X-Store ID
|
|
9387
9380
|
* @param {*} [options] Override http request option.
|
|
9388
9381
|
* @throws {RequiredError}
|
|
9389
9382
|
* @memberof StoresApi
|
|
9390
9383
|
*/
|
|
9391
|
-
|
|
9392
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9384
|
+
adminStoresXStoreIDDefaultsGet(xStoreID, options) {
|
|
9385
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
9393
9386
|
}
|
|
9394
9387
|
}
|
|
9395
9388
|
exports.StoresApi = StoresApi;
|