@seekora-ai/admin-api 1.0.47 → 1.0.48

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,16 +1993,21 @@ 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
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
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 {number} [resultsPage] Page number for popular results pagination
2003
+ * @param {number} [resultsPageSize] Number of results per page for popular results
2004
+ * @param {number} [filtersPage] Page number for popular filters pagination
2005
+ * @param {number} [filtersPageSize] Number of filters per page for popular filters
2006
+ * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
2002
2007
  * @param {*} [options] Override http request option.
2003
2008
  * @throws {RequiredError}
2004
2009
  */
2005
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet: (xStoreID_1, query_1, startTime_1, endTime_1, ...args_1) => __awaiter(this, [xStoreID_1, query_1, startTime_1, endTime_1, ...args_1], void 0, function* (xStoreID, query, startTime, endTime, options = {}) {
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 = {}) {
2006
2011
  // verify required parameter 'xStoreID' is not null or undefined
2007
2012
  assertParamExists('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'xStoreID', xStoreID);
2008
2013
  // verify required parameter 'query' is not null or undefined
@@ -2027,6 +2032,21 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
2027
2032
  if (endTime !== undefined) {
2028
2033
  localVarQueryParameter['end_time'] = endTime;
2029
2034
  }
2035
+ if (resultsPage !== undefined) {
2036
+ localVarQueryParameter['results_page'] = resultsPage;
2037
+ }
2038
+ if (resultsPageSize !== undefined) {
2039
+ localVarQueryParameter['results_page_size'] = resultsPageSize;
2040
+ }
2041
+ if (filtersPage !== undefined) {
2042
+ localVarQueryParameter['filters_page'] = filtersPage;
2043
+ }
2044
+ if (filtersPageSize !== undefined) {
2045
+ localVarQueryParameter['filters_page_size'] = filtersPageSize;
2046
+ }
2047
+ if (includeWidget !== undefined) {
2048
+ localVarQueryParameter['include_widget'] = includeWidget;
2049
+ }
2030
2050
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2031
2051
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2032
2052
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2693,19 +2713,24 @@ export const AnalyticsApiFp = function (configuration) {
2693
2713
  });
2694
2714
  },
2695
2715
  /**
2696
- * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, and performance metrics
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
2697
2717
  * @summary Get Query Insights
2698
2718
  * @param {string} xStoreID Store ID
2699
2719
  * @param {string} query Search query to analyze
2700
2720
  * @param {string} [startTime] Start time in RFC3339 format
2701
2721
  * @param {string} [endTime] End time in RFC3339 format
2722
+ * @param {number} [resultsPage] Page number for popular results pagination
2723
+ * @param {number} [resultsPageSize] Number of results per page for popular results
2724
+ * @param {number} [filtersPage] Page number for popular filters pagination
2725
+ * @param {number} [filtersPageSize] Number of filters per page for popular filters
2726
+ * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
2702
2727
  * @param {*} [options] Override http request option.
2703
2728
  * @throws {RequiredError}
2704
2729
  */
2705
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, options) {
2730
+ adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options) {
2706
2731
  return __awaiter(this, void 0, void 0, function* () {
2707
2732
  var _a, _b, _c;
2708
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, options);
2733
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options);
2709
2734
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2710
2735
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2711
2736
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3106,17 +3131,22 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3106
3131
  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));
3107
3132
  },
3108
3133
  /**
3109
- * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, and performance metrics
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
3110
3135
  * @summary Get Query Insights
3111
3136
  * @param {string} xStoreID Store ID
3112
3137
  * @param {string} query Search query to analyze
3113
3138
  * @param {string} [startTime] Start time in RFC3339 format
3114
3139
  * @param {string} [endTime] End time in RFC3339 format
3140
+ * @param {number} [resultsPage] Page number for popular results pagination
3141
+ * @param {number} [resultsPageSize] Number of results per page for popular results
3142
+ * @param {number} [filtersPage] Page number for popular filters pagination
3143
+ * @param {number} [filtersPageSize] Number of filters per page for popular filters
3144
+ * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3115
3145
  * @param {*} [options] Override http request option.
3116
3146
  * @throws {RequiredError}
3117
3147
  */
3118
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, options) {
3119
- return localVarFp.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, options).then((request) => request(axios, basePath));
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));
3120
3150
  },
3121
3151
  /**
3122
3152
  * 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.
@@ -3508,18 +3538,23 @@ export class AnalyticsApi extends BaseAPI {
3508
3538
  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));
3509
3539
  }
3510
3540
  /**
3511
- * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, and performance metrics
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
3512
3542
  * @summary Get Query Insights
3513
3543
  * @param {string} xStoreID Store ID
3514
3544
  * @param {string} query Search query to analyze
3515
3545
  * @param {string} [startTime] Start time in RFC3339 format
3516
3546
  * @param {string} [endTime] End time in RFC3339 format
3547
+ * @param {number} [resultsPage] Page number for popular results pagination
3548
+ * @param {number} [resultsPageSize] Number of results per page for popular results
3549
+ * @param {number} [filtersPage] Page number for popular filters pagination
3550
+ * @param {number} [filtersPageSize] Number of filters per page for popular filters
3551
+ * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3517
3552
  * @param {*} [options] Override http request option.
3518
3553
  * @throws {RequiredError}
3519
3554
  * @memberof AnalyticsApi
3520
3555
  */
3521
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, options) {
3522
- return AnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, options).then((request) => request(this.axios, this.basePath));
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));
3523
3558
  }
3524
3559
  /**
3525
3560
  * 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file