@algolia/recommend 5.0.0-alpha.8 → 5.0.0-alpha.80

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