@seekora-ai/admin-api 1.0.94 → 1.0.96
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 +507 -59
- package/dist/api.d.ts +333 -56
- package/dist/api.js +336 -28
- package/dist/esm/api.d.ts +333 -56
- package/dist/esm/api.js +334 -26
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.96.tgz +0 -0
- package/seekora-ai-admin-api-1.0.94.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -23,11 +23,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesCreditTransactionTransactionTypeEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = exports.AnalyticsRuleType = exports.AnalyticsQuerySuggestionStatus = exports.AnalyticsQuerySuggestionSource = exports.AnalyticsBulkOperation = exports.AnalyticsBannedMatchType = void 0;
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.UserApi = exports.UserApiFactory = void 0;
|
|
26
|
+
exports.AdminBillingUsageDetailsGetGranularityEnum = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AutomatedRefundManagementApi = exports.AutomatedRefundManagementApiFactory = exports.AutomatedRefundManagementApiFp = exports.AutomatedRefundManagementApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsRulesApi = exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = void 0;
|
|
27
|
+
exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = void 0;
|
|
28
|
+
exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.LimitsApi = void 0;
|
|
29
|
+
exports.UserApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = void 0;
|
|
30
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = void 0;
|
|
31
31
|
const axios_1 = require("axios");
|
|
32
32
|
// Some imports not used depending on template conditions
|
|
33
33
|
// @ts-ignore
|
|
@@ -7838,14 +7838,22 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7838
7838
|
};
|
|
7839
7839
|
}),
|
|
7840
7840
|
/**
|
|
7841
|
-
* Returns detailed usage information with charts and breakdown
|
|
7842
|
-
* @summary Get usage details
|
|
7843
|
-
* @param {string} [
|
|
7844
|
-
* @param {string} [
|
|
7841
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
7842
|
+
* @summary Get usage details with granularity and pagination
|
|
7843
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
7844
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
7845
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
7846
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
7847
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
7848
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
7849
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
7850
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
7851
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
7852
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
7845
7853
|
* @param {*} [options] Override http request option.
|
|
7846
7854
|
* @throws {RequiredError}
|
|
7847
7855
|
*/
|
|
7848
|
-
adminBillingUsageDetailsGet: (startDate_1, endDate_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, ...args_1], void 0, function* (startDate, endDate, options = {}) {
|
|
7856
|
+
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 = {}) {
|
|
7849
7857
|
const localVarPath = `/admin/billing/usage-details`;
|
|
7850
7858
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7851
7859
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -7858,12 +7866,36 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7858
7866
|
const localVarQueryParameter = {};
|
|
7859
7867
|
// authentication BearerAuth required
|
|
7860
7868
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7869
|
+
if (xstoreid !== undefined) {
|
|
7870
|
+
localVarQueryParameter['xstoreid'] = xstoreid;
|
|
7871
|
+
}
|
|
7861
7872
|
if (startDate !== undefined) {
|
|
7862
7873
|
localVarQueryParameter['start_date'] = startDate;
|
|
7863
7874
|
}
|
|
7864
7875
|
if (endDate !== undefined) {
|
|
7865
7876
|
localVarQueryParameter['end_date'] = endDate;
|
|
7866
7877
|
}
|
|
7878
|
+
if (granularity !== undefined) {
|
|
7879
|
+
localVarQueryParameter['granularity'] = granularity;
|
|
7880
|
+
}
|
|
7881
|
+
if (chartPage !== undefined) {
|
|
7882
|
+
localVarQueryParameter['chart_page'] = chartPage;
|
|
7883
|
+
}
|
|
7884
|
+
if (chartPageSize !== undefined) {
|
|
7885
|
+
localVarQueryParameter['chart_page_size'] = chartPageSize;
|
|
7886
|
+
}
|
|
7887
|
+
if (endpointPage !== undefined) {
|
|
7888
|
+
localVarQueryParameter['endpoint_page'] = endpointPage;
|
|
7889
|
+
}
|
|
7890
|
+
if (endpointPageSize !== undefined) {
|
|
7891
|
+
localVarQueryParameter['endpoint_page_size'] = endpointPageSize;
|
|
7892
|
+
}
|
|
7893
|
+
if (consumptionPage !== undefined) {
|
|
7894
|
+
localVarQueryParameter['consumption_page'] = consumptionPage;
|
|
7895
|
+
}
|
|
7896
|
+
if (consumptionPageSize !== undefined) {
|
|
7897
|
+
localVarQueryParameter['consumption_page_size'] = consumptionPageSize;
|
|
7898
|
+
}
|
|
7867
7899
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7868
7900
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7869
7901
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -8253,17 +8285,25 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8253
8285
|
});
|
|
8254
8286
|
},
|
|
8255
8287
|
/**
|
|
8256
|
-
* Returns detailed usage information with charts and breakdown
|
|
8257
|
-
* @summary Get usage details
|
|
8258
|
-
* @param {string} [
|
|
8259
|
-
* @param {string} [
|
|
8288
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
8289
|
+
* @summary Get usage details with granularity and pagination
|
|
8290
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
8291
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
8292
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
8293
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
8294
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
8295
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
8296
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
8297
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
8298
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
8299
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
8260
8300
|
* @param {*} [options] Override http request option.
|
|
8261
8301
|
* @throws {RequiredError}
|
|
8262
8302
|
*/
|
|
8263
|
-
adminBillingUsageDetailsGet(startDate, endDate, options) {
|
|
8303
|
+
adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options) {
|
|
8264
8304
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8265
8305
|
var _a, _b, _c;
|
|
8266
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingUsageDetailsGet(startDate, endDate, options);
|
|
8306
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options);
|
|
8267
8307
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8268
8308
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingUsageDetailsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8269
8309
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -8524,15 +8564,23 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8524
8564
|
return localVarFp.adminBillingSavedCardsGet(options).then((request) => request(axios, basePath));
|
|
8525
8565
|
},
|
|
8526
8566
|
/**
|
|
8527
|
-
* Returns detailed usage information with charts and breakdown
|
|
8528
|
-
* @summary Get usage details
|
|
8529
|
-
* @param {string} [
|
|
8530
|
-
* @param {string} [
|
|
8567
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
8568
|
+
* @summary Get usage details with granularity and pagination
|
|
8569
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
8570
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
8571
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
8572
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
8573
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
8574
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
8575
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
8576
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
8577
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
8578
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
8531
8579
|
* @param {*} [options] Override http request option.
|
|
8532
8580
|
* @throws {RequiredError}
|
|
8533
8581
|
*/
|
|
8534
|
-
adminBillingUsageDetailsGet(startDate, endDate, options) {
|
|
8535
|
-
return localVarFp.adminBillingUsageDetailsGet(startDate, endDate, options).then((request) => request(axios, basePath));
|
|
8582
|
+
adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options) {
|
|
8583
|
+
return localVarFp.adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options).then((request) => request(axios, basePath));
|
|
8536
8584
|
},
|
|
8537
8585
|
};
|
|
8538
8586
|
};
|
|
@@ -8810,19 +8858,37 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8810
8858
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingSavedCardsGet(options).then((request) => request(this.axios, this.basePath));
|
|
8811
8859
|
}
|
|
8812
8860
|
/**
|
|
8813
|
-
* Returns detailed usage information with charts and breakdown
|
|
8814
|
-
* @summary Get usage details
|
|
8815
|
-
* @param {string} [
|
|
8816
|
-
* @param {string} [
|
|
8861
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
8862
|
+
* @summary Get usage details with granularity and pagination
|
|
8863
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
8864
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
8865
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
8866
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
8867
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
8868
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
8869
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
8870
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
8871
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
8872
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
8817
8873
|
* @param {*} [options] Override http request option.
|
|
8818
8874
|
* @throws {RequiredError}
|
|
8819
8875
|
* @memberof BillingDashboardApi
|
|
8820
8876
|
*/
|
|
8821
|
-
adminBillingUsageDetailsGet(startDate, endDate, options) {
|
|
8822
|
-
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingUsageDetailsGet(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
8877
|
+
adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options) {
|
|
8878
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options).then((request) => request(this.axios, this.basePath));
|
|
8823
8879
|
}
|
|
8824
8880
|
}
|
|
8825
8881
|
exports.BillingDashboardApi = BillingDashboardApi;
|
|
8882
|
+
/**
|
|
8883
|
+
* @export
|
|
8884
|
+
*/
|
|
8885
|
+
exports.AdminBillingUsageDetailsGetGranularityEnum = {
|
|
8886
|
+
Minute: 'minute',
|
|
8887
|
+
Hour: 'hour',
|
|
8888
|
+
Day: 'day',
|
|
8889
|
+
Week: 'week',
|
|
8890
|
+
Month: 'month'
|
|
8891
|
+
};
|
|
8826
8892
|
/**
|
|
8827
8893
|
* CommonApi - axios parameter creator
|
|
8828
8894
|
* @export
|
|
@@ -26987,6 +27053,122 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
26987
27053
|
options: localVarRequestOptions,
|
|
26988
27054
|
};
|
|
26989
27055
|
}),
|
|
27056
|
+
/**
|
|
27057
|
+
* Get schema options for a specific store by xStoreID
|
|
27058
|
+
* @summary Get store schema options
|
|
27059
|
+
* @param {string} xStoreID X-Store ID
|
|
27060
|
+
* @param {*} [options] Override http request option.
|
|
27061
|
+
* @throws {RequiredError}
|
|
27062
|
+
*/
|
|
27063
|
+
adminStoresXStoreIDSchemaOptionsGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
27064
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
27065
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDSchemaOptionsGet', 'xStoreID', xStoreID);
|
|
27066
|
+
const localVarPath = `/admin/stores/{xStoreID}/schema-options`
|
|
27067
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
27068
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27069
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27070
|
+
let baseOptions;
|
|
27071
|
+
if (configuration) {
|
|
27072
|
+
baseOptions = configuration.baseOptions;
|
|
27073
|
+
}
|
|
27074
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
27075
|
+
const localVarHeaderParameter = {};
|
|
27076
|
+
const localVarQueryParameter = {};
|
|
27077
|
+
// authentication BearerAuth required
|
|
27078
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
27079
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
27080
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27081
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27082
|
+
return {
|
|
27083
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
27084
|
+
options: localVarRequestOptions,
|
|
27085
|
+
};
|
|
27086
|
+
}),
|
|
27087
|
+
/**
|
|
27088
|
+
* Perform search on a specific store by xStoreID
|
|
27089
|
+
* @summary Get store search results
|
|
27090
|
+
* @param {string} xStoreID X-Store ID
|
|
27091
|
+
* @param {string} query Search query
|
|
27092
|
+
* @param {number} [page] Page number
|
|
27093
|
+
* @param {number} [pageSize] Page size
|
|
27094
|
+
* @param {*} [options] Override http request option.
|
|
27095
|
+
* @throws {RequiredError}
|
|
27096
|
+
*/
|
|
27097
|
+
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 = {}) {
|
|
27098
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
27099
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDSearchGet', 'xStoreID', xStoreID);
|
|
27100
|
+
// verify required parameter 'query' is not null or undefined
|
|
27101
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDSearchGet', 'query', query);
|
|
27102
|
+
const localVarPath = `/admin/stores/{xStoreID}/search`
|
|
27103
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
27104
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27105
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27106
|
+
let baseOptions;
|
|
27107
|
+
if (configuration) {
|
|
27108
|
+
baseOptions = configuration.baseOptions;
|
|
27109
|
+
}
|
|
27110
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
27111
|
+
const localVarHeaderParameter = {};
|
|
27112
|
+
const localVarQueryParameter = {};
|
|
27113
|
+
// authentication BearerAuth required
|
|
27114
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
27115
|
+
if (query !== undefined) {
|
|
27116
|
+
localVarQueryParameter['query'] = query;
|
|
27117
|
+
}
|
|
27118
|
+
if (page !== undefined) {
|
|
27119
|
+
localVarQueryParameter['page'] = page;
|
|
27120
|
+
}
|
|
27121
|
+
if (pageSize !== undefined) {
|
|
27122
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
27123
|
+
}
|
|
27124
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
27125
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27126
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27127
|
+
return {
|
|
27128
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
27129
|
+
options: localVarRequestOptions,
|
|
27130
|
+
};
|
|
27131
|
+
}),
|
|
27132
|
+
/**
|
|
27133
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27134
|
+
* @summary Update store step configuration
|
|
27135
|
+
* @param {string} xStoreID X-Store ID
|
|
27136
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27137
|
+
* @param {object} body Configuration data
|
|
27138
|
+
* @param {*} [options] Override http request option.
|
|
27139
|
+
* @throws {RequiredError}
|
|
27140
|
+
*/
|
|
27141
|
+
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 = {}) {
|
|
27142
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
27143
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDStepStepPut', 'xStoreID', xStoreID);
|
|
27144
|
+
// verify required parameter 'step' is not null or undefined
|
|
27145
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDStepStepPut', 'step', step);
|
|
27146
|
+
// verify required parameter 'body' is not null or undefined
|
|
27147
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDStepStepPut', 'body', body);
|
|
27148
|
+
const localVarPath = `/admin/stores/{xStoreID}/step/{step}`
|
|
27149
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
27150
|
+
.replace(`{${"step"}}`, encodeURIComponent(String(step)));
|
|
27151
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27152
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27153
|
+
let baseOptions;
|
|
27154
|
+
if (configuration) {
|
|
27155
|
+
baseOptions = configuration.baseOptions;
|
|
27156
|
+
}
|
|
27157
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
27158
|
+
const localVarHeaderParameter = {};
|
|
27159
|
+
const localVarQueryParameter = {};
|
|
27160
|
+
// authentication BearerAuth required
|
|
27161
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
27162
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27163
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
27164
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27165
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27166
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
27167
|
+
return {
|
|
27168
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
27169
|
+
options: localVarRequestOptions,
|
|
27170
|
+
};
|
|
27171
|
+
}),
|
|
26990
27172
|
/**
|
|
26991
27173
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
26992
27174
|
* @summary Regenerate X-Store Secret
|
|
@@ -27190,6 +27372,59 @@ const StoresApiFp = function (configuration) {
|
|
|
27190
27372
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27191
27373
|
});
|
|
27192
27374
|
},
|
|
27375
|
+
/**
|
|
27376
|
+
* Get schema options for a specific store by xStoreID
|
|
27377
|
+
* @summary Get store schema options
|
|
27378
|
+
* @param {string} xStoreID X-Store ID
|
|
27379
|
+
* @param {*} [options] Override http request option.
|
|
27380
|
+
* @throws {RequiredError}
|
|
27381
|
+
*/
|
|
27382
|
+
adminStoresXStoreIDSchemaOptionsGet(xStoreID, options) {
|
|
27383
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27384
|
+
var _a, _b, _c;
|
|
27385
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDSchemaOptionsGet(xStoreID, options);
|
|
27386
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
27387
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresXStoreIDSchemaOptionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
27388
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27389
|
+
});
|
|
27390
|
+
},
|
|
27391
|
+
/**
|
|
27392
|
+
* Perform search on a specific store by xStoreID
|
|
27393
|
+
* @summary Get store search results
|
|
27394
|
+
* @param {string} xStoreID X-Store ID
|
|
27395
|
+
* @param {string} query Search query
|
|
27396
|
+
* @param {number} [page] Page number
|
|
27397
|
+
* @param {number} [pageSize] Page size
|
|
27398
|
+
* @param {*} [options] Override http request option.
|
|
27399
|
+
* @throws {RequiredError}
|
|
27400
|
+
*/
|
|
27401
|
+
adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options) {
|
|
27402
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27403
|
+
var _a, _b, _c;
|
|
27404
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options);
|
|
27405
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
27406
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresXStoreIDSearchGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
27407
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27408
|
+
});
|
|
27409
|
+
},
|
|
27410
|
+
/**
|
|
27411
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27412
|
+
* @summary Update store step configuration
|
|
27413
|
+
* @param {string} xStoreID X-Store ID
|
|
27414
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27415
|
+
* @param {object} body Configuration data
|
|
27416
|
+
* @param {*} [options] Override http request option.
|
|
27417
|
+
* @throws {RequiredError}
|
|
27418
|
+
*/
|
|
27419
|
+
adminStoresXStoreIDStepStepPut(xStoreID, step, body, options) {
|
|
27420
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27421
|
+
var _a, _b, _c;
|
|
27422
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDStepStepPut(xStoreID, step, body, options);
|
|
27423
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
27424
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresXStoreIDStepStepPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
27425
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27426
|
+
});
|
|
27427
|
+
},
|
|
27193
27428
|
/**
|
|
27194
27429
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
27195
27430
|
* @summary Regenerate X-Store Secret
|
|
@@ -27318,6 +27553,41 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
27318
27553
|
adminStoresXStoreIDDefaultsGet(xStoreID, options) {
|
|
27319
27554
|
return localVarFp.adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
27320
27555
|
},
|
|
27556
|
+
/**
|
|
27557
|
+
* Get schema options for a specific store by xStoreID
|
|
27558
|
+
* @summary Get store schema options
|
|
27559
|
+
* @param {string} xStoreID X-Store ID
|
|
27560
|
+
* @param {*} [options] Override http request option.
|
|
27561
|
+
* @throws {RequiredError}
|
|
27562
|
+
*/
|
|
27563
|
+
adminStoresXStoreIDSchemaOptionsGet(xStoreID, options) {
|
|
27564
|
+
return localVarFp.adminStoresXStoreIDSchemaOptionsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
27565
|
+
},
|
|
27566
|
+
/**
|
|
27567
|
+
* Perform search on a specific store by xStoreID
|
|
27568
|
+
* @summary Get store search results
|
|
27569
|
+
* @param {string} xStoreID X-Store ID
|
|
27570
|
+
* @param {string} query Search query
|
|
27571
|
+
* @param {number} [page] Page number
|
|
27572
|
+
* @param {number} [pageSize] Page size
|
|
27573
|
+
* @param {*} [options] Override http request option.
|
|
27574
|
+
* @throws {RequiredError}
|
|
27575
|
+
*/
|
|
27576
|
+
adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options) {
|
|
27577
|
+
return localVarFp.adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options).then((request) => request(axios, basePath));
|
|
27578
|
+
},
|
|
27579
|
+
/**
|
|
27580
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27581
|
+
* @summary Update store step configuration
|
|
27582
|
+
* @param {string} xStoreID X-Store ID
|
|
27583
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27584
|
+
* @param {object} body Configuration data
|
|
27585
|
+
* @param {*} [options] Override http request option.
|
|
27586
|
+
* @throws {RequiredError}
|
|
27587
|
+
*/
|
|
27588
|
+
adminStoresXStoreIDStepStepPut(xStoreID, step, body, options) {
|
|
27589
|
+
return localVarFp.adminStoresXStoreIDStepStepPut(xStoreID, step, body, options).then((request) => request(axios, basePath));
|
|
27590
|
+
},
|
|
27321
27591
|
/**
|
|
27322
27592
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
27323
27593
|
* @summary Regenerate X-Store Secret
|
|
@@ -27450,6 +27720,44 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
27450
27720
|
adminStoresXStoreIDDefaultsGet(xStoreID, options) {
|
|
27451
27721
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
27452
27722
|
}
|
|
27723
|
+
/**
|
|
27724
|
+
* Get schema options for a specific store by xStoreID
|
|
27725
|
+
* @summary Get store schema options
|
|
27726
|
+
* @param {string} xStoreID X-Store ID
|
|
27727
|
+
* @param {*} [options] Override http request option.
|
|
27728
|
+
* @throws {RequiredError}
|
|
27729
|
+
* @memberof StoresApi
|
|
27730
|
+
*/
|
|
27731
|
+
adminStoresXStoreIDSchemaOptionsGet(xStoreID, options) {
|
|
27732
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDSchemaOptionsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
27733
|
+
}
|
|
27734
|
+
/**
|
|
27735
|
+
* Perform search on a specific store by xStoreID
|
|
27736
|
+
* @summary Get store search results
|
|
27737
|
+
* @param {string} xStoreID X-Store ID
|
|
27738
|
+
* @param {string} query Search query
|
|
27739
|
+
* @param {number} [page] Page number
|
|
27740
|
+
* @param {number} [pageSize] Page size
|
|
27741
|
+
* @param {*} [options] Override http request option.
|
|
27742
|
+
* @throws {RequiredError}
|
|
27743
|
+
* @memberof StoresApi
|
|
27744
|
+
*/
|
|
27745
|
+
adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options) {
|
|
27746
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
27747
|
+
}
|
|
27748
|
+
/**
|
|
27749
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27750
|
+
* @summary Update store step configuration
|
|
27751
|
+
* @param {string} xStoreID X-Store ID
|
|
27752
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
27753
|
+
* @param {object} body Configuration data
|
|
27754
|
+
* @param {*} [options] Override http request option.
|
|
27755
|
+
* @throws {RequiredError}
|
|
27756
|
+
* @memberof StoresApi
|
|
27757
|
+
*/
|
|
27758
|
+
adminStoresXStoreIDStepStepPut(xStoreID, step, body, options) {
|
|
27759
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDStepStepPut(xStoreID, step, body, options).then((request) => request(this.axios, this.basePath));
|
|
27760
|
+
}
|
|
27453
27761
|
/**
|
|
27454
27762
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
27455
27763
|
* @summary Regenerate X-Store Secret
|