@seekora-ai/admin-api 1.1.67 → 1.1.69
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 +12 -2
- package/api.ts +870 -0
- package/dist/api.d.ts +678 -0
- package/dist/api.js +384 -6
- package/dist/esm/api.d.ts +678 -0
- package/dist/esm/api.js +378 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.69.tgz +0 -0
- package/seekora-ai-admin-api-1.1.67.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -24,12 +24,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
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
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.
|
|
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 = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = void 0;
|
|
27
|
+
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.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = void 0;
|
|
28
|
+
exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = 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 = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = void 0;
|
|
29
|
+
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 = exports.FeatureLimitsAdminApi = void 0;
|
|
30
|
+
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 = exports.NewsLettersApiFp = void 0;
|
|
31
|
+
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 = exports.QuerySuggestionsManagementApiAxiosParamCreator = 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 = exports.StoreDocumentsApiFactory = void 0;
|
|
33
33
|
const axios_1 = require("axios");
|
|
34
34
|
// Some imports not used depending on template conditions
|
|
35
35
|
// @ts-ignore
|
|
@@ -4361,6 +4361,175 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
4361
4361
|
options: localVarRequestOptions,
|
|
4362
4362
|
};
|
|
4363
4363
|
}),
|
|
4364
|
+
/**
|
|
4365
|
+
* Retrieve most popular queries used for getting suggestions, ordered by request count
|
|
4366
|
+
* @summary Get Popular Suggestion Queries
|
|
4367
|
+
* @param {string} xStoreID Store ID
|
|
4368
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
4369
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
4370
|
+
* @param {number} [limit] Number of results to return
|
|
4371
|
+
* @param {*} [options] Override http request option.
|
|
4372
|
+
* @throws {RequiredError}
|
|
4373
|
+
*/
|
|
4374
|
+
adminAnalyticsStoreXStoreIDSuggestionsPopularGet: (xStoreID_1, startTime_1, endTime_1, limit_1, ...args_1) => __awaiter(this, [xStoreID_1, startTime_1, endTime_1, limit_1, ...args_1], void 0, function* (xStoreID, startTime, endTime, limit, options = {}) {
|
|
4375
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
4376
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDSuggestionsPopularGet', 'xStoreID', xStoreID);
|
|
4377
|
+
const localVarPath = `/admin/analytics/store/{xStoreID}/suggestions/popular`
|
|
4378
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
4379
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4380
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4381
|
+
let baseOptions;
|
|
4382
|
+
if (configuration) {
|
|
4383
|
+
baseOptions = configuration.baseOptions;
|
|
4384
|
+
}
|
|
4385
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4386
|
+
const localVarHeaderParameter = {};
|
|
4387
|
+
const localVarQueryParameter = {};
|
|
4388
|
+
// authentication BearerAuth required
|
|
4389
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4390
|
+
if (startTime !== undefined) {
|
|
4391
|
+
localVarQueryParameter['start_time'] = startTime;
|
|
4392
|
+
}
|
|
4393
|
+
if (endTime !== undefined) {
|
|
4394
|
+
localVarQueryParameter['end_time'] = endTime;
|
|
4395
|
+
}
|
|
4396
|
+
if (limit !== undefined) {
|
|
4397
|
+
localVarQueryParameter['limit'] = limit;
|
|
4398
|
+
}
|
|
4399
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4400
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4401
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4402
|
+
return {
|
|
4403
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4404
|
+
options: localVarRequestOptions,
|
|
4405
|
+
};
|
|
4406
|
+
}),
|
|
4407
|
+
/**
|
|
4408
|
+
* Retrieve analytics for query suggestions including request counts, suggestions returned, processing time, and usage metrics. Supports filtering by query, analytics tags, and time range.
|
|
4409
|
+
* @summary Get Query Suggestions Analytics
|
|
4410
|
+
* @param {string} xStoreID Store ID
|
|
4411
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
4412
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
4413
|
+
* @param {string} [search] Search term to filter queries (case-insensitive partial match)
|
|
4414
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter
|
|
4415
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
4416
|
+
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
4417
|
+
* @param {number} [page] Page number for pagination
|
|
4418
|
+
* @param {number} [pageSize] Number of results per page
|
|
4419
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortByEnum} [sortBy] Field to sort by
|
|
4420
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortOrderEnum} [sortOrder] Sort direction
|
|
4421
|
+
* @param {*} [options] Override http request option.
|
|
4422
|
+
* @throws {RequiredError}
|
|
4423
|
+
*/
|
|
4424
|
+
adminAnalyticsStoreXStoreIDSuggestionsQueriesGet: (xStoreID_1, startTime_1, endTime_1, search_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, page_1, pageSize_1, sortBy_1, sortOrder_1, ...args_1) => __awaiter(this, [xStoreID_1, startTime_1, endTime_1, search_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, page_1, pageSize_1, sortBy_1, sortOrder_1, ...args_1], void 0, function* (xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, page, pageSize, sortBy, sortOrder, options = {}) {
|
|
4425
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
4426
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDSuggestionsQueriesGet', 'xStoreID', xStoreID);
|
|
4427
|
+
const localVarPath = `/admin/analytics/store/{xStoreID}/suggestions/queries`
|
|
4428
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
4429
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4430
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4431
|
+
let baseOptions;
|
|
4432
|
+
if (configuration) {
|
|
4433
|
+
baseOptions = configuration.baseOptions;
|
|
4434
|
+
}
|
|
4435
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4436
|
+
const localVarHeaderParameter = {};
|
|
4437
|
+
const localVarQueryParameter = {};
|
|
4438
|
+
// authentication BearerAuth required
|
|
4439
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4440
|
+
if (startTime !== undefined) {
|
|
4441
|
+
localVarQueryParameter['start_time'] = startTime;
|
|
4442
|
+
}
|
|
4443
|
+
if (endTime !== undefined) {
|
|
4444
|
+
localVarQueryParameter['end_time'] = endTime;
|
|
4445
|
+
}
|
|
4446
|
+
if (search !== undefined) {
|
|
4447
|
+
localVarQueryParameter['search'] = search;
|
|
4448
|
+
}
|
|
4449
|
+
if (analyticsTags !== undefined) {
|
|
4450
|
+
localVarQueryParameter['analytics_tags'] = analyticsTags;
|
|
4451
|
+
}
|
|
4452
|
+
if (tagsMatchMode !== undefined) {
|
|
4453
|
+
localVarQueryParameter['tags_match_mode'] = tagsMatchMode;
|
|
4454
|
+
}
|
|
4455
|
+
if (tagsExclude !== undefined) {
|
|
4456
|
+
localVarQueryParameter['tags_exclude'] = tagsExclude;
|
|
4457
|
+
}
|
|
4458
|
+
if (page !== undefined) {
|
|
4459
|
+
localVarQueryParameter['page'] = page;
|
|
4460
|
+
}
|
|
4461
|
+
if (pageSize !== undefined) {
|
|
4462
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
4463
|
+
}
|
|
4464
|
+
if (sortBy !== undefined) {
|
|
4465
|
+
localVarQueryParameter['sort_by'] = sortBy;
|
|
4466
|
+
}
|
|
4467
|
+
if (sortOrder !== undefined) {
|
|
4468
|
+
localVarQueryParameter['sort_order'] = sortOrder;
|
|
4469
|
+
}
|
|
4470
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4471
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4472
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4473
|
+
return {
|
|
4474
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4475
|
+
options: localVarRequestOptions,
|
|
4476
|
+
};
|
|
4477
|
+
}),
|
|
4478
|
+
/**
|
|
4479
|
+
* Retrieve comprehensive insights for a specific query suggestion including metrics, performance data, and optional time series
|
|
4480
|
+
* @summary Get Query Suggestions Insights
|
|
4481
|
+
* @param {string} xStoreID Store ID
|
|
4482
|
+
* @param {string} query Query suggestion to analyze
|
|
4483
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
4484
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
4485
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetGranularityEnum} [granularity] Time granularity for time series
|
|
4486
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter
|
|
4487
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
4488
|
+
* @param {*} [options] Override http request option.
|
|
4489
|
+
* @throws {RequiredError}
|
|
4490
|
+
*/
|
|
4491
|
+
adminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGet: (xStoreID_1, query_1, startTime_1, endTime_1, granularity_1, analyticsTags_1, tagsMatchMode_1, ...args_1) => __awaiter(this, [xStoreID_1, query_1, startTime_1, endTime_1, granularity_1, analyticsTags_1, tagsMatchMode_1, ...args_1], void 0, function* (xStoreID, query, startTime, endTime, granularity, analyticsTags, tagsMatchMode, options = {}) {
|
|
4492
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
4493
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGet', 'xStoreID', xStoreID);
|
|
4494
|
+
// verify required parameter 'query' is not null or undefined
|
|
4495
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGet', 'query', query);
|
|
4496
|
+
const localVarPath = `/admin/analytics/store/{xStoreID}/suggestions/{query}/insights`
|
|
4497
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
4498
|
+
.replace(`{${"query"}}`, encodeURIComponent(String(query)));
|
|
4499
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4500
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4501
|
+
let baseOptions;
|
|
4502
|
+
if (configuration) {
|
|
4503
|
+
baseOptions = configuration.baseOptions;
|
|
4504
|
+
}
|
|
4505
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4506
|
+
const localVarHeaderParameter = {};
|
|
4507
|
+
const localVarQueryParameter = {};
|
|
4508
|
+
// authentication BearerAuth required
|
|
4509
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4510
|
+
if (startTime !== undefined) {
|
|
4511
|
+
localVarQueryParameter['start_time'] = startTime;
|
|
4512
|
+
}
|
|
4513
|
+
if (endTime !== undefined) {
|
|
4514
|
+
localVarQueryParameter['end_time'] = endTime;
|
|
4515
|
+
}
|
|
4516
|
+
if (granularity !== undefined) {
|
|
4517
|
+
localVarQueryParameter['granularity'] = granularity;
|
|
4518
|
+
}
|
|
4519
|
+
if (analyticsTags !== undefined) {
|
|
4520
|
+
localVarQueryParameter['analytics_tags'] = analyticsTags;
|
|
4521
|
+
}
|
|
4522
|
+
if (tagsMatchMode !== undefined) {
|
|
4523
|
+
localVarQueryParameter['tags_match_mode'] = tagsMatchMode;
|
|
4524
|
+
}
|
|
4525
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4526
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4527
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4528
|
+
return {
|
|
4529
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4530
|
+
options: localVarRequestOptions,
|
|
4531
|
+
};
|
|
4532
|
+
}),
|
|
4364
4533
|
/**
|
|
4365
4534
|
* Retrieve analytics tags usage data and filtering capabilities. If no start_time/end_time is specified, returns all tags from the last 2 years.
|
|
4366
4535
|
* @summary Get Analytics Tags
|
|
@@ -5226,6 +5395,73 @@ const AnalyticsApiFp = function (configuration) {
|
|
|
5226
5395
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5227
5396
|
});
|
|
5228
5397
|
},
|
|
5398
|
+
/**
|
|
5399
|
+
* Retrieve most popular queries used for getting suggestions, ordered by request count
|
|
5400
|
+
* @summary Get Popular Suggestion Queries
|
|
5401
|
+
* @param {string} xStoreID Store ID
|
|
5402
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
5403
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
5404
|
+
* @param {number} [limit] Number of results to return
|
|
5405
|
+
* @param {*} [options] Override http request option.
|
|
5406
|
+
* @throws {RequiredError}
|
|
5407
|
+
*/
|
|
5408
|
+
adminAnalyticsStoreXStoreIDSuggestionsPopularGet(xStoreID, startTime, endTime, limit, options) {
|
|
5409
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5410
|
+
var _a, _b, _c;
|
|
5411
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDSuggestionsPopularGet(xStoreID, startTime, endTime, limit, options);
|
|
5412
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5413
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDSuggestionsPopularGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5414
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5415
|
+
});
|
|
5416
|
+
},
|
|
5417
|
+
/**
|
|
5418
|
+
* Retrieve analytics for query suggestions including request counts, suggestions returned, processing time, and usage metrics. Supports filtering by query, analytics tags, and time range.
|
|
5419
|
+
* @summary Get Query Suggestions Analytics
|
|
5420
|
+
* @param {string} xStoreID Store ID
|
|
5421
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
5422
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
5423
|
+
* @param {string} [search] Search term to filter queries (case-insensitive partial match)
|
|
5424
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter
|
|
5425
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
5426
|
+
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
5427
|
+
* @param {number} [page] Page number for pagination
|
|
5428
|
+
* @param {number} [pageSize] Number of results per page
|
|
5429
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortByEnum} [sortBy] Field to sort by
|
|
5430
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortOrderEnum} [sortOrder] Sort direction
|
|
5431
|
+
* @param {*} [options] Override http request option.
|
|
5432
|
+
* @throws {RequiredError}
|
|
5433
|
+
*/
|
|
5434
|
+
adminAnalyticsStoreXStoreIDSuggestionsQueriesGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, page, pageSize, sortBy, sortOrder, options) {
|
|
5435
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5436
|
+
var _a, _b, _c;
|
|
5437
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDSuggestionsQueriesGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, page, pageSize, sortBy, sortOrder, options);
|
|
5438
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5439
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDSuggestionsQueriesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5440
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5441
|
+
});
|
|
5442
|
+
},
|
|
5443
|
+
/**
|
|
5444
|
+
* Retrieve comprehensive insights for a specific query suggestion including metrics, performance data, and optional time series
|
|
5445
|
+
* @summary Get Query Suggestions Insights
|
|
5446
|
+
* @param {string} xStoreID Store ID
|
|
5447
|
+
* @param {string} query Query suggestion to analyze
|
|
5448
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
5449
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
5450
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetGranularityEnum} [granularity] Time granularity for time series
|
|
5451
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter
|
|
5452
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
5453
|
+
* @param {*} [options] Override http request option.
|
|
5454
|
+
* @throws {RequiredError}
|
|
5455
|
+
*/
|
|
5456
|
+
adminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGet(xStoreID, query, startTime, endTime, granularity, analyticsTags, tagsMatchMode, options) {
|
|
5457
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5458
|
+
var _a, _b, _c;
|
|
5459
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGet(xStoreID, query, startTime, endTime, granularity, analyticsTags, tagsMatchMode, options);
|
|
5460
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5461
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5462
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5463
|
+
});
|
|
5464
|
+
},
|
|
5229
5465
|
/**
|
|
5230
5466
|
* Retrieve analytics tags usage data and filtering capabilities. If no start_time/end_time is specified, returns all tags from the last 2 years.
|
|
5231
5467
|
* @summary Get Analytics Tags
|
|
@@ -5801,6 +6037,55 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
5801
6037
|
adminAnalyticsStoreXStoreIDResultsGet(xStoreID, startTime, endTime, search, itemIds, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, minImpressions, sortBy, sortOrder, sort, includeDocuments, includeWidget, limit, offset, page, pageSize, options) {
|
|
5802
6038
|
return localVarFp.adminAnalyticsStoreXStoreIDResultsGet(xStoreID, startTime, endTime, search, itemIds, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, minImpressions, sortBy, sortOrder, sort, includeDocuments, includeWidget, limit, offset, page, pageSize, options).then((request) => request(axios, basePath));
|
|
5803
6039
|
},
|
|
6040
|
+
/**
|
|
6041
|
+
* Retrieve most popular queries used for getting suggestions, ordered by request count
|
|
6042
|
+
* @summary Get Popular Suggestion Queries
|
|
6043
|
+
* @param {string} xStoreID Store ID
|
|
6044
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
6045
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
6046
|
+
* @param {number} [limit] Number of results to return
|
|
6047
|
+
* @param {*} [options] Override http request option.
|
|
6048
|
+
* @throws {RequiredError}
|
|
6049
|
+
*/
|
|
6050
|
+
adminAnalyticsStoreXStoreIDSuggestionsPopularGet(xStoreID, startTime, endTime, limit, options) {
|
|
6051
|
+
return localVarFp.adminAnalyticsStoreXStoreIDSuggestionsPopularGet(xStoreID, startTime, endTime, limit, options).then((request) => request(axios, basePath));
|
|
6052
|
+
},
|
|
6053
|
+
/**
|
|
6054
|
+
* Retrieve analytics for query suggestions including request counts, suggestions returned, processing time, and usage metrics. Supports filtering by query, analytics tags, and time range.
|
|
6055
|
+
* @summary Get Query Suggestions Analytics
|
|
6056
|
+
* @param {string} xStoreID Store ID
|
|
6057
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
6058
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
6059
|
+
* @param {string} [search] Search term to filter queries (case-insensitive partial match)
|
|
6060
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter
|
|
6061
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
6062
|
+
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
6063
|
+
* @param {number} [page] Page number for pagination
|
|
6064
|
+
* @param {number} [pageSize] Number of results per page
|
|
6065
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortByEnum} [sortBy] Field to sort by
|
|
6066
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortOrderEnum} [sortOrder] Sort direction
|
|
6067
|
+
* @param {*} [options] Override http request option.
|
|
6068
|
+
* @throws {RequiredError}
|
|
6069
|
+
*/
|
|
6070
|
+
adminAnalyticsStoreXStoreIDSuggestionsQueriesGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, page, pageSize, sortBy, sortOrder, options) {
|
|
6071
|
+
return localVarFp.adminAnalyticsStoreXStoreIDSuggestionsQueriesGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, page, pageSize, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
6072
|
+
},
|
|
6073
|
+
/**
|
|
6074
|
+
* Retrieve comprehensive insights for a specific query suggestion including metrics, performance data, and optional time series
|
|
6075
|
+
* @summary Get Query Suggestions Insights
|
|
6076
|
+
* @param {string} xStoreID Store ID
|
|
6077
|
+
* @param {string} query Query suggestion to analyze
|
|
6078
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
6079
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
6080
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetGranularityEnum} [granularity] Time granularity for time series
|
|
6081
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter
|
|
6082
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
6083
|
+
* @param {*} [options] Override http request option.
|
|
6084
|
+
* @throws {RequiredError}
|
|
6085
|
+
*/
|
|
6086
|
+
adminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGet(xStoreID, query, startTime, endTime, granularity, analyticsTags, tagsMatchMode, options) {
|
|
6087
|
+
return localVarFp.adminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGet(xStoreID, query, startTime, endTime, granularity, analyticsTags, tagsMatchMode, options).then((request) => request(axios, basePath));
|
|
6088
|
+
},
|
|
5804
6089
|
/**
|
|
5805
6090
|
* Retrieve analytics tags usage data and filtering capabilities. If no start_time/end_time is specified, returns all tags from the last 2 years.
|
|
5806
6091
|
* @summary Get Analytics Tags
|
|
@@ -6366,6 +6651,58 @@ class AnalyticsApi extends base_1.BaseAPI {
|
|
|
6366
6651
|
adminAnalyticsStoreXStoreIDResultsGet(xStoreID, startTime, endTime, search, itemIds, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, minImpressions, sortBy, sortOrder, sort, includeDocuments, includeWidget, limit, offset, page, pageSize, options) {
|
|
6367
6652
|
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDResultsGet(xStoreID, startTime, endTime, search, itemIds, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, minImpressions, sortBy, sortOrder, sort, includeDocuments, includeWidget, limit, offset, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
6368
6653
|
}
|
|
6654
|
+
/**
|
|
6655
|
+
* Retrieve most popular queries used for getting suggestions, ordered by request count
|
|
6656
|
+
* @summary Get Popular Suggestion Queries
|
|
6657
|
+
* @param {string} xStoreID Store ID
|
|
6658
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
6659
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
6660
|
+
* @param {number} [limit] Number of results to return
|
|
6661
|
+
* @param {*} [options] Override http request option.
|
|
6662
|
+
* @throws {RequiredError}
|
|
6663
|
+
* @memberof AnalyticsApi
|
|
6664
|
+
*/
|
|
6665
|
+
adminAnalyticsStoreXStoreIDSuggestionsPopularGet(xStoreID, startTime, endTime, limit, options) {
|
|
6666
|
+
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDSuggestionsPopularGet(xStoreID, startTime, endTime, limit, options).then((request) => request(this.axios, this.basePath));
|
|
6667
|
+
}
|
|
6668
|
+
/**
|
|
6669
|
+
* Retrieve analytics for query suggestions including request counts, suggestions returned, processing time, and usage metrics. Supports filtering by query, analytics tags, and time range.
|
|
6670
|
+
* @summary Get Query Suggestions Analytics
|
|
6671
|
+
* @param {string} xStoreID Store ID
|
|
6672
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
6673
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
6674
|
+
* @param {string} [search] Search term to filter queries (case-insensitive partial match)
|
|
6675
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter
|
|
6676
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
6677
|
+
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
6678
|
+
* @param {number} [page] Page number for pagination
|
|
6679
|
+
* @param {number} [pageSize] Number of results per page
|
|
6680
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortByEnum} [sortBy] Field to sort by
|
|
6681
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortOrderEnum} [sortOrder] Sort direction
|
|
6682
|
+
* @param {*} [options] Override http request option.
|
|
6683
|
+
* @throws {RequiredError}
|
|
6684
|
+
* @memberof AnalyticsApi
|
|
6685
|
+
*/
|
|
6686
|
+
adminAnalyticsStoreXStoreIDSuggestionsQueriesGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, page, pageSize, sortBy, sortOrder, options) {
|
|
6687
|
+
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDSuggestionsQueriesGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, page, pageSize, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
6688
|
+
}
|
|
6689
|
+
/**
|
|
6690
|
+
* Retrieve comprehensive insights for a specific query suggestion including metrics, performance data, and optional time series
|
|
6691
|
+
* @summary Get Query Suggestions Insights
|
|
6692
|
+
* @param {string} xStoreID Store ID
|
|
6693
|
+
* @param {string} query Query suggestion to analyze
|
|
6694
|
+
* @param {string} [startTime] Start time in RFC3339 format
|
|
6695
|
+
* @param {string} [endTime] End time in RFC3339 format
|
|
6696
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetGranularityEnum} [granularity] Time granularity for time series
|
|
6697
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter
|
|
6698
|
+
* @param {AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
6699
|
+
* @param {*} [options] Override http request option.
|
|
6700
|
+
* @throws {RequiredError}
|
|
6701
|
+
* @memberof AnalyticsApi
|
|
6702
|
+
*/
|
|
6703
|
+
adminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGet(xStoreID, query, startTime, endTime, granularity, analyticsTags, tagsMatchMode, options) {
|
|
6704
|
+
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGet(xStoreID, query, startTime, endTime, granularity, analyticsTags, tagsMatchMode, options).then((request) => request(this.axios, this.basePath));
|
|
6705
|
+
}
|
|
6369
6706
|
/**
|
|
6370
6707
|
* Retrieve analytics tags usage data and filtering capabilities. If no start_time/end_time is specified, returns all tags from the last 2 years.
|
|
6371
6708
|
* @summary Get Analytics Tags
|
|
@@ -6793,6 +7130,47 @@ exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = {
|
|
|
6793
7130
|
Asc: 'asc',
|
|
6794
7131
|
Desc: 'desc'
|
|
6795
7132
|
};
|
|
7133
|
+
/**
|
|
7134
|
+
* @export
|
|
7135
|
+
*/
|
|
7136
|
+
exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetTagsMatchModeEnum = {
|
|
7137
|
+
Any: 'any',
|
|
7138
|
+
All: 'all'
|
|
7139
|
+
};
|
|
7140
|
+
/**
|
|
7141
|
+
* @export
|
|
7142
|
+
*/
|
|
7143
|
+
exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortByEnum = {
|
|
7144
|
+
Requests: 'requests',
|
|
7145
|
+
TotalSuggestionsReturned: 'total_suggestions_returned',
|
|
7146
|
+
AvgSuggestionsPerRequest: 'avg_suggestions_per_request',
|
|
7147
|
+
AvgProcessingTimeMs: 'avg_processing_time_ms',
|
|
7148
|
+
UniqueUsers: 'unique_users'
|
|
7149
|
+
};
|
|
7150
|
+
/**
|
|
7151
|
+
* @export
|
|
7152
|
+
*/
|
|
7153
|
+
exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortOrderEnum = {
|
|
7154
|
+
Asc: 'asc',
|
|
7155
|
+
Desc: 'desc'
|
|
7156
|
+
};
|
|
7157
|
+
/**
|
|
7158
|
+
* @export
|
|
7159
|
+
*/
|
|
7160
|
+
exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetGranularityEnum = {
|
|
7161
|
+
Minute: 'minute',
|
|
7162
|
+
_5minute: '5minute',
|
|
7163
|
+
_15minute: '15minute',
|
|
7164
|
+
Hour: 'hour',
|
|
7165
|
+
Day: 'day'
|
|
7166
|
+
};
|
|
7167
|
+
/**
|
|
7168
|
+
* @export
|
|
7169
|
+
*/
|
|
7170
|
+
exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetTagsMatchModeEnum = {
|
|
7171
|
+
Any: 'any',
|
|
7172
|
+
All: 'all'
|
|
7173
|
+
};
|
|
6796
7174
|
/**
|
|
6797
7175
|
* @export
|
|
6798
7176
|
*/
|