@seekora-ai/admin-api 1.0.48 → 1.0.50

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
@@ -1993,21 +1993,31 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
1993
1993
  };
1994
1994
  }),
1995
1995
  /**
1996
- * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, and performance metrics with independent pagination for popular results and filters
1996
+ * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
1997
1997
  * @summary Get Query Insights
1998
1998
  * @param {string} xStoreID Store ID
1999
1999
  * @param {string} query Search query to analyze
2000
2000
  * @param {string} [startTime] Start time in RFC3339 format
2001
2001
  * @param {string} [endTime] End time in RFC3339 format
2002
+ * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
2003
+ * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
2004
+ * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
2005
+ * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
2006
+ * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
2007
+ * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
2008
+ * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
2009
+ * @param {string} [compareTagValueFilter] Tag value filter for comparison period
2002
2010
  * @param {number} [resultsPage] Page number for popular results pagination
2003
2011
  * @param {number} [resultsPageSize] Number of results per page for popular results
2004
2012
  * @param {number} [filtersPage] Page number for popular filters pagination
2005
- * @param {number} [filtersPageSize] Number of filters per page for popular filters
2013
+ * @param {number} [filtersPageSize] Number of filters per page
2014
+ * @param {number} [geoPage] Page number for geo analytics pagination
2015
+ * @param {number} [geoPageSize] Number of geo locations per page
2006
2016
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
2007
2017
  * @param {*} [options] Override http request option.
2008
2018
  * @throws {RequiredError}
2009
2019
  */
2010
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet: (xStoreID_1, query_1, startTime_1, endTime_1, resultsPage_1, resultsPageSize_1, filtersPage_1, filtersPageSize_1, includeWidget_1, ...args_1) => __awaiter(this, [xStoreID_1, query_1, startTime_1, endTime_1, resultsPage_1, resultsPageSize_1, filtersPage_1, filtersPageSize_1, includeWidget_1, ...args_1], void 0, function* (xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options = {}) {
2020
+ 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 = {}) {
2011
2021
  // verify required parameter 'xStoreID' is not null or undefined
2012
2022
  assertParamExists('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'xStoreID', xStoreID);
2013
2023
  // verify required parameter 'query' is not null or undefined
@@ -2032,6 +2042,30 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
2032
2042
  if (endTime !== undefined) {
2033
2043
  localVarQueryParameter['end_time'] = endTime;
2034
2044
  }
2045
+ if (compareMode !== undefined) {
2046
+ localVarQueryParameter['compare_mode'] = compareMode;
2047
+ }
2048
+ if (compareStartTime !== undefined) {
2049
+ localVarQueryParameter['compare_start_time'] = compareStartTime;
2050
+ }
2051
+ if (compareEndTime !== undefined) {
2052
+ localVarQueryParameter['compare_end_time'] = compareEndTime;
2053
+ }
2054
+ if (compareAnalyticsTags !== undefined) {
2055
+ localVarQueryParameter['compare_analytics_tags'] = compareAnalyticsTags;
2056
+ }
2057
+ if (compareTagsMatchMode !== undefined) {
2058
+ localVarQueryParameter['compare_tags_match_mode'] = compareTagsMatchMode;
2059
+ }
2060
+ if (compareTagsExclude !== undefined) {
2061
+ localVarQueryParameter['compare_tags_exclude'] = compareTagsExclude;
2062
+ }
2063
+ if (compareTagKeyFilter !== undefined) {
2064
+ localVarQueryParameter['compare_tag_key_filter'] = compareTagKeyFilter;
2065
+ }
2066
+ if (compareTagValueFilter !== undefined) {
2067
+ localVarQueryParameter['compare_tag_value_filter'] = compareTagValueFilter;
2068
+ }
2035
2069
  if (resultsPage !== undefined) {
2036
2070
  localVarQueryParameter['results_page'] = resultsPage;
2037
2071
  }
@@ -2044,6 +2078,12 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
2044
2078
  if (filtersPageSize !== undefined) {
2045
2079
  localVarQueryParameter['filters_page_size'] = filtersPageSize;
2046
2080
  }
2081
+ if (geoPage !== undefined) {
2082
+ localVarQueryParameter['geo_page'] = geoPage;
2083
+ }
2084
+ if (geoPageSize !== undefined) {
2085
+ localVarQueryParameter['geo_page_size'] = geoPageSize;
2086
+ }
2047
2087
  if (includeWidget !== undefined) {
2048
2088
  localVarQueryParameter['include_widget'] = includeWidget;
2049
2089
  }
@@ -2713,24 +2753,34 @@ export const AnalyticsApiFp = function (configuration) {
2713
2753
  });
2714
2754
  },
2715
2755
  /**
2716
- * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, and performance metrics with independent pagination for popular results and filters
2756
+ * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
2717
2757
  * @summary Get Query Insights
2718
2758
  * @param {string} xStoreID Store ID
2719
2759
  * @param {string} query Search query to analyze
2720
2760
  * @param {string} [startTime] Start time in RFC3339 format
2721
2761
  * @param {string} [endTime] End time in RFC3339 format
2762
+ * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
2763
+ * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
2764
+ * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
2765
+ * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
2766
+ * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
2767
+ * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
2768
+ * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
2769
+ * @param {string} [compareTagValueFilter] Tag value filter for comparison period
2722
2770
  * @param {number} [resultsPage] Page number for popular results pagination
2723
2771
  * @param {number} [resultsPageSize] Number of results per page for popular results
2724
2772
  * @param {number} [filtersPage] Page number for popular filters pagination
2725
- * @param {number} [filtersPageSize] Number of filters per page for popular filters
2773
+ * @param {number} [filtersPageSize] Number of filters per page
2774
+ * @param {number} [geoPage] Page number for geo analytics pagination
2775
+ * @param {number} [geoPageSize] Number of geo locations per page
2726
2776
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
2727
2777
  * @param {*} [options] Override http request option.
2728
2778
  * @throws {RequiredError}
2729
2779
  */
2730
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options) {
2780
+ adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, includeWidget, options) {
2731
2781
  return __awaiter(this, void 0, void 0, function* () {
2732
2782
  var _a, _b, _c;
2733
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options);
2783
+ 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);
2734
2784
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2735
2785
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2736
2786
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3131,22 +3181,32 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3131
3181
  return localVarFp.adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, 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));
3132
3182
  },
3133
3183
  /**
3134
- * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, and performance metrics with independent pagination for popular results and filters
3184
+ * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
3135
3185
  * @summary Get Query Insights
3136
3186
  * @param {string} xStoreID Store ID
3137
3187
  * @param {string} query Search query to analyze
3138
3188
  * @param {string} [startTime] Start time in RFC3339 format
3139
3189
  * @param {string} [endTime] End time in RFC3339 format
3190
+ * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
3191
+ * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
3192
+ * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
3193
+ * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
3194
+ * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
3195
+ * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
3196
+ * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
3197
+ * @param {string} [compareTagValueFilter] Tag value filter for comparison period
3140
3198
  * @param {number} [resultsPage] Page number for popular results pagination
3141
3199
  * @param {number} [resultsPageSize] Number of results per page for popular results
3142
3200
  * @param {number} [filtersPage] Page number for popular filters pagination
3143
- * @param {number} [filtersPageSize] Number of filters per page for popular filters
3201
+ * @param {number} [filtersPageSize] Number of filters per page
3202
+ * @param {number} [geoPage] Page number for geo analytics pagination
3203
+ * @param {number} [geoPageSize] Number of geo locations per page
3144
3204
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3145
3205
  * @param {*} [options] Override http request option.
3146
3206
  * @throws {RequiredError}
3147
3207
  */
3148
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options) {
3149
- return localVarFp.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options).then((request) => request(axios, basePath));
3208
+ adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, includeWidget, options) {
3209
+ 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));
3150
3210
  },
3151
3211
  /**
3152
3212
  * 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.
@@ -3538,23 +3598,33 @@ export class AnalyticsApi extends BaseAPI {
3538
3598
  return AnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, 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));
3539
3599
  }
3540
3600
  /**
3541
- * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, and performance metrics with independent pagination for popular results and filters
3601
+ * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
3542
3602
  * @summary Get Query Insights
3543
3603
  * @param {string} xStoreID Store ID
3544
3604
  * @param {string} query Search query to analyze
3545
3605
  * @param {string} [startTime] Start time in RFC3339 format
3546
3606
  * @param {string} [endTime] End time in RFC3339 format
3607
+ * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
3608
+ * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
3609
+ * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
3610
+ * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
3611
+ * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
3612
+ * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
3613
+ * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
3614
+ * @param {string} [compareTagValueFilter] Tag value filter for comparison period
3547
3615
  * @param {number} [resultsPage] Page number for popular results pagination
3548
3616
  * @param {number} [resultsPageSize] Number of results per page for popular results
3549
3617
  * @param {number} [filtersPage] Page number for popular filters pagination
3550
- * @param {number} [filtersPageSize] Number of filters per page for popular filters
3618
+ * @param {number} [filtersPageSize] Number of filters per page
3619
+ * @param {number} [geoPage] Page number for geo analytics pagination
3620
+ * @param {number} [geoPageSize] Number of geo locations per page
3551
3621
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3552
3622
  * @param {*} [options] Override http request option.
3553
3623
  * @throws {RequiredError}
3554
3624
  * @memberof AnalyticsApi
3555
3625
  */
3556
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options) {
3557
- return AnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options).then((request) => request(this.axios, this.basePath));
3626
+ adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, filtersPage, filtersPageSize, geoPage, geoPageSize, includeWidget, options) {
3627
+ 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));
3558
3628
  }
3559
3629
  /**
3560
3630
  * 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.
@@ -3896,6 +3966,13 @@ export const AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = {
3896
3966
  Asc: 'asc',
3897
3967
  Desc: 'desc'
3898
3968
  };
3969
+ /**
3970
+ * @export
3971
+ */
3972
+ export const AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = {
3973
+ Any: 'any',
3974
+ All: 'all'
3975
+ };
3899
3976
  /**
3900
3977
  * @export
3901
3978
  */
@@ -7335,6 +7412,129 @@ export const ItemAnalyticsApiAxiosParamCreator = function (configuration) {
7335
7412
  options: localVarRequestOptions,
7336
7413
  };
7337
7414
  }),
7415
+ /**
7416
+ * Retrieve comprehensive analytics insights for a specific item including popular queries, filters, position distribution, geo analytics, and performance metrics with pagination support for subsections and optional comparison mode
7417
+ * @summary Get Item Insights
7418
+ * @param {string} xStoreID Store ID
7419
+ * @param {string} itemId Item ID to analyze
7420
+ * @param {string} [startTime] Start time in RFC3339 format
7421
+ * @param {string} [endTime] End time in RFC3339 format
7422
+ * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
7423
+ * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
7424
+ * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
7425
+ * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
7426
+ * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
7427
+ * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
7428
+ * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
7429
+ * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
7430
+ * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
7431
+ * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
7432
+ * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
7433
+ * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
7434
+ * @param {string} [compareTagValueFilter] Tag value filter for comparison period
7435
+ * @param {number} [resultsPage] Page number for popular queries pagination
7436
+ * @param {number} [resultsPageSize] Number of queries per page for popular queries
7437
+ * @param {number} [filtersPage] Page number for popular filters pagination
7438
+ * @param {number} [filtersPageSize] Number of filters per page
7439
+ * @param {number} [geoPage] Page number for geo analytics pagination
7440
+ * @param {number} [geoPageSize] Number of geo locations per page
7441
+ * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum} [groupBy] Include performance trends by date
7442
+ * @param {*} [options] Override http request option.
7443
+ * @throws {RequiredError}
7444
+ */
7445
+ 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 = {}) {
7446
+ // verify required parameter 'xStoreID' is not null or undefined
7447
+ assertParamExists('adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet', 'xStoreID', xStoreID);
7448
+ // verify required parameter 'itemId' is not null or undefined
7449
+ assertParamExists('adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet', 'itemId', itemId);
7450
+ const localVarPath = `/admin/analytics/store/{xStoreID}/items/{itemId}/insights`
7451
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
7452
+ .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
7453
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7454
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7455
+ let baseOptions;
7456
+ if (configuration) {
7457
+ baseOptions = configuration.baseOptions;
7458
+ }
7459
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7460
+ const localVarHeaderParameter = {};
7461
+ const localVarQueryParameter = {};
7462
+ // authentication BearerAuth required
7463
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
7464
+ if (startTime !== undefined) {
7465
+ localVarQueryParameter['start_time'] = startTime;
7466
+ }
7467
+ if (endTime !== undefined) {
7468
+ localVarQueryParameter['end_time'] = endTime;
7469
+ }
7470
+ if (analyticsTags !== undefined) {
7471
+ localVarQueryParameter['analytics_tags'] = analyticsTags;
7472
+ }
7473
+ if (tagsMatchMode !== undefined) {
7474
+ localVarQueryParameter['tags_match_mode'] = tagsMatchMode;
7475
+ }
7476
+ if (tagsExclude !== undefined) {
7477
+ localVarQueryParameter['tags_exclude'] = tagsExclude;
7478
+ }
7479
+ if (tagKeyFilter !== undefined) {
7480
+ localVarQueryParameter['tag_key_filter'] = tagKeyFilter;
7481
+ }
7482
+ if (tagValueFilter !== undefined) {
7483
+ localVarQueryParameter['tag_value_filter'] = tagValueFilter;
7484
+ }
7485
+ if (compareMode !== undefined) {
7486
+ localVarQueryParameter['compare_mode'] = compareMode;
7487
+ }
7488
+ if (compareStartTime !== undefined) {
7489
+ localVarQueryParameter['compare_start_time'] = compareStartTime;
7490
+ }
7491
+ if (compareEndTime !== undefined) {
7492
+ localVarQueryParameter['compare_end_time'] = compareEndTime;
7493
+ }
7494
+ if (compareAnalyticsTags !== undefined) {
7495
+ localVarQueryParameter['compare_analytics_tags'] = compareAnalyticsTags;
7496
+ }
7497
+ if (compareTagsMatchMode !== undefined) {
7498
+ localVarQueryParameter['compare_tags_match_mode'] = compareTagsMatchMode;
7499
+ }
7500
+ if (compareTagsExclude !== undefined) {
7501
+ localVarQueryParameter['compare_tags_exclude'] = compareTagsExclude;
7502
+ }
7503
+ if (compareTagKeyFilter !== undefined) {
7504
+ localVarQueryParameter['compare_tag_key_filter'] = compareTagKeyFilter;
7505
+ }
7506
+ if (compareTagValueFilter !== undefined) {
7507
+ localVarQueryParameter['compare_tag_value_filter'] = compareTagValueFilter;
7508
+ }
7509
+ if (resultsPage !== undefined) {
7510
+ localVarQueryParameter['results_page'] = resultsPage;
7511
+ }
7512
+ if (resultsPageSize !== undefined) {
7513
+ localVarQueryParameter['results_page_size'] = resultsPageSize;
7514
+ }
7515
+ if (filtersPage !== undefined) {
7516
+ localVarQueryParameter['filters_page'] = filtersPage;
7517
+ }
7518
+ if (filtersPageSize !== undefined) {
7519
+ localVarQueryParameter['filters_page_size'] = filtersPageSize;
7520
+ }
7521
+ if (geoPage !== undefined) {
7522
+ localVarQueryParameter['geo_page'] = geoPage;
7523
+ }
7524
+ if (geoPageSize !== undefined) {
7525
+ localVarQueryParameter['geo_page_size'] = geoPageSize;
7526
+ }
7527
+ if (groupBy !== undefined) {
7528
+ localVarQueryParameter['group_by'] = groupBy;
7529
+ }
7530
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7531
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7532
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7533
+ return {
7534
+ url: toPathString(localVarUrlObj),
7535
+ options: localVarRequestOptions,
7536
+ };
7537
+ }),
7338
7538
  /**
7339
7539
  * Retrieve detailed performance metrics for items including click-through rates, conversion rates, and revenue data
7340
7540
  * @summary Get Item Performance Analytics
@@ -7685,6 +7885,45 @@ export const ItemAnalyticsApiFp = function (configuration) {
7685
7885
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7686
7886
  });
7687
7887
  },
7888
+ /**
7889
+ * Retrieve comprehensive analytics insights for a specific item including popular queries, filters, position distribution, geo analytics, and performance metrics with pagination support for subsections and optional comparison mode
7890
+ * @summary Get Item Insights
7891
+ * @param {string} xStoreID Store ID
7892
+ * @param {string} itemId Item ID to analyze
7893
+ * @param {string} [startTime] Start time in RFC3339 format
7894
+ * @param {string} [endTime] End time in RFC3339 format
7895
+ * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
7896
+ * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
7897
+ * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
7898
+ * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
7899
+ * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
7900
+ * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
7901
+ * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
7902
+ * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
7903
+ * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
7904
+ * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
7905
+ * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
7906
+ * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
7907
+ * @param {string} [compareTagValueFilter] Tag value filter for comparison period
7908
+ * @param {number} [resultsPage] Page number for popular queries pagination
7909
+ * @param {number} [resultsPageSize] Number of queries per page for popular queries
7910
+ * @param {number} [filtersPage] Page number for popular filters pagination
7911
+ * @param {number} [filtersPageSize] Number of filters per page
7912
+ * @param {number} [geoPage] Page number for geo analytics pagination
7913
+ * @param {number} [geoPageSize] Number of geo locations per page
7914
+ * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum} [groupBy] Include performance trends by date
7915
+ * @param {*} [options] Override http request option.
7916
+ * @throws {RequiredError}
7917
+ */
7918
+ 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) {
7919
+ return __awaiter(this, void 0, void 0, function* () {
7920
+ var _a, _b, _c;
7921
+ 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);
7922
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7923
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemAnalyticsApi.adminAnalyticsStoreXStoreIDItemsItemIdInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7924
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7925
+ });
7926
+ },
7688
7927
  /**
7689
7928
  * Retrieve detailed performance metrics for items including click-through rates, conversion rates, and revenue data
7690
7929
  * @summary Get Item Performance Analytics
@@ -7852,6 +8091,39 @@ export const ItemAnalyticsApiFactory = function (configuration, basePath, axios)
7852
8091
  adminAnalyticsStoreXStoreIDItemsItemIdGet(xStoreID, itemId, startTime, endTime, options) {
7853
8092
  return localVarFp.adminAnalyticsStoreXStoreIDItemsItemIdGet(xStoreID, itemId, startTime, endTime, options).then((request) => request(axios, basePath));
7854
8093
  },
8094
+ /**
8095
+ * Retrieve comprehensive analytics insights for a specific item including popular queries, filters, position distribution, geo analytics, and performance metrics with pagination support for subsections and optional comparison mode
8096
+ * @summary Get Item Insights
8097
+ * @param {string} xStoreID Store ID
8098
+ * @param {string} itemId Item ID to analyze
8099
+ * @param {string} [startTime] Start time in RFC3339 format
8100
+ * @param {string} [endTime] End time in RFC3339 format
8101
+ * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
8102
+ * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
8103
+ * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
8104
+ * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
8105
+ * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
8106
+ * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
8107
+ * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
8108
+ * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
8109
+ * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
8110
+ * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
8111
+ * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
8112
+ * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
8113
+ * @param {string} [compareTagValueFilter] Tag value filter for comparison period
8114
+ * @param {number} [resultsPage] Page number for popular queries pagination
8115
+ * @param {number} [resultsPageSize] Number of queries per page for popular queries
8116
+ * @param {number} [filtersPage] Page number for popular filters pagination
8117
+ * @param {number} [filtersPageSize] Number of filters per page
8118
+ * @param {number} [geoPage] Page number for geo analytics pagination
8119
+ * @param {number} [geoPageSize] Number of geo locations per page
8120
+ * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum} [groupBy] Include performance trends by date
8121
+ * @param {*} [options] Override http request option.
8122
+ * @throws {RequiredError}
8123
+ */
8124
+ 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) {
8125
+ 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));
8126
+ },
7855
8127
  /**
7856
8128
  * Retrieve detailed performance metrics for items including click-through rates, conversion rates, and revenue data
7857
8129
  * @summary Get Item Performance Analytics
@@ -8005,6 +8277,40 @@ export class ItemAnalyticsApi extends BaseAPI {
8005
8277
  adminAnalyticsStoreXStoreIDItemsItemIdGet(xStoreID, itemId, startTime, endTime, options) {
8006
8278
  return ItemAnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDItemsItemIdGet(xStoreID, itemId, startTime, endTime, options).then((request) => request(this.axios, this.basePath));
8007
8279
  }
8280
+ /**
8281
+ * Retrieve comprehensive analytics insights for a specific item including popular queries, filters, position distribution, geo analytics, and performance metrics with pagination support for subsections and optional comparison mode
8282
+ * @summary Get Item Insights
8283
+ * @param {string} xStoreID Store ID
8284
+ * @param {string} itemId Item ID to analyze
8285
+ * @param {string} [startTime] Start time in RFC3339 format
8286
+ * @param {string} [endTime] End time in RFC3339 format
8287
+ * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
8288
+ * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
8289
+ * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
8290
+ * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
8291
+ * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
8292
+ * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
8293
+ * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
8294
+ * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
8295
+ * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
8296
+ * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
8297
+ * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
8298
+ * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
8299
+ * @param {string} [compareTagValueFilter] Tag value filter for comparison period
8300
+ * @param {number} [resultsPage] Page number for popular queries pagination
8301
+ * @param {number} [resultsPageSize] Number of queries per page for popular queries
8302
+ * @param {number} [filtersPage] Page number for popular filters pagination
8303
+ * @param {number} [filtersPageSize] Number of filters per page
8304
+ * @param {number} [geoPage] Page number for geo analytics pagination
8305
+ * @param {number} [geoPageSize] Number of geo locations per page
8306
+ * @param {AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum} [groupBy] Include performance trends by date
8307
+ * @param {*} [options] Override http request option.
8308
+ * @throws {RequiredError}
8309
+ * @memberof ItemAnalyticsApi
8310
+ */
8311
+ 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) {
8312
+ 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));
8313
+ }
8008
8314
  /**
8009
8315
  * Retrieve detailed performance metrics for items including click-through rates, conversion rates, and revenue data
8010
8316
  * @summary Get Item Performance Analytics
@@ -8109,6 +8415,26 @@ export const AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = {
8109
8415
  Asc: 'asc',
8110
8416
  Desc: 'desc'
8111
8417
  };
8418
+ /**
8419
+ * @export
8420
+ */
8421
+ export const AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = {
8422
+ Any: 'any',
8423
+ All: 'all'
8424
+ };
8425
+ /**
8426
+ * @export
8427
+ */
8428
+ export const AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = {
8429
+ Any: 'any',
8430
+ All: 'all'
8431
+ };
8432
+ /**
8433
+ * @export
8434
+ */
8435
+ export const AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = {
8436
+ Date: 'date'
8437
+ };
8112
8438
  /**
8113
8439
  * @export
8114
8440
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file