@algolia/recommend 5.0.0-alpha.98 → 5.0.0-beta.1

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 (268) hide show
  1. package/dist/builds/browser.d.ts +21 -3
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +21 -3
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/model/aroundPrecision.d.ts +1 -1
  6. package/dist/model/aroundPrecisionFromValueInner.d.ts +9 -0
  7. package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
  8. package/dist/model/aroundRadius.d.ts +1 -1
  9. package/dist/model/aroundRadiusAll.d.ts +3 -0
  10. package/dist/model/aroundRadiusAll.d.ts.map +1 -1
  11. package/dist/model/autoFacetFilter.d.ts +14 -0
  12. package/dist/model/autoFacetFilter.d.ts.map +1 -0
  13. package/dist/model/baseRecommendRequest.d.ts +6 -4
  14. package/dist/model/baseRecommendRequest.d.ts.map +1 -1
  15. package/dist/model/baseSearchParamsWithoutQuery.d.ts +26 -29
  16. package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  17. package/dist/model/baseSearchResponse.d.ts +10 -6
  18. package/dist/model/baseSearchResponse.d.ts.map +1 -1
  19. package/dist/model/boughtTogetherQuery.d.ts +4 -0
  20. package/dist/model/boughtTogetherQuery.d.ts.map +1 -0
  21. package/dist/model/clientMethodProps.d.ts +11 -11
  22. package/dist/model/condition.d.ts +6 -9
  23. package/dist/model/condition.d.ts.map +1 -1
  24. package/dist/model/consequence.d.ts +9 -17
  25. package/dist/model/consequence.d.ts.map +1 -1
  26. package/dist/model/deletedAtResponse.d.ts +2 -2
  27. package/dist/model/distinct.d.ts +1 -1
  28. package/dist/model/exactOnSingleWordQuery.d.ts +1 -1
  29. package/dist/model/facetFilters.d.ts +1 -1
  30. package/dist/model/facetOrdering.d.ts +2 -2
  31. package/dist/model/facets.d.ts +2 -2
  32. package/dist/model/fallbackParams.d.ts +3 -0
  33. package/dist/model/fallbackParams.d.ts.map +1 -0
  34. package/dist/model/fbtModel.d.ts +5 -0
  35. package/dist/model/fbtModel.d.ts.map +1 -0
  36. package/dist/model/frequentlyBoughtTogether.d.ts +9 -0
  37. package/dist/model/frequentlyBoughtTogether.d.ts.map +1 -0
  38. package/dist/model/getRecommendationsParams.d.ts +2 -2
  39. package/dist/model/hideConsequenceObject.d.ts +10 -0
  40. package/dist/model/hideConsequenceObject.d.ts.map +1 -0
  41. package/dist/model/highlightResult.d.ts +1 -1
  42. package/dist/model/highlightResult.d.ts.map +1 -1
  43. package/dist/model/highlightResultOption.d.ts +3 -3
  44. package/dist/model/ignorePlurals.d.ts +3 -2
  45. package/dist/model/ignorePlurals.d.ts.map +1 -1
  46. package/dist/model/index.d.ts +21 -23
  47. package/dist/model/index.d.ts.map +1 -1
  48. package/dist/model/indexSettingsAsSearchParams.d.ts +32 -35
  49. package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  50. package/dist/model/lookingSimilar.d.ts +11 -0
  51. package/dist/model/lookingSimilar.d.ts.map +1 -0
  52. package/dist/model/lookingSimilarModel.d.ts +5 -0
  53. package/dist/model/lookingSimilarModel.d.ts.map +1 -0
  54. package/dist/model/lookingSimilarQuery.d.ts +4 -0
  55. package/dist/model/lookingSimilarQuery.d.ts.map +1 -0
  56. package/dist/model/matchLevel.d.ts +1 -1
  57. package/dist/model/mode.d.ts +1 -1
  58. package/dist/model/numericFilters.d.ts +1 -1
  59. package/dist/model/optionalFilters.d.ts +1 -1
  60. package/dist/model/paramsConsequence.d.ts +19 -0
  61. package/dist/model/paramsConsequence.d.ts.map +1 -0
  62. package/dist/model/promoteConsequenceObject.d.ts +14 -0
  63. package/dist/model/promoteConsequenceObject.d.ts.map +1 -0
  64. package/dist/model/queryType.d.ts +1 -1
  65. package/dist/model/rankingInfo.d.ts +10 -7
  66. package/dist/model/rankingInfo.d.ts.map +1 -1
  67. package/dist/model/reRankingApplyFilter.d.ts +1 -1
  68. package/dist/model/recommendHit.d.ts +3 -3
  69. package/dist/model/recommendRule.d.ts +24 -0
  70. package/dist/model/recommendRule.d.ts.map +1 -0
  71. package/dist/model/recommendRuleMetadata.d.ts +10 -0
  72. package/dist/model/recommendRuleMetadata.d.ts.map +1 -0
  73. package/dist/model/recommendationsHits.d.ts +0 -8
  74. package/dist/model/recommendationsHits.d.ts.map +1 -1
  75. package/dist/model/recommendationsRequest.d.ts +4 -2
  76. package/dist/model/recommendationsRequest.d.ts.map +1 -1
  77. package/dist/model/recommendedForYou.d.ts +7 -0
  78. package/dist/model/recommendedForYou.d.ts.map +1 -0
  79. package/dist/model/recommendedForYouModel.d.ts +1 -1
  80. package/dist/model/recommendedForYouQuery.d.ts +2 -2
  81. package/dist/model/recommendedForYouQuery.d.ts.map +1 -1
  82. package/dist/model/relatedModel.d.ts +5 -0
  83. package/dist/model/relatedModel.d.ts.map +1 -0
  84. package/dist/model/relatedProducts.d.ts +11 -0
  85. package/dist/model/relatedProducts.d.ts.map +1 -0
  86. package/dist/model/relatedQuery.d.ts +4 -0
  87. package/dist/model/relatedQuery.d.ts.map +1 -0
  88. package/dist/model/removeStopWords.d.ts +3 -2
  89. package/dist/model/removeStopWords.d.ts.map +1 -1
  90. package/dist/model/removeWordsIfNoResults.d.ts +1 -1
  91. package/dist/model/renderingContent.d.ts +1 -1
  92. package/dist/model/searchParams.d.ts +3 -0
  93. package/dist/model/searchParams.d.ts.map +1 -0
  94. package/dist/model/searchParamsObject.d.ts +3 -0
  95. package/dist/model/searchParamsObject.d.ts.map +1 -1
  96. package/dist/model/searchParamsQuery.d.ts +1 -1
  97. package/dist/model/searchRecommendRulesParams.d.ts +18 -6
  98. package/dist/model/searchRecommendRulesParams.d.ts.map +1 -1
  99. package/dist/model/searchRecommendRulesResponse.d.ts +6 -6
  100. package/dist/model/searchRecommendRulesResponse.d.ts.map +1 -1
  101. package/dist/model/semanticSearch.d.ts +2 -2
  102. package/dist/model/snippetResult.d.ts +1 -1
  103. package/dist/model/snippetResult.d.ts.map +1 -1
  104. package/dist/model/snippetResultOption.d.ts +2 -2
  105. package/dist/model/sortRemainingBy.d.ts +1 -1
  106. package/dist/model/supportedLanguage.d.ts +5 -0
  107. package/dist/model/supportedLanguage.d.ts.map +1 -0
  108. package/dist/model/tagFilters.d.ts +1 -1
  109. package/dist/model/taskStatus.d.ts +1 -1
  110. package/dist/model/trendingFacetHit.d.ts +2 -2
  111. package/dist/model/trendingFacets.d.ts +11 -0
  112. package/dist/model/trendingFacets.d.ts.map +1 -0
  113. package/dist/model/trendingFacetsModel.d.ts +1 -1
  114. package/dist/model/trendingFacetsQuery.d.ts +2 -2
  115. package/dist/model/trendingFacetsQuery.d.ts.map +1 -1
  116. package/dist/model/trendingItems.d.ts +15 -0
  117. package/dist/model/trendingItems.d.ts.map +1 -0
  118. package/dist/model/trendingItemsModel.d.ts +1 -1
  119. package/dist/model/trendingItemsQuery.d.ts +2 -2
  120. package/dist/model/trendingItemsQuery.d.ts.map +1 -1
  121. package/dist/model/typoTolerance.d.ts +1 -1
  122. package/dist/model/typoToleranceEnum.d.ts +3 -0
  123. package/dist/model/typoToleranceEnum.d.ts.map +1 -1
  124. package/dist/model/value.d.ts +1 -1
  125. package/dist/recommend.cjs +54 -45
  126. package/dist/recommend.esm.browser.js +42 -38
  127. package/dist/recommend.esm.node.js +54 -45
  128. package/dist/recommend.umd.js +2 -2
  129. package/dist/src/recommendClient.d.ts +34 -32
  130. package/dist/src/recommendClient.d.ts.map +1 -1
  131. package/model/aroundPrecision.ts +1 -1
  132. package/model/aroundPrecisionFromValueInner.ts +9 -0
  133. package/model/aroundRadius.ts +1 -1
  134. package/model/aroundRadiusAll.ts +3 -0
  135. package/model/autoFacetFilter.ts +16 -0
  136. package/model/baseRecommendRequest.ts +8 -4
  137. package/model/baseSearchParamsWithoutQuery.ts +26 -30
  138. package/model/baseSearchResponse.ts +11 -6
  139. package/model/{recommendationsQuery.ts → boughtTogetherQuery.ts} +3 -3
  140. package/model/clientMethodProps.ts +11 -11
  141. package/model/condition.ts +6 -12
  142. package/model/consequence.ts +9 -19
  143. package/model/deletedAtResponse.ts +2 -2
  144. package/model/distinct.ts +1 -1
  145. package/model/exactOnSingleWordQuery.ts +1 -1
  146. package/model/facetFilters.ts +1 -1
  147. package/model/facetOrdering.ts +2 -2
  148. package/model/facets.ts +2 -2
  149. package/model/{editType.ts → fallbackParams.ts} +3 -4
  150. package/model/fbtModel.ts +6 -0
  151. package/model/{consequenceHide.ts → frequentlyBoughtTogether.ts} +6 -5
  152. package/model/getRecommendationsParams.ts +2 -2
  153. package/model/hideConsequenceObject.ts +11 -0
  154. package/model/highlightResult.ts +1 -0
  155. package/model/highlightResultOption.ts +3 -3
  156. package/model/ignorePlurals.ts +4 -2
  157. package/model/index.ts +21 -23
  158. package/model/indexSettingsAsSearchParams.ts +32 -36
  159. package/model/lookingSimilar.ts +15 -0
  160. package/model/lookingSimilarModel.ts +6 -0
  161. package/model/lookingSimilarQuery.ts +6 -0
  162. package/model/matchLevel.ts +1 -1
  163. package/model/mode.ts +1 -1
  164. package/model/numericFilters.ts +1 -1
  165. package/model/optionalFilters.ts +1 -1
  166. package/model/paramsConsequence.ts +23 -0
  167. package/model/promoteConsequenceObject.ts +16 -0
  168. package/model/queryType.ts +1 -1
  169. package/model/rankingInfo.ts +10 -7
  170. package/model/reRankingApplyFilter.ts +1 -1
  171. package/model/recommendHit.ts +3 -3
  172. package/model/{ruleResponse.ts → recommendRule.ts} +7 -10
  173. package/model/{ruleResponseMetadata.ts → recommendRuleMetadata.ts} +5 -2
  174. package/model/recommendationsHits.ts +0 -10
  175. package/model/recommendationsRequest.ts +6 -2
  176. package/model/{baseRecommendedForYouQuery.ts → recommendedForYou.ts} +3 -5
  177. package/model/recommendedForYouModel.ts +1 -1
  178. package/model/recommendedForYouQuery.ts +2 -3
  179. package/model/relatedModel.ts +6 -0
  180. package/model/relatedProducts.ts +15 -0
  181. package/model/relatedQuery.ts +6 -0
  182. package/model/removeStopWords.ts +4 -2
  183. package/model/removeWordsIfNoResults.ts +1 -1
  184. package/model/renderingContent.ts +1 -1
  185. package/model/{recommendationModels.ts → searchParams.ts} +3 -4
  186. package/model/searchParamsObject.ts +3 -0
  187. package/model/searchParamsQuery.ts +1 -1
  188. package/model/searchRecommendRulesParams.ts +21 -6
  189. package/model/searchRecommendRulesResponse.ts +6 -6
  190. package/model/semanticSearch.ts +2 -2
  191. package/model/snippetResult.ts +2 -1
  192. package/model/snippetResultOption.ts +2 -2
  193. package/model/sortRemainingBy.ts +1 -1
  194. package/model/supportedLanguage.ts +74 -0
  195. package/model/tagFilters.ts +1 -1
  196. package/model/taskStatus.ts +1 -1
  197. package/model/trendingFacetHit.ts +2 -2
  198. package/model/{baseTrendingFacetsQuery.ts → trendingFacets.ts} +7 -4
  199. package/model/trendingFacetsModel.ts +1 -1
  200. package/model/trendingFacetsQuery.ts +2 -3
  201. package/model/trendingItems.ts +20 -0
  202. package/model/trendingItemsModel.ts +1 -1
  203. package/model/trendingItemsQuery.ts +2 -2
  204. package/model/typoTolerance.ts +1 -1
  205. package/model/typoToleranceEnum.ts +3 -0
  206. package/model/value.ts +1 -1
  207. package/package.json +7 -7
  208. package/dist/model/anchoring.d.ts +0 -5
  209. package/dist/model/anchoring.d.ts.map +0 -1
  210. package/dist/model/automaticFacetFilter.d.ts +0 -18
  211. package/dist/model/automaticFacetFilter.d.ts.map +0 -1
  212. package/dist/model/automaticFacetFilters.d.ts +0 -6
  213. package/dist/model/automaticFacetFilters.d.ts.map +0 -1
  214. package/dist/model/baseRecommendationsQuery.d.ts +0 -12
  215. package/dist/model/baseRecommendationsQuery.d.ts.map +0 -1
  216. package/dist/model/baseRecommendedForYouQuery.d.ts +0 -8
  217. package/dist/model/baseRecommendedForYouQuery.d.ts.map +0 -1
  218. package/dist/model/baseRecommendedForYouQueryParameters.d.ts +0 -7
  219. package/dist/model/baseRecommendedForYouQueryParameters.d.ts.map +0 -1
  220. package/dist/model/baseTrendingFacetsQuery.d.ts +0 -9
  221. package/dist/model/baseTrendingFacetsQuery.d.ts.map +0 -1
  222. package/dist/model/baseTrendingItemsQuery.d.ts +0 -16
  223. package/dist/model/baseTrendingItemsQuery.d.ts.map +0 -1
  224. package/dist/model/consequenceHide.d.ts +0 -10
  225. package/dist/model/consequenceHide.d.ts.map +0 -1
  226. package/dist/model/consequenceParams.d.ts +0 -5
  227. package/dist/model/consequenceParams.d.ts.map +0 -1
  228. package/dist/model/consequenceQuery.d.ts +0 -6
  229. package/dist/model/consequenceQuery.d.ts.map +0 -1
  230. package/dist/model/consequenceQueryObject.d.ts +0 -12
  231. package/dist/model/consequenceQueryObject.d.ts.map +0 -1
  232. package/dist/model/edit.d.ts +0 -13
  233. package/dist/model/edit.d.ts.map +0 -1
  234. package/dist/model/editType.d.ts +0 -5
  235. package/dist/model/editType.d.ts.map +0 -1
  236. package/dist/model/params.d.ts +0 -13
  237. package/dist/model/params.d.ts.map +0 -1
  238. package/dist/model/promote.d.ts +0 -4
  239. package/dist/model/promote.d.ts.map +0 -1
  240. package/dist/model/promoteObjectID.d.ts +0 -14
  241. package/dist/model/promoteObjectID.d.ts.map +0 -1
  242. package/dist/model/promoteObjectIDs.d.ts +0 -14
  243. package/dist/model/promoteObjectIDs.d.ts.map +0 -1
  244. package/dist/model/recommendationModels.d.ts +0 -5
  245. package/dist/model/recommendationModels.d.ts.map +0 -1
  246. package/dist/model/recommendationsQuery.d.ts +0 -4
  247. package/dist/model/recommendationsQuery.d.ts.map +0 -1
  248. package/dist/model/recommendedForYouQueryParameters.d.ts +0 -4
  249. package/dist/model/recommendedForYouQueryParameters.d.ts.map +0 -1
  250. package/dist/model/ruleResponse.d.ts +0 -27
  251. package/dist/model/ruleResponse.d.ts.map +0 -1
  252. package/dist/model/ruleResponseMetadata.d.ts +0 -7
  253. package/dist/model/ruleResponseMetadata.d.ts.map +0 -1
  254. package/model/anchoring.ts +0 -6
  255. package/model/automaticFacetFilter.ts +0 -21
  256. package/model/automaticFacetFilters.ts +0 -8
  257. package/model/baseRecommendationsQuery.ts +0 -17
  258. package/model/baseRecommendedForYouQueryParameters.ts +0 -8
  259. package/model/baseTrendingItemsQuery.ts +0 -22
  260. package/model/consequenceParams.ts +0 -9
  261. package/model/consequenceQuery.ts +0 -8
  262. package/model/consequenceQueryObject.ts +0 -15
  263. package/model/edit.ts +0 -17
  264. package/model/params.ts +0 -18
  265. package/model/promote.ts +0 -6
  266. package/model/promoteObjectID.ts +0 -16
  267. package/model/promoteObjectIDs.ts +0 -16
  268. package/model/recommendedForYouQueryParameters.ts +0 -7
@@ -1,6 +1,24 @@
1
1
  import type { ClientOptions } from '@algolia/client-common';
2
- import type { RecommendClient } from '../src/recommendClient';
3
- export { apiClientVersion, RecommendClient } from '../src/recommendClient';
2
+ export { apiClientVersion } from '../src/recommendClient';
4
3
  export * from '../model';
5
- export declare function recommendClient(appId: string, apiKey: string, options?: ClientOptions): RecommendClient;
4
+ /**
5
+ * The client type.
6
+ */
7
+ export type RecommendClient = ReturnType<typeof recommendClient>;
8
+ export declare function recommendClient(appId: string, apiKey: string, options?: ClientOptions): {
9
+ transporter: import("@algolia/client-common").Transporter;
10
+ appId: string;
11
+ clearCache(): Promise<void>;
12
+ readonly _ua: string;
13
+ addAlgoliaAgent(segment: string, version?: string | undefined): void;
14
+ customDelete({ path, parameters }: import("../model").CustomDeleteProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
15
+ customGet({ path, parameters }: import("../model").CustomGetProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
16
+ customPost({ path, parameters, body }: import("../model").CustomPostProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
17
+ customPut({ path, parameters, body }: import("../model").CustomPutProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
18
+ deleteRecommendRule({ indexName, model, objectID }: import("../model").DeleteRecommendRuleProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").DeletedAtResponse>;
19
+ getRecommendRule({ indexName, model, objectID }: import("../model").GetRecommendRuleProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").RecommendRule>;
20
+ getRecommendStatus({ indexName, model, taskID }: import("../model").GetRecommendStatusProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").GetRecommendTaskResponse>;
21
+ getRecommendations(getRecommendationsParams: import("../model").GetRecommendationsParams, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").GetRecommendationsResponse>;
22
+ searchRecommendRules({ indexName, model, searchRecommendRulesParams, }: import("../model").SearchRecommendRulesProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").SearchRecommendRulesResponse>;
23
+ };
6
24
  //# sourceMappingURL=browser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../builds/browser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAe5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC3E,cAAc,UAAU,CAAC;AAEzB,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa,GACtB,eAAe,CA8BjB"}
1
+ {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../builds/browser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAgB5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,cAAc,UAAU,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAGjE,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa;;;;;;;;;;;;;;;EA+BxB"}
@@ -1,6 +1,24 @@
1
1
  import type { ClientOptions } from '@algolia/client-common';
2
- import type { RecommendClient } from '../src/recommendClient';
3
- export { apiClientVersion, RecommendClient } from '../src/recommendClient';
2
+ export { apiClientVersion } from '../src/recommendClient';
4
3
  export * from '../model';
5
- export declare function recommendClient(appId: string, apiKey: string, options?: ClientOptions): RecommendClient;
4
+ /**
5
+ * The client type.
6
+ */
7
+ export type RecommendClient = ReturnType<typeof recommendClient>;
8
+ export declare function recommendClient(appId: string, apiKey: string, options?: ClientOptions): {
9
+ transporter: import("@algolia/client-common").Transporter;
10
+ appId: string;
11
+ clearCache(): Promise<void>;
12
+ _ua: string;
13
+ addAlgoliaAgent(segment: string, version?: string | undefined): void;
14
+ customDelete({ path, parameters }: import("../model").CustomDeleteProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
15
+ customGet({ path, parameters }: import("../model").CustomGetProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
16
+ customPost({ path, parameters, body }: import("../model").CustomPostProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
17
+ customPut({ path, parameters, body }: import("../model").CustomPutProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
18
+ deleteRecommendRule({ indexName, model, objectID }: import("../model").DeleteRecommendRuleProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").DeletedAtResponse>;
19
+ getRecommendRule({ indexName, model, objectID }: import("../model").GetRecommendRuleProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").RecommendRule>;
20
+ getRecommendStatus({ indexName, model, taskID }: import("../model").GetRecommendStatusProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").GetRecommendTaskResponse>;
21
+ getRecommendations(getRecommendationsParams: import("../model").GetRecommendationsParams, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").GetRecommendationsResponse>;
22
+ searchRecommendRules({ indexName, model, searchRecommendRulesParams, }: import("../model").SearchRecommendRulesProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").SearchRecommendRulesResponse>;
23
+ };
6
24
  //# sourceMappingURL=node.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../builds/node.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAW5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC3E,cAAc,UAAU,CAAC;AAEzB,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa,GACtB,eAAe,CAwBjB"}
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../builds/node.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAY5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,cAAc,UAAU,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAGjE,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa;;;;;;;;;;;;;;;EA2BxB"}
@@ -1,6 +1,6 @@
1
1
  import type { AroundPrecisionFromValueInner } from './aroundPrecisionFromValueInner';
2
2
  /**
3
- * Precision of a geographical search (in meters), to [group results that are more or less the same distance from a central point](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/in-depth/geo-ranking-precision/).
3
+ * Precision of a coordinate-based search in meters to group results with similar distances. The Geo ranking criterion considers all matches within the same range of distances to be equal.
4
4
  */
5
5
  export type AroundPrecision = AroundPrecisionFromValueInner[] | number;
6
6
  //# sourceMappingURL=aroundPrecision.d.ts.map
@@ -1,5 +1,14 @@
1
+ /**
2
+ * Range object with lower and upper values in meters to define custom ranges.
3
+ */
1
4
  export type AroundPrecisionFromValueInner = {
5
+ /**
6
+ * Lower boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
7
+ */
2
8
  from?: number;
9
+ /**
10
+ * Upper boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
11
+ */
3
12
  value?: number;
4
13
  };
5
14
  //# sourceMappingURL=aroundPrecisionFromValueInner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aroundPrecisionFromValueInner.d.ts","sourceRoot":"","sources":["../../model/aroundPrecisionFromValueInner.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
1
+ {"version":3,"file":"aroundPrecisionFromValueInner.d.ts","sourceRoot":"","sources":["../../model/aroundPrecisionFromValueInner.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { AroundRadiusAll } from './aroundRadiusAll';
2
2
  /**
3
- * [Maximum radius](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#increase-the-search-radius) for a geographical search (in meters).
3
+ * Maximum radius for a search around a central location. This parameter works in combination with the `aroundLatLng` and `aroundLatLngViaIP` parameters. By default, the search radius is determined automatically from the density of hits around the central location. The search radius is small if there are many hits close to the central coordinates.
4
4
  */
5
5
  export type AroundRadius = AroundRadiusAll | number;
6
6
  //# sourceMappingURL=aroundRadius.d.ts.map
@@ -1,2 +1,5 @@
1
+ /**
2
+ * Return all records with a valid `_geoloc` attribute. Don\'t filter by distance.
3
+ */
1
4
  export type AroundRadiusAll = 'all';
2
5
  //# sourceMappingURL=aroundRadiusAll.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aroundRadiusAll.d.ts","sourceRoot":"","sources":["../../model/aroundRadiusAll.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC"}
1
+ {"version":3,"file":"aroundRadiusAll.d.ts","sourceRoot":"","sources":["../../model/aroundRadiusAll.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Facet attribute. Only recommendations with the same value (or only recommendations with a different value) as the original viewed item are included.
3
+ */
4
+ export type AutoFacetFilter = {
5
+ /**
6
+ * Facet attribute.
7
+ */
8
+ facet?: string;
9
+ /**
10
+ * Whether the filter is negative. If true, recommendations must not have the same value for the `facet` attribute. If false, recommendations must have the same value for the `facet` attribute.
11
+ */
12
+ negative?: boolean;
13
+ };
14
+ //# sourceMappingURL=autoFacetFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoFacetFilter.d.ts","sourceRoot":"","sources":["../../model/autoFacetFilter.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
@@ -1,15 +1,17 @@
1
+ import type { SearchParams } from './searchParams';
1
2
  export type BaseRecommendRequest = {
2
3
  /**
3
- * Algolia index name.
4
+ * Index name (case-sensitive).
4
5
  */
5
6
  indexName: string;
6
7
  /**
7
- * Recommendations with a confidence score lower than `threshold` won\'t appear in results. > **Note**: Each recommendation has a confidence score of 0 to 100. The closer the score is to 100, the more relevant the recommendations are.
8
+ * Minimum score a recommendation must have to be included in the response.
8
9
  */
9
- threshold?: number;
10
+ threshold: number;
10
11
  /**
11
- * Maximum number of recommendations to retrieve. If 0, all recommendations will be returned.
12
+ * Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
12
13
  */
13
14
  maxRecommendations?: number;
15
+ queryParameters?: SearchParams;
14
16
  };
15
17
  //# sourceMappingURL=baseRecommendRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"baseRecommendRequest.d.ts","sourceRoot":"","sources":["../../model/baseRecommendRequest.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC"}
1
+ {"version":3,"file":"baseRecommendRequest.d.ts","sourceRoot":"","sources":["../../model/baseRecommendRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,eAAe,CAAC,EAAE,YAAY,CAAC;CAChC,CAAC"}
@@ -3,14 +3,15 @@ import type { AroundRadius } from './aroundRadius';
3
3
  import type { FacetFilters } from './facetFilters';
4
4
  import type { NumericFilters } from './numericFilters';
5
5
  import type { OptionalFilters } from './optionalFilters';
6
+ import type { SupportedLanguage } from './supportedLanguage';
6
7
  import type { TagFilters } from './tagFilters';
7
8
  export type BaseSearchParamsWithoutQuery = {
8
9
  /**
9
- * Overrides the query parameter and performs a more generic search.
10
+ * Keywords to be used instead of the search query to conduct a more broader search. Using the `similarQuery` parameter changes other settings: - `queryType` is set to `prefixNone`. - `removeStopWords` is set to true. - `words` is set as the first ranking criterion. - All remaining words are treated as `optionalWords`. Since the `similarQuery` is supposed to do a broad search, they usually return many results. Combine it with `filters` to narrow down the list of results.
10
11
  */
11
12
  similarQuery?: string;
12
13
  /**
13
- * [Filter](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) the query with numeric, facet, or tag filters.
14
+ * 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/).
14
15
  */
15
16
  filters?: string;
16
17
  facetFilters?: FacetFilters;
@@ -18,89 +19,85 @@ export type BaseSearchParamsWithoutQuery = {
18
19
  numericFilters?: NumericFilters;
19
20
  tagFilters?: TagFilters;
20
21
  /**
21
- * Determines how to calculate [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores). If `false`, maximum score is kept. If `true`, score is summed.
22
+ * Whether to sum all filter scores. If true, all filter scores are summed. Otherwise, the maximum filter score is kept. For more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores).
22
23
  */
23
24
  sumOrFiltersScores?: boolean;
24
25
  /**
25
- * Restricts a query to only look at a subset of your [searchable attributes](https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/).
26
+ * Restricts a search to a subset of your searchable attributes. Attribute names are case-sensitive.
26
27
  */
27
28
  restrictSearchableAttributes?: string[];
28
29
  /**
29
- * Returns [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts), their facet values, and the number of matching facet values.
30
+ * Facets for which to retrieve facet values that match the search criteria and the number of matching facet values. To retrieve all facets, use the wildcard character `*`. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
30
31
  */
31
32
  facets?: string[];
32
33
  /**
33
- * Forces faceting to be applied after [de-duplication](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/) (with the distinct feature). Alternatively, the `afterDistinct` [modifier](https://www.algolia.com/doc/api-reference/api-parameters/attributesForFaceting/#modifiers) of `attributesForFaceting` allows for more granular control.
34
+ * Whether faceting should be applied after deduplication with `distinct`. This leads to accurate facet counts when using faceting in combination with `distinct`. It\'s usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting, as `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.
34
35
  */
35
36
  facetingAfterDistinct?: boolean;
36
37
  /**
37
- * Page to retrieve (the first page is `0`, not `1`).
38
+ * Page of search results to retrieve.
38
39
  */
39
40
  page?: number;
40
41
  /**
41
- * Specifies the offset of the first hit to return. > **Note**: Using `page` and `hitsPerPage` is the recommended method for [paging results](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/). However, you can use `offset` and `length` to implement [an alternative approach to paging](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/#retrieving-a-subset-of-records-with-offset-and-length).
42
+ * Position of the first hit to retrieve.
42
43
  */
43
44
  offset?: number;
44
45
  /**
45
- * Sets the number of hits to retrieve (for use with `offset`). > **Note**: Using `page` and `hitsPerPage` is the recommended method for [paging results](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/). However, you can use `offset` and `length` to implement [an alternative approach to paging](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/#retrieving-a-subset-of-records-with-offset-and-length).
46
+ * Number of hits to retrieve (used in combination with `offset`).
46
47
  */
47
48
  length?: number;
48
49
  /**
49
- * Search for entries [around a central location](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filter-around-a-central-point), enabling a geographical search within a circular area.
50
+ * Coordinates for the center of a circle, expressed as a comma-separated string of latitude and longitude. Only records included within circle around this central location are included in the results. The radius of the circle is determined by the `aroundRadius` and `minimumAroundRadius` settings. This parameter is ignored if you also specify `insidePolygon` or `insideBoundingBox`.
50
51
  */
51
52
  aroundLatLng?: string;
52
53
  /**
53
- * Search for entries around a location. The location is automatically computed from the requester\'s IP address.
54
+ * Whether to obtain the coordinates from the request\'s IP address.
54
55
  */
55
56
  aroundLatLngViaIP?: boolean;
56
57
  aroundRadius?: AroundRadius;
57
58
  aroundPrecision?: AroundPrecision;
58
59
  /**
59
- * Minimum radius (in meters) used for a geographical search when `aroundRadius` isn\'t set.
60
+ * Minimum radius (in meters) for a search around a location when `aroundRadius` isn\'t set.
60
61
  */
61
62
  minimumAroundRadius?: number;
62
63
  /**
63
- * Search inside a [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
64
+ * Coordinates for a rectangular area in which to search. Each bounding box is defined by the two opposite points of its diagonal, and expressed as latitude and longitude pair: `[p1 lat, p1 long, p2 lat, p2 long]`. Provide multiple bounding boxes as nested arrays. For more information, see [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas).
64
65
  */
65
66
  insideBoundingBox?: number[][];
66
67
  /**
67
- * Search inside a [polygon](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
68
+ * Coordinates of a polygon in which to search. Polygons are defined by 3 to 10,000 points. Each point is represented by its latitude and longitude. Provide multiple polygons as nested arrays. For more information, see [filtering inside polygons](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas). This parameter is ignored if you also specify `insideBoundingBox`.
68
69
  */
69
70
  insidePolygon?: number[][];
70
71
  /**
71
- * Changes the default values of parameters that work best for a natural language query, such as `ignorePlurals`, `removeStopWords`, `removeWordsIfNoResults`, `analyticsTags`, and `ruleContexts`. These parameters work well together when the query consists of fuller natural language strings instead of keywords, for example when processing voice search queries.
72
+ * ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches): - Sets `removeStopWords` and `ignorePlurals` to the list of provided languages. - Sets `removeWordsIfNoResults` to `allOptional`. - Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
72
73
  */
73
- naturalLanguages?: string[];
74
+ naturalLanguages?: SupportedLanguage[];
74
75
  /**
75
- * Assigns [rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) to search queries.
76
+ * Assigns a rule context to the search query. [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
76
77
  */
77
78
  ruleContexts?: string[];
78
79
  /**
79
- * Defines how much [Personalization affects results](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
80
+ * Impact that Personalization should have on this search. The higher this value is, the more Personalization determines the ranking compared to other factors. For more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
80
81
  */
81
82
  personalizationImpact?: number;
82
83
  /**
83
- * Associates a [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/) with the current search.
84
+ * 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/).
84
85
  */
85
86
  userToken?: string;
86
87
  /**
87
- * Incidates whether the search response includes [detailed ranking information](https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/understanding-the-api-response/#ranking-information).
88
+ * Whether the search response should include detailed ranking information.
88
89
  */
89
90
  getRankingInfo?: boolean;
90
91
  /**
91
- * Enriches the API\'s response with information about how the query was processed.
92
- */
93
- explain?: string[];
94
- /**
95
- * Whether to take into account an index\'s synonyms for a particular search.
92
+ * Whether to take into account an index\'s synonyms for this search.
96
93
  */
97
94
  synonyms?: boolean;
98
95
  /**
99
- * Indicates whether a query ID parameter is included in the search response. This is required for [tracking click and conversion events](https://www.algolia.com/doc/guides/sending-events/concepts/event-types/#events-related-to-algolia-requests).
96
+ * Whether to include a `queryID` attribute in the response. The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started/).
100
97
  */
101
98
  clickAnalytics?: boolean;
102
99
  /**
103
- * Indicates whether this query will be included in [analytics](https://www.algolia.com/doc/guides/search-analytics/guides/exclude-queries/).
100
+ * Whether this search will be included in Analytics.
104
101
  */
105
102
  analytics?: boolean;
106
103
  /**
@@ -108,11 +105,11 @@ export type BaseSearchParamsWithoutQuery = {
108
105
  */
109
106
  analyticsTags?: string[];
110
107
  /**
111
- * Whether to include or exclude a query from the processing-time percentile computation.
108
+ * Whether to include this search when calculating processing-time percentiles.
112
109
  */
113
110
  percentileComputation?: boolean;
114
111
  /**
115
- * Incidates whether this search will be considered in A/B testing.
112
+ * Whether to enable A/B testing for this search.
116
113
  */
117
114
  enableABTest?: boolean;
118
115
  };
@@ -1 +1 @@
1
- {"version":3,"file":"baseSearchParamsWithoutQuery.d.ts","sourceRoot":"","sources":["../../model/baseSearchParamsWithoutQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B,eAAe,CAAC,EAAE,eAAe,CAAC;IAElC,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,EAAE,CAAC;IAExC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,YAAY,CAAC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,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAEvC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAExB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
@@ -16,7 +16,7 @@ export type BaseSearchResponse = Record<string, any> & {
16
16
  */
17
17
  aroundLatLng?: string;
18
18
  /**
19
- * Automatically-computed radius.
19
+ * Distance from a central coordinate provided by `aroundLatLng`.
20
20
  */
21
21
  automaticRadius?: string;
22
22
  exhaustive?: Exhaustive;
@@ -33,7 +33,7 @@ export type BaseSearchResponse = Record<string, any> & {
33
33
  */
34
34
  exhaustiveTypo?: boolean;
35
35
  /**
36
- * Mapping of each facet name to the corresponding facet counts.
36
+ * Facet counts.
37
37
  */
38
38
  facets?: Record<string, Record<string, number>>;
39
39
  /**
@@ -57,11 +57,11 @@ export type BaseSearchResponse = Record<string, any> & {
57
57
  */
58
58
  message?: string;
59
59
  /**
60
- * Number of hits the search query matched.
60
+ * Number of results (hits).
61
61
  */
62
62
  nbHits: number;
63
63
  /**
64
- * Number of pages of results for the current query.
64
+ * Number of pages of results.
65
65
  */
66
66
  nbPages: number;
67
67
  /**
@@ -69,7 +69,7 @@ export type BaseSearchResponse = Record<string, any> & {
69
69
  */
70
70
  nbSortedHits?: number;
71
71
  /**
72
- * Page to retrieve (the first page is `0`, not `1`).
72
+ * Page of search results to retrieve.
73
73
  */
74
74
  page: number;
75
75
  /**
@@ -99,8 +99,12 @@ export type BaseSearchResponse = Record<string, any> & {
99
99
  */
100
100
  serverUsed?: string;
101
101
  /**
102
- * Lets you store custom data in your indices.
102
+ * An object with custom data. You can store up to 32&nbsp;kB as custom data.
103
103
  */
104
104
  userData?: any | null;
105
+ /**
106
+ * Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
107
+ */
108
+ queryID?: string;
105
109
  };
106
110
  //# sourceMappingURL=baseSearchResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"baseSearchResponse.d.ts","sourceRoot":"","sources":["../../model/baseSearchResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IACrD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAA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EAAE,GAAG,CAAC,CAAC;IAE1C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAEpC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { BaseRecommendRequest } from './baseRecommendRequest';
2
+ import type { FrequentlyBoughtTogether } from './frequentlyBoughtTogether';
3
+ export type BoughtTogetherQuery = BaseRecommendRequest & FrequentlyBoughtTogether;
4
+ //# sourceMappingURL=boughtTogetherQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boughtTogetherQuery.d.ts","sourceRoot":"","sources":["../../model/boughtTogetherQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,GACpD,wBAAwB,CAAC"}
@@ -65,15 +65,15 @@ export type CustomPutProps = {
65
65
  */
66
66
  export type DeleteRecommendRuleProps = {
67
67
  /**
68
- * Index on which to perform the request.
68
+ * Name of the index on which to perform the operation.
69
69
  */
70
70
  indexName: string;
71
71
  /**
72
- * [Recommend models](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
72
+ * [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
73
73
  */
74
74
  model: RecommendModels;
75
75
  /**
76
- * Unique record (object) identifier.
76
+ * Unique record identifier.
77
77
  */
78
78
  objectID: string;
79
79
  };
@@ -82,15 +82,15 @@ export type DeleteRecommendRuleProps = {
82
82
  */
83
83
  export type GetRecommendRuleProps = {
84
84
  /**
85
- * Index on which to perform the request.
85
+ * Name of the index on which to perform the operation.
86
86
  */
87
87
  indexName: string;
88
88
  /**
89
- * [Recommend models](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
89
+ * [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
90
90
  */
91
91
  model: RecommendModels;
92
92
  /**
93
- * Unique record (object) identifier.
93
+ * Unique record identifier.
94
94
  */
95
95
  objectID: string;
96
96
  };
@@ -99,15 +99,15 @@ export type GetRecommendRuleProps = {
99
99
  */
100
100
  export type GetRecommendStatusProps = {
101
101
  /**
102
- * Index on which to perform the request.
102
+ * Name of the index on which to perform the operation.
103
103
  */
104
104
  indexName: string;
105
105
  /**
106
- * [Recommend models](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
106
+ * [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
107
107
  */
108
108
  model: RecommendModels;
109
109
  /**
110
- * Unique identifier of a task. Numeric value (up to 64bits).
110
+ * Unique task identifier.
111
111
  */
112
112
  taskID: number;
113
113
  };
@@ -116,11 +116,11 @@ export type GetRecommendStatusProps = {
116
116
  */
117
117
  export type SearchRecommendRulesProps = {
118
118
  /**
119
- * Index on which to perform the request.
119
+ * Name of the index on which to perform the operation.
120
120
  */
121
121
  indexName: string;
122
122
  /**
123
- * [Recommend models](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
123
+ * [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
124
124
  */
125
125
  model: RecommendModels;
126
126
  searchRecommendRulesParams?: SearchRecommendRulesParams;
@@ -1,16 +1,13 @@
1
- import type { Anchoring } from './anchoring';
1
+ /**
2
+ * Condition that triggers the rule. If not specified, the rule is triggered for all recommendations.
3
+ */
2
4
  export type Condition = {
3
5
  /**
4
- * Query pattern syntax.
6
+ * 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/).
5
7
  */
6
- pattern?: string;
7
- anchoring?: Anchoring;
8
+ filters?: string;
8
9
  /**
9
- * Whether the pattern matches on plurals, synonyms, and typos.
10
- */
11
- alternatives?: boolean;
12
- /**
13
- * Rule context format: [A-Za-z0-9_-]+).
10
+ * An additional restriction that only triggers the rule, when the search has the same value as `ruleContexts` parameter. For example, if `context: mobile`, the rule is only triggered when the search request has a matching `ruleContexts: mobile`. A rule context must only contain alphanumeric characters.
14
11
  */
15
12
  context?: string;
16
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"condition.d.ts","sourceRoot":"","sources":["../../model/condition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"condition.d.ts","sourceRoot":"","sources":["../../model/condition.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -1,26 +1,18 @@
1
- import type { ConsequenceHide } from './consequenceHide';
2
- import type { ConsequenceParams } from './consequenceParams';
3
- import type { Promote } from './promote';
1
+ import type { HideConsequenceObject } from './hideConsequenceObject';
2
+ import type { ParamsConsequence } from './paramsConsequence';
3
+ import type { PromoteConsequenceObject } from './promoteConsequenceObject';
4
4
  /**
5
- * [Consequences](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#consequences) of a rule.
5
+ * Effect of the rule.
6
6
  */
7
7
  export type Consequence = {
8
- params?: ConsequenceParams;
9
8
  /**
10
- * Records to promote.
9
+ * Exclude items from recommendations.
11
10
  */
12
- promote?: Promote[];
11
+ hide?: HideConsequenceObject[];
13
12
  /**
14
- * Only use in combination with the `promote` consequence. When `true`, promoted results will be restricted to match the filters of the current search. When `false`, the promoted results will show up regardless of the filters.
13
+ * Place items at specific positions in the list of recommendations.
15
14
  */
16
- filterPromotes?: boolean;
17
- /**
18
- * Records to hide. By default, you can hide up to 50 records per rule.
19
- */
20
- hide?: ConsequenceHide[];
21
- /**
22
- * Custom JSON object that will be appended to the userData array in the response. This object isn\'t interpreted by the API. It\'s limited to 1kB of minified JSON.
23
- */
24
- userData?: any | null;
15
+ promote?: PromoteConsequenceObject[];
16
+ params?: ParamsConsequence;
25
17
  };
26
18
  //# sourceMappingURL=consequence.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"consequence.d.ts","sourceRoot":"","sources":["../../model/consequence.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IAEpB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,EAAE,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;CACvB,CAAC"}
1
+ {"version":3,"file":"consequence.d.ts","sourceRoot":"","sources":["../../model/consequence.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAE/B;;OAEG;IACH,OAAO,CAAC,EAAE,wBAAwB,EAAE,CAAC;IAErC,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B,CAAC"}
@@ -3,11 +3,11 @@
3
3
  */
4
4
  export type DeletedAtResponse = {
5
5
  /**
6
- * Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task\'s progress with the `task` operation and this `taskID`.
6
+ * Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task\'s progress with the [`task` operation](#tag/Indices/operation/getTask) and this `taskID`.
7
7
  */
8
8
  taskID: number;
9
9
  /**
10
- * Timestamp of deletion in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
10
+ * Date and time when the object was deleted, in RFC 3339 format.
11
11
  */
12
12
  deletedAt: string;
13
13
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Enables [deduplication or grouping of results (Algolia\'s _distinct_ feature](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature)).
2
+ * Determines how many records of a group are included in the search results. Records with the same value for the `attributeForDistinct` attribute are considered a group. The `distinct` setting controls how many members of the group are returned. This is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature). The `distinct` setting is ignored if `attributeForDistinct` is not set.
3
3
  */
4
4
  export type Distinct = boolean | number;
5
5
  //# sourceMappingURL=distinct.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * 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.
2
+ * 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 search query has only one word. - `attribute`. The Exact ranking criterion is 1 if the query word and attribute value are the same. For example, a search for \"road\" will match the value \"road\", but not \"road trip\". - `none`. The Exact ranking criterion is ignored on single-word searches. - `word`. The Exact ranking criterion is 1 if the query word is found in the attribute value. The query word must have at least 3 characters and must not be a stop word. Only exact matches will be highlighted, partial and prefix matches won\'t.
3
3
  */
4
4
  export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
5
5
  //# sourceMappingURL=exactOnSingleWordQuery.d.ts.map