@algolia/recommend 5.0.0-alpha.11 → 5.0.0-alpha.110

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 (322) hide show
  1. package/dist/builds/browser.d.ts +23 -5
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +23 -5
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/model/advancedSyntaxFeatures.d.ts +1 -1
  6. package/dist/model/advancedSyntaxFeatures.d.ts.map +1 -1
  7. package/dist/model/alternativesAsExact.d.ts +1 -1
  8. package/dist/model/alternativesAsExact.d.ts.map +1 -1
  9. package/dist/model/anchoring.d.ts +5 -0
  10. package/dist/model/anchoring.d.ts.map +1 -0
  11. package/dist/model/aroundPrecision.d.ts +6 -0
  12. package/dist/model/aroundPrecision.d.ts.map +1 -0
  13. package/dist/model/aroundPrecisionFromValueInner.d.ts +14 -0
  14. package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -0
  15. package/dist/model/aroundRadius.d.ts +5 -5
  16. package/dist/model/aroundRadius.d.ts.map +1 -1
  17. package/dist/model/aroundRadiusAll.d.ts +4 -1
  18. package/dist/model/aroundRadiusAll.d.ts.map +1 -1
  19. package/dist/model/automaticFacetFilter.d.ts +18 -0
  20. package/dist/model/automaticFacetFilter.d.ts.map +1 -0
  21. package/dist/model/automaticFacetFilters.d.ts +6 -0
  22. package/dist/model/automaticFacetFilters.d.ts.map +1 -0
  23. package/dist/model/baseRecommendRequest.d.ts +14 -17
  24. package/dist/model/baseRecommendRequest.d.ts.map +1 -1
  25. package/dist/model/baseRecommendationsQuery.d.ts +12 -0
  26. package/dist/model/baseRecommendationsQuery.d.ts.map +1 -0
  27. package/dist/model/baseRecommendedForYouQuery.d.ts +8 -0
  28. package/dist/model/baseRecommendedForYouQuery.d.ts.map +1 -0
  29. package/dist/model/baseRecommendedForYouQueryParameters.d.ts +7 -0
  30. package/dist/model/baseRecommendedForYouQueryParameters.d.ts.map +1 -0
  31. package/dist/model/baseSearchParams.d.ts +3 -3
  32. package/dist/model/baseSearchParams.d.ts.map +1 -1
  33. package/dist/model/baseSearchParamsWithoutQuery.d.ts +114 -122
  34. package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  35. package/dist/model/baseSearchResponse.d.ts +109 -101
  36. package/dist/model/baseSearchResponse.d.ts.map +1 -1
  37. package/dist/model/baseTrendingFacetsQuery.d.ts +9 -0
  38. package/dist/model/baseTrendingFacetsQuery.d.ts.map +1 -0
  39. package/dist/model/baseTrendingItemsQuery.d.ts +16 -0
  40. package/dist/model/baseTrendingItemsQuery.d.ts.map +1 -0
  41. package/dist/model/clientMethodProps.d.ts +127 -60
  42. package/dist/model/clientMethodProps.d.ts.map +1 -1
  43. package/dist/model/condition.d.ts +21 -0
  44. package/dist/model/condition.d.ts.map +1 -0
  45. package/dist/model/consequence.d.ts +26 -0
  46. package/dist/model/consequence.d.ts.map +1 -0
  47. package/dist/model/consequenceHide.d.ts +10 -0
  48. package/dist/model/consequenceHide.d.ts.map +1 -0
  49. package/dist/model/consequenceParams.d.ts +5 -0
  50. package/dist/model/consequenceParams.d.ts.map +1 -0
  51. package/dist/model/consequenceQuery.d.ts +6 -0
  52. package/dist/model/consequenceQuery.d.ts.map +1 -0
  53. package/dist/model/consequenceQueryObject.d.ts +12 -0
  54. package/dist/model/consequenceQueryObject.d.ts.map +1 -0
  55. package/dist/model/deletedAtResponse.d.ts +14 -0
  56. package/dist/model/deletedAtResponse.d.ts.map +1 -0
  57. package/dist/model/distinct.d.ts +4 -4
  58. package/dist/model/distinct.d.ts.map +1 -1
  59. package/dist/model/edit.d.ts +13 -0
  60. package/dist/model/edit.d.ts.map +1 -0
  61. package/dist/model/editType.d.ts +5 -0
  62. package/dist/model/editType.d.ts.map +1 -0
  63. package/dist/model/errorBase.d.ts +6 -6
  64. package/dist/model/errorBase.d.ts.map +1 -1
  65. package/dist/model/exactOnSingleWordQuery.d.ts +4 -4
  66. package/dist/model/exactOnSingleWordQuery.d.ts.map +1 -1
  67. package/dist/model/exhaustive.d.ts +26 -0
  68. package/dist/model/exhaustive.d.ts.map +1 -0
  69. package/dist/model/facetFilters.d.ts +5 -5
  70. package/dist/model/facetFilters.d.ts.map +1 -1
  71. package/dist/model/facetOrdering.d.ts +12 -12
  72. package/dist/model/facetOrdering.d.ts.map +1 -1
  73. package/dist/model/facets.d.ts +9 -9
  74. package/dist/model/facets.d.ts.map +1 -1
  75. package/dist/model/facetsStats.d.ts +18 -18
  76. package/dist/model/facetsStats.d.ts.map +1 -1
  77. package/dist/model/getRecommendTaskResponse.d.ts +5 -0
  78. package/dist/model/getRecommendTaskResponse.d.ts.map +1 -0
  79. package/dist/model/getRecommendationsParams.d.ts +10 -10
  80. package/dist/model/getRecommendationsParams.d.ts.map +1 -1
  81. package/dist/model/getRecommendationsResponse.d.ts +4 -4
  82. package/dist/model/getRecommendationsResponse.d.ts.map +1 -1
  83. package/dist/model/highlightResult.d.ts +2 -2
  84. package/dist/model/highlightResult.d.ts.map +1 -1
  85. package/dist/model/highlightResultOption.d.ts +19 -19
  86. package/dist/model/highlightResultOption.d.ts.map +1 -1
  87. package/dist/model/ignorePlurals.d.ts +5 -4
  88. package/dist/model/ignorePlurals.d.ts.map +1 -1
  89. package/dist/model/index.d.ts +95 -53
  90. package/dist/model/index.d.ts.map +1 -1
  91. package/dist/model/indexSettingsAsSearchParams.d.ts +159 -160
  92. package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  93. package/dist/model/matchLevel.d.ts +4 -4
  94. package/dist/model/matchLevel.d.ts.map +1 -1
  95. package/dist/model/matchedGeoLocation.d.ts +14 -14
  96. package/dist/model/matchedGeoLocation.d.ts.map +1 -1
  97. package/dist/model/mixedSearchFilters.d.ts +1 -1
  98. package/dist/model/mixedSearchFilters.d.ts.map +1 -1
  99. package/dist/model/mode.d.ts +5 -0
  100. package/dist/model/mode.d.ts.map +1 -0
  101. package/dist/model/numericFilters.d.ts +5 -5
  102. package/dist/model/numericFilters.d.ts.map +1 -1
  103. package/dist/model/optionalFilters.d.ts +5 -5
  104. package/dist/model/optionalFilters.d.ts.map +1 -1
  105. package/dist/model/params.d.ts +13 -0
  106. package/dist/model/params.d.ts.map +1 -0
  107. package/dist/model/personalization.d.ts +14 -14
  108. package/dist/model/personalization.d.ts.map +1 -1
  109. package/dist/model/promote.d.ts +4 -0
  110. package/dist/model/promote.d.ts.map +1 -0
  111. package/dist/model/promoteObjectID.d.ts +14 -0
  112. package/dist/model/promoteObjectID.d.ts.map +1 -0
  113. package/dist/model/promoteObjectIDs.d.ts +14 -0
  114. package/dist/model/promoteObjectIDs.d.ts.map +1 -0
  115. package/dist/model/queryType.d.ts +4 -4
  116. package/dist/model/queryType.d.ts.map +1 -1
  117. package/dist/model/rankingInfo.d.ts +53 -50
  118. package/dist/model/rankingInfo.d.ts.map +1 -1
  119. package/dist/model/reRankingApplyFilter.d.ts +5 -5
  120. package/dist/model/reRankingApplyFilter.d.ts.map +1 -1
  121. package/dist/model/recommendHit.d.ts +26 -26
  122. package/dist/model/recommendHit.d.ts.map +1 -1
  123. package/dist/model/recommendModels.d.ts +2 -0
  124. package/dist/model/recommendModels.d.ts.map +1 -0
  125. package/dist/model/recommendationModels.d.ts +4 -4
  126. package/dist/model/recommendationModels.d.ts.map +1 -1
  127. package/dist/model/recommendationsHit.d.ts +4 -0
  128. package/dist/model/recommendationsHit.d.ts.map +1 -0
  129. package/dist/model/recommendationsHits.d.ts +13 -0
  130. package/dist/model/recommendationsHits.d.ts.map +1 -0
  131. package/dist/model/recommendationsQuery.d.ts +4 -0
  132. package/dist/model/recommendationsQuery.d.ts.map +1 -0
  133. package/dist/model/recommendationsRequest.d.ts +5 -3
  134. package/dist/model/recommendationsRequest.d.ts.map +1 -1
  135. package/dist/model/recommendationsResults.d.ts +4 -0
  136. package/dist/model/recommendationsResults.d.ts.map +1 -0
  137. package/dist/model/recommendedForYouModel.d.ts +5 -0
  138. package/dist/model/recommendedForYouModel.d.ts.map +1 -0
  139. package/dist/model/recommendedForYouQuery.d.ts +4 -0
  140. package/dist/model/recommendedForYouQuery.d.ts.map +1 -0
  141. package/dist/model/recommendedForYouQueryParameters.d.ts +4 -0
  142. package/dist/model/recommendedForYouQueryParameters.d.ts.map +1 -0
  143. package/dist/model/redirect.d.ts +8 -0
  144. package/dist/model/redirect.d.ts.map +1 -0
  145. package/dist/model/redirectRuleIndexMetadata.d.ts +21 -0
  146. package/dist/model/redirectRuleIndexMetadata.d.ts.map +1 -0
  147. package/dist/model/redirectRuleIndexMetadataData.d.ts +7 -0
  148. package/dist/model/redirectRuleIndexMetadataData.d.ts.map +1 -0
  149. package/dist/model/removeStopWords.d.ts +5 -4
  150. package/dist/model/removeStopWords.d.ts.map +1 -1
  151. package/dist/model/removeWordsIfNoResults.d.ts +4 -4
  152. package/dist/model/removeWordsIfNoResults.d.ts.map +1 -1
  153. package/dist/model/renderingContent.d.ts +7 -7
  154. package/dist/model/renderingContent.d.ts.map +1 -1
  155. package/dist/model/ruleResponse.d.ts +27 -0
  156. package/dist/model/ruleResponse.d.ts.map +1 -0
  157. package/dist/model/ruleResponseMetadata.d.ts +7 -0
  158. package/dist/model/ruleResponseMetadata.d.ts.map +1 -0
  159. package/dist/model/searchParamsObject.d.ts +3 -3
  160. package/dist/model/searchParamsObject.d.ts.map +1 -1
  161. package/dist/model/searchParamsQuery.d.ts +6 -6
  162. package/dist/model/searchParamsQuery.d.ts.map +1 -1
  163. package/dist/model/searchRecommendRulesParams.d.ts +26 -0
  164. package/dist/model/searchRecommendRulesParams.d.ts.map +1 -0
  165. package/dist/model/searchRecommendRulesResponse.d.ts +20 -0
  166. package/dist/model/searchRecommendRulesResponse.d.ts.map +1 -0
  167. package/dist/model/semanticSearch.d.ts +10 -0
  168. package/dist/model/semanticSearch.d.ts.map +1 -0
  169. package/dist/model/snippetResult.d.ts +2 -2
  170. package/dist/model/snippetResult.d.ts.map +1 -1
  171. package/dist/model/snippetResultOption.d.ts +11 -11
  172. package/dist/model/snippetResultOption.d.ts.map +1 -1
  173. package/dist/model/sortRemainingBy.d.ts +4 -4
  174. package/dist/model/sortRemainingBy.d.ts.map +1 -1
  175. package/dist/model/supportedLanguage.d.ts +5 -0
  176. package/dist/model/supportedLanguage.d.ts.map +1 -0
  177. package/dist/model/tagFilters.d.ts +5 -5
  178. package/dist/model/tagFilters.d.ts.map +1 -1
  179. package/dist/model/taskStatus.d.ts +5 -0
  180. package/dist/model/taskStatus.d.ts.map +1 -0
  181. package/dist/model/trendingFacetHit.d.ts +18 -0
  182. package/dist/model/trendingFacetHit.d.ts.map +1 -0
  183. package/dist/model/trendingFacetsModel.d.ts +5 -0
  184. package/dist/model/trendingFacetsModel.d.ts.map +1 -0
  185. package/dist/model/trendingFacetsQuery.d.ts +4 -0
  186. package/dist/model/trendingFacetsQuery.d.ts.map +1 -0
  187. package/dist/model/trendingItemsModel.d.ts +5 -0
  188. package/dist/model/trendingItemsModel.d.ts.map +1 -0
  189. package/dist/model/trendingItemsQuery.d.ts +4 -0
  190. package/dist/model/trendingItemsQuery.d.ts.map +1 -0
  191. package/dist/model/typoTolerance.d.ts +5 -5
  192. package/dist/model/typoTolerance.d.ts.map +1 -1
  193. package/dist/model/typoToleranceEnum.d.ts +4 -1
  194. package/dist/model/typoToleranceEnum.d.ts.map +1 -1
  195. package/dist/model/value.d.ts +8 -8
  196. package/dist/model/value.d.ts.map +1 -1
  197. package/dist/recommend.cjs +390 -0
  198. package/dist/recommend.esm.browser.js +589 -475
  199. package/dist/recommend.esm.node.js +379 -235
  200. package/dist/recommend.umd.js +2 -2
  201. package/dist/src/recommendClient.d.ts +131 -81
  202. package/dist/src/recommendClient.d.ts.map +1 -1
  203. package/index.js +1 -1
  204. package/model/advancedSyntaxFeatures.ts +1 -1
  205. package/model/alternativesAsExact.ts +1 -1
  206. package/model/anchoring.ts +6 -0
  207. package/model/aroundPrecision.ts +8 -0
  208. package/model/aroundPrecisionFromValueInner.ts +16 -0
  209. package/model/aroundRadius.ts +2 -2
  210. package/model/aroundRadiusAll.ts +4 -1
  211. package/model/automaticFacetFilter.ts +21 -0
  212. package/model/automaticFacetFilters.ts +8 -0
  213. package/model/baseRecommendRequest.ts +5 -11
  214. package/model/baseRecommendationsQuery.ts +17 -0
  215. package/model/baseRecommendedForYouQuery.ts +12 -0
  216. package/model/baseRecommendedForYouQueryParameters.ts +8 -0
  217. package/model/baseSearchParams.ts +1 -1
  218. package/model/baseSearchParamsWithoutQuery.ts +36 -46
  219. package/model/baseSearchResponse.ts +42 -31
  220. package/model/baseTrendingFacetsQuery.ts +12 -0
  221. package/model/baseTrendingItemsQuery.ts +22 -0
  222. package/model/clientMethodProps.ts +91 -19
  223. package/model/condition.ts +27 -0
  224. package/model/consequence.ts +32 -0
  225. package/model/consequenceHide.ts +11 -0
  226. package/model/consequenceParams.ts +9 -0
  227. package/model/consequenceQuery.ts +8 -0
  228. package/model/consequenceQueryObject.ts +15 -0
  229. package/model/deletedAtResponse.ts +16 -0
  230. package/model/distinct.ts +2 -2
  231. package/model/edit.ts +17 -0
  232. package/model/editType.ts +6 -0
  233. package/model/errorBase.ts +1 -1
  234. package/model/exactOnSingleWordQuery.ts +2 -2
  235. package/model/exhaustive.ts +31 -0
  236. package/model/facetFilters.ts +2 -2
  237. package/model/facetOrdering.ts +3 -3
  238. package/model/facets.ts +3 -3
  239. package/model/facetsStats.ts +5 -5
  240. package/model/getRecommendTaskResponse.ts +7 -0
  241. package/model/getRecommendationsParams.ts +3 -3
  242. package/model/getRecommendationsResponse.ts +3 -3
  243. package/model/highlightResult.ts +5 -2
  244. package/model/highlightResultOption.ts +4 -4
  245. package/model/ignorePlurals.ts +5 -3
  246. package/model/index.ts +50 -8
  247. package/model/indexSettingsAsSearchParams.ts +54 -54
  248. package/model/matchLevel.ts +2 -2
  249. package/model/matchedGeoLocation.ts +1 -1
  250. package/model/mixedSearchFilters.ts +1 -1
  251. package/model/mode.ts +6 -0
  252. package/model/numericFilters.ts +2 -2
  253. package/model/optionalFilters.ts +2 -2
  254. package/model/params.ts +18 -0
  255. package/model/personalization.ts +1 -1
  256. package/model/promote.ts +6 -0
  257. package/model/promoteObjectID.ts +16 -0
  258. package/model/promoteObjectIDs.ts +16 -0
  259. package/model/queryType.ts +2 -2
  260. package/model/rankingInfo.ts +11 -8
  261. package/model/reRankingApplyFilter.ts +2 -2
  262. package/model/recommendHit.ts +6 -6
  263. package/model/recommendModels.ts +7 -0
  264. package/model/recommendationModels.ts +2 -2
  265. package/model/recommendationsHit.ts +6 -0
  266. package/model/recommendationsHits.ts +17 -0
  267. package/model/recommendationsQuery.ts +7 -0
  268. package/model/recommendationsRequest.ts +10 -4
  269. package/model/recommendationsResults.ts +6 -0
  270. package/model/recommendedForYouModel.ts +6 -0
  271. package/model/recommendedForYouQuery.ts +7 -0
  272. package/model/recommendedForYouQueryParameters.ts +7 -0
  273. package/model/redirect.ts +10 -0
  274. package/model/redirectRuleIndexMetadata.ts +27 -0
  275. package/model/redirectRuleIndexMetadataData.ts +8 -0
  276. package/model/removeStopWords.ts +5 -3
  277. package/model/removeWordsIfNoResults.ts +2 -2
  278. package/model/renderingContent.ts +2 -2
  279. package/model/ruleResponse.ts +34 -0
  280. package/model/ruleResponseMetadata.ts +8 -0
  281. package/model/searchParamsObject.ts +1 -1
  282. package/model/searchParamsQuery.ts +2 -2
  283. package/model/searchRecommendRulesParams.ts +31 -0
  284. package/model/searchRecommendRulesResponse.ts +25 -0
  285. package/model/semanticSearch.ts +11 -0
  286. package/model/snippetResult.ts +5 -2
  287. package/model/snippetResultOption.ts +3 -3
  288. package/model/sortRemainingBy.ts +2 -2
  289. package/model/supportedLanguage.ts +74 -0
  290. package/model/tagFilters.ts +2 -2
  291. package/model/taskStatus.ts +6 -0
  292. package/model/trendingFacetHit.ts +21 -0
  293. package/model/trendingFacetsModel.ts +6 -0
  294. package/model/trendingFacetsQuery.ts +7 -0
  295. package/model/trendingItemsModel.ts +6 -0
  296. package/model/trendingItemsQuery.ts +6 -0
  297. package/model/typoTolerance.ts +2 -2
  298. package/model/typoToleranceEnum.ts +4 -1
  299. package/model/value.ts +2 -2
  300. package/package.json +10 -9
  301. package/dist/model/baseRecommendationRequest.d.ts +0 -9
  302. package/dist/model/baseRecommendationRequest.d.ts.map +0 -1
  303. package/dist/model/baseTrendingRequest.d.ts +0 -13
  304. package/dist/model/baseTrendingRequest.d.ts.map +0 -1
  305. package/dist/model/recommendHits.d.ts +0 -5
  306. package/dist/model/recommendHits.d.ts.map +0 -1
  307. package/dist/model/recommendationRequest.d.ts +0 -4
  308. package/dist/model/recommendationRequest.d.ts.map +0 -1
  309. package/dist/model/recommendationsResponse.d.ts +0 -4
  310. package/dist/model/recommendationsResponse.d.ts.map +0 -1
  311. package/dist/model/trendingModels.d.ts +0 -5
  312. package/dist/model/trendingModels.d.ts.map +0 -1
  313. package/dist/model/trendingRequest.d.ts +0 -4
  314. package/dist/model/trendingRequest.d.ts.map +0 -1
  315. package/dist/recommend.cjs.js +0 -248
  316. package/model/baseRecommendationRequest.ts +0 -12
  317. package/model/baseTrendingRequest.ts +0 -17
  318. package/model/recommendHits.ts +0 -7
  319. package/model/recommendationRequest.ts +0 -7
  320. package/model/recommendationsResponse.ts +0 -6
  321. package/model/trendingModels.ts +0 -6
  322. package/model/trendingRequest.ts +0 -6
@@ -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 { BaseRecommendedForYouQueryParameters } from './baseRecommendedForYouQueryParameters';
4
+ import type { SearchParamsObject } from './searchParamsObject';
5
+
6
+ export type RecommendedForYouQueryParameters =
7
+ BaseRecommendedForYouQueryParameters & SearchParamsObject;
@@ -0,0 +1,10 @@
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 { RedirectRuleIndexMetadata } from './redirectRuleIndexMetadata';
4
+
5
+ /**
6
+ * [Redirect results to a URL](https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/redirects/).
7
+ */
8
+ export type Redirect = {
9
+ index?: RedirectRuleIndexMetadata[];
10
+ };
@@ -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
+ };
@@ -1,6 +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
+
3
+ import type { SupportedLanguage } from './supportedLanguage';
2
4
 
3
5
  /**
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 ignoring plurals should be enabled. This list will override any values that you may have set in queryLanguages. True: enables the stop word functionality, ensuring that stop words are removed from consideration in a search. The languages supported here are either every language, or those set by queryLanguages. False: disables stop word functionality, allowing stop words to be taken into account in a search.
6
+ * Removes stop words from the search query. Stop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own. In English, \"the\", \"a\", or \"and\" are stop words. You should only use this feature for the languages used in your index.
5
7
  */
6
- export type RemoveStopWords = string[] | boolean;
8
+ export type RemoveStopWords = SupportedLanguage[] | boolean;
@@ -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
- * Selects a strategy to remove words from the query when it doesn\'t match any hits.
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/).
5
5
  */
6
6
  export type RemoveWordsIfNoResults =
7
7
  | 'allOptional'
@@ -1,9 +1,9 @@
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 { FacetOrdering } from './facetOrdering';
4
4
 
5
5
  /**
6
- * Content defining how the search interface should be rendered. Can be set via the settings for a default value and can be overridden via rules.
6
+ * Extra data that can be used in the search UI. You can use this to control aspects of your search UI, such as, the order of facet names and values without changing your frontend code.
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
- // 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 { BaseSearchParams } from './baseSearchParams';
4
4
  import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
@@ -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
  export type SearchParamsQuery = {
4
4
  /**
5
- * The text to search in the index.
5
+ * Search query.
6
6
  */
7
7
  query?: string;
8
8
  };
@@ -0,0 +1,31 @@
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
+ * Search 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 of the API response.
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
+ };
@@ -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 results (hits).
13
+ */
14
+ nbHits: number;
15
+
16
+ /**
17
+ * Page of search results to retrieve.
18
+ */
19
+ page: number;
20
+
21
+ /**
22
+ * Number of pages of results.
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 all its replicas are used.
9
+ */
10
+ eventSources?: string[] | null;
11
+ };
@@ -1,5 +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 { SnippetResultOption } from './snippetResultOption';
4
4
 
5
- export type SnippetResult = SnippetResultOption | SnippetResultOption[];
5
+ export type SnippetResult =
6
+ | Record<string, SnippetResultOption>
7
+ | SnippetResultOption
8
+ | SnippetResultOption[];
@@ -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 { MatchLevel } from './matchLevel';
4
4
 
5
5
  /**
6
- * Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
6
+ * Snippets that show the context around a matching search query.
7
7
  */
8
8
  export type SnippetResultOption = {
9
9
  /**
10
- * Markup text with occurrences highlighted.
10
+ * Highlighted attribute value, including HTML tags.
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
- * How to display the remaining items. - `count`: facet count (descending). - `alpha`: alphabetical (ascending). - `hidden`: show only pinned values.
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>.
5
5
  */
6
6
  export type SortRemainingBy = 'alpha' | 'count' | 'hidden';
@@ -0,0 +1,74 @@
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
+ * ISO code for a supported language.
5
+ */
6
+ export type SupportedLanguage =
7
+ | 'af'
8
+ | 'ar'
9
+ | 'az'
10
+ | 'bg'
11
+ | 'bn'
12
+ | 'ca'
13
+ | 'cs'
14
+ | 'cy'
15
+ | 'da'
16
+ | 'de'
17
+ | 'el'
18
+ | 'en'
19
+ | 'eo'
20
+ | 'es'
21
+ | 'et'
22
+ | 'eu'
23
+ | 'fa'
24
+ | 'fi'
25
+ | 'fo'
26
+ | 'fr'
27
+ | 'ga'
28
+ | 'gl'
29
+ | 'he'
30
+ | 'hi'
31
+ | 'hu'
32
+ | 'hy'
33
+ | 'id'
34
+ | 'is'
35
+ | 'it'
36
+ | 'ja'
37
+ | 'ka'
38
+ | 'kk'
39
+ | 'ko'
40
+ | 'ku'
41
+ | 'ky'
42
+ | 'lt'
43
+ | 'lv'
44
+ | 'mi'
45
+ | 'mn'
46
+ | 'mr'
47
+ | 'ms'
48
+ | 'mt'
49
+ | 'nb'
50
+ | 'nl'
51
+ | 'no'
52
+ | 'ns'
53
+ | 'pl'
54
+ | 'ps'
55
+ | 'pt-br'
56
+ | 'pt'
57
+ | 'qu'
58
+ | 'ro'
59
+ | 'ru'
60
+ | 'sk'
61
+ | 'sq'
62
+ | 'sv'
63
+ | 'sw'
64
+ | 'ta'
65
+ | 'te'
66
+ | 'th'
67
+ | 'tl'
68
+ | 'tn'
69
+ | 'tr'
70
+ | 'tt'
71
+ | 'uk'
72
+ | 'ur'
73
+ | 'uz'
74
+ | 'zh';
@@ -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 tags.
6
+ * Filter the search by values of the special `_tags` attribute. **Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.** Different from regular facets, `_tags` can only be used for filtering (including or excluding records). You won\'t get a facet count. The same combination and escaping rules apply as for `facetFilters`.
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
+ * Task status, `published` if the task is completed, `notPublished` otherwise.
5
+ */
6
+ export type TaskStatus = 'notPublished' | 'published';
@@ -0,0 +1,21 @@
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 facet hit.
5
+ */
6
+ export type TrendingFacetHit = {
7
+ /**
8
+ * Recommendation score.
9
+ */
10
+ _score: number;
11
+
12
+ /**
13
+ * Facet name for trending models.
14
+ */
15
+ facetName: string;
16
+
17
+ /**
18
+ * Facet value for trending models.
19
+ */
20
+ facetValue: string;
21
+ };
@@ -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;
@@ -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 { TypoToleranceEnum } from './typoToleranceEnum';
4
4
 
5
5
  /**
6
- * Controls whether typo tolerance is enabled and how it is applied.
6
+ * Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/) is enabled and how it is applied. If typo tolerance is true, `min`, or `strict`, [word splitting and concetenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation/) is also active.
7
7
  */
8
8
  export type TypoTolerance = TypoToleranceEnum | boolean;
@@ -1,3 +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
+ /**
4
+ * - `min`. Return matches with the lowest number of typos. For example, if you have matches without typos, only include those. But if there are no matches without typos (with 1 typo), include matches with 1 typo (2 typos). - `strict`. Return matches with the two lowest numbers of typos. With `strict`, the Typo ranking criterion is applied first in the `ranking` setting.
5
+ */
3
6
  export type TypoToleranceEnum = 'min' | 'strict';
package/model/value.ts CHANGED
@@ -1,10 +1,10 @@
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 { SortRemainingBy } from './sortRemainingBy';
4
4
 
5
5
  export type Value = {
6
6
  /**
7
- * Pinned order of facet lists.
7
+ * Explicit order of facets or facet values. This setting lets you always show specific facets or facet values at the top of the list.
8
8
  */
9
9
  order?: string[];
10
10
 
package/package.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "@algolia/recommend",
3
- "version": "5.0.0-alpha.11",
3
+ "version": "5.0.0-alpha.110",
4
4
  "description": "JavaScript client for recommend",
5
5
  "repository": "algolia/algoliasearch-client-javascript",
6
6
  "license": "MIT",
7
7
  "author": "Algolia",
8
+ "type": "module",
8
9
  "exports": {
9
10
  ".": {
10
11
  "node": {
11
12
  "import": "./dist/recommend.esm.node.js",
12
13
  "module": "./dist/recommend.esm.node.js",
13
- "require": "./dist/recommend.cjs.js",
14
- "default": "./dist/recommend.cjs.js"
14
+ "require": "./dist/recommend.cjs",
15
+ "default": "./dist/recommend.cjs"
15
16
  },
16
17
  "default": {
17
18
  "umd": "./dist/recommend.umd.js",
@@ -38,14 +39,14 @@
38
39
  "clean": "rm -rf ./dist || true"
39
40
  },
40
41
  "dependencies": {
41
- "@algolia/client-common": "5.0.0-alpha.11",
42
- "@algolia/requester-browser-xhr": "5.0.0-alpha.11",
43
- "@algolia/requester-node-http": "5.0.0-alpha.11"
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"
44
45
  },
45
46
  "devDependencies": {
46
- "@types/node": "16.11.47",
47
- "rollup": "2.78.1",
48
- "typescript": "4.7.4"
47
+ "@types/node": "20.11.30",
48
+ "rollup": "4.13.2",
49
+ "typescript": "5.4.3"
49
50
  },
50
51
  "engines": {
51
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,5 +0,0 @@
1
- import type { RecommendHit } from './recommendHit';
2
- export declare type RecommendHits = {
3
- hits: RecommendHit[];
4
- };
5
- //# sourceMappingURL=recommendHits.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendHits.d.ts","sourceRoot":"","sources":["../../model/recommendHits.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,oBAAY,aAAa,GAAG;IAC1B,IAAI,EAAE,YAAY,EAAE,CAAC;CACtB,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,4 +0,0 @@
1
- import type { BaseSearchResponse } from './baseSearchResponse';
2
- import type { RecommendHits } from './recommendHits';
3
- export declare type RecommendationsResponse = BaseSearchResponse & RecommendHits;
4
- //# sourceMappingURL=recommendationsResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendationsResponse.d.ts","sourceRoot":"","sources":["../../model/recommendationsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,oBAAY,uBAAuB,GAAG,kBAAkB,GAAG,aAAa,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * The trending model to use.
3
- */
4
- export declare type TrendingModels = 'trending-facets' | 'trending-items';
5
- //# sourceMappingURL=trendingModels.d.ts.map
@@ -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,4 +0,0 @@
1
- import type { BaseRecommendRequest } from './baseRecommendRequest';
2
- import type { BaseTrendingRequest } from './baseTrendingRequest';
3
- export declare type TrendingRequest = BaseRecommendRequest & BaseTrendingRequest;
4
- //# sourceMappingURL=trendingRequest.d.ts.map
@@ -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"}