@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/dist/esm/api.js CHANGED
@@ -26,6 +26,18 @@ import globalAxios from 'axios';
26
26
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
27
27
  // @ts-ignore
28
28
  import { BASE_PATH, BaseAPI, operationServerMap } from './base';
29
+ /**
30
+ *
31
+ * @export
32
+ * @enum {string}
33
+ */
34
+ export const AnalyticsBannedMatchType = {
35
+ BannedMatchIs: 'is',
36
+ BannedMatchContains: 'contains',
37
+ BannedMatchStartsWith: 'startsWith',
38
+ BannedMatchEndsWith: 'endsWith',
39
+ BannedMatchCustom: 'custom'
40
+ };
29
41
  /**
30
42
  *
31
43
  * @export
@@ -56,6 +68,17 @@ export const AnalyticsQuerySuggestionStatus = {
56
68
  StatusEnabled: 'enabled',
57
69
  StatusDisabled: 'disabled'
58
70
  };
71
+ /**
72
+ *
73
+ * @export
74
+ * @enum {string}
75
+ */
76
+ export const AnalyticsRuleType = {
77
+ RuleTypePromote: 'promote',
78
+ RuleTypeHide: 'hide',
79
+ RuleTypeRedirect: 'redirect',
80
+ RuleTypeBanner: 'banner'
81
+ };
59
82
  export const DataTypesCreateCustomWordListRequestTypeEnum = {
60
83
  Stopwords: 'stopwords',
61
84
  Synonyms: 'synonyms'
@@ -1365,6 +1388,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
1365
1388
  * @param {string} [startTime] Start time in RFC3339 format
1366
1389
  * @param {string} [endTime] End time in RFC3339 format
1367
1390
  * @param {AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum} [granularity] Time granularity
1391
+ * @param {string} [search] Search term to filter geographic locations (case-insensitive partial match on country, region, city)
1368
1392
  * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
1369
1393
  * @param {AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
1370
1394
  * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
@@ -1388,7 +1412,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
1388
1412
  * @param {*} [options] Override http request option.
1389
1413
  * @throws {RequiredError}
1390
1414
  */
1391
- 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 = {}) {
1415
+ 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 = {}) {
1392
1416
  // verify required parameter 'xStoreID' is not null or undefined
1393
1417
  assertParamExists('adminAnalyticsStoreXStoreIDGeoGet', 'xStoreID', xStoreID);
1394
1418
  const localVarPath = `/admin/analytics/store/{xStoreID}/geo`
@@ -1413,6 +1437,9 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
1413
1437
  if (granularity !== undefined) {
1414
1438
  localVarQueryParameter['granularity'] = granularity;
1415
1439
  }
1440
+ if (search !== undefined) {
1441
+ localVarQueryParameter['search'] = search;
1442
+ }
1416
1443
  if (analyticsTags !== undefined) {
1417
1444
  localVarQueryParameter['analytics_tags'] = analyticsTags;
1418
1445
  }
@@ -1505,14 +1532,17 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
1505
1532
  * @param {string} [compareTagValueFilter] Tag value filter for comparison period
1506
1533
  * @param {number} [queriesPage] Page number for popular queries pagination
1507
1534
  * @param {number} [queriesPageSize] Number of queries per page for popular queries
1535
+ * @param {string} [geoQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
1508
1536
  * @param {number} [resultsPage] Page number for top results pagination
1509
1537
  * @param {number} [resultsPageSize] Number of results per page for top results
1538
+ * @param {string} [geoResultsSearch] Search term to filter top results (case-insensitive partial match on item IDs)
1510
1539
  * @param {number} [filtersPage] Page number for popular filters pagination
1511
1540
  * @param {number} [filtersPageSize] Number of filters per page
1541
+ * @param {string} [geoFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
1512
1542
  * @param {*} [options] Override http request option.
1513
1543
  * @throws {RequiredError}
1514
1544
  */
1515
- 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 = {}) {
1545
+ 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 = {}) {
1516
1546
  // verify required parameter 'xStoreID' is not null or undefined
1517
1547
  assertParamExists('adminAnalyticsStoreXStoreIDGeoInsightsGet', 'xStoreID', xStoreID);
1518
1548
  const localVarPath = `/admin/analytics/store/{xStoreID}/geo/insights`
@@ -1588,18 +1618,27 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
1588
1618
  if (queriesPageSize !== undefined) {
1589
1619
  localVarQueryParameter['queries_page_size'] = queriesPageSize;
1590
1620
  }
1621
+ if (geoQueriesSearch !== undefined) {
1622
+ localVarQueryParameter['geo_queries_search'] = geoQueriesSearch;
1623
+ }
1591
1624
  if (resultsPage !== undefined) {
1592
1625
  localVarQueryParameter['results_page'] = resultsPage;
1593
1626
  }
1594
1627
  if (resultsPageSize !== undefined) {
1595
1628
  localVarQueryParameter['results_page_size'] = resultsPageSize;
1596
1629
  }
1630
+ if (geoResultsSearch !== undefined) {
1631
+ localVarQueryParameter['geo_results_search'] = geoResultsSearch;
1632
+ }
1597
1633
  if (filtersPage !== undefined) {
1598
1634
  localVarQueryParameter['filters_page'] = filtersPage;
1599
1635
  }
1600
1636
  if (filtersPageSize !== undefined) {
1601
1637
  localVarQueryParameter['filters_page_size'] = filtersPageSize;
1602
1638
  }
1639
+ if (geoFiltersSearch !== undefined) {
1640
+ localVarQueryParameter['geo_filters_search'] = geoFiltersSearch;
1641
+ }
1603
1642
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1604
1643
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1605
1644
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2165,6 +2204,12 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
2165
2204
  * @param {string} query Search query to analyze
2166
2205
  * @param {string} [startTime] Start time in RFC3339 format
2167
2206
  * @param {string} [endTime] End time in RFC3339 format
2207
+ * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
2208
+ * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
2209
+ * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
2210
+ * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
2211
+ * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
2212
+ * @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
2168
2213
  * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
2169
2214
  * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
2170
2215
  * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
@@ -2175,15 +2220,18 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
2175
2220
  * @param {string} [compareTagValueFilter] Tag value filter for comparison period
2176
2221
  * @param {number} [resultsPage] Page number for popular results pagination
2177
2222
  * @param {number} [resultsPageSize] Number of results per page for popular results
2223
+ * @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
2178
2224
  * @param {number} [filtersPage] Page number for popular filters pagination
2179
2225
  * @param {number} [filtersPageSize] Number of filters per page
2226
+ * @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
2180
2227
  * @param {number} [geoPage] Page number for geo analytics pagination
2181
2228
  * @param {number} [geoPageSize] Number of geo locations per page
2229
+ * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
2182
2230
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
2183
2231
  * @param {*} [options] Override http request option.
2184
2232
  * @throws {RequiredError}
2185
2233
  */
2186
- 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 = {}) {
2234
+ 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 = {}) {
2187
2235
  // verify required parameter 'xStoreID' is not null or undefined
2188
2236
  assertParamExists('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'xStoreID', xStoreID);
2189
2237
  // verify required parameter 'query' is not null or undefined
@@ -2208,6 +2256,24 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
2208
2256
  if (endTime !== undefined) {
2209
2257
  localVarQueryParameter['end_time'] = endTime;
2210
2258
  }
2259
+ if (analyticsTags !== undefined) {
2260
+ localVarQueryParameter['analytics_tags'] = analyticsTags;
2261
+ }
2262
+ if (tagsMatchMode !== undefined) {
2263
+ localVarQueryParameter['tags_match_mode'] = tagsMatchMode;
2264
+ }
2265
+ if (tagsExclude !== undefined) {
2266
+ localVarQueryParameter['tags_exclude'] = tagsExclude;
2267
+ }
2268
+ if (tagKeyFilter !== undefined) {
2269
+ localVarQueryParameter['tag_key_filter'] = tagKeyFilter;
2270
+ }
2271
+ if (tagValueFilter !== undefined) {
2272
+ localVarQueryParameter['tag_value_filter'] = tagValueFilter;
2273
+ }
2274
+ if (search !== undefined) {
2275
+ localVarQueryParameter['search'] = search;
2276
+ }
2211
2277
  if (compareMode !== undefined) {
2212
2278
  localVarQueryParameter['compare_mode'] = compareMode;
2213
2279
  }
@@ -2238,18 +2304,27 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
2238
2304
  if (resultsPageSize !== undefined) {
2239
2305
  localVarQueryParameter['results_page_size'] = resultsPageSize;
2240
2306
  }
2307
+ if (resultsSearch !== undefined) {
2308
+ localVarQueryParameter['results_search'] = resultsSearch;
2309
+ }
2241
2310
  if (filtersPage !== undefined) {
2242
2311
  localVarQueryParameter['filters_page'] = filtersPage;
2243
2312
  }
2244
2313
  if (filtersPageSize !== undefined) {
2245
2314
  localVarQueryParameter['filters_page_size'] = filtersPageSize;
2246
2315
  }
2316
+ if (filtersSearch !== undefined) {
2317
+ localVarQueryParameter['filters_search'] = filtersSearch;
2318
+ }
2247
2319
  if (geoPage !== undefined) {
2248
2320
  localVarQueryParameter['geo_page'] = geoPage;
2249
2321
  }
2250
2322
  if (geoPageSize !== undefined) {
2251
2323
  localVarQueryParameter['geo_page_size'] = geoPageSize;
2252
2324
  }
2325
+ if (geoSearch !== undefined) {
2326
+ localVarQueryParameter['geo_search'] = geoSearch;
2327
+ }
2253
2328
  if (includeWidget !== undefined) {
2254
2329
  localVarQueryParameter['include_widget'] = includeWidget;
2255
2330
  }
@@ -2397,11 +2472,11 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
2397
2472
  };
2398
2473
  }),
2399
2474
  /**
2400
- * Retrieve analytics tags usage data and filtering capabilities
2475
+ * Retrieve analytics tags usage data and filtering capabilities. If no start_time/end_time is specified, returns all tags from the last 2 years.
2401
2476
  * @summary Get Analytics Tags
2402
2477
  * @param {string} xStoreID Store ID
2403
- * @param {string} [startTime] Start time in RFC3339 format
2404
- * @param {string} [endTime] End time in RFC3339 format
2478
+ * @param {string} [startTime] Start time in RFC3339 format. If not specified, returns all tags from 2 years ago
2479
+ * @param {string} [endTime] End time in RFC3339 format. If not specified, returns all tags until now
2405
2480
  * @param {string} [search] Search term for tag keys and values (case-insensitive partial match)
2406
2481
  * @param {string} [tagKey] Filter by specific tag key (exact match)
2407
2482
  * @param {string} [tagValue] Filter by specific tag value (exact match)
@@ -2699,6 +2774,7 @@ export const AnalyticsApiFp = function (configuration) {
2699
2774
  * @param {string} [startTime] Start time in RFC3339 format
2700
2775
  * @param {string} [endTime] End time in RFC3339 format
2701
2776
  * @param {AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum} [granularity] Time granularity
2777
+ * @param {string} [search] Search term to filter geographic locations (case-insensitive partial match on country, region, city)
2702
2778
  * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
2703
2779
  * @param {AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
2704
2780
  * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
@@ -2722,10 +2798,10 @@ export const AnalyticsApiFp = function (configuration) {
2722
2798
  * @param {*} [options] Override http request option.
2723
2799
  * @throws {RequiredError}
2724
2800
  */
2725
- 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) {
2801
+ 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) {
2726
2802
  return __awaiter(this, void 0, void 0, function* () {
2727
2803
  var _a, _b, _c;
2728
- 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);
2804
+ 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);
2729
2805
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2730
2806
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDGeoGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2731
2807
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2755,17 +2831,20 @@ export const AnalyticsApiFp = function (configuration) {
2755
2831
  * @param {string} [compareTagValueFilter] Tag value filter for comparison period
2756
2832
  * @param {number} [queriesPage] Page number for popular queries pagination
2757
2833
  * @param {number} [queriesPageSize] Number of queries per page for popular queries
2834
+ * @param {string} [geoQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
2758
2835
  * @param {number} [resultsPage] Page number for top results pagination
2759
2836
  * @param {number} [resultsPageSize] Number of results per page for top results
2837
+ * @param {string} [geoResultsSearch] Search term to filter top results (case-insensitive partial match on item IDs)
2760
2838
  * @param {number} [filtersPage] Page number for popular filters pagination
2761
2839
  * @param {number} [filtersPageSize] Number of filters per page
2840
+ * @param {string} [geoFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
2762
2841
  * @param {*} [options] Override http request option.
2763
2842
  * @throws {RequiredError}
2764
2843
  */
2765
- 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) {
2844
+ 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) {
2766
2845
  return __awaiter(this, void 0, void 0, function* () {
2767
2846
  var _a, _b, _c;
2768
- 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);
2847
+ 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);
2769
2848
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2770
2849
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDGeoInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2771
2850
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2965,6 +3044,12 @@ export const AnalyticsApiFp = function (configuration) {
2965
3044
  * @param {string} query Search query to analyze
2966
3045
  * @param {string} [startTime] Start time in RFC3339 format
2967
3046
  * @param {string} [endTime] End time in RFC3339 format
3047
+ * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
3048
+ * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
3049
+ * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
3050
+ * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
3051
+ * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
3052
+ * @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
2968
3053
  * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
2969
3054
  * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
2970
3055
  * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
@@ -2975,18 +3060,21 @@ export const AnalyticsApiFp = function (configuration) {
2975
3060
  * @param {string} [compareTagValueFilter] Tag value filter for comparison period
2976
3061
  * @param {number} [resultsPage] Page number for popular results pagination
2977
3062
  * @param {number} [resultsPageSize] Number of results per page for popular results
3063
+ * @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
2978
3064
  * @param {number} [filtersPage] Page number for popular filters pagination
2979
3065
  * @param {number} [filtersPageSize] Number of filters per page
3066
+ * @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
2980
3067
  * @param {number} [geoPage] Page number for geo analytics pagination
2981
3068
  * @param {number} [geoPageSize] Number of geo locations per page
3069
+ * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
2982
3070
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
2983
3071
  * @param {*} [options] Override http request option.
2984
3072
  * @throws {RequiredError}
2985
3073
  */
2986
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, includeWidget, options) {
3074
+ 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) {
2987
3075
  return __awaiter(this, void 0, void 0, function* () {
2988
3076
  var _a, _b, _c;
2989
- 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);
3077
+ 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);
2990
3078
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2991
3079
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2992
3080
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3035,11 +3123,11 @@ export const AnalyticsApiFp = function (configuration) {
3035
3123
  });
3036
3124
  },
3037
3125
  /**
3038
- * Retrieve analytics tags usage data and filtering capabilities
3126
+ * Retrieve analytics tags usage data and filtering capabilities. If no start_time/end_time is specified, returns all tags from the last 2 years.
3039
3127
  * @summary Get Analytics Tags
3040
3128
  * @param {string} xStoreID Store ID
3041
- * @param {string} [startTime] Start time in RFC3339 format
3042
- * @param {string} [endTime] End time in RFC3339 format
3129
+ * @param {string} [startTime] Start time in RFC3339 format. If not specified, returns all tags from 2 years ago
3130
+ * @param {string} [endTime] End time in RFC3339 format. If not specified, returns all tags until now
3043
3131
  * @param {string} [search] Search term for tag keys and values (case-insensitive partial match)
3044
3132
  * @param {string} [tagKey] Filter by specific tag key (exact match)
3045
3133
  * @param {string} [tagValue] Filter by specific tag value (exact match)
@@ -3209,6 +3297,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3209
3297
  * @param {string} [startTime] Start time in RFC3339 format
3210
3298
  * @param {string} [endTime] End time in RFC3339 format
3211
3299
  * @param {AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum} [granularity] Time granularity
3300
+ * @param {string} [search] Search term to filter geographic locations (case-insensitive partial match on country, region, city)
3212
3301
  * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
3213
3302
  * @param {AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
3214
3303
  * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
@@ -3232,8 +3321,8 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3232
3321
  * @param {*} [options] Override http request option.
3233
3322
  * @throws {RequiredError}
3234
3323
  */
3235
- 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) {
3236
- 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));
3324
+ 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) {
3325
+ 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));
3237
3326
  },
3238
3327
  /**
3239
3328
  * 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
@@ -3259,15 +3348,18 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3259
3348
  * @param {string} [compareTagValueFilter] Tag value filter for comparison period
3260
3349
  * @param {number} [queriesPage] Page number for popular queries pagination
3261
3350
  * @param {number} [queriesPageSize] Number of queries per page for popular queries
3351
+ * @param {string} [geoQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
3262
3352
  * @param {number} [resultsPage] Page number for top results pagination
3263
3353
  * @param {number} [resultsPageSize] Number of results per page for top results
3354
+ * @param {string} [geoResultsSearch] Search term to filter top results (case-insensitive partial match on item IDs)
3264
3355
  * @param {number} [filtersPage] Page number for popular filters pagination
3265
3356
  * @param {number} [filtersPageSize] Number of filters per page
3357
+ * @param {string} [geoFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
3266
3358
  * @param {*} [options] Override http request option.
3267
3359
  * @throws {RequiredError}
3268
3360
  */
3269
- 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) {
3270
- 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));
3361
+ 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) {
3362
+ 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));
3271
3363
  },
3272
3364
  /**
3273
3365
  * Check the health status of analytics service and ClickHouse connection
@@ -3427,6 +3519,12 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3427
3519
  * @param {string} query Search query to analyze
3428
3520
  * @param {string} [startTime] Start time in RFC3339 format
3429
3521
  * @param {string} [endTime] End time in RFC3339 format
3522
+ * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
3523
+ * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
3524
+ * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
3525
+ * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
3526
+ * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
3527
+ * @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
3430
3528
  * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
3431
3529
  * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
3432
3530
  * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
@@ -3437,16 +3535,19 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3437
3535
  * @param {string} [compareTagValueFilter] Tag value filter for comparison period
3438
3536
  * @param {number} [resultsPage] Page number for popular results pagination
3439
3537
  * @param {number} [resultsPageSize] Number of results per page for popular results
3538
+ * @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
3440
3539
  * @param {number} [filtersPage] Page number for popular filters pagination
3441
3540
  * @param {number} [filtersPageSize] Number of filters per page
3541
+ * @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
3442
3542
  * @param {number} [geoPage] Page number for geo analytics pagination
3443
3543
  * @param {number} [geoPageSize] Number of geo locations per page
3544
+ * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
3444
3545
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3445
3546
  * @param {*} [options] Override http request option.
3446
3547
  * @throws {RequiredError}
3447
3548
  */
3448
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, includeWidget, options) {
3449
- 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));
3549
+ 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) {
3550
+ 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));
3450
3551
  },
3451
3552
  /**
3452
3553
  * 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.
@@ -3485,11 +3586,11 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3485
3586
  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));
3486
3587
  },
3487
3588
  /**
3488
- * Retrieve analytics tags usage data and filtering capabilities
3589
+ * Retrieve analytics tags usage data and filtering capabilities. If no start_time/end_time is specified, returns all tags from the last 2 years.
3489
3590
  * @summary Get Analytics Tags
3490
3591
  * @param {string} xStoreID Store ID
3491
- * @param {string} [startTime] Start time in RFC3339 format
3492
- * @param {string} [endTime] End time in RFC3339 format
3592
+ * @param {string} [startTime] Start time in RFC3339 format. If not specified, returns all tags from 2 years ago
3593
+ * @param {string} [endTime] End time in RFC3339 format. If not specified, returns all tags until now
3493
3594
  * @param {string} [search] Search term for tag keys and values (case-insensitive partial match)
3494
3595
  * @param {string} [tagKey] Filter by specific tag key (exact match)
3495
3596
  * @param {string} [tagValue] Filter by specific tag value (exact match)
@@ -3653,6 +3754,7 @@ export class AnalyticsApi extends BaseAPI {
3653
3754
  * @param {string} [startTime] Start time in RFC3339 format
3654
3755
  * @param {string} [endTime] End time in RFC3339 format
3655
3756
  * @param {AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum} [granularity] Time granularity
3757
+ * @param {string} [search] Search term to filter geographic locations (case-insensitive partial match on country, region, city)
3656
3758
  * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
3657
3759
  * @param {AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
3658
3760
  * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
@@ -3677,8 +3779,8 @@ export class AnalyticsApi extends BaseAPI {
3677
3779
  * @throws {RequiredError}
3678
3780
  * @memberof AnalyticsApi
3679
3781
  */
3680
- 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) {
3681
- return 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));
3782
+ 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) {
3783
+ return 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));
3682
3784
  }
3683
3785
  /**
3684
3786
  * 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
@@ -3704,16 +3806,19 @@ export class AnalyticsApi extends BaseAPI {
3704
3806
  * @param {string} [compareTagValueFilter] Tag value filter for comparison period
3705
3807
  * @param {number} [queriesPage] Page number for popular queries pagination
3706
3808
  * @param {number} [queriesPageSize] Number of queries per page for popular queries
3809
+ * @param {string} [geoQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
3707
3810
  * @param {number} [resultsPage] Page number for top results pagination
3708
3811
  * @param {number} [resultsPageSize] Number of results per page for top results
3812
+ * @param {string} [geoResultsSearch] Search term to filter top results (case-insensitive partial match on item IDs)
3709
3813
  * @param {number} [filtersPage] Page number for popular filters pagination
3710
3814
  * @param {number} [filtersPageSize] Number of filters per page
3815
+ * @param {string} [geoFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
3711
3816
  * @param {*} [options] Override http request option.
3712
3817
  * @throws {RequiredError}
3713
3818
  * @memberof AnalyticsApi
3714
3819
  */
3715
- 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) {
3716
- return 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));
3820
+ 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) {
3821
+ return 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));
3717
3822
  }
3718
3823
  /**
3719
3824
  * Check the health status of analytics service and ClickHouse connection
@@ -3879,6 +3984,12 @@ export class AnalyticsApi extends BaseAPI {
3879
3984
  * @param {string} query Search query to analyze
3880
3985
  * @param {string} [startTime] Start time in RFC3339 format
3881
3986
  * @param {string} [endTime] End time in RFC3339 format
3987
+ * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
3988
+ * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
3989
+ * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
3990
+ * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
3991
+ * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
3992
+ * @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
3882
3993
  * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
3883
3994
  * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
3884
3995
  * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
@@ -3889,17 +4000,20 @@ export class AnalyticsApi extends BaseAPI {
3889
4000
  * @param {string} [compareTagValueFilter] Tag value filter for comparison period
3890
4001
  * @param {number} [resultsPage] Page number for popular results pagination
3891
4002
  * @param {number} [resultsPageSize] Number of results per page for popular results
4003
+ * @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
3892
4004
  * @param {number} [filtersPage] Page number for popular filters pagination
3893
4005
  * @param {number} [filtersPageSize] Number of filters per page
4006
+ * @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
3894
4007
  * @param {number} [geoPage] Page number for geo analytics pagination
3895
4008
  * @param {number} [geoPageSize] Number of geo locations per page
4009
+ * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
3896
4010
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3897
4011
  * @param {*} [options] Override http request option.
3898
4012
  * @throws {RequiredError}
3899
4013
  * @memberof AnalyticsApi
3900
4014
  */
3901
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, includeWidget, options) {
3902
- return 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));
4015
+ 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) {
4016
+ return 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));
3903
4017
  }
3904
4018
  /**
3905
4019
  * 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.
@@ -3939,11 +4053,11 @@ export class AnalyticsApi extends BaseAPI {
3939
4053
  return 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));
3940
4054
  }
3941
4055
  /**
3942
- * Retrieve analytics tags usage data and filtering capabilities
4056
+ * Retrieve analytics tags usage data and filtering capabilities. If no start_time/end_time is specified, returns all tags from the last 2 years.
3943
4057
  * @summary Get Analytics Tags
3944
4058
  * @param {string} xStoreID Store ID
3945
- * @param {string} [startTime] Start time in RFC3339 format
3946
- * @param {string} [endTime] End time in RFC3339 format
4059
+ * @param {string} [startTime] Start time in RFC3339 format. If not specified, returns all tags from 2 years ago
4060
+ * @param {string} [endTime] End time in RFC3339 format. If not specified, returns all tags until now
3947
4061
  * @param {string} [search] Search term for tag keys and values (case-insensitive partial match)
3948
4062
  * @param {string} [tagKey] Filter by specific tag key (exact match)
3949
4063
  * @param {string} [tagValue] Filter by specific tag value (exact match)
@@ -4255,6 +4369,13 @@ export const AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = {
4255
4369
  Asc: 'asc',
4256
4370
  Desc: 'desc'
4257
4371
  };
4372
+ /**
4373
+ * @export
4374
+ */
4375
+ export const AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = {
4376
+ Any: 'any',
4377
+ All: 'all'
4378
+ };
4258
4379
  /**
4259
4380
  * @export
4260
4381
  */
@@ -8367,6 +8488,7 @@ export const ItemAnalyticsApiAxiosParamCreator = function (configuration) {
8367
8488
  * @param {string} xStoreID Store ID
8368
8489
  * @param {string} [startTime] Start time in RFC3339 format
8369
8490
  * @param {string} [endTime] End time in RFC3339 format
8491
+ * @param {string} [search] Search term to filter items (case-insensitive partial match on item IDs and related data)
8370
8492
  * @param {string} [itemIds] Comma-separated list of item IDs to filter
8371
8493
  * @param {number} [itemLimit] Maximum number of items to return
8372
8494
  * @param {number} [minImpressions] Minimum number of impressions required
@@ -8381,7 +8503,7 @@ export const ItemAnalyticsApiAxiosParamCreator = function (configuration) {
8381
8503
  * @param {*} [options] Override http request option.
8382
8504
  * @throws {RequiredError}
8383
8505
  */
8384
- 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 = {}) {
8506
+ 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 = {}) {
8385
8507
  // verify required parameter 'xStoreID' is not null or undefined
8386
8508
  assertParamExists('adminAnalyticsStoreXStoreIDItemsGet', 'xStoreID', xStoreID);
8387
8509
  const localVarPath = `/admin/analytics/store/{xStoreID}/items`
@@ -8403,6 +8525,9 @@ export const ItemAnalyticsApiAxiosParamCreator = function (configuration) {
8403
8525
  if (endTime !== undefined) {
8404
8526
  localVarQueryParameter['end_time'] = endTime;
8405
8527
  }
8528
+ if (search !== undefined) {
8529
+ localVarQueryParameter['search'] = search;
8530
+ }
8406
8531
  if (itemIds !== undefined) {
8407
8532
  localVarQueryParameter['item_ids'] = itemIds;
8408
8533
  }
@@ -8509,15 +8634,18 @@ export const ItemAnalyticsApiAxiosParamCreator = function (configuration) {
8509
8634
  * @param {string} [compareTagValueFilter] Tag value filter for comparison period
8510
8635
  * @param {number} [resultsPage] Page number for popular queries pagination
8511
8636
  * @param {number} [resultsPageSize] Number of queries per page for popular queries
8637
+ * @param {string} [itemQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
8512
8638
  * @param {number} [filtersPage] Page number for popular filters pagination
8513
8639
  * @param {number} [filtersPageSize] Number of filters per page
8640
+ * @param {string} [itemFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
8514
8641
  * @param {number} [geoPage] Page number for geo analytics pagination
8515
8642
  * @param {number} [geoPageSize] Number of geo locations per page
8643
+ * @param {string} [itemGeoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
8516
8644
  * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum} [groupBy] Include performance trends by date
8517
8645
  * @param {*} [options] Override http request option.
8518
8646
  * @throws {RequiredError}
8519
8647
  */
8520
- 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 = {}) {
8648
+ 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 = {}) {
8521
8649
  // verify required parameter 'xStoreID' is not null or undefined
8522
8650
  assertParamExists('adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet', 'xStoreID', xStoreID);
8523
8651
  // verify required parameter 'itemId' is not null or undefined
@@ -8587,18 +8715,27 @@ export const ItemAnalyticsApiAxiosParamCreator = function (configuration) {
8587
8715
  if (resultsPageSize !== undefined) {
8588
8716
  localVarQueryParameter['results_page_size'] = resultsPageSize;
8589
8717
  }
8718
+ if (itemQueriesSearch !== undefined) {
8719
+ localVarQueryParameter['item_queries_search'] = itemQueriesSearch;
8720
+ }
8590
8721
  if (filtersPage !== undefined) {
8591
8722
  localVarQueryParameter['filters_page'] = filtersPage;
8592
8723
  }
8593
8724
  if (filtersPageSize !== undefined) {
8594
8725
  localVarQueryParameter['filters_page_size'] = filtersPageSize;
8595
8726
  }
8727
+ if (itemFiltersSearch !== undefined) {
8728
+ localVarQueryParameter['item_filters_search'] = itemFiltersSearch;
8729
+ }
8596
8730
  if (geoPage !== undefined) {
8597
8731
  localVarQueryParameter['geo_page'] = geoPage;
8598
8732
  }
8599
8733
  if (geoPageSize !== undefined) {
8600
8734
  localVarQueryParameter['geo_page_size'] = geoPageSize;
8601
8735
  }
8736
+ if (itemGeoSearch !== undefined) {
8737
+ localVarQueryParameter['item_geo_search'] = itemGeoSearch;
8738
+ }
8602
8739
  if (groupBy !== undefined) {
8603
8740
  localVarQueryParameter['group_by'] = groupBy;
8604
8741
  }
@@ -8918,6 +9055,7 @@ export const ItemAnalyticsApiFp = function (configuration) {
8918
9055
  * @param {string} xStoreID Store ID
8919
9056
  * @param {string} [startTime] Start time in RFC3339 format
8920
9057
  * @param {string} [endTime] End time in RFC3339 format
9058
+ * @param {string} [search] Search term to filter items (case-insensitive partial match on item IDs and related data)
8921
9059
  * @param {string} [itemIds] Comma-separated list of item IDs to filter
8922
9060
  * @param {number} [itemLimit] Maximum number of items to return
8923
9061
  * @param {number} [minImpressions] Minimum number of impressions required
@@ -8932,10 +9070,10 @@ export const ItemAnalyticsApiFp = function (configuration) {
8932
9070
  * @param {*} [options] Override http request option.
8933
9071
  * @throws {RequiredError}
8934
9072
  */
8935
- adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options) {
9073
+ adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, search, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options) {
8936
9074
  return __awaiter(this, void 0, void 0, function* () {
8937
9075
  var _a, _b, _c;
8938
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options);
9076
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, search, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options);
8939
9077
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8940
9078
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemAnalyticsApi.adminAnalyticsStoreXStoreIDItemsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8941
9079
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -8982,18 +9120,21 @@ export const ItemAnalyticsApiFp = function (configuration) {
8982
9120
  * @param {string} [compareTagValueFilter] Tag value filter for comparison period
8983
9121
  * @param {number} [resultsPage] Page number for popular queries pagination
8984
9122
  * @param {number} [resultsPageSize] Number of queries per page for popular queries
9123
+ * @param {string} [itemQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
8985
9124
  * @param {number} [filtersPage] Page number for popular filters pagination
8986
9125
  * @param {number} [filtersPageSize] Number of filters per page
9126
+ * @param {string} [itemFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
8987
9127
  * @param {number} [geoPage] Page number for geo analytics pagination
8988
9128
  * @param {number} [geoPageSize] Number of geo locations per page
9129
+ * @param {string} [itemGeoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
8989
9130
  * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum} [groupBy] Include performance trends by date
8990
9131
  * @param {*} [options] Override http request option.
8991
9132
  * @throws {RequiredError}
8992
9133
  */
8993
- 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) {
9134
+ 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) {
8994
9135
  return __awaiter(this, void 0, void 0, function* () {
8995
9136
  var _a, _b, _c;
8996
- 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);
9137
+ 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);
8997
9138
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8998
9139
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemAnalyticsApi.adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8999
9140
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9136,6 +9277,7 @@ export const ItemAnalyticsApiFactory = function (configuration, basePath, axios)
9136
9277
  * @param {string} xStoreID Store ID
9137
9278
  * @param {string} [startTime] Start time in RFC3339 format
9138
9279
  * @param {string} [endTime] End time in RFC3339 format
9280
+ * @param {string} [search] Search term to filter items (case-insensitive partial match on item IDs and related data)
9139
9281
  * @param {string} [itemIds] Comma-separated list of item IDs to filter
9140
9282
  * @param {number} [itemLimit] Maximum number of items to return
9141
9283
  * @param {number} [minImpressions] Minimum number of impressions required
@@ -9150,8 +9292,8 @@ export const ItemAnalyticsApiFactory = function (configuration, basePath, axios)
9150
9292
  * @param {*} [options] Override http request option.
9151
9293
  * @throws {RequiredError}
9152
9294
  */
9153
- adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options) {
9154
- return localVarFp.adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options).then((request) => request(axios, basePath));
9295
+ adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, search, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options) {
9296
+ return localVarFp.adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, search, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options).then((request) => request(axios, basePath));
9155
9297
  },
9156
9298
  /**
9157
9299
  * Retrieve detailed analytics for a specific item including performance metrics and discovery data
@@ -9188,16 +9330,19 @@ export const ItemAnalyticsApiFactory = function (configuration, basePath, axios)
9188
9330
  * @param {string} [compareTagValueFilter] Tag value filter for comparison period
9189
9331
  * @param {number} [resultsPage] Page number for popular queries pagination
9190
9332
  * @param {number} [resultsPageSize] Number of queries per page for popular queries
9333
+ * @param {string} [itemQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
9191
9334
  * @param {number} [filtersPage] Page number for popular filters pagination
9192
9335
  * @param {number} [filtersPageSize] Number of filters per page
9336
+ * @param {string} [itemFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
9193
9337
  * @param {number} [geoPage] Page number for geo analytics pagination
9194
9338
  * @param {number} [geoPageSize] Number of geo locations per page
9339
+ * @param {string} [itemGeoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
9195
9340
  * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum} [groupBy] Include performance trends by date
9196
9341
  * @param {*} [options] Override http request option.
9197
9342
  * @throws {RequiredError}
9198
9343
  */
9199
- 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) {
9200
- 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));
9344
+ 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) {
9345
+ 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));
9201
9346
  },
9202
9347
  /**
9203
9348
  * Retrieve detailed performance metrics for items including click-through rates, conversion rates, and revenue data
@@ -9320,6 +9465,7 @@ export class ItemAnalyticsApi extends BaseAPI {
9320
9465
  * @param {string} xStoreID Store ID
9321
9466
  * @param {string} [startTime] Start time in RFC3339 format
9322
9467
  * @param {string} [endTime] End time in RFC3339 format
9468
+ * @param {string} [search] Search term to filter items (case-insensitive partial match on item IDs and related data)
9323
9469
  * @param {string} [itemIds] Comma-separated list of item IDs to filter
9324
9470
  * @param {number} [itemLimit] Maximum number of items to return
9325
9471
  * @param {number} [minImpressions] Minimum number of impressions required
@@ -9335,8 +9481,8 @@ export class ItemAnalyticsApi extends BaseAPI {
9335
9481
  * @throws {RequiredError}
9336
9482
  * @memberof ItemAnalyticsApi
9337
9483
  */
9338
- adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options) {
9339
- return 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));
9484
+ adminAnalyticsStoreXStoreIDItemsGet(xStoreID, startTime, endTime, search, itemIds, itemLimit, minImpressions, maxPosition, sortBy, sortOrder, sort, limit, offset, page, pageSize, options) {
9485
+ return 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));
9340
9486
  }
9341
9487
  /**
9342
9488
  * Retrieve detailed analytics for a specific item including performance metrics and discovery data
@@ -9374,17 +9520,20 @@ export class ItemAnalyticsApi extends BaseAPI {
9374
9520
  * @param {string} [compareTagValueFilter] Tag value filter for comparison period
9375
9521
  * @param {number} [resultsPage] Page number for popular queries pagination
9376
9522
  * @param {number} [resultsPageSize] Number of queries per page for popular queries
9523
+ * @param {string} [itemQueriesSearch] Search term to filter popular queries (case-insensitive partial match on query text)
9377
9524
  * @param {number} [filtersPage] Page number for popular filters pagination
9378
9525
  * @param {number} [filtersPageSize] Number of filters per page
9526
+ * @param {string} [itemFiltersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
9379
9527
  * @param {number} [geoPage] Page number for geo analytics pagination
9380
9528
  * @param {number} [geoPageSize] Number of geo locations per page
9529
+ * @param {string} [itemGeoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
9381
9530
  * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum} [groupBy] Include performance trends by date
9382
9531
  * @param {*} [options] Override http request option.
9383
9532
  * @throws {RequiredError}
9384
9533
  * @memberof ItemAnalyticsApi
9385
9534
  */
9386
- 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) {
9387
- return 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));
9535
+ 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) {
9536
+ return 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));
9388
9537
  }
9389
9538
  /**
9390
9539
  * Retrieve detailed performance metrics for items including click-through rates, conversion rates, and revenue data
@@ -16011,6 +16160,184 @@ export const QuerySuggestionsManagementApiAxiosParamCreator = function (configur
16011
16160
  options: localVarRequestOptions,
16012
16161
  };
16013
16162
  }),
16163
+ /**
16164
+ * Apply filters to remove duplicate or unhelpful suggestions based on configuration
16165
+ * @summary Apply Suggestion Filters
16166
+ * @param {string} xStoreID Store ID
16167
+ * @param {Array<AnalyticsQuerySuggestionRecord>} analyticsQuerySuggestionRecord Array of suggestions to filter
16168
+ * @param {*} [options] Override http request option.
16169
+ * @throws {RequiredError}
16170
+ */
16171
+ adminV1QuerySuggestionsXStoreIDApplyFiltersPost: (xStoreID_1, analyticsQuerySuggestionRecord_1, ...args_1) => __awaiter(this, [xStoreID_1, analyticsQuerySuggestionRecord_1, ...args_1], void 0, function* (xStoreID, analyticsQuerySuggestionRecord, options = {}) {
16172
+ // verify required parameter 'xStoreID' is not null or undefined
16173
+ assertParamExists('adminV1QuerySuggestionsXStoreIDApplyFiltersPost', 'xStoreID', xStoreID);
16174
+ // verify required parameter 'analyticsQuerySuggestionRecord' is not null or undefined
16175
+ assertParamExists('adminV1QuerySuggestionsXStoreIDApplyFiltersPost', 'analyticsQuerySuggestionRecord', analyticsQuerySuggestionRecord);
16176
+ const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/apply-filters`
16177
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
16178
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16179
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16180
+ let baseOptions;
16181
+ if (configuration) {
16182
+ baseOptions = configuration.baseOptions;
16183
+ }
16184
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
16185
+ const localVarHeaderParameter = {};
16186
+ const localVarQueryParameter = {};
16187
+ // authentication BearerAuth required
16188
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
16189
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16190
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16191
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16192
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16193
+ localVarRequestOptions.data = serializeDataIfNeeded(analyticsQuerySuggestionRecord, localVarRequestOptions, configuration);
16194
+ return {
16195
+ url: toPathString(localVarUrlObj),
16196
+ options: localVarRequestOptions,
16197
+ };
16198
+ }),
16199
+ /**
16200
+ * Delete a banned expression
16201
+ * @summary Delete Banned Expression
16202
+ * @param {string} xStoreID Store ID
16203
+ * @param {string} expressionID Banned Expression ID
16204
+ * @param {*} [options] Override http request option.
16205
+ * @throws {RequiredError}
16206
+ */
16207
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete: (xStoreID_1, expressionID_1, ...args_1) => __awaiter(this, [xStoreID_1, expressionID_1, ...args_1], void 0, function* (xStoreID, expressionID, options = {}) {
16208
+ // verify required parameter 'xStoreID' is not null or undefined
16209
+ assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete', 'xStoreID', xStoreID);
16210
+ // verify required parameter 'expressionID' is not null or undefined
16211
+ assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete', 'expressionID', expressionID);
16212
+ const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions/{expressionID}`
16213
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
16214
+ .replace(`{${"expressionID"}}`, encodeURIComponent(String(expressionID)));
16215
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16216
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16217
+ let baseOptions;
16218
+ if (configuration) {
16219
+ baseOptions = configuration.baseOptions;
16220
+ }
16221
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
16222
+ const localVarHeaderParameter = {};
16223
+ const localVarQueryParameter = {};
16224
+ // authentication BearerAuth required
16225
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
16226
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16227
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16228
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16229
+ return {
16230
+ url: toPathString(localVarUrlObj),
16231
+ options: localVarRequestOptions,
16232
+ };
16233
+ }),
16234
+ /**
16235
+ * Update an existing banned expression
16236
+ * @summary Update Banned Expression
16237
+ * @param {string} xStoreID Store ID
16238
+ * @param {string} expressionID Banned Expression ID
16239
+ * @param {AnalyticsBannedExpression} analyticsBannedExpression Updated banned expression
16240
+ * @param {*} [options] Override http request option.
16241
+ * @throws {RequiredError}
16242
+ */
16243
+ 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 = {}) {
16244
+ // verify required parameter 'xStoreID' is not null or undefined
16245
+ assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut', 'xStoreID', xStoreID);
16246
+ // verify required parameter 'expressionID' is not null or undefined
16247
+ assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut', 'expressionID', expressionID);
16248
+ // verify required parameter 'analyticsBannedExpression' is not null or undefined
16249
+ assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut', 'analyticsBannedExpression', analyticsBannedExpression);
16250
+ const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions/{expressionID}`
16251
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
16252
+ .replace(`{${"expressionID"}}`, encodeURIComponent(String(expressionID)));
16253
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16254
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16255
+ let baseOptions;
16256
+ if (configuration) {
16257
+ baseOptions = configuration.baseOptions;
16258
+ }
16259
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
16260
+ const localVarHeaderParameter = {};
16261
+ const localVarQueryParameter = {};
16262
+ // authentication BearerAuth required
16263
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
16264
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16265
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16266
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16267
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16268
+ localVarRequestOptions.data = serializeDataIfNeeded(analyticsBannedExpression, localVarRequestOptions, configuration);
16269
+ return {
16270
+ url: toPathString(localVarUrlObj),
16271
+ options: localVarRequestOptions,
16272
+ };
16273
+ }),
16274
+ /**
16275
+ * Retrieve all banned expressions for a store with their matching types
16276
+ * @summary Get Banned Expressions
16277
+ * @param {string} xStoreID Store ID
16278
+ * @param {*} [options] Override http request option.
16279
+ * @throws {RequiredError}
16280
+ */
16281
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
16282
+ // verify required parameter 'xStoreID' is not null or undefined
16283
+ assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsGet', 'xStoreID', xStoreID);
16284
+ const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions`
16285
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
16286
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16287
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16288
+ let baseOptions;
16289
+ if (configuration) {
16290
+ baseOptions = configuration.baseOptions;
16291
+ }
16292
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16293
+ const localVarHeaderParameter = {};
16294
+ const localVarQueryParameter = {};
16295
+ // authentication BearerAuth required
16296
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
16297
+ 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
+ return {
16301
+ url: toPathString(localVarUrlObj),
16302
+ options: localVarRequestOptions,
16303
+ };
16304
+ }),
16305
+ /**
16306
+ * Create a new banned expression with specified matching type
16307
+ * @summary Create Banned Expression
16308
+ * @param {string} xStoreID Store ID
16309
+ * @param {AnalyticsBannedExpression} analyticsBannedExpression Banned expression to create
16310
+ * @param {*} [options] Override http request option.
16311
+ * @throws {RequiredError}
16312
+ */
16313
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsPost: (xStoreID_1, analyticsBannedExpression_1, ...args_1) => __awaiter(this, [xStoreID_1, analyticsBannedExpression_1, ...args_1], void 0, function* (xStoreID, analyticsBannedExpression, options = {}) {
16314
+ // verify required parameter 'xStoreID' is not null or undefined
16315
+ assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsPost', 'xStoreID', xStoreID);
16316
+ // verify required parameter 'analyticsBannedExpression' is not null or undefined
16317
+ assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsPost', 'analyticsBannedExpression', analyticsBannedExpression);
16318
+ const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions`
16319
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
16320
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16321
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16322
+ let baseOptions;
16323
+ if (configuration) {
16324
+ baseOptions = configuration.baseOptions;
16325
+ }
16326
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
16327
+ const localVarHeaderParameter = {};
16328
+ const localVarQueryParameter = {};
16329
+ // authentication BearerAuth required
16330
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
16331
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16332
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16333
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16334
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16335
+ localVarRequestOptions.data = serializeDataIfNeeded(analyticsBannedExpression, localVarRequestOptions, configuration);
16336
+ return {
16337
+ url: toPathString(localVarUrlObj),
16338
+ options: localVarRequestOptions,
16339
+ };
16340
+ }),
16014
16341
  /**
16015
16342
  * Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
16016
16343
  * @summary Bulk Update Suggestions
@@ -16157,6 +16484,68 @@ export const QuerySuggestionsManagementApiAxiosParamCreator = function (configur
16157
16484
  options: localVarRequestOptions,
16158
16485
  };
16159
16486
  }),
16487
+ /**
16488
+ * Generate query suggestions with category counts and enhanced data structure
16489
+ * @summary Generate Enhanced Category Suggestions
16490
+ * @param {string} xStoreID Store ID
16491
+ * @param {*} [options] Override http request option.
16492
+ * @throws {RequiredError}
16493
+ */
16494
+ adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
16495
+ // verify required parameter 'xStoreID' is not null or undefined
16496
+ assertParamExists('adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost', 'xStoreID', xStoreID);
16497
+ const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/generate-categories`
16498
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
16499
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16500
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16501
+ let baseOptions;
16502
+ if (configuration) {
16503
+ baseOptions = configuration.baseOptions;
16504
+ }
16505
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
16506
+ const localVarHeaderParameter = {};
16507
+ const localVarQueryParameter = {};
16508
+ // authentication BearerAuth required
16509
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
16510
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16511
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16512
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16513
+ return {
16514
+ url: toPathString(localVarUrlObj),
16515
+ options: localVarRequestOptions,
16516
+ };
16517
+ }),
16518
+ /**
16519
+ * Generate query suggestions based on facet combinations from search analytics data
16520
+ * @summary Generate Facet-Based Suggestions
16521
+ * @param {string} xStoreID Store ID
16522
+ * @param {*} [options] Override http request option.
16523
+ * @throws {RequiredError}
16524
+ */
16525
+ adminV1QuerySuggestionsXStoreIDGenerateFacetsPost: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
16526
+ // verify required parameter 'xStoreID' is not null or undefined
16527
+ assertParamExists('adminV1QuerySuggestionsXStoreIDGenerateFacetsPost', 'xStoreID', xStoreID);
16528
+ const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/generate-facets`
16529
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
16530
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16531
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16532
+ let baseOptions;
16533
+ if (configuration) {
16534
+ baseOptions = configuration.baseOptions;
16535
+ }
16536
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
16537
+ const localVarHeaderParameter = {};
16538
+ const localVarQueryParameter = {};
16539
+ // authentication BearerAuth required
16540
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
16541
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16542
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16543
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16544
+ return {
16545
+ url: toPathString(localVarUrlObj),
16546
+ options: localVarRequestOptions,
16547
+ };
16548
+ }),
16160
16549
  /**
16161
16550
  * Retrieve query suggestions with filtering and pagination for management
16162
16551
  * @summary Get Query Suggestions
@@ -16822,6 +17211,91 @@ export const QuerySuggestionsManagementApiFp = function (configuration) {
16822
17211
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16823
17212
  });
16824
17213
  },
17214
+ /**
17215
+ * Apply filters to remove duplicate or unhelpful suggestions based on configuration
17216
+ * @summary Apply Suggestion Filters
17217
+ * @param {string} xStoreID Store ID
17218
+ * @param {Array<AnalyticsQuerySuggestionRecord>} analyticsQuerySuggestionRecord Array of suggestions to filter
17219
+ * @param {*} [options] Override http request option.
17220
+ * @throws {RequiredError}
17221
+ */
17222
+ adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options) {
17223
+ return __awaiter(this, void 0, void 0, function* () {
17224
+ var _a, _b, _c;
17225
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options);
17226
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17227
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDApplyFiltersPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17228
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17229
+ });
17230
+ },
17231
+ /**
17232
+ * Delete a banned expression
17233
+ * @summary Delete Banned Expression
17234
+ * @param {string} xStoreID Store ID
17235
+ * @param {string} expressionID Banned Expression ID
17236
+ * @param {*} [options] Override http request option.
17237
+ * @throws {RequiredError}
17238
+ */
17239
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options) {
17240
+ return __awaiter(this, void 0, void 0, function* () {
17241
+ var _a, _b, _c;
17242
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options);
17243
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17244
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17245
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17246
+ });
17247
+ },
17248
+ /**
17249
+ * Update an existing banned expression
17250
+ * @summary Update Banned Expression
17251
+ * @param {string} xStoreID Store ID
17252
+ * @param {string} expressionID Banned Expression ID
17253
+ * @param {AnalyticsBannedExpression} analyticsBannedExpression Updated banned expression
17254
+ * @param {*} [options] Override http request option.
17255
+ * @throws {RequiredError}
17256
+ */
17257
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options) {
17258
+ return __awaiter(this, void 0, void 0, function* () {
17259
+ var _a, _b, _c;
17260
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options);
17261
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17262
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17263
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17264
+ });
17265
+ },
17266
+ /**
17267
+ * Retrieve all banned expressions for a store with their matching types
17268
+ * @summary Get Banned Expressions
17269
+ * @param {string} xStoreID Store ID
17270
+ * @param {*} [options] Override http request option.
17271
+ * @throws {RequiredError}
17272
+ */
17273
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options) {
17274
+ return __awaiter(this, void 0, void 0, function* () {
17275
+ var _a, _b, _c;
17276
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options);
17277
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17278
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17279
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17280
+ });
17281
+ },
17282
+ /**
17283
+ * Create a new banned expression with specified matching type
17284
+ * @summary Create Banned Expression
17285
+ * @param {string} xStoreID Store ID
17286
+ * @param {AnalyticsBannedExpression} analyticsBannedExpression Banned expression to create
17287
+ * @param {*} [options] Override http request option.
17288
+ * @throws {RequiredError}
17289
+ */
17290
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options) {
17291
+ return __awaiter(this, void 0, void 0, function* () {
17292
+ var _a, _b, _c;
17293
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options);
17294
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17295
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17296
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17297
+ });
17298
+ },
16825
17299
  /**
16826
17300
  * Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
16827
17301
  * @summary Bulk Update Suggestions
@@ -16891,6 +17365,38 @@ export const QuerySuggestionsManagementApiFp = function (configuration) {
16891
17365
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16892
17366
  });
16893
17367
  },
17368
+ /**
17369
+ * Generate query suggestions with category counts and enhanced data structure
17370
+ * @summary Generate Enhanced Category Suggestions
17371
+ * @param {string} xStoreID Store ID
17372
+ * @param {*} [options] Override http request option.
17373
+ * @throws {RequiredError}
17374
+ */
17375
+ adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options) {
17376
+ return __awaiter(this, void 0, void 0, function* () {
17377
+ var _a, _b, _c;
17378
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options);
17379
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17380
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17381
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17382
+ });
17383
+ },
17384
+ /**
17385
+ * Generate query suggestions based on facet combinations from search analytics data
17386
+ * @summary Generate Facet-Based Suggestions
17387
+ * @param {string} xStoreID Store ID
17388
+ * @param {*} [options] Override http request option.
17389
+ * @throws {RequiredError}
17390
+ */
17391
+ adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options) {
17392
+ return __awaiter(this, void 0, void 0, function* () {
17393
+ var _a, _b, _c;
17394
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options);
17395
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17396
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDGenerateFacetsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17397
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17398
+ });
17399
+ },
16894
17400
  /**
16895
17401
  * Retrieve query suggestions with filtering and pagination for management
16896
17402
  * @summary Get Query Suggestions
@@ -17209,6 +17715,61 @@ export const QuerySuggestionsManagementApiFactory = function (configuration, bas
17209
17715
  adminV1QuerySuggestionsMigrateAllPost(daysBack, minPopularity, options) {
17210
17716
  return localVarFp.adminV1QuerySuggestionsMigrateAllPost(daysBack, minPopularity, options).then((request) => request(axios, basePath));
17211
17717
  },
17718
+ /**
17719
+ * Apply filters to remove duplicate or unhelpful suggestions based on configuration
17720
+ * @summary Apply Suggestion Filters
17721
+ * @param {string} xStoreID Store ID
17722
+ * @param {Array<AnalyticsQuerySuggestionRecord>} analyticsQuerySuggestionRecord Array of suggestions to filter
17723
+ * @param {*} [options] Override http request option.
17724
+ * @throws {RequiredError}
17725
+ */
17726
+ adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options) {
17727
+ return localVarFp.adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options).then((request) => request(axios, basePath));
17728
+ },
17729
+ /**
17730
+ * Delete a banned expression
17731
+ * @summary Delete Banned Expression
17732
+ * @param {string} xStoreID Store ID
17733
+ * @param {string} expressionID Banned Expression ID
17734
+ * @param {*} [options] Override http request option.
17735
+ * @throws {RequiredError}
17736
+ */
17737
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options) {
17738
+ return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options).then((request) => request(axios, basePath));
17739
+ },
17740
+ /**
17741
+ * Update an existing banned expression
17742
+ * @summary Update Banned Expression
17743
+ * @param {string} xStoreID Store ID
17744
+ * @param {string} expressionID Banned Expression ID
17745
+ * @param {AnalyticsBannedExpression} analyticsBannedExpression Updated banned expression
17746
+ * @param {*} [options] Override http request option.
17747
+ * @throws {RequiredError}
17748
+ */
17749
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options) {
17750
+ return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options).then((request) => request(axios, basePath));
17751
+ },
17752
+ /**
17753
+ * Retrieve all banned expressions for a store with their matching types
17754
+ * @summary Get Banned Expressions
17755
+ * @param {string} xStoreID Store ID
17756
+ * @param {*} [options] Override http request option.
17757
+ * @throws {RequiredError}
17758
+ */
17759
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options) {
17760
+ return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options).then((request) => request(axios, basePath));
17761
+ },
17762
+ /**
17763
+ * Create a new banned expression with specified matching type
17764
+ * @summary Create Banned Expression
17765
+ * @param {string} xStoreID Store ID
17766
+ * @param {AnalyticsBannedExpression} analyticsBannedExpression Banned expression to create
17767
+ * @param {*} [options] Override http request option.
17768
+ * @throws {RequiredError}
17769
+ */
17770
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options) {
17771
+ return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options).then((request) => request(axios, basePath));
17772
+ },
17212
17773
  /**
17213
17774
  * Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
17214
17775
  * @summary Bulk Update Suggestions
@@ -17254,6 +17815,26 @@ export const QuerySuggestionsManagementApiFactory = function (configuration, bas
17254
17815
  adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, analyticsUpdateSuggestionConfigRequest, options) {
17255
17816
  return localVarFp.adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, analyticsUpdateSuggestionConfigRequest, options).then((request) => request(axios, basePath));
17256
17817
  },
17818
+ /**
17819
+ * Generate query suggestions with category counts and enhanced data structure
17820
+ * @summary Generate Enhanced Category Suggestions
17821
+ * @param {string} xStoreID Store ID
17822
+ * @param {*} [options] Override http request option.
17823
+ * @throws {RequiredError}
17824
+ */
17825
+ adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options) {
17826
+ return localVarFp.adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options).then((request) => request(axios, basePath));
17827
+ },
17828
+ /**
17829
+ * Generate query suggestions based on facet combinations from search analytics data
17830
+ * @summary Generate Facet-Based Suggestions
17831
+ * @param {string} xStoreID Store ID
17832
+ * @param {*} [options] Override http request option.
17833
+ * @throws {RequiredError}
17834
+ */
17835
+ adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options) {
17836
+ return localVarFp.adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options).then((request) => request(axios, basePath));
17837
+ },
17257
17838
  /**
17258
17839
  * Retrieve query suggestions with filtering and pagination for management
17259
17840
  * @summary Get Query Suggestions
@@ -17471,6 +18052,66 @@ export class QuerySuggestionsManagementApi extends BaseAPI {
17471
18052
  adminV1QuerySuggestionsMigrateAllPost(daysBack, minPopularity, options) {
17472
18053
  return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsMigrateAllPost(daysBack, minPopularity, options).then((request) => request(this.axios, this.basePath));
17473
18054
  }
18055
+ /**
18056
+ * Apply filters to remove duplicate or unhelpful suggestions based on configuration
18057
+ * @summary Apply Suggestion Filters
18058
+ * @param {string} xStoreID Store ID
18059
+ * @param {Array<AnalyticsQuerySuggestionRecord>} analyticsQuerySuggestionRecord Array of suggestions to filter
18060
+ * @param {*} [options] Override http request option.
18061
+ * @throws {RequiredError}
18062
+ * @memberof QuerySuggestionsManagementApi
18063
+ */
18064
+ adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options) {
18065
+ return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options).then((request) => request(this.axios, this.basePath));
18066
+ }
18067
+ /**
18068
+ * Delete a banned expression
18069
+ * @summary Delete Banned Expression
18070
+ * @param {string} xStoreID Store ID
18071
+ * @param {string} expressionID Banned Expression ID
18072
+ * @param {*} [options] Override http request option.
18073
+ * @throws {RequiredError}
18074
+ * @memberof QuerySuggestionsManagementApi
18075
+ */
18076
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options) {
18077
+ return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options).then((request) => request(this.axios, this.basePath));
18078
+ }
18079
+ /**
18080
+ * Update an existing banned expression
18081
+ * @summary Update Banned Expression
18082
+ * @param {string} xStoreID Store ID
18083
+ * @param {string} expressionID Banned Expression ID
18084
+ * @param {AnalyticsBannedExpression} analyticsBannedExpression Updated banned expression
18085
+ * @param {*} [options] Override http request option.
18086
+ * @throws {RequiredError}
18087
+ * @memberof QuerySuggestionsManagementApi
18088
+ */
18089
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options) {
18090
+ return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options).then((request) => request(this.axios, this.basePath));
18091
+ }
18092
+ /**
18093
+ * Retrieve all banned expressions for a store with their matching types
18094
+ * @summary Get Banned Expressions
18095
+ * @param {string} xStoreID Store ID
18096
+ * @param {*} [options] Override http request option.
18097
+ * @throws {RequiredError}
18098
+ * @memberof QuerySuggestionsManagementApi
18099
+ */
18100
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options) {
18101
+ return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
18102
+ }
18103
+ /**
18104
+ * Create a new banned expression with specified matching type
18105
+ * @summary Create Banned Expression
18106
+ * @param {string} xStoreID Store ID
18107
+ * @param {AnalyticsBannedExpression} analyticsBannedExpression Banned expression to create
18108
+ * @param {*} [options] Override http request option.
18109
+ * @throws {RequiredError}
18110
+ * @memberof QuerySuggestionsManagementApi
18111
+ */
18112
+ adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options) {
18113
+ return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options).then((request) => request(this.axios, this.basePath));
18114
+ }
17474
18115
  /**
17475
18116
  * Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
17476
18117
  * @summary Bulk Update Suggestions
@@ -17520,6 +18161,28 @@ export class QuerySuggestionsManagementApi extends BaseAPI {
17520
18161
  adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, analyticsUpdateSuggestionConfigRequest, options) {
17521
18162
  return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, analyticsUpdateSuggestionConfigRequest, options).then((request) => request(this.axios, this.basePath));
17522
18163
  }
18164
+ /**
18165
+ * Generate query suggestions with category counts and enhanced data structure
18166
+ * @summary Generate Enhanced Category Suggestions
18167
+ * @param {string} xStoreID Store ID
18168
+ * @param {*} [options] Override http request option.
18169
+ * @throws {RequiredError}
18170
+ * @memberof QuerySuggestionsManagementApi
18171
+ */
18172
+ adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options) {
18173
+ return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options).then((request) => request(this.axios, this.basePath));
18174
+ }
18175
+ /**
18176
+ * Generate query suggestions based on facet combinations from search analytics data
18177
+ * @summary Generate Facet-Based Suggestions
18178
+ * @param {string} xStoreID Store ID
18179
+ * @param {*} [options] Override http request option.
18180
+ * @throws {RequiredError}
18181
+ * @memberof QuerySuggestionsManagementApi
18182
+ */
18183
+ adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options) {
18184
+ return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options).then((request) => request(this.axios, this.basePath));
18185
+ }
17523
18186
  /**
17524
18187
  * Retrieve query suggestions with filtering and pagination for management
17525
18188
  * @summary Get Query Suggestions
@@ -17832,9 +18495,9 @@ export const RefundManagementApiAxiosParamCreator = function (configuration) {
17832
18495
  };
17833
18496
  }),
17834
18497
  /**
17835
- * Gets the current status and details of a refund request
18498
+ * Gets the current status and details of a refund request by refund_id (UUID)
17836
18499
  * @summary Get refund request status
17837
- * @param {number} id Refund Request ID
18500
+ * @param {string} id Refund ID (UUID)
17838
18501
  * @param {*} [options] Override http request option.
17839
18502
  * @throws {RequiredError}
17840
18503
  */
@@ -17986,9 +18649,9 @@ export const RefundManagementApiFp = function (configuration) {
17986
18649
  });
17987
18650
  },
17988
18651
  /**
17989
- * Gets the current status and details of a refund request
18652
+ * Gets the current status and details of a refund request by refund_id (UUID)
17990
18653
  * @summary Get refund request status
17991
- * @param {number} id Refund Request ID
18654
+ * @param {string} id Refund ID (UUID)
17992
18655
  * @param {*} [options] Override http request option.
17993
18656
  * @throws {RequiredError}
17994
18657
  */
@@ -18065,9 +18728,9 @@ export const RefundManagementApiFactory = function (configuration, basePath, axi
18065
18728
  return localVarFp.paymentGatewayRefundRequestPost(dataTypesCreateRefundRequestDto, options).then((request) => request(axios, basePath));
18066
18729
  },
18067
18730
  /**
18068
- * Gets the current status and details of a refund request
18731
+ * Gets the current status and details of a refund request by refund_id (UUID)
18069
18732
  * @summary Get refund request status
18070
- * @param {number} id Refund Request ID
18733
+ * @param {string} id Refund ID (UUID)
18071
18734
  * @param {*} [options] Override http request option.
18072
18735
  * @throws {RequiredError}
18073
18736
  */
@@ -18135,9 +18798,9 @@ export class RefundManagementApi extends BaseAPI {
18135
18798
  return RefundManagementApiFp(this.configuration).paymentGatewayRefundRequestPost(dataTypesCreateRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
18136
18799
  }
18137
18800
  /**
18138
- * Gets the current status and details of a refund request
18801
+ * Gets the current status and details of a refund request by refund_id (UUID)
18139
18802
  * @summary Get refund request status
18140
- * @param {number} id Refund Request ID
18803
+ * @param {string} id Refund ID (UUID)
18141
18804
  * @param {*} [options] Override http request option.
18142
18805
  * @throws {RequiredError}
18143
18806
  * @memberof RefundManagementApi