@seekora-ai/admin-api 1.1.58 → 1.1.60
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 +25 -3
- package/api.ts +1559 -56
- package/dist/api.d.ts +1013 -54
- package/dist/api.js +1064 -18
- package/dist/esm/api.d.ts +1013 -54
- package/dist/esm/api.js +1100 -58
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.60.tgz +0 -0
- package/seekora-ai-admin-api-1.1.58.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -23,13 +23,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
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
|
-
exports.
|
|
27
|
-
exports.
|
|
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 = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = void 0;
|
|
26
|
+
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.AdminAnalyticsOrgKpiGetTagsMatchModeEnum = exports.AdminAnalyticsOrgKpiGetGranularityEnum = 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
|
+
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 = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = void 0;
|
|
28
|
+
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.DocumentationApi = exports.DocumentationApiFactory = exports.DocumentationApiFp = exports.DocumentationApiAxiosParamCreator = 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 = exports.CommonApiAxiosParamCreator = exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = void 0;
|
|
29
|
+
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 = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = void 0;
|
|
30
|
+
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 = exports.NotificationPreferencesApi = exports.NotificationPreferencesApiFactory = exports.NotificationPreferencesApiFp = exports.NotificationPreferencesApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = void 0;
|
|
31
|
+
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 = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = 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 = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = void 0;
|
|
33
33
|
const axios_1 = require("axios");
|
|
34
34
|
// Some imports not used depending on template conditions
|
|
35
35
|
// @ts-ignore
|
|
@@ -2732,6 +2732,170 @@ exports.AdminNotificationsApi = AdminNotificationsApi;
|
|
|
2732
2732
|
*/
|
|
2733
2733
|
const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
2734
2734
|
return {
|
|
2735
|
+
/**
|
|
2736
|
+
* Retrieve geographic analytics aggregated across all stores for the organization.
|
|
2737
|
+
* @summary Get Organization Geographic Analytics
|
|
2738
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
2739
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
2740
|
+
* @param {number} [limit] Maximum number of results
|
|
2741
|
+
* @param {*} [options] Override http request option.
|
|
2742
|
+
* @throws {RequiredError}
|
|
2743
|
+
*/
|
|
2744
|
+
adminAnalyticsOrgGeoGet: (startTime_1, endTime_1, limit_1, ...args_1) => __awaiter(this, [startTime_1, endTime_1, limit_1, ...args_1], void 0, function* (startTime, endTime, limit, options = {}) {
|
|
2745
|
+
const localVarPath = `/admin/analytics/org/geo`;
|
|
2746
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2747
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2748
|
+
let baseOptions;
|
|
2749
|
+
if (configuration) {
|
|
2750
|
+
baseOptions = configuration.baseOptions;
|
|
2751
|
+
}
|
|
2752
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2753
|
+
const localVarHeaderParameter = {};
|
|
2754
|
+
const localVarQueryParameter = {};
|
|
2755
|
+
// authentication BearerAuth required
|
|
2756
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2757
|
+
if (startTime !== undefined) {
|
|
2758
|
+
localVarQueryParameter['start_time'] = startTime;
|
|
2759
|
+
}
|
|
2760
|
+
if (endTime !== undefined) {
|
|
2761
|
+
localVarQueryParameter['end_time'] = endTime;
|
|
2762
|
+
}
|
|
2763
|
+
if (limit !== undefined) {
|
|
2764
|
+
localVarQueryParameter['limit'] = limit;
|
|
2765
|
+
}
|
|
2766
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2767
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2768
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2769
|
+
return {
|
|
2770
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2771
|
+
options: localVarRequestOptions,
|
|
2772
|
+
};
|
|
2773
|
+
}),
|
|
2774
|
+
/**
|
|
2775
|
+
* Retrieve comprehensive KPI metrics aggregated across all stores for the organization including searches, clicks, conversions, and revenue data with time series and summary.
|
|
2776
|
+
* @summary Get Organization KPI Analytics
|
|
2777
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
2778
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
2779
|
+
* @param {AdminAnalyticsOrgKpiGetGranularityEnum} [granularity] Time granularity
|
|
2780
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter
|
|
2781
|
+
* @param {AdminAnalyticsOrgKpiGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
2782
|
+
* @param {boolean} [compareMode] Enable comparison mode
|
|
2783
|
+
* @param {*} [options] Override http request option.
|
|
2784
|
+
* @throws {RequiredError}
|
|
2785
|
+
*/
|
|
2786
|
+
adminAnalyticsOrgKpiGet: (startTime_1, endTime_1, granularity_1, analyticsTags_1, tagsMatchMode_1, compareMode_1, ...args_1) => __awaiter(this, [startTime_1, endTime_1, granularity_1, analyticsTags_1, tagsMatchMode_1, compareMode_1, ...args_1], void 0, function* (startTime, endTime, granularity, analyticsTags, tagsMatchMode, compareMode, options = {}) {
|
|
2787
|
+
const localVarPath = `/admin/analytics/org/kpi`;
|
|
2788
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2789
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2790
|
+
let baseOptions;
|
|
2791
|
+
if (configuration) {
|
|
2792
|
+
baseOptions = configuration.baseOptions;
|
|
2793
|
+
}
|
|
2794
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2795
|
+
const localVarHeaderParameter = {};
|
|
2796
|
+
const localVarQueryParameter = {};
|
|
2797
|
+
// authentication BearerAuth required
|
|
2798
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2799
|
+
if (startTime !== undefined) {
|
|
2800
|
+
localVarQueryParameter['start_time'] = startTime;
|
|
2801
|
+
}
|
|
2802
|
+
if (endTime !== undefined) {
|
|
2803
|
+
localVarQueryParameter['end_time'] = endTime;
|
|
2804
|
+
}
|
|
2805
|
+
if (granularity !== undefined) {
|
|
2806
|
+
localVarQueryParameter['granularity'] = granularity;
|
|
2807
|
+
}
|
|
2808
|
+
if (analyticsTags !== undefined) {
|
|
2809
|
+
localVarQueryParameter['analytics_tags'] = analyticsTags;
|
|
2810
|
+
}
|
|
2811
|
+
if (tagsMatchMode !== undefined) {
|
|
2812
|
+
localVarQueryParameter['tags_match_mode'] = tagsMatchMode;
|
|
2813
|
+
}
|
|
2814
|
+
if (compareMode !== undefined) {
|
|
2815
|
+
localVarQueryParameter['compare_mode'] = compareMode;
|
|
2816
|
+
}
|
|
2817
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2818
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2819
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2820
|
+
return {
|
|
2821
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2822
|
+
options: localVarRequestOptions,
|
|
2823
|
+
};
|
|
2824
|
+
}),
|
|
2825
|
+
/**
|
|
2826
|
+
* Retrieve real-time KPI metrics aggregated across all stores for the organization for the last hour.
|
|
2827
|
+
* @summary Get Organization Real-time KPI Analytics
|
|
2828
|
+
* @param {*} [options] Override http request option.
|
|
2829
|
+
* @throws {RequiredError}
|
|
2830
|
+
*/
|
|
2831
|
+
adminAnalyticsOrgKpiRealtimeGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2832
|
+
const localVarPath = `/admin/analytics/org/kpi/realtime`;
|
|
2833
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2834
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2835
|
+
let baseOptions;
|
|
2836
|
+
if (configuration) {
|
|
2837
|
+
baseOptions = configuration.baseOptions;
|
|
2838
|
+
}
|
|
2839
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2840
|
+
const localVarHeaderParameter = {};
|
|
2841
|
+
const localVarQueryParameter = {};
|
|
2842
|
+
// authentication BearerAuth required
|
|
2843
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2844
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2845
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2846
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2847
|
+
return {
|
|
2848
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2849
|
+
options: localVarRequestOptions,
|
|
2850
|
+
};
|
|
2851
|
+
}),
|
|
2852
|
+
/**
|
|
2853
|
+
* Retrieve per-query performance analytics aggregated across all stores for the organization.
|
|
2854
|
+
* @summary Get Organization Query Analytics
|
|
2855
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
2856
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
2857
|
+
* @param {number} [limit] Maximum number of results
|
|
2858
|
+
* @param {number} [offset] Offset for pagination
|
|
2859
|
+
* @param {string} [orderBy] Column to order by
|
|
2860
|
+
* @param {*} [options] Override http request option.
|
|
2861
|
+
* @throws {RequiredError}
|
|
2862
|
+
*/
|
|
2863
|
+
adminAnalyticsOrgQueriesGet: (startTime_1, endTime_1, limit_1, offset_1, orderBy_1, ...args_1) => __awaiter(this, [startTime_1, endTime_1, limit_1, offset_1, orderBy_1, ...args_1], void 0, function* (startTime, endTime, limit, offset, orderBy, options = {}) {
|
|
2864
|
+
const localVarPath = `/admin/analytics/org/queries`;
|
|
2865
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2866
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2867
|
+
let baseOptions;
|
|
2868
|
+
if (configuration) {
|
|
2869
|
+
baseOptions = configuration.baseOptions;
|
|
2870
|
+
}
|
|
2871
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2872
|
+
const localVarHeaderParameter = {};
|
|
2873
|
+
const localVarQueryParameter = {};
|
|
2874
|
+
// authentication BearerAuth required
|
|
2875
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2876
|
+
if (startTime !== undefined) {
|
|
2877
|
+
localVarQueryParameter['start_time'] = startTime;
|
|
2878
|
+
}
|
|
2879
|
+
if (endTime !== undefined) {
|
|
2880
|
+
localVarQueryParameter['end_time'] = endTime;
|
|
2881
|
+
}
|
|
2882
|
+
if (limit !== undefined) {
|
|
2883
|
+
localVarQueryParameter['limit'] = limit;
|
|
2884
|
+
}
|
|
2885
|
+
if (offset !== undefined) {
|
|
2886
|
+
localVarQueryParameter['offset'] = offset;
|
|
2887
|
+
}
|
|
2888
|
+
if (orderBy !== undefined) {
|
|
2889
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
2890
|
+
}
|
|
2891
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2892
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2893
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2894
|
+
return {
|
|
2895
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2896
|
+
options: localVarRequestOptions,
|
|
2897
|
+
};
|
|
2898
|
+
}),
|
|
2735
2899
|
/**
|
|
2736
2900
|
* Retrieve analytics API configuration including supported granularities, limits, and available features
|
|
2737
2901
|
* @summary Get Analytics Configuration
|
|
@@ -4490,6 +4654,80 @@ exports.AnalyticsApiAxiosParamCreator = AnalyticsApiAxiosParamCreator;
|
|
|
4490
4654
|
const AnalyticsApiFp = function (configuration) {
|
|
4491
4655
|
const localVarAxiosParamCreator = (0, exports.AnalyticsApiAxiosParamCreator)(configuration);
|
|
4492
4656
|
return {
|
|
4657
|
+
/**
|
|
4658
|
+
* Retrieve geographic analytics aggregated across all stores for the organization.
|
|
4659
|
+
* @summary Get Organization Geographic Analytics
|
|
4660
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
4661
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
4662
|
+
* @param {number} [limit] Maximum number of results
|
|
4663
|
+
* @param {*} [options] Override http request option.
|
|
4664
|
+
* @throws {RequiredError}
|
|
4665
|
+
*/
|
|
4666
|
+
adminAnalyticsOrgGeoGet(startTime, endTime, limit, options) {
|
|
4667
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4668
|
+
var _a, _b, _c;
|
|
4669
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsOrgGeoGet(startTime, endTime, limit, options);
|
|
4670
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4671
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsOrgGeoGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4672
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4673
|
+
});
|
|
4674
|
+
},
|
|
4675
|
+
/**
|
|
4676
|
+
* Retrieve comprehensive KPI metrics aggregated across all stores for the organization including searches, clicks, conversions, and revenue data with time series and summary.
|
|
4677
|
+
* @summary Get Organization KPI Analytics
|
|
4678
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
4679
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
4680
|
+
* @param {AdminAnalyticsOrgKpiGetGranularityEnum} [granularity] Time granularity
|
|
4681
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter
|
|
4682
|
+
* @param {AdminAnalyticsOrgKpiGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
4683
|
+
* @param {boolean} [compareMode] Enable comparison mode
|
|
4684
|
+
* @param {*} [options] Override http request option.
|
|
4685
|
+
* @throws {RequiredError}
|
|
4686
|
+
*/
|
|
4687
|
+
adminAnalyticsOrgKpiGet(startTime, endTime, granularity, analyticsTags, tagsMatchMode, compareMode, options) {
|
|
4688
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4689
|
+
var _a, _b, _c;
|
|
4690
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsOrgKpiGet(startTime, endTime, granularity, analyticsTags, tagsMatchMode, compareMode, options);
|
|
4691
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4692
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsOrgKpiGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4693
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4694
|
+
});
|
|
4695
|
+
},
|
|
4696
|
+
/**
|
|
4697
|
+
* Retrieve real-time KPI metrics aggregated across all stores for the organization for the last hour.
|
|
4698
|
+
* @summary Get Organization Real-time KPI Analytics
|
|
4699
|
+
* @param {*} [options] Override http request option.
|
|
4700
|
+
* @throws {RequiredError}
|
|
4701
|
+
*/
|
|
4702
|
+
adminAnalyticsOrgKpiRealtimeGet(options) {
|
|
4703
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4704
|
+
var _a, _b, _c;
|
|
4705
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsOrgKpiRealtimeGet(options);
|
|
4706
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4707
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsOrgKpiRealtimeGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4708
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4709
|
+
});
|
|
4710
|
+
},
|
|
4711
|
+
/**
|
|
4712
|
+
* Retrieve per-query performance analytics aggregated across all stores for the organization.
|
|
4713
|
+
* @summary Get Organization Query Analytics
|
|
4714
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
4715
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
4716
|
+
* @param {number} [limit] Maximum number of results
|
|
4717
|
+
* @param {number} [offset] Offset for pagination
|
|
4718
|
+
* @param {string} [orderBy] Column to order by
|
|
4719
|
+
* @param {*} [options] Override http request option.
|
|
4720
|
+
* @throws {RequiredError}
|
|
4721
|
+
*/
|
|
4722
|
+
adminAnalyticsOrgQueriesGet(startTime, endTime, limit, offset, orderBy, options) {
|
|
4723
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4724
|
+
var _a, _b, _c;
|
|
4725
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsOrgQueriesGet(startTime, endTime, limit, offset, orderBy, options);
|
|
4726
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4727
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsOrgQueriesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4728
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4729
|
+
});
|
|
4730
|
+
},
|
|
4493
4731
|
/**
|
|
4494
4732
|
* Retrieve analytics API configuration including supported granularities, limits, and available features
|
|
4495
4733
|
* @summary Get Analytics Configuration
|
|
@@ -5111,6 +5349,56 @@ exports.AnalyticsApiFp = AnalyticsApiFp;
|
|
|
5111
5349
|
const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
5112
5350
|
const localVarFp = (0, exports.AnalyticsApiFp)(configuration);
|
|
5113
5351
|
return {
|
|
5352
|
+
/**
|
|
5353
|
+
* Retrieve geographic analytics aggregated across all stores for the organization.
|
|
5354
|
+
* @summary Get Organization Geographic Analytics
|
|
5355
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
5356
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
5357
|
+
* @param {number} [limit] Maximum number of results
|
|
5358
|
+
* @param {*} [options] Override http request option.
|
|
5359
|
+
* @throws {RequiredError}
|
|
5360
|
+
*/
|
|
5361
|
+
adminAnalyticsOrgGeoGet(startTime, endTime, limit, options) {
|
|
5362
|
+
return localVarFp.adminAnalyticsOrgGeoGet(startTime, endTime, limit, options).then((request) => request(axios, basePath));
|
|
5363
|
+
},
|
|
5364
|
+
/**
|
|
5365
|
+
* Retrieve comprehensive KPI metrics aggregated across all stores for the organization including searches, clicks, conversions, and revenue data with time series and summary.
|
|
5366
|
+
* @summary Get Organization KPI Analytics
|
|
5367
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
5368
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
5369
|
+
* @param {AdminAnalyticsOrgKpiGetGranularityEnum} [granularity] Time granularity
|
|
5370
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter
|
|
5371
|
+
* @param {AdminAnalyticsOrgKpiGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
5372
|
+
* @param {boolean} [compareMode] Enable comparison mode
|
|
5373
|
+
* @param {*} [options] Override http request option.
|
|
5374
|
+
* @throws {RequiredError}
|
|
5375
|
+
*/
|
|
5376
|
+
adminAnalyticsOrgKpiGet(startTime, endTime, granularity, analyticsTags, tagsMatchMode, compareMode, options) {
|
|
5377
|
+
return localVarFp.adminAnalyticsOrgKpiGet(startTime, endTime, granularity, analyticsTags, tagsMatchMode, compareMode, options).then((request) => request(axios, basePath));
|
|
5378
|
+
},
|
|
5379
|
+
/**
|
|
5380
|
+
* Retrieve real-time KPI metrics aggregated across all stores for the organization for the last hour.
|
|
5381
|
+
* @summary Get Organization Real-time KPI Analytics
|
|
5382
|
+
* @param {*} [options] Override http request option.
|
|
5383
|
+
* @throws {RequiredError}
|
|
5384
|
+
*/
|
|
5385
|
+
adminAnalyticsOrgKpiRealtimeGet(options) {
|
|
5386
|
+
return localVarFp.adminAnalyticsOrgKpiRealtimeGet(options).then((request) => request(axios, basePath));
|
|
5387
|
+
},
|
|
5388
|
+
/**
|
|
5389
|
+
* Retrieve per-query performance analytics aggregated across all stores for the organization.
|
|
5390
|
+
* @summary Get Organization Query Analytics
|
|
5391
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
5392
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
5393
|
+
* @param {number} [limit] Maximum number of results
|
|
5394
|
+
* @param {number} [offset] Offset for pagination
|
|
5395
|
+
* @param {string} [orderBy] Column to order by
|
|
5396
|
+
* @param {*} [options] Override http request option.
|
|
5397
|
+
* @throws {RequiredError}
|
|
5398
|
+
*/
|
|
5399
|
+
adminAnalyticsOrgQueriesGet(startTime, endTime, limit, offset, orderBy, options) {
|
|
5400
|
+
return localVarFp.adminAnalyticsOrgQueriesGet(startTime, endTime, limit, offset, orderBy, options).then((request) => request(axios, basePath));
|
|
5401
|
+
},
|
|
5114
5402
|
/**
|
|
5115
5403
|
* Retrieve analytics API configuration including supported granularities, limits, and available features
|
|
5116
5404
|
* @summary Get Analytics Configuration
|
|
@@ -5606,6 +5894,60 @@ exports.AnalyticsApiFactory = AnalyticsApiFactory;
|
|
|
5606
5894
|
* @extends {BaseAPI}
|
|
5607
5895
|
*/
|
|
5608
5896
|
class AnalyticsApi extends base_1.BaseAPI {
|
|
5897
|
+
/**
|
|
5898
|
+
* Retrieve geographic analytics aggregated across all stores for the organization.
|
|
5899
|
+
* @summary Get Organization Geographic Analytics
|
|
5900
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
5901
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
5902
|
+
* @param {number} [limit] Maximum number of results
|
|
5903
|
+
* @param {*} [options] Override http request option.
|
|
5904
|
+
* @throws {RequiredError}
|
|
5905
|
+
* @memberof AnalyticsApi
|
|
5906
|
+
*/
|
|
5907
|
+
adminAnalyticsOrgGeoGet(startTime, endTime, limit, options) {
|
|
5908
|
+
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsOrgGeoGet(startTime, endTime, limit, options).then((request) => request(this.axios, this.basePath));
|
|
5909
|
+
}
|
|
5910
|
+
/**
|
|
5911
|
+
* Retrieve comprehensive KPI metrics aggregated across all stores for the organization including searches, clicks, conversions, and revenue data with time series and summary.
|
|
5912
|
+
* @summary Get Organization KPI Analytics
|
|
5913
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
5914
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
5915
|
+
* @param {AdminAnalyticsOrgKpiGetGranularityEnum} [granularity] Time granularity
|
|
5916
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter
|
|
5917
|
+
* @param {AdminAnalyticsOrgKpiGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
5918
|
+
* @param {boolean} [compareMode] Enable comparison mode
|
|
5919
|
+
* @param {*} [options] Override http request option.
|
|
5920
|
+
* @throws {RequiredError}
|
|
5921
|
+
* @memberof AnalyticsApi
|
|
5922
|
+
*/
|
|
5923
|
+
adminAnalyticsOrgKpiGet(startTime, endTime, granularity, analyticsTags, tagsMatchMode, compareMode, options) {
|
|
5924
|
+
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsOrgKpiGet(startTime, endTime, granularity, analyticsTags, tagsMatchMode, compareMode, options).then((request) => request(this.axios, this.basePath));
|
|
5925
|
+
}
|
|
5926
|
+
/**
|
|
5927
|
+
* Retrieve real-time KPI metrics aggregated across all stores for the organization for the last hour.
|
|
5928
|
+
* @summary Get Organization Real-time KPI Analytics
|
|
5929
|
+
* @param {*} [options] Override http request option.
|
|
5930
|
+
* @throws {RequiredError}
|
|
5931
|
+
* @memberof AnalyticsApi
|
|
5932
|
+
*/
|
|
5933
|
+
adminAnalyticsOrgKpiRealtimeGet(options) {
|
|
5934
|
+
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsOrgKpiRealtimeGet(options).then((request) => request(this.axios, this.basePath));
|
|
5935
|
+
}
|
|
5936
|
+
/**
|
|
5937
|
+
* Retrieve per-query performance analytics aggregated across all stores for the organization.
|
|
5938
|
+
* @summary Get Organization Query Analytics
|
|
5939
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
5940
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
5941
|
+
* @param {number} [limit] Maximum number of results
|
|
5942
|
+
* @param {number} [offset] Offset for pagination
|
|
5943
|
+
* @param {string} [orderBy] Column to order by
|
|
5944
|
+
* @param {*} [options] Override http request option.
|
|
5945
|
+
* @throws {RequiredError}
|
|
5946
|
+
* @memberof AnalyticsApi
|
|
5947
|
+
*/
|
|
5948
|
+
adminAnalyticsOrgQueriesGet(startTime, endTime, limit, offset, orderBy, options) {
|
|
5949
|
+
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsOrgQueriesGet(startTime, endTime, limit, offset, orderBy, options).then((request) => request(this.axios, this.basePath));
|
|
5950
|
+
}
|
|
5609
5951
|
/**
|
|
5610
5952
|
* Retrieve analytics API configuration including supported granularities, limits, and available features
|
|
5611
5953
|
* @summary Get Analytics Configuration
|
|
@@ -6114,6 +6456,25 @@ class AnalyticsApi extends base_1.BaseAPI {
|
|
|
6114
6456
|
}
|
|
6115
6457
|
}
|
|
6116
6458
|
exports.AnalyticsApi = AnalyticsApi;
|
|
6459
|
+
/**
|
|
6460
|
+
* @export
|
|
6461
|
+
*/
|
|
6462
|
+
exports.AdminAnalyticsOrgKpiGetGranularityEnum = {
|
|
6463
|
+
Minute: 'minute',
|
|
6464
|
+
_5minute: '5minute',
|
|
6465
|
+
_15minute: '15minute',
|
|
6466
|
+
Hour: 'hour',
|
|
6467
|
+
Day: 'day',
|
|
6468
|
+
Week: 'week',
|
|
6469
|
+
Month: 'month'
|
|
6470
|
+
};
|
|
6471
|
+
/**
|
|
6472
|
+
* @export
|
|
6473
|
+
*/
|
|
6474
|
+
exports.AdminAnalyticsOrgKpiGetTagsMatchModeEnum = {
|
|
6475
|
+
Any: 'any',
|
|
6476
|
+
All: 'all'
|
|
6477
|
+
};
|
|
6117
6478
|
/**
|
|
6118
6479
|
* @export
|
|
6119
6480
|
*/
|
|
@@ -12974,6 +13335,37 @@ exports.CompanyConfigApi = CompanyConfigApi;
|
|
|
12974
13335
|
*/
|
|
12975
13336
|
const ConnectorsApiAxiosParamCreator = function (configuration) {
|
|
12976
13337
|
return {
|
|
13338
|
+
/**
|
|
13339
|
+
* Retrieves validation errors for a specific job ID if any invalid records were found during data upload
|
|
13340
|
+
* @summary Get validation errors for a job
|
|
13341
|
+
* @param {string} jobid Job ID
|
|
13342
|
+
* @param {*} [options] Override http request option.
|
|
13343
|
+
* @throws {RequiredError}
|
|
13344
|
+
*/
|
|
13345
|
+
v1ConnectorsJobstatusJobidValidationErrorsGet: (jobid_1, ...args_1) => __awaiter(this, [jobid_1, ...args_1], void 0, function* (jobid, options = {}) {
|
|
13346
|
+
// verify required parameter 'jobid' is not null or undefined
|
|
13347
|
+
(0, common_1.assertParamExists)('v1ConnectorsJobstatusJobidValidationErrorsGet', 'jobid', jobid);
|
|
13348
|
+
const localVarPath = `/v1/connectors/jobstatus/{jobid}/validation-errors`
|
|
13349
|
+
.replace(`{${"jobid"}}`, encodeURIComponent(String(jobid)));
|
|
13350
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13351
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13352
|
+
let baseOptions;
|
|
13353
|
+
if (configuration) {
|
|
13354
|
+
baseOptions = configuration.baseOptions;
|
|
13355
|
+
}
|
|
13356
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
13357
|
+
const localVarHeaderParameter = {};
|
|
13358
|
+
const localVarQueryParameter = {};
|
|
13359
|
+
// authentication BearerAuth required
|
|
13360
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
13361
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13362
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13363
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13364
|
+
return {
|
|
13365
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13366
|
+
options: localVarRequestOptions,
|
|
13367
|
+
};
|
|
13368
|
+
}),
|
|
12977
13369
|
/**
|
|
12978
13370
|
* Test search
|
|
12979
13371
|
* @summary Test search
|
|
@@ -13261,6 +13653,22 @@ exports.ConnectorsApiAxiosParamCreator = ConnectorsApiAxiosParamCreator;
|
|
|
13261
13653
|
const ConnectorsApiFp = function (configuration) {
|
|
13262
13654
|
const localVarAxiosParamCreator = (0, exports.ConnectorsApiAxiosParamCreator)(configuration);
|
|
13263
13655
|
return {
|
|
13656
|
+
/**
|
|
13657
|
+
* Retrieves validation errors for a specific job ID if any invalid records were found during data upload
|
|
13658
|
+
* @summary Get validation errors for a job
|
|
13659
|
+
* @param {string} jobid Job ID
|
|
13660
|
+
* @param {*} [options] Override http request option.
|
|
13661
|
+
* @throws {RequiredError}
|
|
13662
|
+
*/
|
|
13663
|
+
v1ConnectorsJobstatusJobidValidationErrorsGet(jobid, options) {
|
|
13664
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13665
|
+
var _a, _b, _c;
|
|
13666
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1ConnectorsJobstatusJobidValidationErrorsGet(jobid, options);
|
|
13667
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13668
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConnectorsApi.v1ConnectorsJobstatusJobidValidationErrorsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13669
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13670
|
+
});
|
|
13671
|
+
},
|
|
13264
13672
|
/**
|
|
13265
13673
|
* Test search
|
|
13266
13674
|
* @summary Test search
|
|
@@ -13417,6 +13825,16 @@ exports.ConnectorsApiFp = ConnectorsApiFp;
|
|
|
13417
13825
|
const ConnectorsApiFactory = function (configuration, basePath, axios) {
|
|
13418
13826
|
const localVarFp = (0, exports.ConnectorsApiFp)(configuration);
|
|
13419
13827
|
return {
|
|
13828
|
+
/**
|
|
13829
|
+
* Retrieves validation errors for a specific job ID if any invalid records were found during data upload
|
|
13830
|
+
* @summary Get validation errors for a job
|
|
13831
|
+
* @param {string} jobid Job ID
|
|
13832
|
+
* @param {*} [options] Override http request option.
|
|
13833
|
+
* @throws {RequiredError}
|
|
13834
|
+
*/
|
|
13835
|
+
v1ConnectorsJobstatusJobidValidationErrorsGet(jobid, options) {
|
|
13836
|
+
return localVarFp.v1ConnectorsJobstatusJobidValidationErrorsGet(jobid, options).then((request) => request(axios, basePath));
|
|
13837
|
+
},
|
|
13420
13838
|
/**
|
|
13421
13839
|
* Test search
|
|
13422
13840
|
* @summary Test search
|
|
@@ -13519,6 +13937,17 @@ exports.ConnectorsApiFactory = ConnectorsApiFactory;
|
|
|
13519
13937
|
* @extends {BaseAPI}
|
|
13520
13938
|
*/
|
|
13521
13939
|
class ConnectorsApi extends base_1.BaseAPI {
|
|
13940
|
+
/**
|
|
13941
|
+
* Retrieves validation errors for a specific job ID if any invalid records were found during data upload
|
|
13942
|
+
* @summary Get validation errors for a job
|
|
13943
|
+
* @param {string} jobid Job ID
|
|
13944
|
+
* @param {*} [options] Override http request option.
|
|
13945
|
+
* @throws {RequiredError}
|
|
13946
|
+
* @memberof ConnectorsApi
|
|
13947
|
+
*/
|
|
13948
|
+
v1ConnectorsJobstatusJobidValidationErrorsGet(jobid, options) {
|
|
13949
|
+
return (0, exports.ConnectorsApiFp)(this.configuration).v1ConnectorsJobstatusJobidValidationErrorsGet(jobid, options).then((request) => request(this.axios, this.basePath));
|
|
13950
|
+
}
|
|
13522
13951
|
/**
|
|
13523
13952
|
* Test search
|
|
13524
13953
|
* @summary Test search
|
|
@@ -15114,6 +15543,398 @@ class DefaultMenuManagementApi extends base_1.BaseAPI {
|
|
|
15114
15543
|
}
|
|
15115
15544
|
}
|
|
15116
15545
|
exports.DefaultMenuManagementApi = DefaultMenuManagementApi;
|
|
15546
|
+
/**
|
|
15547
|
+
* DocumentationApi - axios parameter creator
|
|
15548
|
+
* @export
|
|
15549
|
+
*/
|
|
15550
|
+
const DocumentationApiAxiosParamCreator = function (configuration) {
|
|
15551
|
+
return {
|
|
15552
|
+
/**
|
|
15553
|
+
* Deletes all documents from the Typesense collection. Requires X-Docs-API-Key header. Returns 404 if API key is missing or invalid.
|
|
15554
|
+
* @summary Clear all indexed documentation
|
|
15555
|
+
* @param {string} xDocsAPIKey Documentation API Secret Key
|
|
15556
|
+
* @param {*} [options] Override http request option.
|
|
15557
|
+
* @throws {RequiredError}
|
|
15558
|
+
*/
|
|
15559
|
+
v1DocsClearDelete: (xDocsAPIKey_1, ...args_1) => __awaiter(this, [xDocsAPIKey_1, ...args_1], void 0, function* (xDocsAPIKey, options = {}) {
|
|
15560
|
+
// verify required parameter 'xDocsAPIKey' is not null or undefined
|
|
15561
|
+
(0, common_1.assertParamExists)('v1DocsClearDelete', 'xDocsAPIKey', xDocsAPIKey);
|
|
15562
|
+
const localVarPath = `/v1/docs/clear`;
|
|
15563
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15564
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15565
|
+
let baseOptions;
|
|
15566
|
+
if (configuration) {
|
|
15567
|
+
baseOptions = configuration.baseOptions;
|
|
15568
|
+
}
|
|
15569
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
15570
|
+
const localVarHeaderParameter = {};
|
|
15571
|
+
const localVarQueryParameter = {};
|
|
15572
|
+
if (xDocsAPIKey != null) {
|
|
15573
|
+
localVarHeaderParameter['X-Docs-API-Key'] = String(xDocsAPIKey);
|
|
15574
|
+
}
|
|
15575
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15576
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15577
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15578
|
+
return {
|
|
15579
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15580
|
+
options: localVarRequestOptions,
|
|
15581
|
+
};
|
|
15582
|
+
}),
|
|
15583
|
+
/**
|
|
15584
|
+
* Scrapes the documentation site and indexes all pages in Typesense. Requires X-Docs-API-Key header. Returns 404 if API key is missing or invalid.
|
|
15585
|
+
* @summary Scrape and index documentation
|
|
15586
|
+
* @param {string} xDocsAPIKey Documentation API Secret Key
|
|
15587
|
+
* @param {*} [options] Override http request option.
|
|
15588
|
+
* @throws {RequiredError}
|
|
15589
|
+
*/
|
|
15590
|
+
v1DocsScrapePost: (xDocsAPIKey_1, ...args_1) => __awaiter(this, [xDocsAPIKey_1, ...args_1], void 0, function* (xDocsAPIKey, options = {}) {
|
|
15591
|
+
// verify required parameter 'xDocsAPIKey' is not null or undefined
|
|
15592
|
+
(0, common_1.assertParamExists)('v1DocsScrapePost', 'xDocsAPIKey', xDocsAPIKey);
|
|
15593
|
+
const localVarPath = `/v1/docs/scrape`;
|
|
15594
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15595
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15596
|
+
let baseOptions;
|
|
15597
|
+
if (configuration) {
|
|
15598
|
+
baseOptions = configuration.baseOptions;
|
|
15599
|
+
}
|
|
15600
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
15601
|
+
const localVarHeaderParameter = {};
|
|
15602
|
+
const localVarQueryParameter = {};
|
|
15603
|
+
if (xDocsAPIKey != null) {
|
|
15604
|
+
localVarHeaderParameter['X-Docs-API-Key'] = String(xDocsAPIKey);
|
|
15605
|
+
}
|
|
15606
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15607
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15608
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15609
|
+
return {
|
|
15610
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15611
|
+
options: localVarRequestOptions,
|
|
15612
|
+
};
|
|
15613
|
+
}),
|
|
15614
|
+
/**
|
|
15615
|
+
* Searches the indexed documentation using Typesense. This is a public endpoint that does not require authentication.
|
|
15616
|
+
* @summary Search documentation
|
|
15617
|
+
* @param {string} query Search query
|
|
15618
|
+
* @param {number} [limit] Maximum number of results (default: 10, max: 100)
|
|
15619
|
+
* @param {*} [options] Override http request option.
|
|
15620
|
+
* @throws {RequiredError}
|
|
15621
|
+
*/
|
|
15622
|
+
v1DocsSearchPost: (query_1, limit_1, ...args_1) => __awaiter(this, [query_1, limit_1, ...args_1], void 0, function* (query, limit, options = {}) {
|
|
15623
|
+
// verify required parameter 'query' is not null or undefined
|
|
15624
|
+
(0, common_1.assertParamExists)('v1DocsSearchPost', 'query', query);
|
|
15625
|
+
const localVarPath = `/v1/docs/search`;
|
|
15626
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15627
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15628
|
+
let baseOptions;
|
|
15629
|
+
if (configuration) {
|
|
15630
|
+
baseOptions = configuration.baseOptions;
|
|
15631
|
+
}
|
|
15632
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
15633
|
+
const localVarHeaderParameter = {};
|
|
15634
|
+
const localVarQueryParameter = {};
|
|
15635
|
+
if (query !== undefined) {
|
|
15636
|
+
localVarQueryParameter['query'] = query;
|
|
15637
|
+
}
|
|
15638
|
+
if (limit !== undefined) {
|
|
15639
|
+
localVarQueryParameter['limit'] = limit;
|
|
15640
|
+
}
|
|
15641
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15642
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15643
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15644
|
+
return {
|
|
15645
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15646
|
+
options: localVarRequestOptions,
|
|
15647
|
+
};
|
|
15648
|
+
}),
|
|
15649
|
+
/**
|
|
15650
|
+
* Returns dropdown-style suggestions with one result per URL, organized by hierarchy. No authentication required.
|
|
15651
|
+
* @summary Get search suggestions
|
|
15652
|
+
* @param {string} query Search query
|
|
15653
|
+
* @param {number} [limit] Number of suggestions (default: 6, max: 20)
|
|
15654
|
+
* @param {*} [options] Override http request option.
|
|
15655
|
+
* @throws {RequiredError}
|
|
15656
|
+
*/
|
|
15657
|
+
v1DocsSuggestionsGet: (query_1, limit_1, ...args_1) => __awaiter(this, [query_1, limit_1, ...args_1], void 0, function* (query, limit, options = {}) {
|
|
15658
|
+
// verify required parameter 'query' is not null or undefined
|
|
15659
|
+
(0, common_1.assertParamExists)('v1DocsSuggestionsGet', 'query', query);
|
|
15660
|
+
const localVarPath = `/v1/docs/suggestions`;
|
|
15661
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15662
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15663
|
+
let baseOptions;
|
|
15664
|
+
if (configuration) {
|
|
15665
|
+
baseOptions = configuration.baseOptions;
|
|
15666
|
+
}
|
|
15667
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15668
|
+
const localVarHeaderParameter = {};
|
|
15669
|
+
const localVarQueryParameter = {};
|
|
15670
|
+
if (query !== undefined) {
|
|
15671
|
+
localVarQueryParameter['query'] = query;
|
|
15672
|
+
}
|
|
15673
|
+
if (limit !== undefined) {
|
|
15674
|
+
localVarQueryParameter['limit'] = limit;
|
|
15675
|
+
}
|
|
15676
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15677
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15678
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15679
|
+
return {
|
|
15680
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15681
|
+
options: localVarRequestOptions,
|
|
15682
|
+
};
|
|
15683
|
+
}),
|
|
15684
|
+
/**
|
|
15685
|
+
* Re-scrapes and re-indexes the documentation. Requires X-Docs-API-Key header. Returns 404 if API key is missing or invalid.
|
|
15686
|
+
* @summary Update documentation
|
|
15687
|
+
* @param {string} xDocsAPIKey Documentation API Secret Key
|
|
15688
|
+
* @param {*} [options] Override http request option.
|
|
15689
|
+
* @throws {RequiredError}
|
|
15690
|
+
*/
|
|
15691
|
+
v1DocsUpdatePut: (xDocsAPIKey_1, ...args_1) => __awaiter(this, [xDocsAPIKey_1, ...args_1], void 0, function* (xDocsAPIKey, options = {}) {
|
|
15692
|
+
// verify required parameter 'xDocsAPIKey' is not null or undefined
|
|
15693
|
+
(0, common_1.assertParamExists)('v1DocsUpdatePut', 'xDocsAPIKey', xDocsAPIKey);
|
|
15694
|
+
const localVarPath = `/v1/docs/update`;
|
|
15695
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15696
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15697
|
+
let baseOptions;
|
|
15698
|
+
if (configuration) {
|
|
15699
|
+
baseOptions = configuration.baseOptions;
|
|
15700
|
+
}
|
|
15701
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
15702
|
+
const localVarHeaderParameter = {};
|
|
15703
|
+
const localVarQueryParameter = {};
|
|
15704
|
+
if (xDocsAPIKey != null) {
|
|
15705
|
+
localVarHeaderParameter['X-Docs-API-Key'] = String(xDocsAPIKey);
|
|
15706
|
+
}
|
|
15707
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15708
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15709
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15710
|
+
return {
|
|
15711
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15712
|
+
options: localVarRequestOptions,
|
|
15713
|
+
};
|
|
15714
|
+
}),
|
|
15715
|
+
};
|
|
15716
|
+
};
|
|
15717
|
+
exports.DocumentationApiAxiosParamCreator = DocumentationApiAxiosParamCreator;
|
|
15718
|
+
/**
|
|
15719
|
+
* DocumentationApi - functional programming interface
|
|
15720
|
+
* @export
|
|
15721
|
+
*/
|
|
15722
|
+
const DocumentationApiFp = function (configuration) {
|
|
15723
|
+
const localVarAxiosParamCreator = (0, exports.DocumentationApiAxiosParamCreator)(configuration);
|
|
15724
|
+
return {
|
|
15725
|
+
/**
|
|
15726
|
+
* Deletes all documents from the Typesense collection. Requires X-Docs-API-Key header. Returns 404 if API key is missing or invalid.
|
|
15727
|
+
* @summary Clear all indexed documentation
|
|
15728
|
+
* @param {string} xDocsAPIKey Documentation API Secret Key
|
|
15729
|
+
* @param {*} [options] Override http request option.
|
|
15730
|
+
* @throws {RequiredError}
|
|
15731
|
+
*/
|
|
15732
|
+
v1DocsClearDelete(xDocsAPIKey, options) {
|
|
15733
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15734
|
+
var _a, _b, _c;
|
|
15735
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DocsClearDelete(xDocsAPIKey, options);
|
|
15736
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15737
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DocumentationApi.v1DocsClearDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15738
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15739
|
+
});
|
|
15740
|
+
},
|
|
15741
|
+
/**
|
|
15742
|
+
* Scrapes the documentation site and indexes all pages in Typesense. Requires X-Docs-API-Key header. Returns 404 if API key is missing or invalid.
|
|
15743
|
+
* @summary Scrape and index documentation
|
|
15744
|
+
* @param {string} xDocsAPIKey Documentation API Secret Key
|
|
15745
|
+
* @param {*} [options] Override http request option.
|
|
15746
|
+
* @throws {RequiredError}
|
|
15747
|
+
*/
|
|
15748
|
+
v1DocsScrapePost(xDocsAPIKey, options) {
|
|
15749
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15750
|
+
var _a, _b, _c;
|
|
15751
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DocsScrapePost(xDocsAPIKey, options);
|
|
15752
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15753
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DocumentationApi.v1DocsScrapePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15754
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15755
|
+
});
|
|
15756
|
+
},
|
|
15757
|
+
/**
|
|
15758
|
+
* Searches the indexed documentation using Typesense. This is a public endpoint that does not require authentication.
|
|
15759
|
+
* @summary Search documentation
|
|
15760
|
+
* @param {string} query Search query
|
|
15761
|
+
* @param {number} [limit] Maximum number of results (default: 10, max: 100)
|
|
15762
|
+
* @param {*} [options] Override http request option.
|
|
15763
|
+
* @throws {RequiredError}
|
|
15764
|
+
*/
|
|
15765
|
+
v1DocsSearchPost(query, limit, options) {
|
|
15766
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15767
|
+
var _a, _b, _c;
|
|
15768
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DocsSearchPost(query, limit, options);
|
|
15769
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15770
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DocumentationApi.v1DocsSearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15771
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15772
|
+
});
|
|
15773
|
+
},
|
|
15774
|
+
/**
|
|
15775
|
+
* Returns dropdown-style suggestions with one result per URL, organized by hierarchy. No authentication required.
|
|
15776
|
+
* @summary Get search suggestions
|
|
15777
|
+
* @param {string} query Search query
|
|
15778
|
+
* @param {number} [limit] Number of suggestions (default: 6, max: 20)
|
|
15779
|
+
* @param {*} [options] Override http request option.
|
|
15780
|
+
* @throws {RequiredError}
|
|
15781
|
+
*/
|
|
15782
|
+
v1DocsSuggestionsGet(query, limit, options) {
|
|
15783
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15784
|
+
var _a, _b, _c;
|
|
15785
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DocsSuggestionsGet(query, limit, options);
|
|
15786
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15787
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DocumentationApi.v1DocsSuggestionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15788
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15789
|
+
});
|
|
15790
|
+
},
|
|
15791
|
+
/**
|
|
15792
|
+
* Re-scrapes and re-indexes the documentation. Requires X-Docs-API-Key header. Returns 404 if API key is missing or invalid.
|
|
15793
|
+
* @summary Update documentation
|
|
15794
|
+
* @param {string} xDocsAPIKey Documentation API Secret Key
|
|
15795
|
+
* @param {*} [options] Override http request option.
|
|
15796
|
+
* @throws {RequiredError}
|
|
15797
|
+
*/
|
|
15798
|
+
v1DocsUpdatePut(xDocsAPIKey, options) {
|
|
15799
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15800
|
+
var _a, _b, _c;
|
|
15801
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DocsUpdatePut(xDocsAPIKey, options);
|
|
15802
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15803
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DocumentationApi.v1DocsUpdatePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15804
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15805
|
+
});
|
|
15806
|
+
},
|
|
15807
|
+
};
|
|
15808
|
+
};
|
|
15809
|
+
exports.DocumentationApiFp = DocumentationApiFp;
|
|
15810
|
+
/**
|
|
15811
|
+
* DocumentationApi - factory interface
|
|
15812
|
+
* @export
|
|
15813
|
+
*/
|
|
15814
|
+
const DocumentationApiFactory = function (configuration, basePath, axios) {
|
|
15815
|
+
const localVarFp = (0, exports.DocumentationApiFp)(configuration);
|
|
15816
|
+
return {
|
|
15817
|
+
/**
|
|
15818
|
+
* Deletes all documents from the Typesense collection. Requires X-Docs-API-Key header. Returns 404 if API key is missing or invalid.
|
|
15819
|
+
* @summary Clear all indexed documentation
|
|
15820
|
+
* @param {string} xDocsAPIKey Documentation API Secret Key
|
|
15821
|
+
* @param {*} [options] Override http request option.
|
|
15822
|
+
* @throws {RequiredError}
|
|
15823
|
+
*/
|
|
15824
|
+
v1DocsClearDelete(xDocsAPIKey, options) {
|
|
15825
|
+
return localVarFp.v1DocsClearDelete(xDocsAPIKey, options).then((request) => request(axios, basePath));
|
|
15826
|
+
},
|
|
15827
|
+
/**
|
|
15828
|
+
* Scrapes the documentation site and indexes all pages in Typesense. Requires X-Docs-API-Key header. Returns 404 if API key is missing or invalid.
|
|
15829
|
+
* @summary Scrape and index documentation
|
|
15830
|
+
* @param {string} xDocsAPIKey Documentation API Secret Key
|
|
15831
|
+
* @param {*} [options] Override http request option.
|
|
15832
|
+
* @throws {RequiredError}
|
|
15833
|
+
*/
|
|
15834
|
+
v1DocsScrapePost(xDocsAPIKey, options) {
|
|
15835
|
+
return localVarFp.v1DocsScrapePost(xDocsAPIKey, options).then((request) => request(axios, basePath));
|
|
15836
|
+
},
|
|
15837
|
+
/**
|
|
15838
|
+
* Searches the indexed documentation using Typesense. This is a public endpoint that does not require authentication.
|
|
15839
|
+
* @summary Search documentation
|
|
15840
|
+
* @param {string} query Search query
|
|
15841
|
+
* @param {number} [limit] Maximum number of results (default: 10, max: 100)
|
|
15842
|
+
* @param {*} [options] Override http request option.
|
|
15843
|
+
* @throws {RequiredError}
|
|
15844
|
+
*/
|
|
15845
|
+
v1DocsSearchPost(query, limit, options) {
|
|
15846
|
+
return localVarFp.v1DocsSearchPost(query, limit, options).then((request) => request(axios, basePath));
|
|
15847
|
+
},
|
|
15848
|
+
/**
|
|
15849
|
+
* Returns dropdown-style suggestions with one result per URL, organized by hierarchy. No authentication required.
|
|
15850
|
+
* @summary Get search suggestions
|
|
15851
|
+
* @param {string} query Search query
|
|
15852
|
+
* @param {number} [limit] Number of suggestions (default: 6, max: 20)
|
|
15853
|
+
* @param {*} [options] Override http request option.
|
|
15854
|
+
* @throws {RequiredError}
|
|
15855
|
+
*/
|
|
15856
|
+
v1DocsSuggestionsGet(query, limit, options) {
|
|
15857
|
+
return localVarFp.v1DocsSuggestionsGet(query, limit, options).then((request) => request(axios, basePath));
|
|
15858
|
+
},
|
|
15859
|
+
/**
|
|
15860
|
+
* Re-scrapes and re-indexes the documentation. Requires X-Docs-API-Key header. Returns 404 if API key is missing or invalid.
|
|
15861
|
+
* @summary Update documentation
|
|
15862
|
+
* @param {string} xDocsAPIKey Documentation API Secret Key
|
|
15863
|
+
* @param {*} [options] Override http request option.
|
|
15864
|
+
* @throws {RequiredError}
|
|
15865
|
+
*/
|
|
15866
|
+
v1DocsUpdatePut(xDocsAPIKey, options) {
|
|
15867
|
+
return localVarFp.v1DocsUpdatePut(xDocsAPIKey, options).then((request) => request(axios, basePath));
|
|
15868
|
+
},
|
|
15869
|
+
};
|
|
15870
|
+
};
|
|
15871
|
+
exports.DocumentationApiFactory = DocumentationApiFactory;
|
|
15872
|
+
/**
|
|
15873
|
+
* DocumentationApi - object-oriented interface
|
|
15874
|
+
* @export
|
|
15875
|
+
* @class DocumentationApi
|
|
15876
|
+
* @extends {BaseAPI}
|
|
15877
|
+
*/
|
|
15878
|
+
class DocumentationApi extends base_1.BaseAPI {
|
|
15879
|
+
/**
|
|
15880
|
+
* Deletes all documents from the Typesense collection. Requires X-Docs-API-Key header. Returns 404 if API key is missing or invalid.
|
|
15881
|
+
* @summary Clear all indexed documentation
|
|
15882
|
+
* @param {string} xDocsAPIKey Documentation API Secret Key
|
|
15883
|
+
* @param {*} [options] Override http request option.
|
|
15884
|
+
* @throws {RequiredError}
|
|
15885
|
+
* @memberof DocumentationApi
|
|
15886
|
+
*/
|
|
15887
|
+
v1DocsClearDelete(xDocsAPIKey, options) {
|
|
15888
|
+
return (0, exports.DocumentationApiFp)(this.configuration).v1DocsClearDelete(xDocsAPIKey, options).then((request) => request(this.axios, this.basePath));
|
|
15889
|
+
}
|
|
15890
|
+
/**
|
|
15891
|
+
* Scrapes the documentation site and indexes all pages in Typesense. Requires X-Docs-API-Key header. Returns 404 if API key is missing or invalid.
|
|
15892
|
+
* @summary Scrape and index documentation
|
|
15893
|
+
* @param {string} xDocsAPIKey Documentation API Secret Key
|
|
15894
|
+
* @param {*} [options] Override http request option.
|
|
15895
|
+
* @throws {RequiredError}
|
|
15896
|
+
* @memberof DocumentationApi
|
|
15897
|
+
*/
|
|
15898
|
+
v1DocsScrapePost(xDocsAPIKey, options) {
|
|
15899
|
+
return (0, exports.DocumentationApiFp)(this.configuration).v1DocsScrapePost(xDocsAPIKey, options).then((request) => request(this.axios, this.basePath));
|
|
15900
|
+
}
|
|
15901
|
+
/**
|
|
15902
|
+
* Searches the indexed documentation using Typesense. This is a public endpoint that does not require authentication.
|
|
15903
|
+
* @summary Search documentation
|
|
15904
|
+
* @param {string} query Search query
|
|
15905
|
+
* @param {number} [limit] Maximum number of results (default: 10, max: 100)
|
|
15906
|
+
* @param {*} [options] Override http request option.
|
|
15907
|
+
* @throws {RequiredError}
|
|
15908
|
+
* @memberof DocumentationApi
|
|
15909
|
+
*/
|
|
15910
|
+
v1DocsSearchPost(query, limit, options) {
|
|
15911
|
+
return (0, exports.DocumentationApiFp)(this.configuration).v1DocsSearchPost(query, limit, options).then((request) => request(this.axios, this.basePath));
|
|
15912
|
+
}
|
|
15913
|
+
/**
|
|
15914
|
+
* Returns dropdown-style suggestions with one result per URL, organized by hierarchy. No authentication required.
|
|
15915
|
+
* @summary Get search suggestions
|
|
15916
|
+
* @param {string} query Search query
|
|
15917
|
+
* @param {number} [limit] Number of suggestions (default: 6, max: 20)
|
|
15918
|
+
* @param {*} [options] Override http request option.
|
|
15919
|
+
* @throws {RequiredError}
|
|
15920
|
+
* @memberof DocumentationApi
|
|
15921
|
+
*/
|
|
15922
|
+
v1DocsSuggestionsGet(query, limit, options) {
|
|
15923
|
+
return (0, exports.DocumentationApiFp)(this.configuration).v1DocsSuggestionsGet(query, limit, options).then((request) => request(this.axios, this.basePath));
|
|
15924
|
+
}
|
|
15925
|
+
/**
|
|
15926
|
+
* Re-scrapes and re-indexes the documentation. Requires X-Docs-API-Key header. Returns 404 if API key is missing or invalid.
|
|
15927
|
+
* @summary Update documentation
|
|
15928
|
+
* @param {string} xDocsAPIKey Documentation API Secret Key
|
|
15929
|
+
* @param {*} [options] Override http request option.
|
|
15930
|
+
* @throws {RequiredError}
|
|
15931
|
+
* @memberof DocumentationApi
|
|
15932
|
+
*/
|
|
15933
|
+
v1DocsUpdatePut(xDocsAPIKey, options) {
|
|
15934
|
+
return (0, exports.DocumentationApiFp)(this.configuration).v1DocsUpdatePut(xDocsAPIKey, options).then((request) => request(this.axios, this.basePath));
|
|
15935
|
+
}
|
|
15936
|
+
}
|
|
15937
|
+
exports.DocumentationApi = DocumentationApi;
|
|
15117
15938
|
/**
|
|
15118
15939
|
* DocumentsApi - axios parameter creator
|
|
15119
15940
|
* @export
|
|
@@ -15318,16 +16139,18 @@ const DropdownRecommendationsApiAxiosParamCreator = function (configuration) {
|
|
|
15318
16139
|
};
|
|
15319
16140
|
}),
|
|
15320
16141
|
/**
|
|
15321
|
-
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
16142
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown. Supports query-based filtering for suggestions.
|
|
15322
16143
|
* @summary Get Dropdown Recommendations
|
|
15323
16144
|
* @param {string} xStoreid Store ID
|
|
15324
16145
|
* @param {string} xStoresecret Store Secret
|
|
15325
16146
|
* @param {string} [xUserId] User ID for personalization
|
|
15326
16147
|
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
16148
|
+
* @param {string} [q] Query string for filtering suggestions (prefix match)
|
|
16149
|
+
* @param {string} [query] Alternative query parameter for filtering suggestions
|
|
15327
16150
|
* @param {*} [options] Override http request option.
|
|
15328
16151
|
* @throws {RequiredError}
|
|
15329
16152
|
*/
|
|
15330
|
-
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 = {}) {
|
|
16153
|
+
v1DropdownRecommendationsGet: (xStoreid_1, xStoresecret_1, xUserId_1, xAnonId_1, q_1, query_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, xUserId_1, xAnonId_1, q_1, query_1, ...args_1], void 0, function* (xStoreid, xStoresecret, xUserId, xAnonId, q, query, options = {}) {
|
|
15331
16154
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
15332
16155
|
(0, common_1.assertParamExists)('v1DropdownRecommendationsGet', 'xStoreid', xStoreid);
|
|
15333
16156
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
@@ -15342,6 +16165,12 @@ const DropdownRecommendationsApiAxiosParamCreator = function (configuration) {
|
|
|
15342
16165
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15343
16166
|
const localVarHeaderParameter = {};
|
|
15344
16167
|
const localVarQueryParameter = {};
|
|
16168
|
+
if (q !== undefined) {
|
|
16169
|
+
localVarQueryParameter['q'] = q;
|
|
16170
|
+
}
|
|
16171
|
+
if (query !== undefined) {
|
|
16172
|
+
localVarQueryParameter['query'] = query;
|
|
16173
|
+
}
|
|
15345
16174
|
if (xStoreid != null) {
|
|
15346
16175
|
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
15347
16176
|
}
|
|
@@ -15408,19 +16237,21 @@ const DropdownRecommendationsApiFp = function (configuration) {
|
|
|
15408
16237
|
});
|
|
15409
16238
|
},
|
|
15410
16239
|
/**
|
|
15411
|
-
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
16240
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown. Supports query-based filtering for suggestions.
|
|
15412
16241
|
* @summary Get Dropdown Recommendations
|
|
15413
16242
|
* @param {string} xStoreid Store ID
|
|
15414
16243
|
* @param {string} xStoresecret Store Secret
|
|
15415
16244
|
* @param {string} [xUserId] User ID for personalization
|
|
15416
16245
|
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
16246
|
+
* @param {string} [q] Query string for filtering suggestions (prefix match)
|
|
16247
|
+
* @param {string} [query] Alternative query parameter for filtering suggestions
|
|
15417
16248
|
* @param {*} [options] Override http request option.
|
|
15418
16249
|
* @throws {RequiredError}
|
|
15419
16250
|
*/
|
|
15420
|
-
v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
16251
|
+
v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, q, query, options) {
|
|
15421
16252
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15422
16253
|
var _a, _b, _c;
|
|
15423
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options);
|
|
16254
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, q, query, options);
|
|
15424
16255
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15425
16256
|
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;
|
|
15426
16257
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -15460,17 +16291,19 @@ const DropdownRecommendationsApiFactory = function (configuration, basePath, axi
|
|
|
15460
16291
|
return localVarFp.v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options).then((request) => request(axios, basePath));
|
|
15461
16292
|
},
|
|
15462
16293
|
/**
|
|
15463
|
-
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
16294
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown. Supports query-based filtering for suggestions.
|
|
15464
16295
|
* @summary Get Dropdown Recommendations
|
|
15465
16296
|
* @param {string} xStoreid Store ID
|
|
15466
16297
|
* @param {string} xStoresecret Store Secret
|
|
15467
16298
|
* @param {string} [xUserId] User ID for personalization
|
|
15468
16299
|
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
16300
|
+
* @param {string} [q] Query string for filtering suggestions (prefix match)
|
|
16301
|
+
* @param {string} [query] Alternative query parameter for filtering suggestions
|
|
15469
16302
|
* @param {*} [options] Override http request option.
|
|
15470
16303
|
* @throws {RequiredError}
|
|
15471
16304
|
*/
|
|
15472
|
-
v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
15473
|
-
return localVarFp.v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(axios, basePath));
|
|
16305
|
+
v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, q, query, options) {
|
|
16306
|
+
return localVarFp.v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, q, query, options).then((request) => request(axios, basePath));
|
|
15474
16307
|
},
|
|
15475
16308
|
};
|
|
15476
16309
|
};
|
|
@@ -15508,18 +16341,20 @@ class DropdownRecommendationsApi extends base_1.BaseAPI {
|
|
|
15508
16341
|
return (0, exports.DropdownRecommendationsApiFp)(this.configuration).v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15509
16342
|
}
|
|
15510
16343
|
/**
|
|
15511
|
-
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
16344
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown. Supports query-based filtering for suggestions.
|
|
15512
16345
|
* @summary Get Dropdown Recommendations
|
|
15513
16346
|
* @param {string} xStoreid Store ID
|
|
15514
16347
|
* @param {string} xStoresecret Store Secret
|
|
15515
16348
|
* @param {string} [xUserId] User ID for personalization
|
|
15516
16349
|
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
16350
|
+
* @param {string} [q] Query string for filtering suggestions (prefix match)
|
|
16351
|
+
* @param {string} [query] Alternative query parameter for filtering suggestions
|
|
15517
16352
|
* @param {*} [options] Override http request option.
|
|
15518
16353
|
* @throws {RequiredError}
|
|
15519
16354
|
* @memberof DropdownRecommendationsApi
|
|
15520
16355
|
*/
|
|
15521
|
-
v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
15522
|
-
return (0, exports.DropdownRecommendationsApiFp)(this.configuration).v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(this.axios, this.basePath));
|
|
16356
|
+
v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, q, query, options) {
|
|
16357
|
+
return (0, exports.DropdownRecommendationsApiFp)(this.configuration).v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, q, query, options).then((request) => request(this.axios, this.basePath));
|
|
15523
16358
|
}
|
|
15524
16359
|
}
|
|
15525
16360
|
exports.DropdownRecommendationsApi = DropdownRecommendationsApi;
|
|
@@ -21401,6 +22236,41 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
21401
22236
|
options: localVarRequestOptions,
|
|
21402
22237
|
};
|
|
21403
22238
|
}),
|
|
22239
|
+
/**
|
|
22240
|
+
* Generates a fresh presigned URL for notification attachments (invoice or receipt). This is useful when the original presigned URL has expired.
|
|
22241
|
+
* @summary Get notification attachment URL
|
|
22242
|
+
* @param {number} id Notification ID
|
|
22243
|
+
* @param {string} type Attachment type (invoice or receipt)
|
|
22244
|
+
* @param {*} [options] Override http request option.
|
|
22245
|
+
* @throws {RequiredError}
|
|
22246
|
+
*/
|
|
22247
|
+
v1NotificationsIdAttachmentsTypeUrlGet: (id_1, type_1, ...args_1) => __awaiter(this, [id_1, type_1, ...args_1], void 0, function* (id, type, options = {}) {
|
|
22248
|
+
// verify required parameter 'id' is not null or undefined
|
|
22249
|
+
(0, common_1.assertParamExists)('v1NotificationsIdAttachmentsTypeUrlGet', 'id', id);
|
|
22250
|
+
// verify required parameter 'type' is not null or undefined
|
|
22251
|
+
(0, common_1.assertParamExists)('v1NotificationsIdAttachmentsTypeUrlGet', 'type', type);
|
|
22252
|
+
const localVarPath = `/v1/notifications/{id}/attachments/{type}/url`
|
|
22253
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
22254
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)));
|
|
22255
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22256
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22257
|
+
let baseOptions;
|
|
22258
|
+
if (configuration) {
|
|
22259
|
+
baseOptions = configuration.baseOptions;
|
|
22260
|
+
}
|
|
22261
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
22262
|
+
const localVarHeaderParameter = {};
|
|
22263
|
+
const localVarQueryParameter = {};
|
|
22264
|
+
// authentication BearerAuth required
|
|
22265
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
22266
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22267
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22268
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22269
|
+
return {
|
|
22270
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
22271
|
+
options: localVarRequestOptions,
|
|
22272
|
+
};
|
|
22273
|
+
}),
|
|
21404
22274
|
/**
|
|
21405
22275
|
* Deletes a specific notification for the authenticated user
|
|
21406
22276
|
* @summary Delete notification
|
|
@@ -21599,6 +22469,23 @@ const NotificationsApiFp = function (configuration) {
|
|
|
21599
22469
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21600
22470
|
});
|
|
21601
22471
|
},
|
|
22472
|
+
/**
|
|
22473
|
+
* Generates a fresh presigned URL for notification attachments (invoice or receipt). This is useful when the original presigned URL has expired.
|
|
22474
|
+
* @summary Get notification attachment URL
|
|
22475
|
+
* @param {number} id Notification ID
|
|
22476
|
+
* @param {string} type Attachment type (invoice or receipt)
|
|
22477
|
+
* @param {*} [options] Override http request option.
|
|
22478
|
+
* @throws {RequiredError}
|
|
22479
|
+
*/
|
|
22480
|
+
v1NotificationsIdAttachmentsTypeUrlGet(id, type, options) {
|
|
22481
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22482
|
+
var _a, _b, _c;
|
|
22483
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1NotificationsIdAttachmentsTypeUrlGet(id, type, options);
|
|
22484
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22485
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.v1NotificationsIdAttachmentsTypeUrlGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22486
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22487
|
+
});
|
|
22488
|
+
},
|
|
21602
22489
|
/**
|
|
21603
22490
|
* Deletes a specific notification for the authenticated user
|
|
21604
22491
|
* @summary Delete notification
|
|
@@ -21716,6 +22603,17 @@ const NotificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
21716
22603
|
v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options) {
|
|
21717
22604
|
return localVarFp.v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
21718
22605
|
},
|
|
22606
|
+
/**
|
|
22607
|
+
* Generates a fresh presigned URL for notification attachments (invoice or receipt). This is useful when the original presigned URL has expired.
|
|
22608
|
+
* @summary Get notification attachment URL
|
|
22609
|
+
* @param {number} id Notification ID
|
|
22610
|
+
* @param {string} type Attachment type (invoice or receipt)
|
|
22611
|
+
* @param {*} [options] Override http request option.
|
|
22612
|
+
* @throws {RequiredError}
|
|
22613
|
+
*/
|
|
22614
|
+
v1NotificationsIdAttachmentsTypeUrlGet(id, type, options) {
|
|
22615
|
+
return localVarFp.v1NotificationsIdAttachmentsTypeUrlGet(id, type, options).then((request) => request(axios, basePath));
|
|
22616
|
+
},
|
|
21719
22617
|
/**
|
|
21720
22618
|
* Deletes a specific notification for the authenticated user
|
|
21721
22619
|
* @summary Delete notification
|
|
@@ -21805,6 +22703,18 @@ class NotificationsApi extends base_1.BaseAPI {
|
|
|
21805
22703
|
v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options) {
|
|
21806
22704
|
return (0, exports.NotificationsApiFp)(this.configuration).v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
21807
22705
|
}
|
|
22706
|
+
/**
|
|
22707
|
+
* Generates a fresh presigned URL for notification attachments (invoice or receipt). This is useful when the original presigned URL has expired.
|
|
22708
|
+
* @summary Get notification attachment URL
|
|
22709
|
+
* @param {number} id Notification ID
|
|
22710
|
+
* @param {string} type Attachment type (invoice or receipt)
|
|
22711
|
+
* @param {*} [options] Override http request option.
|
|
22712
|
+
* @throws {RequiredError}
|
|
22713
|
+
* @memberof NotificationsApi
|
|
22714
|
+
*/
|
|
22715
|
+
v1NotificationsIdAttachmentsTypeUrlGet(id, type, options) {
|
|
22716
|
+
return (0, exports.NotificationsApiFp)(this.configuration).v1NotificationsIdAttachmentsTypeUrlGet(id, type, options).then((request) => request(this.axios, this.basePath));
|
|
22717
|
+
}
|
|
21808
22718
|
/**
|
|
21809
22719
|
* Deletes a specific notification for the authenticated user
|
|
21810
22720
|
* @summary Delete notification
|
|
@@ -21977,6 +22887,37 @@ const OnboardingApiAxiosParamCreator = function (configuration) {
|
|
|
21977
22887
|
options: localVarRequestOptions,
|
|
21978
22888
|
};
|
|
21979
22889
|
}),
|
|
22890
|
+
/**
|
|
22891
|
+
* Retrieves validation errors for a specific job ID if any invalid records were found during data upload
|
|
22892
|
+
* @summary Get validation errors for a job
|
|
22893
|
+
* @param {string} jobid Job ID
|
|
22894
|
+
* @param {*} [options] Override http request option.
|
|
22895
|
+
* @throws {RequiredError}
|
|
22896
|
+
*/
|
|
22897
|
+
adminV1UsersOnboardingJobstatusJobidValidationErrorsGet: (jobid_1, ...args_1) => __awaiter(this, [jobid_1, ...args_1], void 0, function* (jobid, options = {}) {
|
|
22898
|
+
// verify required parameter 'jobid' is not null or undefined
|
|
22899
|
+
(0, common_1.assertParamExists)('adminV1UsersOnboardingJobstatusJobidValidationErrorsGet', 'jobid', jobid);
|
|
22900
|
+
const localVarPath = `/admin/v1/users/onboarding/jobstatus/{jobid}/validation-errors`
|
|
22901
|
+
.replace(`{${"jobid"}}`, encodeURIComponent(String(jobid)));
|
|
22902
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22903
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22904
|
+
let baseOptions;
|
|
22905
|
+
if (configuration) {
|
|
22906
|
+
baseOptions = configuration.baseOptions;
|
|
22907
|
+
}
|
|
22908
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
22909
|
+
const localVarHeaderParameter = {};
|
|
22910
|
+
const localVarQueryParameter = {};
|
|
22911
|
+
// authentication BearerAuth required
|
|
22912
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
22913
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22914
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22915
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22916
|
+
return {
|
|
22917
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
22918
|
+
options: localVarRequestOptions,
|
|
22919
|
+
};
|
|
22920
|
+
}),
|
|
21980
22921
|
/**
|
|
21981
22922
|
* Updates onboardingstep and merges new data into onboardingdata JSON
|
|
21982
22923
|
* @summary Update user onboarding step
|
|
@@ -22236,6 +23177,22 @@ const OnboardingApiFp = function (configuration) {
|
|
|
22236
23177
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22237
23178
|
});
|
|
22238
23179
|
},
|
|
23180
|
+
/**
|
|
23181
|
+
* Retrieves validation errors for a specific job ID if any invalid records were found during data upload
|
|
23182
|
+
* @summary Get validation errors for a job
|
|
23183
|
+
* @param {string} jobid Job ID
|
|
23184
|
+
* @param {*} [options] Override http request option.
|
|
23185
|
+
* @throws {RequiredError}
|
|
23186
|
+
*/
|
|
23187
|
+
adminV1UsersOnboardingJobstatusJobidValidationErrorsGet(jobid, options) {
|
|
23188
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23189
|
+
var _a, _b, _c;
|
|
23190
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1UsersOnboardingJobstatusJobidValidationErrorsGet(jobid, options);
|
|
23191
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
23192
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OnboardingApi.adminV1UsersOnboardingJobstatusJobidValidationErrorsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
23193
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23194
|
+
});
|
|
23195
|
+
},
|
|
22239
23196
|
/**
|
|
22240
23197
|
* Updates onboardingstep and merges new data into onboardingdata JSON
|
|
22241
23198
|
* @summary Update user onboarding step
|
|
@@ -22374,6 +23331,16 @@ const OnboardingApiFactory = function (configuration, basePath, axios) {
|
|
|
22374
23331
|
adminV1UsersOnboardingJobstatusJobidGet(jobid, options) {
|
|
22375
23332
|
return localVarFp.adminV1UsersOnboardingJobstatusJobidGet(jobid, options).then((request) => request(axios, basePath));
|
|
22376
23333
|
},
|
|
23334
|
+
/**
|
|
23335
|
+
* Retrieves validation errors for a specific job ID if any invalid records were found during data upload
|
|
23336
|
+
* @summary Get validation errors for a job
|
|
23337
|
+
* @param {string} jobid Job ID
|
|
23338
|
+
* @param {*} [options] Override http request option.
|
|
23339
|
+
* @throws {RequiredError}
|
|
23340
|
+
*/
|
|
23341
|
+
adminV1UsersOnboardingJobstatusJobidValidationErrorsGet(jobid, options) {
|
|
23342
|
+
return localVarFp.adminV1UsersOnboardingJobstatusJobidValidationErrorsGet(jobid, options).then((request) => request(axios, basePath));
|
|
23343
|
+
},
|
|
22377
23344
|
/**
|
|
22378
23345
|
* Updates onboardingstep and merges new data into onboardingdata JSON
|
|
22379
23346
|
* @summary Update user onboarding step
|
|
@@ -22472,6 +23439,17 @@ class OnboardingApi extends base_1.BaseAPI {
|
|
|
22472
23439
|
adminV1UsersOnboardingJobstatusJobidGet(jobid, options) {
|
|
22473
23440
|
return (0, exports.OnboardingApiFp)(this.configuration).adminV1UsersOnboardingJobstatusJobidGet(jobid, options).then((request) => request(this.axios, this.basePath));
|
|
22474
23441
|
}
|
|
23442
|
+
/**
|
|
23443
|
+
* Retrieves validation errors for a specific job ID if any invalid records were found during data upload
|
|
23444
|
+
* @summary Get validation errors for a job
|
|
23445
|
+
* @param {string} jobid Job ID
|
|
23446
|
+
* @param {*} [options] Override http request option.
|
|
23447
|
+
* @throws {RequiredError}
|
|
23448
|
+
* @memberof OnboardingApi
|
|
23449
|
+
*/
|
|
23450
|
+
adminV1UsersOnboardingJobstatusJobidValidationErrorsGet(jobid, options) {
|
|
23451
|
+
return (0, exports.OnboardingApiFp)(this.configuration).adminV1UsersOnboardingJobstatusJobidValidationErrorsGet(jobid, options).then((request) => request(this.axios, this.basePath));
|
|
23452
|
+
}
|
|
22475
23453
|
/**
|
|
22476
23454
|
* Updates onboardingstep and merges new data into onboardingdata JSON
|
|
22477
23455
|
* @summary Update user onboarding step
|
|
@@ -33021,6 +33999,37 @@ exports.StopwordsApi = StopwordsApi;
|
|
|
33021
33999
|
*/
|
|
33022
34000
|
const StoreCreationApiAxiosParamCreator = function (configuration) {
|
|
33023
34001
|
return {
|
|
34002
|
+
/**
|
|
34003
|
+
* Retrieves validation errors for a specific job ID if any invalid records were found during data upload
|
|
34004
|
+
* @summary Get validation errors for a job
|
|
34005
|
+
* @param {string} jobid Job ID
|
|
34006
|
+
* @param {*} [options] Override http request option.
|
|
34007
|
+
* @throws {RequiredError}
|
|
34008
|
+
*/
|
|
34009
|
+
adminV1StoreCreationJobstatusJobidValidationErrorsGet: (jobid_1, ...args_1) => __awaiter(this, [jobid_1, ...args_1], void 0, function* (jobid, options = {}) {
|
|
34010
|
+
// verify required parameter 'jobid' is not null or undefined
|
|
34011
|
+
(0, common_1.assertParamExists)('adminV1StoreCreationJobstatusJobidValidationErrorsGet', 'jobid', jobid);
|
|
34012
|
+
const localVarPath = `/admin/v1/store-creation/jobstatus/{jobid}/validation-errors`
|
|
34013
|
+
.replace(`{${"jobid"}}`, encodeURIComponent(String(jobid)));
|
|
34014
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34015
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34016
|
+
let baseOptions;
|
|
34017
|
+
if (configuration) {
|
|
34018
|
+
baseOptions = configuration.baseOptions;
|
|
34019
|
+
}
|
|
34020
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
34021
|
+
const localVarHeaderParameter = {};
|
|
34022
|
+
const localVarQueryParameter = {};
|
|
34023
|
+
// authentication BearerAuth required
|
|
34024
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
34025
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
34026
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34027
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34028
|
+
return {
|
|
34029
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
34030
|
+
options: localVarRequestOptions,
|
|
34031
|
+
};
|
|
34032
|
+
}),
|
|
33024
34033
|
/**
|
|
33025
34034
|
* Deletes (soft delete) the current store creation progress
|
|
33026
34035
|
* @summary Delete store creation progress
|
|
@@ -33291,6 +34300,22 @@ exports.StoreCreationApiAxiosParamCreator = StoreCreationApiAxiosParamCreator;
|
|
|
33291
34300
|
const StoreCreationApiFp = function (configuration) {
|
|
33292
34301
|
const localVarAxiosParamCreator = (0, exports.StoreCreationApiAxiosParamCreator)(configuration);
|
|
33293
34302
|
return {
|
|
34303
|
+
/**
|
|
34304
|
+
* Retrieves validation errors for a specific job ID if any invalid records were found during data upload
|
|
34305
|
+
* @summary Get validation errors for a job
|
|
34306
|
+
* @param {string} jobid Job ID
|
|
34307
|
+
* @param {*} [options] Override http request option.
|
|
34308
|
+
* @throws {RequiredError}
|
|
34309
|
+
*/
|
|
34310
|
+
adminV1StoreCreationJobstatusJobidValidationErrorsGet(jobid, options) {
|
|
34311
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34312
|
+
var _a, _b, _c;
|
|
34313
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoreCreationJobstatusJobidValidationErrorsGet(jobid, options);
|
|
34314
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34315
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoreCreationApi.adminV1StoreCreationJobstatusJobidValidationErrorsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34316
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34317
|
+
});
|
|
34318
|
+
},
|
|
33294
34319
|
/**
|
|
33295
34320
|
* Deletes (soft delete) the current store creation progress
|
|
33296
34321
|
* @summary Delete store creation progress
|
|
@@ -33429,6 +34454,16 @@ exports.StoreCreationApiFp = StoreCreationApiFp;
|
|
|
33429
34454
|
const StoreCreationApiFactory = function (configuration, basePath, axios) {
|
|
33430
34455
|
const localVarFp = (0, exports.StoreCreationApiFp)(configuration);
|
|
33431
34456
|
return {
|
|
34457
|
+
/**
|
|
34458
|
+
* Retrieves validation errors for a specific job ID if any invalid records were found during data upload
|
|
34459
|
+
* @summary Get validation errors for a job
|
|
34460
|
+
* @param {string} jobid Job ID
|
|
34461
|
+
* @param {*} [options] Override http request option.
|
|
34462
|
+
* @throws {RequiredError}
|
|
34463
|
+
*/
|
|
34464
|
+
adminV1StoreCreationJobstatusJobidValidationErrorsGet(jobid, options) {
|
|
34465
|
+
return localVarFp.adminV1StoreCreationJobstatusJobidValidationErrorsGet(jobid, options).then((request) => request(axios, basePath));
|
|
34466
|
+
},
|
|
33432
34467
|
/**
|
|
33433
34468
|
* Deletes (soft delete) the current store creation progress
|
|
33434
34469
|
* @summary Delete store creation progress
|
|
@@ -33519,6 +34554,17 @@ exports.StoreCreationApiFactory = StoreCreationApiFactory;
|
|
|
33519
34554
|
* @extends {BaseAPI}
|
|
33520
34555
|
*/
|
|
33521
34556
|
class StoreCreationApi extends base_1.BaseAPI {
|
|
34557
|
+
/**
|
|
34558
|
+
* Retrieves validation errors for a specific job ID if any invalid records were found during data upload
|
|
34559
|
+
* @summary Get validation errors for a job
|
|
34560
|
+
* @param {string} jobid Job ID
|
|
34561
|
+
* @param {*} [options] Override http request option.
|
|
34562
|
+
* @throws {RequiredError}
|
|
34563
|
+
* @memberof StoreCreationApi
|
|
34564
|
+
*/
|
|
34565
|
+
adminV1StoreCreationJobstatusJobidValidationErrorsGet(jobid, options) {
|
|
34566
|
+
return (0, exports.StoreCreationApiFp)(this.configuration).adminV1StoreCreationJobstatusJobidValidationErrorsGet(jobid, options).then((request) => request(this.axios, this.basePath));
|
|
34567
|
+
}
|
|
33522
34568
|
/**
|
|
33523
34569
|
* Deletes (soft delete) the current store creation progress
|
|
33524
34570
|
* @summary Delete store creation progress
|