@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.
Files changed (186) hide show
  1. package/dist/builds/browser.d.ts +1 -1
  2. package/dist/builds/node.d.ts +1 -1
  3. package/dist/model/autoFacetFilter.d.ts +14 -0
  4. package/dist/model/autoFacetFilter.d.ts.map +1 -0
  5. package/dist/model/baseRecommendRequest.d.ts +5 -3
  6. package/dist/model/baseRecommendRequest.d.ts.map +1 -1
  7. package/dist/model/baseSearchParamsWithoutQuery.d.ts +1 -1
  8. package/dist/model/boughtTogetherQuery.d.ts +4 -0
  9. package/dist/model/boughtTogetherQuery.d.ts.map +1 -0
  10. package/dist/model/clientMethodProps.d.ts +5 -5
  11. package/dist/model/condition.d.ts +5 -12
  12. package/dist/model/condition.d.ts.map +1 -1
  13. package/dist/model/consequence.d.ts +9 -17
  14. package/dist/model/consequence.d.ts.map +1 -1
  15. package/dist/model/deletedAtResponse.d.ts +1 -1
  16. package/dist/model/exactOnSingleWordQuery.d.ts +1 -1
  17. package/dist/model/fallbackParams.d.ts +3 -0
  18. package/dist/model/fallbackParams.d.ts.map +1 -0
  19. package/dist/model/fbtModel.d.ts +5 -0
  20. package/dist/model/fbtModel.d.ts.map +1 -0
  21. package/dist/model/frequentlyBoughtTogether.d.ts +9 -0
  22. package/dist/model/frequentlyBoughtTogether.d.ts.map +1 -0
  23. package/dist/model/getRecommendationsParams.d.ts +2 -2
  24. package/dist/model/hideConsequenceObject.d.ts +10 -0
  25. package/dist/model/hideConsequenceObject.d.ts.map +1 -0
  26. package/dist/model/index.d.ts +20 -23
  27. package/dist/model/index.d.ts.map +1 -1
  28. package/dist/model/indexSettingsAsSearchParams.d.ts +5 -5
  29. package/dist/model/lookingSimilar.d.ts +11 -0
  30. package/dist/model/lookingSimilar.d.ts.map +1 -0
  31. package/dist/model/lookingSimilarModel.d.ts +5 -0
  32. package/dist/model/lookingSimilarModel.d.ts.map +1 -0
  33. package/dist/model/lookingSimilarQuery.d.ts +4 -0
  34. package/dist/model/lookingSimilarQuery.d.ts.map +1 -0
  35. package/dist/model/paramsConsequence.d.ts +19 -0
  36. package/dist/model/paramsConsequence.d.ts.map +1 -0
  37. package/dist/model/promoteConsequenceObject.d.ts +14 -0
  38. package/dist/model/promoteConsequenceObject.d.ts.map +1 -0
  39. package/dist/model/recommendRule.d.ts +24 -0
  40. package/dist/model/recommendRule.d.ts.map +1 -0
  41. package/dist/model/recommendRuleMetadata.d.ts +10 -0
  42. package/dist/model/recommendRuleMetadata.d.ts.map +1 -0
  43. package/dist/model/recommendationsHits.d.ts +0 -8
  44. package/dist/model/recommendationsHits.d.ts.map +1 -1
  45. package/dist/model/recommendationsRequest.d.ts +4 -2
  46. package/dist/model/recommendationsRequest.d.ts.map +1 -1
  47. package/dist/model/recommendedForYou.d.ts +7 -0
  48. package/dist/model/recommendedForYou.d.ts.map +1 -0
  49. package/dist/model/recommendedForYouModel.d.ts +1 -1
  50. package/dist/model/recommendedForYouQuery.d.ts +2 -2
  51. package/dist/model/recommendedForYouQuery.d.ts.map +1 -1
  52. package/dist/model/relatedModel.d.ts +5 -0
  53. package/dist/model/relatedModel.d.ts.map +1 -0
  54. package/dist/model/relatedProducts.d.ts +11 -0
  55. package/dist/model/relatedProducts.d.ts.map +1 -0
  56. package/dist/model/relatedQuery.d.ts +4 -0
  57. package/dist/model/relatedQuery.d.ts.map +1 -0
  58. package/dist/model/removeWordsIfNoResults.d.ts +1 -1
  59. package/dist/model/searchParams.d.ts +3 -0
  60. package/dist/model/searchParams.d.ts.map +1 -0
  61. package/dist/model/searchRecommendRulesParams.d.ts +16 -4
  62. package/dist/model/searchRecommendRulesParams.d.ts.map +1 -1
  63. package/dist/model/searchRecommendRulesResponse.d.ts +3 -3
  64. package/dist/model/searchRecommendRulesResponse.d.ts.map +1 -1
  65. package/dist/model/sortRemainingBy.d.ts +1 -1
  66. package/dist/model/trendingFacetHit.d.ts +2 -2
  67. package/dist/model/trendingFacets.d.ts +11 -0
  68. package/dist/model/trendingFacets.d.ts.map +1 -0
  69. package/dist/model/trendingFacetsModel.d.ts +1 -1
  70. package/dist/model/trendingFacetsQuery.d.ts +2 -2
  71. package/dist/model/trendingFacetsQuery.d.ts.map +1 -1
  72. package/dist/model/trendingItems.d.ts +15 -0
  73. package/dist/model/trendingItems.d.ts.map +1 -0
  74. package/dist/model/trendingItemsModel.d.ts +1 -1
  75. package/dist/model/trendingItemsQuery.d.ts +2 -2
  76. package/dist/model/trendingItemsQuery.d.ts.map +1 -1
  77. package/dist/recommend.cjs +11 -11
  78. package/dist/recommend.esm.browser.js +11 -11
  79. package/dist/recommend.esm.node.js +11 -11
  80. package/dist/recommend.umd.js +2 -2
  81. package/dist/src/recommendClient.d.ts +13 -13
  82. package/dist/src/recommendClient.d.ts.map +1 -1
  83. package/model/autoFacetFilter.ts +16 -0
  84. package/model/baseRecommendRequest.ts +7 -3
  85. package/model/baseSearchParamsWithoutQuery.ts +1 -1
  86. package/model/{recommendationsQuery.ts → boughtTogetherQuery.ts} +3 -3
  87. package/model/clientMethodProps.ts +5 -5
  88. package/model/condition.ts +5 -16
  89. package/model/consequence.ts +9 -19
  90. package/model/deletedAtResponse.ts +1 -1
  91. package/model/exactOnSingleWordQuery.ts +1 -1
  92. package/model/{editType.ts → fallbackParams.ts} +3 -4
  93. package/model/fbtModel.ts +6 -0
  94. package/model/{consequenceHide.ts → frequentlyBoughtTogether.ts} +5 -4
  95. package/model/getRecommendationsParams.ts +2 -2
  96. package/model/{promoteObjectID.ts → hideConsequenceObject.ts} +3 -8
  97. package/model/index.ts +20 -23
  98. package/model/indexSettingsAsSearchParams.ts +5 -5
  99. package/model/lookingSimilar.ts +15 -0
  100. package/model/lookingSimilarModel.ts +6 -0
  101. package/model/lookingSimilarQuery.ts +6 -0
  102. package/model/paramsConsequence.ts +23 -0
  103. package/model/promoteConsequenceObject.ts +16 -0
  104. package/model/{ruleResponse.ts → recommendRule.ts} +7 -10
  105. package/model/{ruleResponseMetadata.ts → recommendRuleMetadata.ts} +5 -2
  106. package/model/recommendationsHits.ts +0 -10
  107. package/model/recommendationsRequest.ts +6 -2
  108. package/model/{baseRecommendedForYouQuery.ts → recommendedForYou.ts} +3 -5
  109. package/model/recommendedForYouModel.ts +1 -1
  110. package/model/recommendedForYouQuery.ts +2 -3
  111. package/model/relatedModel.ts +6 -0
  112. package/model/relatedProducts.ts +15 -0
  113. package/model/relatedQuery.ts +6 -0
  114. package/model/removeWordsIfNoResults.ts +1 -1
  115. package/model/{recommendationModels.ts → searchParams.ts} +3 -4
  116. package/model/searchRecommendRulesParams.ts +19 -4
  117. package/model/searchRecommendRulesResponse.ts +3 -3
  118. package/model/sortRemainingBy.ts +1 -1
  119. package/model/trendingFacetHit.ts +2 -2
  120. package/model/{baseTrendingFacetsQuery.ts → trendingFacets.ts} +7 -4
  121. package/model/trendingFacetsModel.ts +1 -1
  122. package/model/trendingFacetsQuery.ts +2 -3
  123. package/model/trendingItems.ts +20 -0
  124. package/model/trendingItemsModel.ts +1 -1
  125. package/model/trendingItemsQuery.ts +2 -2
  126. package/package.json +7 -7
  127. package/dist/model/anchoring.d.ts +0 -5
  128. package/dist/model/anchoring.d.ts.map +0 -1
  129. package/dist/model/automaticFacetFilter.d.ts +0 -18
  130. package/dist/model/automaticFacetFilter.d.ts.map +0 -1
  131. package/dist/model/automaticFacetFilters.d.ts +0 -6
  132. package/dist/model/automaticFacetFilters.d.ts.map +0 -1
  133. package/dist/model/baseRecommendationsQuery.d.ts +0 -12
  134. package/dist/model/baseRecommendationsQuery.d.ts.map +0 -1
  135. package/dist/model/baseRecommendedForYouQuery.d.ts +0 -8
  136. package/dist/model/baseRecommendedForYouQuery.d.ts.map +0 -1
  137. package/dist/model/baseRecommendedForYouQueryParameters.d.ts +0 -7
  138. package/dist/model/baseRecommendedForYouQueryParameters.d.ts.map +0 -1
  139. package/dist/model/baseTrendingFacetsQuery.d.ts +0 -9
  140. package/dist/model/baseTrendingFacetsQuery.d.ts.map +0 -1
  141. package/dist/model/baseTrendingItemsQuery.d.ts +0 -16
  142. package/dist/model/baseTrendingItemsQuery.d.ts.map +0 -1
  143. package/dist/model/consequenceHide.d.ts +0 -10
  144. package/dist/model/consequenceHide.d.ts.map +0 -1
  145. package/dist/model/consequenceParams.d.ts +0 -5
  146. package/dist/model/consequenceParams.d.ts.map +0 -1
  147. package/dist/model/consequenceQuery.d.ts +0 -6
  148. package/dist/model/consequenceQuery.d.ts.map +0 -1
  149. package/dist/model/consequenceQueryObject.d.ts +0 -12
  150. package/dist/model/consequenceQueryObject.d.ts.map +0 -1
  151. package/dist/model/edit.d.ts +0 -13
  152. package/dist/model/edit.d.ts.map +0 -1
  153. package/dist/model/editType.d.ts +0 -5
  154. package/dist/model/editType.d.ts.map +0 -1
  155. package/dist/model/params.d.ts +0 -13
  156. package/dist/model/params.d.ts.map +0 -1
  157. package/dist/model/promote.d.ts +0 -4
  158. package/dist/model/promote.d.ts.map +0 -1
  159. package/dist/model/promoteObjectID.d.ts +0 -14
  160. package/dist/model/promoteObjectID.d.ts.map +0 -1
  161. package/dist/model/promoteObjectIDs.d.ts +0 -14
  162. package/dist/model/promoteObjectIDs.d.ts.map +0 -1
  163. package/dist/model/recommendationModels.d.ts +0 -5
  164. package/dist/model/recommendationModels.d.ts.map +0 -1
  165. package/dist/model/recommendationsQuery.d.ts +0 -4
  166. package/dist/model/recommendationsQuery.d.ts.map +0 -1
  167. package/dist/model/recommendedForYouQueryParameters.d.ts +0 -4
  168. package/dist/model/recommendedForYouQueryParameters.d.ts.map +0 -1
  169. package/dist/model/ruleResponse.d.ts +0 -27
  170. package/dist/model/ruleResponse.d.ts.map +0 -1
  171. package/dist/model/ruleResponseMetadata.d.ts +0 -7
  172. package/dist/model/ruleResponseMetadata.d.ts.map +0 -1
  173. package/model/anchoring.ts +0 -6
  174. package/model/automaticFacetFilter.ts +0 -21
  175. package/model/automaticFacetFilters.ts +0 -8
  176. package/model/baseRecommendationsQuery.ts +0 -17
  177. package/model/baseRecommendedForYouQueryParameters.ts +0 -8
  178. package/model/baseTrendingItemsQuery.ts +0 -22
  179. package/model/consequenceParams.ts +0 -9
  180. package/model/consequenceQuery.ts +0 -8
  181. package/model/consequenceQueryObject.ts +0 -15
  182. package/model/edit.ts +0 -17
  183. package/model/params.ts +0 -18
  184. package/model/promote.ts +0 -6
  185. package/model/promoteObjectIDs.ts +0 -16
  186. package/model/recommendedForYouQueryParameters.ts +0 -7
@@ -22,12 +22,12 @@ export type IndexSettingsAsSearchParams = {
22
22
  attributesToRetrieve?: string[];
23
23
 
24
24
  /**
25
- * Determines the order in which Algolia returns your results. By default, each entry corresponds to a [ranking criteria](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/). The tie-breaking algorithm sequentially applies each criterion in the order they\'re specified. If you configure a replica index for [sorting by an attribute](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/sort-by-attribute/), you put the sorting attribute at the top of the list. **Modifiers** <dl> <dt><code>asc(\"ATTRIBUTE\")</code></dt> <dd>Sort the index by the values of an attribute, in ascending order.</dd> <dt><code>desc(\"ATTRIBUTE\")</code></dt> <dd>Sort the index by the values of an attribute, in descending order.</dd> </dl> Before you modify the default setting, you should test your changes in the dashboard, and by [A/B testing](https://www.algolia.com/doc/guides/ab-testing/what-is-ab-testing/).
25
+ * Determines the order in which Algolia returns your results. By default, each entry corresponds to a [ranking criteria](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/). The tie-breaking algorithm sequentially applies each criterion in the order they\'re specified. If you configure a replica index for [sorting by an attribute](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/sort-by-attribute/), you put the sorting attribute at the top of the list. **Modifiers** - `asc(\"ATTRIBUTE\")`. Sort the index by the values of an attribute, in ascending order. - `desc(\"ATTRIBUTE\")`. Sort the index by the values of an attribute, in descending order. Before you modify the default setting, you should test your changes in the dashboard, and by [A/B testing](https://www.algolia.com/doc/guides/ab-testing/what-is-ab-testing/).
26
26
  */
27
27
  ranking?: string[];
28
28
 
29
29
  /**
30
- * Attributes to use as [custom ranking](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/). The custom ranking attributes decide which items are shown first if the other ranking criteria are equal. Records with missing values for your selected custom ranking attributes are always sorted last. Boolean attributes are sorted based on their alphabetical order. **Modifiers** <dl> <dt><code>asc(\"ATTRIBUTE\")</code></dt> <dd>Sort the index by the values of an attribute, in ascending order.</dd> <dt><code>desc(\"ATTRIBUTE\")</code></dt> <dd>Sort the index by the values of an attribute, in descending order.</dd> </dl> If you use two or more custom ranking attributes, [reduce the precision](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/how-to/controlling-custom-ranking-metrics-precision/) of your first attributes, or the other attributes will never be applied.
30
+ * Attributes to use as [custom ranking](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/). The custom ranking attributes decide which items are shown first if the other ranking criteria are equal. Records with missing values for your selected custom ranking attributes are always sorted last. Boolean attributes are sorted based on their alphabetical order. **Modifiers** - `asc(\"ATTRIBUTE\")`. Sort the index by the values of an attribute, in ascending order. - `desc(\"ATTRIBUTE\")`. Sort the index by the values of an attribute, in descending order. If you use two or more custom ranking attributes, [reduce the precision](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/how-to/controlling-custom-ranking-metrics-precision/) of your first attributes, or the other attributes will never be applied.
31
31
  */
32
32
  customRanking?: string[];
33
33
 
@@ -148,12 +148,12 @@ export type IndexSettingsAsSearchParams = {
148
148
  exactOnSingleWordQuery?: ExactOnSingleWordQuery;
149
149
 
150
150
  /**
151
- * Alternatives of query words that should be considered as exact matches by the Exact ranking criterion. <dl> <dt><code>ignorePlurals</code></dt> <dd> Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches. </dd> <dt><code>singleWordSynonym</code></dt> <dd> Single-word synonyms, such as \"NY/NYC\" are considered exact matches. </dd> <dt><code>multiWordsSynonym</code></dt> <dd> Multi-word synonyms, such as \"NY/New York\" are considered exact matches. </dd> </dl>.
151
+ * Alternatives of query words that should be considered as exact matches by the Exact ranking criterion. - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY/NYC\" are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as \"NY/New York\" are considered exact matches.
152
152
  */
153
153
  alternativesAsExact?: AlternativesAsExact[];
154
154
 
155
155
  /**
156
- * Advanced search syntax features you want to support. <dl> <dt><code>exactPhrase</code></dt> <dd> Phrases in quotes must match exactly. For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\". </dd> <dt><code>excludeWords</code></dt> <dd> Query words prefixed with a `-` must not occur in a record. For example, `search -engine` matches records that contain \"search\" but not \"engine\". </dd> </dl> This setting only has an effect if `advancedSyntax` is true.
156
+ * Advanced search syntax features you want to support. - `exactPhrase`. Phrases in quotes must match exactly. For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\". - `excludeWords`. Query words prefixed with a `-` must not occur in a record. For example, `search -engine` matches records that contain \"search\" but not \"engine\". This setting only has an effect if `advancedSyntax` is true.
157
157
  */
158
158
  advancedSyntaxFeatures?: AdvancedSyntaxFeatures[];
159
159
 
@@ -185,7 +185,7 @@ export type IndexSettingsAsSearchParams = {
185
185
  maxValuesPerFacet?: number;
186
186
 
187
187
  /**
188
- * Order in which to retrieve facet values. <dl> <dt><code>count</code></dt> <dd> Facet values are retrieved by decreasing count. The count is the number of matching records containing this facet value. </dd> <dt><code>alpha</code></dt> <dd>Retrieve facet values alphabetically.</dd> </dl> This setting doesn\'t influence how facet values are displayed in your UI (see `renderingContent`). For more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js/).
188
+ * Order in which to retrieve facet values. - `count`. Facet values are retrieved by decreasing count. The count is the number of matching records containing this facet value. - `alpha`. Retrieve facet values alphabetically. This setting doesn\'t influence how facet values are displayed in your UI (see `renderingContent`). For more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js/).
189
189
  */
190
190
  sortFacetValuesBy?: string;
191
191
 
@@ -0,0 +1,15 @@
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 { FallbackParams } from './fallbackParams';
4
+ import type { LookingSimilarModel } from './lookingSimilarModel';
5
+
6
+ export type LookingSimilar = {
7
+ model: LookingSimilarModel;
8
+
9
+ /**
10
+ * Unique record identifier.
11
+ */
12
+ objectID: string;
13
+
14
+ fallbackParameters?: FallbackParams;
15
+ };
@@ -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
+ * Looking similar model. This model recommends items that look similar to the item with the ID `objectID` based on image attributes in your index.
5
+ */
6
+ export type LookingSimilarModel = 'looking-similar';
@@ -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 { LookingSimilar } from './lookingSimilar';
5
+
6
+ export type LookingSimilarQuery = BaseRecommendRequest & LookingSimilar;
@@ -0,0 +1,23 @@
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 { AutoFacetFilter } from './autoFacetFilter';
4
+
5
+ /**
6
+ * Filter or boost recommendations matching a facet filter.
7
+ */
8
+ export type ParamsConsequence = {
9
+ /**
10
+ * Filter recommendations that match or don\'t match the same `facet:facet_value` combination as the viewed item.
11
+ */
12
+ automaticFacetFilters?: AutoFacetFilter[];
13
+
14
+ /**
15
+ * 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/).
16
+ */
17
+ filters?: string;
18
+
19
+ /**
20
+ * Filters to promote or demote records in the search results. Optional filters work like facet filters, but they don\'t exclude records from the search results. Records that match the optional filter rank before records that don\'t match. Matches with higher weights (`<score=N>`) rank before matches with lower weights. If you\'re using a negative filter `facet:-value`, matching records rank after records that don\'t match.
21
+ */
22
+ optionalFilters?: string[];
23
+ };
@@ -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
+ * Object ID and position of the recommendation you want to pin.
5
+ */
6
+ export type PromoteConsequenceObject = {
7
+ /**
8
+ * Unique record identifier.
9
+ */
10
+ objectID?: string;
11
+
12
+ /**
13
+ * Index in the list of recommendations where to place this item.
14
+ */
15
+ position?: number;
16
+ };
@@ -2,23 +2,20 @@
2
2
 
3
3
  import type { Condition } from './condition';
4
4
  import type { Consequence } from './consequence';
5
- import type { RuleResponseMetadata } from './ruleResponseMetadata';
5
+ import type { RecommendRuleMetadata } from './recommendRuleMetadata';
6
6
 
7
7
  /**
8
- * Rule object.
8
+ * Recommend rule.
9
9
  */
10
- export type RuleResponse = {
11
- _metadata?: RuleResponseMetadata;
10
+ export type RecommendRule = {
11
+ _metadata?: RecommendRuleMetadata;
12
12
 
13
13
  /**
14
- * Unique identifier for a rule object.
14
+ * Unique identifier of a rule object.
15
15
  */
16
- objectID: string;
16
+ objectID?: string;
17
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[];
18
+ condition?: Condition;
22
19
 
23
20
  consequence?: Consequence;
24
21
 
@@ -1,8 +1,11 @@
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
- export type RuleResponseMetadata = {
3
+ /**
4
+ * Rule metadata.
5
+ */
6
+ export type RecommendRuleMetadata = {
4
7
  /**
5
- * Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
8
+ * Date and time when the object was updated, in RFC 3339 format.
6
9
  */
7
10
  lastUpdate?: string;
8
11
  };
@@ -4,14 +4,4 @@ import type { RecommendationsHit } from './recommendationsHit';
4
4
 
5
5
  export type RecommendationsHits = {
6
6
  hits: RecommendationsHit[];
7
-
8
- /**
9
- * Search query.
10
- */
11
- query?: string;
12
-
13
- /**
14
- * URL-encoded string of all search parameters.
15
- */
16
- params?: string;
17
7
  };
@@ -1,12 +1,16 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
- import type { RecommendationsQuery } from './recommendationsQuery';
3
+ import type { BoughtTogetherQuery } from './boughtTogetherQuery';
4
+ import type { LookingSimilarQuery } from './lookingSimilarQuery';
4
5
  import type { RecommendedForYouQuery } from './recommendedForYouQuery';
6
+ import type { RelatedQuery } from './relatedQuery';
5
7
  import type { TrendingFacetsQuery } from './trendingFacetsQuery';
6
8
  import type { TrendingItemsQuery } from './trendingItemsQuery';
7
9
 
8
10
  export type RecommendationsRequest =
9
- | RecommendationsQuery
11
+ | BoughtTogetherQuery
12
+ | LookingSimilarQuery
10
13
  | RecommendedForYouQuery
14
+ | RelatedQuery
11
15
  | TrendingFacetsQuery
12
16
  | TrendingItemsQuery;
@@ -1,12 +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 { FallbackParams } from './fallbackParams';
3
4
  import type { RecommendedForYouModel } from './recommendedForYouModel';
4
- import type { RecommendedForYouQueryParameters } from './recommendedForYouQueryParameters';
5
5
 
6
- export type BaseRecommendedForYouQuery = {
6
+ export type RecommendedForYou = {
7
7
  model: RecommendedForYouModel;
8
8
 
9
- queryParameters?: RecommendedForYouQueryParameters;
10
-
11
- fallbackParameters?: RecommendedForYouQueryParameters;
9
+ fallbackParameters?: FallbackParams;
12
10
  };
@@ -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
- * Recommended for you model.
4
+ * \"Recommened for you\" model.
5
5
  */
6
6
  export type RecommendedForYouModel = 'recommended-for-you';
@@ -1,7 +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
  import type { BaseRecommendRequest } from './baseRecommendRequest';
4
- import type { BaseRecommendedForYouQuery } from './baseRecommendedForYouQuery';
4
+ import type { RecommendedForYou } from './recommendedForYou';
5
5
 
6
- export type RecommendedForYouQuery = BaseRecommendedForYouQuery &
7
- BaseRecommendRequest;
6
+ export type RecommendedForYouQuery = BaseRecommendRequest & RecommendedForYou;
@@ -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
+ * Related products or similar content model. This model recommends items that are similar to the item with the ID `objectID`. Similarity is determined from the user interactions and attributes.
5
+ */
6
+ export type RelatedModel = 'related-products';
@@ -0,0 +1,15 @@
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 { FallbackParams } from './fallbackParams';
4
+ import type { RelatedModel } from './relatedModel';
5
+
6
+ export type RelatedProducts = {
7
+ model: RelatedModel;
8
+
9
+ /**
10
+ * Unique record identifier.
11
+ */
12
+ objectID: string;
13
+
14
+ fallbackParameters?: FallbackParams;
15
+ };
@@ -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 { RelatedProducts } from './relatedProducts';
5
+
6
+ export type RelatedQuery = BaseRecommendRequest & RelatedProducts;
@@ -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
- * Strategy for removing words from the query when it doesn\'t return any results. This helps to avoid returning empty search results. <dl> <dt><code>none</code></dt> <dd>No words are removed when a query doesn\'t return results.</dd> <dt><code>lastWords</code></dt> <dd>Treat the last (then second to last, then third to last) word as optional, until there are results or at most 5 words have been removed.</dd> <dt><code>firstWords</code></dt> <dd>Treat the first (then second, then third) word as optional, until there are results or at most 5 words have been removed.</dd> <dt><code>allOptional</code></dt> <dd>Treat all words as optional.</dd> </dl> For more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results/).
4
+ * Strategy for removing words from the query when it doesn\'t return any results. This helps to avoid returning empty search results. - `none`. No words are removed when a query doesn\'t return results. - `lastWords`. Treat the last (then second to last, then third to last) word as optional, until there are results or at most 5 words have been removed. - `firstWords`. Treat the first (then second, then third) word as optional, until there are results or at most 5 words have been removed. - `allOptional`. Treat all words as optional. For more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results/).
5
5
  */
6
6
  export type RemoveWordsIfNoResults =
7
7
  | 'allOptional'
@@ -1,6 +1,5 @@
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
- /**
4
- * Recommendation model.
5
- */
6
- export type RecommendationModels = 'bought-together' | 'related-products';
3
+ import type { SearchParamsObject } from './searchParamsObject';
4
+
5
+ export type SearchParams = Record<string, any> & SearchParamsObject;
@@ -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
- * Recommend rules search parameters.
4
+ * Recommend rules parameters.
5
5
  */
6
6
  export type SearchRecommendRulesParams = {
7
7
  /**
@@ -10,7 +10,7 @@ export type SearchRecommendRulesParams = {
10
10
  query?: string;
11
11
 
12
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).
13
+ * Only search for rules with matching context.
14
14
  */
15
15
  context?: string;
16
16
 
@@ -25,7 +25,22 @@ export type SearchRecommendRulesParams = {
25
25
  hitsPerPage?: number;
26
26
 
27
27
  /**
28
- * Restricts responses to enabled rules. When absent (default), _all_ rules are retrieved.
28
+ * Whether to only show rules where the value of their `enabled` property matches this parameter. If absent, show all rules, regardless of their `enabled` property.
29
29
  */
30
- enabled?: boolean | null;
30
+ enabled?: boolean;
31
+
32
+ /**
33
+ * Filter expression. This only searches for rules matching the filter expression.
34
+ */
35
+ filters?: string;
36
+
37
+ /**
38
+ * Include facets and facet values in the response. Use `[\'*\']` to include all facets.
39
+ */
40
+ facets?: string[];
41
+
42
+ /**
43
+ * Maximum number of values to return for each facet.
44
+ */
45
+ maxValuesPerFacet?: number;
31
46
  };
@@ -1,12 +1,12 @@
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 { RuleResponse } from './ruleResponse';
3
+ import type { RecommendRule } from './recommendRule';
4
4
 
5
5
  export type SearchRecommendRulesResponse = {
6
6
  /**
7
- * Fetched rules.
7
+ * Recommend rules that match the search criteria.
8
8
  */
9
- hits: RuleResponse[];
9
+ hits: RecommendRule[];
10
10
 
11
11
  /**
12
12
  * Number of results (hits).
@@ -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
- * Order of facet values that aren\'t explicitly positioned with the `order` setting. <dl> <dt><code>count</code></dt> <dd> Order remaining facet values by decreasing count. The count is the number of matching records containing this facet value. </dd> <dt><code>alpha</code></dt> <dd>Sort facet values alphabetically.</dd> <dt><code>hidden</code></dt> <dd>Don\'t show facet values that aren\'t explicitly positioned.</dd> </dl>.
4
+ * Order of facet values that aren\'t explicitly positioned with the `order` setting. - `count`. Order remaining facet values by decreasing count. The count is the number of matching records containing this facet value. - `alpha`. Sort facet values alphabetically. - `hidden`. Don\'t show facet values that aren\'t explicitly positioned.
5
5
  */
6
6
  export type SortRemainingBy = 'alpha' | 'count' | 'hidden';
@@ -10,12 +10,12 @@ export type TrendingFacetHit = {
10
10
  _score: number;
11
11
 
12
12
  /**
13
- * Facet name for trending models.
13
+ * Facet attribute. To be used in combination with `facetValue`. If specified, only recommendations matching the facet filter will be returned.
14
14
  */
15
15
  facetName: string;
16
16
 
17
17
  /**
18
- * Facet value for trending models.
18
+ * Facet value. To be used in combination with `facetName`. If specified, only recommendations matching the facet filter will be returned.
19
19
  */
20
20
  facetValue: string;
21
21
  };
@@ -1,12 +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
+ import type { FallbackParams } from './fallbackParams';
3
4
  import type { TrendingFacetsModel } from './trendingFacetsModel';
4
5
 
5
- export type BaseTrendingFacetsQuery = {
6
+ export type TrendingFacets = {
6
7
  /**
7
- * Facet name for trending models.
8
+ * Facet attribute for which to retrieve trending facet values.
8
9
  */
9
- facetName: string;
10
+ facetName: any | null;
10
11
 
11
- model?: TrendingFacetsModel;
12
+ model: TrendingFacetsModel;
13
+
14
+ fallbackParameters?: FallbackParams;
12
15
  };
@@ -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
- * Trending facets model.
4
+ * Trending facet values model. This model recommends trending facet values for the specified facet attribute.
5
5
  */
6
6
  export type TrendingFacetsModel = 'trending-facets';
@@ -1,7 +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
  import type { BaseRecommendRequest } from './baseRecommendRequest';
4
- import type { BaseTrendingFacetsQuery } from './baseTrendingFacetsQuery';
4
+ import type { TrendingFacets } from './trendingFacets';
5
5
 
6
- export type TrendingFacetsQuery = BaseRecommendRequest &
7
- BaseTrendingFacetsQuery;
6
+ export type TrendingFacetsQuery = BaseRecommendRequest & TrendingFacets;
@@ -0,0 +1,20 @@
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 TrendingItems = {
7
+ /**
8
+ * Facet attribute. To be used in combination with `facetValue`. If specified, only recommendations matching the facet filter will be returned.
9
+ */
10
+ facetName: string;
11
+
12
+ /**
13
+ * Facet value. To be used in combination with `facetName`. If specified, only recommendations matching the facet filter will be returned.
14
+ */
15
+ facetValue: string;
16
+
17
+ model: TrendingItemsModel;
18
+
19
+ fallbackParameters?: SearchParamsObject;
20
+ };
@@ -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
- * Trending items model.
4
+ * Trending items model. Trending items are determined from the number of conversion events collected on them.
5
5
  */
6
6
  export type TrendingItemsModel = '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
  import type { BaseRecommendRequest } from './baseRecommendRequest';
4
- import type { BaseTrendingItemsQuery } from './baseTrendingItemsQuery';
4
+ import type { TrendingItems } from './trendingItems';
5
5
 
6
- export type TrendingItemsQuery = BaseRecommendRequest & BaseTrendingItemsQuery;
6
+ export type TrendingItemsQuery = BaseRecommendRequest & TrendingItems;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/recommend",
3
- "version": "5.0.0-alpha.110",
3
+ "version": "5.0.0-alpha.111",
4
4
  "description": "JavaScript client for recommend",
5
5
  "repository": "algolia/algoliasearch-client-javascript",
6
6
  "license": "MIT",
@@ -39,14 +39,14 @@
39
39
  "clean": "rm -rf ./dist || true"
40
40
  },
41
41
  "dependencies": {
42
- "@algolia/client-common": "5.0.0-alpha.111",
43
- "@algolia/requester-browser-xhr": "5.0.0-alpha.111",
44
- "@algolia/requester-node-http": "5.0.0-alpha.111"
42
+ "@algolia/client-common": "5.0.0-alpha.112",
43
+ "@algolia/requester-browser-xhr": "5.0.0-alpha.112",
44
+ "@algolia/requester-node-http": "5.0.0-alpha.112"
45
45
  },
46
46
  "devDependencies": {
47
- "@types/node": "20.11.30",
48
- "rollup": "4.13.2",
49
- "typescript": "5.4.3"
47
+ "@types/node": "20.12.5",
48
+ "rollup": "4.14.0",
49
+ "typescript": "5.4.4"
50
50
  },
51
51
  "engines": {
52
52
  "node": ">= 14.0.0"
@@ -1,5 +0,0 @@
1
- /**
2
- * 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`.
3
- */
4
- export type Anchoring = 'contains' | 'endsWith' | 'is' | 'startsWith';
5
- //# sourceMappingURL=anchoring.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"anchoring.d.ts","sourceRoot":"","sources":["../../model/anchoring.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,IAAI,GAAG,YAAY,CAAC"}
@@ -1,18 +0,0 @@
1
- /**
2
- * Filter or optional filter to be applied to the search.
3
- */
4
- export type AutomaticFacetFilter = {
5
- /**
6
- * 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`.
7
- */
8
- facet: string;
9
- /**
10
- * Filter scores to give different weights to individual filters.
11
- */
12
- score?: number;
13
- /**
14
- * 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.
15
- */
16
- disjunctive?: boolean;
17
- };
18
- //# sourceMappingURL=automaticFacetFilter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"automaticFacetFilter.d.ts","sourceRoot":"","sources":["../../model/automaticFacetFilter.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC"}
@@ -1,6 +0,0 @@
1
- import type { AutomaticFacetFilter } from './automaticFacetFilter';
2
- /**
3
- * 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.
4
- */
5
- export type AutomaticFacetFilters = AutomaticFacetFilter[] | string[];
6
- //# sourceMappingURL=automaticFacetFilters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"automaticFacetFilters.d.ts","sourceRoot":"","sources":["../../model/automaticFacetFilters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,oBAAoB,EAAE,GAAG,MAAM,EAAE,CAAC"}
@@ -1,12 +0,0 @@
1
- import type { RecommendationModels } from './recommendationModels';
2
- import type { SearchParamsObject } from './searchParamsObject';
3
- export type BaseRecommendationsQuery = {
4
- model: RecommendationModels;
5
- /**
6
- * Unique record identifier.
7
- */
8
- objectID: string;
9
- queryParameters?: SearchParamsObject;
10
- fallbackParameters?: SearchParamsObject;
11
- };
12
- //# sourceMappingURL=baseRecommendationsQuery.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"baseRecommendationsQuery.d.ts","sourceRoot":"","sources":["../../model/baseRecommendationsQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,oBAAoB,CAAC;IAE5B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,eAAe,CAAC,EAAE,kBAAkB,CAAC;IAErC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { RecommendedForYouModel } from './recommendedForYouModel';
2
- import type { RecommendedForYouQueryParameters } from './recommendedForYouQueryParameters';
3
- export type BaseRecommendedForYouQuery = {
4
- model: RecommendedForYouModel;
5
- queryParameters?: RecommendedForYouQueryParameters;
6
- fallbackParameters?: RecommendedForYouQueryParameters;
7
- };
8
- //# sourceMappingURL=baseRecommendedForYouQuery.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"baseRecommendedForYouQuery.d.ts","sourceRoot":"","sources":["../../model/baseRecommendedForYouQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAE3F,MAAM,MAAM,0BAA0B,GAAG;IACvC,KAAK,EAAE,sBAAsB,CAAC;IAE9B,eAAe,CAAC,EAAE,gCAAgC,CAAC;IAEnD,kBAAkB,CAAC,EAAE,gCAAgC,CAAC;CACvD,CAAC"}
@@ -1,7 +0,0 @@
1
- export type BaseRecommendedForYouQueryParameters = {
2
- /**
3
- * 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/).
4
- */
5
- userToken: string;
6
- };
7
- //# sourceMappingURL=baseRecommendedForYouQueryParameters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"baseRecommendedForYouQueryParameters.d.ts","sourceRoot":"","sources":["../../model/baseRecommendedForYouQueryParameters.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oCAAoC,GAAG;IACjD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { TrendingFacetsModel } from './trendingFacetsModel';
2
- export type BaseTrendingFacetsQuery = {
3
- /**
4
- * Facet name for trending models.
5
- */
6
- facetName: string;
7
- model?: TrendingFacetsModel;
8
- };
9
- //# sourceMappingURL=baseTrendingFacetsQuery.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"baseTrendingFacetsQuery.d.ts","sourceRoot":"","sources":["../../model/baseTrendingFacetsQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC"}