@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/esm/api.js
CHANGED
|
@@ -8100,18 +8100,18 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
8100
8100
|
/**
|
|
8101
8101
|
* Search documents with optional configuration override and autocomplete suggestions
|
|
8102
8102
|
* @summary Admin Search API
|
|
8103
|
-
* @param {
|
|
8103
|
+
* @param {string} xStoreID X-Store ID
|
|
8104
8104
|
* @param {DataTypesAdminSearchRequest} body Admin search request (set include_suggestions: true for autocomplete)
|
|
8105
8105
|
* @param {*} [options] Override http request option.
|
|
8106
8106
|
* @throws {RequiredError}
|
|
8107
8107
|
*/
|
|
8108
|
-
|
|
8109
|
-
// verify required parameter '
|
|
8110
|
-
assertParamExists('
|
|
8108
|
+
adminV1SearchXStoreIDPost: (xStoreID_1, body_1, ...args_1) => __awaiter(this, [xStoreID_1, body_1, ...args_1], void 0, function* (xStoreID, body, options = {}) {
|
|
8109
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8110
|
+
assertParamExists('adminV1SearchXStoreIDPost', 'xStoreID', xStoreID);
|
|
8111
8111
|
// verify required parameter 'body' is not null or undefined
|
|
8112
|
-
assertParamExists('
|
|
8113
|
-
const localVarPath = `/admin/v1/search/{
|
|
8114
|
-
.replace(`{${"
|
|
8112
|
+
assertParamExists('adminV1SearchXStoreIDPost', 'body', body);
|
|
8113
|
+
const localVarPath = `/admin/v1/search/{xStoreID}`
|
|
8114
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8115
8115
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8116
8116
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8117
8117
|
let baseOptions;
|
|
@@ -8346,17 +8346,17 @@ export const SearchApiFp = function (configuration) {
|
|
|
8346
8346
|
/**
|
|
8347
8347
|
* Search documents with optional configuration override and autocomplete suggestions
|
|
8348
8348
|
* @summary Admin Search API
|
|
8349
|
-
* @param {
|
|
8349
|
+
* @param {string} xStoreID X-Store ID
|
|
8350
8350
|
* @param {DataTypesAdminSearchRequest} body Admin search request (set include_suggestions: true for autocomplete)
|
|
8351
8351
|
* @param {*} [options] Override http request option.
|
|
8352
8352
|
* @throws {RequiredError}
|
|
8353
8353
|
*/
|
|
8354
|
-
|
|
8354
|
+
adminV1SearchXStoreIDPost(xStoreID, body, options) {
|
|
8355
8355
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8356
8356
|
var _a, _b, _c;
|
|
8357
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
8357
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1SearchXStoreIDPost(xStoreID, body, options);
|
|
8358
8358
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8359
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SearchApi.
|
|
8359
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SearchApi.adminV1SearchXStoreIDPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8360
8360
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8361
8361
|
});
|
|
8362
8362
|
},
|
|
@@ -8473,13 +8473,13 @@ export const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
8473
8473
|
/**
|
|
8474
8474
|
* Search documents with optional configuration override and autocomplete suggestions
|
|
8475
8475
|
* @summary Admin Search API
|
|
8476
|
-
* @param {
|
|
8476
|
+
* @param {string} xStoreID X-Store ID
|
|
8477
8477
|
* @param {DataTypesAdminSearchRequest} body Admin search request (set include_suggestions: true for autocomplete)
|
|
8478
8478
|
* @param {*} [options] Override http request option.
|
|
8479
8479
|
* @throws {RequiredError}
|
|
8480
8480
|
*/
|
|
8481
|
-
|
|
8482
|
-
return localVarFp.
|
|
8481
|
+
adminV1SearchXStoreIDPost(xStoreID, body, options) {
|
|
8482
|
+
return localVarFp.adminV1SearchXStoreIDPost(xStoreID, body, options).then((request) => request(axios, basePath));
|
|
8483
8483
|
},
|
|
8484
8484
|
/**
|
|
8485
8485
|
* Get metadata about all configurable fields for dynamic form generation
|
|
@@ -8558,14 +8558,14 @@ export class SearchApi extends BaseAPI {
|
|
|
8558
8558
|
/**
|
|
8559
8559
|
* Search documents with optional configuration override and autocomplete suggestions
|
|
8560
8560
|
* @summary Admin Search API
|
|
8561
|
-
* @param {
|
|
8561
|
+
* @param {string} xStoreID X-Store ID
|
|
8562
8562
|
* @param {DataTypesAdminSearchRequest} body Admin search request (set include_suggestions: true for autocomplete)
|
|
8563
8563
|
* @param {*} [options] Override http request option.
|
|
8564
8564
|
* @throws {RequiredError}
|
|
8565
8565
|
* @memberof SearchApi
|
|
8566
8566
|
*/
|
|
8567
|
-
|
|
8568
|
-
return SearchApiFp(this.configuration).
|
|
8567
|
+
adminV1SearchXStoreIDPost(xStoreID, body, options) {
|
|
8568
|
+
return SearchApiFp(this.configuration).adminV1SearchXStoreIDPost(xStoreID, body, options).then((request) => request(this.axios, this.basePath));
|
|
8569
8569
|
}
|
|
8570
8570
|
/**
|
|
8571
8571
|
* Get metadata about all configurable fields for dynamic form generation
|
|
@@ -8645,6 +8645,33 @@ export class SearchApi extends BaseAPI {
|
|
|
8645
8645
|
*/
|
|
8646
8646
|
export const StoresApiAxiosParamCreator = function (configuration) {
|
|
8647
8647
|
return {
|
|
8648
|
+
/**
|
|
8649
|
+
* Fetches list of all stores for the authenticated user\'s organization
|
|
8650
|
+
* @summary Fetches list of all stores
|
|
8651
|
+
* @param {*} [options] Override http request option.
|
|
8652
|
+
* @throws {RequiredError}
|
|
8653
|
+
*/
|
|
8654
|
+
adminStoresGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
8655
|
+
const localVarPath = `/admin/Stores`;
|
|
8656
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8657
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8658
|
+
let baseOptions;
|
|
8659
|
+
if (configuration) {
|
|
8660
|
+
baseOptions = configuration.baseOptions;
|
|
8661
|
+
}
|
|
8662
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8663
|
+
const localVarHeaderParameter = {};
|
|
8664
|
+
const localVarQueryParameter = {};
|
|
8665
|
+
// authentication BearerAuth required
|
|
8666
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8667
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8668
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8669
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8670
|
+
return {
|
|
8671
|
+
url: toPathString(localVarUrlObj),
|
|
8672
|
+
options: localVarRequestOptions,
|
|
8673
|
+
};
|
|
8674
|
+
}),
|
|
8648
8675
|
/**
|
|
8649
8676
|
* Fetches stores by id
|
|
8650
8677
|
* @summary Fetches stores by id
|
|
@@ -8677,17 +8704,17 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8677
8704
|
};
|
|
8678
8705
|
}),
|
|
8679
8706
|
/**
|
|
8680
|
-
* Fetches
|
|
8681
|
-
* @summary Fetches
|
|
8682
|
-
* @param {
|
|
8707
|
+
* Fetches stores by xStoreID
|
|
8708
|
+
* @summary Fetches stores by xStoreID
|
|
8709
|
+
* @param {string} xStoreID X-Store ID
|
|
8683
8710
|
* @param {*} [options] Override http request option.
|
|
8684
8711
|
* @throws {RequiredError}
|
|
8685
8712
|
*/
|
|
8686
|
-
|
|
8687
|
-
// verify required parameter '
|
|
8688
|
-
assertParamExists('
|
|
8689
|
-
const localVarPath = `/admin/Stores/{
|
|
8690
|
-
.replace(`{${"
|
|
8713
|
+
adminStoresGetStoreXStoreIDGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
8714
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8715
|
+
assertParamExists('adminStoresGetStoreXStoreIDGet', 'xStoreID', xStoreID);
|
|
8716
|
+
const localVarPath = `/admin/Stores/GetStore/{xStoreID}`
|
|
8717
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8691
8718
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8692
8719
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8693
8720
|
let baseOptions;
|
|
@@ -8740,16 +8767,19 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8740
8767
|
};
|
|
8741
8768
|
}),
|
|
8742
8769
|
/**
|
|
8743
|
-
*
|
|
8744
|
-
* @summary
|
|
8745
|
-
* @param {number} storeID
|
|
8770
|
+
* Updates store information by ID.
|
|
8771
|
+
* @summary Update an existing store
|
|
8772
|
+
* @param {number} storeID store ID
|
|
8773
|
+
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
8746
8774
|
* @param {*} [options] Override http request option.
|
|
8747
8775
|
* @throws {RequiredError}
|
|
8748
8776
|
*/
|
|
8749
|
-
|
|
8777
|
+
adminStoresStoreIDPut: (storeID_1, store_1, ...args_1) => __awaiter(this, [storeID_1, store_1, ...args_1], void 0, function* (storeID, store, options = {}) {
|
|
8750
8778
|
// verify required parameter 'storeID' is not null or undefined
|
|
8751
|
-
assertParamExists('
|
|
8752
|
-
|
|
8779
|
+
assertParamExists('adminStoresStoreIDPut', 'storeID', storeID);
|
|
8780
|
+
// verify required parameter 'store' is not null or undefined
|
|
8781
|
+
assertParamExists('adminStoresStoreIDPut', 'store', store);
|
|
8782
|
+
const localVarPath = `/admin/Stores/{storeID}`
|
|
8753
8783
|
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
8754
8784
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8755
8785
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8757,34 +8787,37 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8757
8787
|
if (configuration) {
|
|
8758
8788
|
baseOptions = configuration.baseOptions;
|
|
8759
8789
|
}
|
|
8760
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
8790
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
8761
8791
|
const localVarHeaderParameter = {};
|
|
8762
8792
|
const localVarQueryParameter = {};
|
|
8763
8793
|
// authentication BearerAuth required
|
|
8764
8794
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8795
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8765
8796
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8766
8797
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8767
8798
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8799
|
+
localVarRequestOptions.data = serializeDataIfNeeded(store, localVarRequestOptions, configuration);
|
|
8768
8800
|
return {
|
|
8769
8801
|
url: toPathString(localVarUrlObj),
|
|
8770
8802
|
options: localVarRequestOptions,
|
|
8771
8803
|
};
|
|
8772
8804
|
}),
|
|
8773
8805
|
/**
|
|
8774
|
-
* Updates
|
|
8775
|
-
* @summary Update
|
|
8776
|
-
* @param {number}
|
|
8777
|
-
* @param {
|
|
8806
|
+
* Updates StoreStatus information by ID.
|
|
8807
|
+
* @summary Update an existing StoreStatus
|
|
8808
|
+
* @param {number} id Store ID
|
|
8809
|
+
* @param {boolean} status status
|
|
8778
8810
|
* @param {*} [options] Override http request option.
|
|
8779
8811
|
* @throws {RequiredError}
|
|
8780
8812
|
*/
|
|
8781
|
-
|
|
8782
|
-
// verify required parameter '
|
|
8783
|
-
assertParamExists('
|
|
8784
|
-
// verify required parameter '
|
|
8785
|
-
assertParamExists('
|
|
8786
|
-
const localVarPath = `/admin/Stores/{
|
|
8787
|
-
.replace(`{${"
|
|
8813
|
+
adminStoresUpdateStatusIdStatusPut: (id_1, status_1, ...args_1) => __awaiter(this, [id_1, status_1, ...args_1], void 0, function* (id, status, options = {}) {
|
|
8814
|
+
// verify required parameter 'id' is not null or undefined
|
|
8815
|
+
assertParamExists('adminStoresUpdateStatusIdStatusPut', 'id', id);
|
|
8816
|
+
// verify required parameter 'status' is not null or undefined
|
|
8817
|
+
assertParamExists('adminStoresUpdateStatusIdStatusPut', 'status', status);
|
|
8818
|
+
const localVarPath = `/admin/Stores/UpdateStatus/{id}/{status}`
|
|
8819
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
8820
|
+
.replace(`{${"status"}}`, encodeURIComponent(String(status)));
|
|
8788
8821
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8789
8822
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8790
8823
|
let baseOptions;
|
|
@@ -8796,28 +8829,26 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8796
8829
|
const localVarQueryParameter = {};
|
|
8797
8830
|
// authentication BearerAuth required
|
|
8798
8831
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8799
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8800
8832
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8801
8833
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8802
8834
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8803
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
8804
8835
|
return {
|
|
8805
8836
|
url: toPathString(localVarUrlObj),
|
|
8806
8837
|
options: localVarRequestOptions,
|
|
8807
8838
|
};
|
|
8808
8839
|
}),
|
|
8809
8840
|
/**
|
|
8810
|
-
*
|
|
8811
|
-
* @summary Get Store Config
|
|
8812
|
-
* @param {
|
|
8841
|
+
* Retrieves the store configuration using x-store ID
|
|
8842
|
+
* @summary Get Store Config
|
|
8843
|
+
* @param {string} xStoreID X-Store ID
|
|
8813
8844
|
* @param {*} [options] Override http request option.
|
|
8814
8845
|
* @throws {RequiredError}
|
|
8815
8846
|
*/
|
|
8816
|
-
|
|
8817
|
-
// verify required parameter '
|
|
8818
|
-
assertParamExists('
|
|
8819
|
-
const localVarPath = `/admin/Stores/{
|
|
8820
|
-
.replace(`{${"
|
|
8847
|
+
adminStoresXStoreIDConfigGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
8848
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8849
|
+
assertParamExists('adminStoresXStoreIDConfigGet', 'xStoreID', xStoreID);
|
|
8850
|
+
const localVarPath = `/admin/Stores/{xStoreID}/config`
|
|
8851
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8821
8852
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8822
8853
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8823
8854
|
let baseOptions;
|
|
@@ -8838,95 +8869,91 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8838
8869
|
};
|
|
8839
8870
|
}),
|
|
8840
8871
|
/**
|
|
8841
|
-
*
|
|
8842
|
-
* @summary
|
|
8843
|
-
* @param {
|
|
8872
|
+
* Updates the store configuration using x-store ID
|
|
8873
|
+
* @summary Update Store Config
|
|
8874
|
+
* @param {string} xStoreID X-Store ID
|
|
8875
|
+
* @param {DataTypesIndexConfig} body Store configuration
|
|
8844
8876
|
* @param {*} [options] Override http request option.
|
|
8845
8877
|
* @throws {RequiredError}
|
|
8846
8878
|
*/
|
|
8847
|
-
|
|
8848
|
-
// verify required parameter '
|
|
8849
|
-
assertParamExists('
|
|
8850
|
-
|
|
8851
|
-
|
|
8879
|
+
adminStoresXStoreIDConfigPut: (xStoreID_1, body_1, ...args_1) => __awaiter(this, [xStoreID_1, body_1, ...args_1], void 0, function* (xStoreID, body, options = {}) {
|
|
8880
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8881
|
+
assertParamExists('adminStoresXStoreIDConfigPut', 'xStoreID', xStoreID);
|
|
8882
|
+
// verify required parameter 'body' is not null or undefined
|
|
8883
|
+
assertParamExists('adminStoresXStoreIDConfigPut', 'body', body);
|
|
8884
|
+
const localVarPath = `/admin/Stores/{xStoreID}/config`
|
|
8885
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8852
8886
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8853
8887
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8854
8888
|
let baseOptions;
|
|
8855
8889
|
if (configuration) {
|
|
8856
8890
|
baseOptions = configuration.baseOptions;
|
|
8857
8891
|
}
|
|
8858
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
8892
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
8859
8893
|
const localVarHeaderParameter = {};
|
|
8860
8894
|
const localVarQueryParameter = {};
|
|
8861
8895
|
// authentication BearerAuth required
|
|
8862
8896
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8897
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8863
8898
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8864
8899
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8865
8900
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8901
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
8866
8902
|
return {
|
|
8867
8903
|
url: toPathString(localVarUrlObj),
|
|
8868
8904
|
options: localVarRequestOptions,
|
|
8869
8905
|
};
|
|
8870
8906
|
}),
|
|
8871
8907
|
/**
|
|
8872
|
-
*
|
|
8873
|
-
* @summary
|
|
8874
|
-
* @param {
|
|
8875
|
-
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
8908
|
+
* Get metadata about all configurable fields for store configuration using x-store ID
|
|
8909
|
+
* @summary Get Store Config Schema
|
|
8910
|
+
* @param {string} xStoreID X-Store ID to get field options from
|
|
8876
8911
|
* @param {*} [options] Override http request option.
|
|
8877
8912
|
* @throws {RequiredError}
|
|
8878
8913
|
*/
|
|
8879
|
-
|
|
8880
|
-
// verify required parameter '
|
|
8881
|
-
assertParamExists('
|
|
8882
|
-
|
|
8883
|
-
|
|
8884
|
-
const localVarPath = `/admin/Stores/{storeID}`
|
|
8885
|
-
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
8914
|
+
adminStoresXStoreIDConfigSchemaGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
8915
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8916
|
+
assertParamExists('adminStoresXStoreIDConfigSchemaGet', 'xStoreID', xStoreID);
|
|
8917
|
+
const localVarPath = `/admin/Stores/{xStoreID}/config-schema`
|
|
8918
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8886
8919
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8887
8920
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8888
8921
|
let baseOptions;
|
|
8889
8922
|
if (configuration) {
|
|
8890
8923
|
baseOptions = configuration.baseOptions;
|
|
8891
8924
|
}
|
|
8892
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
8925
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8893
8926
|
const localVarHeaderParameter = {};
|
|
8894
8927
|
const localVarQueryParameter = {};
|
|
8895
8928
|
// authentication BearerAuth required
|
|
8896
8929
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8897
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8898
8930
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8899
8931
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8900
8932
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8901
|
-
localVarRequestOptions.data = serializeDataIfNeeded(store, localVarRequestOptions, configuration);
|
|
8902
8933
|
return {
|
|
8903
8934
|
url: toPathString(localVarUrlObj),
|
|
8904
8935
|
options: localVarRequestOptions,
|
|
8905
8936
|
};
|
|
8906
8937
|
}),
|
|
8907
8938
|
/**
|
|
8908
|
-
*
|
|
8909
|
-
* @summary
|
|
8910
|
-
* @param {
|
|
8911
|
-
* @param {boolean} status status
|
|
8939
|
+
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
8940
|
+
* @summary Get Store Schema-Based Defaults
|
|
8941
|
+
* @param {string} xStoreID X-Store ID
|
|
8912
8942
|
* @param {*} [options] Override http request option.
|
|
8913
8943
|
* @throws {RequiredError}
|
|
8914
8944
|
*/
|
|
8915
|
-
|
|
8916
|
-
// verify required parameter '
|
|
8917
|
-
assertParamExists('
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
const localVarPath = `/admin/Stores/UpdateStatus/{id}/{status}`
|
|
8921
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
8922
|
-
.replace(`{${"status"}}`, encodeURIComponent(String(status)));
|
|
8945
|
+
adminStoresXStoreIDDefaultsGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
8946
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
8947
|
+
assertParamExists('adminStoresXStoreIDDefaultsGet', 'xStoreID', xStoreID);
|
|
8948
|
+
const localVarPath = `/admin/Stores/{xStoreID}/defaults`
|
|
8949
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
8923
8950
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8924
8951
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8925
8952
|
let baseOptions;
|
|
8926
8953
|
if (configuration) {
|
|
8927
8954
|
baseOptions = configuration.baseOptions;
|
|
8928
8955
|
}
|
|
8929
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
8956
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8930
8957
|
const localVarHeaderParameter = {};
|
|
8931
8958
|
const localVarQueryParameter = {};
|
|
8932
8959
|
// authentication BearerAuth required
|
|
@@ -8948,6 +8975,21 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8948
8975
|
export const StoresApiFp = function (configuration) {
|
|
8949
8976
|
const localVarAxiosParamCreator = StoresApiAxiosParamCreator(configuration);
|
|
8950
8977
|
return {
|
|
8978
|
+
/**
|
|
8979
|
+
* Fetches list of all stores for the authenticated user\'s organization
|
|
8980
|
+
* @summary Fetches list of all stores
|
|
8981
|
+
* @param {*} [options] Override http request option.
|
|
8982
|
+
* @throws {RequiredError}
|
|
8983
|
+
*/
|
|
8984
|
+
adminStoresGet(options) {
|
|
8985
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8986
|
+
var _a, _b, _c;
|
|
8987
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresGet(options);
|
|
8988
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8989
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8990
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8991
|
+
});
|
|
8992
|
+
},
|
|
8951
8993
|
/**
|
|
8952
8994
|
* Fetches stores by id
|
|
8953
8995
|
* @summary Fetches stores by id
|
|
@@ -8965,18 +9007,18 @@ export const StoresApiFp = function (configuration) {
|
|
|
8965
9007
|
});
|
|
8966
9008
|
},
|
|
8967
9009
|
/**
|
|
8968
|
-
* Fetches
|
|
8969
|
-
* @summary Fetches
|
|
8970
|
-
* @param {
|
|
9010
|
+
* Fetches stores by xStoreID
|
|
9011
|
+
* @summary Fetches stores by xStoreID
|
|
9012
|
+
* @param {string} xStoreID X-Store ID
|
|
8971
9013
|
* @param {*} [options] Override http request option.
|
|
8972
9014
|
* @throws {RequiredError}
|
|
8973
9015
|
*/
|
|
8974
|
-
|
|
9016
|
+
adminStoresGetStoreXStoreIDGet(xStoreID, options) {
|
|
8975
9017
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8976
9018
|
var _a, _b, _c;
|
|
8977
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9019
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresGetStoreXStoreIDGet(xStoreID, options);
|
|
8978
9020
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8979
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.
|
|
9021
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresGetStoreXStoreIDGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8980
9022
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8981
9023
|
});
|
|
8982
9024
|
},
|
|
@@ -8997,101 +9039,101 @@ export const StoresApiFp = function (configuration) {
|
|
|
8997
9039
|
});
|
|
8998
9040
|
},
|
|
8999
9041
|
/**
|
|
9000
|
-
*
|
|
9001
|
-
* @summary
|
|
9002
|
-
* @param {number} storeID
|
|
9042
|
+
* Updates store information by ID.
|
|
9043
|
+
* @summary Update an existing store
|
|
9044
|
+
* @param {number} storeID store ID
|
|
9045
|
+
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9003
9046
|
* @param {*} [options] Override http request option.
|
|
9004
9047
|
* @throws {RequiredError}
|
|
9005
9048
|
*/
|
|
9006
|
-
|
|
9049
|
+
adminStoresStoreIDPut(storeID, store, options) {
|
|
9007
9050
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9008
9051
|
var _a, _b, _c;
|
|
9009
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9052
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresStoreIDPut(storeID, store, options);
|
|
9010
9053
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9011
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.
|
|
9054
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresStoreIDPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9012
9055
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9013
9056
|
});
|
|
9014
9057
|
},
|
|
9015
9058
|
/**
|
|
9016
|
-
* Updates
|
|
9017
|
-
* @summary Update
|
|
9018
|
-
* @param {number}
|
|
9019
|
-
* @param {
|
|
9059
|
+
* Updates StoreStatus information by ID.
|
|
9060
|
+
* @summary Update an existing StoreStatus
|
|
9061
|
+
* @param {number} id Store ID
|
|
9062
|
+
* @param {boolean} status status
|
|
9020
9063
|
* @param {*} [options] Override http request option.
|
|
9021
9064
|
* @throws {RequiredError}
|
|
9022
9065
|
*/
|
|
9023
|
-
|
|
9066
|
+
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
9024
9067
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9025
9068
|
var _a, _b, _c;
|
|
9026
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9069
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresUpdateStatusIdStatusPut(id, status, options);
|
|
9027
9070
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9028
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.
|
|
9071
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresUpdateStatusIdStatusPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9029
9072
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9030
9073
|
});
|
|
9031
9074
|
},
|
|
9032
9075
|
/**
|
|
9033
|
-
*
|
|
9034
|
-
* @summary Get Store Config
|
|
9035
|
-
* @param {
|
|
9076
|
+
* Retrieves the store configuration using x-store ID
|
|
9077
|
+
* @summary Get Store Config
|
|
9078
|
+
* @param {string} xStoreID X-Store ID
|
|
9036
9079
|
* @param {*} [options] Override http request option.
|
|
9037
9080
|
* @throws {RequiredError}
|
|
9038
9081
|
*/
|
|
9039
|
-
|
|
9082
|
+
adminStoresXStoreIDConfigGet(xStoreID, options) {
|
|
9040
9083
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9041
9084
|
var _a, _b, _c;
|
|
9042
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9085
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDConfigGet(xStoreID, options);
|
|
9043
9086
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9044
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.
|
|
9087
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresXStoreIDConfigGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9045
9088
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9046
9089
|
});
|
|
9047
9090
|
},
|
|
9048
9091
|
/**
|
|
9049
|
-
*
|
|
9050
|
-
* @summary
|
|
9051
|
-
* @param {
|
|
9092
|
+
* Updates the store configuration using x-store ID
|
|
9093
|
+
* @summary Update Store Config
|
|
9094
|
+
* @param {string} xStoreID X-Store ID
|
|
9095
|
+
* @param {DataTypesIndexConfig} body Store configuration
|
|
9052
9096
|
* @param {*} [options] Override http request option.
|
|
9053
9097
|
* @throws {RequiredError}
|
|
9054
9098
|
*/
|
|
9055
|
-
|
|
9099
|
+
adminStoresXStoreIDConfigPut(xStoreID, body, options) {
|
|
9056
9100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9057
9101
|
var _a, _b, _c;
|
|
9058
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9102
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDConfigPut(xStoreID, body, options);
|
|
9059
9103
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9060
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.
|
|
9104
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresXStoreIDConfigPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9061
9105
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9062
9106
|
});
|
|
9063
9107
|
},
|
|
9064
9108
|
/**
|
|
9065
|
-
*
|
|
9066
|
-
* @summary
|
|
9067
|
-
* @param {
|
|
9068
|
-
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9109
|
+
* Get metadata about all configurable fields for store configuration using x-store ID
|
|
9110
|
+
* @summary Get Store Config Schema
|
|
9111
|
+
* @param {string} xStoreID X-Store ID to get field options from
|
|
9069
9112
|
* @param {*} [options] Override http request option.
|
|
9070
9113
|
* @throws {RequiredError}
|
|
9071
9114
|
*/
|
|
9072
|
-
|
|
9115
|
+
adminStoresXStoreIDConfigSchemaGet(xStoreID, options) {
|
|
9073
9116
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9074
9117
|
var _a, _b, _c;
|
|
9075
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9118
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDConfigSchemaGet(xStoreID, options);
|
|
9076
9119
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9077
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.
|
|
9120
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresXStoreIDConfigSchemaGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9078
9121
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9079
9122
|
});
|
|
9080
9123
|
},
|
|
9081
9124
|
/**
|
|
9082
|
-
*
|
|
9083
|
-
* @summary
|
|
9084
|
-
* @param {
|
|
9085
|
-
* @param {boolean} status status
|
|
9125
|
+
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
9126
|
+
* @summary Get Store Schema-Based Defaults
|
|
9127
|
+
* @param {string} xStoreID X-Store ID
|
|
9086
9128
|
* @param {*} [options] Override http request option.
|
|
9087
9129
|
* @throws {RequiredError}
|
|
9088
9130
|
*/
|
|
9089
|
-
|
|
9131
|
+
adminStoresXStoreIDDefaultsGet(xStoreID, options) {
|
|
9090
9132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9091
9133
|
var _a, _b, _c;
|
|
9092
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9134
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDDefaultsGet(xStoreID, options);
|
|
9093
9135
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9094
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.
|
|
9136
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresXStoreIDDefaultsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9095
9137
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9096
9138
|
});
|
|
9097
9139
|
},
|
|
@@ -9104,6 +9146,15 @@ export const StoresApiFp = function (configuration) {
|
|
|
9104
9146
|
export const StoresApiFactory = function (configuration, basePath, axios) {
|
|
9105
9147
|
const localVarFp = StoresApiFp(configuration);
|
|
9106
9148
|
return {
|
|
9149
|
+
/**
|
|
9150
|
+
* Fetches list of all stores for the authenticated user\'s organization
|
|
9151
|
+
* @summary Fetches list of all stores
|
|
9152
|
+
* @param {*} [options] Override http request option.
|
|
9153
|
+
* @throws {RequiredError}
|
|
9154
|
+
*/
|
|
9155
|
+
adminStoresGet(options) {
|
|
9156
|
+
return localVarFp.adminStoresGet(options).then((request) => request(axios, basePath));
|
|
9157
|
+
},
|
|
9107
9158
|
/**
|
|
9108
9159
|
* Fetches stores by id
|
|
9109
9160
|
* @summary Fetches stores by id
|
|
@@ -9115,14 +9166,14 @@ export const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
9115
9166
|
return localVarFp.adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(axios, basePath));
|
|
9116
9167
|
},
|
|
9117
9168
|
/**
|
|
9118
|
-
* Fetches
|
|
9119
|
-
* @summary Fetches
|
|
9120
|
-
* @param {
|
|
9169
|
+
* Fetches stores by xStoreID
|
|
9170
|
+
* @summary Fetches stores by xStoreID
|
|
9171
|
+
* @param {string} xStoreID X-Store ID
|
|
9121
9172
|
* @param {*} [options] Override http request option.
|
|
9122
9173
|
* @throws {RequiredError}
|
|
9123
9174
|
*/
|
|
9124
|
-
|
|
9125
|
-
return localVarFp.
|
|
9175
|
+
adminStoresGetStoreXStoreIDGet(xStoreID, options) {
|
|
9176
|
+
return localVarFp.adminStoresGetStoreXStoreIDGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
9126
9177
|
},
|
|
9127
9178
|
/**
|
|
9128
9179
|
* Adds a new store to the system
|
|
@@ -9135,67 +9186,67 @@ export const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
9135
9186
|
return localVarFp.adminStoresPost(store, options).then((request) => request(axios, basePath));
|
|
9136
9187
|
},
|
|
9137
9188
|
/**
|
|
9138
|
-
*
|
|
9139
|
-
* @summary
|
|
9140
|
-
* @param {number} storeID
|
|
9189
|
+
* Updates store information by ID.
|
|
9190
|
+
* @summary Update an existing store
|
|
9191
|
+
* @param {number} storeID store ID
|
|
9192
|
+
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9141
9193
|
* @param {*} [options] Override http request option.
|
|
9142
9194
|
* @throws {RequiredError}
|
|
9143
9195
|
*/
|
|
9144
|
-
|
|
9145
|
-
return localVarFp.
|
|
9196
|
+
adminStoresStoreIDPut(storeID, store, options) {
|
|
9197
|
+
return localVarFp.adminStoresStoreIDPut(storeID, store, options).then((request) => request(axios, basePath));
|
|
9146
9198
|
},
|
|
9147
9199
|
/**
|
|
9148
|
-
* Updates
|
|
9149
|
-
* @summary Update
|
|
9150
|
-
* @param {number}
|
|
9151
|
-
* @param {
|
|
9200
|
+
* Updates StoreStatus information by ID.
|
|
9201
|
+
* @summary Update an existing StoreStatus
|
|
9202
|
+
* @param {number} id Store ID
|
|
9203
|
+
* @param {boolean} status status
|
|
9152
9204
|
* @param {*} [options] Override http request option.
|
|
9153
9205
|
* @throws {RequiredError}
|
|
9154
9206
|
*/
|
|
9155
|
-
|
|
9156
|
-
return localVarFp.
|
|
9207
|
+
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
9208
|
+
return localVarFp.adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(axios, basePath));
|
|
9157
9209
|
},
|
|
9158
9210
|
/**
|
|
9159
|
-
*
|
|
9160
|
-
* @summary Get Store Config
|
|
9161
|
-
* @param {
|
|
9211
|
+
* Retrieves the store configuration using x-store ID
|
|
9212
|
+
* @summary Get Store Config
|
|
9213
|
+
* @param {string} xStoreID X-Store ID
|
|
9162
9214
|
* @param {*} [options] Override http request option.
|
|
9163
9215
|
* @throws {RequiredError}
|
|
9164
9216
|
*/
|
|
9165
|
-
|
|
9166
|
-
return localVarFp.
|
|
9217
|
+
adminStoresXStoreIDConfigGet(xStoreID, options) {
|
|
9218
|
+
return localVarFp.adminStoresXStoreIDConfigGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
9167
9219
|
},
|
|
9168
9220
|
/**
|
|
9169
|
-
*
|
|
9170
|
-
* @summary
|
|
9171
|
-
* @param {
|
|
9221
|
+
* Updates the store configuration using x-store ID
|
|
9222
|
+
* @summary Update Store Config
|
|
9223
|
+
* @param {string} xStoreID X-Store ID
|
|
9224
|
+
* @param {DataTypesIndexConfig} body Store configuration
|
|
9172
9225
|
* @param {*} [options] Override http request option.
|
|
9173
9226
|
* @throws {RequiredError}
|
|
9174
9227
|
*/
|
|
9175
|
-
|
|
9176
|
-
return localVarFp.
|
|
9228
|
+
adminStoresXStoreIDConfigPut(xStoreID, body, options) {
|
|
9229
|
+
return localVarFp.adminStoresXStoreIDConfigPut(xStoreID, body, options).then((request) => request(axios, basePath));
|
|
9177
9230
|
},
|
|
9178
9231
|
/**
|
|
9179
|
-
*
|
|
9180
|
-
* @summary
|
|
9181
|
-
* @param {
|
|
9182
|
-
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9232
|
+
* Get metadata about all configurable fields for store configuration using x-store ID
|
|
9233
|
+
* @summary Get Store Config Schema
|
|
9234
|
+
* @param {string} xStoreID X-Store ID to get field options from
|
|
9183
9235
|
* @param {*} [options] Override http request option.
|
|
9184
9236
|
* @throws {RequiredError}
|
|
9185
9237
|
*/
|
|
9186
|
-
|
|
9187
|
-
return localVarFp.
|
|
9238
|
+
adminStoresXStoreIDConfigSchemaGet(xStoreID, options) {
|
|
9239
|
+
return localVarFp.adminStoresXStoreIDConfigSchemaGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
9188
9240
|
},
|
|
9189
9241
|
/**
|
|
9190
|
-
*
|
|
9191
|
-
* @summary
|
|
9192
|
-
* @param {
|
|
9193
|
-
* @param {boolean} status status
|
|
9242
|
+
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
9243
|
+
* @summary Get Store Schema-Based Defaults
|
|
9244
|
+
* @param {string} xStoreID X-Store ID
|
|
9194
9245
|
* @param {*} [options] Override http request option.
|
|
9195
9246
|
* @throws {RequiredError}
|
|
9196
9247
|
*/
|
|
9197
|
-
|
|
9198
|
-
return localVarFp.
|
|
9248
|
+
adminStoresXStoreIDDefaultsGet(xStoreID, options) {
|
|
9249
|
+
return localVarFp.adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
9199
9250
|
},
|
|
9200
9251
|
};
|
|
9201
9252
|
};
|
|
@@ -9206,6 +9257,16 @@ export const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
9206
9257
|
* @extends {BaseAPI}
|
|
9207
9258
|
*/
|
|
9208
9259
|
export class StoresApi extends BaseAPI {
|
|
9260
|
+
/**
|
|
9261
|
+
* Fetches list of all stores for the authenticated user\'s organization
|
|
9262
|
+
* @summary Fetches list of all stores
|
|
9263
|
+
* @param {*} [options] Override http request option.
|
|
9264
|
+
* @throws {RequiredError}
|
|
9265
|
+
* @memberof StoresApi
|
|
9266
|
+
*/
|
|
9267
|
+
adminStoresGet(options) {
|
|
9268
|
+
return StoresApiFp(this.configuration).adminStoresGet(options).then((request) => request(this.axios, this.basePath));
|
|
9269
|
+
}
|
|
9209
9270
|
/**
|
|
9210
9271
|
* Fetches stores by id
|
|
9211
9272
|
* @summary Fetches stores by id
|
|
@@ -9218,15 +9279,15 @@ export class StoresApi extends BaseAPI {
|
|
|
9218
9279
|
return StoresApiFp(this.configuration).adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(this.axios, this.basePath));
|
|
9219
9280
|
}
|
|
9220
9281
|
/**
|
|
9221
|
-
* Fetches
|
|
9222
|
-
* @summary Fetches
|
|
9223
|
-
* @param {
|
|
9282
|
+
* Fetches stores by xStoreID
|
|
9283
|
+
* @summary Fetches stores by xStoreID
|
|
9284
|
+
* @param {string} xStoreID X-Store ID
|
|
9224
9285
|
* @param {*} [options] Override http request option.
|
|
9225
9286
|
* @throws {RequiredError}
|
|
9226
9287
|
* @memberof StoresApi
|
|
9227
9288
|
*/
|
|
9228
|
-
|
|
9229
|
-
return StoresApiFp(this.configuration).
|
|
9289
|
+
adminStoresGetStoreXStoreIDGet(xStoreID, options) {
|
|
9290
|
+
return StoresApiFp(this.configuration).adminStoresGetStoreXStoreIDGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
9230
9291
|
}
|
|
9231
9292
|
/**
|
|
9232
9293
|
* Adds a new store to the system
|
|
@@ -9240,73 +9301,73 @@ export class StoresApi extends BaseAPI {
|
|
|
9240
9301
|
return StoresApiFp(this.configuration).adminStoresPost(store, options).then((request) => request(this.axios, this.basePath));
|
|
9241
9302
|
}
|
|
9242
9303
|
/**
|
|
9243
|
-
*
|
|
9244
|
-
* @summary
|
|
9245
|
-
* @param {number} storeID
|
|
9304
|
+
* Updates store information by ID.
|
|
9305
|
+
* @summary Update an existing store
|
|
9306
|
+
* @param {number} storeID store ID
|
|
9307
|
+
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9246
9308
|
* @param {*} [options] Override http request option.
|
|
9247
9309
|
* @throws {RequiredError}
|
|
9248
9310
|
* @memberof StoresApi
|
|
9249
9311
|
*/
|
|
9250
|
-
|
|
9251
|
-
return StoresApiFp(this.configuration).
|
|
9312
|
+
adminStoresStoreIDPut(storeID, store, options) {
|
|
9313
|
+
return StoresApiFp(this.configuration).adminStoresStoreIDPut(storeID, store, options).then((request) => request(this.axios, this.basePath));
|
|
9252
9314
|
}
|
|
9253
9315
|
/**
|
|
9254
|
-
* Updates
|
|
9255
|
-
* @summary Update
|
|
9256
|
-
* @param {number}
|
|
9257
|
-
* @param {
|
|
9316
|
+
* Updates StoreStatus information by ID.
|
|
9317
|
+
* @summary Update an existing StoreStatus
|
|
9318
|
+
* @param {number} id Store ID
|
|
9319
|
+
* @param {boolean} status status
|
|
9258
9320
|
* @param {*} [options] Override http request option.
|
|
9259
9321
|
* @throws {RequiredError}
|
|
9260
9322
|
* @memberof StoresApi
|
|
9261
9323
|
*/
|
|
9262
|
-
|
|
9263
|
-
return StoresApiFp(this.configuration).
|
|
9324
|
+
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
9325
|
+
return StoresApiFp(this.configuration).adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(this.axios, this.basePath));
|
|
9264
9326
|
}
|
|
9265
9327
|
/**
|
|
9266
|
-
*
|
|
9267
|
-
* @summary Get Store Config
|
|
9268
|
-
* @param {
|
|
9328
|
+
* Retrieves the store configuration using x-store ID
|
|
9329
|
+
* @summary Get Store Config
|
|
9330
|
+
* @param {string} xStoreID X-Store ID
|
|
9269
9331
|
* @param {*} [options] Override http request option.
|
|
9270
9332
|
* @throws {RequiredError}
|
|
9271
9333
|
* @memberof StoresApi
|
|
9272
9334
|
*/
|
|
9273
|
-
|
|
9274
|
-
return StoresApiFp(this.configuration).
|
|
9335
|
+
adminStoresXStoreIDConfigGet(xStoreID, options) {
|
|
9336
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDConfigGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
9275
9337
|
}
|
|
9276
9338
|
/**
|
|
9277
|
-
*
|
|
9278
|
-
* @summary
|
|
9279
|
-
* @param {
|
|
9339
|
+
* Updates the store configuration using x-store ID
|
|
9340
|
+
* @summary Update Store Config
|
|
9341
|
+
* @param {string} xStoreID X-Store ID
|
|
9342
|
+
* @param {DataTypesIndexConfig} body Store configuration
|
|
9280
9343
|
* @param {*} [options] Override http request option.
|
|
9281
9344
|
* @throws {RequiredError}
|
|
9282
9345
|
* @memberof StoresApi
|
|
9283
9346
|
*/
|
|
9284
|
-
|
|
9285
|
-
return StoresApiFp(this.configuration).
|
|
9347
|
+
adminStoresXStoreIDConfigPut(xStoreID, body, options) {
|
|
9348
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDConfigPut(xStoreID, body, options).then((request) => request(this.axios, this.basePath));
|
|
9286
9349
|
}
|
|
9287
9350
|
/**
|
|
9288
|
-
*
|
|
9289
|
-
* @summary
|
|
9290
|
-
* @param {
|
|
9291
|
-
* @param {DataTypesStoreRequestDto} store Store data to update
|
|
9351
|
+
* Get metadata about all configurable fields for store configuration using x-store ID
|
|
9352
|
+
* @summary Get Store Config Schema
|
|
9353
|
+
* @param {string} xStoreID X-Store ID to get field options from
|
|
9292
9354
|
* @param {*} [options] Override http request option.
|
|
9293
9355
|
* @throws {RequiredError}
|
|
9294
9356
|
* @memberof StoresApi
|
|
9295
9357
|
*/
|
|
9296
|
-
|
|
9297
|
-
return StoresApiFp(this.configuration).
|
|
9358
|
+
adminStoresXStoreIDConfigSchemaGet(xStoreID, options) {
|
|
9359
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDConfigSchemaGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
9298
9360
|
}
|
|
9299
9361
|
/**
|
|
9300
|
-
*
|
|
9301
|
-
* @summary
|
|
9302
|
-
* @param {
|
|
9303
|
-
* @param {boolean} status status
|
|
9362
|
+
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
9363
|
+
* @summary Get Store Schema-Based Defaults
|
|
9364
|
+
* @param {string} xStoreID X-Store ID
|
|
9304
9365
|
* @param {*} [options] Override http request option.
|
|
9305
9366
|
* @throws {RequiredError}
|
|
9306
9367
|
* @memberof StoresApi
|
|
9307
9368
|
*/
|
|
9308
|
-
|
|
9309
|
-
return StoresApiFp(this.configuration).
|
|
9369
|
+
adminStoresXStoreIDDefaultsGet(xStoreID, options) {
|
|
9370
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
9310
9371
|
}
|
|
9311
9372
|
}
|
|
9312
9373
|
/**
|