@algolia/recommend 5.0.0-alpha.8 → 5.0.0-alpha.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builds/browser.d.ts +5 -5
- package/dist/builds/node.d.ts +5 -5
- package/dist/model/advancedSyntaxFeatures.d.ts +1 -1
- package/dist/model/advancedSyntaxFeatures.d.ts.map +1 -1
- package/dist/model/alternativesAsExact.d.ts +1 -1
- package/dist/model/alternativesAsExact.d.ts.map +1 -1
- package/dist/model/anchoring.d.ts +5 -0
- package/dist/model/anchoring.d.ts.map +1 -0
- package/dist/model/aroundPrecision.d.ts +6 -0
- package/dist/model/aroundPrecision.d.ts.map +1 -0
- package/dist/model/aroundPrecisionFromValueInner.d.ts +5 -0
- package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -0
- package/dist/model/aroundRadius.d.ts +5 -5
- package/dist/model/aroundRadius.d.ts.map +1 -1
- package/dist/model/aroundRadiusAll.d.ts +1 -1
- package/dist/model/aroundRadiusAll.d.ts.map +1 -1
- package/dist/model/automaticFacetFilter.d.ts +18 -0
- package/dist/model/automaticFacetFilter.d.ts.map +1 -0
- package/dist/model/automaticFacetFilters.d.ts +6 -0
- package/dist/model/automaticFacetFilters.d.ts.map +1 -0
- package/dist/model/baseRecommendRequest.d.ts +14 -17
- package/dist/model/baseRecommendRequest.d.ts.map +1 -1
- package/dist/model/baseRecommendationsQuery.d.ts +12 -0
- package/dist/model/baseRecommendationsQuery.d.ts.map +1 -0
- package/dist/model/baseSearchParams.d.ts +3 -3
- package/dist/model/baseSearchParams.d.ts.map +1 -1
- package/dist/model/baseSearchParamsWithoutQuery.d.ts +118 -122
- package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/model/baseSearchResponse.d.ts +95 -101
- package/dist/model/baseSearchResponse.d.ts.map +1 -1
- package/dist/model/baseSearchResponseRedirect.d.ts +8 -0
- package/dist/model/baseSearchResponseRedirect.d.ts.map +1 -0
- package/dist/model/baseTrendingFacetsQuery.d.ts +9 -0
- package/dist/model/baseTrendingFacetsQuery.d.ts.map +1 -0
- package/dist/model/baseTrendingItemsQuery.d.ts +16 -0
- package/dist/model/baseTrendingItemsQuery.d.ts.map +1 -0
- package/dist/model/clientMethodProps.d.ts +127 -60
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/condition.d.ts +17 -0
- package/dist/model/condition.d.ts.map +1 -0
- package/dist/model/consequence.d.ts +26 -0
- package/dist/model/consequence.d.ts.map +1 -0
- package/dist/model/consequenceHide.d.ts +10 -0
- package/dist/model/consequenceHide.d.ts.map +1 -0
- package/dist/model/consequenceParams.d.ts +5 -0
- package/dist/model/consequenceParams.d.ts.map +1 -0
- package/dist/model/consequenceQuery.d.ts +6 -0
- package/dist/model/consequenceQuery.d.ts.map +1 -0
- package/dist/model/consequenceQueryObject.d.ts +12 -0
- package/dist/model/consequenceQueryObject.d.ts.map +1 -0
- package/dist/model/deletedAtResponse.d.ts +14 -0
- package/dist/model/deletedAtResponse.d.ts.map +1 -0
- package/dist/model/distinct.d.ts +4 -4
- package/dist/model/distinct.d.ts.map +1 -1
- package/dist/model/edit.d.ts +13 -0
- package/dist/model/edit.d.ts.map +1 -0
- package/dist/model/editType.d.ts +5 -0
- package/dist/model/editType.d.ts.map +1 -0
- package/dist/model/errorBase.d.ts +6 -6
- package/dist/model/errorBase.d.ts.map +1 -1
- package/dist/model/exactOnSingleWordQuery.d.ts +4 -4
- package/dist/model/exactOnSingleWordQuery.d.ts.map +1 -1
- package/dist/model/facetFilters.d.ts +5 -5
- package/dist/model/facetFilters.d.ts.map +1 -1
- package/dist/model/facetOrdering.d.ts +12 -12
- package/dist/model/facetOrdering.d.ts.map +1 -1
- package/dist/model/facets.d.ts +9 -9
- package/dist/model/facets.d.ts.map +1 -1
- package/dist/model/facetsStats.d.ts +18 -18
- package/dist/model/facetsStats.d.ts.map +1 -1
- package/dist/model/getRecommendTaskResponse.d.ts +5 -0
- package/dist/model/getRecommendTaskResponse.d.ts.map +1 -0
- package/dist/model/getRecommendationsParams.d.ts +10 -10
- package/dist/model/getRecommendationsParams.d.ts.map +1 -1
- package/dist/model/getRecommendationsResponse.d.ts +4 -4
- package/dist/model/getRecommendationsResponse.d.ts.map +1 -1
- package/dist/model/highlightResult.d.ts +2 -2
- package/dist/model/highlightResult.d.ts.map +1 -1
- package/dist/model/highlightResultOption.d.ts +19 -19
- package/dist/model/highlightResultOption.d.ts.map +1 -1
- package/dist/model/ignorePlurals.d.ts +4 -4
- package/dist/model/ignorePlurals.d.ts.map +1 -1
- package/dist/model/index.d.ts +86 -53
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/indexSettingsAsSearchParams.d.ts +166 -160
- package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
- package/dist/model/matchLevel.d.ts +4 -4
- package/dist/model/matchLevel.d.ts.map +1 -1
- package/dist/model/matchedGeoLocation.d.ts +14 -14
- package/dist/model/matchedGeoLocation.d.ts.map +1 -1
- package/dist/model/mixedSearchFilters.d.ts +1 -1
- package/dist/model/mixedSearchFilters.d.ts.map +1 -1
- package/dist/model/mode.d.ts +5 -0
- package/dist/model/mode.d.ts.map +1 -0
- package/dist/model/numericFilters.d.ts +5 -5
- package/dist/model/numericFilters.d.ts.map +1 -1
- package/dist/model/optionalFilters.d.ts +5 -5
- package/dist/model/optionalFilters.d.ts.map +1 -1
- package/dist/model/params.d.ts +13 -0
- package/dist/model/params.d.ts.map +1 -0
- package/dist/model/personalization.d.ts +14 -14
- package/dist/model/personalization.d.ts.map +1 -1
- package/dist/model/promote.d.ts +4 -0
- package/dist/model/promote.d.ts.map +1 -0
- package/dist/model/promoteObjectID.d.ts +14 -0
- package/dist/model/promoteObjectID.d.ts.map +1 -0
- package/dist/model/promoteObjectIDs.d.ts +14 -0
- package/dist/model/promoteObjectIDs.d.ts.map +1 -0
- package/dist/model/queryType.d.ts +4 -4
- package/dist/model/queryType.d.ts.map +1 -1
- package/dist/model/rankingInfo.d.ts +50 -50
- package/dist/model/rankingInfo.d.ts.map +1 -1
- package/dist/model/reRankingApplyFilter.d.ts +5 -5
- package/dist/model/reRankingApplyFilter.d.ts.map +1 -1
- package/dist/model/recommendHit.d.ts +26 -26
- package/dist/model/recommendHit.d.ts.map +1 -1
- package/dist/model/recommendHits.d.ts +12 -4
- package/dist/model/recommendHits.d.ts.map +1 -1
- package/dist/model/recommendModels.d.ts +2 -0
- package/dist/model/recommendModels.d.ts.map +1 -0
- package/dist/model/recommendationModels.d.ts +4 -4
- package/dist/model/recommendationModels.d.ts.map +1 -1
- package/dist/model/recommendationsQuery.d.ts +4 -0
- package/dist/model/recommendationsQuery.d.ts.map +1 -0
- package/dist/model/recommendationsRequest.d.ts +4 -3
- package/dist/model/recommendationsRequest.d.ts.map +1 -1
- package/dist/model/recommendationsResponse.d.ts +3 -3
- package/dist/model/recommendationsResponse.d.ts.map +1 -1
- package/dist/model/redirectRuleIndexMetadata.d.ts +21 -0
- package/dist/model/redirectRuleIndexMetadata.d.ts.map +1 -0
- package/dist/model/redirectRuleIndexMetadataData.d.ts +7 -0
- package/dist/model/redirectRuleIndexMetadataData.d.ts.map +1 -0
- package/dist/model/removeStopWords.d.ts +4 -4
- package/dist/model/removeStopWords.d.ts.map +1 -1
- package/dist/model/removeWordsIfNoResults.d.ts +4 -4
- package/dist/model/removeWordsIfNoResults.d.ts.map +1 -1
- package/dist/model/renderingContent.d.ts +7 -7
- package/dist/model/renderingContent.d.ts.map +1 -1
- package/dist/model/ruleResponse.d.ts +27 -0
- package/dist/model/ruleResponse.d.ts.map +1 -0
- package/dist/model/ruleResponseMetadata.d.ts +7 -0
- package/dist/model/ruleResponseMetadata.d.ts.map +1 -0
- package/dist/model/searchParamsObject.d.ts +3 -3
- package/dist/model/searchParamsObject.d.ts.map +1 -1
- package/dist/model/searchParamsQuery.d.ts +6 -6
- package/dist/model/searchParamsQuery.d.ts.map +1 -1
- package/dist/model/searchRecommendRulesParams.d.ts +30 -0
- package/dist/model/searchRecommendRulesParams.d.ts.map +1 -0
- package/dist/model/searchRecommendRulesResponse.d.ts +20 -0
- package/dist/model/searchRecommendRulesResponse.d.ts.map +1 -0
- package/dist/model/semanticSearch.d.ts +10 -0
- package/dist/model/semanticSearch.d.ts.map +1 -0
- package/dist/model/snippetResult.d.ts +2 -2
- package/dist/model/snippetResult.d.ts.map +1 -1
- package/dist/model/snippetResultOption.d.ts +11 -11
- package/dist/model/snippetResultOption.d.ts.map +1 -1
- package/dist/model/sortRemainingBy.d.ts +4 -4
- package/dist/model/sortRemainingBy.d.ts.map +1 -1
- package/dist/model/tagFilters.d.ts +5 -5
- package/dist/model/tagFilters.d.ts.map +1 -1
- package/dist/model/taskStatus.d.ts +5 -0
- package/dist/model/taskStatus.d.ts.map +1 -0
- package/dist/model/trendingFacetsModel.d.ts +5 -0
- package/dist/model/trendingFacetsModel.d.ts.map +1 -0
- package/dist/model/trendingFacetsQuery.d.ts +4 -0
- package/dist/model/trendingFacetsQuery.d.ts.map +1 -0
- package/dist/model/trendingItemsModel.d.ts +5 -0
- package/dist/model/trendingItemsModel.d.ts.map +1 -0
- package/dist/model/trendingItemsQuery.d.ts +4 -0
- package/dist/model/trendingItemsQuery.d.ts.map +1 -0
- package/dist/model/typoTolerance.d.ts +5 -5
- package/dist/model/typoTolerance.d.ts.map +1 -1
- package/dist/model/typoToleranceEnum.d.ts +1 -1
- package/dist/model/typoToleranceEnum.d.ts.map +1 -1
- package/dist/model/value.d.ts +8 -8
- package/dist/model/value.d.ts.map +1 -1
- package/dist/recommend.cjs +381 -0
- package/dist/recommend.esm.browser.js +553 -468
- package/dist/recommend.esm.node.js +370 -235
- package/dist/recommend.umd.js +2 -2
- package/dist/src/recommendClient.d.ts +129 -81
- package/dist/src/recommendClient.d.ts.map +1 -1
- package/index.js +1 -1
- package/model/advancedSyntaxFeatures.ts +1 -1
- package/model/alternativesAsExact.ts +1 -1
- package/model/anchoring.ts +6 -0
- package/model/aroundPrecision.ts +8 -0
- package/model/aroundPrecisionFromValueInner.ts +7 -0
- package/model/aroundRadius.ts +2 -2
- package/model/aroundRadiusAll.ts +1 -1
- package/model/automaticFacetFilter.ts +21 -0
- package/model/automaticFacetFilters.ts +8 -0
- package/model/baseRecommendRequest.ts +5 -11
- package/model/baseRecommendationsQuery.ts +17 -0
- package/model/baseSearchParams.ts +1 -1
- package/model/baseSearchParamsWithoutQuery.ts +38 -43
- package/model/baseSearchResponse.ts +21 -28
- package/model/baseSearchResponseRedirect.ts +10 -0
- package/model/baseTrendingFacetsQuery.ts +12 -0
- package/model/baseTrendingItemsQuery.ts +22 -0
- package/model/clientMethodProps.ts +83 -11
- package/model/condition.ts +22 -0
- package/model/consequence.ts +32 -0
- package/model/consequenceHide.ts +11 -0
- package/model/consequenceParams.ts +9 -0
- package/model/consequenceQuery.ts +8 -0
- package/model/consequenceQueryObject.ts +15 -0
- package/model/deletedAtResponse.ts +16 -0
- package/model/distinct.ts +2 -2
- package/model/edit.ts +17 -0
- package/model/editType.ts +6 -0
- package/model/errorBase.ts +1 -1
- package/model/exactOnSingleWordQuery.ts +2 -2
- package/model/facetFilters.ts +2 -2
- package/model/facetOrdering.ts +3 -3
- package/model/facets.ts +2 -2
- package/model/facetsStats.ts +5 -5
- package/model/getRecommendTaskResponse.ts +7 -0
- package/model/getRecommendationsParams.ts +3 -3
- package/model/getRecommendationsResponse.ts +1 -1
- package/model/highlightResult.ts +1 -1
- package/model/highlightResultOption.ts +2 -2
- package/model/ignorePlurals.ts +2 -2
- package/model/index.ts +39 -6
- package/model/indexSettingsAsSearchParams.ts +53 -44
- package/model/matchLevel.ts +1 -1
- package/model/matchedGeoLocation.ts +1 -1
- package/model/mixedSearchFilters.ts +1 -1
- package/model/mode.ts +6 -0
- package/model/numericFilters.ts +2 -2
- package/model/optionalFilters.ts +2 -2
- package/model/params.ts +18 -0
- package/model/personalization.ts +1 -1
- package/model/promote.ts +6 -0
- package/model/promoteObjectID.ts +16 -0
- package/model/promoteObjectIDs.ts +16 -0
- package/model/queryType.ts +2 -2
- package/model/rankingInfo.ts +1 -1
- package/model/reRankingApplyFilter.ts +2 -2
- package/model/recommendHit.ts +4 -4
- package/model/recommendHits.ts +11 -1
- package/model/recommendModels.ts +7 -0
- package/model/recommendationModels.ts +2 -2
- package/model/recommendationsQuery.ts +7 -0
- package/model/recommendationsRequest.ts +8 -4
- package/model/recommendationsResponse.ts +1 -1
- package/model/redirectRuleIndexMetadata.ts +27 -0
- package/model/redirectRuleIndexMetadataData.ts +8 -0
- package/model/removeStopWords.ts +2 -2
- package/model/removeWordsIfNoResults.ts +2 -2
- package/model/renderingContent.ts +2 -2
- package/model/ruleResponse.ts +34 -0
- package/model/ruleResponseMetadata.ts +8 -0
- package/model/searchParamsObject.ts +1 -1
- package/model/searchParamsQuery.ts +2 -2
- package/model/searchRecommendRulesParams.ts +36 -0
- package/model/searchRecommendRulesResponse.ts +25 -0
- package/model/semanticSearch.ts +11 -0
- package/model/snippetResult.ts +1 -1
- package/model/snippetResultOption.ts +2 -2
- package/model/sortRemainingBy.ts +2 -2
- package/model/tagFilters.ts +2 -2
- package/model/taskStatus.ts +6 -0
- package/model/trendingFacetsModel.ts +6 -0
- package/model/trendingFacetsQuery.ts +7 -0
- package/model/trendingItemsModel.ts +6 -0
- package/model/trendingItemsQuery.ts +6 -0
- package/model/typoTolerance.ts +2 -2
- package/model/typoToleranceEnum.ts +1 -1
- package/model/value.ts +1 -1
- package/package.json +30 -13
- package/dist/model/baseRecommendationRequest.d.ts +0 -9
- package/dist/model/baseRecommendationRequest.d.ts.map +0 -1
- package/dist/model/baseTrendingRequest.d.ts +0 -13
- package/dist/model/baseTrendingRequest.d.ts.map +0 -1
- package/dist/model/recommendationRequest.d.ts +0 -4
- package/dist/model/recommendationRequest.d.ts.map +0 -1
- package/dist/model/trendingModels.d.ts +0 -5
- package/dist/model/trendingModels.d.ts.map +0 -1
- package/dist/model/trendingRequest.d.ts +0 -4
- package/dist/model/trendingRequest.d.ts.map +0 -1
- package/dist/recommend.cjs.js +0 -248
- package/model/baseRecommendationRequest.ts +0 -12
- package/model/baseTrendingRequest.ts +0 -17
- package/model/recommendationRequest.ts +0 -7
- package/model/trendingModels.ts +0 -6
- package/model/trendingRequest.ts +0 -6
package/model/edit.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { EditType } from './editType';
|
|
4
|
+
|
|
5
|
+
export type Edit = {
|
|
6
|
+
type?: EditType;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Text or patterns to remove from the query string.
|
|
10
|
+
*/
|
|
11
|
+
delete?: string;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Text that should be inserted in place of the removed text inside the query string.
|
|
15
|
+
*/
|
|
16
|
+
insert?: string;
|
|
17
|
+
};
|
package/model/errorBase.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Error.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the query contains only one word.
|
|
5
5
|
*/
|
|
6
6
|
export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
|
package/model/facetFilters.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Filter hits by facet value.
|
|
6
|
+
* [Filter hits by facet value](https://www.algolia.com/doc/api-reference/api-parameters/facetFilters/).
|
|
7
7
|
*/
|
|
8
8
|
export type FacetFilters = MixedSearchFilters[] | string;
|
package/model/facetOrdering.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { Facets } from './facets';
|
|
4
4
|
import type { Value } from './value';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Defines the ordering of facets (widgets).
|
|
8
8
|
*/
|
|
9
9
|
export type FacetOrdering = {
|
|
10
10
|
facets?: Facets;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Ordering of facet values within an individual facet.
|
|
14
14
|
*/
|
|
15
15
|
values?: Record<string, Value>;
|
|
16
16
|
};
|
package/model/facets.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Ordering of facets (widgets).
|
|
5
5
|
*/
|
|
6
6
|
export type Facets = {
|
|
7
7
|
/**
|
package/model/facetsStats.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type FacetsStats = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Minimum value in the results.
|
|
6
6
|
*/
|
|
7
7
|
min?: number;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Maximum value in the results.
|
|
11
11
|
*/
|
|
12
12
|
max?: number;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Average facet value in the results.
|
|
16
16
|
*/
|
|
17
17
|
avg?: number;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Sum of all values in the results.
|
|
21
21
|
*/
|
|
22
22
|
sum?: number;
|
|
23
23
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { TaskStatus } from './taskStatus';
|
|
4
|
+
|
|
5
|
+
export type GetRecommendTaskResponse = {
|
|
6
|
+
status: TaskStatus;
|
|
7
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { RecommendationsRequest } from './recommendationsRequest';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Recommend parameters.
|
|
7
7
|
*/
|
|
8
8
|
export type GetRecommendationsParams = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Request parameters depend on the model (recommendations or trending).
|
|
11
11
|
*/
|
|
12
12
|
requests: RecommendationsRequest[];
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { RecommendationsResponse } from './recommendationsResponse';
|
|
4
4
|
|
package/model/highlightResult.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { HighlightResultOption } from './highlightResultOption';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { MatchLevel } from './matchLevel';
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ import type { MatchLevel } from './matchLevel';
|
|
|
7
7
|
*/
|
|
8
8
|
export type HighlightResultOption = {
|
|
9
9
|
/**
|
|
10
|
-
* Markup text with
|
|
10
|
+
* Markup text with `facetQuery` matches highlighted.
|
|
11
11
|
*/
|
|
12
12
|
value: string;
|
|
13
13
|
|
package/model/ignorePlurals.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Treats singular, plurals, and other forms of declensions as matching terms.
|
|
4
|
+
* Treats singular, plurals, and other forms of declensions as matching terms. `ignorePlurals` is used in conjunction with the `queryLanguages` setting. _list_: language ISO codes for which ignoring plurals should be enabled. This list will override any values that you may have set in `queryLanguages`. _true_: enables the ignore plurals feature, where singulars and plurals are considered equivalent (\"foot\" = \"feet\"). The languages supported here are either [every language](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/) (this is the default) or those set by `queryLanguages`. _false_: turns off the ignore plurals feature, so that singulars and plurals aren\'t considered to be the same (\"foot\" will not find \"feet\").
|
|
5
5
|
*/
|
|
6
6
|
export type IgnorePlurals = string[] | boolean;
|
package/model/index.ts
CHANGED
|
@@ -1,22 +1,39 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export * from './advancedSyntaxFeatures';
|
|
4
4
|
export * from './alternativesAsExact';
|
|
5
|
+
export * from './anchoring';
|
|
6
|
+
export * from './aroundPrecision';
|
|
7
|
+
export * from './aroundPrecisionFromValueInner';
|
|
5
8
|
export * from './aroundRadius';
|
|
6
9
|
export * from './aroundRadiusAll';
|
|
10
|
+
export * from './automaticFacetFilter';
|
|
11
|
+
export * from './automaticFacetFilters';
|
|
7
12
|
export * from './baseRecommendRequest';
|
|
8
|
-
export * from './
|
|
13
|
+
export * from './baseRecommendationsQuery';
|
|
9
14
|
export * from './baseSearchParams';
|
|
10
15
|
export * from './baseSearchParamsWithoutQuery';
|
|
11
16
|
export * from './baseSearchResponse';
|
|
12
|
-
export * from './
|
|
17
|
+
export * from './baseSearchResponseRedirect';
|
|
18
|
+
export * from './baseTrendingFacetsQuery';
|
|
19
|
+
export * from './baseTrendingItemsQuery';
|
|
20
|
+
export * from './condition';
|
|
21
|
+
export * from './consequence';
|
|
22
|
+
export * from './consequenceHide';
|
|
23
|
+
export * from './consequenceParams';
|
|
24
|
+
export * from './consequenceQuery';
|
|
25
|
+
export * from './consequenceQueryObject';
|
|
26
|
+
export * from './deletedAtResponse';
|
|
13
27
|
export * from './distinct';
|
|
28
|
+
export * from './edit';
|
|
29
|
+
export * from './editType';
|
|
14
30
|
export * from './errorBase';
|
|
15
31
|
export * from './exactOnSingleWordQuery';
|
|
16
32
|
export * from './facetFilters';
|
|
17
33
|
export * from './facetOrdering';
|
|
18
34
|
export * from './facets';
|
|
19
35
|
export * from './facetsStats';
|
|
36
|
+
export * from './getRecommendTaskResponse';
|
|
20
37
|
export * from './getRecommendationsParams';
|
|
21
38
|
export * from './getRecommendationsResponse';
|
|
22
39
|
export * from './highlightResult';
|
|
@@ -26,29 +43,45 @@ export * from './indexSettingsAsSearchParams';
|
|
|
26
43
|
export * from './matchLevel';
|
|
27
44
|
export * from './matchedGeoLocation';
|
|
28
45
|
export * from './mixedSearchFilters';
|
|
46
|
+
export * from './mode';
|
|
29
47
|
export * from './numericFilters';
|
|
30
48
|
export * from './optionalFilters';
|
|
49
|
+
export * from './params';
|
|
31
50
|
export * from './personalization';
|
|
51
|
+
export * from './promote';
|
|
52
|
+
export * from './promoteObjectID';
|
|
53
|
+
export * from './promoteObjectIDs';
|
|
32
54
|
export * from './queryType';
|
|
33
55
|
export * from './rankingInfo';
|
|
34
56
|
export * from './reRankingApplyFilter';
|
|
35
57
|
export * from './recommendHit';
|
|
36
58
|
export * from './recommendHits';
|
|
59
|
+
export * from './recommendModels';
|
|
37
60
|
export * from './recommendationModels';
|
|
38
|
-
export * from './
|
|
61
|
+
export * from './recommendationsQuery';
|
|
39
62
|
export * from './recommendationsRequest';
|
|
40
63
|
export * from './recommendationsResponse';
|
|
64
|
+
export * from './redirectRuleIndexMetadata';
|
|
65
|
+
export * from './redirectRuleIndexMetadataData';
|
|
41
66
|
export * from './removeStopWords';
|
|
42
67
|
export * from './removeWordsIfNoResults';
|
|
43
68
|
export * from './renderingContent';
|
|
69
|
+
export * from './ruleResponse';
|
|
70
|
+
export * from './ruleResponseMetadata';
|
|
44
71
|
export * from './searchParamsObject';
|
|
45
72
|
export * from './searchParamsQuery';
|
|
73
|
+
export * from './searchRecommendRulesParams';
|
|
74
|
+
export * from './searchRecommendRulesResponse';
|
|
75
|
+
export * from './semanticSearch';
|
|
46
76
|
export * from './snippetResult';
|
|
47
77
|
export * from './snippetResultOption';
|
|
48
78
|
export * from './sortRemainingBy';
|
|
49
79
|
export * from './tagFilters';
|
|
50
|
-
export * from './
|
|
51
|
-
export * from './
|
|
80
|
+
export * from './taskStatus';
|
|
81
|
+
export * from './trendingFacetsModel';
|
|
82
|
+
export * from './trendingFacetsQuery';
|
|
83
|
+
export * from './trendingItemsModel';
|
|
84
|
+
export * from './trendingItemsQuery';
|
|
52
85
|
export * from './typoTolerance';
|
|
53
86
|
export * from './typoToleranceEnum';
|
|
54
87
|
export * from './value';
|
|
@@ -1,69 +1,62 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { AdvancedSyntaxFeatures } from './advancedSyntaxFeatures';
|
|
4
4
|
import type { AlternativesAsExact } from './alternativesAsExact';
|
|
5
5
|
import type { Distinct } from './distinct';
|
|
6
6
|
import type { ExactOnSingleWordQuery } from './exactOnSingleWordQuery';
|
|
7
7
|
import type { IgnorePlurals } from './ignorePlurals';
|
|
8
|
+
import type { Mode } from './mode';
|
|
8
9
|
import type { QueryType } from './queryType';
|
|
10
|
+
import type { ReRankingApplyFilter } from './reRankingApplyFilter';
|
|
9
11
|
import type { RemoveStopWords } from './removeStopWords';
|
|
10
12
|
import type { RemoveWordsIfNoResults } from './removeWordsIfNoResults';
|
|
11
13
|
import type { RenderingContent } from './renderingContent';
|
|
14
|
+
import type { SemanticSearch } from './semanticSearch';
|
|
12
15
|
import type { TypoTolerance } from './typoTolerance';
|
|
13
16
|
|
|
14
17
|
export type IndexSettingsAsSearchParams = {
|
|
15
18
|
/**
|
|
16
|
-
*
|
|
19
|
+
* Attributes used for [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/) and the [modifiers](https://www.algolia.com/doc/api-reference/api-parameters/attributesForFaceting/#modifiers) that can be applied: `filterOnly`, `searchable`, and `afterDistinct`.
|
|
17
20
|
*/
|
|
18
21
|
attributesForFaceting?: string[];
|
|
19
22
|
|
|
20
23
|
/**
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
unretrievableAttributes?: string[];
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* This parameter controls which attributes to retrieve and which not to retrieve.
|
|
24
|
+
* Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. By default, the response includes all attributes.
|
|
27
25
|
*/
|
|
28
26
|
attributesToRetrieve?: string[];
|
|
29
27
|
|
|
30
28
|
/**
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
restrictSearchableAttributes?: string[];
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Controls how Algolia should sort your results.
|
|
29
|
+
* Determines the order in which Algolia [returns your results](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/).
|
|
37
30
|
*/
|
|
38
31
|
ranking?: string[];
|
|
39
32
|
|
|
40
33
|
/**
|
|
41
|
-
* Specifies the
|
|
34
|
+
* Specifies the [Custom ranking criterion](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/). Use the `asc` and `desc` modifiers to specify the ranking order: ascending or descending.
|
|
42
35
|
*/
|
|
43
36
|
customRanking?: string[];
|
|
44
37
|
|
|
45
38
|
/**
|
|
46
|
-
*
|
|
39
|
+
* Relevancy threshold below which less relevant results aren\'t included in the results.
|
|
47
40
|
*/
|
|
48
41
|
relevancyStrictness?: number;
|
|
49
42
|
|
|
50
43
|
/**
|
|
51
|
-
*
|
|
44
|
+
* Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (`highlightPreTag` and `highlightPostTag`).
|
|
52
45
|
*/
|
|
53
46
|
attributesToHighlight?: string[];
|
|
54
47
|
|
|
55
48
|
/**
|
|
56
|
-
*
|
|
49
|
+
* Attributes to _snippet_. \'Snippeting\' is shortening the attribute to a certain number of words. If not specified, the attribute is shortened to the 10 words around the matching string but you can specify the number. For example: `body:20`.
|
|
57
50
|
*/
|
|
58
51
|
attributesToSnippet?: string[];
|
|
59
52
|
|
|
60
53
|
/**
|
|
61
|
-
*
|
|
54
|
+
* HTML string to insert before the highlighted parts in all highlight and snippet results.
|
|
62
55
|
*/
|
|
63
56
|
highlightPreTag?: string;
|
|
64
57
|
|
|
65
58
|
/**
|
|
66
|
-
*
|
|
59
|
+
* HTML string to insert after the highlighted parts in all highlight and snippet results.
|
|
67
60
|
*/
|
|
68
61
|
highlightPostTag?: string;
|
|
69
62
|
|
|
@@ -78,17 +71,17 @@ export type IndexSettingsAsSearchParams = {
|
|
|
78
71
|
restrictHighlightAndSnippetArrays?: boolean;
|
|
79
72
|
|
|
80
73
|
/**
|
|
81
|
-
*
|
|
74
|
+
* Number of hits per page.
|
|
82
75
|
*/
|
|
83
76
|
hitsPerPage?: number;
|
|
84
77
|
|
|
85
78
|
/**
|
|
86
|
-
* Minimum number of characters a word in the query string must contain to accept matches with
|
|
79
|
+
* Minimum number of characters a word in the query string must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).
|
|
87
80
|
*/
|
|
88
81
|
minWordSizefor1Typo?: number;
|
|
89
82
|
|
|
90
83
|
/**
|
|
91
|
-
* Minimum number of characters a word in the query string must contain to accept matches with
|
|
84
|
+
* Minimum number of characters a word in the query string must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).
|
|
92
85
|
*/
|
|
93
86
|
minWordSizefor2Typos?: number;
|
|
94
87
|
|
|
@@ -100,7 +93,7 @@ export type IndexSettingsAsSearchParams = {
|
|
|
100
93
|
allowTyposOnNumericTokens?: boolean;
|
|
101
94
|
|
|
102
95
|
/**
|
|
103
|
-
*
|
|
96
|
+
* Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/).
|
|
104
97
|
*/
|
|
105
98
|
disableTypoToleranceOnAttributes?: string[];
|
|
106
99
|
|
|
@@ -109,27 +102,27 @@ export type IndexSettingsAsSearchParams = {
|
|
|
109
102
|
removeStopWords?: RemoveStopWords;
|
|
110
103
|
|
|
111
104
|
/**
|
|
112
|
-
*
|
|
105
|
+
* Characters that the engine shouldn\'t automatically [normalize](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).
|
|
113
106
|
*/
|
|
114
107
|
keepDiacriticsOnCharacters?: string;
|
|
115
108
|
|
|
116
109
|
/**
|
|
117
|
-
* Sets
|
|
110
|
+
* Sets your user\'s search language. This adjusts language-specific settings and features such as `ignorePlurals`, `removeStopWords`, and [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) word detection.
|
|
118
111
|
*/
|
|
119
112
|
queryLanguages?: string[];
|
|
120
113
|
|
|
121
114
|
/**
|
|
122
|
-
* Splits compound words into their
|
|
115
|
+
* [Splits compound words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words) into their component word parts in the query.
|
|
123
116
|
*/
|
|
124
117
|
decompoundQuery?: boolean;
|
|
125
118
|
|
|
126
119
|
/**
|
|
127
|
-
*
|
|
120
|
+
* Incidates whether [Rules](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/) are enabled.
|
|
128
121
|
*/
|
|
129
122
|
enableRules?: boolean;
|
|
130
123
|
|
|
131
124
|
/**
|
|
132
|
-
*
|
|
125
|
+
* Incidates whether [Personalization](https://www.algolia.com/doc/guides/personalization/what-is-personalization/) is enabled.
|
|
133
126
|
*/
|
|
134
127
|
enablePersonalization?: boolean;
|
|
135
128
|
|
|
@@ -137,69 +130,85 @@ export type IndexSettingsAsSearchParams = {
|
|
|
137
130
|
|
|
138
131
|
removeWordsIfNoResults?: RemoveWordsIfNoResults;
|
|
139
132
|
|
|
133
|
+
mode?: Mode;
|
|
134
|
+
|
|
135
|
+
semanticSearch?: SemanticSearch;
|
|
136
|
+
|
|
140
137
|
/**
|
|
141
|
-
* Enables the advanced query syntax.
|
|
138
|
+
* Enables the [advanced query syntax](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#advanced-syntax).
|
|
142
139
|
*/
|
|
143
140
|
advancedSyntax?: boolean;
|
|
144
141
|
|
|
145
142
|
/**
|
|
146
|
-
*
|
|
143
|
+
* Words which should be considered [optional](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words) when found in a query.
|
|
147
144
|
*/
|
|
148
145
|
optionalWords?: string[];
|
|
149
146
|
|
|
150
147
|
/**
|
|
151
|
-
*
|
|
148
|
+
* Attributes for which you want to [turn off the exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).
|
|
152
149
|
*/
|
|
153
150
|
disableExactOnAttributes?: string[];
|
|
154
151
|
|
|
155
152
|
exactOnSingleWordQuery?: ExactOnSingleWordQuery;
|
|
156
153
|
|
|
157
154
|
/**
|
|
158
|
-
*
|
|
155
|
+
* Alternatives that should be considered an exact match by [the exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).
|
|
159
156
|
*/
|
|
160
157
|
alternativesAsExact?: AlternativesAsExact[];
|
|
161
158
|
|
|
162
159
|
/**
|
|
163
|
-
* Allows you to specify which advanced syntax features are active when
|
|
160
|
+
* Allows you to specify which advanced syntax features are active when `advancedSyntax` is enabled.
|
|
164
161
|
*/
|
|
165
162
|
advancedSyntaxFeatures?: AdvancedSyntaxFeatures[];
|
|
166
163
|
|
|
167
164
|
distinct?: Distinct;
|
|
168
165
|
|
|
169
166
|
/**
|
|
170
|
-
* Name of the
|
|
167
|
+
* Name of the deduplication attribute to be used with Algolia\'s [_distinct_ feature](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature).
|
|
171
168
|
*/
|
|
172
169
|
attributeForDistinct?: string;
|
|
173
170
|
|
|
174
|
-
/**
|
|
175
|
-
* Whether to take into account an index\'s synonyms for a particular search.
|
|
176
|
-
*/
|
|
177
|
-
synonyms?: boolean;
|
|
178
|
-
|
|
179
171
|
/**
|
|
180
172
|
* Whether to highlight and snippet the original word that matches the synonym or the synonym itself.
|
|
181
173
|
*/
|
|
182
174
|
replaceSynonymsInHighlight?: boolean;
|
|
183
175
|
|
|
184
176
|
/**
|
|
185
|
-
* Precision of the proximity ranking criterion.
|
|
177
|
+
* Precision of the [proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity).
|
|
186
178
|
*/
|
|
187
179
|
minProximity?: number;
|
|
188
180
|
|
|
189
181
|
/**
|
|
190
|
-
*
|
|
182
|
+
* Attributes to include in the API response for search and browse queries.
|
|
191
183
|
*/
|
|
192
184
|
responseFields?: string[];
|
|
193
185
|
|
|
194
186
|
/**
|
|
195
|
-
* Maximum number of facet hits to return
|
|
187
|
+
* Maximum number of facet hits to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
|
|
196
188
|
*/
|
|
197
189
|
maxFacetHits?: number;
|
|
198
190
|
|
|
199
191
|
/**
|
|
200
|
-
*
|
|
192
|
+
* Maximum number of facet values to return for each facet.
|
|
193
|
+
*/
|
|
194
|
+
maxValuesPerFacet?: number;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Controls how facet values are fetched.
|
|
198
|
+
*/
|
|
199
|
+
sortFacetValuesBy?: string;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* When the [Attribute criterion is ranked above Proximity](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute-and-proximity-combinations) in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage.
|
|
201
203
|
*/
|
|
202
204
|
attributeCriteriaComputedByMinProximity?: boolean;
|
|
203
205
|
|
|
204
206
|
renderingContent?: RenderingContent;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Indicates whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
|
|
210
|
+
*/
|
|
211
|
+
enableReRanking?: boolean;
|
|
212
|
+
|
|
213
|
+
reRankingApplyFilter?: ReRankingApplyFilter | null;
|
|
205
214
|
};
|
package/model/matchLevel.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Indicates how well the attribute matched the search query.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type MatchedGeoLocation = {
|
|
4
4
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type MixedSearchFilters = string[] | string;
|
package/model/mode.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Search mode the index will use to query for results.
|
|
5
|
+
*/
|
|
6
|
+
export type Mode = 'keywordSearch' | 'neuralSearch';
|
package/model/numericFilters.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Filter on numeric attributes.
|
|
6
|
+
* [Filter on numeric attributes](https://www.algolia.com/doc/api-reference/api-parameters/numericFilters/).
|
|
7
7
|
*/
|
|
8
8
|
export type NumericFilters = MixedSearchFilters[] | string;
|
package/model/optionalFilters.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Create filters
|
|
6
|
+
* Create filters to boost or demote records. Records that match the filter are ranked higher for positive and lower for negative optional filters. In contrast to regular filters, records that don\'t match the optional filter are still included in the results, only their ranking is affected.
|
|
7
7
|
*/
|
|
8
8
|
export type OptionalFilters = MixedSearchFilters[] | string;
|
package/model/params.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { AutomaticFacetFilters } from './automaticFacetFilters';
|
|
4
|
+
import type { ConsequenceQuery } from './consequenceQuery';
|
|
5
|
+
import type { RenderingContent } from './renderingContent';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Additional search parameters.
|
|
9
|
+
*/
|
|
10
|
+
export type Params = {
|
|
11
|
+
query?: ConsequenceQuery;
|
|
12
|
+
|
|
13
|
+
automaticFacetFilters?: AutomaticFacetFilters;
|
|
14
|
+
|
|
15
|
+
automaticOptionalFacetFilters?: AutomaticFacetFilters;
|
|
16
|
+
|
|
17
|
+
renderingContent?: RenderingContent;
|
|
18
|
+
};
|
package/model/personalization.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type Personalization = {
|
|
4
4
|
/**
|
package/model/promote.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { PromoteObjectID } from './promoteObjectID';
|
|
4
|
+
import type { PromoteObjectIDs } from './promoteObjectIDs';
|
|
5
|
+
|
|
6
|
+
export type Promote = PromoteObjectID | PromoteObjectIDs;
|