@seekora-ai/admin-api 1.1.31 → 1.1.33
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/README.md +47 -39
- package/api.ts +11026 -10578
- package/dist/api.d.ts +7403 -7081
- package/dist/api.js +426 -208
- package/dist/esm/api.d.ts +7403 -7081
- package/dist/esm/api.js +425 -207
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.33.tgz +0 -0
- package/seekora-ai-admin-api-1.1.31.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = exports.AdminNotificationTemplatesApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.
|
|
25
|
+
exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = exports.AdminNotificationTemplatesApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.QuerySuggestionsServiceRuleType = exports.QuerySuggestionsServiceQuerySuggestionStatus = exports.QuerySuggestionsServiceQuerySuggestionSource = exports.QuerySuggestionsServiceBulkOperation = exports.QuerySuggestionsServiceBannedMatchType = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdateStoreAccessRequestAccessLevelEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = exports.DataTypesStoreLevelMenuRightAccessLevelEnum = exports.DataTypesStoreAccessRequestAccessLevelEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesNotificationType = exports.DataTypesNotificationStatus = exports.DataTypesNotificationPriority = exports.DataTypesNotificationChannel = exports.DataTypesInviteMemberRequestMemberRoleEnum = exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = void 0;
|
|
26
26
|
exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = void 0;
|
|
27
27
|
exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.CompanyConfigApi = exports.CompanyConfigApiFactory = exports.CompanyConfigApiFp = exports.CompanyConfigApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = exports.BillingDashboardGraphsApiFp = exports.BillingDashboardGraphsApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = exports.AdminBillingPaymentTransactionsGetSortOrderEnum = exports.AdminBillingPaymentTransactionsGetSortByEnum = exports.AdminBillingOrdersGetSortOrderEnum = exports.AdminBillingOrdersGetSortByEnum = exports.AdminBillingInvoicesGetSortOrderEnum = exports.AdminBillingInvoicesGetSortByEnum = exports.AdminBillingCreditTransactionsGetSortOrderEnum = exports.AdminBillingCreditTransactionsGetSortByEnum = exports.AdminBillingCreditPurchasesGetSortOrderEnum = exports.AdminBillingCreditPurchasesGetSortByEnum = exports.AdminBillingCreditLedgerGetSortOrderEnum = exports.AdminBillingCreditLedgerGetSortByEnum = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AutomatedRefundManagementApi = exports.AutomatedRefundManagementApiFactory = exports.AutomatedRefundManagementApiFp = exports.AutomatedRefundManagementApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsRulesApi = void 0;
|
|
28
28
|
exports.MenuRouteMetricsApiFactory = exports.MenuRouteMetricsApiFp = exports.MenuRouteMetricsApiAxiosParamCreator = exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = void 0;
|
|
@@ -35,59 +35,6 @@ const axios_1 = require("axios");
|
|
|
35
35
|
const common_1 = require("./common");
|
|
36
36
|
// @ts-ignore
|
|
37
37
|
const base_1 = require("./base");
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @export
|
|
41
|
-
* @enum {string}
|
|
42
|
-
*/
|
|
43
|
-
exports.AnalyticsBannedMatchType = {
|
|
44
|
-
BannedMatchIs: 'is',
|
|
45
|
-
BannedMatchContains: 'contains',
|
|
46
|
-
BannedMatchStartsWith: 'startsWith',
|
|
47
|
-
BannedMatchEndsWith: 'endsWith',
|
|
48
|
-
BannedMatchCustom: 'custom'
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @export
|
|
53
|
-
* @enum {string}
|
|
54
|
-
*/
|
|
55
|
-
exports.AnalyticsBulkOperation = {
|
|
56
|
-
BulkEnable: 'enable',
|
|
57
|
-
BulkDisable: 'disable',
|
|
58
|
-
BulkDelete: 'delete',
|
|
59
|
-
BulkUpdatePriority: 'update_priority'
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
* @enum {string}
|
|
65
|
-
*/
|
|
66
|
-
exports.AnalyticsQuerySuggestionSource = {
|
|
67
|
-
SourceAutoGenerated: 'auto_generated',
|
|
68
|
-
SourceManual: 'manual',
|
|
69
|
-
SourceImported: 'imported'
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @export
|
|
74
|
-
* @enum {string}
|
|
75
|
-
*/
|
|
76
|
-
exports.AnalyticsQuerySuggestionStatus = {
|
|
77
|
-
StatusEnabled: 'enabled',
|
|
78
|
-
StatusDisabled: 'disabled'
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @export
|
|
83
|
-
* @enum {string}
|
|
84
|
-
*/
|
|
85
|
-
exports.AnalyticsRuleType = {
|
|
86
|
-
RuleTypePromote: 'promote',
|
|
87
|
-
RuleTypeHide: 'hide',
|
|
88
|
-
RuleTypeRedirect: 'redirect',
|
|
89
|
-
RuleTypeBanner: 'banner'
|
|
90
|
-
};
|
|
91
38
|
exports.DataTypesBillingAlertRequestAlertTypeEnum = {
|
|
92
39
|
LowBalance: 'low_balance',
|
|
93
40
|
ExpiringCredits: 'expiring_credits',
|
|
@@ -244,6 +191,59 @@ exports.DataTypesUpdateWordStatusRequestWordTypeEnum = {
|
|
|
244
191
|
StoreLanguage: 'store_language',
|
|
245
192
|
Custom: 'custom'
|
|
246
193
|
};
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @export
|
|
197
|
+
* @enum {string}
|
|
198
|
+
*/
|
|
199
|
+
exports.QuerySuggestionsServiceBannedMatchType = {
|
|
200
|
+
BannedMatchIs: 'is',
|
|
201
|
+
BannedMatchContains: 'contains',
|
|
202
|
+
BannedMatchStartsWith: 'startsWith',
|
|
203
|
+
BannedMatchEndsWith: 'endsWith',
|
|
204
|
+
BannedMatchCustom: 'custom'
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @export
|
|
209
|
+
* @enum {string}
|
|
210
|
+
*/
|
|
211
|
+
exports.QuerySuggestionsServiceBulkOperation = {
|
|
212
|
+
BulkEnable: 'enable',
|
|
213
|
+
BulkDisable: 'disable',
|
|
214
|
+
BulkDelete: 'delete',
|
|
215
|
+
BulkUpdatePriority: 'update_priority'
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @export
|
|
220
|
+
* @enum {string}
|
|
221
|
+
*/
|
|
222
|
+
exports.QuerySuggestionsServiceQuerySuggestionSource = {
|
|
223
|
+
SourceAutoGenerated: 'auto_generated',
|
|
224
|
+
SourceManual: 'manual',
|
|
225
|
+
SourceImported: 'imported'
|
|
226
|
+
};
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @export
|
|
230
|
+
* @enum {string}
|
|
231
|
+
*/
|
|
232
|
+
exports.QuerySuggestionsServiceQuerySuggestionStatus = {
|
|
233
|
+
StatusEnabled: 'enabled',
|
|
234
|
+
StatusDisabled: 'disabled'
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @export
|
|
239
|
+
* @enum {string}
|
|
240
|
+
*/
|
|
241
|
+
exports.QuerySuggestionsServiceRuleType = {
|
|
242
|
+
RuleTypePromote: 'promote',
|
|
243
|
+
RuleTypeHide: 'hide',
|
|
244
|
+
RuleTypeRedirect: 'redirect',
|
|
245
|
+
RuleTypeBanner: 'banner'
|
|
246
|
+
};
|
|
247
247
|
exports.RefundRefundPreviewRequestDtoRefundTypeEnum = {
|
|
248
248
|
Full: 'full',
|
|
249
249
|
Partial: 'partial',
|
|
@@ -1939,6 +1939,45 @@ const AdminNotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
1939
1939
|
options: localVarRequestOptions,
|
|
1940
1940
|
};
|
|
1941
1941
|
}),
|
|
1942
|
+
/**
|
|
1943
|
+
* Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
|
|
1944
|
+
* @summary Send test notification (Admin)
|
|
1945
|
+
* @param {string} [email] Test email address (defaults to user\'s email)
|
|
1946
|
+
* @param {string} [templateCode] Template code to use (e.g., \'account_verified\', \'user_welcome\', \'payment_success\'). Defaults to \'account_verified\'
|
|
1947
|
+
* @param {string} [notificationCode] Notification code to use (e.g., \'account.verified\', \'payment.success\'). Defaults to \'account.verified\'
|
|
1948
|
+
* @param {*} [options] Override http request option.
|
|
1949
|
+
* @throws {RequiredError}
|
|
1950
|
+
*/
|
|
1951
|
+
v1AdminNotificationsTestSendPost: (email_1, templateCode_1, notificationCode_1, ...args_1) => __awaiter(this, [email_1, templateCode_1, notificationCode_1, ...args_1], void 0, function* (email, templateCode, notificationCode, options = {}) {
|
|
1952
|
+
const localVarPath = `/v1/admin/notifications/test/send`;
|
|
1953
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1954
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1955
|
+
let baseOptions;
|
|
1956
|
+
if (configuration) {
|
|
1957
|
+
baseOptions = configuration.baseOptions;
|
|
1958
|
+
}
|
|
1959
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1960
|
+
const localVarHeaderParameter = {};
|
|
1961
|
+
const localVarQueryParameter = {};
|
|
1962
|
+
// authentication BearerAuth required
|
|
1963
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1964
|
+
if (email !== undefined) {
|
|
1965
|
+
localVarQueryParameter['email'] = email;
|
|
1966
|
+
}
|
|
1967
|
+
if (templateCode !== undefined) {
|
|
1968
|
+
localVarQueryParameter['template_code'] = templateCode;
|
|
1969
|
+
}
|
|
1970
|
+
if (notificationCode !== undefined) {
|
|
1971
|
+
localVarQueryParameter['notification_code'] = notificationCode;
|
|
1972
|
+
}
|
|
1973
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1974
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1975
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1976
|
+
return {
|
|
1977
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1978
|
+
options: localVarRequestOptions,
|
|
1979
|
+
};
|
|
1980
|
+
}),
|
|
1942
1981
|
};
|
|
1943
1982
|
};
|
|
1944
1983
|
exports.AdminNotificationsApiAxiosParamCreator = AdminNotificationsApiAxiosParamCreator;
|
|
@@ -2092,6 +2131,24 @@ const AdminNotificationsApiFp = function (configuration) {
|
|
|
2092
2131
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2093
2132
|
});
|
|
2094
2133
|
},
|
|
2134
|
+
/**
|
|
2135
|
+
* Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
|
|
2136
|
+
* @summary Send test notification (Admin)
|
|
2137
|
+
* @param {string} [email] Test email address (defaults to user\'s email)
|
|
2138
|
+
* @param {string} [templateCode] Template code to use (e.g., \'account_verified\', \'user_welcome\', \'payment_success\'). Defaults to \'account_verified\'
|
|
2139
|
+
* @param {string} [notificationCode] Notification code to use (e.g., \'account.verified\', \'payment.success\'). Defaults to \'account.verified\'
|
|
2140
|
+
* @param {*} [options] Override http request option.
|
|
2141
|
+
* @throws {RequiredError}
|
|
2142
|
+
*/
|
|
2143
|
+
v1AdminNotificationsTestSendPost(email, templateCode, notificationCode, options) {
|
|
2144
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2145
|
+
var _a, _b, _c;
|
|
2146
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminNotificationsTestSendPost(email, templateCode, notificationCode, options);
|
|
2147
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2148
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminNotificationsApi.v1AdminNotificationsTestSendPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2149
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2150
|
+
});
|
|
2151
|
+
},
|
|
2095
2152
|
};
|
|
2096
2153
|
};
|
|
2097
2154
|
exports.AdminNotificationsApiFp = AdminNotificationsApiFp;
|
|
@@ -2191,6 +2248,18 @@ const AdminNotificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
2191
2248
|
v1AdminNotificationsStatsGet(startDate, endDate, options) {
|
|
2192
2249
|
return localVarFp.v1AdminNotificationsStatsGet(startDate, endDate, options).then((request) => request(axios, basePath));
|
|
2193
2250
|
},
|
|
2251
|
+
/**
|
|
2252
|
+
* Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
|
|
2253
|
+
* @summary Send test notification (Admin)
|
|
2254
|
+
* @param {string} [email] Test email address (defaults to user\'s email)
|
|
2255
|
+
* @param {string} [templateCode] Template code to use (e.g., \'account_verified\', \'user_welcome\', \'payment_success\'). Defaults to \'account_verified\'
|
|
2256
|
+
* @param {string} [notificationCode] Notification code to use (e.g., \'account.verified\', \'payment.success\'). Defaults to \'account.verified\'
|
|
2257
|
+
* @param {*} [options] Override http request option.
|
|
2258
|
+
* @throws {RequiredError}
|
|
2259
|
+
*/
|
|
2260
|
+
v1AdminNotificationsTestSendPost(email, templateCode, notificationCode, options) {
|
|
2261
|
+
return localVarFp.v1AdminNotificationsTestSendPost(email, templateCode, notificationCode, options).then((request) => request(axios, basePath));
|
|
2262
|
+
},
|
|
2194
2263
|
};
|
|
2195
2264
|
};
|
|
2196
2265
|
exports.AdminNotificationsApiFactory = AdminNotificationsApiFactory;
|
|
@@ -2299,6 +2368,19 @@ class AdminNotificationsApi extends base_1.BaseAPI {
|
|
|
2299
2368
|
v1AdminNotificationsStatsGet(startDate, endDate, options) {
|
|
2300
2369
|
return (0, exports.AdminNotificationsApiFp)(this.configuration).v1AdminNotificationsStatsGet(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
2301
2370
|
}
|
|
2371
|
+
/**
|
|
2372
|
+
* Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
|
|
2373
|
+
* @summary Send test notification (Admin)
|
|
2374
|
+
* @param {string} [email] Test email address (defaults to user\'s email)
|
|
2375
|
+
* @param {string} [templateCode] Template code to use (e.g., \'account_verified\', \'user_welcome\', \'payment_success\'). Defaults to \'account_verified\'
|
|
2376
|
+
* @param {string} [notificationCode] Notification code to use (e.g., \'account.verified\', \'payment.success\'). Defaults to \'account.verified\'
|
|
2377
|
+
* @param {*} [options] Override http request option.
|
|
2378
|
+
* @throws {RequiredError}
|
|
2379
|
+
* @memberof AdminNotificationsApi
|
|
2380
|
+
*/
|
|
2381
|
+
v1AdminNotificationsTestSendPost(email, templateCode, notificationCode, options) {
|
|
2382
|
+
return (0, exports.AdminNotificationsApiFp)(this.configuration).v1AdminNotificationsTestSendPost(email, templateCode, notificationCode, options).then((request) => request(this.axios, this.basePath));
|
|
2383
|
+
}
|
|
2302
2384
|
}
|
|
2303
2385
|
exports.AdminNotificationsApi = AdminNotificationsApi;
|
|
2304
2386
|
/**
|
|
@@ -24936,15 +25018,15 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
24936
25018
|
* Apply filters to remove duplicate or unhelpful suggestions based on configuration
|
|
24937
25019
|
* @summary Apply Suggestion Filters
|
|
24938
25020
|
* @param {string} xStoreID Store ID
|
|
24939
|
-
* @param {Array<
|
|
25021
|
+
* @param {Array<QuerySuggestionsServiceQuerySuggestionRecord>} querySuggestionsServiceQuerySuggestionRecord Array of suggestions to filter
|
|
24940
25022
|
* @param {*} [options] Override http request option.
|
|
24941
25023
|
* @throws {RequiredError}
|
|
24942
25024
|
*/
|
|
24943
|
-
adminV1QuerySuggestionsXStoreIDApplyFiltersPost: (xStoreID_1,
|
|
25025
|
+
adminV1QuerySuggestionsXStoreIDApplyFiltersPost: (xStoreID_1, querySuggestionsServiceQuerySuggestionRecord_1, ...args_1) => __awaiter(this, [xStoreID_1, querySuggestionsServiceQuerySuggestionRecord_1, ...args_1], void 0, function* (xStoreID, querySuggestionsServiceQuerySuggestionRecord, options = {}) {
|
|
24944
25026
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
24945
25027
|
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDApplyFiltersPost', 'xStoreID', xStoreID);
|
|
24946
|
-
// verify required parameter '
|
|
24947
|
-
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDApplyFiltersPost', '
|
|
25028
|
+
// verify required parameter 'querySuggestionsServiceQuerySuggestionRecord' is not null or undefined
|
|
25029
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDApplyFiltersPost', 'querySuggestionsServiceQuerySuggestionRecord', querySuggestionsServiceQuerySuggestionRecord);
|
|
24948
25030
|
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/apply-filters`
|
|
24949
25031
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
24950
25032
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -24962,7 +25044,7 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
24962
25044
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
24963
25045
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24964
25046
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
24965
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
25047
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(querySuggestionsServiceQuerySuggestionRecord, localVarRequestOptions, configuration);
|
|
24966
25048
|
return {
|
|
24967
25049
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
24968
25050
|
options: localVarRequestOptions,
|
|
@@ -25008,17 +25090,17 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25008
25090
|
* @summary Update Banned Expression
|
|
25009
25091
|
* @param {string} xStoreID Store ID
|
|
25010
25092
|
* @param {string} expressionID Banned Expression ID
|
|
25011
|
-
* @param {
|
|
25093
|
+
* @param {QuerySuggestionsServiceBannedExpression} querySuggestionsServiceBannedExpression Updated banned expression
|
|
25012
25094
|
* @param {*} [options] Override http request option.
|
|
25013
25095
|
* @throws {RequiredError}
|
|
25014
25096
|
*/
|
|
25015
|
-
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut: (xStoreID_1, expressionID_1,
|
|
25097
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut: (xStoreID_1, expressionID_1, querySuggestionsServiceBannedExpression_1, ...args_1) => __awaiter(this, [xStoreID_1, expressionID_1, querySuggestionsServiceBannedExpression_1, ...args_1], void 0, function* (xStoreID, expressionID, querySuggestionsServiceBannedExpression, options = {}) {
|
|
25016
25098
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
25017
25099
|
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut', 'xStoreID', xStoreID);
|
|
25018
25100
|
// verify required parameter 'expressionID' is not null or undefined
|
|
25019
25101
|
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut', 'expressionID', expressionID);
|
|
25020
|
-
// verify required parameter '
|
|
25021
|
-
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut', '
|
|
25102
|
+
// verify required parameter 'querySuggestionsServiceBannedExpression' is not null or undefined
|
|
25103
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut', 'querySuggestionsServiceBannedExpression', querySuggestionsServiceBannedExpression);
|
|
25022
25104
|
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions/{expressionID}`
|
|
25023
25105
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
25024
25106
|
.replace(`{${"expressionID"}}`, encodeURIComponent(String(expressionID)));
|
|
@@ -25037,7 +25119,7 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25037
25119
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25038
25120
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25039
25121
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25040
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
25122
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(querySuggestionsServiceBannedExpression, localVarRequestOptions, configuration);
|
|
25041
25123
|
return {
|
|
25042
25124
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25043
25125
|
options: localVarRequestOptions,
|
|
@@ -25078,15 +25160,15 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25078
25160
|
* Create a new banned expression with specified matching type
|
|
25079
25161
|
* @summary Create Banned Expression
|
|
25080
25162
|
* @param {string} xStoreID Store ID
|
|
25081
|
-
* @param {
|
|
25163
|
+
* @param {QuerySuggestionsServiceBannedExpression} querySuggestionsServiceBannedExpression Banned expression to create
|
|
25082
25164
|
* @param {*} [options] Override http request option.
|
|
25083
25165
|
* @throws {RequiredError}
|
|
25084
25166
|
*/
|
|
25085
|
-
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost: (xStoreID_1,
|
|
25167
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost: (xStoreID_1, querySuggestionsServiceBannedExpression_1, ...args_1) => __awaiter(this, [xStoreID_1, querySuggestionsServiceBannedExpression_1, ...args_1], void 0, function* (xStoreID, querySuggestionsServiceBannedExpression, options = {}) {
|
|
25086
25168
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
25087
25169
|
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsPost', 'xStoreID', xStoreID);
|
|
25088
|
-
// verify required parameter '
|
|
25089
|
-
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsPost', '
|
|
25170
|
+
// verify required parameter 'querySuggestionsServiceBannedExpression' is not null or undefined
|
|
25171
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBannedExpressionsPost', 'querySuggestionsServiceBannedExpression', querySuggestionsServiceBannedExpression);
|
|
25090
25172
|
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/banned-expressions`
|
|
25091
25173
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
25092
25174
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -25104,7 +25186,7 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25104
25186
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25105
25187
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25106
25188
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25107
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
25189
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(querySuggestionsServiceBannedExpression, localVarRequestOptions, configuration);
|
|
25108
25190
|
return {
|
|
25109
25191
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25110
25192
|
options: localVarRequestOptions,
|
|
@@ -25114,15 +25196,15 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25114
25196
|
* Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
|
|
25115
25197
|
* @summary Bulk Update Suggestions
|
|
25116
25198
|
* @param {string} xStoreID Store ID
|
|
25117
|
-
* @param {
|
|
25199
|
+
* @param {QuerySuggestionsServiceBulkOperationRequest} querySuggestionsServiceBulkOperationRequest Bulk operation request
|
|
25118
25200
|
* @param {*} [options] Override http request option.
|
|
25119
25201
|
* @throws {RequiredError}
|
|
25120
25202
|
*/
|
|
25121
|
-
adminV1QuerySuggestionsXStoreIDBulkPost: (xStoreID_1,
|
|
25203
|
+
adminV1QuerySuggestionsXStoreIDBulkPost: (xStoreID_1, querySuggestionsServiceBulkOperationRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, querySuggestionsServiceBulkOperationRequest_1, ...args_1], void 0, function* (xStoreID, querySuggestionsServiceBulkOperationRequest, options = {}) {
|
|
25122
25204
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
25123
25205
|
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBulkPost', 'xStoreID', xStoreID);
|
|
25124
|
-
// verify required parameter '
|
|
25125
|
-
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBulkPost', '
|
|
25206
|
+
// verify required parameter 'querySuggestionsServiceBulkOperationRequest' is not null or undefined
|
|
25207
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDBulkPost', 'querySuggestionsServiceBulkOperationRequest', querySuggestionsServiceBulkOperationRequest);
|
|
25126
25208
|
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/bulk`
|
|
25127
25209
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
25128
25210
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -25140,7 +25222,7 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25140
25222
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25141
25223
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25142
25224
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25143
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
25225
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(querySuggestionsServiceBulkOperationRequest, localVarRequestOptions, configuration);
|
|
25144
25226
|
return {
|
|
25145
25227
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25146
25228
|
options: localVarRequestOptions,
|
|
@@ -25224,15 +25306,15 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25224
25306
|
* Enable or disable auto-generated, manual, imported, and facet-based query suggestions for a store
|
|
25225
25307
|
* @summary Update Query Suggestions Configuration
|
|
25226
25308
|
* @param {string} xStoreID Store ID
|
|
25227
|
-
* @param {
|
|
25309
|
+
* @param {QuerySuggestionsServiceUpdateSuggestionConfigRequest} querySuggestionsServiceUpdateSuggestionConfigRequest Configuration update request
|
|
25228
25310
|
* @param {*} [options] Override http request option.
|
|
25229
25311
|
* @throws {RequiredError}
|
|
25230
25312
|
*/
|
|
25231
|
-
adminV1QuerySuggestionsXStoreIDConfigPut: (xStoreID_1,
|
|
25313
|
+
adminV1QuerySuggestionsXStoreIDConfigPut: (xStoreID_1, querySuggestionsServiceUpdateSuggestionConfigRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, querySuggestionsServiceUpdateSuggestionConfigRequest_1, ...args_1], void 0, function* (xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options = {}) {
|
|
25232
25314
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
25233
25315
|
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDConfigPut', 'xStoreID', xStoreID);
|
|
25234
|
-
// verify required parameter '
|
|
25235
|
-
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDConfigPut', '
|
|
25316
|
+
// verify required parameter 'querySuggestionsServiceUpdateSuggestionConfigRequest' is not null or undefined
|
|
25317
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDConfigPut', 'querySuggestionsServiceUpdateSuggestionConfigRequest', querySuggestionsServiceUpdateSuggestionConfigRequest);
|
|
25236
25318
|
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/config`
|
|
25237
25319
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
25238
25320
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -25250,7 +25332,7 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25250
25332
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25251
25333
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25252
25334
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25253
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
25335
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(querySuggestionsServiceUpdateSuggestionConfigRequest, localVarRequestOptions, configuration);
|
|
25254
25336
|
return {
|
|
25255
25337
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25256
25338
|
options: localVarRequestOptions,
|
|
@@ -25381,15 +25463,15 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25381
25463
|
* Import query suggestions from JSON data
|
|
25382
25464
|
* @summary Import Query Suggestions
|
|
25383
25465
|
* @param {string} xStoreID Store ID
|
|
25384
|
-
* @param {
|
|
25466
|
+
* @param {QuerySuggestionsServiceImportQuerySuggestionsRequest} querySuggestionsServiceImportQuerySuggestionsRequest Import suggestions request
|
|
25385
25467
|
* @param {*} [options] Override http request option.
|
|
25386
25468
|
* @throws {RequiredError}
|
|
25387
25469
|
*/
|
|
25388
|
-
adminV1QuerySuggestionsXStoreIDImportPost: (xStoreID_1,
|
|
25470
|
+
adminV1QuerySuggestionsXStoreIDImportPost: (xStoreID_1, querySuggestionsServiceImportQuerySuggestionsRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, querySuggestionsServiceImportQuerySuggestionsRequest_1, ...args_1], void 0, function* (xStoreID, querySuggestionsServiceImportQuerySuggestionsRequest, options = {}) {
|
|
25389
25471
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
25390
25472
|
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDImportPost', 'xStoreID', xStoreID);
|
|
25391
|
-
// verify required parameter '
|
|
25392
|
-
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDImportPost', '
|
|
25473
|
+
// verify required parameter 'querySuggestionsServiceImportQuerySuggestionsRequest' is not null or undefined
|
|
25474
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDImportPost', 'querySuggestionsServiceImportQuerySuggestionsRequest', querySuggestionsServiceImportQuerySuggestionsRequest);
|
|
25393
25475
|
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/import`
|
|
25394
25476
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
25395
25477
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -25407,7 +25489,7 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25407
25489
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25408
25490
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25409
25491
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25410
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
25492
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(querySuggestionsServiceImportQuerySuggestionsRequest, localVarRequestOptions, configuration);
|
|
25411
25493
|
return {
|
|
25412
25494
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25413
25495
|
options: localVarRequestOptions,
|
|
@@ -25417,15 +25499,15 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25417
25499
|
* Delete manually added query suggestions for a store
|
|
25418
25500
|
* @summary Delete Manual Query Suggestions
|
|
25419
25501
|
* @param {string} xStoreID Store ID
|
|
25420
|
-
* @param {
|
|
25502
|
+
* @param {QuerySuggestionsServiceDeleteManualSuggestionsRequest} querySuggestionsServiceDeleteManualSuggestionsRequest Delete request
|
|
25421
25503
|
* @param {*} [options] Override http request option.
|
|
25422
25504
|
* @throws {RequiredError}
|
|
25423
25505
|
*/
|
|
25424
|
-
adminV1QuerySuggestionsXStoreIDManualDeleteDelete: (xStoreID_1,
|
|
25506
|
+
adminV1QuerySuggestionsXStoreIDManualDeleteDelete: (xStoreID_1, querySuggestionsServiceDeleteManualSuggestionsRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, querySuggestionsServiceDeleteManualSuggestionsRequest_1, ...args_1], void 0, function* (xStoreID, querySuggestionsServiceDeleteManualSuggestionsRequest, options = {}) {
|
|
25425
25507
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
25426
25508
|
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDManualDeleteDelete', 'xStoreID', xStoreID);
|
|
25427
|
-
// verify required parameter '
|
|
25428
|
-
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDManualDeleteDelete', '
|
|
25509
|
+
// verify required parameter 'querySuggestionsServiceDeleteManualSuggestionsRequest' is not null or undefined
|
|
25510
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDManualDeleteDelete', 'querySuggestionsServiceDeleteManualSuggestionsRequest', querySuggestionsServiceDeleteManualSuggestionsRequest);
|
|
25429
25511
|
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/manual/delete`
|
|
25430
25512
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
25431
25513
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -25443,7 +25525,7 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25443
25525
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25444
25526
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25445
25527
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25446
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
25528
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(querySuggestionsServiceDeleteManualSuggestionsRequest, localVarRequestOptions, configuration);
|
|
25447
25529
|
return {
|
|
25448
25530
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25449
25531
|
options: localVarRequestOptions,
|
|
@@ -25453,15 +25535,15 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25453
25535
|
* Add a manually created query suggestion for a store
|
|
25454
25536
|
* @summary Add Manual Query Suggestion
|
|
25455
25537
|
* @param {string} xStoreID Store ID
|
|
25456
|
-
* @param {
|
|
25538
|
+
* @param {QuerySuggestionsServiceManualQuerySuggestionRequest} querySuggestionsServiceManualQuerySuggestionRequest Manual suggestion request
|
|
25457
25539
|
* @param {*} [options] Override http request option.
|
|
25458
25540
|
* @throws {RequiredError}
|
|
25459
25541
|
*/
|
|
25460
|
-
adminV1QuerySuggestionsXStoreIDManualPost: (xStoreID_1,
|
|
25542
|
+
adminV1QuerySuggestionsXStoreIDManualPost: (xStoreID_1, querySuggestionsServiceManualQuerySuggestionRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, querySuggestionsServiceManualQuerySuggestionRequest_1, ...args_1], void 0, function* (xStoreID, querySuggestionsServiceManualQuerySuggestionRequest, options = {}) {
|
|
25461
25543
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
25462
25544
|
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDManualPost', 'xStoreID', xStoreID);
|
|
25463
|
-
// verify required parameter '
|
|
25464
|
-
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDManualPost', '
|
|
25545
|
+
// verify required parameter 'querySuggestionsServiceManualQuerySuggestionRequest' is not null or undefined
|
|
25546
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDManualPost', 'querySuggestionsServiceManualQuerySuggestionRequest', querySuggestionsServiceManualQuerySuggestionRequest);
|
|
25465
25547
|
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/manual`
|
|
25466
25548
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
25467
25549
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -25479,7 +25561,7 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25479
25561
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25480
25562
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25481
25563
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25482
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
25564
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(querySuggestionsServiceManualQuerySuggestionRequest, localVarRequestOptions, configuration);
|
|
25483
25565
|
return {
|
|
25484
25566
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25485
25567
|
options: localVarRequestOptions,
|
|
@@ -25563,15 +25645,15 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25563
25645
|
* Move selected auto-generated suggestions from cache to the management table
|
|
25564
25646
|
* @summary Promote Cached Suggestions to Management Table
|
|
25565
25647
|
* @param {string} xStoreID Store ID
|
|
25566
|
-
* @param {
|
|
25648
|
+
* @param {QuerySuggestionsServicePromoteSuggestionsRequest} querySuggestionsServicePromoteSuggestionsRequest Promotion request
|
|
25567
25649
|
* @param {*} [options] Override http request option.
|
|
25568
25650
|
* @throws {RequiredError}
|
|
25569
25651
|
*/
|
|
25570
|
-
adminV1QuerySuggestionsXStoreIDPromotePost: (xStoreID_1,
|
|
25652
|
+
adminV1QuerySuggestionsXStoreIDPromotePost: (xStoreID_1, querySuggestionsServicePromoteSuggestionsRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, querySuggestionsServicePromoteSuggestionsRequest_1, ...args_1], void 0, function* (xStoreID, querySuggestionsServicePromoteSuggestionsRequest, options = {}) {
|
|
25571
25653
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
25572
25654
|
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDPromotePost', 'xStoreID', xStoreID);
|
|
25573
|
-
// verify required parameter '
|
|
25574
|
-
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDPromotePost', '
|
|
25655
|
+
// verify required parameter 'querySuggestionsServicePromoteSuggestionsRequest' is not null or undefined
|
|
25656
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDPromotePost', 'querySuggestionsServicePromoteSuggestionsRequest', querySuggestionsServicePromoteSuggestionsRequest);
|
|
25575
25657
|
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/promote`
|
|
25576
25658
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
25577
25659
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -25589,7 +25671,7 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25589
25671
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25590
25672
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25591
25673
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25592
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
25674
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(querySuggestionsServicePromoteSuggestionsRequest, localVarRequestOptions, configuration);
|
|
25593
25675
|
return {
|
|
25594
25676
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25595
25677
|
options: localVarRequestOptions,
|
|
@@ -25771,17 +25853,17 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25771
25853
|
* @summary Update Query Suggestion by ID
|
|
25772
25854
|
* @param {string} xStoreID Store ID
|
|
25773
25855
|
* @param {string} suggestionID Suggestion ID
|
|
25774
|
-
* @param {
|
|
25856
|
+
* @param {QuerySuggestionsServiceUpdateSuggestionRequest} querySuggestionsServiceUpdateSuggestionRequest Update request
|
|
25775
25857
|
* @param {*} [options] Override http request option.
|
|
25776
25858
|
* @throws {RequiredError}
|
|
25777
25859
|
*/
|
|
25778
|
-
adminV1QuerySuggestionsXStoreIDSuggestionIDPut: (xStoreID_1, suggestionID_1,
|
|
25860
|
+
adminV1QuerySuggestionsXStoreIDSuggestionIDPut: (xStoreID_1, suggestionID_1, querySuggestionsServiceUpdateSuggestionRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, suggestionID_1, querySuggestionsServiceUpdateSuggestionRequest_1, ...args_1], void 0, function* (xStoreID, suggestionID, querySuggestionsServiceUpdateSuggestionRequest, options = {}) {
|
|
25779
25861
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
25780
25862
|
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDSuggestionIDPut', 'xStoreID', xStoreID);
|
|
25781
25863
|
// verify required parameter 'suggestionID' is not null or undefined
|
|
25782
25864
|
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDSuggestionIDPut', 'suggestionID', suggestionID);
|
|
25783
|
-
// verify required parameter '
|
|
25784
|
-
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDSuggestionIDPut', '
|
|
25865
|
+
// verify required parameter 'querySuggestionsServiceUpdateSuggestionRequest' is not null or undefined
|
|
25866
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDSuggestionIDPut', 'querySuggestionsServiceUpdateSuggestionRequest', querySuggestionsServiceUpdateSuggestionRequest);
|
|
25785
25867
|
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/{suggestionID}`
|
|
25786
25868
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
25787
25869
|
.replace(`{${"suggestionID"}}`, encodeURIComponent(String(suggestionID)));
|
|
@@ -25800,7 +25882,7 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25800
25882
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25801
25883
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25802
25884
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25803
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
25885
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(querySuggestionsServiceUpdateSuggestionRequest, localVarRequestOptions, configuration);
|
|
25804
25886
|
return {
|
|
25805
25887
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25806
25888
|
options: localVarRequestOptions,
|
|
@@ -25882,15 +25964,15 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25882
25964
|
* Enable or disable query suggestions for a specific store
|
|
25883
25965
|
* @summary Toggle Query Suggestions for Store
|
|
25884
25966
|
* @param {string} xStoreID Store ID
|
|
25885
|
-
* @param {
|
|
25967
|
+
* @param {QuerySuggestionsServiceToggleQuerySuggestionsRequest} querySuggestionsServiceToggleQuerySuggestionsRequest Toggle request
|
|
25886
25968
|
* @param {*} [options] Override http request option.
|
|
25887
25969
|
* @throws {RequiredError}
|
|
25888
25970
|
*/
|
|
25889
|
-
adminV1QuerySuggestionsXStoreIDTogglePost: (xStoreID_1,
|
|
25971
|
+
adminV1QuerySuggestionsXStoreIDTogglePost: (xStoreID_1, querySuggestionsServiceToggleQuerySuggestionsRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, querySuggestionsServiceToggleQuerySuggestionsRequest_1, ...args_1], void 0, function* (xStoreID, querySuggestionsServiceToggleQuerySuggestionsRequest, options = {}) {
|
|
25890
25972
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
25891
25973
|
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDTogglePost', 'xStoreID', xStoreID);
|
|
25892
|
-
// verify required parameter '
|
|
25893
|
-
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDTogglePost', '
|
|
25974
|
+
// verify required parameter 'querySuggestionsServiceToggleQuerySuggestionsRequest' is not null or undefined
|
|
25975
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDTogglePost', 'querySuggestionsServiceToggleQuerySuggestionsRequest', querySuggestionsServiceToggleQuerySuggestionsRequest);
|
|
25894
25976
|
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/toggle`
|
|
25895
25977
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
25896
25978
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -25908,7 +25990,7 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25908
25990
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25909
25991
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25910
25992
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25911
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
25993
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(querySuggestionsServiceToggleQuerySuggestionsRequest, localVarRequestOptions, configuration);
|
|
25912
25994
|
return {
|
|
25913
25995
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25914
25996
|
options: localVarRequestOptions,
|
|
@@ -25957,6 +26039,37 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
|
|
|
25957
26039
|
options: localVarRequestOptions,
|
|
25958
26040
|
};
|
|
25959
26041
|
}),
|
|
26042
|
+
/**
|
|
26043
|
+
* Manually trigger schema update to enable infix search for the query field
|
|
26044
|
+
* @summary Update Query Suggestions Collection Schema
|
|
26045
|
+
* @param {string} xStoreID Store ID
|
|
26046
|
+
* @param {*} [options] Override http request option.
|
|
26047
|
+
* @throws {RequiredError}
|
|
26048
|
+
*/
|
|
26049
|
+
adminV1QuerySuggestionsXStoreIDUpdateSchemaPost: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
26050
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
26051
|
+
(0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDUpdateSchemaPost', 'xStoreID', xStoreID);
|
|
26052
|
+
const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/update-schema`
|
|
26053
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
26054
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26055
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26056
|
+
let baseOptions;
|
|
26057
|
+
if (configuration) {
|
|
26058
|
+
baseOptions = configuration.baseOptions;
|
|
26059
|
+
}
|
|
26060
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
26061
|
+
const localVarHeaderParameter = {};
|
|
26062
|
+
const localVarQueryParameter = {};
|
|
26063
|
+
// authentication BearerAuth required
|
|
26064
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
26065
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
26066
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26067
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26068
|
+
return {
|
|
26069
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
26070
|
+
options: localVarRequestOptions,
|
|
26071
|
+
};
|
|
26072
|
+
}),
|
|
25960
26073
|
};
|
|
25961
26074
|
};
|
|
25962
26075
|
exports.QuerySuggestionsManagementApiAxiosParamCreator = QuerySuggestionsManagementApiAxiosParamCreator;
|
|
@@ -25988,14 +26101,14 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
25988
26101
|
* Apply filters to remove duplicate or unhelpful suggestions based on configuration
|
|
25989
26102
|
* @summary Apply Suggestion Filters
|
|
25990
26103
|
* @param {string} xStoreID Store ID
|
|
25991
|
-
* @param {Array<
|
|
26104
|
+
* @param {Array<QuerySuggestionsServiceQuerySuggestionRecord>} querySuggestionsServiceQuerySuggestionRecord Array of suggestions to filter
|
|
25992
26105
|
* @param {*} [options] Override http request option.
|
|
25993
26106
|
* @throws {RequiredError}
|
|
25994
26107
|
*/
|
|
25995
|
-
adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID,
|
|
26108
|
+
adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, querySuggestionsServiceQuerySuggestionRecord, options) {
|
|
25996
26109
|
return __awaiter(this, void 0, void 0, function* () {
|
|
25997
26110
|
var _a, _b, _c;
|
|
25998
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID,
|
|
26111
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, querySuggestionsServiceQuerySuggestionRecord, options);
|
|
25999
26112
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26000
26113
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDApplyFiltersPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26001
26114
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26023,14 +26136,14 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
26023
26136
|
* @summary Update Banned Expression
|
|
26024
26137
|
* @param {string} xStoreID Store ID
|
|
26025
26138
|
* @param {string} expressionID Banned Expression ID
|
|
26026
|
-
* @param {
|
|
26139
|
+
* @param {QuerySuggestionsServiceBannedExpression} querySuggestionsServiceBannedExpression Updated banned expression
|
|
26027
26140
|
* @param {*} [options] Override http request option.
|
|
26028
26141
|
* @throws {RequiredError}
|
|
26029
26142
|
*/
|
|
26030
|
-
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID,
|
|
26143
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, querySuggestionsServiceBannedExpression, options) {
|
|
26031
26144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26032
26145
|
var _a, _b, _c;
|
|
26033
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID,
|
|
26146
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, querySuggestionsServiceBannedExpression, options);
|
|
26034
26147
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26035
26148
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26036
26149
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26056,14 +26169,14 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
26056
26169
|
* Create a new banned expression with specified matching type
|
|
26057
26170
|
* @summary Create Banned Expression
|
|
26058
26171
|
* @param {string} xStoreID Store ID
|
|
26059
|
-
* @param {
|
|
26172
|
+
* @param {QuerySuggestionsServiceBannedExpression} querySuggestionsServiceBannedExpression Banned expression to create
|
|
26060
26173
|
* @param {*} [options] Override http request option.
|
|
26061
26174
|
* @throws {RequiredError}
|
|
26062
26175
|
*/
|
|
26063
|
-
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID,
|
|
26176
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, querySuggestionsServiceBannedExpression, options) {
|
|
26064
26177
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26065
26178
|
var _a, _b, _c;
|
|
26066
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID,
|
|
26179
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, querySuggestionsServiceBannedExpression, options);
|
|
26067
26180
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26068
26181
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26069
26182
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26073,14 +26186,14 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
26073
26186
|
* Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
|
|
26074
26187
|
* @summary Bulk Update Suggestions
|
|
26075
26188
|
* @param {string} xStoreID Store ID
|
|
26076
|
-
* @param {
|
|
26189
|
+
* @param {QuerySuggestionsServiceBulkOperationRequest} querySuggestionsServiceBulkOperationRequest Bulk operation request
|
|
26077
26190
|
* @param {*} [options] Override http request option.
|
|
26078
26191
|
* @throws {RequiredError}
|
|
26079
26192
|
*/
|
|
26080
|
-
adminV1QuerySuggestionsXStoreIDBulkPost(xStoreID,
|
|
26193
|
+
adminV1QuerySuggestionsXStoreIDBulkPost(xStoreID, querySuggestionsServiceBulkOperationRequest, options) {
|
|
26081
26194
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26082
26195
|
var _a, _b, _c;
|
|
26083
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBulkPost(xStoreID,
|
|
26196
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDBulkPost(xStoreID, querySuggestionsServiceBulkOperationRequest, options);
|
|
26084
26197
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26085
26198
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDBulkPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26086
26199
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26125,14 +26238,14 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
26125
26238
|
* Enable or disable auto-generated, manual, imported, and facet-based query suggestions for a store
|
|
26126
26239
|
* @summary Update Query Suggestions Configuration
|
|
26127
26240
|
* @param {string} xStoreID Store ID
|
|
26128
|
-
* @param {
|
|
26241
|
+
* @param {QuerySuggestionsServiceUpdateSuggestionConfigRequest} querySuggestionsServiceUpdateSuggestionConfigRequest Configuration update request
|
|
26129
26242
|
* @param {*} [options] Override http request option.
|
|
26130
26243
|
* @throws {RequiredError}
|
|
26131
26244
|
*/
|
|
26132
|
-
adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID,
|
|
26245
|
+
adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options) {
|
|
26133
26246
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26134
26247
|
var _a, _b, _c;
|
|
26135
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID,
|
|
26248
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options);
|
|
26136
26249
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26137
26250
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDConfigPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26138
26251
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26197,14 +26310,14 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
26197
26310
|
* Import query suggestions from JSON data
|
|
26198
26311
|
* @summary Import Query Suggestions
|
|
26199
26312
|
* @param {string} xStoreID Store ID
|
|
26200
|
-
* @param {
|
|
26313
|
+
* @param {QuerySuggestionsServiceImportQuerySuggestionsRequest} querySuggestionsServiceImportQuerySuggestionsRequest Import suggestions request
|
|
26201
26314
|
* @param {*} [options] Override http request option.
|
|
26202
26315
|
* @throws {RequiredError}
|
|
26203
26316
|
*/
|
|
26204
|
-
adminV1QuerySuggestionsXStoreIDImportPost(xStoreID,
|
|
26317
|
+
adminV1QuerySuggestionsXStoreIDImportPost(xStoreID, querySuggestionsServiceImportQuerySuggestionsRequest, options) {
|
|
26205
26318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26206
26319
|
var _a, _b, _c;
|
|
26207
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDImportPost(xStoreID,
|
|
26320
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDImportPost(xStoreID, querySuggestionsServiceImportQuerySuggestionsRequest, options);
|
|
26208
26321
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26209
26322
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDImportPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26210
26323
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26214,14 +26327,14 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
26214
26327
|
* Delete manually added query suggestions for a store
|
|
26215
26328
|
* @summary Delete Manual Query Suggestions
|
|
26216
26329
|
* @param {string} xStoreID Store ID
|
|
26217
|
-
* @param {
|
|
26330
|
+
* @param {QuerySuggestionsServiceDeleteManualSuggestionsRequest} querySuggestionsServiceDeleteManualSuggestionsRequest Delete request
|
|
26218
26331
|
* @param {*} [options] Override http request option.
|
|
26219
26332
|
* @throws {RequiredError}
|
|
26220
26333
|
*/
|
|
26221
|
-
adminV1QuerySuggestionsXStoreIDManualDeleteDelete(xStoreID,
|
|
26334
|
+
adminV1QuerySuggestionsXStoreIDManualDeleteDelete(xStoreID, querySuggestionsServiceDeleteManualSuggestionsRequest, options) {
|
|
26222
26335
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26223
26336
|
var _a, _b, _c;
|
|
26224
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDManualDeleteDelete(xStoreID,
|
|
26337
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDManualDeleteDelete(xStoreID, querySuggestionsServiceDeleteManualSuggestionsRequest, options);
|
|
26225
26338
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26226
26339
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDManualDeleteDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26227
26340
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26231,14 +26344,14 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
26231
26344
|
* Add a manually created query suggestion for a store
|
|
26232
26345
|
* @summary Add Manual Query Suggestion
|
|
26233
26346
|
* @param {string} xStoreID Store ID
|
|
26234
|
-
* @param {
|
|
26347
|
+
* @param {QuerySuggestionsServiceManualQuerySuggestionRequest} querySuggestionsServiceManualQuerySuggestionRequest Manual suggestion request
|
|
26235
26348
|
* @param {*} [options] Override http request option.
|
|
26236
26349
|
* @throws {RequiredError}
|
|
26237
26350
|
*/
|
|
26238
|
-
adminV1QuerySuggestionsXStoreIDManualPost(xStoreID,
|
|
26351
|
+
adminV1QuerySuggestionsXStoreIDManualPost(xStoreID, querySuggestionsServiceManualQuerySuggestionRequest, options) {
|
|
26239
26352
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26240
26353
|
var _a, _b, _c;
|
|
26241
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDManualPost(xStoreID,
|
|
26354
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDManualPost(xStoreID, querySuggestionsServiceManualQuerySuggestionRequest, options);
|
|
26242
26355
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26243
26356
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDManualPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26244
26357
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26283,14 +26396,14 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
26283
26396
|
* Move selected auto-generated suggestions from cache to the management table
|
|
26284
26397
|
* @summary Promote Cached Suggestions to Management Table
|
|
26285
26398
|
* @param {string} xStoreID Store ID
|
|
26286
|
-
* @param {
|
|
26399
|
+
* @param {QuerySuggestionsServicePromoteSuggestionsRequest} querySuggestionsServicePromoteSuggestionsRequest Promotion request
|
|
26287
26400
|
* @param {*} [options] Override http request option.
|
|
26288
26401
|
* @throws {RequiredError}
|
|
26289
26402
|
*/
|
|
26290
|
-
adminV1QuerySuggestionsXStoreIDPromotePost(xStoreID,
|
|
26403
|
+
adminV1QuerySuggestionsXStoreIDPromotePost(xStoreID, querySuggestionsServicePromoteSuggestionsRequest, options) {
|
|
26291
26404
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26292
26405
|
var _a, _b, _c;
|
|
26293
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDPromotePost(xStoreID,
|
|
26406
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDPromotePost(xStoreID, querySuggestionsServicePromoteSuggestionsRequest, options);
|
|
26294
26407
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26295
26408
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDPromotePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26296
26409
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26385,14 +26498,14 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
26385
26498
|
* @summary Update Query Suggestion by ID
|
|
26386
26499
|
* @param {string} xStoreID Store ID
|
|
26387
26500
|
* @param {string} suggestionID Suggestion ID
|
|
26388
|
-
* @param {
|
|
26501
|
+
* @param {QuerySuggestionsServiceUpdateSuggestionRequest} querySuggestionsServiceUpdateSuggestionRequest Update request
|
|
26389
26502
|
* @param {*} [options] Override http request option.
|
|
26390
26503
|
* @throws {RequiredError}
|
|
26391
26504
|
*/
|
|
26392
|
-
adminV1QuerySuggestionsXStoreIDSuggestionIDPut(xStoreID, suggestionID,
|
|
26505
|
+
adminV1QuerySuggestionsXStoreIDSuggestionIDPut(xStoreID, suggestionID, querySuggestionsServiceUpdateSuggestionRequest, options) {
|
|
26393
26506
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26394
26507
|
var _a, _b, _c;
|
|
26395
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDSuggestionIDPut(xStoreID, suggestionID,
|
|
26508
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDSuggestionIDPut(xStoreID, suggestionID, querySuggestionsServiceUpdateSuggestionRequest, options);
|
|
26396
26509
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26397
26510
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDSuggestionIDPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26398
26511
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26436,14 +26549,14 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
26436
26549
|
* Enable or disable query suggestions for a specific store
|
|
26437
26550
|
* @summary Toggle Query Suggestions for Store
|
|
26438
26551
|
* @param {string} xStoreID Store ID
|
|
26439
|
-
* @param {
|
|
26552
|
+
* @param {QuerySuggestionsServiceToggleQuerySuggestionsRequest} querySuggestionsServiceToggleQuerySuggestionsRequest Toggle request
|
|
26440
26553
|
* @param {*} [options] Override http request option.
|
|
26441
26554
|
* @throws {RequiredError}
|
|
26442
26555
|
*/
|
|
26443
|
-
adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID,
|
|
26556
|
+
adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, querySuggestionsServiceToggleQuerySuggestionsRequest, options) {
|
|
26444
26557
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26445
26558
|
var _a, _b, _c;
|
|
26446
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID,
|
|
26559
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, querySuggestionsServiceToggleQuerySuggestionsRequest, options);
|
|
26447
26560
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26448
26561
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDTogglePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26449
26562
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26468,6 +26581,22 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
|
|
|
26468
26581
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26469
26582
|
});
|
|
26470
26583
|
},
|
|
26584
|
+
/**
|
|
26585
|
+
* Manually trigger schema update to enable infix search for the query field
|
|
26586
|
+
* @summary Update Query Suggestions Collection Schema
|
|
26587
|
+
* @param {string} xStoreID Store ID
|
|
26588
|
+
* @param {*} [options] Override http request option.
|
|
26589
|
+
* @throws {RequiredError}
|
|
26590
|
+
*/
|
|
26591
|
+
adminV1QuerySuggestionsXStoreIDUpdateSchemaPost(xStoreID, options) {
|
|
26592
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26593
|
+
var _a, _b, _c;
|
|
26594
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDUpdateSchemaPost(xStoreID, options);
|
|
26595
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26596
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDUpdateSchemaPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26597
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26598
|
+
});
|
|
26599
|
+
},
|
|
26471
26600
|
};
|
|
26472
26601
|
};
|
|
26473
26602
|
exports.QuerySuggestionsManagementApiFp = QuerySuggestionsManagementApiFp;
|
|
@@ -26493,12 +26622,12 @@ const QuerySuggestionsManagementApiFactory = function (configuration, basePath,
|
|
|
26493
26622
|
* Apply filters to remove duplicate or unhelpful suggestions based on configuration
|
|
26494
26623
|
* @summary Apply Suggestion Filters
|
|
26495
26624
|
* @param {string} xStoreID Store ID
|
|
26496
|
-
* @param {Array<
|
|
26625
|
+
* @param {Array<QuerySuggestionsServiceQuerySuggestionRecord>} querySuggestionsServiceQuerySuggestionRecord Array of suggestions to filter
|
|
26497
26626
|
* @param {*} [options] Override http request option.
|
|
26498
26627
|
* @throws {RequiredError}
|
|
26499
26628
|
*/
|
|
26500
|
-
adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID,
|
|
26501
|
-
return localVarFp.adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID,
|
|
26629
|
+
adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, querySuggestionsServiceQuerySuggestionRecord, options) {
|
|
26630
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, querySuggestionsServiceQuerySuggestionRecord, options).then((request) => request(axios, basePath));
|
|
26502
26631
|
},
|
|
26503
26632
|
/**
|
|
26504
26633
|
* Delete a banned expression
|
|
@@ -26516,12 +26645,12 @@ const QuerySuggestionsManagementApiFactory = function (configuration, basePath,
|
|
|
26516
26645
|
* @summary Update Banned Expression
|
|
26517
26646
|
* @param {string} xStoreID Store ID
|
|
26518
26647
|
* @param {string} expressionID Banned Expression ID
|
|
26519
|
-
* @param {
|
|
26648
|
+
* @param {QuerySuggestionsServiceBannedExpression} querySuggestionsServiceBannedExpression Updated banned expression
|
|
26520
26649
|
* @param {*} [options] Override http request option.
|
|
26521
26650
|
* @throws {RequiredError}
|
|
26522
26651
|
*/
|
|
26523
|
-
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID,
|
|
26524
|
-
return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID,
|
|
26652
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, querySuggestionsServiceBannedExpression, options) {
|
|
26653
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, querySuggestionsServiceBannedExpression, options).then((request) => request(axios, basePath));
|
|
26525
26654
|
},
|
|
26526
26655
|
/**
|
|
26527
26656
|
* Retrieve all banned expressions for a store with their matching types
|
|
@@ -26537,23 +26666,23 @@ const QuerySuggestionsManagementApiFactory = function (configuration, basePath,
|
|
|
26537
26666
|
* Create a new banned expression with specified matching type
|
|
26538
26667
|
* @summary Create Banned Expression
|
|
26539
26668
|
* @param {string} xStoreID Store ID
|
|
26540
|
-
* @param {
|
|
26669
|
+
* @param {QuerySuggestionsServiceBannedExpression} querySuggestionsServiceBannedExpression Banned expression to create
|
|
26541
26670
|
* @param {*} [options] Override http request option.
|
|
26542
26671
|
* @throws {RequiredError}
|
|
26543
26672
|
*/
|
|
26544
|
-
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID,
|
|
26545
|
-
return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID,
|
|
26673
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, querySuggestionsServiceBannedExpression, options) {
|
|
26674
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, querySuggestionsServiceBannedExpression, options).then((request) => request(axios, basePath));
|
|
26546
26675
|
},
|
|
26547
26676
|
/**
|
|
26548
26677
|
* Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
|
|
26549
26678
|
* @summary Bulk Update Suggestions
|
|
26550
26679
|
* @param {string} xStoreID Store ID
|
|
26551
|
-
* @param {
|
|
26680
|
+
* @param {QuerySuggestionsServiceBulkOperationRequest} querySuggestionsServiceBulkOperationRequest Bulk operation request
|
|
26552
26681
|
* @param {*} [options] Override http request option.
|
|
26553
26682
|
* @throws {RequiredError}
|
|
26554
26683
|
*/
|
|
26555
|
-
adminV1QuerySuggestionsXStoreIDBulkPost(xStoreID,
|
|
26556
|
-
return localVarFp.adminV1QuerySuggestionsXStoreIDBulkPost(xStoreID,
|
|
26684
|
+
adminV1QuerySuggestionsXStoreIDBulkPost(xStoreID, querySuggestionsServiceBulkOperationRequest, options) {
|
|
26685
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDBulkPost(xStoreID, querySuggestionsServiceBulkOperationRequest, options).then((request) => request(axios, basePath));
|
|
26557
26686
|
},
|
|
26558
26687
|
/**
|
|
26559
26688
|
* Retrieve auto-generated suggestions from cache for review before promoting to management table
|
|
@@ -26582,12 +26711,12 @@ const QuerySuggestionsManagementApiFactory = function (configuration, basePath,
|
|
|
26582
26711
|
* Enable or disable auto-generated, manual, imported, and facet-based query suggestions for a store
|
|
26583
26712
|
* @summary Update Query Suggestions Configuration
|
|
26584
26713
|
* @param {string} xStoreID Store ID
|
|
26585
|
-
* @param {
|
|
26714
|
+
* @param {QuerySuggestionsServiceUpdateSuggestionConfigRequest} querySuggestionsServiceUpdateSuggestionConfigRequest Configuration update request
|
|
26586
26715
|
* @param {*} [options] Override http request option.
|
|
26587
26716
|
* @throws {RequiredError}
|
|
26588
26717
|
*/
|
|
26589
|
-
adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID,
|
|
26590
|
-
return localVarFp.adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID,
|
|
26718
|
+
adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options) {
|
|
26719
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options).then((request) => request(axios, basePath));
|
|
26591
26720
|
},
|
|
26592
26721
|
/**
|
|
26593
26722
|
* Generate query suggestions with category counts and enhanced data structure
|
|
@@ -26630,34 +26759,34 @@ const QuerySuggestionsManagementApiFactory = function (configuration, basePath,
|
|
|
26630
26759
|
* Import query suggestions from JSON data
|
|
26631
26760
|
* @summary Import Query Suggestions
|
|
26632
26761
|
* @param {string} xStoreID Store ID
|
|
26633
|
-
* @param {
|
|
26762
|
+
* @param {QuerySuggestionsServiceImportQuerySuggestionsRequest} querySuggestionsServiceImportQuerySuggestionsRequest Import suggestions request
|
|
26634
26763
|
* @param {*} [options] Override http request option.
|
|
26635
26764
|
* @throws {RequiredError}
|
|
26636
26765
|
*/
|
|
26637
|
-
adminV1QuerySuggestionsXStoreIDImportPost(xStoreID,
|
|
26638
|
-
return localVarFp.adminV1QuerySuggestionsXStoreIDImportPost(xStoreID,
|
|
26766
|
+
adminV1QuerySuggestionsXStoreIDImportPost(xStoreID, querySuggestionsServiceImportQuerySuggestionsRequest, options) {
|
|
26767
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDImportPost(xStoreID, querySuggestionsServiceImportQuerySuggestionsRequest, options).then((request) => request(axios, basePath));
|
|
26639
26768
|
},
|
|
26640
26769
|
/**
|
|
26641
26770
|
* Delete manually added query suggestions for a store
|
|
26642
26771
|
* @summary Delete Manual Query Suggestions
|
|
26643
26772
|
* @param {string} xStoreID Store ID
|
|
26644
|
-
* @param {
|
|
26773
|
+
* @param {QuerySuggestionsServiceDeleteManualSuggestionsRequest} querySuggestionsServiceDeleteManualSuggestionsRequest Delete request
|
|
26645
26774
|
* @param {*} [options] Override http request option.
|
|
26646
26775
|
* @throws {RequiredError}
|
|
26647
26776
|
*/
|
|
26648
|
-
adminV1QuerySuggestionsXStoreIDManualDeleteDelete(xStoreID,
|
|
26649
|
-
return localVarFp.adminV1QuerySuggestionsXStoreIDManualDeleteDelete(xStoreID,
|
|
26777
|
+
adminV1QuerySuggestionsXStoreIDManualDeleteDelete(xStoreID, querySuggestionsServiceDeleteManualSuggestionsRequest, options) {
|
|
26778
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDManualDeleteDelete(xStoreID, querySuggestionsServiceDeleteManualSuggestionsRequest, options).then((request) => request(axios, basePath));
|
|
26650
26779
|
},
|
|
26651
26780
|
/**
|
|
26652
26781
|
* Add a manually created query suggestion for a store
|
|
26653
26782
|
* @summary Add Manual Query Suggestion
|
|
26654
26783
|
* @param {string} xStoreID Store ID
|
|
26655
|
-
* @param {
|
|
26784
|
+
* @param {QuerySuggestionsServiceManualQuerySuggestionRequest} querySuggestionsServiceManualQuerySuggestionRequest Manual suggestion request
|
|
26656
26785
|
* @param {*} [options] Override http request option.
|
|
26657
26786
|
* @throws {RequiredError}
|
|
26658
26787
|
*/
|
|
26659
|
-
adminV1QuerySuggestionsXStoreIDManualPost(xStoreID,
|
|
26660
|
-
return localVarFp.adminV1QuerySuggestionsXStoreIDManualPost(xStoreID,
|
|
26788
|
+
adminV1QuerySuggestionsXStoreIDManualPost(xStoreID, querySuggestionsServiceManualQuerySuggestionRequest, options) {
|
|
26789
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDManualPost(xStoreID, querySuggestionsServiceManualQuerySuggestionRequest, options).then((request) => request(axios, basePath));
|
|
26661
26790
|
},
|
|
26662
26791
|
/**
|
|
26663
26792
|
* Migrate existing search analytics data to the new query suggestions management system
|
|
@@ -26686,12 +26815,12 @@ const QuerySuggestionsManagementApiFactory = function (configuration, basePath,
|
|
|
26686
26815
|
* Move selected auto-generated suggestions from cache to the management table
|
|
26687
26816
|
* @summary Promote Cached Suggestions to Management Table
|
|
26688
26817
|
* @param {string} xStoreID Store ID
|
|
26689
|
-
* @param {
|
|
26818
|
+
* @param {QuerySuggestionsServicePromoteSuggestionsRequest} querySuggestionsServicePromoteSuggestionsRequest Promotion request
|
|
26690
26819
|
* @param {*} [options] Override http request option.
|
|
26691
26820
|
* @throws {RequiredError}
|
|
26692
26821
|
*/
|
|
26693
|
-
adminV1QuerySuggestionsXStoreIDPromotePost(xStoreID,
|
|
26694
|
-
return localVarFp.adminV1QuerySuggestionsXStoreIDPromotePost(xStoreID,
|
|
26822
|
+
adminV1QuerySuggestionsXStoreIDPromotePost(xStoreID, querySuggestionsServicePromoteSuggestionsRequest, options) {
|
|
26823
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDPromotePost(xStoreID, querySuggestionsServicePromoteSuggestionsRequest, options).then((request) => request(axios, basePath));
|
|
26695
26824
|
},
|
|
26696
26825
|
/**
|
|
26697
26826
|
* Refresh auto-generated suggestions from search analytics data
|
|
@@ -26752,12 +26881,12 @@ const QuerySuggestionsManagementApiFactory = function (configuration, basePath,
|
|
|
26752
26881
|
* @summary Update Query Suggestion by ID
|
|
26753
26882
|
* @param {string} xStoreID Store ID
|
|
26754
26883
|
* @param {string} suggestionID Suggestion ID
|
|
26755
|
-
* @param {
|
|
26884
|
+
* @param {QuerySuggestionsServiceUpdateSuggestionRequest} querySuggestionsServiceUpdateSuggestionRequest Update request
|
|
26756
26885
|
* @param {*} [options] Override http request option.
|
|
26757
26886
|
* @throws {RequiredError}
|
|
26758
26887
|
*/
|
|
26759
|
-
adminV1QuerySuggestionsXStoreIDSuggestionIDPut(xStoreID, suggestionID,
|
|
26760
|
-
return localVarFp.adminV1QuerySuggestionsXStoreIDSuggestionIDPut(xStoreID, suggestionID,
|
|
26888
|
+
adminV1QuerySuggestionsXStoreIDSuggestionIDPut(xStoreID, suggestionID, querySuggestionsServiceUpdateSuggestionRequest, options) {
|
|
26889
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDSuggestionIDPut(xStoreID, suggestionID, querySuggestionsServiceUpdateSuggestionRequest, options).then((request) => request(axios, basePath));
|
|
26761
26890
|
},
|
|
26762
26891
|
/**
|
|
26763
26892
|
* Update the status (enabled/disabled) of a query suggestion
|
|
@@ -26785,12 +26914,12 @@ const QuerySuggestionsManagementApiFactory = function (configuration, basePath,
|
|
|
26785
26914
|
* Enable or disable query suggestions for a specific store
|
|
26786
26915
|
* @summary Toggle Query Suggestions for Store
|
|
26787
26916
|
* @param {string} xStoreID Store ID
|
|
26788
|
-
* @param {
|
|
26917
|
+
* @param {QuerySuggestionsServiceToggleQuerySuggestionsRequest} querySuggestionsServiceToggleQuerySuggestionsRequest Toggle request
|
|
26789
26918
|
* @param {*} [options] Override http request option.
|
|
26790
26919
|
* @throws {RequiredError}
|
|
26791
26920
|
*/
|
|
26792
|
-
adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID,
|
|
26793
|
-
return localVarFp.adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID,
|
|
26921
|
+
adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, querySuggestionsServiceToggleQuerySuggestionsRequest, options) {
|
|
26922
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, querySuggestionsServiceToggleQuerySuggestionsRequest, options).then((request) => request(axios, basePath));
|
|
26794
26923
|
},
|
|
26795
26924
|
/**
|
|
26796
26925
|
* Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
|
|
@@ -26805,6 +26934,16 @@ const QuerySuggestionsManagementApiFactory = function (configuration, basePath,
|
|
|
26805
26934
|
adminV1QuerySuggestionsXStoreIDTypesenseGet(xStoreID, query, hitsPerPage, page, options) {
|
|
26806
26935
|
return localVarFp.adminV1QuerySuggestionsXStoreIDTypesenseGet(xStoreID, query, hitsPerPage, page, options).then((request) => request(axios, basePath));
|
|
26807
26936
|
},
|
|
26937
|
+
/**
|
|
26938
|
+
* Manually trigger schema update to enable infix search for the query field
|
|
26939
|
+
* @summary Update Query Suggestions Collection Schema
|
|
26940
|
+
* @param {string} xStoreID Store ID
|
|
26941
|
+
* @param {*} [options] Override http request option.
|
|
26942
|
+
* @throws {RequiredError}
|
|
26943
|
+
*/
|
|
26944
|
+
adminV1QuerySuggestionsXStoreIDUpdateSchemaPost(xStoreID, options) {
|
|
26945
|
+
return localVarFp.adminV1QuerySuggestionsXStoreIDUpdateSchemaPost(xStoreID, options).then((request) => request(axios, basePath));
|
|
26946
|
+
},
|
|
26808
26947
|
};
|
|
26809
26948
|
};
|
|
26810
26949
|
exports.QuerySuggestionsManagementApiFactory = QuerySuggestionsManagementApiFactory;
|
|
@@ -26831,13 +26970,13 @@ class QuerySuggestionsManagementApi extends base_1.BaseAPI {
|
|
|
26831
26970
|
* Apply filters to remove duplicate or unhelpful suggestions based on configuration
|
|
26832
26971
|
* @summary Apply Suggestion Filters
|
|
26833
26972
|
* @param {string} xStoreID Store ID
|
|
26834
|
-
* @param {Array<
|
|
26973
|
+
* @param {Array<QuerySuggestionsServiceQuerySuggestionRecord>} querySuggestionsServiceQuerySuggestionRecord Array of suggestions to filter
|
|
26835
26974
|
* @param {*} [options] Override http request option.
|
|
26836
26975
|
* @throws {RequiredError}
|
|
26837
26976
|
* @memberof QuerySuggestionsManagementApi
|
|
26838
26977
|
*/
|
|
26839
|
-
adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID,
|
|
26840
|
-
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID,
|
|
26978
|
+
adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, querySuggestionsServiceQuerySuggestionRecord, options) {
|
|
26979
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDApplyFiltersPost(xStoreID, querySuggestionsServiceQuerySuggestionRecord, options).then((request) => request(this.axios, this.basePath));
|
|
26841
26980
|
}
|
|
26842
26981
|
/**
|
|
26843
26982
|
* Delete a banned expression
|
|
@@ -26856,13 +26995,13 @@ class QuerySuggestionsManagementApi extends base_1.BaseAPI {
|
|
|
26856
26995
|
* @summary Update Banned Expression
|
|
26857
26996
|
* @param {string} xStoreID Store ID
|
|
26858
26997
|
* @param {string} expressionID Banned Expression ID
|
|
26859
|
-
* @param {
|
|
26998
|
+
* @param {QuerySuggestionsServiceBannedExpression} querySuggestionsServiceBannedExpression Updated banned expression
|
|
26860
26999
|
* @param {*} [options] Override http request option.
|
|
26861
27000
|
* @throws {RequiredError}
|
|
26862
27001
|
* @memberof QuerySuggestionsManagementApi
|
|
26863
27002
|
*/
|
|
26864
|
-
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID,
|
|
26865
|
-
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID,
|
|
27003
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, querySuggestionsServiceBannedExpression, options) {
|
|
27004
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDPut(xStoreID, expressionID, querySuggestionsServiceBannedExpression, options).then((request) => request(this.axios, this.basePath));
|
|
26866
27005
|
}
|
|
26867
27006
|
/**
|
|
26868
27007
|
* Retrieve all banned expressions for a store with their matching types
|
|
@@ -26879,25 +27018,25 @@ class QuerySuggestionsManagementApi extends base_1.BaseAPI {
|
|
|
26879
27018
|
* Create a new banned expression with specified matching type
|
|
26880
27019
|
* @summary Create Banned Expression
|
|
26881
27020
|
* @param {string} xStoreID Store ID
|
|
26882
|
-
* @param {
|
|
27021
|
+
* @param {QuerySuggestionsServiceBannedExpression} querySuggestionsServiceBannedExpression Banned expression to create
|
|
26883
27022
|
* @param {*} [options] Override http request option.
|
|
26884
27023
|
* @throws {RequiredError}
|
|
26885
27024
|
* @memberof QuerySuggestionsManagementApi
|
|
26886
27025
|
*/
|
|
26887
|
-
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID,
|
|
26888
|
-
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID,
|
|
27026
|
+
adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, querySuggestionsServiceBannedExpression, options) {
|
|
27027
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDBannedExpressionsPost(xStoreID, querySuggestionsServiceBannedExpression, options).then((request) => request(this.axios, this.basePath));
|
|
26889
27028
|
}
|
|
26890
27029
|
/**
|
|
26891
27030
|
* Perform bulk operations on multiple suggestions (enable, disable, delete, update priority)
|
|
26892
27031
|
* @summary Bulk Update Suggestions
|
|
26893
27032
|
* @param {string} xStoreID Store ID
|
|
26894
|
-
* @param {
|
|
27033
|
+
* @param {QuerySuggestionsServiceBulkOperationRequest} querySuggestionsServiceBulkOperationRequest Bulk operation request
|
|
26895
27034
|
* @param {*} [options] Override http request option.
|
|
26896
27035
|
* @throws {RequiredError}
|
|
26897
27036
|
* @memberof QuerySuggestionsManagementApi
|
|
26898
27037
|
*/
|
|
26899
|
-
adminV1QuerySuggestionsXStoreIDBulkPost(xStoreID,
|
|
26900
|
-
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDBulkPost(xStoreID,
|
|
27038
|
+
adminV1QuerySuggestionsXStoreIDBulkPost(xStoreID, querySuggestionsServiceBulkOperationRequest, options) {
|
|
27039
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDBulkPost(xStoreID, querySuggestionsServiceBulkOperationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26901
27040
|
}
|
|
26902
27041
|
/**
|
|
26903
27042
|
* Retrieve auto-generated suggestions from cache for review before promoting to management table
|
|
@@ -26928,13 +27067,13 @@ class QuerySuggestionsManagementApi extends base_1.BaseAPI {
|
|
|
26928
27067
|
* Enable or disable auto-generated, manual, imported, and facet-based query suggestions for a store
|
|
26929
27068
|
* @summary Update Query Suggestions Configuration
|
|
26930
27069
|
* @param {string} xStoreID Store ID
|
|
26931
|
-
* @param {
|
|
27070
|
+
* @param {QuerySuggestionsServiceUpdateSuggestionConfigRequest} querySuggestionsServiceUpdateSuggestionConfigRequest Configuration update request
|
|
26932
27071
|
* @param {*} [options] Override http request option.
|
|
26933
27072
|
* @throws {RequiredError}
|
|
26934
27073
|
* @memberof QuerySuggestionsManagementApi
|
|
26935
27074
|
*/
|
|
26936
|
-
adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID,
|
|
26937
|
-
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID,
|
|
27075
|
+
adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options) {
|
|
27076
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDConfigPut(xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26938
27077
|
}
|
|
26939
27078
|
/**
|
|
26940
27079
|
* Generate query suggestions with category counts and enhanced data structure
|
|
@@ -26980,37 +27119,37 @@ class QuerySuggestionsManagementApi extends base_1.BaseAPI {
|
|
|
26980
27119
|
* Import query suggestions from JSON data
|
|
26981
27120
|
* @summary Import Query Suggestions
|
|
26982
27121
|
* @param {string} xStoreID Store ID
|
|
26983
|
-
* @param {
|
|
27122
|
+
* @param {QuerySuggestionsServiceImportQuerySuggestionsRequest} querySuggestionsServiceImportQuerySuggestionsRequest Import suggestions request
|
|
26984
27123
|
* @param {*} [options] Override http request option.
|
|
26985
27124
|
* @throws {RequiredError}
|
|
26986
27125
|
* @memberof QuerySuggestionsManagementApi
|
|
26987
27126
|
*/
|
|
26988
|
-
adminV1QuerySuggestionsXStoreIDImportPost(xStoreID,
|
|
26989
|
-
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDImportPost(xStoreID,
|
|
27127
|
+
adminV1QuerySuggestionsXStoreIDImportPost(xStoreID, querySuggestionsServiceImportQuerySuggestionsRequest, options) {
|
|
27128
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDImportPost(xStoreID, querySuggestionsServiceImportQuerySuggestionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26990
27129
|
}
|
|
26991
27130
|
/**
|
|
26992
27131
|
* Delete manually added query suggestions for a store
|
|
26993
27132
|
* @summary Delete Manual Query Suggestions
|
|
26994
27133
|
* @param {string} xStoreID Store ID
|
|
26995
|
-
* @param {
|
|
27134
|
+
* @param {QuerySuggestionsServiceDeleteManualSuggestionsRequest} querySuggestionsServiceDeleteManualSuggestionsRequest Delete request
|
|
26996
27135
|
* @param {*} [options] Override http request option.
|
|
26997
27136
|
* @throws {RequiredError}
|
|
26998
27137
|
* @memberof QuerySuggestionsManagementApi
|
|
26999
27138
|
*/
|
|
27000
|
-
adminV1QuerySuggestionsXStoreIDManualDeleteDelete(xStoreID,
|
|
27001
|
-
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDManualDeleteDelete(xStoreID,
|
|
27139
|
+
adminV1QuerySuggestionsXStoreIDManualDeleteDelete(xStoreID, querySuggestionsServiceDeleteManualSuggestionsRequest, options) {
|
|
27140
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDManualDeleteDelete(xStoreID, querySuggestionsServiceDeleteManualSuggestionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27002
27141
|
}
|
|
27003
27142
|
/**
|
|
27004
27143
|
* Add a manually created query suggestion for a store
|
|
27005
27144
|
* @summary Add Manual Query Suggestion
|
|
27006
27145
|
* @param {string} xStoreID Store ID
|
|
27007
|
-
* @param {
|
|
27146
|
+
* @param {QuerySuggestionsServiceManualQuerySuggestionRequest} querySuggestionsServiceManualQuerySuggestionRequest Manual suggestion request
|
|
27008
27147
|
* @param {*} [options] Override http request option.
|
|
27009
27148
|
* @throws {RequiredError}
|
|
27010
27149
|
* @memberof QuerySuggestionsManagementApi
|
|
27011
27150
|
*/
|
|
27012
|
-
adminV1QuerySuggestionsXStoreIDManualPost(xStoreID,
|
|
27013
|
-
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDManualPost(xStoreID,
|
|
27151
|
+
adminV1QuerySuggestionsXStoreIDManualPost(xStoreID, querySuggestionsServiceManualQuerySuggestionRequest, options) {
|
|
27152
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDManualPost(xStoreID, querySuggestionsServiceManualQuerySuggestionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27014
27153
|
}
|
|
27015
27154
|
/**
|
|
27016
27155
|
* Migrate existing search analytics data to the new query suggestions management system
|
|
@@ -27041,13 +27180,13 @@ class QuerySuggestionsManagementApi extends base_1.BaseAPI {
|
|
|
27041
27180
|
* Move selected auto-generated suggestions from cache to the management table
|
|
27042
27181
|
* @summary Promote Cached Suggestions to Management Table
|
|
27043
27182
|
* @param {string} xStoreID Store ID
|
|
27044
|
-
* @param {
|
|
27183
|
+
* @param {QuerySuggestionsServicePromoteSuggestionsRequest} querySuggestionsServicePromoteSuggestionsRequest Promotion request
|
|
27045
27184
|
* @param {*} [options] Override http request option.
|
|
27046
27185
|
* @throws {RequiredError}
|
|
27047
27186
|
* @memberof QuerySuggestionsManagementApi
|
|
27048
27187
|
*/
|
|
27049
|
-
adminV1QuerySuggestionsXStoreIDPromotePost(xStoreID,
|
|
27050
|
-
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDPromotePost(xStoreID,
|
|
27188
|
+
adminV1QuerySuggestionsXStoreIDPromotePost(xStoreID, querySuggestionsServicePromoteSuggestionsRequest, options) {
|
|
27189
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDPromotePost(xStoreID, querySuggestionsServicePromoteSuggestionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27051
27190
|
}
|
|
27052
27191
|
/**
|
|
27053
27192
|
* Refresh auto-generated suggestions from search analytics data
|
|
@@ -27113,13 +27252,13 @@ class QuerySuggestionsManagementApi extends base_1.BaseAPI {
|
|
|
27113
27252
|
* @summary Update Query Suggestion by ID
|
|
27114
27253
|
* @param {string} xStoreID Store ID
|
|
27115
27254
|
* @param {string} suggestionID Suggestion ID
|
|
27116
|
-
* @param {
|
|
27255
|
+
* @param {QuerySuggestionsServiceUpdateSuggestionRequest} querySuggestionsServiceUpdateSuggestionRequest Update request
|
|
27117
27256
|
* @param {*} [options] Override http request option.
|
|
27118
27257
|
* @throws {RequiredError}
|
|
27119
27258
|
* @memberof QuerySuggestionsManagementApi
|
|
27120
27259
|
*/
|
|
27121
|
-
adminV1QuerySuggestionsXStoreIDSuggestionIDPut(xStoreID, suggestionID,
|
|
27122
|
-
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDSuggestionIDPut(xStoreID, suggestionID,
|
|
27260
|
+
adminV1QuerySuggestionsXStoreIDSuggestionIDPut(xStoreID, suggestionID, querySuggestionsServiceUpdateSuggestionRequest, options) {
|
|
27261
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDSuggestionIDPut(xStoreID, suggestionID, querySuggestionsServiceUpdateSuggestionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27123
27262
|
}
|
|
27124
27263
|
/**
|
|
27125
27264
|
* Update the status (enabled/disabled) of a query suggestion
|
|
@@ -27149,13 +27288,13 @@ class QuerySuggestionsManagementApi extends base_1.BaseAPI {
|
|
|
27149
27288
|
* Enable or disable query suggestions for a specific store
|
|
27150
27289
|
* @summary Toggle Query Suggestions for Store
|
|
27151
27290
|
* @param {string} xStoreID Store ID
|
|
27152
|
-
* @param {
|
|
27291
|
+
* @param {QuerySuggestionsServiceToggleQuerySuggestionsRequest} querySuggestionsServiceToggleQuerySuggestionsRequest Toggle request
|
|
27153
27292
|
* @param {*} [options] Override http request option.
|
|
27154
27293
|
* @throws {RequiredError}
|
|
27155
27294
|
* @memberof QuerySuggestionsManagementApi
|
|
27156
27295
|
*/
|
|
27157
|
-
adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID,
|
|
27158
|
-
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID,
|
|
27296
|
+
adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, querySuggestionsServiceToggleQuerySuggestionsRequest, options) {
|
|
27297
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, querySuggestionsServiceToggleQuerySuggestionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27159
27298
|
}
|
|
27160
27299
|
/**
|
|
27161
27300
|
* Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
|
|
@@ -27171,6 +27310,17 @@ class QuerySuggestionsManagementApi extends base_1.BaseAPI {
|
|
|
27171
27310
|
adminV1QuerySuggestionsXStoreIDTypesenseGet(xStoreID, query, hitsPerPage, page, options) {
|
|
27172
27311
|
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDTypesenseGet(xStoreID, query, hitsPerPage, page, options).then((request) => request(this.axios, this.basePath));
|
|
27173
27312
|
}
|
|
27313
|
+
/**
|
|
27314
|
+
* Manually trigger schema update to enable infix search for the query field
|
|
27315
|
+
* @summary Update Query Suggestions Collection Schema
|
|
27316
|
+
* @param {string} xStoreID Store ID
|
|
27317
|
+
* @param {*} [options] Override http request option.
|
|
27318
|
+
* @throws {RequiredError}
|
|
27319
|
+
* @memberof QuerySuggestionsManagementApi
|
|
27320
|
+
*/
|
|
27321
|
+
adminV1QuerySuggestionsXStoreIDUpdateSchemaPost(xStoreID, options) {
|
|
27322
|
+
return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDUpdateSchemaPost(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
27323
|
+
}
|
|
27174
27324
|
}
|
|
27175
27325
|
exports.QuerySuggestionsManagementApi = QuerySuggestionsManagementApi;
|
|
27176
27326
|
/**
|
|
@@ -29363,6 +29513,37 @@ const RolesApiAxiosParamCreator = function (configuration) {
|
|
|
29363
29513
|
options: localVarRequestOptions,
|
|
29364
29514
|
};
|
|
29365
29515
|
}),
|
|
29516
|
+
/**
|
|
29517
|
+
* Backfills missing store permissions for a role across all stores in the organization
|
|
29518
|
+
* @summary Backfill missing store permissions for a role
|
|
29519
|
+
* @param {number} roleId Role ID
|
|
29520
|
+
* @param {*} [options] Override http request option.
|
|
29521
|
+
* @throws {RequiredError}
|
|
29522
|
+
*/
|
|
29523
|
+
adminRolesRoleIdPermissionsBackfillPost: (roleId_1, ...args_1) => __awaiter(this, [roleId_1, ...args_1], void 0, function* (roleId, options = {}) {
|
|
29524
|
+
// verify required parameter 'roleId' is not null or undefined
|
|
29525
|
+
(0, common_1.assertParamExists)('adminRolesRoleIdPermissionsBackfillPost', 'roleId', roleId);
|
|
29526
|
+
const localVarPath = `/admin/roles/{roleId}/permissions/backfill`
|
|
29527
|
+
.replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
|
|
29528
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29529
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
29530
|
+
let baseOptions;
|
|
29531
|
+
if (configuration) {
|
|
29532
|
+
baseOptions = configuration.baseOptions;
|
|
29533
|
+
}
|
|
29534
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
29535
|
+
const localVarHeaderParameter = {};
|
|
29536
|
+
const localVarQueryParameter = {};
|
|
29537
|
+
// authentication BearerAuth required
|
|
29538
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
29539
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
29540
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29541
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29542
|
+
return {
|
|
29543
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
29544
|
+
options: localVarRequestOptions,
|
|
29545
|
+
};
|
|
29546
|
+
}),
|
|
29366
29547
|
/**
|
|
29367
29548
|
* Retrieves role permissions separated by org-level and store-level menus/routes
|
|
29368
29549
|
* @summary Get role permissions with org-level and store-level separation
|
|
@@ -29520,6 +29701,22 @@ const RolesApiFp = function (configuration) {
|
|
|
29520
29701
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29521
29702
|
});
|
|
29522
29703
|
},
|
|
29704
|
+
/**
|
|
29705
|
+
* Backfills missing store permissions for a role across all stores in the organization
|
|
29706
|
+
* @summary Backfill missing store permissions for a role
|
|
29707
|
+
* @param {number} roleId Role ID
|
|
29708
|
+
* @param {*} [options] Override http request option.
|
|
29709
|
+
* @throws {RequiredError}
|
|
29710
|
+
*/
|
|
29711
|
+
adminRolesRoleIdPermissionsBackfillPost(roleId, options) {
|
|
29712
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29713
|
+
var _a, _b, _c;
|
|
29714
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminRolesRoleIdPermissionsBackfillPost(roleId, options);
|
|
29715
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
29716
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RolesApi.adminRolesRoleIdPermissionsBackfillPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
29717
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29718
|
+
});
|
|
29719
|
+
},
|
|
29523
29720
|
/**
|
|
29524
29721
|
* Retrieves role permissions separated by org-level and store-level menus/routes
|
|
29525
29722
|
* @summary Get role permissions with org-level and store-level separation
|
|
@@ -29613,6 +29810,16 @@ const RolesApiFactory = function (configuration, basePath, axios) {
|
|
|
29613
29810
|
adminRolesRoleIdGet(roleId, options) {
|
|
29614
29811
|
return localVarFp.adminRolesRoleIdGet(roleId, options).then((request) => request(axios, basePath));
|
|
29615
29812
|
},
|
|
29813
|
+
/**
|
|
29814
|
+
* Backfills missing store permissions for a role across all stores in the organization
|
|
29815
|
+
* @summary Backfill missing store permissions for a role
|
|
29816
|
+
* @param {number} roleId Role ID
|
|
29817
|
+
* @param {*} [options] Override http request option.
|
|
29818
|
+
* @throws {RequiredError}
|
|
29819
|
+
*/
|
|
29820
|
+
adminRolesRoleIdPermissionsBackfillPost(roleId, options) {
|
|
29821
|
+
return localVarFp.adminRolesRoleIdPermissionsBackfillPost(roleId, options).then((request) => request(axios, basePath));
|
|
29822
|
+
},
|
|
29616
29823
|
/**
|
|
29617
29824
|
* Retrieves role permissions separated by org-level and store-level menus/routes
|
|
29618
29825
|
* @summary Get role permissions with org-level and store-level separation
|
|
@@ -29699,6 +29906,17 @@ class RolesApi extends base_1.BaseAPI {
|
|
|
29699
29906
|
adminRolesRoleIdGet(roleId, options) {
|
|
29700
29907
|
return (0, exports.RolesApiFp)(this.configuration).adminRolesRoleIdGet(roleId, options).then((request) => request(this.axios, this.basePath));
|
|
29701
29908
|
}
|
|
29909
|
+
/**
|
|
29910
|
+
* Backfills missing store permissions for a role across all stores in the organization
|
|
29911
|
+
* @summary Backfill missing store permissions for a role
|
|
29912
|
+
* @param {number} roleId Role ID
|
|
29913
|
+
* @param {*} [options] Override http request option.
|
|
29914
|
+
* @throws {RequiredError}
|
|
29915
|
+
* @memberof RolesApi
|
|
29916
|
+
*/
|
|
29917
|
+
adminRolesRoleIdPermissionsBackfillPost(roleId, options) {
|
|
29918
|
+
return (0, exports.RolesApiFp)(this.configuration).adminRolesRoleIdPermissionsBackfillPost(roleId, options).then((request) => request(this.axios, this.basePath));
|
|
29919
|
+
}
|
|
29702
29920
|
/**
|
|
29703
29921
|
* Retrieves role permissions separated by org-level and store-level menus/routes
|
|
29704
29922
|
* @summary Get role permissions with org-level and store-level separation
|