@seekora-ai/admin-api 1.0.63 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/VERSION +1 -1
- package/README.md +24 -3
- package/api.ts +1426 -40
- package/common.ts +4 -4
- package/dist/api.d.ts +1186 -94
- package/dist/api.js +554 -17
- package/dist/esm/api.d.ts +1186 -94
- package/dist/esm/api.js +549 -12
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.64.tgz +0 -0
- package/seekora-ai-admin-api-1.0.63.tgz +0 -0
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'
|
|
@@ -2397,11 +2420,11 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2397
2420
|
};
|
|
2398
2421
|
}),
|
|
2399
2422
|
/**
|
|
2400
|
-
* Retrieve analytics tags usage data and filtering capabilities
|
|
2423
|
+
* 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
2424
|
* @summary Get Analytics Tags
|
|
2402
2425
|
* @param {string} xStoreID Store ID
|
|
2403
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
2404
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
2426
|
+
* @param {string} [startTime] Start time in RFC3339 format. If not specified, returns all tags from 2 years ago
|
|
2427
|
+
* @param {string} [endTime] End time in RFC3339 format. If not specified, returns all tags until now
|
|
2405
2428
|
* @param {string} [search] Search term for tag keys and values (case-insensitive partial match)
|
|
2406
2429
|
* @param {string} [tagKey] Filter by specific tag key (exact match)
|
|
2407
2430
|
* @param {string} [tagValue] Filter by specific tag value (exact match)
|
|
@@ -3035,11 +3058,11 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
3035
3058
|
});
|
|
3036
3059
|
},
|
|
3037
3060
|
/**
|
|
3038
|
-
* Retrieve analytics tags usage data and filtering capabilities
|
|
3061
|
+
* 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
3062
|
* @summary Get Analytics Tags
|
|
3040
3063
|
* @param {string} xStoreID Store ID
|
|
3041
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
3042
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
3064
|
+
* @param {string} [startTime] Start time in RFC3339 format. If not specified, returns all tags from 2 years ago
|
|
3065
|
+
* @param {string} [endTime] End time in RFC3339 format. If not specified, returns all tags until now
|
|
3043
3066
|
* @param {string} [search] Search term for tag keys and values (case-insensitive partial match)
|
|
3044
3067
|
* @param {string} [tagKey] Filter by specific tag key (exact match)
|
|
3045
3068
|
* @param {string} [tagValue] Filter by specific tag value (exact match)
|
|
@@ -3485,11 +3508,11 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3485
3508
|
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
3509
|
},
|
|
3487
3510
|
/**
|
|
3488
|
-
* Retrieve analytics tags usage data and filtering capabilities
|
|
3511
|
+
* 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
3512
|
* @summary Get Analytics Tags
|
|
3490
3513
|
* @param {string} xStoreID Store ID
|
|
3491
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
3492
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
3514
|
+
* @param {string} [startTime] Start time in RFC3339 format. If not specified, returns all tags from 2 years ago
|
|
3515
|
+
* @param {string} [endTime] End time in RFC3339 format. If not specified, returns all tags until now
|
|
3493
3516
|
* @param {string} [search] Search term for tag keys and values (case-insensitive partial match)
|
|
3494
3517
|
* @param {string} [tagKey] Filter by specific tag key (exact match)
|
|
3495
3518
|
* @param {string} [tagValue] Filter by specific tag value (exact match)
|
|
@@ -3939,11 +3962,11 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3939
3962
|
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
3963
|
}
|
|
3941
3964
|
/**
|
|
3942
|
-
* Retrieve analytics tags usage data and filtering capabilities
|
|
3965
|
+
* 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
3966
|
* @summary Get Analytics Tags
|
|
3944
3967
|
* @param {string} xStoreID Store ID
|
|
3945
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
3946
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
3968
|
+
* @param {string} [startTime] Start time in RFC3339 format. If not specified, returns all tags from 2 years ago
|
|
3969
|
+
* @param {string} [endTime] End time in RFC3339 format. If not specified, returns all tags until now
|
|
3947
3970
|
* @param {string} [search] Search term for tag keys and values (case-insensitive partial match)
|
|
3948
3971
|
* @param {string} [tagKey] Filter by specific tag key (exact match)
|
|
3949
3972
|
* @param {string} [tagValue] Filter by specific tag value (exact match)
|
|
@@ -16011,6 +16034,184 @@ export const QuerySuggestionsManagementApiAxiosParamCreator = function (configur
|
|
|
16011
16034
|
options: localVarRequestOptions,
|
|
16012
16035
|
};
|
|
16013
16036
|
}),
|
|
16037
|
+
/**
|
|
16038
|
+
* Apply filters to remove duplicate or unhelpful suggestions based on configuration
|
|
16039
|
+
* @summary Apply Suggestion Filters
|
|
16040
|
+
* @param {string} xStoreID Store ID
|
|
16041
|
+
* @param {Array<AnalyticsQuerySuggestionRecord>} analyticsQuerySuggestionRecord Array of suggestions to filter
|
|
16042
|
+
* @param {*} [options] Override http request option.
|
|
16043
|
+
* @throws {RequiredError}
|
|
16044
|
+
*/
|
|
16045
|
+
adminV1QuerySuggestionsXStoreIDApplyFiltersPost: (xStoreID_1, analyticsQuerySuggestionRecord_1, ...args_1) => __awaiter(this, [xStoreID_1, analyticsQuerySuggestionRecord_1, ...args_1], void 0, function* (xStoreID, analyticsQuerySuggestionRecord, options = {}) {
|
|
16046
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16047
|
+
assertParamExists('adminV1QuerySuggestionsXStoreIDApplyFiltersPost', 'xStoreID', xStoreID);
|
|
16048
|
+
// verify required parameter 'analyticsQuerySuggestionRecord' is not null or undefined
|
|
16049
|
+
assertParamExists('adminV1QuerySuggestionsXStoreIDApplyFiltersPost', 'analyticsQuerySuggestionRecord', analyticsQuerySuggestionRecord);
|
|
16050
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/apply-filters`
|
|
16051
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
16052
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16053
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16054
|
+
let baseOptions;
|
|
16055
|
+
if (configuration) {
|
|
16056
|
+
baseOptions = configuration.baseOptions;
|
|
16057
|
+
}
|
|
16058
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16059
|
+
const localVarHeaderParameter = {};
|
|
16060
|
+
const localVarQueryParameter = {};
|
|
16061
|
+
// authentication BearerAuth required
|
|
16062
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
16063
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16064
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16065
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16066
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16067
|
+
localVarRequestOptions.data = serializeDataIfNeeded(analyticsQuerySuggestionRecord, localVarRequestOptions, configuration);
|
|
16068
|
+
return {
|
|
16069
|
+
url: toPathString(localVarUrlObj),
|
|
16070
|
+
options: localVarRequestOptions,
|
|
16071
|
+
};
|
|
16072
|
+
}),
|
|
16073
|
+
/**
|
|
16074
|
+
* Delete a banned expression
|
|
16075
|
+
* @summary Delete Banned Expression
|
|
16076
|
+
* @param {string} xStoreID Store ID
|
|
16077
|
+
* @param {string} expressionID Banned Expression ID
|
|
16078
|
+
* @param {*} [options] Override http request option.
|
|
16079
|
+
* @throws {RequiredError}
|
|
16080
|
+
*/
|
|
16081
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete: (xStoreID_1, expressionID_1, ...args_1) => __awaiter(this, [xStoreID_1, expressionID_1, ...args_1], void 0, function* (xStoreID, expressionID, options = {}) {
|
|
16082
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16083
|
+
assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete', 'xStoreID', xStoreID);
|
|
16084
|
+
// verify required parameter 'expressionID' is not null or undefined
|
|
16085
|
+
assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete', 'expressionID', expressionID);
|
|
16086
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions/{expressionID}`
|
|
16087
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
16088
|
+
.replace(`{${"expressionID"}}`, encodeURIComponent(String(expressionID)));
|
|
16089
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16090
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16091
|
+
let baseOptions;
|
|
16092
|
+
if (configuration) {
|
|
16093
|
+
baseOptions = configuration.baseOptions;
|
|
16094
|
+
}
|
|
16095
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
16096
|
+
const localVarHeaderParameter = {};
|
|
16097
|
+
const localVarQueryParameter = {};
|
|
16098
|
+
// authentication BearerAuth required
|
|
16099
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
16100
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16101
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16102
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16103
|
+
return {
|
|
16104
|
+
url: toPathString(localVarUrlObj),
|
|
16105
|
+
options: localVarRequestOptions,
|
|
16106
|
+
};
|
|
16107
|
+
}),
|
|
16108
|
+
/**
|
|
16109
|
+
* Update an existing banned expression
|
|
16110
|
+
* @summary Update Banned Expression
|
|
16111
|
+
* @param {string} xStoreID Store ID
|
|
16112
|
+
* @param {string} expressionID Banned Expression ID
|
|
16113
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Updated banned expression
|
|
16114
|
+
* @param {*} [options] Override http request option.
|
|
16115
|
+
* @throws {RequiredError}
|
|
16116
|
+
*/
|
|
16117
|
+
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 = {}) {
|
|
16118
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16119
|
+
assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut', 'xStoreID', xStoreID);
|
|
16120
|
+
// verify required parameter 'expressionID' is not null or undefined
|
|
16121
|
+
assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut', 'expressionID', expressionID);
|
|
16122
|
+
// verify required parameter 'analyticsBannedExpression' is not null or undefined
|
|
16123
|
+
assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut', 'analyticsBannedExpression', analyticsBannedExpression);
|
|
16124
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions/{expressionID}`
|
|
16125
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
16126
|
+
.replace(`{${"expressionID"}}`, encodeURIComponent(String(expressionID)));
|
|
16127
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16128
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16129
|
+
let baseOptions;
|
|
16130
|
+
if (configuration) {
|
|
16131
|
+
baseOptions = configuration.baseOptions;
|
|
16132
|
+
}
|
|
16133
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
16134
|
+
const localVarHeaderParameter = {};
|
|
16135
|
+
const localVarQueryParameter = {};
|
|
16136
|
+
// authentication BearerAuth required
|
|
16137
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
16138
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16139
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16140
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16141
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16142
|
+
localVarRequestOptions.data = serializeDataIfNeeded(analyticsBannedExpression, localVarRequestOptions, configuration);
|
|
16143
|
+
return {
|
|
16144
|
+
url: toPathString(localVarUrlObj),
|
|
16145
|
+
options: localVarRequestOptions,
|
|
16146
|
+
};
|
|
16147
|
+
}),
|
|
16148
|
+
/**
|
|
16149
|
+
* Retrieve all banned expressions for a store with their matching types
|
|
16150
|
+
* @summary Get Banned Expressions
|
|
16151
|
+
* @param {string} xStoreID Store ID
|
|
16152
|
+
* @param {*} [options] Override http request option.
|
|
16153
|
+
* @throws {RequiredError}
|
|
16154
|
+
*/
|
|
16155
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
16156
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16157
|
+
assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsGet', 'xStoreID', xStoreID);
|
|
16158
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions`
|
|
16159
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
16160
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16161
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16162
|
+
let baseOptions;
|
|
16163
|
+
if (configuration) {
|
|
16164
|
+
baseOptions = configuration.baseOptions;
|
|
16165
|
+
}
|
|
16166
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
16167
|
+
const localVarHeaderParameter = {};
|
|
16168
|
+
const localVarQueryParameter = {};
|
|
16169
|
+
// authentication BearerAuth required
|
|
16170
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
16171
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16172
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16173
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16174
|
+
return {
|
|
16175
|
+
url: toPathString(localVarUrlObj),
|
|
16176
|
+
options: localVarRequestOptions,
|
|
16177
|
+
};
|
|
16178
|
+
}),
|
|
16179
|
+
/**
|
|
16180
|
+
* Create a new banned expression with specified matching type
|
|
16181
|
+
* @summary Create Banned Expression
|
|
16182
|
+
* @param {string} xStoreID Store ID
|
|
16183
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Banned expression to create
|
|
16184
|
+
* @param {*} [options] Override http request option.
|
|
16185
|
+
* @throws {RequiredError}
|
|
16186
|
+
*/
|
|
16187
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost: (xStoreID_1, analyticsBannedExpression_1, ...args_1) => __awaiter(this, [xStoreID_1, analyticsBannedExpression_1, ...args_1], void 0, function* (xStoreID, analyticsBannedExpression, options = {}) {
|
|
16188
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16189
|
+
assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsPost', 'xStoreID', xStoreID);
|
|
16190
|
+
// verify required parameter 'analyticsBannedExpression' is not null or undefined
|
|
16191
|
+
assertParamExists('adminV1QuerySuggestionsXStoreIDBannedExpressionsPost', 'analyticsBannedExpression', analyticsBannedExpression);
|
|
16192
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions`
|
|
16193
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
16194
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16195
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16196
|
+
let baseOptions;
|
|
16197
|
+
if (configuration) {
|
|
16198
|
+
baseOptions = configuration.baseOptions;
|
|
16199
|
+
}
|
|
16200
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16201
|
+
const localVarHeaderParameter = {};
|
|
16202
|
+
const localVarQueryParameter = {};
|
|
16203
|
+
// authentication BearerAuth required
|
|
16204
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
16205
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16206
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16207
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16208
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16209
|
+
localVarRequestOptions.data = serializeDataIfNeeded(analyticsBannedExpression, localVarRequestOptions, configuration);
|
|
16210
|
+
return {
|
|
16211
|
+
url: toPathString(localVarUrlObj),
|
|
16212
|
+
options: localVarRequestOptions,
|
|
16213
|
+
};
|
|
16214
|
+
}),
|
|
16014
16215
|
/**
|
|
16015
16216
|
* Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
|
|
16016
16217
|
* @summary Bulk Update Suggestions
|
|
@@ -16157,6 +16358,68 @@ export const QuerySuggestionsManagementApiAxiosParamCreator = function (configur
|
|
|
16157
16358
|
options: localVarRequestOptions,
|
|
16158
16359
|
};
|
|
16159
16360
|
}),
|
|
16361
|
+
/**
|
|
16362
|
+
* Generate query suggestions with category counts and enhanced data structure
|
|
16363
|
+
* @summary Generate Enhanced Category Suggestions
|
|
16364
|
+
* @param {string} xStoreID Store ID
|
|
16365
|
+
* @param {*} [options] Override http request option.
|
|
16366
|
+
* @throws {RequiredError}
|
|
16367
|
+
*/
|
|
16368
|
+
adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
16369
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16370
|
+
assertParamExists('adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost', 'xStoreID', xStoreID);
|
|
16371
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/generate-categories`
|
|
16372
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
16373
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16374
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16375
|
+
let baseOptions;
|
|
16376
|
+
if (configuration) {
|
|
16377
|
+
baseOptions = configuration.baseOptions;
|
|
16378
|
+
}
|
|
16379
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16380
|
+
const localVarHeaderParameter = {};
|
|
16381
|
+
const localVarQueryParameter = {};
|
|
16382
|
+
// authentication BearerAuth required
|
|
16383
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
16384
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16385
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16386
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16387
|
+
return {
|
|
16388
|
+
url: toPathString(localVarUrlObj),
|
|
16389
|
+
options: localVarRequestOptions,
|
|
16390
|
+
};
|
|
16391
|
+
}),
|
|
16392
|
+
/**
|
|
16393
|
+
* Generate query suggestions based on facet combinations from search analytics data
|
|
16394
|
+
* @summary Generate Facet-Based Suggestions
|
|
16395
|
+
* @param {string} xStoreID Store ID
|
|
16396
|
+
* @param {*} [options] Override http request option.
|
|
16397
|
+
* @throws {RequiredError}
|
|
16398
|
+
*/
|
|
16399
|
+
adminV1QuerySuggestionsXStoreIDGenerateFacetsPost: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
16400
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
16401
|
+
assertParamExists('adminV1QuerySuggestionsXStoreIDGenerateFacetsPost', 'xStoreID', xStoreID);
|
|
16402
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/generate-facets`
|
|
16403
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
16404
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16405
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16406
|
+
let baseOptions;
|
|
16407
|
+
if (configuration) {
|
|
16408
|
+
baseOptions = configuration.baseOptions;
|
|
16409
|
+
}
|
|
16410
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16411
|
+
const localVarHeaderParameter = {};
|
|
16412
|
+
const localVarQueryParameter = {};
|
|
16413
|
+
// authentication BearerAuth required
|
|
16414
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
16415
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16416
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16417
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16418
|
+
return {
|
|
16419
|
+
url: toPathString(localVarUrlObj),
|
|
16420
|
+
options: localVarRequestOptions,
|
|
16421
|
+
};
|
|
16422
|
+
}),
|
|
16160
16423
|
/**
|
|
16161
16424
|
* Retrieve query suggestions with filtering and pagination for management
|
|
16162
16425
|
* @summary Get Query Suggestions
|
|
@@ -16822,6 +17085,91 @@ export const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
16822
17085
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16823
17086
|
});
|
|
16824
17087
|
},
|
|
17088
|
+
/**
|
|
17089
|
+
* Apply filters to remove duplicate or unhelpful suggestions based on configuration
|
|
17090
|
+
* @summary Apply Suggestion Filters
|
|
17091
|
+
* @param {string} xStoreID Store ID
|
|
17092
|
+
* @param {Array<AnalyticsQuerySuggestionRecord>} analyticsQuerySuggestionRecord Array of suggestions to filter
|
|
17093
|
+
* @param {*} [options] Override http request option.
|
|
17094
|
+
* @throws {RequiredError}
|
|
17095
|
+
*/
|
|
17096
|
+
adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options) {
|
|
17097
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17098
|
+
var _a, _b, _c;
|
|
17099
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options);
|
|
17100
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17101
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDApplyFiltersPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17102
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17103
|
+
});
|
|
17104
|
+
},
|
|
17105
|
+
/**
|
|
17106
|
+
* Delete a banned expression
|
|
17107
|
+
* @summary Delete Banned Expression
|
|
17108
|
+
* @param {string} xStoreID Store ID
|
|
17109
|
+
* @param {string} expressionID Banned Expression ID
|
|
17110
|
+
* @param {*} [options] Override http request option.
|
|
17111
|
+
* @throws {RequiredError}
|
|
17112
|
+
*/
|
|
17113
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options) {
|
|
17114
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17115
|
+
var _a, _b, _c;
|
|
17116
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options);
|
|
17117
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17118
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17119
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17120
|
+
});
|
|
17121
|
+
},
|
|
17122
|
+
/**
|
|
17123
|
+
* Update an existing banned expression
|
|
17124
|
+
* @summary Update Banned Expression
|
|
17125
|
+
* @param {string} xStoreID Store ID
|
|
17126
|
+
* @param {string} expressionID Banned Expression ID
|
|
17127
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Updated banned expression
|
|
17128
|
+
* @param {*} [options] Override http request option.
|
|
17129
|
+
* @throws {RequiredError}
|
|
17130
|
+
*/
|
|
17131
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options) {
|
|
17132
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17133
|
+
var _a, _b, _c;
|
|
17134
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options);
|
|
17135
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17136
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17137
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17138
|
+
});
|
|
17139
|
+
},
|
|
17140
|
+
/**
|
|
17141
|
+
* Retrieve all banned expressions for a store with their matching types
|
|
17142
|
+
* @summary Get Banned Expressions
|
|
17143
|
+
* @param {string} xStoreID Store ID
|
|
17144
|
+
* @param {*} [options] Override http request option.
|
|
17145
|
+
* @throws {RequiredError}
|
|
17146
|
+
*/
|
|
17147
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options) {
|
|
17148
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17149
|
+
var _a, _b, _c;
|
|
17150
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options);
|
|
17151
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17152
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17153
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17154
|
+
});
|
|
17155
|
+
},
|
|
17156
|
+
/**
|
|
17157
|
+
* Create a new banned expression with specified matching type
|
|
17158
|
+
* @summary Create Banned Expression
|
|
17159
|
+
* @param {string} xStoreID Store ID
|
|
17160
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Banned expression to create
|
|
17161
|
+
* @param {*} [options] Override http request option.
|
|
17162
|
+
* @throws {RequiredError}
|
|
17163
|
+
*/
|
|
17164
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options) {
|
|
17165
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17166
|
+
var _a, _b, _c;
|
|
17167
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options);
|
|
17168
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17169
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17170
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17171
|
+
});
|
|
17172
|
+
},
|
|
16825
17173
|
/**
|
|
16826
17174
|
* Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
|
|
16827
17175
|
* @summary Bulk Update Suggestions
|
|
@@ -16891,6 +17239,38 @@ export const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
16891
17239
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16892
17240
|
});
|
|
16893
17241
|
},
|
|
17242
|
+
/**
|
|
17243
|
+
* Generate query suggestions with category counts and enhanced data structure
|
|
17244
|
+
* @summary Generate Enhanced Category Suggestions
|
|
17245
|
+
* @param {string} xStoreID Store ID
|
|
17246
|
+
* @param {*} [options] Override http request option.
|
|
17247
|
+
* @throws {RequiredError}
|
|
17248
|
+
*/
|
|
17249
|
+
adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options) {
|
|
17250
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17251
|
+
var _a, _b, _c;
|
|
17252
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options);
|
|
17253
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17254
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17255
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17256
|
+
});
|
|
17257
|
+
},
|
|
17258
|
+
/**
|
|
17259
|
+
* Generate query suggestions based on facet combinations from search analytics data
|
|
17260
|
+
* @summary Generate Facet-Based Suggestions
|
|
17261
|
+
* @param {string} xStoreID Store ID
|
|
17262
|
+
* @param {*} [options] Override http request option.
|
|
17263
|
+
* @throws {RequiredError}
|
|
17264
|
+
*/
|
|
17265
|
+
adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options) {
|
|
17266
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17267
|
+
var _a, _b, _c;
|
|
17268
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options);
|
|
17269
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17270
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDGenerateFacetsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17271
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17272
|
+
});
|
|
17273
|
+
},
|
|
16894
17274
|
/**
|
|
16895
17275
|
* Retrieve query suggestions with filtering and pagination for management
|
|
16896
17276
|
* @summary Get Query Suggestions
|
|
@@ -17209,6 +17589,61 @@ export const QuerySuggestionsManagementApiFactory = function (configuration, bas
|
|
|
17209
17589
|
adminV1QuerySuggestionsMigrateAllPost(daysBack, minPopularity, options) {
|
|
17210
17590
|
return localVarFp.adminV1QuerySuggestionsMigrateAllPost(daysBack, minPopularity, options).then((request) => request(axios, basePath));
|
|
17211
17591
|
},
|
|
17592
|
+
/**
|
|
17593
|
+
* Apply filters to remove duplicate or unhelpful suggestions based on configuration
|
|
17594
|
+
* @summary Apply Suggestion Filters
|
|
17595
|
+
* @param {string} xStoreID Store ID
|
|
17596
|
+
* @param {Array<AnalyticsQuerySuggestionRecord>} analyticsQuerySuggestionRecord Array of suggestions to filter
|
|
17597
|
+
* @param {*} [options] Override http request option.
|
|
17598
|
+
* @throws {RequiredError}
|
|
17599
|
+
*/
|
|
17600
|
+
adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options) {
|
|
17601
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options).then((request) => request(axios, basePath));
|
|
17602
|
+
},
|
|
17603
|
+
/**
|
|
17604
|
+
* Delete a banned expression
|
|
17605
|
+
* @summary Delete Banned Expression
|
|
17606
|
+
* @param {string} xStoreID Store ID
|
|
17607
|
+
* @param {string} expressionID Banned Expression ID
|
|
17608
|
+
* @param {*} [options] Override http request option.
|
|
17609
|
+
* @throws {RequiredError}
|
|
17610
|
+
*/
|
|
17611
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options) {
|
|
17612
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options).then((request) => request(axios, basePath));
|
|
17613
|
+
},
|
|
17614
|
+
/**
|
|
17615
|
+
* Update an existing banned expression
|
|
17616
|
+
* @summary Update Banned Expression
|
|
17617
|
+
* @param {string} xStoreID Store ID
|
|
17618
|
+
* @param {string} expressionID Banned Expression ID
|
|
17619
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Updated banned expression
|
|
17620
|
+
* @param {*} [options] Override http request option.
|
|
17621
|
+
* @throws {RequiredError}
|
|
17622
|
+
*/
|
|
17623
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options) {
|
|
17624
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options).then((request) => request(axios, basePath));
|
|
17625
|
+
},
|
|
17626
|
+
/**
|
|
17627
|
+
* Retrieve all banned expressions for a store with their matching types
|
|
17628
|
+
* @summary Get Banned Expressions
|
|
17629
|
+
* @param {string} xStoreID Store ID
|
|
17630
|
+
* @param {*} [options] Override http request option.
|
|
17631
|
+
* @throws {RequiredError}
|
|
17632
|
+
*/
|
|
17633
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options) {
|
|
17634
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
17635
|
+
},
|
|
17636
|
+
/**
|
|
17637
|
+
* Create a new banned expression with specified matching type
|
|
17638
|
+
* @summary Create Banned Expression
|
|
17639
|
+
* @param {string} xStoreID Store ID
|
|
17640
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Banned expression to create
|
|
17641
|
+
* @param {*} [options] Override http request option.
|
|
17642
|
+
* @throws {RequiredError}
|
|
17643
|
+
*/
|
|
17644
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options) {
|
|
17645
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options).then((request) => request(axios, basePath));
|
|
17646
|
+
},
|
|
17212
17647
|
/**
|
|
17213
17648
|
* Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
|
|
17214
17649
|
* @summary Bulk Update Suggestions
|
|
@@ -17254,6 +17689,26 @@ export const QuerySuggestionsManagementApiFactory = function (configuration, bas
|
|
|
17254
17689
|
adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, analyticsUpdateSuggestionConfigRequest, options) {
|
|
17255
17690
|
return localVarFp.adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, analyticsUpdateSuggestionConfigRequest, options).then((request) => request(axios, basePath));
|
|
17256
17691
|
},
|
|
17692
|
+
/**
|
|
17693
|
+
* Generate query suggestions with category counts and enhanced data structure
|
|
17694
|
+
* @summary Generate Enhanced Category Suggestions
|
|
17695
|
+
* @param {string} xStoreID Store ID
|
|
17696
|
+
* @param {*} [options] Override http request option.
|
|
17697
|
+
* @throws {RequiredError}
|
|
17698
|
+
*/
|
|
17699
|
+
adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options) {
|
|
17700
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options).then((request) => request(axios, basePath));
|
|
17701
|
+
},
|
|
17702
|
+
/**
|
|
17703
|
+
* Generate query suggestions based on facet combinations from search analytics data
|
|
17704
|
+
* @summary Generate Facet-Based Suggestions
|
|
17705
|
+
* @param {string} xStoreID Store ID
|
|
17706
|
+
* @param {*} [options] Override http request option.
|
|
17707
|
+
* @throws {RequiredError}
|
|
17708
|
+
*/
|
|
17709
|
+
adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options) {
|
|
17710
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options).then((request) => request(axios, basePath));
|
|
17711
|
+
},
|
|
17257
17712
|
/**
|
|
17258
17713
|
* Retrieve query suggestions with filtering and pagination for management
|
|
17259
17714
|
* @summary Get Query Suggestions
|
|
@@ -17471,6 +17926,66 @@ export class QuerySuggestionsManagementApi extends BaseAPI {
|
|
|
17471
17926
|
adminV1QuerySuggestionsMigrateAllPost(daysBack, minPopularity, options) {
|
|
17472
17927
|
return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsMigrateAllPost(daysBack, minPopularity, options).then((request) => request(this.axios, this.basePath));
|
|
17473
17928
|
}
|
|
17929
|
+
/**
|
|
17930
|
+
* Apply filters to remove duplicate or unhelpful suggestions based on configuration
|
|
17931
|
+
* @summary Apply Suggestion Filters
|
|
17932
|
+
* @param {string} xStoreID Store ID
|
|
17933
|
+
* @param {Array<AnalyticsQuerySuggestionRecord>} analyticsQuerySuggestionRecord Array of suggestions to filter
|
|
17934
|
+
* @param {*} [options] Override http request option.
|
|
17935
|
+
* @throws {RequiredError}
|
|
17936
|
+
* @memberof QuerySuggestionsManagementApi
|
|
17937
|
+
*/
|
|
17938
|
+
adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options) {
|
|
17939
|
+
return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, analyticsQuerySuggestionRecord, options).then((request) => request(this.axios, this.basePath));
|
|
17940
|
+
}
|
|
17941
|
+
/**
|
|
17942
|
+
* Delete a banned expression
|
|
17943
|
+
* @summary Delete Banned Expression
|
|
17944
|
+
* @param {string} xStoreID Store ID
|
|
17945
|
+
* @param {string} expressionID Banned Expression ID
|
|
17946
|
+
* @param {*} [options] Override http request option.
|
|
17947
|
+
* @throws {RequiredError}
|
|
17948
|
+
* @memberof QuerySuggestionsManagementApi
|
|
17949
|
+
*/
|
|
17950
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options) {
|
|
17951
|
+
return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete(xStoreID, expressionID, options).then((request) => request(this.axios, this.basePath));
|
|
17952
|
+
}
|
|
17953
|
+
/**
|
|
17954
|
+
* Update an existing banned expression
|
|
17955
|
+
* @summary Update Banned Expression
|
|
17956
|
+
* @param {string} xStoreID Store ID
|
|
17957
|
+
* @param {string} expressionID Banned Expression ID
|
|
17958
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Updated banned expression
|
|
17959
|
+
* @param {*} [options] Override http request option.
|
|
17960
|
+
* @throws {RequiredError}
|
|
17961
|
+
* @memberof QuerySuggestionsManagementApi
|
|
17962
|
+
*/
|
|
17963
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options) {
|
|
17964
|
+
return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, analyticsBannedExpression, options).then((request) => request(this.axios, this.basePath));
|
|
17965
|
+
}
|
|
17966
|
+
/**
|
|
17967
|
+
* Retrieve all banned expressions for a store with their matching types
|
|
17968
|
+
* @summary Get Banned Expressions
|
|
17969
|
+
* @param {string} xStoreID Store ID
|
|
17970
|
+
* @param {*} [options] Override http request option.
|
|
17971
|
+
* @throws {RequiredError}
|
|
17972
|
+
* @memberof QuerySuggestionsManagementApi
|
|
17973
|
+
*/
|
|
17974
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options) {
|
|
17975
|
+
return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
17976
|
+
}
|
|
17977
|
+
/**
|
|
17978
|
+
* Create a new banned expression with specified matching type
|
|
17979
|
+
* @summary Create Banned Expression
|
|
17980
|
+
* @param {string} xStoreID Store ID
|
|
17981
|
+
* @param {AnalyticsBannedExpression} analyticsBannedExpression Banned expression to create
|
|
17982
|
+
* @param {*} [options] Override http request option.
|
|
17983
|
+
* @throws {RequiredError}
|
|
17984
|
+
* @memberof QuerySuggestionsManagementApi
|
|
17985
|
+
*/
|
|
17986
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options) {
|
|
17987
|
+
return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, analyticsBannedExpression, options).then((request) => request(this.axios, this.basePath));
|
|
17988
|
+
}
|
|
17474
17989
|
/**
|
|
17475
17990
|
* Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
|
|
17476
17991
|
* @summary Bulk Update Suggestions
|
|
@@ -17520,6 +18035,28 @@ export class QuerySuggestionsManagementApi extends BaseAPI {
|
|
|
17520
18035
|
adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, analyticsUpdateSuggestionConfigRequest, options) {
|
|
17521
18036
|
return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, analyticsUpdateSuggestionConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17522
18037
|
}
|
|
18038
|
+
/**
|
|
18039
|
+
* Generate query suggestions with category counts and enhanced data structure
|
|
18040
|
+
* @summary Generate Enhanced Category Suggestions
|
|
18041
|
+
* @param {string} xStoreID Store ID
|
|
18042
|
+
* @param {*} [options] Override http request option.
|
|
18043
|
+
* @throws {RequiredError}
|
|
18044
|
+
* @memberof QuerySuggestionsManagementApi
|
|
18045
|
+
*/
|
|
18046
|
+
adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options) {
|
|
18047
|
+
return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDGenerateCategoriesPost(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
18048
|
+
}
|
|
18049
|
+
/**
|
|
18050
|
+
* Generate query suggestions based on facet combinations from search analytics data
|
|
18051
|
+
* @summary Generate Facet-Based Suggestions
|
|
18052
|
+
* @param {string} xStoreID Store ID
|
|
18053
|
+
* @param {*} [options] Override http request option.
|
|
18054
|
+
* @throws {RequiredError}
|
|
18055
|
+
* @memberof QuerySuggestionsManagementApi
|
|
18056
|
+
*/
|
|
18057
|
+
adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options) {
|
|
18058
|
+
return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDGenerateFacetsPost(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
18059
|
+
}
|
|
17523
18060
|
/**
|
|
17524
18061
|
* Retrieve query suggestions with filtering and pagination for management
|
|
17525
18062
|
* @summary Get Query Suggestions
|