@seekora-ai/admin-api 1.0.17 → 1.0.18
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 -10
- package/api.ts +295 -262
- package/dist/api.d.ts +179 -182
- package/dist/api.js +271 -210
- package/dist/esm/api.d.ts +179 -182
- package/dist/esm/api.js +271 -210
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.18.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
|
|
@@ -8725,6 +8725,33 @@ exports.SearchApi = SearchApi;
|
|
|
8725
8725
|
*/
|
|
8726
8726
|
const StoresApiAxiosParamCreator = function (configuration) {
|
|
8727
8727
|
return {
|
|
8728
|
+
/**
|
|
8729
|
+
* Fetches list of all stores for the authenticated user\'s organization
|
|
8730
|
+
* @summary Fetches list of all stores
|
|
8731
|
+
* @param {*} [options] Override http request option.
|
|
8732
|
+
* @throws {RequiredError}
|
|
8733
|
+
*/
|
|
8734
|
+
adminStoresGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
8735
|
+
const localVarPath = `/admin/Stores`;
|
|
8736
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8737
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8738
|
+
let baseOptions;
|
|
8739
|
+
if (configuration) {
|
|
8740
|
+
baseOptions = configuration.baseOptions;
|
|
8741
|
+
}
|
|
8742
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8743
|
+
const localVarHeaderParameter = {};
|
|
8744
|
+
const localVarQueryParameter = {};
|
|
8745
|
+
// authentication BearerAuth required
|
|
8746
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8747
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8748
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8749
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8750
|
+
return {
|
|
8751
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8752
|
+
options: localVarRequestOptions,
|
|
8753
|
+
};
|
|
8754
|
+
}),
|
|
8728
8755
|
/**
|
|
8729
8756
|
* Fetches stores by id
|
|
8730
8757
|
* @summary Fetches stores by id
|
|
@@ -8757,17 +8784,17 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8757
8784
|
};
|
|
8758
8785
|
}),
|
|
8759
8786
|
/**
|
|
8760
|
-
* Fetches
|
|
8761
|
-
* @summary Fetches
|
|
8762
|
-
* @param {
|
|
8787
|
+
* Fetches stores by xStoreID
|
|
8788
|
+
* @summary Fetches stores by xStoreID
|
|
8789
|
+
* @param {string} xStoreID X-Store ID
|
|
8763
8790
|
* @param {*} [options] Override http request option.
|
|
8764
8791
|
* @throws {RequiredError}
|
|
8765
8792
|
*/
|
|
8766
|
-
|
|
8767
|
-
// verify required parameter '
|
|
8768
|
-
(0, common_1.assertParamExists)('
|
|
8769
|
-
const localVarPath = `/admin/Stores/{
|
|
8770
|
-
.replace(`{${"
|
|
8793
|
+
adminStoresGetStoreXStoreIDGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
8794
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8795
|
+
(0, common_1.assertParamExists)('adminStoresGetStoreXStoreIDGet', 'xStoreID', xStoreID);
|
|
8796
|
+
const localVarPath = `/admin/Stores/GetStore/{xStoreID}`
|
|
8797
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8771
8798
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8772
8799
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8773
8800
|
let baseOptions;
|
|
@@ -8820,16 +8847,19 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8820
8847
|
};
|
|
8821
8848
|
}),
|
|
8822
8849
|
/**
|
|
8823
|
-
*
|
|
8824
|
-
* @summary
|
|
8825
|
-
* @param {number} storeID
|
|
8850
|
+
* Updates store information by ID.
|
|
8851
|
+
* @summary Update an existing store
|
|
8852
|
+
* @param {number} storeID store ID
|
|
8853
|
+
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
8826
8854
|
* @param {*} [options] Override http request option.
|
|
8827
8855
|
* @throws {RequiredError}
|
|
8828
8856
|
*/
|
|
8829
|
-
|
|
8857
|
+
adminStoresStoreIDPut: (storeID_1, store_1, ...args_1) => __awaiter(this, [storeID_1, store_1, ...args_1], void 0, function* (storeID, store, options = {}) {
|
|
8830
8858
|
// verify required parameter 'storeID' is not null or undefined
|
|
8831
|
-
(0, common_1.assertParamExists)('
|
|
8832
|
-
|
|
8859
|
+
(0, common_1.assertParamExists)('adminStoresStoreIDPut', 'storeID', storeID);
|
|
8860
|
+
// verify required parameter 'store' is not null or undefined
|
|
8861
|
+
(0, common_1.assertParamExists)('adminStoresStoreIDPut', 'store', store);
|
|
8862
|
+
const localVarPath = `/admin/Stores/{storeID}`
|
|
8833
8863
|
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
8834
8864
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8835
8865
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -8837,34 +8867,37 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8837
8867
|
if (configuration) {
|
|
8838
8868
|
baseOptions = configuration.baseOptions;
|
|
8839
8869
|
}
|
|
8840
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
8870
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
8841
8871
|
const localVarHeaderParameter = {};
|
|
8842
8872
|
const localVarQueryParameter = {};
|
|
8843
8873
|
// authentication BearerAuth required
|
|
8844
8874
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8875
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8845
8876
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8846
8877
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8847
8878
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8879
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(store, localVarRequestOptions, configuration);
|
|
8848
8880
|
return {
|
|
8849
8881
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8850
8882
|
options: localVarRequestOptions,
|
|
8851
8883
|
};
|
|
8852
8884
|
}),
|
|
8853
8885
|
/**
|
|
8854
|
-
* Updates
|
|
8855
|
-
* @summary Update
|
|
8856
|
-
* @param {number}
|
|
8857
|
-
* @param {
|
|
8886
|
+
* Updates StoreStatus information by ID.
|
|
8887
|
+
* @summary Update an existing StoreStatus
|
|
8888
|
+
* @param {number} id Store ID
|
|
8889
|
+
* @param {boolean} status status
|
|
8858
8890
|
* @param {*} [options] Override http request option.
|
|
8859
8891
|
* @throws {RequiredError}
|
|
8860
8892
|
*/
|
|
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(`{${"
|
|
8893
|
+
adminStoresUpdateStatusIdStatusPut: (id_1, status_1, ...args_1) => __awaiter(this, [id_1, status_1, ...args_1], void 0, function* (id, status, options = {}) {
|
|
8894
|
+
// verify required parameter 'id' is not null or undefined
|
|
8895
|
+
(0, common_1.assertParamExists)('adminStoresUpdateStatusIdStatusPut', 'id', id);
|
|
8896
|
+
// verify required parameter 'status' is not null or undefined
|
|
8897
|
+
(0, common_1.assertParamExists)('adminStoresUpdateStatusIdStatusPut', 'status', status);
|
|
8898
|
+
const localVarPath = `/admin/Stores/UpdateStatus/{id}/{status}`
|
|
8899
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
8900
|
+
.replace(`{${"status"}}`, encodeURIComponent(String(status)));
|
|
8868
8901
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8869
8902
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8870
8903
|
let baseOptions;
|
|
@@ -8876,28 +8909,26 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8876
8909
|
const localVarQueryParameter = {};
|
|
8877
8910
|
// authentication BearerAuth required
|
|
8878
8911
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8879
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8880
8912
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8881
8913
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8882
8914
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8883
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
8884
8915
|
return {
|
|
8885
8916
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8886
8917
|
options: localVarRequestOptions,
|
|
8887
8918
|
};
|
|
8888
8919
|
}),
|
|
8889
8920
|
/**
|
|
8890
|
-
*
|
|
8891
|
-
* @summary Get Store Config
|
|
8892
|
-
* @param {
|
|
8921
|
+
* Retrieves the store configuration using x-store ID
|
|
8922
|
+
* @summary Get Store Config
|
|
8923
|
+
* @param {string} xStoreID X-Store ID
|
|
8893
8924
|
* @param {*} [options] Override http request option.
|
|
8894
8925
|
* @throws {RequiredError}
|
|
8895
8926
|
*/
|
|
8896
|
-
|
|
8897
|
-
// verify required parameter '
|
|
8898
|
-
(0, common_1.assertParamExists)('
|
|
8899
|
-
const localVarPath = `/admin/Stores/{
|
|
8900
|
-
.replace(`{${"
|
|
8927
|
+
adminStoresXStoreIDConfigGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
8928
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8929
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDConfigGet', 'xStoreID', xStoreID);
|
|
8930
|
+
const localVarPath = `/admin/Stores/{xStoreID}/config`
|
|
8931
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8901
8932
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8902
8933
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8903
8934
|
let baseOptions;
|
|
@@ -8918,95 +8949,91 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8918
8949
|
};
|
|
8919
8950
|
}),
|
|
8920
8951
|
/**
|
|
8921
|
-
*
|
|
8922
|
-
* @summary
|
|
8923
|
-
* @param {
|
|
8952
|
+
* Updates the store configuration using x-store ID
|
|
8953
|
+
* @summary Update Store Config
|
|
8954
|
+
* @param {string} xStoreID X-Store ID
|
|
8955
|
+
* @param {DataTypesIndexConfig} body Store configuration
|
|
8924
8956
|
* @param {*} [options] Override http request option.
|
|
8925
8957
|
* @throws {RequiredError}
|
|
8926
8958
|
*/
|
|
8927
|
-
|
|
8928
|
-
// verify required parameter '
|
|
8929
|
-
(0, common_1.assertParamExists)('
|
|
8930
|
-
|
|
8931
|
-
|
|
8959
|
+
adminStoresXStoreIDConfigPut: (xStoreID_1, body_1, ...args_1) => __awaiter(this, [xStoreID_1, body_1, ...args_1], void 0, function* (xStoreID, body, options = {}) {
|
|
8960
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8961
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDConfigPut', 'xStoreID', xStoreID);
|
|
8962
|
+
// verify required parameter 'body' is not null or undefined
|
|
8963
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDConfigPut', 'body', body);
|
|
8964
|
+
const localVarPath = `/admin/Stores/{xStoreID}/config`
|
|
8965
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8932
8966
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8933
8967
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8934
8968
|
let baseOptions;
|
|
8935
8969
|
if (configuration) {
|
|
8936
8970
|
baseOptions = configuration.baseOptions;
|
|
8937
8971
|
}
|
|
8938
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
8972
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
8939
8973
|
const localVarHeaderParameter = {};
|
|
8940
8974
|
const localVarQueryParameter = {};
|
|
8941
8975
|
// authentication BearerAuth required
|
|
8942
8976
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8977
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8943
8978
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8944
8979
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8945
8980
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8981
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
8946
8982
|
return {
|
|
8947
8983
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8948
8984
|
options: localVarRequestOptions,
|
|
8949
8985
|
};
|
|
8950
8986
|
}),
|
|
8951
8987
|
/**
|
|
8952
|
-
*
|
|
8953
|
-
* @summary
|
|
8954
|
-
* @param {
|
|
8955
|
-
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
8988
|
+
* Get metadata about all configurable fields for store configuration using x-store ID
|
|
8989
|
+
* @summary Get Store Config Schema
|
|
8990
|
+
* @param {string} xStoreID X-Store ID to get field options from
|
|
8956
8991
|
* @param {*} [options] Override http request option.
|
|
8957
8992
|
* @throws {RequiredError}
|
|
8958
8993
|
*/
|
|
8959
|
-
|
|
8960
|
-
// verify required parameter '
|
|
8961
|
-
(0, common_1.assertParamExists)('
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
const localVarPath = `/admin/Stores/{storeID}`
|
|
8965
|
-
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
8994
|
+
adminStoresXStoreIDConfigSchemaGet: (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)('adminStoresXStoreIDConfigSchemaGet', 'xStoreID', xStoreID);
|
|
8997
|
+
const localVarPath = `/admin/Stores/{xStoreID}/config-schema`
|
|
8998
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8966
8999
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8967
9000
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8968
9001
|
let baseOptions;
|
|
8969
9002
|
if (configuration) {
|
|
8970
9003
|
baseOptions = configuration.baseOptions;
|
|
8971
9004
|
}
|
|
8972
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
9005
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8973
9006
|
const localVarHeaderParameter = {};
|
|
8974
9007
|
const localVarQueryParameter = {};
|
|
8975
9008
|
// authentication BearerAuth required
|
|
8976
9009
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8977
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8978
9010
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8979
9011
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8980
9012
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8981
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(store, localVarRequestOptions, configuration);
|
|
8982
9013
|
return {
|
|
8983
9014
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8984
9015
|
options: localVarRequestOptions,
|
|
8985
9016
|
};
|
|
8986
9017
|
}),
|
|
8987
9018
|
/**
|
|
8988
|
-
*
|
|
8989
|
-
* @summary
|
|
8990
|
-
* @param {
|
|
8991
|
-
* @param {boolean} status status
|
|
9019
|
+
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
9020
|
+
* @summary Get Store Schema-Based Defaults
|
|
9021
|
+
* @param {string} xStoreID X-Store ID
|
|
8992
9022
|
* @param {*} [options] Override http request option.
|
|
8993
9023
|
* @throws {RequiredError}
|
|
8994
9024
|
*/
|
|
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)));
|
|
9025
|
+
adminStoresXStoreIDDefaultsGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
9026
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
9027
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDDefaultsGet', 'xStoreID', xStoreID);
|
|
9028
|
+
const localVarPath = `/admin/Stores/{xStoreID}/defaults`
|
|
9029
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
9003
9030
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9004
9031
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9005
9032
|
let baseOptions;
|
|
9006
9033
|
if (configuration) {
|
|
9007
9034
|
baseOptions = configuration.baseOptions;
|
|
9008
9035
|
}
|
|
9009
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
9036
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9010
9037
|
const localVarHeaderParameter = {};
|
|
9011
9038
|
const localVarQueryParameter = {};
|
|
9012
9039
|
// authentication BearerAuth required
|
|
@@ -9029,6 +9056,21 @@ exports.StoresApiAxiosParamCreator = StoresApiAxiosParamCreator;
|
|
|
9029
9056
|
const StoresApiFp = function (configuration) {
|
|
9030
9057
|
const localVarAxiosParamCreator = (0, exports.StoresApiAxiosParamCreator)(configuration);
|
|
9031
9058
|
return {
|
|
9059
|
+
/**
|
|
9060
|
+
* Fetches list of all stores for the authenticated user\'s organization
|
|
9061
|
+
* @summary Fetches list of all stores
|
|
9062
|
+
* @param {*} [options] Override http request option.
|
|
9063
|
+
* @throws {RequiredError}
|
|
9064
|
+
*/
|
|
9065
|
+
adminStoresGet(options) {
|
|
9066
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9067
|
+
var _a, _b, _c;
|
|
9068
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresGet(options);
|
|
9069
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9070
|
+
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;
|
|
9071
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9072
|
+
});
|
|
9073
|
+
},
|
|
9032
9074
|
/**
|
|
9033
9075
|
* Fetches stores by id
|
|
9034
9076
|
* @summary Fetches stores by id
|
|
@@ -9046,18 +9088,18 @@ const StoresApiFp = function (configuration) {
|
|
|
9046
9088
|
});
|
|
9047
9089
|
},
|
|
9048
9090
|
/**
|
|
9049
|
-
* Fetches
|
|
9050
|
-
* @summary Fetches
|
|
9051
|
-
* @param {
|
|
9091
|
+
* Fetches stores by xStoreID
|
|
9092
|
+
* @summary Fetches stores by xStoreID
|
|
9093
|
+
* @param {string} xStoreID X-Store ID
|
|
9052
9094
|
* @param {*} [options] Override http request option.
|
|
9053
9095
|
* @throws {RequiredError}
|
|
9054
9096
|
*/
|
|
9055
|
-
|
|
9097
|
+
adminStoresGetStoreXStoreIDGet(xStoreID, options) {
|
|
9056
9098
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9057
9099
|
var _a, _b, _c;
|
|
9058
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9100
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresGetStoreXStoreIDGet(xStoreID, options);
|
|
9059
9101
|
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.
|
|
9102
|
+
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
9103
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9062
9104
|
});
|
|
9063
9105
|
},
|
|
@@ -9078,101 +9120,101 @@ const StoresApiFp = function (configuration) {
|
|
|
9078
9120
|
});
|
|
9079
9121
|
},
|
|
9080
9122
|
/**
|
|
9081
|
-
*
|
|
9082
|
-
* @summary
|
|
9083
|
-
* @param {number} storeID
|
|
9123
|
+
* Updates store information by ID.
|
|
9124
|
+
* @summary Update an existing store
|
|
9125
|
+
* @param {number} storeID store ID
|
|
9126
|
+
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9084
9127
|
* @param {*} [options] Override http request option.
|
|
9085
9128
|
* @throws {RequiredError}
|
|
9086
9129
|
*/
|
|
9087
|
-
|
|
9130
|
+
adminStoresStoreIDPut(storeID, store, options) {
|
|
9088
9131
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9089
9132
|
var _a, _b, _c;
|
|
9090
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9133
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresStoreIDPut(storeID, store, options);
|
|
9091
9134
|
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.
|
|
9135
|
+
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
9136
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9094
9137
|
});
|
|
9095
9138
|
},
|
|
9096
9139
|
/**
|
|
9097
|
-
* Updates
|
|
9098
|
-
* @summary Update
|
|
9099
|
-
* @param {number}
|
|
9100
|
-
* @param {
|
|
9140
|
+
* Updates StoreStatus information by ID.
|
|
9141
|
+
* @summary Update an existing StoreStatus
|
|
9142
|
+
* @param {number} id Store ID
|
|
9143
|
+
* @param {boolean} status status
|
|
9101
9144
|
* @param {*} [options] Override http request option.
|
|
9102
9145
|
* @throws {RequiredError}
|
|
9103
9146
|
*/
|
|
9104
|
-
|
|
9147
|
+
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
9105
9148
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9106
9149
|
var _a, _b, _c;
|
|
9107
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9150
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresUpdateStatusIdStatusPut(id, status, options);
|
|
9108
9151
|
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.
|
|
9152
|
+
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
9153
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9111
9154
|
});
|
|
9112
9155
|
},
|
|
9113
9156
|
/**
|
|
9114
|
-
*
|
|
9115
|
-
* @summary Get Store Config
|
|
9116
|
-
* @param {
|
|
9157
|
+
* Retrieves the store configuration using x-store ID
|
|
9158
|
+
* @summary Get Store Config
|
|
9159
|
+
* @param {string} xStoreID X-Store ID
|
|
9117
9160
|
* @param {*} [options] Override http request option.
|
|
9118
9161
|
* @throws {RequiredError}
|
|
9119
9162
|
*/
|
|
9120
|
-
|
|
9163
|
+
adminStoresXStoreIDConfigGet(xStoreID, options) {
|
|
9121
9164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9122
9165
|
var _a, _b, _c;
|
|
9123
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9166
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDConfigGet(xStoreID, options);
|
|
9124
9167
|
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.
|
|
9168
|
+
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
9169
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9127
9170
|
});
|
|
9128
9171
|
},
|
|
9129
9172
|
/**
|
|
9130
|
-
*
|
|
9131
|
-
* @summary
|
|
9132
|
-
* @param {
|
|
9173
|
+
* Updates the store configuration using x-store ID
|
|
9174
|
+
* @summary Update Store Config
|
|
9175
|
+
* @param {string} xStoreID X-Store ID
|
|
9176
|
+
* @param {DataTypesIndexConfig} body Store configuration
|
|
9133
9177
|
* @param {*} [options] Override http request option.
|
|
9134
9178
|
* @throws {RequiredError}
|
|
9135
9179
|
*/
|
|
9136
|
-
|
|
9180
|
+
adminStoresXStoreIDConfigPut(xStoreID, body, options) {
|
|
9137
9181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9138
9182
|
var _a, _b, _c;
|
|
9139
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9183
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDConfigPut(xStoreID, body, options);
|
|
9140
9184
|
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.
|
|
9185
|
+
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
9186
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9143
9187
|
});
|
|
9144
9188
|
},
|
|
9145
9189
|
/**
|
|
9146
|
-
*
|
|
9147
|
-
* @summary
|
|
9148
|
-
* @param {
|
|
9149
|
-
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9190
|
+
* Get metadata about all configurable fields for store configuration using x-store ID
|
|
9191
|
+
* @summary Get Store Config Schema
|
|
9192
|
+
* @param {string} xStoreID X-Store ID to get field options from
|
|
9150
9193
|
* @param {*} [options] Override http request option.
|
|
9151
9194
|
* @throws {RequiredError}
|
|
9152
9195
|
*/
|
|
9153
|
-
|
|
9196
|
+
adminStoresXStoreIDConfigSchemaGet(xStoreID, options) {
|
|
9154
9197
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9155
9198
|
var _a, _b, _c;
|
|
9156
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9199
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDConfigSchemaGet(xStoreID, options);
|
|
9157
9200
|
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.
|
|
9201
|
+
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
9202
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9160
9203
|
});
|
|
9161
9204
|
},
|
|
9162
9205
|
/**
|
|
9163
|
-
*
|
|
9164
|
-
* @summary
|
|
9165
|
-
* @param {
|
|
9166
|
-
* @param {boolean} status status
|
|
9206
|
+
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
9207
|
+
* @summary Get Store Schema-Based Defaults
|
|
9208
|
+
* @param {string} xStoreID X-Store ID
|
|
9167
9209
|
* @param {*} [options] Override http request option.
|
|
9168
9210
|
* @throws {RequiredError}
|
|
9169
9211
|
*/
|
|
9170
|
-
|
|
9212
|
+
adminStoresXStoreIDDefaultsGet(xStoreID, options) {
|
|
9171
9213
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9172
9214
|
var _a, _b, _c;
|
|
9173
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9215
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDDefaultsGet(xStoreID, options);
|
|
9174
9216
|
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.
|
|
9217
|
+
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
9218
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9177
9219
|
});
|
|
9178
9220
|
},
|
|
@@ -9186,6 +9228,15 @@ exports.StoresApiFp = StoresApiFp;
|
|
|
9186
9228
|
const StoresApiFactory = function (configuration, basePath, axios) {
|
|
9187
9229
|
const localVarFp = (0, exports.StoresApiFp)(configuration);
|
|
9188
9230
|
return {
|
|
9231
|
+
/**
|
|
9232
|
+
* Fetches list of all stores for the authenticated user\'s organization
|
|
9233
|
+
* @summary Fetches list of all stores
|
|
9234
|
+
* @param {*} [options] Override http request option.
|
|
9235
|
+
* @throws {RequiredError}
|
|
9236
|
+
*/
|
|
9237
|
+
adminStoresGet(options) {
|
|
9238
|
+
return localVarFp.adminStoresGet(options).then((request) => request(axios, basePath));
|
|
9239
|
+
},
|
|
9189
9240
|
/**
|
|
9190
9241
|
* Fetches stores by id
|
|
9191
9242
|
* @summary Fetches stores by id
|
|
@@ -9197,14 +9248,14 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
9197
9248
|
return localVarFp.adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(axios, basePath));
|
|
9198
9249
|
},
|
|
9199
9250
|
/**
|
|
9200
|
-
* Fetches
|
|
9201
|
-
* @summary Fetches
|
|
9202
|
-
* @param {
|
|
9251
|
+
* Fetches stores by xStoreID
|
|
9252
|
+
* @summary Fetches stores by xStoreID
|
|
9253
|
+
* @param {string} xStoreID X-Store ID
|
|
9203
9254
|
* @param {*} [options] Override http request option.
|
|
9204
9255
|
* @throws {RequiredError}
|
|
9205
9256
|
*/
|
|
9206
|
-
|
|
9207
|
-
return localVarFp.
|
|
9257
|
+
adminStoresGetStoreXStoreIDGet(xStoreID, options) {
|
|
9258
|
+
return localVarFp.adminStoresGetStoreXStoreIDGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
9208
9259
|
},
|
|
9209
9260
|
/**
|
|
9210
9261
|
* Adds a new store to the system
|
|
@@ -9217,67 +9268,67 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
9217
9268
|
return localVarFp.adminStoresPost(store, options).then((request) => request(axios, basePath));
|
|
9218
9269
|
},
|
|
9219
9270
|
/**
|
|
9220
|
-
*
|
|
9221
|
-
* @summary
|
|
9222
|
-
* @param {number} storeID
|
|
9271
|
+
* Updates store information by ID.
|
|
9272
|
+
* @summary Update an existing store
|
|
9273
|
+
* @param {number} storeID store ID
|
|
9274
|
+
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9223
9275
|
* @param {*} [options] Override http request option.
|
|
9224
9276
|
* @throws {RequiredError}
|
|
9225
9277
|
*/
|
|
9226
|
-
|
|
9227
|
-
return localVarFp.
|
|
9278
|
+
adminStoresStoreIDPut(storeID, store, options) {
|
|
9279
|
+
return localVarFp.adminStoresStoreIDPut(storeID, store, options).then((request) => request(axios, basePath));
|
|
9228
9280
|
},
|
|
9229
9281
|
/**
|
|
9230
|
-
* Updates
|
|
9231
|
-
* @summary Update
|
|
9232
|
-
* @param {number}
|
|
9233
|
-
* @param {
|
|
9282
|
+
* Updates StoreStatus information by ID.
|
|
9283
|
+
* @summary Update an existing StoreStatus
|
|
9284
|
+
* @param {number} id Store ID
|
|
9285
|
+
* @param {boolean} status status
|
|
9234
9286
|
* @param {*} [options] Override http request option.
|
|
9235
9287
|
* @throws {RequiredError}
|
|
9236
9288
|
*/
|
|
9237
|
-
|
|
9238
|
-
return localVarFp.
|
|
9289
|
+
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
9290
|
+
return localVarFp.adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(axios, basePath));
|
|
9239
9291
|
},
|
|
9240
9292
|
/**
|
|
9241
|
-
*
|
|
9242
|
-
* @summary Get Store Config
|
|
9243
|
-
* @param {
|
|
9293
|
+
* Retrieves the store configuration using x-store ID
|
|
9294
|
+
* @summary Get Store Config
|
|
9295
|
+
* @param {string} xStoreID X-Store ID
|
|
9244
9296
|
* @param {*} [options] Override http request option.
|
|
9245
9297
|
* @throws {RequiredError}
|
|
9246
9298
|
*/
|
|
9247
|
-
|
|
9248
|
-
return localVarFp.
|
|
9299
|
+
adminStoresXStoreIDConfigGet(xStoreID, options) {
|
|
9300
|
+
return localVarFp.adminStoresXStoreIDConfigGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
9249
9301
|
},
|
|
9250
9302
|
/**
|
|
9251
|
-
*
|
|
9252
|
-
* @summary
|
|
9253
|
-
* @param {
|
|
9303
|
+
* Updates the store configuration using x-store ID
|
|
9304
|
+
* @summary Update Store Config
|
|
9305
|
+
* @param {string} xStoreID X-Store ID
|
|
9306
|
+
* @param {DataTypesIndexConfig} body Store configuration
|
|
9254
9307
|
* @param {*} [options] Override http request option.
|
|
9255
9308
|
* @throws {RequiredError}
|
|
9256
9309
|
*/
|
|
9257
|
-
|
|
9258
|
-
return localVarFp.
|
|
9310
|
+
adminStoresXStoreIDConfigPut(xStoreID, body, options) {
|
|
9311
|
+
return localVarFp.adminStoresXStoreIDConfigPut(xStoreID, body, options).then((request) => request(axios, basePath));
|
|
9259
9312
|
},
|
|
9260
9313
|
/**
|
|
9261
|
-
*
|
|
9262
|
-
* @summary
|
|
9263
|
-
* @param {
|
|
9264
|
-
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9314
|
+
* Get metadata about all configurable fields for store configuration using x-store ID
|
|
9315
|
+
* @summary Get Store Config Schema
|
|
9316
|
+
* @param {string} xStoreID X-Store ID to get field options from
|
|
9265
9317
|
* @param {*} [options] Override http request option.
|
|
9266
9318
|
* @throws {RequiredError}
|
|
9267
9319
|
*/
|
|
9268
|
-
|
|
9269
|
-
return localVarFp.
|
|
9320
|
+
adminStoresXStoreIDConfigSchemaGet(xStoreID, options) {
|
|
9321
|
+
return localVarFp.adminStoresXStoreIDConfigSchemaGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
9270
9322
|
},
|
|
9271
9323
|
/**
|
|
9272
|
-
*
|
|
9273
|
-
* @summary
|
|
9274
|
-
* @param {
|
|
9275
|
-
* @param {boolean} status status
|
|
9324
|
+
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
9325
|
+
* @summary Get Store Schema-Based Defaults
|
|
9326
|
+
* @param {string} xStoreID X-Store ID
|
|
9276
9327
|
* @param {*} [options] Override http request option.
|
|
9277
9328
|
* @throws {RequiredError}
|
|
9278
9329
|
*/
|
|
9279
|
-
|
|
9280
|
-
return localVarFp.
|
|
9330
|
+
adminStoresXStoreIDDefaultsGet(xStoreID, options) {
|
|
9331
|
+
return localVarFp.adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
9281
9332
|
},
|
|
9282
9333
|
};
|
|
9283
9334
|
};
|
|
@@ -9289,6 +9340,16 @@ exports.StoresApiFactory = StoresApiFactory;
|
|
|
9289
9340
|
* @extends {BaseAPI}
|
|
9290
9341
|
*/
|
|
9291
9342
|
class StoresApi extends base_1.BaseAPI {
|
|
9343
|
+
/**
|
|
9344
|
+
* Fetches list of all stores for the authenticated user\'s organization
|
|
9345
|
+
* @summary Fetches list of all stores
|
|
9346
|
+
* @param {*} [options] Override http request option.
|
|
9347
|
+
* @throws {RequiredError}
|
|
9348
|
+
* @memberof StoresApi
|
|
9349
|
+
*/
|
|
9350
|
+
adminStoresGet(options) {
|
|
9351
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresGet(options).then((request) => request(this.axios, this.basePath));
|
|
9352
|
+
}
|
|
9292
9353
|
/**
|
|
9293
9354
|
* Fetches stores by id
|
|
9294
9355
|
* @summary Fetches stores by id
|
|
@@ -9301,15 +9362,15 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
9301
9362
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(this.axios, this.basePath));
|
|
9302
9363
|
}
|
|
9303
9364
|
/**
|
|
9304
|
-
* Fetches
|
|
9305
|
-
* @summary Fetches
|
|
9306
|
-
* @param {
|
|
9365
|
+
* Fetches stores by xStoreID
|
|
9366
|
+
* @summary Fetches stores by xStoreID
|
|
9367
|
+
* @param {string} xStoreID X-Store ID
|
|
9307
9368
|
* @param {*} [options] Override http request option.
|
|
9308
9369
|
* @throws {RequiredError}
|
|
9309
9370
|
* @memberof StoresApi
|
|
9310
9371
|
*/
|
|
9311
|
-
|
|
9312
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9372
|
+
adminStoresGetStoreXStoreIDGet(xStoreID, options) {
|
|
9373
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresGetStoreXStoreIDGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
9313
9374
|
}
|
|
9314
9375
|
/**
|
|
9315
9376
|
* Adds a new store to the system
|
|
@@ -9323,73 +9384,73 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
9323
9384
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresPost(store, options).then((request) => request(this.axios, this.basePath));
|
|
9324
9385
|
}
|
|
9325
9386
|
/**
|
|
9326
|
-
*
|
|
9327
|
-
* @summary
|
|
9328
|
-
* @param {number} storeID
|
|
9387
|
+
* Updates store information by ID.
|
|
9388
|
+
* @summary Update an existing store
|
|
9389
|
+
* @param {number} storeID store ID
|
|
9390
|
+
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9329
9391
|
* @param {*} [options] Override http request option.
|
|
9330
9392
|
* @throws {RequiredError}
|
|
9331
9393
|
* @memberof StoresApi
|
|
9332
9394
|
*/
|
|
9333
|
-
|
|
9334
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9395
|
+
adminStoresStoreIDPut(storeID, store, options) {
|
|
9396
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresStoreIDPut(storeID, store, options).then((request) => request(this.axios, this.basePath));
|
|
9335
9397
|
}
|
|
9336
9398
|
/**
|
|
9337
|
-
* Updates
|
|
9338
|
-
* @summary Update
|
|
9339
|
-
* @param {number}
|
|
9340
|
-
* @param {
|
|
9399
|
+
* Updates StoreStatus information by ID.
|
|
9400
|
+
* @summary Update an existing StoreStatus
|
|
9401
|
+
* @param {number} id Store ID
|
|
9402
|
+
* @param {boolean} status status
|
|
9341
9403
|
* @param {*} [options] Override http request option.
|
|
9342
9404
|
* @throws {RequiredError}
|
|
9343
9405
|
* @memberof StoresApi
|
|
9344
9406
|
*/
|
|
9345
|
-
|
|
9346
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9407
|
+
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
9408
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(this.axios, this.basePath));
|
|
9347
9409
|
}
|
|
9348
9410
|
/**
|
|
9349
|
-
*
|
|
9350
|
-
* @summary Get Store Config
|
|
9351
|
-
* @param {
|
|
9411
|
+
* Retrieves the store configuration using x-store ID
|
|
9412
|
+
* @summary Get Store Config
|
|
9413
|
+
* @param {string} xStoreID X-Store ID
|
|
9352
9414
|
* @param {*} [options] Override http request option.
|
|
9353
9415
|
* @throws {RequiredError}
|
|
9354
9416
|
* @memberof StoresApi
|
|
9355
9417
|
*/
|
|
9356
|
-
|
|
9357
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9418
|
+
adminStoresXStoreIDConfigGet(xStoreID, options) {
|
|
9419
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDConfigGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
9358
9420
|
}
|
|
9359
9421
|
/**
|
|
9360
|
-
*
|
|
9361
|
-
* @summary
|
|
9362
|
-
* @param {
|
|
9422
|
+
* Updates the store configuration using x-store ID
|
|
9423
|
+
* @summary Update Store Config
|
|
9424
|
+
* @param {string} xStoreID X-Store ID
|
|
9425
|
+
* @param {DataTypesIndexConfig} body Store configuration
|
|
9363
9426
|
* @param {*} [options] Override http request option.
|
|
9364
9427
|
* @throws {RequiredError}
|
|
9365
9428
|
* @memberof StoresApi
|
|
9366
9429
|
*/
|
|
9367
|
-
|
|
9368
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9430
|
+
adminStoresXStoreIDConfigPut(xStoreID, body, options) {
|
|
9431
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDConfigPut(xStoreID, body, options).then((request) => request(this.axios, this.basePath));
|
|
9369
9432
|
}
|
|
9370
9433
|
/**
|
|
9371
|
-
*
|
|
9372
|
-
* @summary
|
|
9373
|
-
* @param {
|
|
9374
|
-
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9434
|
+
* Get metadata about all configurable fields for store configuration using x-store ID
|
|
9435
|
+
* @summary Get Store Config Schema
|
|
9436
|
+
* @param {string} xStoreID X-Store ID to get field options from
|
|
9375
9437
|
* @param {*} [options] Override http request option.
|
|
9376
9438
|
* @throws {RequiredError}
|
|
9377
9439
|
* @memberof StoresApi
|
|
9378
9440
|
*/
|
|
9379
|
-
|
|
9380
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9441
|
+
adminStoresXStoreIDConfigSchemaGet(xStoreID, options) {
|
|
9442
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDConfigSchemaGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
9381
9443
|
}
|
|
9382
9444
|
/**
|
|
9383
|
-
*
|
|
9384
|
-
* @summary
|
|
9385
|
-
* @param {
|
|
9386
|
-
* @param {boolean} status status
|
|
9445
|
+
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
9446
|
+
* @summary Get Store Schema-Based Defaults
|
|
9447
|
+
* @param {string} xStoreID X-Store ID
|
|
9387
9448
|
* @param {*} [options] Override http request option.
|
|
9388
9449
|
* @throws {RequiredError}
|
|
9389
9450
|
* @memberof StoresApi
|
|
9390
9451
|
*/
|
|
9391
|
-
|
|
9392
|
-
return (0, exports.StoresApiFp)(this.configuration).
|
|
9452
|
+
adminStoresXStoreIDDefaultsGet(xStoreID, options) {
|
|
9453
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
9393
9454
|
}
|
|
9394
9455
|
}
|
|
9395
9456
|
exports.StoresApi = StoresApi;
|