@algolia/recommend 5.0.0-alpha.110 → 5.0.0-alpha.111
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 +1 -1
- package/dist/builds/node.d.ts +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 +5 -3
- package/dist/model/baseRecommendRequest.d.ts.map +1 -1
- package/dist/model/baseSearchParamsWithoutQuery.d.ts +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 +5 -5
- package/dist/model/condition.d.ts +5 -12
- 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 +1 -1
- package/dist/model/exactOnSingleWordQuery.d.ts +1 -1
- 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/index.d.ts +20 -23
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/indexSettingsAsSearchParams.d.ts +5 -5
- 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/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/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/removeWordsIfNoResults.d.ts +1 -1
- package/dist/model/searchParams.d.ts +3 -0
- package/dist/model/searchParams.d.ts.map +1 -0
- package/dist/model/searchRecommendRulesParams.d.ts +16 -4
- package/dist/model/searchRecommendRulesParams.d.ts.map +1 -1
- package/dist/model/searchRecommendRulesResponse.d.ts +3 -3
- package/dist/model/searchRecommendRulesResponse.d.ts.map +1 -1
- package/dist/model/sortRemainingBy.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/recommend.cjs +11 -11
- package/dist/recommend.esm.browser.js +11 -11
- package/dist/recommend.esm.node.js +11 -11
- package/dist/recommend.umd.js +2 -2
- package/dist/src/recommendClient.d.ts +13 -13
- package/dist/src/recommendClient.d.ts.map +1 -1
- package/model/autoFacetFilter.ts +16 -0
- package/model/baseRecommendRequest.ts +7 -3
- package/model/baseSearchParamsWithoutQuery.ts +1 -1
- package/model/{recommendationsQuery.ts → boughtTogetherQuery.ts} +3 -3
- package/model/clientMethodProps.ts +5 -5
- package/model/condition.ts +5 -16
- package/model/consequence.ts +9 -19
- package/model/deletedAtResponse.ts +1 -1
- package/model/exactOnSingleWordQuery.ts +1 -1
- package/model/{editType.ts → fallbackParams.ts} +3 -4
- package/model/fbtModel.ts +6 -0
- package/model/{consequenceHide.ts → frequentlyBoughtTogether.ts} +5 -4
- package/model/getRecommendationsParams.ts +2 -2
- package/model/{promoteObjectID.ts → hideConsequenceObject.ts} +3 -8
- package/model/index.ts +20 -23
- package/model/indexSettingsAsSearchParams.ts +5 -5
- package/model/lookingSimilar.ts +15 -0
- package/model/lookingSimilarModel.ts +6 -0
- package/model/lookingSimilarQuery.ts +6 -0
- package/model/paramsConsequence.ts +23 -0
- package/model/promoteConsequenceObject.ts +16 -0
- 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/removeWordsIfNoResults.ts +1 -1
- package/model/{recommendationModels.ts → searchParams.ts} +3 -4
- package/model/searchRecommendRulesParams.ts +19 -4
- package/model/searchRecommendRulesResponse.ts +3 -3
- package/model/sortRemainingBy.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/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/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/promoteObjectIDs.ts +0 -16
- package/model/recommendedForYouQueryParameters.ts +0 -7
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { SearchParamsObject } from './searchParamsObject';
|
|
2
|
-
import type { TrendingItemsModel } from './trendingItemsModel';
|
|
3
|
-
export type BaseTrendingItemsQuery = {
|
|
4
|
-
/**
|
|
5
|
-
* Facet name for trending models.
|
|
6
|
-
*/
|
|
7
|
-
facetName?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Facet value for trending models.
|
|
10
|
-
*/
|
|
11
|
-
facetValue?: string;
|
|
12
|
-
model?: TrendingItemsModel;
|
|
13
|
-
queryParameters?: SearchParamsObject;
|
|
14
|
-
fallbackParameters?: SearchParamsObject;
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=baseTrendingItemsQuery.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"baseTrendingItemsQuery.d.ts","sourceRoot":"","sources":["../../model/baseTrendingItemsQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAE3B,eAAe,CAAC,EAAE,kBAAkB,CAAC;IAErC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consequenceHide.d.ts","sourceRoot":"","sources":["../../model/consequenceHide.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuery';
|
|
2
|
-
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
|
|
3
|
-
import type { Params } from './params';
|
|
4
|
-
export type ConsequenceParams = BaseSearchParamsWithoutQuery & IndexSettingsAsSearchParams & Params;
|
|
5
|
-
//# sourceMappingURL=consequenceParams.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consequenceParams.d.ts","sourceRoot":"","sources":["../../model/consequenceParams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG,4BAA4B,GAC1D,2BAA2B,GAC3B,MAAM,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ConsequenceQueryObject } from './consequenceQueryObject';
|
|
2
|
-
/**
|
|
3
|
-
* Replace or edit the search query. If `consequenceQuery` is a string, the entire search query is replaced with that string. If `consequenceQuery` is an object, it describes incremental edits made to the query.
|
|
4
|
-
*/
|
|
5
|
-
export type ConsequenceQuery = ConsequenceQueryObject | string;
|
|
6
|
-
//# sourceMappingURL=consequenceQuery.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consequenceQuery.d.ts","sourceRoot":"","sources":["../../model/consequenceQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GAAG,MAAM,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Edit } from './edit';
|
|
2
|
-
export type ConsequenceQueryObject = {
|
|
3
|
-
/**
|
|
4
|
-
* Words to remove from the search query.
|
|
5
|
-
*/
|
|
6
|
-
remove?: string[];
|
|
7
|
-
/**
|
|
8
|
-
* Changes to make to the search query.
|
|
9
|
-
*/
|
|
10
|
-
edits?: Edit[];
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=consequenceQueryObject.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consequenceQueryObject.d.ts","sourceRoot":"","sources":["../../model/consequenceQueryObject.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAChB,CAAC"}
|
package/dist/model/edit.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { EditType } from './editType';
|
|
2
|
-
export type Edit = {
|
|
3
|
-
type?: EditType;
|
|
4
|
-
/**
|
|
5
|
-
* Text or patterns to remove from the query string.
|
|
6
|
-
*/
|
|
7
|
-
delete?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Text to be added in place of the deleted text inside the query string.
|
|
10
|
-
*/
|
|
11
|
-
insert?: string;
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=edit.d.ts.map
|
package/dist/model/edit.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"edit.d.ts","sourceRoot":"","sources":["../../model/edit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,IAAI,GAAG;IACjB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
package/dist/model/editType.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"editType.d.ts","sourceRoot":"","sources":["../../model/editType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC"}
|
package/dist/model/params.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { AutomaticFacetFilters } from './automaticFacetFilters';
|
|
2
|
-
import type { ConsequenceQuery } from './consequenceQuery';
|
|
3
|
-
import type { RenderingContent } from './renderingContent';
|
|
4
|
-
/**
|
|
5
|
-
* Parameters to apply to this search. You can use all search parameters, plus special `automaticFacetFilters`, `automaticOptionalFacetFilters`, and `query`.
|
|
6
|
-
*/
|
|
7
|
-
export type Params = {
|
|
8
|
-
query?: ConsequenceQuery;
|
|
9
|
-
automaticFacetFilters?: AutomaticFacetFilters;
|
|
10
|
-
automaticOptionalFacetFilters?: AutomaticFacetFilters;
|
|
11
|
-
renderingContent?: RenderingContent;
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=params.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../model/params.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IAEzB,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAE9C,6BAA6B,CAAC,EAAE,qBAAqB,CAAC;IAEtD,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,CAAC"}
|
package/dist/model/promote.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promote.d.ts","sourceRoot":"","sources":["../../model/promote.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,OAAO,GAAG,eAAe,GAAG,gBAAgB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Record to promote.
|
|
3
|
-
*/
|
|
4
|
-
export type PromoteObjectID = {
|
|
5
|
-
/**
|
|
6
|
-
* Unique record identifier.
|
|
7
|
-
*/
|
|
8
|
-
objectID: string;
|
|
9
|
-
/**
|
|
10
|
-
* Position in the search results where you want to show the promoted records.
|
|
11
|
-
*/
|
|
12
|
-
position: number;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=promoteObjectID.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promoteObjectID.d.ts","sourceRoot":"","sources":["../../model/promoteObjectID.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Records to promote.
|
|
3
|
-
*/
|
|
4
|
-
export type PromoteObjectIDs = {
|
|
5
|
-
/**
|
|
6
|
-
* Object IDs of the records you want to promote. The records are placed as a group at the `position`. For example, if you want to promote four records to position `0`, they will be the first four search results.
|
|
7
|
-
*/
|
|
8
|
-
objectIDs: string[];
|
|
9
|
-
/**
|
|
10
|
-
* Position in the search results where you want to show the promoted records.
|
|
11
|
-
*/
|
|
12
|
-
position: number;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=promoteObjectIDs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promoteObjectIDs.d.ts","sourceRoot":"","sources":["../../model/promoteObjectIDs.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,SAAS,EAAE,MAAM,EAAE,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recommendationModels.d.ts","sourceRoot":"","sources":["../../model/recommendationModels.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,GAAG,kBAAkB,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { BaseRecommendRequest } from './baseRecommendRequest';
|
|
2
|
-
import type { BaseRecommendationsQuery } from './baseRecommendationsQuery';
|
|
3
|
-
export type RecommendationsQuery = BaseRecommendationsQuery & BaseRecommendRequest;
|
|
4
|
-
//# sourceMappingURL=recommendationsQuery.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recommendationsQuery.d.ts","sourceRoot":"","sources":["../../model/recommendationsQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,GACzD,oBAAoB,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { BaseRecommendedForYouQueryParameters } from './baseRecommendedForYouQueryParameters';
|
|
2
|
-
import type { SearchParamsObject } from './searchParamsObject';
|
|
3
|
-
export type RecommendedForYouQueryParameters = BaseRecommendedForYouQueryParameters & SearchParamsObject;
|
|
4
|
-
//# sourceMappingURL=recommendedForYouQueryParameters.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recommendedForYouQueryParameters.d.ts","sourceRoot":"","sources":["../../model/recommendedForYouQueryParameters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AACnG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,gCAAgC,GAC1C,oCAAoC,GAAG,kBAAkB,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { Condition } from './condition';
|
|
2
|
-
import type { Consequence } from './consequence';
|
|
3
|
-
import type { RuleResponseMetadata } from './ruleResponseMetadata';
|
|
4
|
-
/**
|
|
5
|
-
* Rule object.
|
|
6
|
-
*/
|
|
7
|
-
export type RuleResponse = {
|
|
8
|
-
_metadata?: RuleResponseMetadata;
|
|
9
|
-
/**
|
|
10
|
-
* Unique identifier for a rule object.
|
|
11
|
-
*/
|
|
12
|
-
objectID: string;
|
|
13
|
-
/**
|
|
14
|
-
* [Conditions](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#conditions) required to activate a rule. You can use up to 25 conditions per rule.
|
|
15
|
-
*/
|
|
16
|
-
conditions?: Condition[];
|
|
17
|
-
consequence?: Consequence;
|
|
18
|
-
/**
|
|
19
|
-
* Description of the rule\'s purpose. This can be helpful for display in the Algolia dashboard.
|
|
20
|
-
*/
|
|
21
|
-
description?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Indicates whether to enable the rule. If it isn\'t enabled, it isn\'t applied at query time.
|
|
24
|
-
*/
|
|
25
|
-
enabled?: boolean;
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=ruleResponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ruleResponse.d.ts","sourceRoot":"","sources":["../../model/ruleResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,CAAC,EAAE,oBAAoB,CAAC;IAEjC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IAEzB,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ruleResponseMetadata.d.ts","sourceRoot":"","sources":["../../model/ruleResponseMetadata.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
package/model/anchoring.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
* Which part of the search query the pattern should match: - `startsWith`. The pattern must match the begginning of the query. - `endsWith`. The pattern must match the end of the query. - `is`. The pattern must match the query exactly. - `contains`. The pattern must match anywhere in the query. Empty queries are only allowed as pattern with `anchoring: is`.
|
|
5
|
-
*/
|
|
6
|
-
export type Anchoring = 'contains' | 'endsWith' | 'is' | 'startsWith';
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
* Filter or optional filter to be applied to the search.
|
|
5
|
-
*/
|
|
6
|
-
export type AutomaticFacetFilter = {
|
|
7
|
-
/**
|
|
8
|
-
* Facet name to be applied as filter. The name must match placeholders in the `pattern` parameter. For example, with `pattern: {facet:genre}`, `automaticFacetFilters` must be `genre`.
|
|
9
|
-
*/
|
|
10
|
-
facet: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Filter scores to give different weights to individual filters.
|
|
14
|
-
*/
|
|
15
|
-
score?: number;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Whether the filter is disjunctive or conjunctive. If true the filter has multiple matches, multiple occurences are combined with the logical `OR` operation. If false, multiple occurences are combined with the logical `AND` operation.
|
|
19
|
-
*/
|
|
20
|
-
disjunctive?: boolean;
|
|
21
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
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 { AutomaticFacetFilter } from './automaticFacetFilter';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Filter to be applied to the search. You can use this to respond to search queries that match a facet value. For example, if users search for \"comedy\", which matches a facet value of the \"genre\" facet, you can filter the results to show the top-ranked comedy movies.
|
|
7
|
-
*/
|
|
8
|
-
export type AutomaticFacetFilters = AutomaticFacetFilter[] | string[];
|
|
@@ -1,17 +0,0 @@
|
|
|
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 { RecommendationModels } from './recommendationModels';
|
|
4
|
-
import type { SearchParamsObject } from './searchParamsObject';
|
|
5
|
-
|
|
6
|
-
export type BaseRecommendationsQuery = {
|
|
7
|
-
model: RecommendationModels;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Unique record identifier.
|
|
11
|
-
*/
|
|
12
|
-
objectID: string;
|
|
13
|
-
|
|
14
|
-
queryParameters?: SearchParamsObject;
|
|
15
|
-
|
|
16
|
-
fallbackParameters?: SearchParamsObject;
|
|
17
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
export type BaseRecommendedForYouQueryParameters = {
|
|
4
|
-
/**
|
|
5
|
-
* 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/).
|
|
6
|
-
*/
|
|
7
|
-
userToken: string;
|
|
8
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
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 { SearchParamsObject } from './searchParamsObject';
|
|
4
|
-
import type { TrendingItemsModel } from './trendingItemsModel';
|
|
5
|
-
|
|
6
|
-
export type BaseTrendingItemsQuery = {
|
|
7
|
-
/**
|
|
8
|
-
* Facet name for trending models.
|
|
9
|
-
*/
|
|
10
|
-
facetName?: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Facet value for trending models.
|
|
14
|
-
*/
|
|
15
|
-
facetValue?: string;
|
|
16
|
-
|
|
17
|
-
model?: TrendingItemsModel;
|
|
18
|
-
|
|
19
|
-
queryParameters?: SearchParamsObject;
|
|
20
|
-
|
|
21
|
-
fallbackParameters?: SearchParamsObject;
|
|
22
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
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 { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuery';
|
|
4
|
-
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
|
|
5
|
-
import type { Params } from './params';
|
|
6
|
-
|
|
7
|
-
export type ConsequenceParams = BaseSearchParamsWithoutQuery &
|
|
8
|
-
IndexSettingsAsSearchParams &
|
|
9
|
-
Params;
|
|
@@ -1,8 +0,0 @@
|
|
|
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 { ConsequenceQueryObject } from './consequenceQueryObject';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Replace or edit the search query. If `consequenceQuery` is a string, the entire search query is replaced with that string. If `consequenceQuery` is an object, it describes incremental edits made to the query.
|
|
7
|
-
*/
|
|
8
|
-
export type ConsequenceQuery = ConsequenceQueryObject | string;
|
|
@@ -1,15 +0,0 @@
|
|
|
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 { Edit } from './edit';
|
|
4
|
-
|
|
5
|
-
export type ConsequenceQueryObject = {
|
|
6
|
-
/**
|
|
7
|
-
* Words to remove from the search query.
|
|
8
|
-
*/
|
|
9
|
-
remove?: string[];
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Changes to make to the search query.
|
|
13
|
-
*/
|
|
14
|
-
edits?: Edit[];
|
|
15
|
-
};
|
package/model/edit.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
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 to be added in place of the deleted text inside the query string.
|
|
15
|
-
*/
|
|
16
|
-
insert?: string;
|
|
17
|
-
};
|
package/model/params.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
* Parameters to apply to this search. You can use all search parameters, plus special `automaticFacetFilters`, `automaticOptionalFacetFilters`, and `query`.
|
|
9
|
-
*/
|
|
10
|
-
export type Params = {
|
|
11
|
-
query?: ConsequenceQuery;
|
|
12
|
-
|
|
13
|
-
automaticFacetFilters?: AutomaticFacetFilters;
|
|
14
|
-
|
|
15
|
-
automaticOptionalFacetFilters?: AutomaticFacetFilters;
|
|
16
|
-
|
|
17
|
-
renderingContent?: RenderingContent;
|
|
18
|
-
};
|
package/model/promote.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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;
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
* Records to promote.
|
|
5
|
-
*/
|
|
6
|
-
export type PromoteObjectIDs = {
|
|
7
|
-
/**
|
|
8
|
-
* Object IDs of the records you want to promote. The records are placed as a group at the `position`. For example, if you want to promote four records to position `0`, they will be the first four search results.
|
|
9
|
-
*/
|
|
10
|
-
objectIDs: string[];
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Position in the search results where you want to show the promoted records.
|
|
14
|
-
*/
|
|
15
|
-
position: number;
|
|
16
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
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 { BaseRecommendedForYouQueryParameters } from './baseRecommendedForYouQueryParameters';
|
|
4
|
-
import type { SearchParamsObject } from './searchParamsObject';
|
|
5
|
-
|
|
6
|
-
export type RecommendedForYouQueryParameters =
|
|
7
|
-
BaseRecommendedForYouQueryParameters & SearchParamsObject;
|