@algolia/recommend 5.0.0-alpha.99 → 5.0.0-beta.2
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 +21 -3
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +21 -3
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/model/aroundPrecision.d.ts +1 -1
- package/dist/model/aroundPrecisionFromValueInner.d.ts +9 -0
- package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
- package/dist/model/aroundRadius.d.ts +1 -1
- package/dist/model/aroundRadiusAll.d.ts +3 -0
- package/dist/model/aroundRadiusAll.d.ts.map +1 -1
- package/dist/model/autoFacetFilter.d.ts +14 -0
- package/dist/model/autoFacetFilter.d.ts.map +1 -0
- package/dist/model/baseRecommendRequest.d.ts +6 -4
- package/dist/model/baseRecommendRequest.d.ts.map +1 -1
- package/dist/model/baseSearchParamsWithoutQuery.d.ts +26 -29
- package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/model/baseSearchResponse.d.ts +10 -6
- package/dist/model/baseSearchResponse.d.ts.map +1 -1
- package/dist/model/boughtTogetherQuery.d.ts +4 -0
- package/dist/model/boughtTogetherQuery.d.ts.map +1 -0
- package/dist/model/clientMethodProps.d.ts +11 -11
- package/dist/model/condition.d.ts +6 -9
- package/dist/model/condition.d.ts.map +1 -1
- package/dist/model/consequence.d.ts +9 -17
- package/dist/model/consequence.d.ts.map +1 -1
- package/dist/model/deletedAtResponse.d.ts +2 -2
- package/dist/model/distinct.d.ts +1 -1
- package/dist/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/model/facetFilters.d.ts +2 -3
- package/dist/model/facetFilters.d.ts.map +1 -1
- package/dist/model/facetOrdering.d.ts +2 -2
- package/dist/model/facets.d.ts +2 -2
- package/dist/model/fallbackParams.d.ts +3 -0
- package/dist/model/fallbackParams.d.ts.map +1 -0
- package/dist/model/fbtModel.d.ts +5 -0
- package/dist/model/fbtModel.d.ts.map +1 -0
- package/dist/model/frequentlyBoughtTogether.d.ts +9 -0
- package/dist/model/frequentlyBoughtTogether.d.ts.map +1 -0
- package/dist/model/getRecommendationsParams.d.ts +2 -2
- package/dist/model/hideConsequenceObject.d.ts +10 -0
- package/dist/model/hideConsequenceObject.d.ts.map +1 -0
- package/dist/model/highlightResult.d.ts +1 -1
- package/dist/model/highlightResult.d.ts.map +1 -1
- package/dist/model/highlightResultOption.d.ts +3 -3
- package/dist/model/ignorePlurals.d.ts +3 -2
- package/dist/model/ignorePlurals.d.ts.map +1 -1
- package/dist/model/index.d.ts +21 -24
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/indexSettingsAsSearchParams.d.ts +32 -35
- package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
- package/dist/model/lookingSimilar.d.ts +11 -0
- package/dist/model/lookingSimilar.d.ts.map +1 -0
- package/dist/model/lookingSimilarModel.d.ts +5 -0
- package/dist/model/lookingSimilarModel.d.ts.map +1 -0
- package/dist/model/lookingSimilarQuery.d.ts +4 -0
- package/dist/model/lookingSimilarQuery.d.ts.map +1 -0
- package/dist/model/matchLevel.d.ts +1 -1
- package/dist/model/mode.d.ts +1 -1
- package/dist/model/numericFilters.d.ts +2 -3
- package/dist/model/numericFilters.d.ts.map +1 -1
- package/dist/model/optionalFilters.d.ts +2 -3
- package/dist/model/optionalFilters.d.ts.map +1 -1
- package/dist/model/paramsConsequence.d.ts +19 -0
- package/dist/model/paramsConsequence.d.ts.map +1 -0
- package/dist/model/promoteConsequenceObject.d.ts +14 -0
- package/dist/model/promoteConsequenceObject.d.ts.map +1 -0
- package/dist/model/queryType.d.ts +1 -1
- package/dist/model/rankingInfo.d.ts +10 -7
- package/dist/model/rankingInfo.d.ts.map +1 -1
- package/dist/model/reRankingApplyFilter.d.ts +2 -3
- package/dist/model/reRankingApplyFilter.d.ts.map +1 -1
- package/dist/model/recommendHit.d.ts +3 -3
- package/dist/model/recommendRule.d.ts +24 -0
- package/dist/model/recommendRule.d.ts.map +1 -0
- package/dist/model/recommendRuleMetadata.d.ts +10 -0
- package/dist/model/recommendRuleMetadata.d.ts.map +1 -0
- package/dist/model/recommendationsHits.d.ts +0 -8
- package/dist/model/recommendationsHits.d.ts.map +1 -1
- package/dist/model/recommendationsRequest.d.ts +4 -2
- package/dist/model/recommendationsRequest.d.ts.map +1 -1
- package/dist/model/recommendedForYou.d.ts +7 -0
- package/dist/model/recommendedForYou.d.ts.map +1 -0
- package/dist/model/recommendedForYouModel.d.ts +1 -1
- package/dist/model/recommendedForYouQuery.d.ts +2 -2
- package/dist/model/recommendedForYouQuery.d.ts.map +1 -1
- package/dist/model/relatedModel.d.ts +5 -0
- package/dist/model/relatedModel.d.ts.map +1 -0
- package/dist/model/relatedProducts.d.ts +11 -0
- package/dist/model/relatedProducts.d.ts.map +1 -0
- package/dist/model/relatedQuery.d.ts +4 -0
- package/dist/model/relatedQuery.d.ts.map +1 -0
- package/dist/model/removeStopWords.d.ts +3 -2
- package/dist/model/removeStopWords.d.ts.map +1 -1
- package/dist/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/model/renderingContent.d.ts +1 -1
- package/dist/model/searchParams.d.ts +3 -0
- package/dist/model/searchParams.d.ts.map +1 -0
- package/dist/model/searchParamsObject.d.ts +3 -0
- package/dist/model/searchParamsObject.d.ts.map +1 -1
- package/dist/model/searchParamsQuery.d.ts +1 -1
- package/dist/model/searchRecommendRulesParams.d.ts +18 -6
- package/dist/model/searchRecommendRulesParams.d.ts.map +1 -1
- package/dist/model/searchRecommendRulesResponse.d.ts +6 -6
- package/dist/model/searchRecommendRulesResponse.d.ts.map +1 -1
- package/dist/model/semanticSearch.d.ts +2 -2
- package/dist/model/snippetResult.d.ts +1 -1
- package/dist/model/snippetResult.d.ts.map +1 -1
- package/dist/model/snippetResultOption.d.ts +2 -2
- package/dist/model/sortRemainingBy.d.ts +1 -1
- package/dist/model/supportedLanguage.d.ts +5 -0
- package/dist/model/supportedLanguage.d.ts.map +1 -0
- package/dist/model/tagFilters.d.ts +2 -3
- package/dist/model/tagFilters.d.ts.map +1 -1
- package/dist/model/taskStatus.d.ts +1 -1
- package/dist/model/trendingFacetHit.d.ts +2 -2
- package/dist/model/trendingFacets.d.ts +11 -0
- package/dist/model/trendingFacets.d.ts.map +1 -0
- package/dist/model/trendingFacetsModel.d.ts +1 -1
- package/dist/model/trendingFacetsQuery.d.ts +2 -2
- package/dist/model/trendingFacetsQuery.d.ts.map +1 -1
- package/dist/model/trendingItems.d.ts +15 -0
- package/dist/model/trendingItems.d.ts.map +1 -0
- package/dist/model/trendingItemsModel.d.ts +1 -1
- package/dist/model/trendingItemsQuery.d.ts +2 -2
- package/dist/model/trendingItemsQuery.d.ts.map +1 -1
- package/dist/model/typoTolerance.d.ts +1 -1
- package/dist/model/typoToleranceEnum.d.ts +3 -0
- package/dist/model/typoToleranceEnum.d.ts.map +1 -1
- package/dist/model/value.d.ts +1 -1
- package/dist/recommend.cjs +54 -45
- package/dist/recommend.esm.browser.js +42 -38
- package/dist/recommend.esm.node.js +54 -45
- package/dist/recommend.umd.js +2 -2
- package/dist/src/recommendClient.d.ts +34 -32
- package/dist/src/recommendClient.d.ts.map +1 -1
- package/model/aroundPrecision.ts +1 -1
- package/model/aroundPrecisionFromValueInner.ts +9 -0
- package/model/aroundRadius.ts +1 -1
- package/model/aroundRadiusAll.ts +3 -0
- package/model/autoFacetFilter.ts +16 -0
- package/model/baseRecommendRequest.ts +8 -4
- package/model/baseSearchParamsWithoutQuery.ts +26 -30
- package/model/baseSearchResponse.ts +11 -6
- package/model/{recommendationsQuery.ts → boughtTogetherQuery.ts} +3 -3
- package/model/clientMethodProps.ts +11 -11
- package/model/condition.ts +6 -12
- package/model/consequence.ts +9 -19
- package/model/deletedAtResponse.ts +2 -2
- package/model/distinct.ts +1 -1
- package/model/exactOnSingleWordQuery.ts +1 -1
- package/model/facetFilters.ts +2 -4
- package/model/facetOrdering.ts +2 -2
- package/model/facets.ts +2 -2
- package/model/{recommendationModels.ts → fallbackParams.ts} +3 -4
- package/model/fbtModel.ts +6 -0
- package/model/{consequenceHide.ts → frequentlyBoughtTogether.ts} +6 -5
- package/model/getRecommendationsParams.ts +2 -2
- package/model/{editType.ts → hideConsequenceObject.ts} +7 -2
- package/model/highlightResult.ts +1 -0
- package/model/highlightResultOption.ts +3 -3
- package/model/ignorePlurals.ts +4 -2
- package/model/index.ts +21 -24
- package/model/indexSettingsAsSearchParams.ts +32 -36
- package/model/lookingSimilar.ts +15 -0
- package/model/lookingSimilarModel.ts +6 -0
- package/model/lookingSimilarQuery.ts +6 -0
- package/model/matchLevel.ts +1 -1
- package/model/mode.ts +1 -1
- package/model/numericFilters.ts +2 -4
- package/model/optionalFilters.ts +2 -4
- package/model/paramsConsequence.ts +23 -0
- package/model/promoteConsequenceObject.ts +16 -0
- package/model/queryType.ts +1 -1
- package/model/rankingInfo.ts +10 -7
- package/model/reRankingApplyFilter.ts +2 -4
- package/model/recommendHit.ts +3 -3
- package/model/{ruleResponse.ts → recommendRule.ts} +7 -10
- package/model/{ruleResponseMetadata.ts → recommendRuleMetadata.ts} +5 -2
- package/model/recommendationsHits.ts +0 -10
- package/model/recommendationsRequest.ts +6 -2
- package/model/{baseRecommendedForYouQuery.ts → recommendedForYou.ts} +3 -5
- package/model/recommendedForYouModel.ts +1 -1
- package/model/recommendedForYouQuery.ts +2 -3
- package/model/relatedModel.ts +6 -0
- package/model/relatedProducts.ts +15 -0
- package/model/relatedQuery.ts +6 -0
- package/model/removeStopWords.ts +4 -2
- package/model/removeWordsIfNoResults.ts +1 -1
- package/model/renderingContent.ts +1 -1
- package/model/{mixedSearchFilters.ts → searchParams.ts} +3 -1
- package/model/searchParamsObject.ts +3 -0
- package/model/searchParamsQuery.ts +1 -1
- package/model/searchRecommendRulesParams.ts +21 -6
- package/model/searchRecommendRulesResponse.ts +6 -6
- package/model/semanticSearch.ts +2 -2
- package/model/snippetResult.ts +2 -1
- package/model/snippetResultOption.ts +2 -2
- package/model/sortRemainingBy.ts +1 -1
- package/model/supportedLanguage.ts +74 -0
- package/model/tagFilters.ts +2 -4
- package/model/taskStatus.ts +1 -1
- package/model/trendingFacetHit.ts +2 -2
- package/model/{baseTrendingFacetsQuery.ts → trendingFacets.ts} +7 -4
- package/model/trendingFacetsModel.ts +1 -1
- package/model/trendingFacetsQuery.ts +2 -3
- package/model/trendingItems.ts +20 -0
- package/model/trendingItemsModel.ts +1 -1
- package/model/trendingItemsQuery.ts +2 -2
- package/model/typoTolerance.ts +1 -1
- package/model/typoToleranceEnum.ts +3 -0
- package/model/value.ts +1 -1
- package/package.json +7 -7
- package/dist/model/anchoring.d.ts +0 -5
- package/dist/model/anchoring.d.ts.map +0 -1
- package/dist/model/automaticFacetFilter.d.ts +0 -18
- package/dist/model/automaticFacetFilter.d.ts.map +0 -1
- package/dist/model/automaticFacetFilters.d.ts +0 -6
- package/dist/model/automaticFacetFilters.d.ts.map +0 -1
- package/dist/model/baseRecommendationsQuery.d.ts +0 -12
- package/dist/model/baseRecommendationsQuery.d.ts.map +0 -1
- package/dist/model/baseRecommendedForYouQuery.d.ts +0 -8
- package/dist/model/baseRecommendedForYouQuery.d.ts.map +0 -1
- package/dist/model/baseRecommendedForYouQueryParameters.d.ts +0 -7
- package/dist/model/baseRecommendedForYouQueryParameters.d.ts.map +0 -1
- package/dist/model/baseTrendingFacetsQuery.d.ts +0 -9
- package/dist/model/baseTrendingFacetsQuery.d.ts.map +0 -1
- package/dist/model/baseTrendingItemsQuery.d.ts +0 -16
- package/dist/model/baseTrendingItemsQuery.d.ts.map +0 -1
- package/dist/model/consequenceHide.d.ts +0 -10
- package/dist/model/consequenceHide.d.ts.map +0 -1
- package/dist/model/consequenceParams.d.ts +0 -5
- package/dist/model/consequenceParams.d.ts.map +0 -1
- package/dist/model/consequenceQuery.d.ts +0 -6
- package/dist/model/consequenceQuery.d.ts.map +0 -1
- package/dist/model/consequenceQueryObject.d.ts +0 -12
- package/dist/model/consequenceQueryObject.d.ts.map +0 -1
- package/dist/model/edit.d.ts +0 -13
- package/dist/model/edit.d.ts.map +0 -1
- package/dist/model/editType.d.ts +0 -5
- package/dist/model/editType.d.ts.map +0 -1
- package/dist/model/mixedSearchFilters.d.ts +0 -2
- package/dist/model/mixedSearchFilters.d.ts.map +0 -1
- package/dist/model/params.d.ts +0 -13
- package/dist/model/params.d.ts.map +0 -1
- package/dist/model/promote.d.ts +0 -4
- package/dist/model/promote.d.ts.map +0 -1
- package/dist/model/promoteObjectID.d.ts +0 -14
- package/dist/model/promoteObjectID.d.ts.map +0 -1
- package/dist/model/promoteObjectIDs.d.ts +0 -14
- package/dist/model/promoteObjectIDs.d.ts.map +0 -1
- package/dist/model/recommendationModels.d.ts +0 -5
- package/dist/model/recommendationModels.d.ts.map +0 -1
- package/dist/model/recommendationsQuery.d.ts +0 -4
- package/dist/model/recommendationsQuery.d.ts.map +0 -1
- package/dist/model/recommendedForYouQueryParameters.d.ts +0 -4
- package/dist/model/recommendedForYouQueryParameters.d.ts.map +0 -1
- package/dist/model/ruleResponse.d.ts +0 -27
- package/dist/model/ruleResponse.d.ts.map +0 -1
- package/dist/model/ruleResponseMetadata.d.ts +0 -7
- package/dist/model/ruleResponseMetadata.d.ts.map +0 -1
- package/model/anchoring.ts +0 -6
- package/model/automaticFacetFilter.ts +0 -21
- package/model/automaticFacetFilters.ts +0 -8
- package/model/baseRecommendationsQuery.ts +0 -17
- package/model/baseRecommendedForYouQueryParameters.ts +0 -8
- package/model/baseTrendingItemsQuery.ts +0 -22
- package/model/consequenceParams.ts +0 -9
- package/model/consequenceQuery.ts +0 -8
- package/model/consequenceQueryObject.ts +0 -15
- package/model/edit.ts +0 -17
- package/model/params.ts +0 -18
- package/model/promote.ts +0 -6
- package/model/promoteObjectID.ts +0 -16
- package/model/promoteObjectIDs.ts +0 -16
- package/model/recommendedForYouQueryParameters.ts +0 -7
package/dist/builds/browser.d.ts
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
import type { ClientOptions } from '@algolia/client-common';
|
|
2
|
-
|
|
3
|
-
export { apiClientVersion, RecommendClient } from '../src/recommendClient';
|
|
2
|
+
export { apiClientVersion } from '../src/recommendClient';
|
|
4
3
|
export * from '../model';
|
|
5
|
-
|
|
4
|
+
/**
|
|
5
|
+
* The client type.
|
|
6
|
+
*/
|
|
7
|
+
export type RecommendClient = ReturnType<typeof recommendClient>;
|
|
8
|
+
export declare function recommendClient(appId: string, apiKey: string, options?: ClientOptions): {
|
|
9
|
+
transporter: import("@algolia/client-common").Transporter;
|
|
10
|
+
appId: string;
|
|
11
|
+
clearCache(): Promise<void>;
|
|
12
|
+
readonly _ua: string;
|
|
13
|
+
addAlgoliaAgent(segment: string, version?: string | undefined): void;
|
|
14
|
+
customDelete({ path, parameters }: import("../model").CustomDeleteProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
|
|
15
|
+
customGet({ path, parameters }: import("../model").CustomGetProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
|
|
16
|
+
customPost({ path, parameters, body }: import("../model").CustomPostProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
|
|
17
|
+
customPut({ path, parameters, body }: import("../model").CustomPutProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
|
|
18
|
+
deleteRecommendRule({ indexName, model, objectID }: import("../model").DeleteRecommendRuleProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").DeletedAtResponse>;
|
|
19
|
+
getRecommendRule({ indexName, model, objectID }: import("../model").GetRecommendRuleProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").RecommendRule>;
|
|
20
|
+
getRecommendStatus({ indexName, model, taskID }: import("../model").GetRecommendStatusProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").GetRecommendTaskResponse>;
|
|
21
|
+
getRecommendations(getRecommendationsParams: import("../model").GetRecommendationsParams, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").GetRecommendationsResponse>;
|
|
22
|
+
searchRecommendRules({ indexName, model, searchRecommendRulesParams, }: import("../model").SearchRecommendRulesProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").SearchRecommendRulesResponse>;
|
|
23
|
+
};
|
|
6
24
|
//# sourceMappingURL=browser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../builds/browser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../builds/browser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAgB5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,cAAc,UAAU,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAGjE,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa;;;;;;;;;;;;;;;EA+BxB"}
|
package/dist/builds/node.d.ts
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
import type { ClientOptions } from '@algolia/client-common';
|
|
2
|
-
|
|
3
|
-
export { apiClientVersion, RecommendClient } from '../src/recommendClient';
|
|
2
|
+
export { apiClientVersion } from '../src/recommendClient';
|
|
4
3
|
export * from '../model';
|
|
5
|
-
|
|
4
|
+
/**
|
|
5
|
+
* The client type.
|
|
6
|
+
*/
|
|
7
|
+
export type RecommendClient = ReturnType<typeof recommendClient>;
|
|
8
|
+
export declare function recommendClient(appId: string, apiKey: string, options?: ClientOptions): {
|
|
9
|
+
transporter: import("@algolia/client-common").Transporter;
|
|
10
|
+
appId: string;
|
|
11
|
+
clearCache(): Promise<void>;
|
|
12
|
+
_ua: string;
|
|
13
|
+
addAlgoliaAgent(segment: string, version?: string | undefined): void;
|
|
14
|
+
customDelete({ path, parameters }: import("../model").CustomDeleteProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
|
|
15
|
+
customGet({ path, parameters }: import("../model").CustomGetProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
|
|
16
|
+
customPost({ path, parameters, body }: import("../model").CustomPostProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
|
|
17
|
+
customPut({ path, parameters, body }: import("../model").CustomPutProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
|
|
18
|
+
deleteRecommendRule({ indexName, model, objectID }: import("../model").DeleteRecommendRuleProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").DeletedAtResponse>;
|
|
19
|
+
getRecommendRule({ indexName, model, objectID }: import("../model").GetRecommendRuleProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").RecommendRule>;
|
|
20
|
+
getRecommendStatus({ indexName, model, taskID }: import("../model").GetRecommendStatusProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").GetRecommendTaskResponse>;
|
|
21
|
+
getRecommendations(getRecommendationsParams: import("../model").GetRecommendationsParams, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").GetRecommendationsResponse>;
|
|
22
|
+
searchRecommendRules({ indexName, model, searchRecommendRulesParams, }: import("../model").SearchRecommendRulesProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").SearchRecommendRulesResponse>;
|
|
23
|
+
};
|
|
6
24
|
//# sourceMappingURL=node.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../builds/node.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../builds/node.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAY5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,cAAc,UAAU,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAGjE,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa;;;;;;;;;;;;;;;EA2BxB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AroundPrecisionFromValueInner } from './aroundPrecisionFromValueInner';
|
|
2
2
|
/**
|
|
3
|
-
* Precision of a
|
|
3
|
+
* Precision of a coordinate-based search in meters to group results with similar distances. The Geo ranking criterion considers all matches within the same range of distances to be equal.
|
|
4
4
|
*/
|
|
5
5
|
export type AroundPrecision = AroundPrecisionFromValueInner[] | number;
|
|
6
6
|
//# sourceMappingURL=aroundPrecision.d.ts.map
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Range object with lower and upper values in meters to define custom ranges.
|
|
3
|
+
*/
|
|
1
4
|
export type AroundPrecisionFromValueInner = {
|
|
5
|
+
/**
|
|
6
|
+
* Lower boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
|
|
7
|
+
*/
|
|
2
8
|
from?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Upper boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
|
|
11
|
+
*/
|
|
3
12
|
value?: number;
|
|
4
13
|
};
|
|
5
14
|
//# sourceMappingURL=aroundPrecisionFromValueInner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aroundPrecisionFromValueInner.d.ts","sourceRoot":"","sources":["../../model/aroundPrecisionFromValueInner.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
1
|
+
{"version":3,"file":"aroundPrecisionFromValueInner.d.ts","sourceRoot":"","sources":["../../model/aroundPrecisionFromValueInner.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AroundRadiusAll } from './aroundRadiusAll';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Maximum radius for a search around a central location. This parameter works in combination with the `aroundLatLng` and `aroundLatLngViaIP` parameters. By default, the search radius is determined automatically from the density of hits around the central location. The search radius is small if there are many hits close to the central coordinates.
|
|
4
4
|
*/
|
|
5
5
|
export type AroundRadius = AroundRadiusAll | number;
|
|
6
6
|
//# sourceMappingURL=aroundRadius.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aroundRadiusAll.d.ts","sourceRoot":"","sources":["../../model/aroundRadiusAll.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"aroundRadiusAll.d.ts","sourceRoot":"","sources":["../../model/aroundRadiusAll.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Facet attribute. Only recommendations with the same value (or only recommendations with a different value) as the original viewed item are included.
|
|
3
|
+
*/
|
|
4
|
+
export type AutoFacetFilter = {
|
|
5
|
+
/**
|
|
6
|
+
* Facet attribute.
|
|
7
|
+
*/
|
|
8
|
+
facet?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Whether the filter is negative. If true, recommendations must not have the same value for the `facet` attribute. If false, recommendations must have the same value for the `facet` attribute.
|
|
11
|
+
*/
|
|
12
|
+
negative?: boolean;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=autoFacetFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoFacetFilter.d.ts","sourceRoot":"","sources":["../../model/autoFacetFilter.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
+
import type { SearchParams } from './searchParams';
|
|
1
2
|
export type BaseRecommendRequest = {
|
|
2
3
|
/**
|
|
3
|
-
*
|
|
4
|
+
* Index name (case-sensitive).
|
|
4
5
|
*/
|
|
5
6
|
indexName: string;
|
|
6
7
|
/**
|
|
7
|
-
*
|
|
8
|
+
* Minimum score a recommendation must have to be included in the response.
|
|
8
9
|
*/
|
|
9
|
-
threshold
|
|
10
|
+
threshold: number;
|
|
10
11
|
/**
|
|
11
|
-
* Maximum number of recommendations to retrieve.
|
|
12
|
+
* Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
|
|
12
13
|
*/
|
|
13
14
|
maxRecommendations?: number;
|
|
15
|
+
queryParameters?: SearchParams;
|
|
14
16
|
};
|
|
15
17
|
//# sourceMappingURL=baseRecommendRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseRecommendRequest.d.ts","sourceRoot":"","sources":["../../model/baseRecommendRequest.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,
|
|
1
|
+
{"version":3,"file":"baseRecommendRequest.d.ts","sourceRoot":"","sources":["../../model/baseRecommendRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,eAAe,CAAC,EAAE,YAAY,CAAC;CAChC,CAAC"}
|
|
@@ -3,14 +3,15 @@ import type { AroundRadius } from './aroundRadius';
|
|
|
3
3
|
import type { FacetFilters } from './facetFilters';
|
|
4
4
|
import type { NumericFilters } from './numericFilters';
|
|
5
5
|
import type { OptionalFilters } from './optionalFilters';
|
|
6
|
+
import type { SupportedLanguage } from './supportedLanguage';
|
|
6
7
|
import type { TagFilters } from './tagFilters';
|
|
7
8
|
export type BaseSearchParamsWithoutQuery = {
|
|
8
9
|
/**
|
|
9
|
-
*
|
|
10
|
+
* Keywords to be used instead of the search query to conduct a more broader search. Using the `similarQuery` parameter changes other settings: - `queryType` is set to `prefixNone`. - `removeStopWords` is set to true. - `words` is set as the first ranking criterion. - All remaining words are treated as `optionalWords`. Since the `similarQuery` is supposed to do a broad search, they usually return many results. Combine it with `filters` to narrow down the list of results.
|
|
10
11
|
*/
|
|
11
12
|
similarQuery?: string;
|
|
12
13
|
/**
|
|
13
|
-
* [
|
|
14
|
+
* Filter expression to only include items that match the filter criteria in the response. You can use these filter expressions: - **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`. - **Ranges.** `<facet>:<lower> TO <upper>` where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`. **Not supported:** `facet:value OR num > 3`. - You can\'t use `NOT` with combinations of filters. **Not supported:** `NOT(facet:value OR facet:value)` - You can\'t combine conjunctions (`AND`) with `OR`. **Not supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet attribute name or facet value has spaces, keywords (`OR`, `AND`, `NOT`), or quotes. If a facet attribute is an array, the filter matches if it matches at least one element of the array. For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/).
|
|
14
15
|
*/
|
|
15
16
|
filters?: string;
|
|
16
17
|
facetFilters?: FacetFilters;
|
|
@@ -18,89 +19,85 @@ export type BaseSearchParamsWithoutQuery = {
|
|
|
18
19
|
numericFilters?: NumericFilters;
|
|
19
20
|
tagFilters?: TagFilters;
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
+
* Whether to sum all filter scores. If true, all filter scores are summed. Otherwise, the maximum filter score is kept. For more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores).
|
|
22
23
|
*/
|
|
23
24
|
sumOrFiltersScores?: boolean;
|
|
24
25
|
/**
|
|
25
|
-
* Restricts a
|
|
26
|
+
* Restricts a search to a subset of your searchable attributes. Attribute names are case-sensitive.
|
|
26
27
|
*/
|
|
27
28
|
restrictSearchableAttributes?: string[];
|
|
28
29
|
/**
|
|
29
|
-
*
|
|
30
|
+
* Facets for which to retrieve facet values that match the search criteria and the number of matching facet values. To retrieve all facets, use the wildcard character `*`. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
|
|
30
31
|
*/
|
|
31
32
|
facets?: string[];
|
|
32
33
|
/**
|
|
33
|
-
*
|
|
34
|
+
* Whether faceting should be applied after deduplication with `distinct`. This leads to accurate facet counts when using faceting in combination with `distinct`. It\'s usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting, as `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.
|
|
34
35
|
*/
|
|
35
36
|
facetingAfterDistinct?: boolean;
|
|
36
37
|
/**
|
|
37
|
-
* Page
|
|
38
|
+
* Page of search results to retrieve.
|
|
38
39
|
*/
|
|
39
40
|
page?: number;
|
|
40
41
|
/**
|
|
41
|
-
*
|
|
42
|
+
* Position of the first hit to retrieve.
|
|
42
43
|
*/
|
|
43
44
|
offset?: number;
|
|
44
45
|
/**
|
|
45
|
-
*
|
|
46
|
+
* Number of hits to retrieve (used in combination with `offset`).
|
|
46
47
|
*/
|
|
47
48
|
length?: number;
|
|
48
49
|
/**
|
|
49
|
-
*
|
|
50
|
+
* Coordinates for the center of a circle, expressed as a comma-separated string of latitude and longitude. Only records included within circle around this central location are included in the results. The radius of the circle is determined by the `aroundRadius` and `minimumAroundRadius` settings. This parameter is ignored if you also specify `insidePolygon` or `insideBoundingBox`.
|
|
50
51
|
*/
|
|
51
52
|
aroundLatLng?: string;
|
|
52
53
|
/**
|
|
53
|
-
*
|
|
54
|
+
* Whether to obtain the coordinates from the request\'s IP address.
|
|
54
55
|
*/
|
|
55
56
|
aroundLatLngViaIP?: boolean;
|
|
56
57
|
aroundRadius?: AroundRadius;
|
|
57
58
|
aroundPrecision?: AroundPrecision;
|
|
58
59
|
/**
|
|
59
|
-
* Minimum radius (in meters)
|
|
60
|
+
* Minimum radius (in meters) for a search around a location when `aroundRadius` isn\'t set.
|
|
60
61
|
*/
|
|
61
62
|
minimumAroundRadius?: number;
|
|
62
63
|
/**
|
|
63
|
-
*
|
|
64
|
+
* Coordinates for a rectangular area in which to search. Each bounding box is defined by the two opposite points of its diagonal, and expressed as latitude and longitude pair: `[p1 lat, p1 long, p2 lat, p2 long]`. Provide multiple bounding boxes as nested arrays. For more information, see [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas).
|
|
64
65
|
*/
|
|
65
66
|
insideBoundingBox?: number[][];
|
|
66
67
|
/**
|
|
67
|
-
*
|
|
68
|
+
* Coordinates of a polygon in which to search. Polygons are defined by 3 to 10,000 points. Each point is represented by its latitude and longitude. Provide multiple polygons as nested arrays. For more information, see [filtering inside polygons](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas). This parameter is ignored if you also specify `insideBoundingBox`.
|
|
68
69
|
*/
|
|
69
70
|
insidePolygon?: number[][];
|
|
70
71
|
/**
|
|
71
|
-
*
|
|
72
|
+
* ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches): - Sets `removeStopWords` and `ignorePlurals` to the list of provided languages. - Sets `removeWordsIfNoResults` to `allOptional`. - Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
|
|
72
73
|
*/
|
|
73
|
-
naturalLanguages?:
|
|
74
|
+
naturalLanguages?: SupportedLanguage[];
|
|
74
75
|
/**
|
|
75
|
-
* Assigns
|
|
76
|
+
* Assigns a rule context to the search query. [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
|
|
76
77
|
*/
|
|
77
78
|
ruleContexts?: string[];
|
|
78
79
|
/**
|
|
79
|
-
*
|
|
80
|
+
* Impact that Personalization should have on this search. The higher this value is, the more Personalization determines the ranking compared to other factors. For more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
|
|
80
81
|
*/
|
|
81
82
|
personalizationImpact?: number;
|
|
82
83
|
/**
|
|
83
|
-
*
|
|
84
|
+
* Unique pseudonymous or anonymous user identifier. This helps with analytics and click and conversion events. For more information, see [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
|
|
84
85
|
*/
|
|
85
86
|
userToken?: string;
|
|
86
87
|
/**
|
|
87
|
-
*
|
|
88
|
+
* Whether the search response should include detailed ranking information.
|
|
88
89
|
*/
|
|
89
90
|
getRankingInfo?: boolean;
|
|
90
91
|
/**
|
|
91
|
-
*
|
|
92
|
-
*/
|
|
93
|
-
explain?: string[];
|
|
94
|
-
/**
|
|
95
|
-
* Whether to take into account an index\'s synonyms for a particular search.
|
|
92
|
+
* Whether to take into account an index\'s synonyms for this search.
|
|
96
93
|
*/
|
|
97
94
|
synonyms?: boolean;
|
|
98
95
|
/**
|
|
99
|
-
*
|
|
96
|
+
* Whether to include a `queryID` attribute in the response. The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started/).
|
|
100
97
|
*/
|
|
101
98
|
clickAnalytics?: boolean;
|
|
102
99
|
/**
|
|
103
|
-
*
|
|
100
|
+
* Whether this search will be included in Analytics.
|
|
104
101
|
*/
|
|
105
102
|
analytics?: boolean;
|
|
106
103
|
/**
|
|
@@ -108,11 +105,11 @@ export type BaseSearchParamsWithoutQuery = {
|
|
|
108
105
|
*/
|
|
109
106
|
analyticsTags?: string[];
|
|
110
107
|
/**
|
|
111
|
-
* Whether to include
|
|
108
|
+
* Whether to include this search when calculating processing-time percentiles.
|
|
112
109
|
*/
|
|
113
110
|
percentileComputation?: boolean;
|
|
114
111
|
/**
|
|
115
|
-
*
|
|
112
|
+
* Whether to enable A/B testing for this search.
|
|
116
113
|
*/
|
|
117
114
|
enableABTest?: boolean;
|
|
118
115
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseSearchParamsWithoutQuery.d.ts","sourceRoot":"","sources":["../../model/baseSearchParamsWithoutQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mB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C;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B,eAAe,CAAC,EAAE,eAAe,CAAC;IAElC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IAE/B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IAE3B;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAEvC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAExB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
|
|
@@ -16,7 +16,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
16
16
|
*/
|
|
17
17
|
aroundLatLng?: string;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Distance from a central coordinate provided by `aroundLatLng`.
|
|
20
20
|
*/
|
|
21
21
|
automaticRadius?: string;
|
|
22
22
|
exhaustive?: Exhaustive;
|
|
@@ -33,7 +33,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
33
33
|
*/
|
|
34
34
|
exhaustiveTypo?: boolean;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Facet counts.
|
|
37
37
|
*/
|
|
38
38
|
facets?: Record<string, Record<string, number>>;
|
|
39
39
|
/**
|
|
@@ -57,11 +57,11 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
57
57
|
*/
|
|
58
58
|
message?: string;
|
|
59
59
|
/**
|
|
60
|
-
* Number of hits
|
|
60
|
+
* Number of results (hits).
|
|
61
61
|
*/
|
|
62
62
|
nbHits: number;
|
|
63
63
|
/**
|
|
64
|
-
* Number of pages of results
|
|
64
|
+
* Number of pages of results.
|
|
65
65
|
*/
|
|
66
66
|
nbPages: number;
|
|
67
67
|
/**
|
|
@@ -69,7 +69,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
69
69
|
*/
|
|
70
70
|
nbSortedHits?: number;
|
|
71
71
|
/**
|
|
72
|
-
* Page
|
|
72
|
+
* Page of search results to retrieve.
|
|
73
73
|
*/
|
|
74
74
|
page: number;
|
|
75
75
|
/**
|
|
@@ -99,8 +99,12 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
99
99
|
*/
|
|
100
100
|
serverUsed?: string;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* An object with custom data. You can store up to 32 kB as custom data.
|
|
103
103
|
*/
|
|
104
104
|
userData?: any | null;
|
|
105
|
+
/**
|
|
106
|
+
* Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
|
|
107
|
+
*/
|
|
108
|
+
queryID?: string;
|
|
105
109
|
};
|
|
106
110
|
//# sourceMappingURL=baseSearchResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseSearchResponse.d.ts","sourceRoot":"","sources":["../../model/baseSearchResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,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,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAEhD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAE3C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE1C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAEpC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { BaseRecommendRequest } from './baseRecommendRequest';
|
|
2
|
+
import type { FrequentlyBoughtTogether } from './frequentlyBoughtTogether';
|
|
3
|
+
export type BoughtTogetherQuery = BaseRecommendRequest & FrequentlyBoughtTogether;
|
|
4
|
+
//# sourceMappingURL=boughtTogetherQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boughtTogetherQuery.d.ts","sourceRoot":"","sources":["../../model/boughtTogetherQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,GACpD,wBAAwB,CAAC"}
|
|
@@ -65,15 +65,15 @@ export type CustomPutProps = {
|
|
|
65
65
|
*/
|
|
66
66
|
export type DeleteRecommendRuleProps = {
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Name of the index on which to perform the operation.
|
|
69
69
|
*/
|
|
70
70
|
indexName: string;
|
|
71
71
|
/**
|
|
72
|
-
* [Recommend
|
|
72
|
+
* [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
|
|
73
73
|
*/
|
|
74
74
|
model: RecommendModels;
|
|
75
75
|
/**
|
|
76
|
-
* Unique record
|
|
76
|
+
* Unique record identifier.
|
|
77
77
|
*/
|
|
78
78
|
objectID: string;
|
|
79
79
|
};
|
|
@@ -82,15 +82,15 @@ export type DeleteRecommendRuleProps = {
|
|
|
82
82
|
*/
|
|
83
83
|
export type GetRecommendRuleProps = {
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* Name of the index on which to perform the operation.
|
|
86
86
|
*/
|
|
87
87
|
indexName: string;
|
|
88
88
|
/**
|
|
89
|
-
* [Recommend
|
|
89
|
+
* [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
|
|
90
90
|
*/
|
|
91
91
|
model: RecommendModels;
|
|
92
92
|
/**
|
|
93
|
-
* Unique record
|
|
93
|
+
* Unique record identifier.
|
|
94
94
|
*/
|
|
95
95
|
objectID: string;
|
|
96
96
|
};
|
|
@@ -99,15 +99,15 @@ export type GetRecommendRuleProps = {
|
|
|
99
99
|
*/
|
|
100
100
|
export type GetRecommendStatusProps = {
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* Name of the index on which to perform the operation.
|
|
103
103
|
*/
|
|
104
104
|
indexName: string;
|
|
105
105
|
/**
|
|
106
|
-
* [Recommend
|
|
106
|
+
* [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
|
|
107
107
|
*/
|
|
108
108
|
model: RecommendModels;
|
|
109
109
|
/**
|
|
110
|
-
* Unique
|
|
110
|
+
* Unique task identifier.
|
|
111
111
|
*/
|
|
112
112
|
taskID: number;
|
|
113
113
|
};
|
|
@@ -116,11 +116,11 @@ export type GetRecommendStatusProps = {
|
|
|
116
116
|
*/
|
|
117
117
|
export type SearchRecommendRulesProps = {
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Name of the index on which to perform the operation.
|
|
120
120
|
*/
|
|
121
121
|
indexName: string;
|
|
122
122
|
/**
|
|
123
|
-
* [Recommend
|
|
123
|
+
* [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
|
|
124
124
|
*/
|
|
125
125
|
model: RecommendModels;
|
|
126
126
|
searchRecommendRulesParams?: SearchRecommendRulesParams;
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Condition that triggers the rule. If not specified, the rule is triggered for all recommendations.
|
|
3
|
+
*/
|
|
2
4
|
export type Condition = {
|
|
3
5
|
/**
|
|
4
|
-
*
|
|
6
|
+
* Filter expression to only include items that match the filter criteria in the response. You can use these filter expressions: - **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`. - **Ranges.** `<facet>:<lower> TO <upper>` where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`. **Not supported:** `facet:value OR num > 3`. - You can\'t use `NOT` with combinations of filters. **Not supported:** `NOT(facet:value OR facet:value)` - You can\'t combine conjunctions (`AND`) with `OR`. **Not supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet attribute name or facet value has spaces, keywords (`OR`, `AND`, `NOT`), or quotes. If a facet attribute is an array, the filter matches if it matches at least one element of the array. For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/).
|
|
5
7
|
*/
|
|
6
|
-
|
|
7
|
-
anchoring?: Anchoring;
|
|
8
|
+
filters?: string;
|
|
8
9
|
/**
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
alternatives?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Rule context format: [A-Za-z0-9_-]+).
|
|
10
|
+
* An additional restriction that only triggers the rule, when the search has the same value as `ruleContexts` parameter. For example, if `context: mobile`, the rule is only triggered when the search request has a matching `ruleContexts: mobile`. A rule context must only contain alphanumeric characters.
|
|
14
11
|
*/
|
|
15
12
|
context?: string;
|
|
16
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"condition.d.ts","sourceRoot":"","sources":["../../model/condition.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"condition.d.ts","sourceRoot":"","sources":["../../model/condition.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1,26 +1,18 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
1
|
+
import type { HideConsequenceObject } from './hideConsequenceObject';
|
|
2
|
+
import type { ParamsConsequence } from './paramsConsequence';
|
|
3
|
+
import type { PromoteConsequenceObject } from './promoteConsequenceObject';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Effect of the rule.
|
|
6
6
|
*/
|
|
7
7
|
export type Consequence = {
|
|
8
|
-
params?: ConsequenceParams;
|
|
9
8
|
/**
|
|
10
|
-
*
|
|
9
|
+
* Exclude items from recommendations.
|
|
11
10
|
*/
|
|
12
|
-
|
|
11
|
+
hide?: HideConsequenceObject[];
|
|
13
12
|
/**
|
|
14
|
-
*
|
|
13
|
+
* Place items at specific positions in the list of recommendations.
|
|
15
14
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
* Records to hide. By default, you can hide up to 50 records per rule.
|
|
19
|
-
*/
|
|
20
|
-
hide?: ConsequenceHide[];
|
|
21
|
-
/**
|
|
22
|
-
* Custom JSON object that will be appended to the userData array in the response. This object isn\'t interpreted by the API. It\'s limited to 1kB of minified JSON.
|
|
23
|
-
*/
|
|
24
|
-
userData?: any | null;
|
|
15
|
+
promote?: PromoteConsequenceObject[];
|
|
16
|
+
params?: ParamsConsequence;
|
|
25
17
|
};
|
|
26
18
|
//# sourceMappingURL=consequence.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consequence.d.ts","sourceRoot":"","sources":["../../model/consequence.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"consequence.d.ts","sourceRoot":"","sources":["../../model/consequence.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAE/B;;OAEG;IACH,OAAO,CAAC,EAAE,wBAAwB,EAAE,CAAC;IAErC,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B,CAAC"}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export type DeletedAtResponse = {
|
|
5
5
|
/**
|
|
6
|
-
* Unique identifier of a task.
|
|
6
|
+
* Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task\'s progress with the [`task` operation](#tag/Indices/operation/getTask) and this `taskID`.
|
|
7
7
|
*/
|
|
8
8
|
taskID: number;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Date and time when the object was deleted, in RFC 3339 format.
|
|
11
11
|
*/
|
|
12
12
|
deletedAt: string;
|
|
13
13
|
};
|
package/dist/model/distinct.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Determines how many records of a group are included in the search results. Records with the same value for the `attributeForDistinct` attribute are considered a group. The `distinct` setting controls how many members of the group are returned. This is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature). The `distinct` setting is ignored if `attributeForDistinct` is not set.
|
|
3
3
|
*/
|
|
4
4
|
export type Distinct = boolean | number;
|
|
5
5
|
//# sourceMappingURL=distinct.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* 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
|
|
2
|
+
* 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 search query has only one word. - `attribute`. The Exact ranking criterion is 1 if the query word and attribute value are the same. For example, a search for \"road\" will match the value \"road\", but not \"road trip\". - `none`. The Exact ranking criterion is ignored on single-word searches. - `word`. The Exact ranking criterion is 1 if the query word is found in the attribute value. The query word must have at least 3 characters and must not be a stop word. Only exact matches will be highlighted, partial and prefix matches won\'t.
|
|
3
3
|
*/
|
|
4
4
|
export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
|
|
5
5
|
//# sourceMappingURL=exactOnSingleWordQuery.d.ts.map
|