@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
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
* Record to promote.
|
|
5
|
+
*/
|
|
6
|
+
export type PromoteObjectID = {
|
|
7
|
+
/**
|
|
8
|
+
* Unique identifier of the record to promote.
|
|
9
|
+
*/
|
|
10
|
+
objectID: string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* The position to promote the records to. If you pass objectIDs, the records are placed at this position as a group. For example, if you pronmote four objectIDs to position 0, the records take the first four positions.
|
|
14
|
+
*/
|
|
15
|
+
position: number;
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
* Unique identifiers of the records to promote.
|
|
9
|
+
*/
|
|
10
|
+
objectIDs: string[];
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* The position to promote the records to. If you pass objectIDs, the records are placed at this position as a group. For example, if you pronmote four objectIDs to position 0, the records take the first four positions.
|
|
14
|
+
*/
|
|
15
|
+
position: number;
|
|
16
|
+
};
|
package/model/queryType.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
|
-
*
|
|
4
|
+
* Determines how query words are [interpreted as prefixes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching/).
|
|
5
5
|
*/
|
|
6
6
|
export type QueryType = 'prefixAll' | 'prefixLast' | 'prefixNone';
|
package/model/rankingInfo.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 { MatchedGeoLocation } from './matchedGeoLocation';
|
|
4
4
|
import type { Personalization } from './personalization';
|
|
@@ -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
|
-
* When Dynamic Re-Ranking is enabled, only records that match these filters will be
|
|
6
|
+
* When [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) is enabled, only records that match these filters will be affected by Dynamic Re-Ranking.
|
|
7
7
|
*/
|
|
8
8
|
export type ReRankingApplyFilter = MixedSearchFilters[] | string;
|
package/model/recommendHit.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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 { HighlightResult } from './highlightResult';
|
|
4
4
|
import type { RankingInfo } from './rankingInfo';
|
|
5
5
|
import type { SnippetResult } from './snippetResult';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Recommend hit.
|
|
9
9
|
*/
|
|
10
10
|
export type RecommendHit = Record<string, any> & {
|
|
11
11
|
/**
|
|
12
|
-
* Unique identifier
|
|
12
|
+
* Unique object identifier.
|
|
13
13
|
*/
|
|
14
14
|
objectID: string;
|
|
15
15
|
|
|
@@ -28,7 +28,7 @@ export type RecommendHit = Record<string, any> & {
|
|
|
28
28
|
_distinctSeqID?: number;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Recommendation score.
|
|
32
32
|
*/
|
|
33
33
|
_score: number;
|
|
34
34
|
};
|
package/model/recommendHits.ts
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
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 { RecommendHit } from './recommendHit';
|
|
4
4
|
|
|
5
5
|
export type RecommendHits = {
|
|
6
6
|
hits: RecommendHit[];
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Text to search for in an index.
|
|
10
|
+
*/
|
|
11
|
+
query?: string;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* URL-encoded string of all search parameters.
|
|
15
|
+
*/
|
|
16
|
+
params?: string;
|
|
7
17
|
};
|
|
@@ -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
|
+
export type RecommendModels =
|
|
4
|
+
| 'bought-together'
|
|
5
|
+
| 'related-products'
|
|
6
|
+
| 'trending-facets'
|
|
7
|
+
| 'trending-items';
|
|
@@ -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
|
+
* Recommendation model.
|
|
5
5
|
*/
|
|
6
6
|
export type RecommendationModels = 'bought-together' | 'related-products';
|
|
@@ -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 { BaseRecommendRequest } from './baseRecommendRequest';
|
|
4
|
+
import type { BaseRecommendationsQuery } from './baseRecommendationsQuery';
|
|
5
|
+
|
|
6
|
+
export type RecommendationsQuery = BaseRecommendationsQuery &
|
|
7
|
+
BaseRecommendRequest;
|
|
@@ -1,6 +1,10 @@
|
|
|
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
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { RecommendationsQuery } from './recommendationsQuery';
|
|
4
|
+
import type { TrendingFacetsQuery } from './trendingFacetsQuery';
|
|
5
|
+
import type { TrendingItemsQuery } from './trendingItemsQuery';
|
|
5
6
|
|
|
6
|
-
export type RecommendationsRequest =
|
|
7
|
+
export type RecommendationsRequest =
|
|
8
|
+
| RecommendationsQuery
|
|
9
|
+
| TrendingFacetsQuery
|
|
10
|
+
| TrendingItemsQuery;
|
|
@@ -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 { BaseSearchResponse } from './baseSearchResponse';
|
|
4
4
|
import type { RecommendHits } from './recommendHits';
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { RedirectRuleIndexMetadataData } from './redirectRuleIndexMetadataData';
|
|
4
|
+
|
|
5
|
+
export type RedirectRuleIndexMetadata = {
|
|
6
|
+
/**
|
|
7
|
+
* Source index for the redirect rule.
|
|
8
|
+
*/
|
|
9
|
+
source: string;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Destination index for the redirect rule.
|
|
13
|
+
*/
|
|
14
|
+
dest: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Reason for the redirect rule.
|
|
18
|
+
*/
|
|
19
|
+
reason: string;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Redirect rule status.
|
|
23
|
+
*/
|
|
24
|
+
succeed: boolean;
|
|
25
|
+
|
|
26
|
+
data: RedirectRuleIndexMetadataData;
|
|
27
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
* Redirect rule data.
|
|
5
|
+
*/
|
|
6
|
+
export type RedirectRuleIndexMetadataData = {
|
|
7
|
+
ruleObjectID: string;
|
|
8
|
+
};
|
package/model/removeStopWords.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
|
-
* Removes stop (common) words from the query before executing it.
|
|
4
|
+
* Removes stop (common) words from the query before executing it. `removeStopWords` is used in conjunction with the `queryLanguages` setting. _list_: language ISO codes for which stop words should be enabled. This list will override any values that you may have set in `queryLanguages`. _true_: enables the stop words feature, ensuring that stop words are removed from consideration in a search. 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 stop words feature, allowing stop words to be taken into account in a search.
|
|
5
5
|
*/
|
|
6
6
|
export type RemoveStopWords = string[] | boolean;
|
|
@@ -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
|
+
* Strategy to [remove words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results/) from the query when it doesn\'t match any hits.
|
|
5
5
|
*/
|
|
6
6
|
export type RemoveWordsIfNoResults =
|
|
7
7
|
| 'allOptional'
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { FacetOrdering } from './facetOrdering';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Extra content for the search UI, for example, to control the [ordering and display of facets](https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/merchandising-facets/#merchandise-facets-and-their-values-in-the-manual-editor). You can set a default value and dynamically override it with [Rules](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/).
|
|
7
7
|
*/
|
|
8
8
|
export type RenderingContent = {
|
|
9
9
|
facetOrdering?: FacetOrdering;
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { Condition } from './condition';
|
|
4
|
+
import type { Consequence } from './consequence';
|
|
5
|
+
import type { RuleResponseMetadata } from './ruleResponseMetadata';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Rule object.
|
|
9
|
+
*/
|
|
10
|
+
export type RuleResponse = {
|
|
11
|
+
_metadata?: RuleResponseMetadata;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Unique identifier for a rule object.
|
|
15
|
+
*/
|
|
16
|
+
objectID: string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* [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.
|
|
20
|
+
*/
|
|
21
|
+
conditions?: Condition[];
|
|
22
|
+
|
|
23
|
+
consequence?: Consequence;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Description of the rule\'s purpose. This can be helpful for display in the Algolia dashboard.
|
|
27
|
+
*/
|
|
28
|
+
description?: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Indicates whether to enable the rule. If it isn\'t enabled, it isn\'t applied at query time.
|
|
32
|
+
*/
|
|
33
|
+
enabled?: boolean;
|
|
34
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
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 RuleResponseMetadata = {
|
|
4
|
+
/**
|
|
5
|
+
* Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
|
|
6
|
+
*/
|
|
7
|
+
lastUpdate?: string;
|
|
8
|
+
};
|
|
@@ -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 { BaseSearchParams } from './baseSearchParams';
|
|
4
4
|
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
|
|
@@ -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
|
export type SearchParamsQuery = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Text to search for in an index.
|
|
6
6
|
*/
|
|
7
7
|
query?: string;
|
|
8
8
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
* Recommend rules search parameters.
|
|
5
|
+
*/
|
|
6
|
+
export type SearchRecommendRulesParams = {
|
|
7
|
+
/**
|
|
8
|
+
* Full-text query.
|
|
9
|
+
*/
|
|
10
|
+
query?: string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Restricts responses to the specified [contextual rule](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#creating-contextual-rules).
|
|
14
|
+
*/
|
|
15
|
+
context?: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Requested page (the first page is page 0).
|
|
19
|
+
*/
|
|
20
|
+
page?: number;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Maximum number of hits per page.
|
|
24
|
+
*/
|
|
25
|
+
hitsPerPage?: number;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Restricts responses to enabled rules. When absent (default), _all_ rules are retrieved.
|
|
29
|
+
*/
|
|
30
|
+
enabled?: boolean | null;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Request options to send with the API call.
|
|
34
|
+
*/
|
|
35
|
+
_requestOptions?: Array<Record<string, any>>;
|
|
36
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { RuleResponse } from './ruleResponse';
|
|
4
|
+
|
|
5
|
+
export type SearchRecommendRulesResponse = {
|
|
6
|
+
/**
|
|
7
|
+
* Fetched rules.
|
|
8
|
+
*/
|
|
9
|
+
hits: RuleResponse[];
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Number of fetched rules.
|
|
13
|
+
*/
|
|
14
|
+
nbHits: number;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Current page.
|
|
18
|
+
*/
|
|
19
|
+
page: number;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Number of pages.
|
|
23
|
+
*/
|
|
24
|
+
nbPages: number;
|
|
25
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
* Settings for the semantic search part of NeuralSearch. Only used when `mode` is _neuralSearch_.
|
|
5
|
+
*/
|
|
6
|
+
export type SemanticSearch = {
|
|
7
|
+
/**
|
|
8
|
+
* Indices from which to collect click and conversion events. If null, the current index and replica group will be used as the event source.
|
|
9
|
+
*/
|
|
10
|
+
eventSources?: string[] | null;
|
|
11
|
+
};
|
package/model/snippetResult.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 { SnippetResultOption } from './snippetResultOption';
|
|
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 SnippetResultOption = {
|
|
9
9
|
/**
|
|
10
|
-
* Markup text with
|
|
10
|
+
* Markup text with `facetQuery` matches highlighted.
|
|
11
11
|
*/
|
|
12
12
|
value: string;
|
|
13
13
|
|
package/model/sortRemainingBy.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
|
-
* How to display the remaining items
|
|
4
|
+
* How to display the remaining items: - `count`: facet count (descending). - `alpha`: alphabetical (ascending). - `hidden`: show only pinned values.
|
|
5
5
|
*/
|
|
6
6
|
export type SortRemainingBy = 'alpha' | 'count' | 'hidden';
|
package/model/tagFilters.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 tags.
|
|
6
|
+
* [Filter hits by tags](https://www.algolia.com/doc/api-reference/api-parameters/tagFilters/).
|
|
7
7
|
*/
|
|
8
8
|
export type TagFilters = MixedSearchFilters[] | string;
|
|
@@ -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
|
+
* _published_ if the task has been processed, _notPublished_ otherwise.
|
|
5
|
+
*/
|
|
6
|
+
export type TaskStatus = 'notPublished' | 'published';
|
|
@@ -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
|
+
* Trending facets model.
|
|
5
|
+
*/
|
|
6
|
+
export type TrendingFacetsModel = 'trending-facets';
|
|
@@ -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 { BaseRecommendRequest } from './baseRecommendRequest';
|
|
4
|
+
import type { BaseTrendingFacetsQuery } from './baseTrendingFacetsQuery';
|
|
5
|
+
|
|
6
|
+
export type TrendingFacetsQuery = BaseRecommendRequest &
|
|
7
|
+
BaseTrendingFacetsQuery;
|
|
@@ -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
|
+
* Trending items model.
|
|
5
|
+
*/
|
|
6
|
+
export type TrendingItemsModel = 'trending-items';
|
|
@@ -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 { BaseRecommendRequest } from './baseRecommendRequest';
|
|
4
|
+
import type { BaseTrendingItemsQuery } from './baseTrendingItemsQuery';
|
|
5
|
+
|
|
6
|
+
export type TrendingItemsQuery = BaseRecommendRequest & BaseTrendingItemsQuery;
|
package/model/typoTolerance.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 { TypoToleranceEnum } from './typoToleranceEnum';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Controls whether typo tolerance is enabled and how it is applied.
|
|
6
|
+
* Controls whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/) is enabled and how it is applied.
|
|
7
7
|
*/
|
|
8
8
|
export type TypoTolerance = TypoToleranceEnum | boolean;
|
|
@@ -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 TypoToleranceEnum = 'min' | 'strict';
|
package/model/value.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 { SortRemainingBy } from './sortRemainingBy';
|
|
4
4
|
|
package/package.json
CHANGED
|
@@ -1,16 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/recommend",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.81",
|
|
4
4
|
"description": "JavaScript client for recommend",
|
|
5
5
|
"repository": "algolia/algoliasearch-client-javascript",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Algolia",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"node": {
|
|
12
|
+
"import": "./dist/recommend.esm.node.js",
|
|
13
|
+
"module": "./dist/recommend.esm.node.js",
|
|
14
|
+
"require": "./dist/recommend.cjs",
|
|
15
|
+
"default": "./dist/recommend.cjs"
|
|
16
|
+
},
|
|
17
|
+
"default": {
|
|
18
|
+
"umd": "./dist/recommend.umd.js",
|
|
19
|
+
"module": "./dist/recommend.esm.browser.js",
|
|
20
|
+
"import": "./dist/recommend.esm.browser.js",
|
|
21
|
+
"default": "./dist/recommend.umd.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"./src/*": "./src/*.ts",
|
|
25
|
+
"./model": "./model/index.ts"
|
|
26
|
+
},
|
|
27
|
+
"jsdelivr": "./dist/recommend.umd.js",
|
|
28
|
+
"unpkg": "./dist/recommend.umd.js",
|
|
29
|
+
"browser": "./dist/recommend.umd.js",
|
|
30
|
+
"types": "./index.d.ts",
|
|
14
31
|
"files": [
|
|
15
32
|
"dist",
|
|
16
33
|
"model",
|
|
@@ -22,14 +39,14 @@
|
|
|
22
39
|
"clean": "rm -rf ./dist || true"
|
|
23
40
|
},
|
|
24
41
|
"dependencies": {
|
|
25
|
-
"@algolia/client-common": "5.0.0-alpha.
|
|
26
|
-
"@algolia/requester-browser-xhr": "5.0.0-alpha.
|
|
27
|
-
"@algolia/requester-node-http": "5.0.0-alpha.
|
|
42
|
+
"@algolia/client-common": "5.0.0-alpha.81",
|
|
43
|
+
"@algolia/requester-browser-xhr": "5.0.0-alpha.81",
|
|
44
|
+
"@algolia/requester-node-http": "5.0.0-alpha.81"
|
|
28
45
|
},
|
|
29
46
|
"devDependencies": {
|
|
30
|
-
"@types/node": "
|
|
31
|
-
"rollup": "
|
|
32
|
-
"typescript": "
|
|
47
|
+
"@types/node": "18.17.12",
|
|
48
|
+
"rollup": "3.28.1",
|
|
49
|
+
"typescript": "5.2.2"
|
|
33
50
|
},
|
|
34
51
|
"engines": {
|
|
35
52
|
"node": ">= 14.0.0"
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { RecommendationModels } from './recommendationModels';
|
|
2
|
-
export declare type BaseRecommendationRequest = {
|
|
3
|
-
model: RecommendationModels;
|
|
4
|
-
/**
|
|
5
|
-
* Unique identifier of the object.
|
|
6
|
-
*/
|
|
7
|
-
objectID: string;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=baseRecommendationRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"baseRecommendationRequest.d.ts","sourceRoot":"","sources":["../../model/baseRecommendationRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,oBAAY,yBAAyB,GAAG;IACtC,KAAK,EAAE,oBAAoB,CAAC;IAE5B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { TrendingModels } from './trendingModels';
|
|
2
|
-
export declare type BaseTrendingRequest = {
|
|
3
|
-
model: TrendingModels;
|
|
4
|
-
/**
|
|
5
|
-
* The facet name to use for trending models.
|
|
6
|
-
*/
|
|
7
|
-
facetName?: string;
|
|
8
|
-
/**
|
|
9
|
-
* The facet value to use for trending models.
|
|
10
|
-
*/
|
|
11
|
-
facetValue?: string;
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=baseTrendingRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"baseTrendingRequest.d.ts","sourceRoot":"","sources":["../../model/baseTrendingRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,oBAAY,mBAAmB,GAAG;IAChC,KAAK,EAAE,cAAc,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { BaseRecommendRequest } from './baseRecommendRequest';
|
|
2
|
-
import type { BaseRecommendationRequest } from './baseRecommendationRequest';
|
|
3
|
-
export declare type RecommendationRequest = BaseRecommendationRequest & BaseRecommendRequest;
|
|
4
|
-
//# sourceMappingURL=recommendationRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recommendationRequest.d.ts","sourceRoot":"","sources":["../../model/recommendationRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAE7E,oBAAY,qBAAqB,GAAG,yBAAyB,GAC3D,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"trendingModels.d.ts","sourceRoot":"","sources":["../../model/trendingModels.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,cAAc,GAAG,iBAAiB,GAAG,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"trendingRequest.d.ts","sourceRoot":"","sources":["../../model/trendingRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,oBAAY,eAAe,GAAG,oBAAoB,GAAG,mBAAmB,CAAC"}
|