@seekora-ai/admin-api 1.0.94 → 1.0.95
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 +8 -4
- package/api.ts +489 -59
- package/dist/api.d.ts +315 -56
- package/dist/api.js +336 -28
- package/dist/esm/api.d.ts +315 -56
- package/dist/esm/api.js +334 -26
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.95.tgz +0 -0
- package/seekora-ai-admin-api-1.0.94.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -7798,14 +7798,22 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7798
7798
|
};
|
|
7799
7799
|
}),
|
|
7800
7800
|
/**
|
|
7801
|
-
* Returns detailed usage information with charts and breakdown
|
|
7802
|
-
* @summary Get usage details
|
|
7803
|
-
* @param {string} [
|
|
7804
|
-
* @param {string} [
|
|
7805
|
-
* @param {
|
|
7806
|
-
* @
|
|
7807
|
-
|
|
7808
|
-
|
|
7801
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
7802
|
+
* @summary Get usage details with granularity and pagination
|
|
7803
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
7804
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
7805
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
7806
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
7807
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
7808
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
7809
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
7810
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
7811
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
7812
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
7813
|
+
* @param {*} [options] Override http request option.
|
|
7814
|
+
* @throws {RequiredError}
|
|
7815
|
+
*/
|
|
7816
|
+
adminBillingUsageDetailsGet: (xstoreid_1, startDate_1, endDate_1, granularity_1, chartPage_1, chartPageSize_1, endpointPage_1, endpointPageSize_1, consumptionPage_1, consumptionPageSize_1, ...args_1) => __awaiter(this, [xstoreid_1, startDate_1, endDate_1, granularity_1, chartPage_1, chartPageSize_1, endpointPage_1, endpointPageSize_1, consumptionPage_1, consumptionPageSize_1, ...args_1], void 0, function* (xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options = {}) {
|
|
7809
7817
|
const localVarPath = `/admin/billing/usage-details`;
|
|
7810
7818
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7811
7819
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7818,12 +7826,36 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7818
7826
|
const localVarQueryParameter = {};
|
|
7819
7827
|
// authentication BearerAuth required
|
|
7820
7828
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
7829
|
+
if (xstoreid !== undefined) {
|
|
7830
|
+
localVarQueryParameter['xstoreid'] = xstoreid;
|
|
7831
|
+
}
|
|
7821
7832
|
if (startDate !== undefined) {
|
|
7822
7833
|
localVarQueryParameter['start_date'] = startDate;
|
|
7823
7834
|
}
|
|
7824
7835
|
if (endDate !== undefined) {
|
|
7825
7836
|
localVarQueryParameter['end_date'] = endDate;
|
|
7826
7837
|
}
|
|
7838
|
+
if (granularity !== undefined) {
|
|
7839
|
+
localVarQueryParameter['granularity'] = granularity;
|
|
7840
|
+
}
|
|
7841
|
+
if (chartPage !== undefined) {
|
|
7842
|
+
localVarQueryParameter['chart_page'] = chartPage;
|
|
7843
|
+
}
|
|
7844
|
+
if (chartPageSize !== undefined) {
|
|
7845
|
+
localVarQueryParameter['chart_page_size'] = chartPageSize;
|
|
7846
|
+
}
|
|
7847
|
+
if (endpointPage !== undefined) {
|
|
7848
|
+
localVarQueryParameter['endpoint_page'] = endpointPage;
|
|
7849
|
+
}
|
|
7850
|
+
if (endpointPageSize !== undefined) {
|
|
7851
|
+
localVarQueryParameter['endpoint_page_size'] = endpointPageSize;
|
|
7852
|
+
}
|
|
7853
|
+
if (consumptionPage !== undefined) {
|
|
7854
|
+
localVarQueryParameter['consumption_page'] = consumptionPage;
|
|
7855
|
+
}
|
|
7856
|
+
if (consumptionPageSize !== undefined) {
|
|
7857
|
+
localVarQueryParameter['consumption_page_size'] = consumptionPageSize;
|
|
7858
|
+
}
|
|
7827
7859
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7828
7860
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7829
7861
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -8212,17 +8244,25 @@ export const BillingDashboardApiFp = function (configuration) {
|
|
|
8212
8244
|
});
|
|
8213
8245
|
},
|
|
8214
8246
|
/**
|
|
8215
|
-
* Returns detailed usage information with charts and breakdown
|
|
8216
|
-
* @summary Get usage details
|
|
8217
|
-
* @param {string} [
|
|
8218
|
-
* @param {string} [
|
|
8247
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
8248
|
+
* @summary Get usage details with granularity and pagination
|
|
8249
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
8250
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
8251
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
8252
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
8253
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
8254
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
8255
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
8256
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
8257
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
8258
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
8219
8259
|
* @param {*} [options] Override http request option.
|
|
8220
8260
|
* @throws {RequiredError}
|
|
8221
8261
|
*/
|
|
8222
|
-
adminBillingUsageDetailsGet(startDate, endDate, options) {
|
|
8262
|
+
adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options) {
|
|
8223
8263
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8224
8264
|
var _a, _b, _c;
|
|
8225
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingUsageDetailsGet(startDate, endDate, options);
|
|
8265
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options);
|
|
8226
8266
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8227
8267
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingUsageDetailsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8228
8268
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -8482,15 +8522,23 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
8482
8522
|
return localVarFp.adminBillingSavedCardsGet(options).then((request) => request(axios, basePath));
|
|
8483
8523
|
},
|
|
8484
8524
|
/**
|
|
8485
|
-
* Returns detailed usage information with charts and breakdown
|
|
8486
|
-
* @summary Get usage details
|
|
8487
|
-
* @param {string} [
|
|
8488
|
-
* @param {string} [
|
|
8525
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
8526
|
+
* @summary Get usage details with granularity and pagination
|
|
8527
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
8528
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
8529
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
8530
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
8531
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
8532
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
8533
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
8534
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
8535
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
8536
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
8489
8537
|
* @param {*} [options] Override http request option.
|
|
8490
8538
|
* @throws {RequiredError}
|
|
8491
8539
|
*/
|
|
8492
|
-
adminBillingUsageDetailsGet(startDate, endDate, options) {
|
|
8493
|
-
return localVarFp.adminBillingUsageDetailsGet(startDate, endDate, options).then((request) => request(axios, basePath));
|
|
8540
|
+
adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options) {
|
|
8541
|
+
return localVarFp.adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options).then((request) => request(axios, basePath));
|
|
8494
8542
|
},
|
|
8495
8543
|
};
|
|
8496
8544
|
};
|
|
@@ -8767,18 +8815,36 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
8767
8815
|
return BillingDashboardApiFp(this.configuration).adminBillingSavedCardsGet(options).then((request) => request(this.axios, this.basePath));
|
|
8768
8816
|
}
|
|
8769
8817
|
/**
|
|
8770
|
-
* Returns detailed usage information with charts and breakdown
|
|
8771
|
-
* @summary Get usage details
|
|
8772
|
-
* @param {string} [
|
|
8773
|
-
* @param {string} [
|
|
8818
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
8819
|
+
* @summary Get usage details with granularity and pagination
|
|
8820
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
8821
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
8822
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
8823
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
8824
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
8825
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
8826
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
8827
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
8828
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
8829
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
8774
8830
|
* @param {*} [options] Override http request option.
|
|
8775
8831
|
* @throws {RequiredError}
|
|
8776
8832
|
* @memberof BillingDashboardApi
|
|
8777
8833
|
*/
|
|
8778
|
-
adminBillingUsageDetailsGet(startDate, endDate, options) {
|
|
8779
|
-
return BillingDashboardApiFp(this.configuration).adminBillingUsageDetailsGet(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
8834
|
+
adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options) {
|
|
8835
|
+
return BillingDashboardApiFp(this.configuration).adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options).then((request) => request(this.axios, this.basePath));
|
|
8780
8836
|
}
|
|
8781
8837
|
}
|
|
8838
|
+
/**
|
|
8839
|
+
* @export
|
|
8840
|
+
*/
|
|
8841
|
+
export const AdminBillingUsageDetailsGetGranularityEnum = {
|
|
8842
|
+
Minute: 'minute',
|
|
8843
|
+
Hour: 'hour',
|
|
8844
|
+
Day: 'day',
|
|
8845
|
+
Week: 'week',
|
|
8846
|
+
Month: 'month'
|
|
8847
|
+
};
|
|
8782
8848
|
/**
|
|
8783
8849
|
* CommonApi - axios parameter creator
|
|
8784
8850
|
* @export
|
|
@@ -26819,6 +26885,122 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
26819
26885
|
options: localVarRequestOptions,
|
|
26820
26886
|
};
|
|
26821
26887
|
}),
|
|
26888
|
+
/**
|
|
26889
|
+
* Get schema options for a specific store by xStoreID
|
|
26890
|
+
* @summary Get store schema options
|
|
26891
|
+
* @param {string} xStoreID X-Store ID
|
|
26892
|
+
* @param {*} [options] Override http request option.
|
|
26893
|
+
* @throws {RequiredError}
|
|
26894
|
+
*/
|
|
26895
|
+
adminStoresXStoreIDSchemaOptionsGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
26896
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
26897
|
+
assertParamExists('adminStoresXStoreIDSchemaOptionsGet', 'xStoreID', xStoreID);
|
|
26898
|
+
const localVarPath = `/admin/stores/{xStoreID}/schema-options`
|
|
26899
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
26900
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26901
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26902
|
+
let baseOptions;
|
|
26903
|
+
if (configuration) {
|
|
26904
|
+
baseOptions = configuration.baseOptions;
|
|
26905
|
+
}
|
|
26906
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
26907
|
+
const localVarHeaderParameter = {};
|
|
26908
|
+
const localVarQueryParameter = {};
|
|
26909
|
+
// authentication BearerAuth required
|
|
26910
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
26911
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26912
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26913
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26914
|
+
return {
|
|
26915
|
+
url: toPathString(localVarUrlObj),
|
|
26916
|
+
options: localVarRequestOptions,
|
|
26917
|
+
};
|
|
26918
|
+
}),
|
|
26919
|
+
/**
|
|
26920
|
+
* Perform search on a specific store by xStoreID
|
|
26921
|
+
* @summary Get store search results
|
|
26922
|
+
* @param {string} xStoreID X-Store ID
|
|
26923
|
+
* @param {string} query Search query
|
|
26924
|
+
* @param {number} [page] Page number
|
|
26925
|
+
* @param {number} [pageSize] Page size
|
|
26926
|
+
* @param {*} [options] Override http request option.
|
|
26927
|
+
* @throws {RequiredError}
|
|
26928
|
+
*/
|
|
26929
|
+
adminStoresXStoreIDSearchGet: (xStoreID_1, query_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [xStoreID_1, query_1, page_1, pageSize_1, ...args_1], void 0, function* (xStoreID, query, page, pageSize, options = {}) {
|
|
26930
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
26931
|
+
assertParamExists('adminStoresXStoreIDSearchGet', 'xStoreID', xStoreID);
|
|
26932
|
+
// verify required parameter 'query' is not null or undefined
|
|
26933
|
+
assertParamExists('adminStoresXStoreIDSearchGet', 'query', query);
|
|
26934
|
+
const localVarPath = `/admin/stores/{xStoreID}/search`
|
|
26935
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
26936
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26937
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26938
|
+
let baseOptions;
|
|
26939
|
+
if (configuration) {
|
|
26940
|
+
baseOptions = configuration.baseOptions;
|
|
26941
|
+
}
|
|
26942
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
26943
|
+
const localVarHeaderParameter = {};
|
|
26944
|
+
const localVarQueryParameter = {};
|
|
26945
|
+
// authentication BearerAuth required
|
|
26946
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
26947
|
+
if (query !== undefined) {
|
|
26948
|
+
localVarQueryParameter['query'] = query;
|
|
26949
|
+
}
|
|
26950
|
+
if (page !== undefined) {
|
|
26951
|
+
localVarQueryParameter['page'] = page;
|
|
26952
|
+
}
|
|
26953
|
+
if (pageSize !== undefined) {
|
|
26954
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
26955
|
+
}
|
|
26956
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26957
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26958
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26959
|
+
return {
|
|
26960
|
+
url: toPathString(localVarUrlObj),
|
|
26961
|
+
options: localVarRequestOptions,
|
|
26962
|
+
};
|
|
26963
|
+
}),
|
|
26964
|
+
/**
|
|
26965
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
26966
|
+
* @summary Update store step configuration
|
|
26967
|
+
* @param {string} xStoreID X-Store ID
|
|
26968
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
26969
|
+
* @param {object} body Configuration data
|
|
26970
|
+
* @param {*} [options] Override http request option.
|
|
26971
|
+
* @throws {RequiredError}
|
|
26972
|
+
*/
|
|
26973
|
+
adminStoresXStoreIDStepStepPut: (xStoreID_1, step_1, body_1, ...args_1) => __awaiter(this, [xStoreID_1, step_1, body_1, ...args_1], void 0, function* (xStoreID, step, body, options = {}) {
|
|
26974
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
26975
|
+
assertParamExists('adminStoresXStoreIDStepStepPut', 'xStoreID', xStoreID);
|
|
26976
|
+
// verify required parameter 'step' is not null or undefined
|
|
26977
|
+
assertParamExists('adminStoresXStoreIDStepStepPut', 'step', step);
|
|
26978
|
+
// verify required parameter 'body' is not null or undefined
|
|
26979
|
+
assertParamExists('adminStoresXStoreIDStepStepPut', 'body', body);
|
|
26980
|
+
const localVarPath = `/admin/stores/{xStoreID}/step/{step}`
|
|
26981
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
26982
|
+
.replace(`{${"step"}}`, encodeURIComponent(String(step)));
|
|
26983
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26984
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26985
|
+
let baseOptions;
|
|
26986
|
+
if (configuration) {
|
|
26987
|
+
baseOptions = configuration.baseOptions;
|
|
26988
|
+
}
|
|
26989
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
26990
|
+
const localVarHeaderParameter = {};
|
|
26991
|
+
const localVarQueryParameter = {};
|
|
26992
|
+
// authentication BearerAuth required
|
|
26993
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
26994
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26995
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26996
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26997
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26998
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
26999
|
+
return {
|
|
27000
|
+
url: toPathString(localVarUrlObj),
|
|
27001
|
+
options: localVarRequestOptions,
|
|
27002
|
+
};
|
|
27003
|
+
}),
|
|
26822
27004
|
/**
|
|
26823
27005
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
26824
27006
|
* @summary Regenerate X-Store Secret
|
|
@@ -27021,6 +27203,59 @@ export const StoresApiFp = function (configuration) {
|
|
|
27021
27203
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27022
27204
|
});
|
|
27023
27205
|
},
|
|
27206
|
+
/**
|
|
27207
|
+
* Get schema options for a specific store by xStoreID
|
|
27208
|
+
* @summary Get store schema options
|
|
27209
|
+
* @param {string} xStoreID X-Store ID
|
|
27210
|
+
* @param {*} [options] Override http request option.
|
|
27211
|
+
* @throws {RequiredError}
|
|
27212
|
+
*/
|
|
27213
|
+
adminStoresXStoreIDSchemaOptionsGet(xStoreID, options) {
|
|
27214
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27215
|
+
var _a, _b, _c;
|
|
27216
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDSchemaOptionsGet(xStoreID, options);
|
|
27217
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
27218
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresXStoreIDSchemaOptionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
27219
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27220
|
+
});
|
|
27221
|
+
},
|
|
27222
|
+
/**
|
|
27223
|
+
* Perform search on a specific store by xStoreID
|
|
27224
|
+
* @summary Get store search results
|
|
27225
|
+
* @param {string} xStoreID X-Store ID
|
|
27226
|
+
* @param {string} query Search query
|
|
27227
|
+
* @param {number} [page] Page number
|
|
27228
|
+
* @param {number} [pageSize] Page size
|
|
27229
|
+
* @param {*} [options] Override http request option.
|
|
27230
|
+
* @throws {RequiredError}
|
|
27231
|
+
*/
|
|
27232
|
+
adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options) {
|
|
27233
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27234
|
+
var _a, _b, _c;
|
|
27235
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options);
|
|
27236
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
27237
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresXStoreIDSearchGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
27238
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27239
|
+
});
|
|
27240
|
+
},
|
|
27241
|
+
/**
|
|
27242
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27243
|
+
* @summary Update store step configuration
|
|
27244
|
+
* @param {string} xStoreID X-Store ID
|
|
27245
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27246
|
+
* @param {object} body Configuration data
|
|
27247
|
+
* @param {*} [options] Override http request option.
|
|
27248
|
+
* @throws {RequiredError}
|
|
27249
|
+
*/
|
|
27250
|
+
adminStoresXStoreIDStepStepPut(xStoreID, step, body, options) {
|
|
27251
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27252
|
+
var _a, _b, _c;
|
|
27253
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDStepStepPut(xStoreID, step, body, options);
|
|
27254
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
27255
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresXStoreIDStepStepPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
27256
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27257
|
+
});
|
|
27258
|
+
},
|
|
27024
27259
|
/**
|
|
27025
27260
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
27026
27261
|
* @summary Regenerate X-Store Secret
|
|
@@ -27148,6 +27383,41 @@ export const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
27148
27383
|
adminStoresXStoreIDDefaultsGet(xStoreID, options) {
|
|
27149
27384
|
return localVarFp.adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
27150
27385
|
},
|
|
27386
|
+
/**
|
|
27387
|
+
* Get schema options for a specific store by xStoreID
|
|
27388
|
+
* @summary Get store schema options
|
|
27389
|
+
* @param {string} xStoreID X-Store ID
|
|
27390
|
+
* @param {*} [options] Override http request option.
|
|
27391
|
+
* @throws {RequiredError}
|
|
27392
|
+
*/
|
|
27393
|
+
adminStoresXStoreIDSchemaOptionsGet(xStoreID, options) {
|
|
27394
|
+
return localVarFp.adminStoresXStoreIDSchemaOptionsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
27395
|
+
},
|
|
27396
|
+
/**
|
|
27397
|
+
* Perform search on a specific store by xStoreID
|
|
27398
|
+
* @summary Get store search results
|
|
27399
|
+
* @param {string} xStoreID X-Store ID
|
|
27400
|
+
* @param {string} query Search query
|
|
27401
|
+
* @param {number} [page] Page number
|
|
27402
|
+
* @param {number} [pageSize] Page size
|
|
27403
|
+
* @param {*} [options] Override http request option.
|
|
27404
|
+
* @throws {RequiredError}
|
|
27405
|
+
*/
|
|
27406
|
+
adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options) {
|
|
27407
|
+
return localVarFp.adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options).then((request) => request(axios, basePath));
|
|
27408
|
+
},
|
|
27409
|
+
/**
|
|
27410
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27411
|
+
* @summary Update store step configuration
|
|
27412
|
+
* @param {string} xStoreID X-Store ID
|
|
27413
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27414
|
+
* @param {object} body Configuration data
|
|
27415
|
+
* @param {*} [options] Override http request option.
|
|
27416
|
+
* @throws {RequiredError}
|
|
27417
|
+
*/
|
|
27418
|
+
adminStoresXStoreIDStepStepPut(xStoreID, step, body, options) {
|
|
27419
|
+
return localVarFp.adminStoresXStoreIDStepStepPut(xStoreID, step, body, options).then((request) => request(axios, basePath));
|
|
27420
|
+
},
|
|
27151
27421
|
/**
|
|
27152
27422
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
27153
27423
|
* @summary Regenerate X-Store Secret
|
|
@@ -27279,6 +27549,44 @@ export class StoresApi extends BaseAPI {
|
|
|
27279
27549
|
adminStoresXStoreIDDefaultsGet(xStoreID, options) {
|
|
27280
27550
|
return StoresApiFp(this.configuration).adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
27281
27551
|
}
|
|
27552
|
+
/**
|
|
27553
|
+
* Get schema options for a specific store by xStoreID
|
|
27554
|
+
* @summary Get store schema options
|
|
27555
|
+
* @param {string} xStoreID X-Store ID
|
|
27556
|
+
* @param {*} [options] Override http request option.
|
|
27557
|
+
* @throws {RequiredError}
|
|
27558
|
+
* @memberof StoresApi
|
|
27559
|
+
*/
|
|
27560
|
+
adminStoresXStoreIDSchemaOptionsGet(xStoreID, options) {
|
|
27561
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDSchemaOptionsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
27562
|
+
}
|
|
27563
|
+
/**
|
|
27564
|
+
* Perform search on a specific store by xStoreID
|
|
27565
|
+
* @summary Get store search results
|
|
27566
|
+
* @param {string} xStoreID X-Store ID
|
|
27567
|
+
* @param {string} query Search query
|
|
27568
|
+
* @param {number} [page] Page number
|
|
27569
|
+
* @param {number} [pageSize] Page size
|
|
27570
|
+
* @param {*} [options] Override http request option.
|
|
27571
|
+
* @throws {RequiredError}
|
|
27572
|
+
* @memberof StoresApi
|
|
27573
|
+
*/
|
|
27574
|
+
adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options) {
|
|
27575
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
27576
|
+
}
|
|
27577
|
+
/**
|
|
27578
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27579
|
+
* @summary Update store step configuration
|
|
27580
|
+
* @param {string} xStoreID X-Store ID
|
|
27581
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27582
|
+
* @param {object} body Configuration data
|
|
27583
|
+
* @param {*} [options] Override http request option.
|
|
27584
|
+
* @throws {RequiredError}
|
|
27585
|
+
* @memberof StoresApi
|
|
27586
|
+
*/
|
|
27587
|
+
adminStoresXStoreIDStepStepPut(xStoreID, step, body, options) {
|
|
27588
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDStepStepPut(xStoreID, step, body, options).then((request) => request(this.axios, this.basePath));
|
|
27589
|
+
}
|
|
27282
27590
|
/**
|
|
27283
27591
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
27284
27592
|
* @summary Regenerate X-Store Secret
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|