@seekora-ai/admin-api 1.0.63 → 1.0.65
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/.openapi-generator/VERSION +1 -1
- package/README.md +24 -3
- package/api.ts +1668 -96
- package/common.ts +4 -4
- package/dist/api.d.ts +1322 -112
- package/dist/api.js +723 -60
- package/dist/esm/api.d.ts +1322 -112
- package/dist/esm/api.js +718 -55
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.65.tgz +0 -0
- package/seekora-ai-admin-api-1.0.63.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -22,17 +22,29 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = void 0;
|
|
25
|
+
exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesCreditTransactionTransactionTypeEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.AnalyticsRuleType = exports.AnalyticsQuerySuggestionStatus = exports.AnalyticsQuerySuggestionSource = exports.AnalyticsBulkOperation = exports.AnalyticsBannedMatchType = void 0;
|
|
26
|
+
exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.ApiCreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = void 0;
|
|
27
|
+
exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.LimitsApi = 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.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = void 0;
|
|
28
|
+
exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = 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 = void 0;
|
|
29
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
const common_1 = require("./common");
|
|
34
34
|
// @ts-ignore
|
|
35
35
|
const base_1 = require("./base");
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
exports.AnalyticsBannedMatchType = {
|
|
42
|
+
BannedMatchIs: 'is',
|
|
43
|
+
BannedMatchContains: 'contains',
|
|
44
|
+
BannedMatchStartsWith: 'startsWith',
|
|
45
|
+
BannedMatchEndsWith: 'endsWith',
|
|
46
|
+
BannedMatchCustom: 'custom'
|
|
47
|
+
};
|
|
36
48
|
/**
|
|
37
49
|
*
|
|
38
50
|
* @export
|
|
@@ -63,6 +75,17 @@ exports.AnalyticsQuerySuggestionStatus = {
|
|
|
63
75
|
StatusEnabled: 'enabled',
|
|
64
76
|
StatusDisabled: 'disabled'
|
|
65
77
|
};
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @export
|
|
81
|
+
* @enum {string}
|
|
82
|
+
*/
|
|
83
|
+
exports.AnalyticsRuleType = {
|
|
84
|
+
RuleTypePromote: 'promote',
|
|
85
|
+
RuleTypeHide: 'hide',
|
|
86
|
+
RuleTypeRedirect: 'redirect',
|
|
87
|
+
RuleTypeBanner: 'banner'
|
|
88
|
+
};
|
|
66
89
|
exports.DataTypesCreateCustomWordListRequestTypeEnum = {
|
|
67
90
|
Stopwords: 'stopwords',
|
|
68
91
|
Synonyms: 'synonyms'
|
|
@@ -1380,6 +1403,7 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1380
1403
|
* @param {string} [startTime] Start time in RFC3339 format
|
|
1381
1404
|
* @param {string} [endTime] End time in RFC3339 format
|
|
1382
1405
|
* @param {AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum} [granularity] Time granularity
|
|
1406
|
+
* @param {string} [search] Search term to filter geographic locations (case-insensitive partial match on country, region, city)
|
|
1383
1407
|
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
1384
1408
|
* @param {AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
1385
1409
|
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
@@ -1403,7 +1427,7 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1403
1427
|
* @param {*} [options] Override http request option.
|
|
1404
1428
|
* @throws {RequiredError}
|
|
1405
1429
|
*/
|
|
1406
|
-
adminAnalyticsStoreXStoreIDGeoGet: (xStoreID_1, startTime_1, endTime_1, granularity_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, limit_1, offset_1, page_1, pageSize_1, sortBy_1, sortOrder_1, sort_1, ...args_1) => __awaiter(this, [xStoreID_1, startTime_1, endTime_1, granularity_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, limit_1, offset_1, page_1, pageSize_1, sortBy_1, sortOrder_1, sort_1, ...args_1], void 0, function* (xStoreID, startTime, endTime, granularity, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options = {}) {
|
|
1430
|
+
adminAnalyticsStoreXStoreIDGeoGet: (xStoreID_1, startTime_1, endTime_1, granularity_1, search_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, limit_1, offset_1, page_1, pageSize_1, sortBy_1, sortOrder_1, sort_1, ...args_1) => __awaiter(this, [xStoreID_1, startTime_1, endTime_1, granularity_1, search_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, limit_1, offset_1, page_1, pageSize_1, sortBy_1, sortOrder_1, sort_1, ...args_1], void 0, function* (xStoreID, startTime, endTime, granularity, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options = {}) {
|
|
1407
1431
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
1408
1432
|
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDGeoGet', 'xStoreID', xStoreID);
|
|
1409
1433
|
const localVarPath = `/admin/analytics/store/{xStoreID}/geo`
|
|
@@ -1428,6 +1452,9 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1428
1452
|
if (granularity !== undefined) {
|
|
1429
1453
|
localVarQueryParameter['granularity'] = granularity;
|
|
1430
1454
|
}
|
|
1455
|
+
if (search !== undefined) {
|
|
1456
|
+
localVarQueryParameter['search'] = search;
|
|
1457
|
+
}
|
|
1431
1458
|
if (analyticsTags !== undefined) {
|
|
1432
1459
|
localVarQueryParameter['analytics_tags'] = analyticsTags;
|
|
1433
1460
|
}
|
|
@@ -1520,14 +1547,17 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1520
1547
|
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
1521
1548
|
* @param {number} [queriesPage] Page number for popular queries pagination
|
|
1522
1549
|
* @param {number} [queriesPageSize] Number of queries per page for popular queries
|
|
1550
|
+
* @param {string} [geoQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
|
|
1523
1551
|
* @param {number} [resultsPage] Page number for top results pagination
|
|
1524
1552
|
* @param {number} [resultsPageSize] Number of results per page for top results
|
|
1553
|
+
* @param {string} [geoResultsSearch] Search term to filter top results (case-insensitive partial match on item IDs)
|
|
1525
1554
|
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
1526
1555
|
* @param {number} [filtersPageSize] Number of filters per page
|
|
1556
|
+
* @param {string} [geoFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
1527
1557
|
* @param {*} [options] Override http request option.
|
|
1528
1558
|
* @throws {RequiredError}
|
|
1529
1559
|
*/
|
|
1530
|
-
adminAnalyticsStoreXStoreIDGeoInsightsGet: (xStoreID_1, country_1, region_1, city_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, queriesPage_1, queriesPageSize_1, resultsPage_1, resultsPageSize_1, filtersPage_1, filtersPageSize_1, ...args_1) => __awaiter(this, [xStoreID_1, country_1, region_1, city_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, queriesPage_1, queriesPageSize_1, resultsPage_1, resultsPageSize_1, filtersPage_1, filtersPageSize_1, ...args_1], void 0, function* (xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, resultsPage, resultsPageSize, filtersPage, filtersPageSize, options = {}) {
|
|
1560
|
+
adminAnalyticsStoreXStoreIDGeoInsightsGet: (xStoreID_1, country_1, region_1, city_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, queriesPage_1, queriesPageSize_1, geoQueriesSearch_1, resultsPage_1, resultsPageSize_1, geoResultsSearch_1, filtersPage_1, filtersPageSize_1, geoFiltersSearch_1, ...args_1) => __awaiter(this, [xStoreID_1, country_1, region_1, city_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, queriesPage_1, queriesPageSize_1, geoQueriesSearch_1, resultsPage_1, resultsPageSize_1, geoResultsSearch_1, filtersPage_1, filtersPageSize_1, geoFiltersSearch_1, ...args_1], void 0, function* (xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, geoQueriesSearch, resultsPage, resultsPageSize, geoResultsSearch, filtersPage, filtersPageSize, geoFiltersSearch, options = {}) {
|
|
1531
1561
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
1532
1562
|
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDGeoInsightsGet', 'xStoreID', xStoreID);
|
|
1533
1563
|
const localVarPath = `/admin/analytics/store/{xStoreID}/geo/insights`
|
|
@@ -1603,18 +1633,27 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1603
1633
|
if (queriesPageSize !== undefined) {
|
|
1604
1634
|
localVarQueryParameter['queries_page_size'] = queriesPageSize;
|
|
1605
1635
|
}
|
|
1636
|
+
if (geoQueriesSearch !== undefined) {
|
|
1637
|
+
localVarQueryParameter['geo_queries_search'] = geoQueriesSearch;
|
|
1638
|
+
}
|
|
1606
1639
|
if (resultsPage !== undefined) {
|
|
1607
1640
|
localVarQueryParameter['results_page'] = resultsPage;
|
|
1608
1641
|
}
|
|
1609
1642
|
if (resultsPageSize !== undefined) {
|
|
1610
1643
|
localVarQueryParameter['results_page_size'] = resultsPageSize;
|
|
1611
1644
|
}
|
|
1645
|
+
if (geoResultsSearch !== undefined) {
|
|
1646
|
+
localVarQueryParameter['geo_results_search'] = geoResultsSearch;
|
|
1647
|
+
}
|
|
1612
1648
|
if (filtersPage !== undefined) {
|
|
1613
1649
|
localVarQueryParameter['filters_page'] = filtersPage;
|
|
1614
1650
|
}
|
|
1615
1651
|
if (filtersPageSize !== undefined) {
|
|
1616
1652
|
localVarQueryParameter['filters_page_size'] = filtersPageSize;
|
|
1617
1653
|
}
|
|
1654
|
+
if (geoFiltersSearch !== undefined) {
|
|
1655
|
+
localVarQueryParameter['geo_filters_search'] = geoFiltersSearch;
|
|
1656
|
+
}
|
|
1618
1657
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1619
1658
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1620
1659
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2180,6 +2219,12 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2180
2219
|
* @param {string} query Search query to analyze
|
|
2181
2220
|
* @param {string} [startTime] Start time in RFC3339 format
|
|
2182
2221
|
* @param {string} [endTime] End time in RFC3339 format
|
|
2222
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
2223
|
+
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
2224
|
+
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
2225
|
+
* @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
|
|
2226
|
+
* @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
|
|
2227
|
+
* @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
|
|
2183
2228
|
* @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
|
|
2184
2229
|
* @param {string} [compareStartTime] Comparison period start time in RFC3339 format
|
|
2185
2230
|
* @param {string} [compareEndTime] Comparison period end time in RFC3339 format
|
|
@@ -2190,15 +2235,18 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2190
2235
|
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
2191
2236
|
* @param {number} [resultsPage] Page number for popular results pagination
|
|
2192
2237
|
* @param {number} [resultsPageSize] Number of results per page for popular results
|
|
2238
|
+
* @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
|
|
2193
2239
|
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
2194
2240
|
* @param {number} [filtersPageSize] Number of filters per page
|
|
2241
|
+
* @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
2195
2242
|
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
2196
2243
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
2244
|
+
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
2197
2245
|
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
2198
2246
|
* @param {*} [options] Override http request option.
|
|
2199
2247
|
* @throws {RequiredError}
|
|
2200
2248
|
*/
|
|
2201
|
-
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet: (xStoreID_1, query_1, startTime_1, endTime_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, filtersPage_1, filtersPageSize_1, geoPage_1, geoPageSize_1, includeWidget_1, ...args_1) => __awaiter(this, [xStoreID_1, query_1, startTime_1, endTime_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, filtersPage_1, filtersPageSize_1, geoPage_1, geoPageSize_1, includeWidget_1, ...args_1], void 0, function* (xStoreID, query, startTime, endTime, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, includeWidget, options = {}) {
|
|
2249
|
+
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet: (xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, ...args_1) => __awaiter(this, [xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, ...args_1], void 0, function* (xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options = {}) {
|
|
2202
2250
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
2203
2251
|
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'xStoreID', xStoreID);
|
|
2204
2252
|
// verify required parameter 'query' is not null or undefined
|
|
@@ -2223,6 +2271,24 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2223
2271
|
if (endTime !== undefined) {
|
|
2224
2272
|
localVarQueryParameter['end_time'] = endTime;
|
|
2225
2273
|
}
|
|
2274
|
+
if (analyticsTags !== undefined) {
|
|
2275
|
+
localVarQueryParameter['analytics_tags'] = analyticsTags;
|
|
2276
|
+
}
|
|
2277
|
+
if (tagsMatchMode !== undefined) {
|
|
2278
|
+
localVarQueryParameter['tags_match_mode'] = tagsMatchMode;
|
|
2279
|
+
}
|
|
2280
|
+
if (tagsExclude !== undefined) {
|
|
2281
|
+
localVarQueryParameter['tags_exclude'] = tagsExclude;
|
|
2282
|
+
}
|
|
2283
|
+
if (tagKeyFilter !== undefined) {
|
|
2284
|
+
localVarQueryParameter['tag_key_filter'] = tagKeyFilter;
|
|
2285
|
+
}
|
|
2286
|
+
if (tagValueFilter !== undefined) {
|
|
2287
|
+
localVarQueryParameter['tag_value_filter'] = tagValueFilter;
|
|
2288
|
+
}
|
|
2289
|
+
if (search !== undefined) {
|
|
2290
|
+
localVarQueryParameter['search'] = search;
|
|
2291
|
+
}
|
|
2226
2292
|
if (compareMode !== undefined) {
|
|
2227
2293
|
localVarQueryParameter['compare_mode'] = compareMode;
|
|
2228
2294
|
}
|
|
@@ -2253,18 +2319,27 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2253
2319
|
if (resultsPageSize !== undefined) {
|
|
2254
2320
|
localVarQueryParameter['results_page_size'] = resultsPageSize;
|
|
2255
2321
|
}
|
|
2322
|
+
if (resultsSearch !== undefined) {
|
|
2323
|
+
localVarQueryParameter['results_search'] = resultsSearch;
|
|
2324
|
+
}
|
|
2256
2325
|
if (filtersPage !== undefined) {
|
|
2257
2326
|
localVarQueryParameter['filters_page'] = filtersPage;
|
|
2258
2327
|
}
|
|
2259
2328
|
if (filtersPageSize !== undefined) {
|
|
2260
2329
|
localVarQueryParameter['filters_page_size'] = filtersPageSize;
|
|
2261
2330
|
}
|
|
2331
|
+
if (filtersSearch !== undefined) {
|
|
2332
|
+
localVarQueryParameter['filters_search'] = filtersSearch;
|
|
2333
|
+
}
|
|
2262
2334
|
if (geoPage !== undefined) {
|
|
2263
2335
|
localVarQueryParameter['geo_page'] = geoPage;
|
|
2264
2336
|
}
|
|
2265
2337
|
if (geoPageSize !== undefined) {
|
|
2266
2338
|
localVarQueryParameter['geo_page_size'] = geoPageSize;
|
|
2267
2339
|
}
|
|
2340
|
+
if (geoSearch !== undefined) {
|
|
2341
|
+
localVarQueryParameter['geo_search'] = geoSearch;
|
|
2342
|
+
}
|
|
2268
2343
|
if (includeWidget !== undefined) {
|
|
2269
2344
|
localVarQueryParameter['include_widget'] = includeWidget;
|
|
2270
2345
|
}
|
|
@@ -2412,11 +2487,11 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2412
2487
|
};
|
|
2413
2488
|
}),
|
|
2414
2489
|
/**
|
|
2415
|
-
* Retrieve analytics tags usage data and filtering capabilities
|
|
2490
|
+
* Retrieve analytics tags usage data and filtering capabilities. If no start_time/end_time is specified, returns all tags from the last 2 years.
|
|
2416
2491
|
* @summary Get Analytics Tags
|
|
2417
2492
|
* @param {string} xStoreID Store ID
|
|
2418
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
2419
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
2493
|
+
* @param {string} [startTime] Start time in RFC3339 format. If not specified, returns all tags from 2 years ago
|
|
2494
|
+
* @param {string} [endTime] End time in RFC3339 format. If not specified, returns all tags until now
|
|
2420
2495
|
* @param {string} [search] Search term for tag keys and values (case-insensitive partial match)
|
|
2421
2496
|
* @param {string} [tagKey] Filter by specific tag key (exact match)
|
|
2422
2497
|
* @param {string} [tagValue] Filter by specific tag value (exact match)
|
|
@@ -2715,6 +2790,7 @@ const AnalyticsApiFp = function (configuration) {
|
|
|
2715
2790
|
* @param {string} [startTime] Start time in RFC3339 format
|
|
2716
2791
|
* @param {string} [endTime] End time in RFC3339 format
|
|
2717
2792
|
* @param {AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum} [granularity] Time granularity
|
|
2793
|
+
* @param {string} [search] Search term to filter geographic locations (case-insensitive partial match on country, region, city)
|
|
2718
2794
|
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
2719
2795
|
* @param {AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
2720
2796
|
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
@@ -2738,10 +2814,10 @@ const AnalyticsApiFp = function (configuration) {
|
|
|
2738
2814
|
* @param {*} [options] Override http request option.
|
|
2739
2815
|
* @throws {RequiredError}
|
|
2740
2816
|
*/
|
|
2741
|
-
adminAnalyticsStoreXStoreIDGeoGet(xStoreID, startTime, endTime, granularity, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
|
|
2817
|
+
adminAnalyticsStoreXStoreIDGeoGet(xStoreID, startTime, endTime, granularity, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
|
|
2742
2818
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2743
2819
|
var _a, _b, _c;
|
|
2744
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDGeoGet(xStoreID, startTime, endTime, granularity, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options);
|
|
2820
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDGeoGet(xStoreID, startTime, endTime, granularity, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options);
|
|
2745
2821
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2746
2822
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDGeoGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2747
2823
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2771,17 +2847,20 @@ const AnalyticsApiFp = function (configuration) {
|
|
|
2771
2847
|
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
2772
2848
|
* @param {number} [queriesPage] Page number for popular queries pagination
|
|
2773
2849
|
* @param {number} [queriesPageSize] Number of queries per page for popular queries
|
|
2850
|
+
* @param {string} [geoQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
|
|
2774
2851
|
* @param {number} [resultsPage] Page number for top results pagination
|
|
2775
2852
|
* @param {number} [resultsPageSize] Number of results per page for top results
|
|
2853
|
+
* @param {string} [geoResultsSearch] Search term to filter top results (case-insensitive partial match on item IDs)
|
|
2776
2854
|
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
2777
2855
|
* @param {number} [filtersPageSize] Number of filters per page
|
|
2856
|
+
* @param {string} [geoFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
2778
2857
|
* @param {*} [options] Override http request option.
|
|
2779
2858
|
* @throws {RequiredError}
|
|
2780
2859
|
*/
|
|
2781
|
-
adminAnalyticsStoreXStoreIDGeoInsightsGet(xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, resultsPage, resultsPageSize, filtersPage, filtersPageSize, options) {
|
|
2860
|
+
adminAnalyticsStoreXStoreIDGeoInsightsGet(xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, geoQueriesSearch, resultsPage, resultsPageSize, geoResultsSearch, filtersPage, filtersPageSize, geoFiltersSearch, options) {
|
|
2782
2861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2783
2862
|
var _a, _b, _c;
|
|
2784
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDGeoInsightsGet(xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, resultsPage, resultsPageSize, filtersPage, filtersPageSize, options);
|
|
2863
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDGeoInsightsGet(xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, geoQueriesSearch, resultsPage, resultsPageSize, geoResultsSearch, filtersPage, filtersPageSize, geoFiltersSearch, options);
|
|
2785
2864
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2786
2865
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDGeoInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2787
2866
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2981,6 +3060,12 @@ const AnalyticsApiFp = function (configuration) {
|
|
|
2981
3060
|
* @param {string} query Search query to analyze
|
|
2982
3061
|
* @param {string} [startTime] Start time in RFC3339 format
|
|
2983
3062
|
* @param {string} [endTime] End time in RFC3339 format
|
|
3063
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
3064
|
+
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
3065
|
+
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
3066
|
+
* @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
|
|
3067
|
+
* @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
|
|
3068
|
+
* @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
|
|
2984
3069
|
* @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
|
|
2985
3070
|
* @param {string} [compareStartTime] Comparison period start time in RFC3339 format
|
|
2986
3071
|
* @param {string} [compareEndTime] Comparison period end time in RFC3339 format
|
|
@@ -2991,18 +3076,21 @@ const AnalyticsApiFp = function (configuration) {
|
|
|
2991
3076
|
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
2992
3077
|
* @param {number} [resultsPage] Page number for popular results pagination
|
|
2993
3078
|
* @param {number} [resultsPageSize] Number of results per page for popular results
|
|
3079
|
+
* @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
|
|
2994
3080
|
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
2995
3081
|
* @param {number} [filtersPageSize] Number of filters per page
|
|
3082
|
+
* @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
2996
3083
|
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
2997
3084
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
3085
|
+
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
2998
3086
|
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
2999
3087
|
* @param {*} [options] Override http request option.
|
|
3000
3088
|
* @throws {RequiredError}
|
|
3001
3089
|
*/
|
|
3002
|
-
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, includeWidget, options) {
|
|
3090
|
+
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
|
|
3003
3091
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3004
3092
|
var _a, _b, _c;
|
|
3005
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, includeWidget, options);
|
|
3093
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options);
|
|
3006
3094
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3007
3095
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3008
3096
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3051,11 +3139,11 @@ const AnalyticsApiFp = function (configuration) {
|
|
|
3051
3139
|
});
|
|
3052
3140
|
},
|
|
3053
3141
|
/**
|
|
3054
|
-
* Retrieve analytics tags usage data and filtering capabilities
|
|
3142
|
+
* Retrieve analytics tags usage data and filtering capabilities. If no start_time/end_time is specified, returns all tags from the last 2 years.
|
|
3055
3143
|
* @summary Get Analytics Tags
|
|
3056
3144
|
* @param {string} xStoreID Store ID
|
|
3057
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
3058
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
3145
|
+
* @param {string} [startTime] Start time in RFC3339 format. If not specified, returns all tags from 2 years ago
|
|
3146
|
+
* @param {string} [endTime] End time in RFC3339 format. If not specified, returns all tags until now
|
|
3059
3147
|
* @param {string} [search] Search term for tag keys and values (case-insensitive partial match)
|
|
3060
3148
|
* @param {string} [tagKey] Filter by specific tag key (exact match)
|
|
3061
3149
|
* @param {string} [tagValue] Filter by specific tag value (exact match)
|
|
@@ -3226,6 +3314,7 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3226
3314
|
* @param {string} [startTime] Start time in RFC3339 format
|
|
3227
3315
|
* @param {string} [endTime] End time in RFC3339 format
|
|
3228
3316
|
* @param {AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum} [granularity] Time granularity
|
|
3317
|
+
* @param {string} [search] Search term to filter geographic locations (case-insensitive partial match on country, region, city)
|
|
3229
3318
|
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
3230
3319
|
* @param {AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
3231
3320
|
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
@@ -3249,8 +3338,8 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3249
3338
|
* @param {*} [options] Override http request option.
|
|
3250
3339
|
* @throws {RequiredError}
|
|
3251
3340
|
*/
|
|
3252
|
-
adminAnalyticsStoreXStoreIDGeoGet(xStoreID, startTime, endTime, granularity, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
|
|
3253
|
-
return localVarFp.adminAnalyticsStoreXStoreIDGeoGet(xStoreID, startTime, endTime, granularity, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(axios, basePath));
|
|
3341
|
+
adminAnalyticsStoreXStoreIDGeoGet(xStoreID, startTime, endTime, granularity, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
|
|
3342
|
+
return localVarFp.adminAnalyticsStoreXStoreIDGeoGet(xStoreID, startTime, endTime, granularity, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(axios, basePath));
|
|
3254
3343
|
},
|
|
3255
3344
|
/**
|
|
3256
3345
|
* Retrieve comprehensive analytics insights for a specific geographic location including all core metrics (Total Searches, Total Clicks, CTR, Conversions, CVR, Revenue), popular queries with performance metrics, top results by region with average rankings, popular filters used per region with performance impact, and totals & rates with optional comparison mode and internal pagination for each subsection
|
|
@@ -3276,15 +3365,18 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3276
3365
|
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
3277
3366
|
* @param {number} [queriesPage] Page number for popular queries pagination
|
|
3278
3367
|
* @param {number} [queriesPageSize] Number of queries per page for popular queries
|
|
3368
|
+
* @param {string} [geoQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
|
|
3279
3369
|
* @param {number} [resultsPage] Page number for top results pagination
|
|
3280
3370
|
* @param {number} [resultsPageSize] Number of results per page for top results
|
|
3371
|
+
* @param {string} [geoResultsSearch] Search term to filter top results (case-insensitive partial match on item IDs)
|
|
3281
3372
|
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
3282
3373
|
* @param {number} [filtersPageSize] Number of filters per page
|
|
3374
|
+
* @param {string} [geoFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
3283
3375
|
* @param {*} [options] Override http request option.
|
|
3284
3376
|
* @throws {RequiredError}
|
|
3285
3377
|
*/
|
|
3286
|
-
adminAnalyticsStoreXStoreIDGeoInsightsGet(xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, resultsPage, resultsPageSize, filtersPage, filtersPageSize, options) {
|
|
3287
|
-
return localVarFp.adminAnalyticsStoreXStoreIDGeoInsightsGet(xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, resultsPage, resultsPageSize, filtersPage, filtersPageSize, options).then((request) => request(axios, basePath));
|
|
3378
|
+
adminAnalyticsStoreXStoreIDGeoInsightsGet(xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, geoQueriesSearch, resultsPage, resultsPageSize, geoResultsSearch, filtersPage, filtersPageSize, geoFiltersSearch, options) {
|
|
3379
|
+
return localVarFp.adminAnalyticsStoreXStoreIDGeoInsightsGet(xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, geoQueriesSearch, resultsPage, resultsPageSize, geoResultsSearch, filtersPage, filtersPageSize, geoFiltersSearch, options).then((request) => request(axios, basePath));
|
|
3288
3380
|
},
|
|
3289
3381
|
/**
|
|
3290
3382
|
* Check the health status of analytics service and ClickHouse connection
|
|
@@ -3444,6 +3536,12 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3444
3536
|
* @param {string} query Search query to analyze
|
|
3445
3537
|
* @param {string} [startTime] Start time in RFC3339 format
|
|
3446
3538
|
* @param {string} [endTime] End time in RFC3339 format
|
|
3539
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
3540
|
+
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
3541
|
+
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
3542
|
+
* @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
|
|
3543
|
+
* @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
|
|
3544
|
+
* @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
|
|
3447
3545
|
* @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
|
|
3448
3546
|
* @param {string} [compareStartTime] Comparison period start time in RFC3339 format
|
|
3449
3547
|
* @param {string} [compareEndTime] Comparison period end time in RFC3339 format
|
|
@@ -3454,16 +3552,19 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3454
3552
|
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
3455
3553
|
* @param {number} [resultsPage] Page number for popular results pagination
|
|
3456
3554
|
* @param {number} [resultsPageSize] Number of results per page for popular results
|
|
3555
|
+
* @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
|
|
3457
3556
|
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
3458
3557
|
* @param {number} [filtersPageSize] Number of filters per page
|
|
3558
|
+
* @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
3459
3559
|
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
3460
3560
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
3561
|
+
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
3461
3562
|
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
3462
3563
|
* @param {*} [options] Override http request option.
|
|
3463
3564
|
* @throws {RequiredError}
|
|
3464
3565
|
*/
|
|
3465
|
-
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, includeWidget, options) {
|
|
3466
|
-
return localVarFp.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, includeWidget, options).then((request) => request(axios, basePath));
|
|
3566
|
+
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
|
|
3567
|
+
return localVarFp.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options).then((request) => request(axios, basePath));
|
|
3467
3568
|
},
|
|
3468
3569
|
/**
|
|
3469
3570
|
* Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
|
|
@@ -3502,11 +3603,11 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3502
3603
|
return localVarFp.adminAnalyticsStoreXStoreIDResultsGet(xStoreID, startTime, endTime, 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));
|
|
3503
3604
|
},
|
|
3504
3605
|
/**
|
|
3505
|
-
* Retrieve analytics tags usage data and filtering capabilities
|
|
3606
|
+
* Retrieve analytics tags usage data and filtering capabilities. If no start_time/end_time is specified, returns all tags from the last 2 years.
|
|
3506
3607
|
* @summary Get Analytics Tags
|
|
3507
3608
|
* @param {string} xStoreID Store ID
|
|
3508
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
3509
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
3609
|
+
* @param {string} [startTime] Start time in RFC3339 format. If not specified, returns all tags from 2 years ago
|
|
3610
|
+
* @param {string} [endTime] End time in RFC3339 format. If not specified, returns all tags until now
|
|
3510
3611
|
* @param {string} [search] Search term for tag keys and values (case-insensitive partial match)
|
|
3511
3612
|
* @param {string} [tagKey] Filter by specific tag key (exact match)
|
|
3512
3613
|
* @param {string} [tagValue] Filter by specific tag value (exact match)
|
|
@@ -3671,6 +3772,7 @@ class AnalyticsApi extends base_1.BaseAPI {
|
|
|
3671
3772
|
* @param {string} [startTime] Start time in RFC3339 format
|
|
3672
3773
|
* @param {string} [endTime] End time in RFC3339 format
|
|
3673
3774
|
* @param {AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum} [granularity] Time granularity
|
|
3775
|
+
* @param {string} [search] Search term to filter geographic locations (case-insensitive partial match on country, region, city)
|
|
3674
3776
|
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
3675
3777
|
* @param {AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
3676
3778
|
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
@@ -3695,8 +3797,8 @@ class AnalyticsApi extends base_1.BaseAPI {
|
|
|
3695
3797
|
* @throws {RequiredError}
|
|
3696
3798
|
* @memberof AnalyticsApi
|
|
3697
3799
|
*/
|
|
3698
|
-
adminAnalyticsStoreXStoreIDGeoGet(xStoreID, startTime, endTime, granularity, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
|
|
3699
|
-
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDGeoGet(xStoreID, startTime, endTime, granularity, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(this.axios, this.basePath));
|
|
3800
|
+
adminAnalyticsStoreXStoreIDGeoGet(xStoreID, startTime, endTime, granularity, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
|
|
3801
|
+
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDGeoGet(xStoreID, startTime, endTime, granularity, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(this.axios, this.basePath));
|
|
3700
3802
|
}
|
|
3701
3803
|
/**
|
|
3702
3804
|
* Retrieve comprehensive analytics insights for a specific geographic location including all core metrics (Total Searches, Total Clicks, CTR, Conversions, CVR, Revenue), popular queries with performance metrics, top results by region with average rankings, popular filters used per region with performance impact, and totals & rates with optional comparison mode and internal pagination for each subsection
|
|
@@ -3722,16 +3824,19 @@ class AnalyticsApi extends base_1.BaseAPI {
|
|
|
3722
3824
|
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
3723
3825
|
* @param {number} [queriesPage] Page number for popular queries pagination
|
|
3724
3826
|
* @param {number} [queriesPageSize] Number of queries per page for popular queries
|
|
3827
|
+
* @param {string} [geoQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
|
|
3725
3828
|
* @param {number} [resultsPage] Page number for top results pagination
|
|
3726
3829
|
* @param {number} [resultsPageSize] Number of results per page for top results
|
|
3830
|
+
* @param {string} [geoResultsSearch] Search term to filter top results (case-insensitive partial match on item IDs)
|
|
3727
3831
|
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
3728
3832
|
* @param {number} [filtersPageSize] Number of filters per page
|
|
3833
|
+
* @param {string} [geoFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
3729
3834
|
* @param {*} [options] Override http request option.
|
|
3730
3835
|
* @throws {RequiredError}
|
|
3731
3836
|
* @memberof AnalyticsApi
|
|
3732
3837
|
*/
|
|
3733
|
-
adminAnalyticsStoreXStoreIDGeoInsightsGet(xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, resultsPage, resultsPageSize, filtersPage, filtersPageSize, options) {
|
|
3734
|
-
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDGeoInsightsGet(xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, resultsPage, resultsPageSize, filtersPage, filtersPageSize, options).then((request) => request(this.axios, this.basePath));
|
|
3838
|
+
adminAnalyticsStoreXStoreIDGeoInsightsGet(xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, geoQueriesSearch, resultsPage, resultsPageSize, geoResultsSearch, filtersPage, filtersPageSize, geoFiltersSearch, options) {
|
|
3839
|
+
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDGeoInsightsGet(xStoreID, country, region, city, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, queriesPage, queriesPageSize, geoQueriesSearch, resultsPage, resultsPageSize, geoResultsSearch, filtersPage, filtersPageSize, geoFiltersSearch, options).then((request) => request(this.axios, this.basePath));
|
|
3735
3840
|
}
|
|
3736
3841
|
/**
|
|
3737
3842
|
* Check the health status of analytics service and ClickHouse connection
|
|
@@ -3897,6 +4002,12 @@ class AnalyticsApi extends base_1.BaseAPI {
|
|
|
3897
4002
|
* @param {string} query Search query to analyze
|
|
3898
4003
|
* @param {string} [startTime] Start time in RFC3339 format
|
|
3899
4004
|
* @param {string} [endTime] End time in RFC3339 format
|
|
4005
|
+
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
4006
|
+
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
4007
|
+
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
4008
|
+
* @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
|
|
4009
|
+
* @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
|
|
4010
|
+
* @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
|
|
3900
4011
|
* @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
|
|
3901
4012
|
* @param {string} [compareStartTime] Comparison period start time in RFC3339 format
|
|
3902
4013
|
* @param {string} [compareEndTime] Comparison period end time in RFC3339 format
|
|
@@ -3907,17 +4018,20 @@ class AnalyticsApi extends base_1.BaseAPI {
|
|
|
3907
4018
|
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
3908
4019
|
* @param {number} [resultsPage] Page number for popular results pagination
|
|
3909
4020
|
* @param {number} [resultsPageSize] Number of results per page for popular results
|
|
4021
|
+
* @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
|
|
3910
4022
|
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
3911
4023
|
* @param {number} [filtersPageSize] Number of filters per page
|
|
4024
|
+
* @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
3912
4025
|
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
3913
4026
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
4027
|
+
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
3914
4028
|
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
3915
4029
|
* @param {*} [options] Override http request option.
|
|
3916
4030
|
* @throws {RequiredError}
|
|
3917
4031
|
* @memberof AnalyticsApi
|
|
3918
4032
|
*/
|
|
3919
|
-
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, includeWidget, options) {
|
|
3920
|
-
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, includeWidget, options).then((request) => request(this.axios, this.basePath));
|
|
4033
|
+
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
|
|
4034
|
+
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options).then((request) => request(this.axios, this.basePath));
|
|
3921
4035
|
}
|
|
3922
4036
|
/**
|
|
3923
4037
|
* Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
|
|
@@ -3957,11 +4071,11 @@ class AnalyticsApi extends base_1.BaseAPI {
|
|
|
3957
4071
|
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDResultsGet(xStoreID, startTime, endTime, 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));
|
|
3958
4072
|
}
|
|
3959
4073
|
/**
|
|
3960
|
-
* Retrieve analytics tags usage data and filtering capabilities
|
|
4074
|
+
* Retrieve analytics tags usage data and filtering capabilities. If no start_time/end_time is specified, returns all tags from the last 2 years.
|
|
3961
4075
|
* @summary Get Analytics Tags
|
|
3962
4076
|
* @param {string} xStoreID Store ID
|
|
3963
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
3964
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
4077
|
+
* @param {string} [startTime] Start time in RFC3339 format. If not specified, returns all tags from 2 years ago
|
|
4078
|
+
* @param {string} [endTime] End time in RFC3339 format. If not specified, returns all tags until now
|
|
3965
4079
|
* @param {string} [search] Search term for tag keys and values (case-insensitive partial match)
|
|
3966
4080
|
* @param {string} [tagKey] Filter by specific tag key (exact match)
|
|
3967
4081
|
* @param {string} [tagValue] Filter by specific tag value (exact match)
|
|
@@ -4274,6 +4388,13 @@ exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = {
|
|
|
4274
4388
|
Asc: 'asc',
|
|
4275
4389
|
Desc: 'desc'
|
|
4276
4390
|
};
|
|
4391
|
+
/**
|
|
4392
|
+
* @export
|
|
4393
|
+
*/
|
|
4394
|
+
exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = {
|
|
4395
|
+
Any: 'any',
|
|
4396
|
+
All: 'all'
|
|
4397
|
+
};
|
|
4277
4398
|
/**
|
|
4278
4399
|
* @export
|
|
4279
4400
|
*/
|
|
@@ -8418,6 +8539,7 @@ const ItemAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
8418
8539
|
* @param {string} xStoreID Store ID
|
|
8419
8540
|
* @param {string} [startTime] Start time in RFC3339 format
|
|
8420
8541
|
* @param {string} [endTime] End time in RFC3339 format
|
|
8542
|
+
* @param {string} [search] Search term to filter items (case-insensitive partial match on item IDs and related data)
|
|
8421
8543
|
* @param {string} [itemIds] Comma-separated list of item IDs to filter
|
|
8422
8544
|
* @param {number} [itemLimit] Maximum number of items to return
|
|
8423
8545
|
* @param {number} [minImpressions] Minimum number of impressions required
|
|
@@ -8432,7 +8554,7 @@ const ItemAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
8432
8554
|
* @param {*} [options] Override http request option.
|
|
8433
8555
|
* @throws {RequiredError}
|
|
8434
8556
|
*/
|
|
8435
|
-
adminAnalyticsStoreXStoreIDItemsGet: (xStoreID_1, startTime_1, endTime_1, itemIds_1, itemLimit_1, minImpressions_1, maxPosition_1, sortBy_1, sortOrder_1, sort_1, limit_1, offset_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [xStoreID_1, startTime_1, endTime_1, itemIds_1, itemLimit_1, minImpressions_1, maxPosition_1, sortBy_1, sortOrder_1, sort_1, limit_1, offset_1, page_1, pageSize_1, ...args_1], void 0, function* (xStoreID, startTime, endTime, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options = {}) {
|
|
8557
|
+
adminAnalyticsStoreXStoreIDItemsGet: (xStoreID_1, startTime_1, endTime_1, search_1, itemIds_1, itemLimit_1, minImpressions_1, maxPosition_1, sortBy_1, sortOrder_1, sort_1, limit_1, offset_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [xStoreID_1, startTime_1, endTime_1, search_1, itemIds_1, itemLimit_1, minImpressions_1, maxPosition_1, sortBy_1, sortOrder_1, sort_1, limit_1, offset_1, page_1, pageSize_1, ...args_1], void 0, function* (xStoreID, startTime, endTime, search, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options = {}) {
|
|
8436
8558
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
8437
8559
|
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDItemsGet', 'xStoreID', xStoreID);
|
|
8438
8560
|
const localVarPath = `/admin/analytics/store/{xStoreID}/items`
|
|
@@ -8454,6 +8576,9 @@ const ItemAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
8454
8576
|
if (endTime !== undefined) {
|
|
8455
8577
|
localVarQueryParameter['end_time'] = endTime;
|
|
8456
8578
|
}
|
|
8579
|
+
if (search !== undefined) {
|
|
8580
|
+
localVarQueryParameter['search'] = search;
|
|
8581
|
+
}
|
|
8457
8582
|
if (itemIds !== undefined) {
|
|
8458
8583
|
localVarQueryParameter['item_ids'] = itemIds;
|
|
8459
8584
|
}
|
|
@@ -8560,15 +8685,18 @@ const ItemAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
8560
8685
|
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
8561
8686
|
* @param {number} [resultsPage] Page number for popular queries pagination
|
|
8562
8687
|
* @param {number} [resultsPageSize] Number of queries per page for popular queries
|
|
8688
|
+
* @param {string} [itemQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
|
|
8563
8689
|
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
8564
8690
|
* @param {number} [filtersPageSize] Number of filters per page
|
|
8691
|
+
* @param {string} [itemFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
8565
8692
|
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
8566
8693
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
8694
|
+
* @param {string} [itemGeoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
8567
8695
|
* @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum} [groupBy] Include performance trends by date
|
|
8568
8696
|
* @param {*} [options] Override http request option.
|
|
8569
8697
|
* @throws {RequiredError}
|
|
8570
8698
|
*/
|
|
8571
|
-
adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet: (xStoreID_1, itemId_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, filtersPage_1, filtersPageSize_1, geoPage_1, geoPageSize_1, groupBy_1, ...args_1) => __awaiter(this, [xStoreID_1, itemId_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, filtersPage_1, filtersPageSize_1, geoPage_1, geoPageSize_1, groupBy_1, ...args_1], void 0, function* (xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, groupBy, options = {}) {
|
|
8699
|
+
adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet: (xStoreID_1, itemId_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, itemQueriesSearch_1, filtersPage_1, filtersPageSize_1, itemFiltersSearch_1, geoPage_1, geoPageSize_1, itemGeoSearch_1, groupBy_1, ...args_1) => __awaiter(this, [xStoreID_1, itemId_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, itemQueriesSearch_1, filtersPage_1, filtersPageSize_1, itemFiltersSearch_1, geoPage_1, geoPageSize_1, itemGeoSearch_1, groupBy_1, ...args_1], void 0, function* (xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, itemQueriesSearch, filtersPage, filtersPageSize, itemFiltersSearch, geoPage, geoPageSize, itemGeoSearch, groupBy, options = {}) {
|
|
8572
8700
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
8573
8701
|
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet', 'xStoreID', xStoreID);
|
|
8574
8702
|
// verify required parameter 'itemId' is not null or undefined
|
|
@@ -8638,18 +8766,27 @@ const ItemAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
8638
8766
|
if (resultsPageSize !== undefined) {
|
|
8639
8767
|
localVarQueryParameter['results_page_size'] = resultsPageSize;
|
|
8640
8768
|
}
|
|
8769
|
+
if (itemQueriesSearch !== undefined) {
|
|
8770
|
+
localVarQueryParameter['item_queries_search'] = itemQueriesSearch;
|
|
8771
|
+
}
|
|
8641
8772
|
if (filtersPage !== undefined) {
|
|
8642
8773
|
localVarQueryParameter['filters_page'] = filtersPage;
|
|
8643
8774
|
}
|
|
8644
8775
|
if (filtersPageSize !== undefined) {
|
|
8645
8776
|
localVarQueryParameter['filters_page_size'] = filtersPageSize;
|
|
8646
8777
|
}
|
|
8778
|
+
if (itemFiltersSearch !== undefined) {
|
|
8779
|
+
localVarQueryParameter['item_filters_search'] = itemFiltersSearch;
|
|
8780
|
+
}
|
|
8647
8781
|
if (geoPage !== undefined) {
|
|
8648
8782
|
localVarQueryParameter['geo_page'] = geoPage;
|
|
8649
8783
|
}
|
|
8650
8784
|
if (geoPageSize !== undefined) {
|
|
8651
8785
|
localVarQueryParameter['geo_page_size'] = geoPageSize;
|
|
8652
8786
|
}
|
|
8787
|
+
if (itemGeoSearch !== undefined) {
|
|
8788
|
+
localVarQueryParameter['item_geo_search'] = itemGeoSearch;
|
|
8789
|
+
}
|
|
8653
8790
|
if (groupBy !== undefined) {
|
|
8654
8791
|
localVarQueryParameter['group_by'] = groupBy;
|
|
8655
8792
|
}
|
|
@@ -8970,6 +9107,7 @@ const ItemAnalyticsApiFp = function (configuration) {
|
|
|
8970
9107
|
* @param {string} xStoreID Store ID
|
|
8971
9108
|
* @param {string} [startTime] Start time in RFC3339 format
|
|
8972
9109
|
* @param {string} [endTime] End time in RFC3339 format
|
|
9110
|
+
* @param {string} [search] Search term to filter items (case-insensitive partial match on item IDs and related data)
|
|
8973
9111
|
* @param {string} [itemIds] Comma-separated list of item IDs to filter
|
|
8974
9112
|
* @param {number} [itemLimit] Maximum number of items to return
|
|
8975
9113
|
* @param {number} [minImpressions] Minimum number of impressions required
|
|
@@ -8984,10 +9122,10 @@ const ItemAnalyticsApiFp = function (configuration) {
|
|
|
8984
9122
|
* @param {*} [options] Override http request option.
|
|
8985
9123
|
* @throws {RequiredError}
|
|
8986
9124
|
*/
|
|
8987
|
-
adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options) {
|
|
9125
|
+
adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, search, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options) {
|
|
8988
9126
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8989
9127
|
var _a, _b, _c;
|
|
8990
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options);
|
|
9128
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, search, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options);
|
|
8991
9129
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8992
9130
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ItemAnalyticsApi.adminAnalyticsStoreXStoreIDItemsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8993
9131
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -9034,18 +9172,21 @@ const ItemAnalyticsApiFp = function (configuration) {
|
|
|
9034
9172
|
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
9035
9173
|
* @param {number} [resultsPage] Page number for popular queries pagination
|
|
9036
9174
|
* @param {number} [resultsPageSize] Number of queries per page for popular queries
|
|
9175
|
+
* @param {string} [itemQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
|
|
9037
9176
|
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
9038
9177
|
* @param {number} [filtersPageSize] Number of filters per page
|
|
9178
|
+
* @param {string} [itemFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
9039
9179
|
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
9040
9180
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
9181
|
+
* @param {string} [itemGeoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
9041
9182
|
* @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum} [groupBy] Include performance trends by date
|
|
9042
9183
|
* @param {*} [options] Override http request option.
|
|
9043
9184
|
* @throws {RequiredError}
|
|
9044
9185
|
*/
|
|
9045
|
-
adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet(xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, groupBy, options) {
|
|
9186
|
+
adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet(xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, itemQueriesSearch, filtersPage, filtersPageSize, itemFiltersSearch, geoPage, geoPageSize, itemGeoSearch, groupBy, options) {
|
|
9046
9187
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9047
9188
|
var _a, _b, _c;
|
|
9048
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet(xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, groupBy, options);
|
|
9189
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet(xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, itemQueriesSearch, filtersPage, filtersPageSize, itemFiltersSearch, geoPage, geoPageSize, itemGeoSearch, groupBy, options);
|
|
9049
9190
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9050
9191
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ItemAnalyticsApi.adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9051
9192
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -9189,6 +9330,7 @@ const ItemAnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
9189
9330
|
* @param {string} xStoreID Store ID
|
|
9190
9331
|
* @param {string} [startTime] Start time in RFC3339 format
|
|
9191
9332
|
* @param {string} [endTime] End time in RFC3339 format
|
|
9333
|
+
* @param {string} [search] Search term to filter items (case-insensitive partial match on item IDs and related data)
|
|
9192
9334
|
* @param {string} [itemIds] Comma-separated list of item IDs to filter
|
|
9193
9335
|
* @param {number} [itemLimit] Maximum number of items to return
|
|
9194
9336
|
* @param {number} [minImpressions] Minimum number of impressions required
|
|
@@ -9203,8 +9345,8 @@ const ItemAnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
9203
9345
|
* @param {*} [options] Override http request option.
|
|
9204
9346
|
* @throws {RequiredError}
|
|
9205
9347
|
*/
|
|
9206
|
-
adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options) {
|
|
9207
|
-
return localVarFp.adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options).then((request) => request(axios, basePath));
|
|
9348
|
+
adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, search, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options) {
|
|
9349
|
+
return localVarFp.adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, search, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options).then((request) => request(axios, basePath));
|
|
9208
9350
|
},
|
|
9209
9351
|
/**
|
|
9210
9352
|
* Retrieve detailed analytics for a specific item including performance metrics and discovery data
|
|
@@ -9241,16 +9383,19 @@ const ItemAnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
9241
9383
|
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
9242
9384
|
* @param {number} [resultsPage] Page number for popular queries pagination
|
|
9243
9385
|
* @param {number} [resultsPageSize] Number of queries per page for popular queries
|
|
9386
|
+
* @param {string} [itemQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
|
|
9244
9387
|
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
9245
9388
|
* @param {number} [filtersPageSize] Number of filters per page
|
|
9389
|
+
* @param {string} [itemFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
9246
9390
|
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
9247
9391
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
9392
|
+
* @param {string} [itemGeoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
9248
9393
|
* @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum} [groupBy] Include performance trends by date
|
|
9249
9394
|
* @param {*} [options] Override http request option.
|
|
9250
9395
|
* @throws {RequiredError}
|
|
9251
9396
|
*/
|
|
9252
|
-
adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet(xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, groupBy, options) {
|
|
9253
|
-
return localVarFp.adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet(xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, groupBy, options).then((request) => request(axios, basePath));
|
|
9397
|
+
adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet(xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, itemQueriesSearch, filtersPage, filtersPageSize, itemFiltersSearch, geoPage, geoPageSize, itemGeoSearch, groupBy, options) {
|
|
9398
|
+
return localVarFp.adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet(xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, itemQueriesSearch, filtersPage, filtersPageSize, itemFiltersSearch, geoPage, geoPageSize, itemGeoSearch, groupBy, options).then((request) => request(axios, basePath));
|
|
9254
9399
|
},
|
|
9255
9400
|
/**
|
|
9256
9401
|
* Retrieve detailed performance metrics for items including click-through rates, conversion rates, and revenue data
|
|
@@ -9374,6 +9519,7 @@ class ItemAnalyticsApi extends base_1.BaseAPI {
|
|
|
9374
9519
|
* @param {string} xStoreID Store ID
|
|
9375
9520
|
* @param {string} [startTime] Start time in RFC3339 format
|
|
9376
9521
|
* @param {string} [endTime] End time in RFC3339 format
|
|
9522
|
+
* @param {string} [search] Search term to filter items (case-insensitive partial match on item IDs and related data)
|
|
9377
9523
|
* @param {string} [itemIds] Comma-separated list of item IDs to filter
|
|
9378
9524
|
* @param {number} [itemLimit] Maximum number of items to return
|
|
9379
9525
|
* @param {number} [minImpressions] Minimum number of impressions required
|
|
@@ -9389,8 +9535,8 @@ class ItemAnalyticsApi extends base_1.BaseAPI {
|
|
|
9389
9535
|
* @throws {RequiredError}
|
|
9390
9536
|
* @memberof ItemAnalyticsApi
|
|
9391
9537
|
*/
|
|
9392
|
-
adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options) {
|
|
9393
|
-
return (0, exports.ItemAnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
9538
|
+
adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, search, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options) {
|
|
9539
|
+
return (0, exports.ItemAnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, search, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
9394
9540
|
}
|
|
9395
9541
|
/**
|
|
9396
9542
|
* Retrieve detailed analytics for a specific item including performance metrics and discovery data
|
|
@@ -9428,17 +9574,20 @@ class ItemAnalyticsApi extends base_1.BaseAPI {
|
|
|
9428
9574
|
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
9429
9575
|
* @param {number} [resultsPage] Page number for popular queries pagination
|
|
9430
9576
|
* @param {number} [resultsPageSize] Number of queries per page for popular queries
|
|
9577
|
+
* @param {string} [itemQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
|
|
9431
9578
|
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
9432
9579
|
* @param {number} [filtersPageSize] Number of filters per page
|
|
9580
|
+
* @param {string} [itemFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
9433
9581
|
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
9434
9582
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
9583
|
+
* @param {string} [itemGeoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
9435
9584
|
* @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum} [groupBy] Include performance trends by date
|
|
9436
9585
|
* @param {*} [options] Override http request option.
|
|
9437
9586
|
* @throws {RequiredError}
|
|
9438
9587
|
* @memberof ItemAnalyticsApi
|
|
9439
9588
|
*/
|
|
9440
|
-
adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet(xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, groupBy, options) {
|
|
9441
|
-
return (0, exports.ItemAnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet(xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, groupBy, options).then((request) => request(this.axios, this.basePath));
|
|
9589
|
+
adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet(xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, itemQueriesSearch, filtersPage, filtersPageSize, itemFiltersSearch, geoPage, geoPageSize, itemGeoSearch, groupBy, options) {
|
|
9590
|
+
return (0, exports.ItemAnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet(xStoreID, itemId, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, itemQueriesSearch, filtersPage, filtersPageSize, itemFiltersSearch, geoPage, geoPageSize, itemGeoSearch, groupBy, options).then((request) => request(this.axios, this.basePath));
|
|
9442
9591
|
}
|
|
9443
9592
|
/**
|
|
9444
9593
|
* Retrieve detailed performance metrics for items including click-through rates, conversion rates, and revenue data
|
|
@@ -16118,6 +16267,184 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
16118
16267
|
options: localVarRequestOptions,
|
|
16119
16268
|
};
|
|
16120
16269
|
}),
|
|
16270
|
+
/**
|
|
16271
|
+
* Apply filters to remove duplicate or unhelpful suggestions based on configuration
|
|
16272
|
+
* @summary Apply Suggestion Filters
|
|
16273
|
+
* @param {string} xStoreID Store ID
|
|
16274
|
+
* @param {Array<AnalyticsQuerySuggestionRecord>} analyticsQuerySuggestionRecord Array of suggestions to filter
|
|
16275
|
+
* @param {*} [options] Override http request option.
|
|
16276
|
+
* @throws {RequiredError}
|
|
16277
|
+
*/
|
|
16278
|
+
adminV1QuerySuggestionsXStoreIDApplyFiltersPost: (xStoreID_1, analyticsQuerySuggestionRecord_1, ...args_1) => __awaiter(this, [xStoreID_1, analyticsQuerySuggestionRecord_1, ...args_1], void 0, function* (xStoreID, analyticsQuerySuggestionRecord, options = {}) {
|
|
16279
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16280
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDApplyFiltersPost', 'xStoreID', xStoreID);
|
|
16281
|
+
// verify required parameter 'analyticsQuerySuggestionRecord' is not null or undefined
|
|
16282
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDApplyFiltersPost', 'analyticsQuerySuggestionRecord', analyticsQuerySuggestionRecord);
|
|
16283
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/apply-filters`
|
|
16284
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
16285
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16286
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16287
|
+
let baseOptions;
|
|
16288
|
+
if (configuration) {
|
|
16289
|
+
baseOptions = configuration.baseOptions;
|
|
16290
|
+
}
|
|
16291
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16292
|
+
const localVarHeaderParameter = {};
|
|
16293
|
+
const localVarQueryParameter = {};
|
|
16294
|
+
// authentication BearerAuth required
|
|
16295
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
16296
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16297
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16298
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16299
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16300
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(analyticsQuerySuggestionRecord, localVarRequestOptions, configuration);
|
|
16301
|
+
return {
|
|
16302
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16303
|
+
options: localVarRequestOptions,
|
|
16304
|
+
};
|
|
16305
|
+
}),
|
|
16306
|
+
/**
|
|
16307
|
+
* Delete a banned expression
|
|
16308
|
+
* @summary Delete Banned Expression
|
|
16309
|
+
* @param {string} xStoreID Store ID
|
|
16310
|
+
* @param {string} expressionID Banned Expression ID
|
|
16311
|
+
* @param {*} [options] Override http request option.
|
|
16312
|
+
* @throws {RequiredError}
|
|
16313
|
+
*/
|
|
16314
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete: (xStoreID_1, expressionID_1, ...args_1) => __awaiter(this, [xStoreID_1, expressionID_1, ...args_1], void 0, function* (xStoreID, expressionID, options = {}) {
|
|
16315
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16316
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete', 'xStoreID', xStoreID);
|
|
16317
|
+
// verify required parameter 'expressionID' is not null or undefined
|
|
16318
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete', 'expressionID', expressionID);
|
|
16319
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions/{expressionID}`
|
|
16320
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
16321
|
+
.replace(`{${"expressionID"}}`, encodeURIComponent(String(expressionID)));
|
|
16322
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16323
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16324
|
+
let baseOptions;
|
|
16325
|
+
if (configuration) {
|
|
16326
|
+
baseOptions = configuration.baseOptions;
|
|
16327
|
+
}
|
|
16328
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
16329
|
+
const localVarHeaderParameter = {};
|
|
16330
|
+
const localVarQueryParameter = {};
|
|
16331
|
+
// authentication BearerAuth required
|
|
16332
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
16333
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16334
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16335
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16336
|
+
return {
|
|
16337
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16338
|
+
options: localVarRequestOptions,
|
|
16339
|
+
};
|
|
16340
|
+
}),
|
|
16341
|
+
/**
|
|
16342
|
+
* Update an existing banned expression
|
|
16343
|
+
* @summary Update Banned Expression
|
|
16344
|
+
* @param {string} xStoreID Store ID
|
|
16345
|
+
* @param {string} expressionID Banned Expression ID
|
|
16346
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Updated banned expression
|
|
16347
|
+
* @param {*} [options] Override http request option.
|
|
16348
|
+
* @throws {RequiredError}
|
|
16349
|
+
*/
|
|
16350
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut: (xStoreID_1, expressionID_1, analyticsBannedExpression_1, ...args_1) => __awaiter(this, [xStoreID_1, expressionID_1, analyticsBannedExpression_1, ...args_1], void 0, function* (xStoreID, expressionID, analyticsBannedExpression, options = {}) {
|
|
16351
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16352
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut', 'xStoreID', xStoreID);
|
|
16353
|
+
// verify required parameter 'expressionID' is not null or undefined
|
|
16354
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut', 'expressionID', expressionID);
|
|
16355
|
+
// verify required parameter 'analyticsBannedExpression' is not null or undefined
|
|
16356
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut', 'analyticsBannedExpression', analyticsBannedExpression);
|
|
16357
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions/{expressionID}`
|
|
16358
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
16359
|
+
.replace(`{${"expressionID"}}`, encodeURIComponent(String(expressionID)));
|
|
16360
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16361
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16362
|
+
let baseOptions;
|
|
16363
|
+
if (configuration) {
|
|
16364
|
+
baseOptions = configuration.baseOptions;
|
|
16365
|
+
}
|
|
16366
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
16367
|
+
const localVarHeaderParameter = {};
|
|
16368
|
+
const localVarQueryParameter = {};
|
|
16369
|
+
// authentication BearerAuth required
|
|
16370
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
16371
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16372
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16373
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16374
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16375
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(analyticsBannedExpression, localVarRequestOptions, configuration);
|
|
16376
|
+
return {
|
|
16377
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16378
|
+
options: localVarRequestOptions,
|
|
16379
|
+
};
|
|
16380
|
+
}),
|
|
16381
|
+
/**
|
|
16382
|
+
* Retrieve all banned expressions for a store with their matching types
|
|
16383
|
+
* @summary Get Banned Expressions
|
|
16384
|
+
* @param {string} xStoreID Store ID
|
|
16385
|
+
* @param {*} [options] Override http request option.
|
|
16386
|
+
* @throws {RequiredError}
|
|
16387
|
+
*/
|
|
16388
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
16389
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16390
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsGet', 'xStoreID', xStoreID);
|
|
16391
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions`
|
|
16392
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
16393
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16394
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16395
|
+
let baseOptions;
|
|
16396
|
+
if (configuration) {
|
|
16397
|
+
baseOptions = configuration.baseOptions;
|
|
16398
|
+
}
|
|
16399
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
16400
|
+
const localVarHeaderParameter = {};
|
|
16401
|
+
const localVarQueryParameter = {};
|
|
16402
|
+
// authentication BearerAuth required
|
|
16403
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
16404
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16405
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16406
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16407
|
+
return {
|
|
16408
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16409
|
+
options: localVarRequestOptions,
|
|
16410
|
+
};
|
|
16411
|
+
}),
|
|
16412
|
+
/**
|
|
16413
|
+
* Create a new banned expression with specified matching type
|
|
16414
|
+
* @summary Create Banned Expression
|
|
16415
|
+
* @param {string} xStoreID Store ID
|
|
16416
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Banned expression to create
|
|
16417
|
+
* @param {*} [options] Override http request option.
|
|
16418
|
+
* @throws {RequiredError}
|
|
16419
|
+
*/
|
|
16420
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost: (xStoreID_1, analyticsBannedExpression_1, ...args_1) => __awaiter(this, [xStoreID_1, analyticsBannedExpression_1, ...args_1], void 0, function* (xStoreID, analyticsBannedExpression, options = {}) {
|
|
16421
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16422
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsPost', 'xStoreID', xStoreID);
|
|
16423
|
+
// verify required parameter 'analyticsBannedExpression' is not null or undefined
|
|
16424
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsPost', 'analyticsBannedExpression', analyticsBannedExpression);
|
|
16425
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions`
|
|
16426
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
16427
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16428
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16429
|
+
let baseOptions;
|
|
16430
|
+
if (configuration) {
|
|
16431
|
+
baseOptions = configuration.baseOptions;
|
|
16432
|
+
}
|
|
16433
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16434
|
+
const localVarHeaderParameter = {};
|
|
16435
|
+
const localVarQueryParameter = {};
|
|
16436
|
+
// authentication BearerAuth required
|
|
16437
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
16438
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16439
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16440
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16441
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16442
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(analyticsBannedExpression, localVarRequestOptions, configuration);
|
|
16443
|
+
return {
|
|
16444
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16445
|
+
options: localVarRequestOptions,
|
|
16446
|
+
};
|
|
16447
|
+
}),
|
|
16121
16448
|
/**
|
|
16122
16449
|
* Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
|
|
16123
16450
|
* @summary Bulk Update Suggestions
|
|
@@ -16264,6 +16591,68 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
16264
16591
|
options: localVarRequestOptions,
|
|
16265
16592
|
};
|
|
16266
16593
|
}),
|
|
16594
|
+
/**
|
|
16595
|
+
* Generate query suggestions with category counts and enhanced data structure
|
|
16596
|
+
* @summary Generate Enhanced Category Suggestions
|
|
16597
|
+
* @param {string} xStoreID Store ID
|
|
16598
|
+
* @param {*} [options] Override http request option.
|
|
16599
|
+
* @throws {RequiredError}
|
|
16600
|
+
*/
|
|
16601
|
+
adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
16602
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16603
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost', 'xStoreID', xStoreID);
|
|
16604
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/generate-categories`
|
|
16605
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
16606
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16607
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16608
|
+
let baseOptions;
|
|
16609
|
+
if (configuration) {
|
|
16610
|
+
baseOptions = configuration.baseOptions;
|
|
16611
|
+
}
|
|
16612
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16613
|
+
const localVarHeaderParameter = {};
|
|
16614
|
+
const localVarQueryParameter = {};
|
|
16615
|
+
// authentication BearerAuth required
|
|
16616
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
16617
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16618
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16619
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16620
|
+
return {
|
|
16621
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16622
|
+
options: localVarRequestOptions,
|
|
16623
|
+
};
|
|
16624
|
+
}),
|
|
16625
|
+
/**
|
|
16626
|
+
* Generate query suggestions based on facet combinations from search analytics data
|
|
16627
|
+
* @summary Generate Facet-Based Suggestions
|
|
16628
|
+
* @param {string} xStoreID Store ID
|
|
16629
|
+
* @param {*} [options] Override http request option.
|
|
16630
|
+
* @throws {RequiredError}
|
|
16631
|
+
*/
|
|
16632
|
+
adminV1QuerySuggestionsXStoreIDGenerateFacetsPost: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
16633
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16634
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDGenerateFacetsPost', 'xStoreID', xStoreID);
|
|
16635
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/generate-facets`
|
|
16636
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
16637
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16638
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16639
|
+
let baseOptions;
|
|
16640
|
+
if (configuration) {
|
|
16641
|
+
baseOptions = configuration.baseOptions;
|
|
16642
|
+
}
|
|
16643
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16644
|
+
const localVarHeaderParameter = {};
|
|
16645
|
+
const localVarQueryParameter = {};
|
|
16646
|
+
// authentication BearerAuth required
|
|
16647
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
16648
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16649
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16650
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16651
|
+
return {
|
|
16652
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16653
|
+
options: localVarRequestOptions,
|
|
16654
|
+
};
|
|
16655
|
+
}),
|
|
16267
16656
|
/**
|
|
16268
16657
|
* Retrieve query suggestions with filtering and pagination for management
|
|
16269
16658
|
* @summary Get Query Suggestions
|
|
@@ -16930,6 +17319,91 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
16930
17319
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16931
17320
|
});
|
|
16932
17321
|
},
|
|
17322
|
+
/**
|
|
17323
|
+
* Apply filters to remove duplicate or unhelpful suggestions based on configuration
|
|
17324
|
+
* @summary Apply Suggestion Filters
|
|
17325
|
+
* @param {string} xStoreID Store ID
|
|
17326
|
+
* @param {Array<AnalyticsQuerySuggestionRecord>} analyticsQuerySuggestionRecord Array of suggestions to filter
|
|
17327
|
+
* @param {*} [options] Override http request option.
|
|
17328
|
+
* @throws {RequiredError}
|
|
17329
|
+
*/
|
|
17330
|
+
adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options) {
|
|
17331
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17332
|
+
var _a, _b, _c;
|
|
17333
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options);
|
|
17334
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17335
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDApplyFiltersPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17336
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17337
|
+
});
|
|
17338
|
+
},
|
|
17339
|
+
/**
|
|
17340
|
+
* Delete a banned expression
|
|
17341
|
+
* @summary Delete Banned Expression
|
|
17342
|
+
* @param {string} xStoreID Store ID
|
|
17343
|
+
* @param {string} expressionID Banned Expression ID
|
|
17344
|
+
* @param {*} [options] Override http request option.
|
|
17345
|
+
* @throws {RequiredError}
|
|
17346
|
+
*/
|
|
17347
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options) {
|
|
17348
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17349
|
+
var _a, _b, _c;
|
|
17350
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options);
|
|
17351
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17352
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17353
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17354
|
+
});
|
|
17355
|
+
},
|
|
17356
|
+
/**
|
|
17357
|
+
* Update an existing banned expression
|
|
17358
|
+
* @summary Update Banned Expression
|
|
17359
|
+
* @param {string} xStoreID Store ID
|
|
17360
|
+
* @param {string} expressionID Banned Expression ID
|
|
17361
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Updated banned expression
|
|
17362
|
+
* @param {*} [options] Override http request option.
|
|
17363
|
+
* @throws {RequiredError}
|
|
17364
|
+
*/
|
|
17365
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options) {
|
|
17366
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17367
|
+
var _a, _b, _c;
|
|
17368
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options);
|
|
17369
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17370
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17371
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17372
|
+
});
|
|
17373
|
+
},
|
|
17374
|
+
/**
|
|
17375
|
+
* Retrieve all banned expressions for a store with their matching types
|
|
17376
|
+
* @summary Get Banned Expressions
|
|
17377
|
+
* @param {string} xStoreID Store ID
|
|
17378
|
+
* @param {*} [options] Override http request option.
|
|
17379
|
+
* @throws {RequiredError}
|
|
17380
|
+
*/
|
|
17381
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options) {
|
|
17382
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17383
|
+
var _a, _b, _c;
|
|
17384
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options);
|
|
17385
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17386
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17387
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17388
|
+
});
|
|
17389
|
+
},
|
|
17390
|
+
/**
|
|
17391
|
+
* Create a new banned expression with specified matching type
|
|
17392
|
+
* @summary Create Banned Expression
|
|
17393
|
+
* @param {string} xStoreID Store ID
|
|
17394
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Banned expression to create
|
|
17395
|
+
* @param {*} [options] Override http request option.
|
|
17396
|
+
* @throws {RequiredError}
|
|
17397
|
+
*/
|
|
17398
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options) {
|
|
17399
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17400
|
+
var _a, _b, _c;
|
|
17401
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options);
|
|
17402
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17403
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17404
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17405
|
+
});
|
|
17406
|
+
},
|
|
16933
17407
|
/**
|
|
16934
17408
|
* Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
|
|
16935
17409
|
* @summary Bulk Update Suggestions
|
|
@@ -16999,6 +17473,38 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
16999
17473
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17000
17474
|
});
|
|
17001
17475
|
},
|
|
17476
|
+
/**
|
|
17477
|
+
* Generate query suggestions with category counts and enhanced data structure
|
|
17478
|
+
* @summary Generate Enhanced Category Suggestions
|
|
17479
|
+
* @param {string} xStoreID Store ID
|
|
17480
|
+
* @param {*} [options] Override http request option.
|
|
17481
|
+
* @throws {RequiredError}
|
|
17482
|
+
*/
|
|
17483
|
+
adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options) {
|
|
17484
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17485
|
+
var _a, _b, _c;
|
|
17486
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options);
|
|
17487
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17488
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17489
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17490
|
+
});
|
|
17491
|
+
},
|
|
17492
|
+
/**
|
|
17493
|
+
* Generate query suggestions based on facet combinations from search analytics data
|
|
17494
|
+
* @summary Generate Facet-Based Suggestions
|
|
17495
|
+
* @param {string} xStoreID Store ID
|
|
17496
|
+
* @param {*} [options] Override http request option.
|
|
17497
|
+
* @throws {RequiredError}
|
|
17498
|
+
*/
|
|
17499
|
+
adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options) {
|
|
17500
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17501
|
+
var _a, _b, _c;
|
|
17502
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options);
|
|
17503
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17504
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDGenerateFacetsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17505
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17506
|
+
});
|
|
17507
|
+
},
|
|
17002
17508
|
/**
|
|
17003
17509
|
* Retrieve query suggestions with filtering and pagination for management
|
|
17004
17510
|
* @summary Get Query Suggestions
|
|
@@ -17318,6 +17824,61 @@ const QuerySuggestionsManagementApiFactory = function (configuration, basePath,
|
|
|
17318
17824
|
adminV1QuerySuggestionsMigrateAllPost(daysBack, minPopularity, options) {
|
|
17319
17825
|
return localVarFp.adminV1QuerySuggestionsMigrateAllPost(daysBack, minPopularity, options).then((request) => request(axios, basePath));
|
|
17320
17826
|
},
|
|
17827
|
+
/**
|
|
17828
|
+
* Apply filters to remove duplicate or unhelpful suggestions based on configuration
|
|
17829
|
+
* @summary Apply Suggestion Filters
|
|
17830
|
+
* @param {string} xStoreID Store ID
|
|
17831
|
+
* @param {Array<AnalyticsQuerySuggestionRecord>} analyticsQuerySuggestionRecord Array of suggestions to filter
|
|
17832
|
+
* @param {*} [options] Override http request option.
|
|
17833
|
+
* @throws {RequiredError}
|
|
17834
|
+
*/
|
|
17835
|
+
adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options) {
|
|
17836
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options).then((request) => request(axios, basePath));
|
|
17837
|
+
},
|
|
17838
|
+
/**
|
|
17839
|
+
* Delete a banned expression
|
|
17840
|
+
* @summary Delete Banned Expression
|
|
17841
|
+
* @param {string} xStoreID Store ID
|
|
17842
|
+
* @param {string} expressionID Banned Expression ID
|
|
17843
|
+
* @param {*} [options] Override http request option.
|
|
17844
|
+
* @throws {RequiredError}
|
|
17845
|
+
*/
|
|
17846
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options) {
|
|
17847
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options).then((request) => request(axios, basePath));
|
|
17848
|
+
},
|
|
17849
|
+
/**
|
|
17850
|
+
* Update an existing banned expression
|
|
17851
|
+
* @summary Update Banned Expression
|
|
17852
|
+
* @param {string} xStoreID Store ID
|
|
17853
|
+
* @param {string} expressionID Banned Expression ID
|
|
17854
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Updated banned expression
|
|
17855
|
+
* @param {*} [options] Override http request option.
|
|
17856
|
+
* @throws {RequiredError}
|
|
17857
|
+
*/
|
|
17858
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options) {
|
|
17859
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options).then((request) => request(axios, basePath));
|
|
17860
|
+
},
|
|
17861
|
+
/**
|
|
17862
|
+
* Retrieve all banned expressions for a store with their matching types
|
|
17863
|
+
* @summary Get Banned Expressions
|
|
17864
|
+
* @param {string} xStoreID Store ID
|
|
17865
|
+
* @param {*} [options] Override http request option.
|
|
17866
|
+
* @throws {RequiredError}
|
|
17867
|
+
*/
|
|
17868
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options) {
|
|
17869
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
17870
|
+
},
|
|
17871
|
+
/**
|
|
17872
|
+
* Create a new banned expression with specified matching type
|
|
17873
|
+
* @summary Create Banned Expression
|
|
17874
|
+
* @param {string} xStoreID Store ID
|
|
17875
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Banned expression to create
|
|
17876
|
+
* @param {*} [options] Override http request option.
|
|
17877
|
+
* @throws {RequiredError}
|
|
17878
|
+
*/
|
|
17879
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options) {
|
|
17880
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options).then((request) => request(axios, basePath));
|
|
17881
|
+
},
|
|
17321
17882
|
/**
|
|
17322
17883
|
* Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
|
|
17323
17884
|
* @summary Bulk Update Suggestions
|
|
@@ -17363,6 +17924,26 @@ const QuerySuggestionsManagementApiFactory = function (configuration, basePath,
|
|
|
17363
17924
|
adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, analyticsUpdateSuggestionConfigRequest, options) {
|
|
17364
17925
|
return localVarFp.adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, analyticsUpdateSuggestionConfigRequest, options).then((request) => request(axios, basePath));
|
|
17365
17926
|
},
|
|
17927
|
+
/**
|
|
17928
|
+
* Generate query suggestions with category counts and enhanced data structure
|
|
17929
|
+
* @summary Generate Enhanced Category Suggestions
|
|
17930
|
+
* @param {string} xStoreID Store ID
|
|
17931
|
+
* @param {*} [options] Override http request option.
|
|
17932
|
+
* @throws {RequiredError}
|
|
17933
|
+
*/
|
|
17934
|
+
adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options) {
|
|
17935
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options).then((request) => request(axios, basePath));
|
|
17936
|
+
},
|
|
17937
|
+
/**
|
|
17938
|
+
* Generate query suggestions based on facet combinations from search analytics data
|
|
17939
|
+
* @summary Generate Facet-Based Suggestions
|
|
17940
|
+
* @param {string} xStoreID Store ID
|
|
17941
|
+
* @param {*} [options] Override http request option.
|
|
17942
|
+
* @throws {RequiredError}
|
|
17943
|
+
*/
|
|
17944
|
+
adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options) {
|
|
17945
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options).then((request) => request(axios, basePath));
|
|
17946
|
+
},
|
|
17366
17947
|
/**
|
|
17367
17948
|
* Retrieve query suggestions with filtering and pagination for management
|
|
17368
17949
|
* @summary Get Query Suggestions
|
|
@@ -17581,6 +18162,66 @@ class QuerySuggestionsManagementApi extends base_1.BaseAPI {
|
|
|
17581
18162
|
adminV1QuerySuggestionsMigrateAllPost(daysBack, minPopularity, options) {
|
|
17582
18163
|
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsMigrateAllPost(daysBack, minPopularity, options).then((request) => request(this.axios, this.basePath));
|
|
17583
18164
|
}
|
|
18165
|
+
/**
|
|
18166
|
+
* Apply filters to remove duplicate or unhelpful suggestions based on configuration
|
|
18167
|
+
* @summary Apply Suggestion Filters
|
|
18168
|
+
* @param {string} xStoreID Store ID
|
|
18169
|
+
* @param {Array<AnalyticsQuerySuggestionRecord>} analyticsQuerySuggestionRecord Array of suggestions to filter
|
|
18170
|
+
* @param {*} [options] Override http request option.
|
|
18171
|
+
* @throws {RequiredError}
|
|
18172
|
+
* @memberof QuerySuggestionsManagementApi
|
|
18173
|
+
*/
|
|
18174
|
+
adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options) {
|
|
18175
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options).then((request) => request(this.axios, this.basePath));
|
|
18176
|
+
}
|
|
18177
|
+
/**
|
|
18178
|
+
* Delete a banned expression
|
|
18179
|
+
* @summary Delete Banned Expression
|
|
18180
|
+
* @param {string} xStoreID Store ID
|
|
18181
|
+
* @param {string} expressionID Banned Expression ID
|
|
18182
|
+
* @param {*} [options] Override http request option.
|
|
18183
|
+
* @throws {RequiredError}
|
|
18184
|
+
* @memberof QuerySuggestionsManagementApi
|
|
18185
|
+
*/
|
|
18186
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options) {
|
|
18187
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options).then((request) => request(this.axios, this.basePath));
|
|
18188
|
+
}
|
|
18189
|
+
/**
|
|
18190
|
+
* Update an existing banned expression
|
|
18191
|
+
* @summary Update Banned Expression
|
|
18192
|
+
* @param {string} xStoreID Store ID
|
|
18193
|
+
* @param {string} expressionID Banned Expression ID
|
|
18194
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Updated banned expression
|
|
18195
|
+
* @param {*} [options] Override http request option.
|
|
18196
|
+
* @throws {RequiredError}
|
|
18197
|
+
* @memberof QuerySuggestionsManagementApi
|
|
18198
|
+
*/
|
|
18199
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options) {
|
|
18200
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options).then((request) => request(this.axios, this.basePath));
|
|
18201
|
+
}
|
|
18202
|
+
/**
|
|
18203
|
+
* Retrieve all banned expressions for a store with their matching types
|
|
18204
|
+
* @summary Get Banned Expressions
|
|
18205
|
+
* @param {string} xStoreID Store ID
|
|
18206
|
+
* @param {*} [options] Override http request option.
|
|
18207
|
+
* @throws {RequiredError}
|
|
18208
|
+
* @memberof QuerySuggestionsManagementApi
|
|
18209
|
+
*/
|
|
18210
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options) {
|
|
18211
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
18212
|
+
}
|
|
18213
|
+
/**
|
|
18214
|
+
* Create a new banned expression with specified matching type
|
|
18215
|
+
* @summary Create Banned Expression
|
|
18216
|
+
* @param {string} xStoreID Store ID
|
|
18217
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Banned expression to create
|
|
18218
|
+
* @param {*} [options] Override http request option.
|
|
18219
|
+
* @throws {RequiredError}
|
|
18220
|
+
* @memberof QuerySuggestionsManagementApi
|
|
18221
|
+
*/
|
|
18222
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options) {
|
|
18223
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options).then((request) => request(this.axios, this.basePath));
|
|
18224
|
+
}
|
|
17584
18225
|
/**
|
|
17585
18226
|
* Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
|
|
17586
18227
|
* @summary Bulk Update Suggestions
|
|
@@ -17630,6 +18271,28 @@ class QuerySuggestionsManagementApi extends base_1.BaseAPI {
|
|
|
17630
18271
|
adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, analyticsUpdateSuggestionConfigRequest, options) {
|
|
17631
18272
|
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, analyticsUpdateSuggestionConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17632
18273
|
}
|
|
18274
|
+
/**
|
|
18275
|
+
* Generate query suggestions with category counts and enhanced data structure
|
|
18276
|
+
* @summary Generate Enhanced Category Suggestions
|
|
18277
|
+
* @param {string} xStoreID Store ID
|
|
18278
|
+
* @param {*} [options] Override http request option.
|
|
18279
|
+
* @throws {RequiredError}
|
|
18280
|
+
* @memberof QuerySuggestionsManagementApi
|
|
18281
|
+
*/
|
|
18282
|
+
adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options) {
|
|
18283
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
18284
|
+
}
|
|
18285
|
+
/**
|
|
18286
|
+
* Generate query suggestions based on facet combinations from search analytics data
|
|
18287
|
+
* @summary Generate Facet-Based Suggestions
|
|
18288
|
+
* @param {string} xStoreID Store ID
|
|
18289
|
+
* @param {*} [options] Override http request option.
|
|
18290
|
+
* @throws {RequiredError}
|
|
18291
|
+
* @memberof QuerySuggestionsManagementApi
|
|
18292
|
+
*/
|
|
18293
|
+
adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options) {
|
|
18294
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
18295
|
+
}
|
|
17633
18296
|
/**
|
|
17634
18297
|
* Retrieve query suggestions with filtering and pagination for management
|
|
17635
18298
|
* @summary Get Query Suggestions
|
|
@@ -17943,9 +18606,9 @@ const RefundManagementApiAxiosParamCreator = function (configuration) {
|
|
|
17943
18606
|
};
|
|
17944
18607
|
}),
|
|
17945
18608
|
/**
|
|
17946
|
-
* Gets the current status and details of a refund request
|
|
18609
|
+
* Gets the current status and details of a refund request by refund_id (UUID)
|
|
17947
18610
|
* @summary Get refund request status
|
|
17948
|
-
* @param {
|
|
18611
|
+
* @param {string} id Refund ID (UUID)
|
|
17949
18612
|
* @param {*} [options] Override http request option.
|
|
17950
18613
|
* @throws {RequiredError}
|
|
17951
18614
|
*/
|
|
@@ -18098,9 +18761,9 @@ const RefundManagementApiFp = function (configuration) {
|
|
|
18098
18761
|
});
|
|
18099
18762
|
},
|
|
18100
18763
|
/**
|
|
18101
|
-
* Gets the current status and details of a refund request
|
|
18764
|
+
* Gets the current status and details of a refund request by refund_id (UUID)
|
|
18102
18765
|
* @summary Get refund request status
|
|
18103
|
-
* @param {
|
|
18766
|
+
* @param {string} id Refund ID (UUID)
|
|
18104
18767
|
* @param {*} [options] Override http request option.
|
|
18105
18768
|
* @throws {RequiredError}
|
|
18106
18769
|
*/
|
|
@@ -18178,9 +18841,9 @@ const RefundManagementApiFactory = function (configuration, basePath, axios) {
|
|
|
18178
18841
|
return localVarFp.paymentGatewayRefundRequestPost(dataTypesCreateRefundRequestDto, options).then((request) => request(axios, basePath));
|
|
18179
18842
|
},
|
|
18180
18843
|
/**
|
|
18181
|
-
* Gets the current status and details of a refund request
|
|
18844
|
+
* Gets the current status and details of a refund request by refund_id (UUID)
|
|
18182
18845
|
* @summary Get refund request status
|
|
18183
|
-
* @param {
|
|
18846
|
+
* @param {string} id Refund ID (UUID)
|
|
18184
18847
|
* @param {*} [options] Override http request option.
|
|
18185
18848
|
* @throws {RequiredError}
|
|
18186
18849
|
*/
|
|
@@ -18249,9 +18912,9 @@ class RefundManagementApi extends base_1.BaseAPI {
|
|
|
18249
18912
|
return (0, exports.RefundManagementApiFp)(this.configuration).paymentGatewayRefundRequestPost(dataTypesCreateRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
18250
18913
|
}
|
|
18251
18914
|
/**
|
|
18252
|
-
* Gets the current status and details of a refund request
|
|
18915
|
+
* Gets the current status and details of a refund request by refund_id (UUID)
|
|
18253
18916
|
* @summary Get refund request status
|
|
18254
|
-
* @param {
|
|
18917
|
+
* @param {string} id Refund ID (UUID)
|
|
18255
18918
|
* @param {*} [options] Override http request option.
|
|
18256
18919
|
* @throws {RequiredError}
|
|
18257
18920
|
* @memberof RefundManagementApi
|