@seekora-ai/admin-api 1.1.97 → 1.1.98
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 +7 -2
- package/api.ts +351 -0
- package/dist/api.d.ts +191 -0
- package/dist/api.js +295 -0
- package/dist/esm/api.d.ts +191 -0
- package/dist/esm/api.js +295 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.98.tgz +0 -0
- package/seekora-ai-admin-api-1.1.97.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @seekora-ai/admin-api@1.1.
|
|
1
|
+
## @seekora-ai/admin-api@1.1.98
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @seekora-ai/admin-api@1.1.
|
|
39
|
+
npm install @seekora-ai/admin-api@1.1.98 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -481,6 +481,7 @@ Class | Method | HTTP request | Description
|
|
|
481
481
|
*PluralsDeclensionsApi* | [**adminStoresXStoreIDPluralsDeclensionsUploadJsonPost**](docs/PluralsDeclensionsApi.md#adminstoresxstoreidpluralsdeclensionsuploadjsonpost) | **POST** /admin/Stores/{xStoreID}/plurals-declensions/upload-json | Upload plural/declension groups from JSON file
|
|
482
482
|
*QuerySuggestionsApi* | [**v1SuggestionsConfigGet**](docs/QuerySuggestionsApi.md#v1suggestionsconfigget) | **GET** /v1/suggestions/config | Get suggestions configuration
|
|
483
483
|
*QuerySuggestionsApi* | [**v1SuggestionsQueriesGet**](docs/QuerySuggestionsApi.md#v1suggestionsqueriesget) | **GET** /v1/suggestions/queries | Get query suggestions (GET)
|
|
484
|
+
*QuerySuggestionsApi* | [**v1SuggestionsQueriesPost**](docs/QuerySuggestionsApi.md#v1suggestionsqueriespost) | **POST** /v1/suggestions/queries | Get query suggestions (POST)
|
|
484
485
|
*QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsMigrateAllPost**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsmigrateallpost) | **POST** /admin/v1/query-suggestions/migrate-all | Migrate All Stores Data
|
|
485
486
|
*QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDApplyFiltersPost**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidapplyfilterspost) | **POST** /admin/v1/query-suggestions/{xStoreID}/apply-filters | Apply Suggestion Filters
|
|
486
487
|
*QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidbannedexpressionsexpressioniddelete) | **DELETE** /admin/v1/query-suggestions/{xStoreID}/banned-expressions/{expressionID} | Delete Banned Expression
|
|
@@ -552,7 +553,9 @@ Class | Method | HTTP request | Description
|
|
|
552
553
|
*SearchApi* | [**v1IndexIndexnameConfigPost**](docs/SearchApi.md#v1indexindexnameconfigpost) | **POST** /v1/index/{indexname}/config | Index Config
|
|
553
554
|
*SearchApi* | [**v1IndexIndexnameConfigPropertyPatch**](docs/SearchApi.md#v1indexindexnameconfigpropertypatch) | **PATCH** /v1/index/{indexname}/config/{property} | Update Index Config Property
|
|
554
555
|
*SearchApi* | [**v1IndexIndexnameDefaultsGet**](docs/SearchApi.md#v1indexindexnamedefaultsget) | **GET** /v1/index/{indexname}/defaults | Get Schema-Based Defaults
|
|
556
|
+
*SearchApi* | [**v1MultiSearchPost**](docs/SearchApi.md#v1multisearchpost) | **POST** /v1/multi-search | Multi-Search (POST)
|
|
555
557
|
*SearchApi* | [**v1SearchGet**](docs/SearchApi.md#v1searchget) | **GET** /v1/search | Search (GET)
|
|
558
|
+
*SearchApi* | [**v1SearchPost**](docs/SearchApi.md#v1searchpost) | **POST** /v1/search | Search (POST)
|
|
556
559
|
*StopwordsApi* | [**adminStoresStopwordsLanguagesGet**](docs/StopwordsApi.md#adminstoresstopwordslanguagesget) | **GET** /admin/Stores/stopwords/languages | Get available languages
|
|
557
560
|
*StopwordsApi* | [**adminStoresXStoreIDStopwordsWordStatusPut**](docs/StopwordsApi.md#adminstoresxstoreidstopwordswordstatusput) | **PUT** /admin/Stores/{xStoreID}/stopwords/word-status | Update word status for store
|
|
558
561
|
*StopwordsApi* | [**adminStoresXStoreIDStopwordsWordlistsGet**](docs/StopwordsApi.md#adminstoresxstoreidstopwordswordlistsget) | **GET** /admin/Stores/{xStoreID}/stopwords/wordlists | Get word lists by language
|
|
@@ -1202,6 +1205,8 @@ Class | Method | HTTP request | Description
|
|
|
1202
1205
|
- [DataTypesModuleGroup](docs/DataTypesModuleGroup.md)
|
|
1203
1206
|
- [DataTypesModuleListResponse](docs/DataTypesModuleListResponse.md)
|
|
1204
1207
|
- [DataTypesModuleResponse](docs/DataTypesModuleResponse.md)
|
|
1208
|
+
- [DataTypesMultiSearchRequest](docs/DataTypesMultiSearchRequest.md)
|
|
1209
|
+
- [DataTypesMultiSearchResponseWrapper](docs/DataTypesMultiSearchResponseWrapper.md)
|
|
1205
1210
|
- [DataTypesNewsLetterRequest](docs/DataTypesNewsLetterRequest.md)
|
|
1206
1211
|
- [DataTypesNewsLetterRequestDto](docs/DataTypesNewsLetterRequestDto.md)
|
|
1207
1212
|
- [DataTypesNewsLetterRequestResponse](docs/DataTypesNewsLetterRequestResponse.md)
|
package/api.ts
CHANGED
|
@@ -23929,6 +23929,44 @@ export interface DataTypesModuleResponse {
|
|
|
23929
23929
|
*/
|
|
23930
23930
|
'status'?: number;
|
|
23931
23931
|
}
|
|
23932
|
+
/**
|
|
23933
|
+
*
|
|
23934
|
+
* @export
|
|
23935
|
+
* @interface DataTypesMultiSearchRequest
|
|
23936
|
+
*/
|
|
23937
|
+
export interface DataTypesMultiSearchRequest {
|
|
23938
|
+
/**
|
|
23939
|
+
*
|
|
23940
|
+
* @type {Array<DataTypesSearchRequest>}
|
|
23941
|
+
* @memberof DataTypesMultiSearchRequest
|
|
23942
|
+
*/
|
|
23943
|
+
'searches': Array<DataTypesSearchRequest>;
|
|
23944
|
+
}
|
|
23945
|
+
/**
|
|
23946
|
+
*
|
|
23947
|
+
* @export
|
|
23948
|
+
* @interface DataTypesMultiSearchResponseWrapper
|
|
23949
|
+
*/
|
|
23950
|
+
export interface DataTypesMultiSearchResponseWrapper {
|
|
23951
|
+
/**
|
|
23952
|
+
*
|
|
23953
|
+
* @type {Array<DataTypesSearchResponse>}
|
|
23954
|
+
* @memberof DataTypesMultiSearchResponseWrapper
|
|
23955
|
+
*/
|
|
23956
|
+
'data'?: Array<DataTypesSearchResponse>;
|
|
23957
|
+
/**
|
|
23958
|
+
*
|
|
23959
|
+
* @type {string}
|
|
23960
|
+
* @memberof DataTypesMultiSearchResponseWrapper
|
|
23961
|
+
*/
|
|
23962
|
+
'message'?: string;
|
|
23963
|
+
/**
|
|
23964
|
+
*
|
|
23965
|
+
* @type {number}
|
|
23966
|
+
* @memberof DataTypesMultiSearchResponseWrapper
|
|
23967
|
+
*/
|
|
23968
|
+
'status'?: number;
|
|
23969
|
+
}
|
|
23932
23970
|
/**
|
|
23933
23971
|
*
|
|
23934
23972
|
* @export
|
|
@@ -29589,6 +29627,12 @@ export interface DataTypesSearchResult {
|
|
|
29589
29627
|
* @memberof DataTypesSearchResult
|
|
29590
29628
|
*/
|
|
29591
29629
|
'document'?: { [key: string]: any; };
|
|
29630
|
+
/**
|
|
29631
|
+
*
|
|
29632
|
+
* @type {Array<any>}
|
|
29633
|
+
* @memberof DataTypesSearchResult
|
|
29634
|
+
*/
|
|
29635
|
+
'group_key'?: Array<any>;
|
|
29592
29636
|
/**
|
|
29593
29637
|
*
|
|
29594
29638
|
* @type {{ [key: string]: any; }}
|
|
@@ -81359,6 +81403,64 @@ export const QuerySuggestionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
81359
81403
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
81360
81404
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
81361
81405
|
|
|
81406
|
+
return {
|
|
81407
|
+
url: toPathString(localVarUrlObj),
|
|
81408
|
+
options: localVarRequestOptions,
|
|
81409
|
+
};
|
|
81410
|
+
},
|
|
81411
|
+
/**
|
|
81412
|
+
* Same as GET; use POST to send a JSON body (e.g. complex filtered_tabs). **Auth:** `x-storeid` and `x-storesecret`. Optional personalization headers: `x-user-id`, `x-anon-id`, `x-session-id`. Request body can include query, hitsPerPage, analytics_tags, include_categories, include_facets, filtered_tabs, etc.
|
|
81413
|
+
* @summary Get query suggestions (POST)
|
|
81414
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
81415
|
+
* @param {string} xStoresecret Store read secret
|
|
81416
|
+
* @param {string} [xUserId] User ID for personalization
|
|
81417
|
+
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
81418
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
81419
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Request (query, hitsPerPage, analytics_tags, filtered_tabs, etc.)
|
|
81420
|
+
* @param {*} [options] Override http request option.
|
|
81421
|
+
* @throws {RequiredError}
|
|
81422
|
+
*/
|
|
81423
|
+
v1SuggestionsQueriesPost: async (xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, querySuggestionsServiceQuerySuggestionsRequest?: QuerySuggestionsServiceQuerySuggestionsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
81424
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
81425
|
+
assertParamExists('v1SuggestionsQueriesPost', 'xStoreid', xStoreid)
|
|
81426
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
81427
|
+
assertParamExists('v1SuggestionsQueriesPost', 'xStoresecret', xStoresecret)
|
|
81428
|
+
const localVarPath = `/v1/suggestions/queries`;
|
|
81429
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
81430
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
81431
|
+
let baseOptions;
|
|
81432
|
+
if (configuration) {
|
|
81433
|
+
baseOptions = configuration.baseOptions;
|
|
81434
|
+
}
|
|
81435
|
+
|
|
81436
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
81437
|
+
const localVarHeaderParameter = {} as any;
|
|
81438
|
+
const localVarQueryParameter = {} as any;
|
|
81439
|
+
|
|
81440
|
+
|
|
81441
|
+
|
|
81442
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
81443
|
+
|
|
81444
|
+
if (xStoreid != null) {
|
|
81445
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
81446
|
+
}
|
|
81447
|
+
if (xStoresecret != null) {
|
|
81448
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
81449
|
+
}
|
|
81450
|
+
if (xUserId != null) {
|
|
81451
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
81452
|
+
}
|
|
81453
|
+
if (xAnonId != null) {
|
|
81454
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
81455
|
+
}
|
|
81456
|
+
if (xSessionId != null) {
|
|
81457
|
+
localVarHeaderParameter['x-session-id'] = String(xSessionId);
|
|
81458
|
+
}
|
|
81459
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
81460
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
81461
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
81462
|
+
localVarRequestOptions.data = serializeDataIfNeeded(querySuggestionsServiceQuerySuggestionsRequest, localVarRequestOptions, configuration)
|
|
81463
|
+
|
|
81362
81464
|
return {
|
|
81363
81465
|
url: toPathString(localVarUrlObj),
|
|
81364
81466
|
options: localVarRequestOptions,
|
|
@@ -81426,6 +81528,24 @@ export const QuerySuggestionsApiFp = function(configuration?: Configuration) {
|
|
|
81426
81528
|
const localVarOperationServerBasePath = operationServerMap['QuerySuggestionsApi.v1SuggestionsQueriesGet']?.[localVarOperationServerIndex]?.url;
|
|
81427
81529
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
81428
81530
|
},
|
|
81531
|
+
/**
|
|
81532
|
+
* Same as GET; use POST to send a JSON body (e.g. complex filtered_tabs). **Auth:** `x-storeid` and `x-storesecret`. Optional personalization headers: `x-user-id`, `x-anon-id`, `x-session-id`. Request body can include query, hitsPerPage, analytics_tags, include_categories, include_facets, filtered_tabs, etc.
|
|
81533
|
+
* @summary Get query suggestions (POST)
|
|
81534
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
81535
|
+
* @param {string} xStoresecret Store read secret
|
|
81536
|
+
* @param {string} [xUserId] User ID for personalization
|
|
81537
|
+
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
81538
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
81539
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Request (query, hitsPerPage, analytics_tags, filtered_tabs, etc.)
|
|
81540
|
+
* @param {*} [options] Override http request option.
|
|
81541
|
+
* @throws {RequiredError}
|
|
81542
|
+
*/
|
|
81543
|
+
async v1SuggestionsQueriesPost(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, querySuggestionsServiceQuerySuggestionsRequest?: QuerySuggestionsServiceQuerySuggestionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse>> {
|
|
81544
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options);
|
|
81545
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81546
|
+
const localVarOperationServerBasePath = operationServerMap['QuerySuggestionsApi.v1SuggestionsQueriesPost']?.[localVarOperationServerIndex]?.url;
|
|
81547
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
81548
|
+
},
|
|
81429
81549
|
}
|
|
81430
81550
|
};
|
|
81431
81551
|
|
|
@@ -81482,6 +81602,21 @@ export const QuerySuggestionsApiFactory = function (configuration?: Configuratio
|
|
|
81482
81602
|
v1SuggestionsQueriesGet(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, query?: string, q?: string, hitsPerPage?: number, page?: number, analyticsTags?: string, tagsMatchMode?: V1SuggestionsQueriesGetTagsMatchModeEnum, includeCategories?: boolean, includeFacets?: boolean, includeDropdownRecommendations?: boolean, includeDropdownProductList?: boolean, includeFilteredTabs?: boolean, includeEmptyQueryRecommendations?: boolean, maxCategories?: number, maxFacets?: number, minPopularity?: number, timeRange?: V1SuggestionsQueriesGetTimeRangeEnum, disableTypoTolerance?: boolean, filteredTabs?: string, userId?: string, anonId?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse> {
|
|
81483
81603
|
return localVarFp.v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, q, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, includeDropdownRecommendations, includeDropdownProductList, includeFilteredTabs, includeEmptyQueryRecommendations, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, filteredTabs, userId, anonId, sessionId, options).then((request) => request(axios, basePath));
|
|
81484
81604
|
},
|
|
81605
|
+
/**
|
|
81606
|
+
* Same as GET; use POST to send a JSON body (e.g. complex filtered_tabs). **Auth:** `x-storeid` and `x-storesecret`. Optional personalization headers: `x-user-id`, `x-anon-id`, `x-session-id`. Request body can include query, hitsPerPage, analytics_tags, include_categories, include_facets, filtered_tabs, etc.
|
|
81607
|
+
* @summary Get query suggestions (POST)
|
|
81608
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
81609
|
+
* @param {string} xStoresecret Store read secret
|
|
81610
|
+
* @param {string} [xUserId] User ID for personalization
|
|
81611
|
+
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
81612
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
81613
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Request (query, hitsPerPage, analytics_tags, filtered_tabs, etc.)
|
|
81614
|
+
* @param {*} [options] Override http request option.
|
|
81615
|
+
* @throws {RequiredError}
|
|
81616
|
+
*/
|
|
81617
|
+
v1SuggestionsQueriesPost(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, querySuggestionsServiceQuerySuggestionsRequest?: QuerySuggestionsServiceQuerySuggestionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse> {
|
|
81618
|
+
return localVarFp.v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options).then((request) => request(axios, basePath));
|
|
81619
|
+
},
|
|
81485
81620
|
};
|
|
81486
81621
|
};
|
|
81487
81622
|
|
|
@@ -81541,6 +81676,23 @@ export class QuerySuggestionsApi extends BaseAPI {
|
|
|
81541
81676
|
public v1SuggestionsQueriesGet(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, query?: string, q?: string, hitsPerPage?: number, page?: number, analyticsTags?: string, tagsMatchMode?: V1SuggestionsQueriesGetTagsMatchModeEnum, includeCategories?: boolean, includeFacets?: boolean, includeDropdownRecommendations?: boolean, includeDropdownProductList?: boolean, includeFilteredTabs?: boolean, includeEmptyQueryRecommendations?: boolean, maxCategories?: number, maxFacets?: number, minPopularity?: number, timeRange?: V1SuggestionsQueriesGetTimeRangeEnum, disableTypoTolerance?: boolean, filteredTabs?: string, userId?: string, anonId?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
81542
81677
|
return QuerySuggestionsApiFp(this.configuration).v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, q, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, includeDropdownRecommendations, includeDropdownProductList, includeFilteredTabs, includeEmptyQueryRecommendations, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, filteredTabs, userId, anonId, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
81543
81678
|
}
|
|
81679
|
+
|
|
81680
|
+
/**
|
|
81681
|
+
* Same as GET; use POST to send a JSON body (e.g. complex filtered_tabs). **Auth:** `x-storeid` and `x-storesecret`. Optional personalization headers: `x-user-id`, `x-anon-id`, `x-session-id`. Request body can include query, hitsPerPage, analytics_tags, include_categories, include_facets, filtered_tabs, etc.
|
|
81682
|
+
* @summary Get query suggestions (POST)
|
|
81683
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
81684
|
+
* @param {string} xStoresecret Store read secret
|
|
81685
|
+
* @param {string} [xUserId] User ID for personalization
|
|
81686
|
+
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
81687
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
81688
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Request (query, hitsPerPage, analytics_tags, filtered_tabs, etc.)
|
|
81689
|
+
* @param {*} [options] Override http request option.
|
|
81690
|
+
* @throws {RequiredError}
|
|
81691
|
+
* @memberof QuerySuggestionsApi
|
|
81692
|
+
*/
|
|
81693
|
+
public v1SuggestionsQueriesPost(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, querySuggestionsServiceQuerySuggestionsRequest?: QuerySuggestionsServiceQuerySuggestionsRequest, options?: RawAxiosRequestConfig) {
|
|
81694
|
+
return QuerySuggestionsApiFp(this.configuration).v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
81695
|
+
}
|
|
81544
81696
|
}
|
|
81545
81697
|
|
|
81546
81698
|
/**
|
|
@@ -87147,6 +87299,54 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
87147
87299
|
options: localVarRequestOptions,
|
|
87148
87300
|
};
|
|
87149
87301
|
},
|
|
87302
|
+
/**
|
|
87303
|
+
* Execute multiple search queries in a single request. Each query is independent and can have its own filters, pagination, and sorting. Maximum 10 queries per request. **Authentication:** Send `x-storeid` and `x-storesecret` headers.
|
|
87304
|
+
* @summary Multi-Search (POST)
|
|
87305
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
87306
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
87307
|
+
* @param {DataTypesMultiSearchRequest} dataTypesMultiSearchRequest Array of search queries
|
|
87308
|
+
* @param {*} [options] Override http request option.
|
|
87309
|
+
* @throws {RequiredError}
|
|
87310
|
+
*/
|
|
87311
|
+
v1MultiSearchPost: async (xStoreid: string, xStoresecret: string, dataTypesMultiSearchRequest: DataTypesMultiSearchRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
87312
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
87313
|
+
assertParamExists('v1MultiSearchPost', 'xStoreid', xStoreid)
|
|
87314
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
87315
|
+
assertParamExists('v1MultiSearchPost', 'xStoresecret', xStoresecret)
|
|
87316
|
+
// verify required parameter 'dataTypesMultiSearchRequest' is not null or undefined
|
|
87317
|
+
assertParamExists('v1MultiSearchPost', 'dataTypesMultiSearchRequest', dataTypesMultiSearchRequest)
|
|
87318
|
+
const localVarPath = `/v1/multi-search`;
|
|
87319
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
87320
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
87321
|
+
let baseOptions;
|
|
87322
|
+
if (configuration) {
|
|
87323
|
+
baseOptions = configuration.baseOptions;
|
|
87324
|
+
}
|
|
87325
|
+
|
|
87326
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
87327
|
+
const localVarHeaderParameter = {} as any;
|
|
87328
|
+
const localVarQueryParameter = {} as any;
|
|
87329
|
+
|
|
87330
|
+
|
|
87331
|
+
|
|
87332
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
87333
|
+
|
|
87334
|
+
if (xStoreid != null) {
|
|
87335
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
87336
|
+
}
|
|
87337
|
+
if (xStoresecret != null) {
|
|
87338
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
87339
|
+
}
|
|
87340
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
87341
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
87342
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
87343
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesMultiSearchRequest, localVarRequestOptions, configuration)
|
|
87344
|
+
|
|
87345
|
+
return {
|
|
87346
|
+
url: toPathString(localVarUrlObj),
|
|
87347
|
+
options: localVarRequestOptions,
|
|
87348
|
+
};
|
|
87349
|
+
},
|
|
87150
87350
|
/**
|
|
87151
87351
|
* Same as POST search; all parameters are passed as query params. **Authentication:** `x-storeid` and `x-storesecret` headers. Use `q` for the search query; optional params: `page`, `per_page`, `filter_by`, `sort_by`, `facet_by`, `widget_mode`, `include_suggestions`, etc.
|
|
87152
87352
|
* @summary Search (GET)
|
|
@@ -87388,6 +87588,66 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
87388
87588
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
87389
87589
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
87390
87590
|
|
|
87591
|
+
return {
|
|
87592
|
+
url: toPathString(localVarUrlObj),
|
|
87593
|
+
options: localVarRequestOptions,
|
|
87594
|
+
};
|
|
87595
|
+
},
|
|
87596
|
+
/**
|
|
87597
|
+
* Run a full-text search for your store. **Authentication:** Send `x-storeid` and `x-storesecret` (from Seekora dashboard). Optional: `x-user-id`, `x-anon-id`, `x-session-id` for personalization. Supports pagination, filters, facets, sorting, snippets, and autocomplete suggestions. Use `widget_mode: true` for lightweight widget results.
|
|
87598
|
+
* @summary Search (POST)
|
|
87599
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
87600
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
87601
|
+
* @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
|
|
87602
|
+
* @param {string} [xUserId] User ID for personalization
|
|
87603
|
+
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
87604
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
87605
|
+
* @param {*} [options] Override http request option.
|
|
87606
|
+
* @throws {RequiredError}
|
|
87607
|
+
*/
|
|
87608
|
+
v1SearchPost: async (xStoreid: string, xStoresecret: string, dataTypesSearchRequest: DataTypesSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
87609
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
87610
|
+
assertParamExists('v1SearchPost', 'xStoreid', xStoreid)
|
|
87611
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
87612
|
+
assertParamExists('v1SearchPost', 'xStoresecret', xStoresecret)
|
|
87613
|
+
// verify required parameter 'dataTypesSearchRequest' is not null or undefined
|
|
87614
|
+
assertParamExists('v1SearchPost', 'dataTypesSearchRequest', dataTypesSearchRequest)
|
|
87615
|
+
const localVarPath = `/v1/search`;
|
|
87616
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
87617
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
87618
|
+
let baseOptions;
|
|
87619
|
+
if (configuration) {
|
|
87620
|
+
baseOptions = configuration.baseOptions;
|
|
87621
|
+
}
|
|
87622
|
+
|
|
87623
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
87624
|
+
const localVarHeaderParameter = {} as any;
|
|
87625
|
+
const localVarQueryParameter = {} as any;
|
|
87626
|
+
|
|
87627
|
+
|
|
87628
|
+
|
|
87629
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
87630
|
+
|
|
87631
|
+
if (xStoreid != null) {
|
|
87632
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
87633
|
+
}
|
|
87634
|
+
if (xStoresecret != null) {
|
|
87635
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
87636
|
+
}
|
|
87637
|
+
if (xUserId != null) {
|
|
87638
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
87639
|
+
}
|
|
87640
|
+
if (xAnonId != null) {
|
|
87641
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
87642
|
+
}
|
|
87643
|
+
if (xSessionId != null) {
|
|
87644
|
+
localVarHeaderParameter['x-session-id'] = String(xSessionId);
|
|
87645
|
+
}
|
|
87646
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
87647
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
87648
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
87649
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesSearchRequest, localVarRequestOptions, configuration)
|
|
87650
|
+
|
|
87391
87651
|
return {
|
|
87392
87652
|
url: toPathString(localVarUrlObj),
|
|
87393
87653
|
options: localVarRequestOptions,
|
|
@@ -87485,6 +87745,21 @@ export const SearchApiFp = function(configuration?: Configuration) {
|
|
|
87485
87745
|
const localVarOperationServerBasePath = operationServerMap['SearchApi.v1IndexIndexnameDefaultsGet']?.[localVarOperationServerIndex]?.url;
|
|
87486
87746
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
87487
87747
|
},
|
|
87748
|
+
/**
|
|
87749
|
+
* Execute multiple search queries in a single request. Each query is independent and can have its own filters, pagination, and sorting. Maximum 10 queries per request. **Authentication:** Send `x-storeid` and `x-storesecret` headers.
|
|
87750
|
+
* @summary Multi-Search (POST)
|
|
87751
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
87752
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
87753
|
+
* @param {DataTypesMultiSearchRequest} dataTypesMultiSearchRequest Array of search queries
|
|
87754
|
+
* @param {*} [options] Override http request option.
|
|
87755
|
+
* @throws {RequiredError}
|
|
87756
|
+
*/
|
|
87757
|
+
async v1MultiSearchPost(xStoreid: string, xStoresecret: string, dataTypesMultiSearchRequest: DataTypesMultiSearchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesMultiSearchResponseWrapper>> {
|
|
87758
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1MultiSearchPost(xStoreid, xStoresecret, dataTypesMultiSearchRequest, options);
|
|
87759
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
87760
|
+
const localVarOperationServerBasePath = operationServerMap['SearchApi.v1MultiSearchPost']?.[localVarOperationServerIndex]?.url;
|
|
87761
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
87762
|
+
},
|
|
87488
87763
|
/**
|
|
87489
87764
|
* Same as POST search; all parameters are passed as query params. **Authentication:** `x-storeid` and `x-storesecret` headers. Use `q` for the search query; optional params: `page`, `per_page`, `filter_by`, `sort_by`, `facet_by`, `widget_mode`, `include_suggestions`, etc.
|
|
87490
87765
|
* @summary Search (GET)
|
|
@@ -87540,6 +87815,24 @@ export const SearchApiFp = function(configuration?: Configuration) {
|
|
|
87540
87815
|
const localVarOperationServerBasePath = operationServerMap['SearchApi.v1SearchGet']?.[localVarOperationServerIndex]?.url;
|
|
87541
87816
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
87542
87817
|
},
|
|
87818
|
+
/**
|
|
87819
|
+
* Run a full-text search for your store. **Authentication:** Send `x-storeid` and `x-storesecret` (from Seekora dashboard). Optional: `x-user-id`, `x-anon-id`, `x-session-id` for personalization. Supports pagination, filters, facets, sorting, snippets, and autocomplete suggestions. Use `widget_mode: true` for lightweight widget results.
|
|
87820
|
+
* @summary Search (POST)
|
|
87821
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
87822
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
87823
|
+
* @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
|
|
87824
|
+
* @param {string} [xUserId] User ID for personalization
|
|
87825
|
+
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
87826
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
87827
|
+
* @param {*} [options] Override http request option.
|
|
87828
|
+
* @throws {RequiredError}
|
|
87829
|
+
*/
|
|
87830
|
+
async v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesSearchRequest: DataTypesSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSearchResponseWrapper>> {
|
|
87831
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options);
|
|
87832
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
87833
|
+
const localVarOperationServerBasePath = operationServerMap['SearchApi.v1SearchPost']?.[localVarOperationServerIndex]?.url;
|
|
87834
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
87835
|
+
},
|
|
87543
87836
|
}
|
|
87544
87837
|
};
|
|
87545
87838
|
|
|
@@ -87614,6 +87907,18 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
|
|
|
87614
87907
|
v1IndexIndexnameDefaultsGet(indexname: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSchemaBasedDefaultsResponseWrapper> {
|
|
87615
87908
|
return localVarFp.v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(axios, basePath));
|
|
87616
87909
|
},
|
|
87910
|
+
/**
|
|
87911
|
+
* Execute multiple search queries in a single request. Each query is independent and can have its own filters, pagination, and sorting. Maximum 10 queries per request. **Authentication:** Send `x-storeid` and `x-storesecret` headers.
|
|
87912
|
+
* @summary Multi-Search (POST)
|
|
87913
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
87914
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
87915
|
+
* @param {DataTypesMultiSearchRequest} dataTypesMultiSearchRequest Array of search queries
|
|
87916
|
+
* @param {*} [options] Override http request option.
|
|
87917
|
+
* @throws {RequiredError}
|
|
87918
|
+
*/
|
|
87919
|
+
v1MultiSearchPost(xStoreid: string, xStoresecret: string, dataTypesMultiSearchRequest: DataTypesMultiSearchRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesMultiSearchResponseWrapper> {
|
|
87920
|
+
return localVarFp.v1MultiSearchPost(xStoreid, xStoresecret, dataTypesMultiSearchRequest, options).then((request) => request(axios, basePath));
|
|
87921
|
+
},
|
|
87617
87922
|
/**
|
|
87618
87923
|
* Same as POST search; all parameters are passed as query params. **Authentication:** `x-storeid` and `x-storesecret` headers. Use `q` for the search query; optional params: `page`, `per_page`, `filter_by`, `sort_by`, `facet_by`, `widget_mode`, `include_suggestions`, etc.
|
|
87619
87924
|
* @summary Search (GET)
|
|
@@ -87666,6 +87971,21 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
|
|
|
87666
87971
|
v1SearchGet(xStoreid: string, xStoresecret: string, q: string, xUserId?: string, xAnonId?: string, xSessionId?: string, page?: number, perPage?: number, sortBy?: string, filterBy?: string, facetBy?: string, maxFacetValues?: number, widgetMode?: boolean, includeSuggestions?: boolean, suggestionsLimit?: number, analyticsTags?: string, stopwordSets?: string, synonymSets?: string, searchFields?: string, returnFields?: string, omitFields?: string, snippetFields?: string, fullSnippetFields?: string, fieldWeights?: string, groupField?: string, groupSize?: number, snippetPrefix?: string, snippetSuffix?: string, snippetTokenLimit?: number, snippetMinLen?: number, includeSnippets?: boolean, prefixMode?: string, infixMode?: string, typoMax?: number, typoMinLen1?: number, typoMinLen2?: number, searchTimeoutMs?: number, requireAllTerms?: boolean, exactMatchBoost?: boolean, cacheResults?: boolean, applyRules?: boolean, presetName?: string, facetSearchText?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSearchResponseWrapper> {
|
|
87667
87972
|
return localVarFp.v1SearchGet(xStoreid, xStoresecret, q, xUserId, xAnonId, xSessionId, page, perPage, sortBy, filterBy, facetBy, maxFacetValues, widgetMode, includeSuggestions, suggestionsLimit, analyticsTags, stopwordSets, synonymSets, searchFields, returnFields, omitFields, snippetFields, fullSnippetFields, fieldWeights, groupField, groupSize, snippetPrefix, snippetSuffix, snippetTokenLimit, snippetMinLen, includeSnippets, prefixMode, infixMode, typoMax, typoMinLen1, typoMinLen2, searchTimeoutMs, requireAllTerms, exactMatchBoost, cacheResults, applyRules, presetName, facetSearchText, options).then((request) => request(axios, basePath));
|
|
87668
87973
|
},
|
|
87974
|
+
/**
|
|
87975
|
+
* Run a full-text search for your store. **Authentication:** Send `x-storeid` and `x-storesecret` (from Seekora dashboard). Optional: `x-user-id`, `x-anon-id`, `x-session-id` for personalization. Supports pagination, filters, facets, sorting, snippets, and autocomplete suggestions. Use `widget_mode: true` for lightweight widget results.
|
|
87976
|
+
* @summary Search (POST)
|
|
87977
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
87978
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
87979
|
+
* @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
|
|
87980
|
+
* @param {string} [xUserId] User ID for personalization
|
|
87981
|
+
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
87982
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
87983
|
+
* @param {*} [options] Override http request option.
|
|
87984
|
+
* @throws {RequiredError}
|
|
87985
|
+
*/
|
|
87986
|
+
v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesSearchRequest: DataTypesSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSearchResponseWrapper> {
|
|
87987
|
+
return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
|
|
87988
|
+
},
|
|
87669
87989
|
};
|
|
87670
87990
|
};
|
|
87671
87991
|
|
|
@@ -87752,6 +88072,20 @@ export class SearchApi extends BaseAPI {
|
|
|
87752
88072
|
return SearchApiFp(this.configuration).v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(this.axios, this.basePath));
|
|
87753
88073
|
}
|
|
87754
88074
|
|
|
88075
|
+
/**
|
|
88076
|
+
* Execute multiple search queries in a single request. Each query is independent and can have its own filters, pagination, and sorting. Maximum 10 queries per request. **Authentication:** Send `x-storeid` and `x-storesecret` headers.
|
|
88077
|
+
* @summary Multi-Search (POST)
|
|
88078
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
88079
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
88080
|
+
* @param {DataTypesMultiSearchRequest} dataTypesMultiSearchRequest Array of search queries
|
|
88081
|
+
* @param {*} [options] Override http request option.
|
|
88082
|
+
* @throws {RequiredError}
|
|
88083
|
+
* @memberof SearchApi
|
|
88084
|
+
*/
|
|
88085
|
+
public v1MultiSearchPost(xStoreid: string, xStoresecret: string, dataTypesMultiSearchRequest: DataTypesMultiSearchRequest, options?: RawAxiosRequestConfig) {
|
|
88086
|
+
return SearchApiFp(this.configuration).v1MultiSearchPost(xStoreid, xStoresecret, dataTypesMultiSearchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
88087
|
+
}
|
|
88088
|
+
|
|
87755
88089
|
/**
|
|
87756
88090
|
* Same as POST search; all parameters are passed as query params. **Authentication:** `x-storeid` and `x-storesecret` headers. Use `q` for the search query; optional params: `page`, `per_page`, `filter_by`, `sort_by`, `facet_by`, `widget_mode`, `include_suggestions`, etc.
|
|
87757
88091
|
* @summary Search (GET)
|
|
@@ -87805,6 +88139,23 @@ export class SearchApi extends BaseAPI {
|
|
|
87805
88139
|
public v1SearchGet(xStoreid: string, xStoresecret: string, q: string, xUserId?: string, xAnonId?: string, xSessionId?: string, page?: number, perPage?: number, sortBy?: string, filterBy?: string, facetBy?: string, maxFacetValues?: number, widgetMode?: boolean, includeSuggestions?: boolean, suggestionsLimit?: number, analyticsTags?: string, stopwordSets?: string, synonymSets?: string, searchFields?: string, returnFields?: string, omitFields?: string, snippetFields?: string, fullSnippetFields?: string, fieldWeights?: string, groupField?: string, groupSize?: number, snippetPrefix?: string, snippetSuffix?: string, snippetTokenLimit?: number, snippetMinLen?: number, includeSnippets?: boolean, prefixMode?: string, infixMode?: string, typoMax?: number, typoMinLen1?: number, typoMinLen2?: number, searchTimeoutMs?: number, requireAllTerms?: boolean, exactMatchBoost?: boolean, cacheResults?: boolean, applyRules?: boolean, presetName?: string, facetSearchText?: string, options?: RawAxiosRequestConfig) {
|
|
87806
88140
|
return SearchApiFp(this.configuration).v1SearchGet(xStoreid, xStoresecret, q, xUserId, xAnonId, xSessionId, page, perPage, sortBy, filterBy, facetBy, maxFacetValues, widgetMode, includeSuggestions, suggestionsLimit, analyticsTags, stopwordSets, synonymSets, searchFields, returnFields, omitFields, snippetFields, fullSnippetFields, fieldWeights, groupField, groupSize, snippetPrefix, snippetSuffix, snippetTokenLimit, snippetMinLen, includeSnippets, prefixMode, infixMode, typoMax, typoMinLen1, typoMinLen2, searchTimeoutMs, requireAllTerms, exactMatchBoost, cacheResults, applyRules, presetName, facetSearchText, options).then((request) => request(this.axios, this.basePath));
|
|
87807
88141
|
}
|
|
88142
|
+
|
|
88143
|
+
/**
|
|
88144
|
+
* Run a full-text search for your store. **Authentication:** Send `x-storeid` and `x-storesecret` (from Seekora dashboard). Optional: `x-user-id`, `x-anon-id`, `x-session-id` for personalization. Supports pagination, filters, facets, sorting, snippets, and autocomplete suggestions. Use `widget_mode: true` for lightweight widget results.
|
|
88145
|
+
* @summary Search (POST)
|
|
88146
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
88147
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
88148
|
+
* @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
|
|
88149
|
+
* @param {string} [xUserId] User ID for personalization
|
|
88150
|
+
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
88151
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
88152
|
+
* @param {*} [options] Override http request option.
|
|
88153
|
+
* @throws {RequiredError}
|
|
88154
|
+
* @memberof SearchApi
|
|
88155
|
+
*/
|
|
88156
|
+
public v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesSearchRequest: DataTypesSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig) {
|
|
88157
|
+
return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
|
|
88158
|
+
}
|
|
87808
88159
|
}
|
|
87809
88160
|
|
|
87810
88161
|
|