@seekora-ai/admin-api 1.1.52 → 1.1.53
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 +14 -2
- package/api.ts +969 -4
- package/dist/api.d.ts +950 -120
- package/dist/api.js +296 -5
- package/dist/esm/api.d.ts +950 -120
- package/dist/esm/api.js +287 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.53.tgz +0 -0
- package/seekora-ai-admin-api-1.1.52.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -25,11 +25,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
exports.AdminNotificationTemplatesApiAxiosParamCreator = exports.AdminAnalyticsApi = exports.AdminAnalyticsApiFactory = exports.AdminAnalyticsApiFp = exports.AdminAnalyticsApiAxiosParamCreator = exports.AnalyticsActivityLogsGetActionEnum = exports.ActivityLogsApi = exports.ActivityLogsApiFactory = exports.ActivityLogsApiFp = exports.ActivityLogsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.QuerySuggestionsServiceRuleType = exports.QuerySuggestionsServiceQuerySuggestionStatus = exports.QuerySuggestionsServiceQuerySuggestionSource = exports.QuerySuggestionsServiceBulkOperation = exports.QuerySuggestionsServiceBannedMatchType = exports.MenuRoutesAddMenuRequestModuleTypeEnum = exports.MenuRoutesAddMenuRequestMenuLocationEnum = exports.MenuRoutesAddMenuRequestMenuLevelEnum = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdateStoreAccessRequestAccessLevelEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = exports.DataTypesStoreLevelMenuRightAccessLevelEnum = exports.DataTypesStoreAccessRequestAccessLevelEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesNotificationType = exports.DataTypesNotificationStatus = exports.DataTypesNotificationPriority = exports.DataTypesNotificationChannel = exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = void 0;
|
|
26
26
|
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 = 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.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = void 0;
|
|
27
27
|
exports.CommonApiAxiosParamCreator = exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = exports.BillingDashboardGraphsApiFp = exports.BillingDashboardGraphsApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = exports.AdminBillingPaymentTransactionsGetSortOrderEnum = exports.AdminBillingPaymentTransactionsGetSortByEnum = exports.AdminBillingOrdersGetSortOrderEnum = exports.AdminBillingOrdersGetSortByEnum = exports.AdminBillingInvoicesGetSortOrderEnum = exports.AdminBillingInvoicesGetSortByEnum = exports.AdminBillingCreditTransactionsGetSortOrderEnum = exports.AdminBillingCreditTransactionsGetSortByEnum = exports.AdminBillingCreditPurchasesGetSortOrderEnum = exports.AdminBillingCreditPurchasesGetSortByEnum = exports.AdminBillingCreditLedgerGetSortOrderEnum = exports.AdminBillingCreditLedgerGetSortByEnum = 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 = void 0;
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = void 0;
|
|
28
|
+
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.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.DropdownRecommendationsApi = exports.DropdownRecommendationsApiFactory = exports.DropdownRecommendationsApiFp = exports.DropdownRecommendationsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.DefaultMenuManagementApi = exports.DefaultMenuManagementApiFactory = exports.DefaultMenuManagementApiFp = exports.DefaultMenuManagementApiAxiosParamCreator = 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.CompanyConfigApi = exports.CompanyConfigApiFactory = exports.CompanyConfigApiFp = exports.CompanyConfigApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = void 0;
|
|
29
|
+
exports.NotificationPreferencesApi = exports.NotificationPreferencesApiFactory = exports.NotificationPreferencesApiFp = exports.NotificationPreferencesApiAxiosParamCreator = 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.MenuRouteMetricsAdminApi = exports.MenuRouteMetricsAdminApiFactory = exports.MenuRouteMetricsAdminApiFp = exports.MenuRouteMetricsAdminApiAxiosParamCreator = exports.MenuRouteMetricGetFormnameEnum = exports.MenuRouteMetricGetRouteEnum = exports.MenuRouteMetricsApi = exports.MenuRouteMetricsApiFactory = exports.MenuRouteMetricsApiFp = exports.MenuRouteMetricsApiAxiosParamCreator = exports.MenuManagementApi = exports.MenuManagementApiFactory = exports.MenuManagementApiFp = exports.MenuManagementApiAxiosParamCreator = exports.LimitsApi = 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 = void 0;
|
|
30
|
+
exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = 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.V1NotificationsGetSortOrderEnum = exports.V1NotificationsGetSortByEnum = exports.V1NotificationsGetPriorityEnum = exports.V1NotificationsGetIsReadEnum = exports.V1NotificationsGetTypeEnum = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = void 0;
|
|
31
|
+
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.SDKStoreInfoApi = exports.SDKStoreInfoApiFactory = exports.SDKStoreInfoApiFp = exports.SDKStoreInfoApiAxiosParamCreator = exports.SDKStoreCreationApi = exports.SDKStoreCreationApiFactory = exports.SDKStoreCreationApiFp = exports.SDKStoreCreationApiAxiosParamCreator = exports.SDKStoreConfigApi = exports.SDKStoreConfigApiFactory = exports.SDKStoreConfigApiFp = exports.SDKStoreConfigApiAxiosParamCreator = 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 = void 0;
|
|
32
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = void 0;
|
|
33
33
|
const axios_1 = require("axios");
|
|
34
34
|
// Some imports not used depending on template conditions
|
|
35
35
|
// @ts-ignore
|
|
@@ -15032,6 +15032,297 @@ class DocumentsApi extends base_1.BaseAPI {
|
|
|
15032
15032
|
}
|
|
15033
15033
|
}
|
|
15034
15034
|
exports.DocumentsApi = DocumentsApi;
|
|
15035
|
+
/**
|
|
15036
|
+
* DropdownRecommendationsApi - axios parameter creator
|
|
15037
|
+
* @export
|
|
15038
|
+
*/
|
|
15039
|
+
const DropdownRecommendationsApiAxiosParamCreator = function (configuration) {
|
|
15040
|
+
return {
|
|
15041
|
+
/**
|
|
15042
|
+
* Retrieve configuration settings for dropdown recommendations
|
|
15043
|
+
* @summary Get Dropdown Recommendations Configuration
|
|
15044
|
+
* @param {string} xStoreid Store ID
|
|
15045
|
+
* @param {string} xStoresecret Store Secret
|
|
15046
|
+
* @param {*} [options] Override http request option.
|
|
15047
|
+
* @throws {RequiredError}
|
|
15048
|
+
*/
|
|
15049
|
+
v1DropdownRecommendationsConfigGet: (xStoreid_1, xStoresecret_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, ...args_1], void 0, function* (xStoreid, xStoresecret, options = {}) {
|
|
15050
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
15051
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsConfigGet', 'xStoreid', xStoreid);
|
|
15052
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
15053
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsConfigGet', 'xStoresecret', xStoresecret);
|
|
15054
|
+
const localVarPath = `/v1/dropdown-recommendations/config`;
|
|
15055
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15056
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15057
|
+
let baseOptions;
|
|
15058
|
+
if (configuration) {
|
|
15059
|
+
baseOptions = configuration.baseOptions;
|
|
15060
|
+
}
|
|
15061
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15062
|
+
const localVarHeaderParameter = {};
|
|
15063
|
+
const localVarQueryParameter = {};
|
|
15064
|
+
if (xStoreid != null) {
|
|
15065
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
15066
|
+
}
|
|
15067
|
+
if (xStoresecret != null) {
|
|
15068
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
15069
|
+
}
|
|
15070
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15071
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15072
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15073
|
+
return {
|
|
15074
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15075
|
+
options: localVarRequestOptions,
|
|
15076
|
+
};
|
|
15077
|
+
}),
|
|
15078
|
+
/**
|
|
15079
|
+
* Update configuration settings for dropdown recommendations
|
|
15080
|
+
* @summary Update Dropdown Recommendations Configuration
|
|
15081
|
+
* @param {string} xStoreid Store ID
|
|
15082
|
+
* @param {string} xStoresecret Store Secret
|
|
15083
|
+
* @param {DropdownRecommendationsServiceUpdateDropdownConfigRequest} dropdownRecommendationsServiceUpdateDropdownConfigRequest Configuration to update
|
|
15084
|
+
* @param {*} [options] Override http request option.
|
|
15085
|
+
* @throws {RequiredError}
|
|
15086
|
+
*/
|
|
15087
|
+
v1DropdownRecommendationsConfigPut: (xStoreid_1, xStoresecret_1, dropdownRecommendationsServiceUpdateDropdownConfigRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dropdownRecommendationsServiceUpdateDropdownConfigRequest_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options = {}) {
|
|
15088
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
15089
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsConfigPut', 'xStoreid', xStoreid);
|
|
15090
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
15091
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsConfigPut', 'xStoresecret', xStoresecret);
|
|
15092
|
+
// verify required parameter 'dropdownRecommendationsServiceUpdateDropdownConfigRequest' is not null or undefined
|
|
15093
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsConfigPut', 'dropdownRecommendationsServiceUpdateDropdownConfigRequest', dropdownRecommendationsServiceUpdateDropdownConfigRequest);
|
|
15094
|
+
const localVarPath = `/v1/dropdown-recommendations/config`;
|
|
15095
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15096
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15097
|
+
let baseOptions;
|
|
15098
|
+
if (configuration) {
|
|
15099
|
+
baseOptions = configuration.baseOptions;
|
|
15100
|
+
}
|
|
15101
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
15102
|
+
const localVarHeaderParameter = {};
|
|
15103
|
+
const localVarQueryParameter = {};
|
|
15104
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15105
|
+
if (xStoreid != null) {
|
|
15106
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
15107
|
+
}
|
|
15108
|
+
if (xStoresecret != null) {
|
|
15109
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
15110
|
+
}
|
|
15111
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15112
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15113
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15114
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dropdownRecommendationsServiceUpdateDropdownConfigRequest, localVarRequestOptions, configuration);
|
|
15115
|
+
return {
|
|
15116
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15117
|
+
options: localVarRequestOptions,
|
|
15118
|
+
};
|
|
15119
|
+
}),
|
|
15120
|
+
/**
|
|
15121
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
15122
|
+
* @summary Get Dropdown Recommendations
|
|
15123
|
+
* @param {string} xStoreid Store ID
|
|
15124
|
+
* @param {string} xStoresecret Store Secret
|
|
15125
|
+
* @param {string} [xUserId] User ID for personalization
|
|
15126
|
+
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
15127
|
+
* @param {*} [options] Override http request option.
|
|
15128
|
+
* @throws {RequiredError}
|
|
15129
|
+
*/
|
|
15130
|
+
v1DropdownRecommendationsGet: (xStoreid_1, xStoresecret_1, xUserId_1, xAnonId_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, xUserId_1, xAnonId_1, ...args_1], void 0, function* (xStoreid, xStoresecret, xUserId, xAnonId, options = {}) {
|
|
15131
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
15132
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsGet', 'xStoreid', xStoreid);
|
|
15133
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
15134
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsGet', 'xStoresecret', xStoresecret);
|
|
15135
|
+
const localVarPath = `/v1/dropdown-recommendations`;
|
|
15136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15137
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15138
|
+
let baseOptions;
|
|
15139
|
+
if (configuration) {
|
|
15140
|
+
baseOptions = configuration.baseOptions;
|
|
15141
|
+
}
|
|
15142
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15143
|
+
const localVarHeaderParameter = {};
|
|
15144
|
+
const localVarQueryParameter = {};
|
|
15145
|
+
if (xStoreid != null) {
|
|
15146
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
15147
|
+
}
|
|
15148
|
+
if (xStoresecret != null) {
|
|
15149
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
15150
|
+
}
|
|
15151
|
+
if (xUserId != null) {
|
|
15152
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
15153
|
+
}
|
|
15154
|
+
if (xAnonId != null) {
|
|
15155
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
15156
|
+
}
|
|
15157
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15158
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15159
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15160
|
+
return {
|
|
15161
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15162
|
+
options: localVarRequestOptions,
|
|
15163
|
+
};
|
|
15164
|
+
}),
|
|
15165
|
+
};
|
|
15166
|
+
};
|
|
15167
|
+
exports.DropdownRecommendationsApiAxiosParamCreator = DropdownRecommendationsApiAxiosParamCreator;
|
|
15168
|
+
/**
|
|
15169
|
+
* DropdownRecommendationsApi - functional programming interface
|
|
15170
|
+
* @export
|
|
15171
|
+
*/
|
|
15172
|
+
const DropdownRecommendationsApiFp = function (configuration) {
|
|
15173
|
+
const localVarAxiosParamCreator = (0, exports.DropdownRecommendationsApiAxiosParamCreator)(configuration);
|
|
15174
|
+
return {
|
|
15175
|
+
/**
|
|
15176
|
+
* Retrieve configuration settings for dropdown recommendations
|
|
15177
|
+
* @summary Get Dropdown Recommendations Configuration
|
|
15178
|
+
* @param {string} xStoreid Store ID
|
|
15179
|
+
* @param {string} xStoresecret Store Secret
|
|
15180
|
+
* @param {*} [options] Override http request option.
|
|
15181
|
+
* @throws {RequiredError}
|
|
15182
|
+
*/
|
|
15183
|
+
v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options) {
|
|
15184
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15185
|
+
var _a, _b, _c;
|
|
15186
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options);
|
|
15187
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15188
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DropdownRecommendationsApi.v1DropdownRecommendationsConfigGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15189
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15190
|
+
});
|
|
15191
|
+
},
|
|
15192
|
+
/**
|
|
15193
|
+
* Update configuration settings for dropdown recommendations
|
|
15194
|
+
* @summary Update Dropdown Recommendations Configuration
|
|
15195
|
+
* @param {string} xStoreid Store ID
|
|
15196
|
+
* @param {string} xStoresecret Store Secret
|
|
15197
|
+
* @param {DropdownRecommendationsServiceUpdateDropdownConfigRequest} dropdownRecommendationsServiceUpdateDropdownConfigRequest Configuration to update
|
|
15198
|
+
* @param {*} [options] Override http request option.
|
|
15199
|
+
* @throws {RequiredError}
|
|
15200
|
+
*/
|
|
15201
|
+
v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options) {
|
|
15202
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15203
|
+
var _a, _b, _c;
|
|
15204
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options);
|
|
15205
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15206
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DropdownRecommendationsApi.v1DropdownRecommendationsConfigPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15207
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15208
|
+
});
|
|
15209
|
+
},
|
|
15210
|
+
/**
|
|
15211
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
15212
|
+
* @summary Get Dropdown Recommendations
|
|
15213
|
+
* @param {string} xStoreid Store ID
|
|
15214
|
+
* @param {string} xStoresecret Store Secret
|
|
15215
|
+
* @param {string} [xUserId] User ID for personalization
|
|
15216
|
+
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
15217
|
+
* @param {*} [options] Override http request option.
|
|
15218
|
+
* @throws {RequiredError}
|
|
15219
|
+
*/
|
|
15220
|
+
v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
15221
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15222
|
+
var _a, _b, _c;
|
|
15223
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options);
|
|
15224
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15225
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DropdownRecommendationsApi.v1DropdownRecommendationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15226
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15227
|
+
});
|
|
15228
|
+
},
|
|
15229
|
+
};
|
|
15230
|
+
};
|
|
15231
|
+
exports.DropdownRecommendationsApiFp = DropdownRecommendationsApiFp;
|
|
15232
|
+
/**
|
|
15233
|
+
* DropdownRecommendationsApi - factory interface
|
|
15234
|
+
* @export
|
|
15235
|
+
*/
|
|
15236
|
+
const DropdownRecommendationsApiFactory = function (configuration, basePath, axios) {
|
|
15237
|
+
const localVarFp = (0, exports.DropdownRecommendationsApiFp)(configuration);
|
|
15238
|
+
return {
|
|
15239
|
+
/**
|
|
15240
|
+
* Retrieve configuration settings for dropdown recommendations
|
|
15241
|
+
* @summary Get Dropdown Recommendations Configuration
|
|
15242
|
+
* @param {string} xStoreid Store ID
|
|
15243
|
+
* @param {string} xStoresecret Store Secret
|
|
15244
|
+
* @param {*} [options] Override http request option.
|
|
15245
|
+
* @throws {RequiredError}
|
|
15246
|
+
*/
|
|
15247
|
+
v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options) {
|
|
15248
|
+
return localVarFp.v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
|
|
15249
|
+
},
|
|
15250
|
+
/**
|
|
15251
|
+
* Update configuration settings for dropdown recommendations
|
|
15252
|
+
* @summary Update Dropdown Recommendations Configuration
|
|
15253
|
+
* @param {string} xStoreid Store ID
|
|
15254
|
+
* @param {string} xStoresecret Store Secret
|
|
15255
|
+
* @param {DropdownRecommendationsServiceUpdateDropdownConfigRequest} dropdownRecommendationsServiceUpdateDropdownConfigRequest Configuration to update
|
|
15256
|
+
* @param {*} [options] Override http request option.
|
|
15257
|
+
* @throws {RequiredError}
|
|
15258
|
+
*/
|
|
15259
|
+
v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options) {
|
|
15260
|
+
return localVarFp.v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options).then((request) => request(axios, basePath));
|
|
15261
|
+
},
|
|
15262
|
+
/**
|
|
15263
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
15264
|
+
* @summary Get Dropdown Recommendations
|
|
15265
|
+
* @param {string} xStoreid Store ID
|
|
15266
|
+
* @param {string} xStoresecret Store Secret
|
|
15267
|
+
* @param {string} [xUserId] User ID for personalization
|
|
15268
|
+
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
15269
|
+
* @param {*} [options] Override http request option.
|
|
15270
|
+
* @throws {RequiredError}
|
|
15271
|
+
*/
|
|
15272
|
+
v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
15273
|
+
return localVarFp.v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(axios, basePath));
|
|
15274
|
+
},
|
|
15275
|
+
};
|
|
15276
|
+
};
|
|
15277
|
+
exports.DropdownRecommendationsApiFactory = DropdownRecommendationsApiFactory;
|
|
15278
|
+
/**
|
|
15279
|
+
* DropdownRecommendationsApi - object-oriented interface
|
|
15280
|
+
* @export
|
|
15281
|
+
* @class DropdownRecommendationsApi
|
|
15282
|
+
* @extends {BaseAPI}
|
|
15283
|
+
*/
|
|
15284
|
+
class DropdownRecommendationsApi extends base_1.BaseAPI {
|
|
15285
|
+
/**
|
|
15286
|
+
* Retrieve configuration settings for dropdown recommendations
|
|
15287
|
+
* @summary Get Dropdown Recommendations Configuration
|
|
15288
|
+
* @param {string} xStoreid Store ID
|
|
15289
|
+
* @param {string} xStoresecret Store Secret
|
|
15290
|
+
* @param {*} [options] Override http request option.
|
|
15291
|
+
* @throws {RequiredError}
|
|
15292
|
+
* @memberof DropdownRecommendationsApi
|
|
15293
|
+
*/
|
|
15294
|
+
v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options) {
|
|
15295
|
+
return (0, exports.DropdownRecommendationsApiFp)(this.configuration).v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
|
|
15296
|
+
}
|
|
15297
|
+
/**
|
|
15298
|
+
* Update configuration settings for dropdown recommendations
|
|
15299
|
+
* @summary Update Dropdown Recommendations Configuration
|
|
15300
|
+
* @param {string} xStoreid Store ID
|
|
15301
|
+
* @param {string} xStoresecret Store Secret
|
|
15302
|
+
* @param {DropdownRecommendationsServiceUpdateDropdownConfigRequest} dropdownRecommendationsServiceUpdateDropdownConfigRequest Configuration to update
|
|
15303
|
+
* @param {*} [options] Override http request option.
|
|
15304
|
+
* @throws {RequiredError}
|
|
15305
|
+
* @memberof DropdownRecommendationsApi
|
|
15306
|
+
*/
|
|
15307
|
+
v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options) {
|
|
15308
|
+
return (0, exports.DropdownRecommendationsApiFp)(this.configuration).v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15309
|
+
}
|
|
15310
|
+
/**
|
|
15311
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
15312
|
+
* @summary Get Dropdown Recommendations
|
|
15313
|
+
* @param {string} xStoreid Store ID
|
|
15314
|
+
* @param {string} xStoresecret Store Secret
|
|
15315
|
+
* @param {string} [xUserId] User ID for personalization
|
|
15316
|
+
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
15317
|
+
* @param {*} [options] Override http request option.
|
|
15318
|
+
* @throws {RequiredError}
|
|
15319
|
+
* @memberof DropdownRecommendationsApi
|
|
15320
|
+
*/
|
|
15321
|
+
v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
15322
|
+
return (0, exports.DropdownRecommendationsApiFp)(this.configuration).v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(this.axios, this.basePath));
|
|
15323
|
+
}
|
|
15324
|
+
}
|
|
15325
|
+
exports.DropdownRecommendationsApi = DropdownRecommendationsApi;
|
|
15035
15326
|
/**
|
|
15036
15327
|
* ExternalAPINotificationsApi - axios parameter creator
|
|
15037
15328
|
* @export
|