@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/api.js CHANGED
@@ -2007,16 +2007,21 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
2007
2007
  };
2008
2008
  }),
2009
2009
  /**
2010
- * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, and performance metrics
2010
+ * 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
2011
2011
  * @summary Get Query Insights
2012
2012
  * @param {string} xStoreID Store ID
2013
2013
  * @param {string} query Search query to analyze
2014
2014
  * @param {string} [startTime] Start time in RFC3339 format
2015
2015
  * @param {string} [endTime] End time in RFC3339 format
2016
+ * @param {number} [resultsPage] Page number for popular results pagination
2017
+ * @param {number} [resultsPageSize] Number of results per page for popular results
2018
+ * @param {number} [filtersPage] Page number for popular filters pagination
2019
+ * @param {number} [filtersPageSize] Number of filters per page for popular filters
2020
+ * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
2016
2021
  * @param {*} [options] Override http request option.
2017
2022
  * @throws {RequiredError}
2018
2023
  */
2019
- 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 = {}) {
2024
+ 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
2025
  // verify required parameter 'xStoreID' is not null or undefined
2021
2026
  (0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'xStoreID', xStoreID);
2022
2027
  // verify required parameter 'query' is not null or undefined
@@ -2041,6 +2046,21 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
2041
2046
  if (endTime !== undefined) {
2042
2047
  localVarQueryParameter['end_time'] = endTime;
2043
2048
  }
2049
+ if (resultsPage !== undefined) {
2050
+ localVarQueryParameter['results_page'] = resultsPage;
2051
+ }
2052
+ if (resultsPageSize !== undefined) {
2053
+ localVarQueryParameter['results_page_size'] = resultsPageSize;
2054
+ }
2055
+ if (filtersPage !== undefined) {
2056
+ localVarQueryParameter['filters_page'] = filtersPage;
2057
+ }
2058
+ if (filtersPageSize !== undefined) {
2059
+ localVarQueryParameter['filters_page_size'] = filtersPageSize;
2060
+ }
2061
+ if (includeWidget !== undefined) {
2062
+ localVarQueryParameter['include_widget'] = includeWidget;
2063
+ }
2044
2064
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2045
2065
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2046
2066
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2708,19 +2728,24 @@ const AnalyticsApiFp = function (configuration) {
2708
2728
  });
2709
2729
  },
2710
2730
  /**
2711
- * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, and performance metrics
2731
+ * 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
2712
2732
  * @summary Get Query Insights
2713
2733
  * @param {string} xStoreID Store ID
2714
2734
  * @param {string} query Search query to analyze
2715
2735
  * @param {string} [startTime] Start time in RFC3339 format
2716
2736
  * @param {string} [endTime] End time in RFC3339 format
2737
+ * @param {number} [resultsPage] Page number for popular results pagination
2738
+ * @param {number} [resultsPageSize] Number of results per page for popular results
2739
+ * @param {number} [filtersPage] Page number for popular filters pagination
2740
+ * @param {number} [filtersPageSize] Number of filters per page for popular filters
2741
+ * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
2717
2742
  * @param {*} [options] Override http request option.
2718
2743
  * @throws {RequiredError}
2719
2744
  */
2720
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, options) {
2745
+ adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options) {
2721
2746
  return __awaiter(this, void 0, void 0, function* () {
2722
2747
  var _a, _b, _c;
2723
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, options);
2748
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options);
2724
2749
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2725
2750
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2726
2751
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3122,17 +3147,22 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
3122
3147
  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));
3123
3148
  },
3124
3149
  /**
3125
- * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, and performance metrics
3150
+ * 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
3126
3151
  * @summary Get Query Insights
3127
3152
  * @param {string} xStoreID Store ID
3128
3153
  * @param {string} query Search query to analyze
3129
3154
  * @param {string} [startTime] Start time in RFC3339 format
3130
3155
  * @param {string} [endTime] End time in RFC3339 format
3156
+ * @param {number} [resultsPage] Page number for popular results pagination
3157
+ * @param {number} [resultsPageSize] Number of results per page for popular results
3158
+ * @param {number} [filtersPage] Page number for popular filters pagination
3159
+ * @param {number} [filtersPageSize] Number of filters per page for popular filters
3160
+ * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3131
3161
  * @param {*} [options] Override http request option.
3132
3162
  * @throws {RequiredError}
3133
3163
  */
3134
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, options) {
3135
- return localVarFp.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, options).then((request) => request(axios, basePath));
3164
+ adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options) {
3165
+ return localVarFp.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options).then((request) => request(axios, basePath));
3136
3166
  },
3137
3167
  /**
3138
3168
  * 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.
@@ -3525,18 +3555,23 @@ class AnalyticsApi extends base_1.BaseAPI {
3525
3555
  return (0, exports.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));
3526
3556
  }
3527
3557
  /**
3528
- * Retrieve comprehensive analytics for a specific search query including popular results, filters, click position histogram, and performance metrics
3558
+ * 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
3529
3559
  * @summary Get Query Insights
3530
3560
  * @param {string} xStoreID Store ID
3531
3561
  * @param {string} query Search query to analyze
3532
3562
  * @param {string} [startTime] Start time in RFC3339 format
3533
3563
  * @param {string} [endTime] End time in RFC3339 format
3564
+ * @param {number} [resultsPage] Page number for popular results pagination
3565
+ * @param {number} [resultsPageSize] Number of results per page for popular results
3566
+ * @param {number} [filtersPage] Page number for popular filters pagination
3567
+ * @param {number} [filtersPageSize] Number of filters per page for popular filters
3568
+ * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3534
3569
  * @param {*} [options] Override http request option.
3535
3570
  * @throws {RequiredError}
3536
3571
  * @memberof AnalyticsApi
3537
3572
  */
3538
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, options) {
3539
- return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, options).then((request) => request(this.axios, this.basePath));
3573
+ adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options) {
3574
+ return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, resultsPage, resultsPageSize, filtersPage, filtersPageSize, includeWidget, options).then((request) => request(this.axios, this.basePath));
3540
3575
  }
3541
3576
  /**
3542
3577
  * 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.