@algolia/recommend 5.2.2 → 5.2.4-beta.2

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 (221) hide show
  1. package/README.md +2 -2
  2. package/dist/browser.d.ts +1300 -0
  3. package/dist/builds/browser.js +398 -0
  4. package/dist/builds/browser.js.map +1 -0
  5. package/dist/builds/browser.min.js +2 -0
  6. package/dist/builds/browser.min.js.map +1 -0
  7. package/dist/builds/browser.umd.js +12 -0
  8. package/dist/builds/node.cjs +416 -0
  9. package/dist/builds/node.cjs.map +1 -0
  10. package/dist/builds/node.js +396 -0
  11. package/dist/builds/node.js.map +1 -0
  12. package/dist/node.d.cts +1300 -0
  13. package/dist/node.d.ts +1300 -0
  14. package/dist/src/recommendClient.cjs +385 -0
  15. package/dist/src/recommendClient.cjs.map +1 -0
  16. package/dist/src/recommendClient.js +359 -0
  17. package/dist/src/recommendClient.js.map +1 -0
  18. package/index.d.ts +1 -1
  19. package/index.js +1 -1
  20. package/model/booleanString.ts +3 -0
  21. package/model/ignorePlurals.ts +2 -1
  22. package/model/index.ts +1 -0
  23. package/package.json +27 -27
  24. package/dist/builds/browser.d.ts +0 -24
  25. package/dist/builds/browser.d.ts.map +0 -1
  26. package/dist/builds/node.d.ts +0 -24
  27. package/dist/builds/node.d.ts.map +0 -1
  28. package/dist/model/advancedSyntaxFeatures.d.ts +0 -2
  29. package/dist/model/advancedSyntaxFeatures.d.ts.map +0 -1
  30. package/dist/model/alternativesAsExact.d.ts +0 -2
  31. package/dist/model/alternativesAsExact.d.ts.map +0 -1
  32. package/dist/model/aroundPrecision.d.ts +0 -6
  33. package/dist/model/aroundPrecision.d.ts.map +0 -1
  34. package/dist/model/aroundRadius.d.ts +0 -6
  35. package/dist/model/aroundRadius.d.ts.map +0 -1
  36. package/dist/model/aroundRadiusAll.d.ts +0 -5
  37. package/dist/model/aroundRadiusAll.d.ts.map +0 -1
  38. package/dist/model/autoFacetFilter.d.ts +0 -14
  39. package/dist/model/autoFacetFilter.d.ts.map +0 -1
  40. package/dist/model/baseRecommendRequest.d.ts +0 -17
  41. package/dist/model/baseRecommendRequest.d.ts.map +0 -1
  42. package/dist/model/baseSearchParams.d.ts +0 -4
  43. package/dist/model/baseSearchParams.d.ts.map +0 -1
  44. package/dist/model/baseSearchParamsWithoutQuery.d.ts +0 -116
  45. package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +0 -1
  46. package/dist/model/baseSearchResponse.d.ts +0 -94
  47. package/dist/model/baseSearchResponse.d.ts.map +0 -1
  48. package/dist/model/boughtTogetherQuery.d.ts +0 -4
  49. package/dist/model/boughtTogetherQuery.d.ts.map +0 -1
  50. package/dist/model/clientMethodProps.d.ts +0 -135
  51. package/dist/model/clientMethodProps.d.ts.map +0 -1
  52. package/dist/model/condition.d.ts +0 -14
  53. package/dist/model/condition.d.ts.map +0 -1
  54. package/dist/model/consequence.d.ts +0 -18
  55. package/dist/model/consequence.d.ts.map +0 -1
  56. package/dist/model/deletedAtResponse.d.ts +0 -14
  57. package/dist/model/deletedAtResponse.d.ts.map +0 -1
  58. package/dist/model/distinct.d.ts +0 -5
  59. package/dist/model/distinct.d.ts.map +0 -1
  60. package/dist/model/errorBase.d.ts +0 -7
  61. package/dist/model/errorBase.d.ts.map +0 -1
  62. package/dist/model/exactOnSingleWordQuery.d.ts +0 -5
  63. package/dist/model/exactOnSingleWordQuery.d.ts.map +0 -1
  64. package/dist/model/exhaustive.d.ts +0 -26
  65. package/dist/model/exhaustive.d.ts.map +0 -1
  66. package/dist/model/facetFilters.d.ts +0 -5
  67. package/dist/model/facetFilters.d.ts.map +0 -1
  68. package/dist/model/facetOrdering.d.ts +0 -13
  69. package/dist/model/facetOrdering.d.ts.map +0 -1
  70. package/dist/model/facetStats.d.ts +0 -19
  71. package/dist/model/facetStats.d.ts.map +0 -1
  72. package/dist/model/facets.d.ts +0 -10
  73. package/dist/model/facets.d.ts.map +0 -1
  74. package/dist/model/fallbackParams.d.ts +0 -3
  75. package/dist/model/fallbackParams.d.ts.map +0 -1
  76. package/dist/model/fbtModel.d.ts +0 -5
  77. package/dist/model/fbtModel.d.ts.map +0 -1
  78. package/dist/model/frequentlyBoughtTogether.d.ts +0 -9
  79. package/dist/model/frequentlyBoughtTogether.d.ts.map +0 -1
  80. package/dist/model/getRecommendTaskResponse.d.ts +0 -5
  81. package/dist/model/getRecommendTaskResponse.d.ts.map +0 -1
  82. package/dist/model/getRecommendationsParams.d.ts +0 -11
  83. package/dist/model/getRecommendationsParams.d.ts.map +0 -1
  84. package/dist/model/getRecommendationsResponse.d.ts +0 -5
  85. package/dist/model/getRecommendationsResponse.d.ts.map +0 -1
  86. package/dist/model/hideConsequenceObject.d.ts +0 -10
  87. package/dist/model/hideConsequenceObject.d.ts.map +0 -1
  88. package/dist/model/highlightResult.d.ts +0 -5
  89. package/dist/model/highlightResult.d.ts.map +0 -1
  90. package/dist/model/highlightResultOption.d.ts +0 -20
  91. package/dist/model/highlightResultOption.d.ts.map +0 -1
  92. package/dist/model/ignorePlurals.d.ts +0 -6
  93. package/dist/model/ignorePlurals.d.ts.map +0 -1
  94. package/dist/model/index.d.ts +0 -94
  95. package/dist/model/index.d.ts.map +0 -1
  96. package/dist/model/indexSettingsAsSearchParams.d.ts +0 -160
  97. package/dist/model/indexSettingsAsSearchParams.d.ts.map +0 -1
  98. package/dist/model/lookingSimilar.d.ts +0 -11
  99. package/dist/model/lookingSimilar.d.ts.map +0 -1
  100. package/dist/model/lookingSimilarModel.d.ts +0 -5
  101. package/dist/model/lookingSimilarModel.d.ts.map +0 -1
  102. package/dist/model/lookingSimilarQuery.d.ts +0 -4
  103. package/dist/model/lookingSimilarQuery.d.ts.map +0 -1
  104. package/dist/model/matchLevel.d.ts +0 -5
  105. package/dist/model/matchLevel.d.ts.map +0 -1
  106. package/dist/model/matchedGeoLocation.d.ts +0 -15
  107. package/dist/model/matchedGeoLocation.d.ts.map +0 -1
  108. package/dist/model/mode.d.ts +0 -5
  109. package/dist/model/mode.d.ts.map +0 -1
  110. package/dist/model/numericFilters.d.ts +0 -5
  111. package/dist/model/numericFilters.d.ts.map +0 -1
  112. package/dist/model/optionalFilters.d.ts +0 -5
  113. package/dist/model/optionalFilters.d.ts.map +0 -1
  114. package/dist/model/paramsConsequence.d.ts +0 -19
  115. package/dist/model/paramsConsequence.d.ts.map +0 -1
  116. package/dist/model/personalization.d.ts +0 -15
  117. package/dist/model/personalization.d.ts.map +0 -1
  118. package/dist/model/promoteConsequenceObject.d.ts +0 -14
  119. package/dist/model/promoteConsequenceObject.d.ts.map +0 -1
  120. package/dist/model/queryType.d.ts +0 -5
  121. package/dist/model/queryType.d.ts.map +0 -1
  122. package/dist/model/range.d.ts +0 -14
  123. package/dist/model/range.d.ts.map +0 -1
  124. package/dist/model/rankingInfo.d.ts +0 -54
  125. package/dist/model/rankingInfo.d.ts.map +0 -1
  126. package/dist/model/reRankingApplyFilter.d.ts +0 -5
  127. package/dist/model/reRankingApplyFilter.d.ts.map +0 -1
  128. package/dist/model/recommendHit.d.ts +0 -27
  129. package/dist/model/recommendHit.d.ts.map +0 -1
  130. package/dist/model/recommendModels.d.ts +0 -2
  131. package/dist/model/recommendModels.d.ts.map +0 -1
  132. package/dist/model/recommendRule.d.ts +0 -24
  133. package/dist/model/recommendRule.d.ts.map +0 -1
  134. package/dist/model/recommendationsHit.d.ts +0 -4
  135. package/dist/model/recommendationsHit.d.ts.map +0 -1
  136. package/dist/model/recommendationsHits.d.ts +0 -5
  137. package/dist/model/recommendationsHits.d.ts.map +0 -1
  138. package/dist/model/recommendationsRequest.d.ts +0 -8
  139. package/dist/model/recommendationsRequest.d.ts.map +0 -1
  140. package/dist/model/recommendationsResults.d.ts +0 -5
  141. package/dist/model/recommendationsResults.d.ts.map +0 -1
  142. package/dist/model/recommendedForYou.d.ts +0 -7
  143. package/dist/model/recommendedForYou.d.ts.map +0 -1
  144. package/dist/model/recommendedForYouModel.d.ts +0 -5
  145. package/dist/model/recommendedForYouModel.d.ts.map +0 -1
  146. package/dist/model/recommendedForYouQuery.d.ts +0 -4
  147. package/dist/model/recommendedForYouQuery.d.ts.map +0 -1
  148. package/dist/model/redirect.d.ts +0 -8
  149. package/dist/model/redirect.d.ts.map +0 -1
  150. package/dist/model/redirectRuleIndexData.d.ts +0 -7
  151. package/dist/model/redirectRuleIndexData.d.ts.map +0 -1
  152. package/dist/model/redirectRuleIndexMetadata.d.ts +0 -21
  153. package/dist/model/redirectRuleIndexMetadata.d.ts.map +0 -1
  154. package/dist/model/redirectURL.d.ts +0 -7
  155. package/dist/model/redirectURL.d.ts.map +0 -1
  156. package/dist/model/relatedModel.d.ts +0 -5
  157. package/dist/model/relatedModel.d.ts.map +0 -1
  158. package/dist/model/relatedProducts.d.ts +0 -11
  159. package/dist/model/relatedProducts.d.ts.map +0 -1
  160. package/dist/model/relatedQuery.d.ts +0 -4
  161. package/dist/model/relatedQuery.d.ts.map +0 -1
  162. package/dist/model/removeStopWords.d.ts +0 -6
  163. package/dist/model/removeStopWords.d.ts.map +0 -1
  164. package/dist/model/removeWordsIfNoResults.d.ts +0 -5
  165. package/dist/model/removeWordsIfNoResults.d.ts.map +0 -1
  166. package/dist/model/renderingContent.d.ts +0 -10
  167. package/dist/model/renderingContent.d.ts.map +0 -1
  168. package/dist/model/ruleMetadata.d.ts +0 -10
  169. package/dist/model/ruleMetadata.d.ts.map +0 -1
  170. package/dist/model/searchPagination.d.ts +0 -19
  171. package/dist/model/searchPagination.d.ts.map +0 -1
  172. package/dist/model/searchParams.d.ts +0 -3
  173. package/dist/model/searchParams.d.ts.map +0 -1
  174. package/dist/model/searchParamsObject.d.ts +0 -7
  175. package/dist/model/searchParamsObject.d.ts.map +0 -1
  176. package/dist/model/searchParamsQuery.d.ts +0 -7
  177. package/dist/model/searchParamsQuery.d.ts.map +0 -1
  178. package/dist/model/searchRecommendRulesParams.d.ts +0 -38
  179. package/dist/model/searchRecommendRulesParams.d.ts.map +0 -1
  180. package/dist/model/searchRecommendRulesResponse.d.ts +0 -20
  181. package/dist/model/searchRecommendRulesResponse.d.ts.map +0 -1
  182. package/dist/model/semanticSearch.d.ts +0 -10
  183. package/dist/model/semanticSearch.d.ts.map +0 -1
  184. package/dist/model/snippetResult.d.ts +0 -5
  185. package/dist/model/snippetResult.d.ts.map +0 -1
  186. package/dist/model/snippetResultOption.d.ts +0 -12
  187. package/dist/model/snippetResultOption.d.ts.map +0 -1
  188. package/dist/model/sortRemainingBy.d.ts +0 -5
  189. package/dist/model/sortRemainingBy.d.ts.map +0 -1
  190. package/dist/model/supportedLanguage.d.ts +0 -5
  191. package/dist/model/supportedLanguage.d.ts.map +0 -1
  192. package/dist/model/tagFilters.d.ts +0 -5
  193. package/dist/model/tagFilters.d.ts.map +0 -1
  194. package/dist/model/taskStatus.d.ts +0 -5
  195. package/dist/model/taskStatus.d.ts.map +0 -1
  196. package/dist/model/trendingFacetHit.d.ts +0 -18
  197. package/dist/model/trendingFacetHit.d.ts.map +0 -1
  198. package/dist/model/trendingFacets.d.ts +0 -11
  199. package/dist/model/trendingFacets.d.ts.map +0 -1
  200. package/dist/model/trendingFacetsModel.d.ts +0 -5
  201. package/dist/model/trendingFacetsModel.d.ts.map +0 -1
  202. package/dist/model/trendingFacetsQuery.d.ts +0 -4
  203. package/dist/model/trendingFacetsQuery.d.ts.map +0 -1
  204. package/dist/model/trendingItems.d.ts +0 -15
  205. package/dist/model/trendingItems.d.ts.map +0 -1
  206. package/dist/model/trendingItemsModel.d.ts +0 -5
  207. package/dist/model/trendingItemsModel.d.ts.map +0 -1
  208. package/dist/model/trendingItemsQuery.d.ts +0 -4
  209. package/dist/model/trendingItemsQuery.d.ts.map +0 -1
  210. package/dist/model/typoTolerance.d.ts +0 -6
  211. package/dist/model/typoTolerance.d.ts.map +0 -1
  212. package/dist/model/typoToleranceEnum.d.ts +0 -5
  213. package/dist/model/typoToleranceEnum.d.ts.map +0 -1
  214. package/dist/model/value.d.ts +0 -13
  215. package/dist/model/value.d.ts.map +0 -1
  216. package/dist/recommend.cjs +0 -394
  217. package/dist/recommend.esm.browser.js +0 -1079
  218. package/dist/recommend.esm.node.js +0 -391
  219. package/dist/recommend.umd.js +0 -2
  220. package/dist/src/recommendClient.d.ts +0 -132
  221. package/dist/src/recommendClient.d.ts.map +0 -1
@@ -1,54 +0,0 @@
1
- import type { MatchedGeoLocation } from './matchedGeoLocation';
2
- import type { Personalization } from './personalization';
3
- /**
4
- * Object with detailed information about the record\'s ranking.
5
- */
6
- export type RankingInfo = {
7
- /**
8
- * Whether a filter matched the query.
9
- */
10
- filters?: number;
11
- /**
12
- * Position of the first matched word in the best matching attribute of the record.
13
- */
14
- firstMatchedWord: number;
15
- /**
16
- * Distance between the geo location in the search query and the best matching geo location in the record, divided by the geo precision (in meters).
17
- */
18
- geoDistance: number;
19
- /**
20
- * Precision used when computing the geo distance, in meters.
21
- */
22
- geoPrecision?: number;
23
- matchedGeoLocation?: MatchedGeoLocation;
24
- personalization?: Personalization;
25
- /**
26
- * Number of exactly matched words.
27
- */
28
- nbExactWords: number;
29
- /**
30
- * Number of typos encountered when matching the record.
31
- */
32
- nbTypos: number;
33
- /**
34
- * Whether the record was promoted by a rule.
35
- */
36
- promoted?: boolean;
37
- /**
38
- * Number of words between multiple matches in the query plus 1. For single word queries, `proximityDistance` is 0.
39
- */
40
- proximityDistance?: number;
41
- /**
42
- * Overall ranking of the record, expressed as a single integer. This attribute is internal.
43
- */
44
- userScore: number;
45
- /**
46
- * Number of matched words.
47
- */
48
- words?: number;
49
- /**
50
- * Whether the record is re-ranked.
51
- */
52
- promotedByReRanking?: boolean;
53
- };
54
- //# sourceMappingURL=rankingInfo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rankingInfo.d.ts","sourceRoot":"","sources":["../../model/rankingInfo.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IAExC,eAAe,CAAC,EAAE,eAAe,CAAC;IAElC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Restrict [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) to records that match these filters.
3
- */
4
- export type ReRankingApplyFilter = ReRankingApplyFilter[] | string;
5
- //# sourceMappingURL=reRankingApplyFilter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reRankingApplyFilter.d.ts","sourceRoot":"","sources":["../../model/reRankingApplyFilter.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,oBAAoB,EAAE,GAAG,MAAM,CAAC"}
@@ -1,27 +0,0 @@
1
- import type { HighlightResult } from './highlightResult';
2
- import type { RankingInfo } from './rankingInfo';
3
- import type { SnippetResult } from './snippetResult';
4
- /**
5
- * Recommend hit.
6
- */
7
- export type RecommendHit = Record<string, any> & {
8
- /**
9
- * Unique record identifier.
10
- */
11
- objectID: string;
12
- /**
13
- * Surround words that match the query with HTML tags for highlighting.
14
- */
15
- _highlightResult?: Record<string, HighlightResult>;
16
- /**
17
- * Snippets that show the context around a matching search query.
18
- */
19
- _snippetResult?: Record<string, SnippetResult>;
20
- _rankingInfo?: RankingInfo;
21
- _distinctSeqID?: number;
22
- /**
23
- * Recommendation score.
24
- */
25
- _score: number;
26
- };
27
- //# sourceMappingURL=recommendHit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendHit.d.ts","sourceRoot":"","sources":["../../model/recommendHit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAC/C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAEnD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAE/C,YAAY,CAAC,EAAE,WAAW,CAAC;IAE3B,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
@@ -1,2 +0,0 @@
1
- export type RecommendModels = 'bought-together' | 'related-products' | 'trending-facets' | 'trending-items';
2
- //# sourceMappingURL=recommendModels.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendModels.d.ts","sourceRoot":"","sources":["../../model/recommendModels.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,gBAAgB,CAAC"}
@@ -1,24 +0,0 @@
1
- import type { Condition } from './condition';
2
- import type { Consequence } from './consequence';
3
- import type { RuleMetadata } from './ruleMetadata';
4
- /**
5
- * Recommend rule.
6
- */
7
- export type RecommendRule = {
8
- _metadata?: RuleMetadata;
9
- /**
10
- * Unique identifier of a rule object.
11
- */
12
- objectID?: string;
13
- condition?: Condition;
14
- consequence?: Consequence;
15
- /**
16
- * Description of the rule\'s purpose. This can be helpful for display in the Algolia dashboard.
17
- */
18
- description?: string;
19
- /**
20
- * Indicates whether to enable the rule. If it isn\'t enabled, it isn\'t applied at query time.
21
- */
22
- enabled?: boolean;
23
- };
24
- //# sourceMappingURL=recommendRule.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendRule.d.ts","sourceRoot":"","sources":["../../model/recommendRule.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,CAAC,EAAE,YAAY,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { RecommendHit } from './recommendHit';
2
- import type { TrendingFacetHit } from './trendingFacetHit';
3
- export type RecommendationsHit = RecommendHit | TrendingFacetHit;
4
- //# sourceMappingURL=recommendationsHit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendationsHit.d.ts","sourceRoot":"","sources":["../../model/recommendationsHit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,gBAAgB,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { RecommendationsHit } from './recommendationsHit';
2
- export type RecommendationsHits = {
3
- hits: RecommendationsHit[];
4
- };
5
- //# sourceMappingURL=recommendationsHits.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendationsHits.d.ts","sourceRoot":"","sources":["../../model/recommendationsHits.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,kBAAkB,EAAE,CAAC;CAC5B,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { BoughtTogetherQuery } from './boughtTogetherQuery';
2
- import type { LookingSimilarQuery } from './lookingSimilarQuery';
3
- import type { RecommendedForYouQuery } from './recommendedForYouQuery';
4
- import type { RelatedQuery } from './relatedQuery';
5
- import type { TrendingFacetsQuery } from './trendingFacetsQuery';
6
- import type { TrendingItemsQuery } from './trendingItemsQuery';
7
- export type RecommendationsRequest = BoughtTogetherQuery | LookingSimilarQuery | RecommendedForYouQuery | RelatedQuery | TrendingFacetsQuery | TrendingItemsQuery;
8
- //# sourceMappingURL=recommendationsRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendationsRequest.d.ts","sourceRoot":"","sources":["../../model/recommendationsRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,sBAAsB,GAC9B,mBAAmB,GACnB,mBAAmB,GACnB,sBAAsB,GACtB,YAAY,GACZ,mBAAmB,GACnB,kBAAkB,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { BaseSearchResponse } from './baseSearchResponse';
2
- import type { RecommendationsHits } from './recommendationsHits';
3
- import type { SearchPagination } from './searchPagination';
4
- export type RecommendationsResults = BaseSearchResponse & RecommendationsHits & SearchPagination;
5
- //# sourceMappingURL=recommendationsResults.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendationsResults.d.ts","sourceRoot":"","sources":["../../model/recommendationsResults.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,sBAAsB,GAAG,kBAAkB,GAAG,mBAAmB,GAAG,gBAAgB,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { FallbackParams } from './fallbackParams';
2
- import type { RecommendedForYouModel } from './recommendedForYouModel';
3
- export type RecommendedForYou = {
4
- model: RecommendedForYouModel;
5
- fallbackParameters?: FallbackParams;
6
- };
7
- //# sourceMappingURL=recommendedForYou.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendedForYou.d.ts","sourceRoot":"","sources":["../../model/recommendedForYou.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,sBAAsB,CAAC;IAE9B,kBAAkB,CAAC,EAAE,cAAc,CAAC;CACrC,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * \"Recommened for you\" model.
3
- */
4
- export type RecommendedForYouModel = 'recommended-for-you';
5
- //# sourceMappingURL=recommendedForYouModel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendedForYouModel.d.ts","sourceRoot":"","sources":["../../model/recommendedForYouModel.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { BaseRecommendRequest } from './baseRecommendRequest';
2
- import type { RecommendedForYou } from './recommendedForYou';
3
- export type RecommendedForYouQuery = BaseRecommendRequest & RecommendedForYou;
4
- //# sourceMappingURL=recommendedForYouQuery.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendedForYouQuery.d.ts","sourceRoot":"","sources":["../../model/recommendedForYouQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,GAAG,iBAAiB,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { RedirectRuleIndexMetadata } from './redirectRuleIndexMetadata';
2
- /**
3
- * [Redirect results to a URL](https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/redirects/), this this parameter is for internal use only.
4
- */
5
- export type Redirect = {
6
- index?: RedirectRuleIndexMetadata[];
7
- };
8
- //# sourceMappingURL=redirect.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redirect.d.ts","sourceRoot":"","sources":["../../model/redirect.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAE7E;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,CAAC,EAAE,yBAAyB,EAAE,CAAC;CACrC,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Redirect rule data.
3
- */
4
- export type RedirectRuleIndexData = {
5
- ruleObjectID: string;
6
- };
7
- //# sourceMappingURL=redirectRuleIndexData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redirectRuleIndexData.d.ts","sourceRoot":"","sources":["../../model/redirectRuleIndexData.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -1,21 +0,0 @@
1
- import type { RedirectRuleIndexData } from './redirectRuleIndexData';
2
- export type RedirectRuleIndexMetadata = {
3
- /**
4
- * Source index for the redirect rule.
5
- */
6
- source: string;
7
- /**
8
- * Destination index for the redirect rule.
9
- */
10
- dest: string;
11
- /**
12
- * Reason for the redirect rule.
13
- */
14
- reason: string;
15
- /**
16
- * Redirect rule status.
17
- */
18
- succeed: boolean;
19
- data: RedirectRuleIndexData;
20
- };
21
- //# sourceMappingURL=redirectRuleIndexMetadata.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redirectRuleIndexMetadata.d.ts","sourceRoot":"","sources":["../../model/redirectRuleIndexMetadata.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB,IAAI,EAAE,qBAAqB,CAAC;CAC7B,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * The redirect rule container.
3
- */
4
- export type RedirectURL = {
5
- url?: string;
6
- };
7
- //# sourceMappingURL=redirectURL.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redirectURL.d.ts","sourceRoot":"","sources":["../../model/redirectURL.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Related products or similar content model. This model recommends items that are similar to the item with the ID `objectID`. Similarity is determined from the user interactions and attributes.
3
- */
4
- export type RelatedModel = 'related-products';
5
- //# sourceMappingURL=relatedModel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"relatedModel.d.ts","sourceRoot":"","sources":["../../model/relatedModel.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,kBAAkB,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { FallbackParams } from './fallbackParams';
2
- import type { RelatedModel } from './relatedModel';
3
- export type RelatedProducts = {
4
- model: RelatedModel;
5
- /**
6
- * Unique record identifier.
7
- */
8
- objectID: string;
9
- fallbackParameters?: FallbackParams;
10
- };
11
- //# sourceMappingURL=relatedProducts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"relatedProducts.d.ts","sourceRoot":"","sources":["../../model/relatedProducts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,YAAY,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,kBAAkB,CAAC,EAAE,cAAc,CAAC;CACrC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { BaseRecommendRequest } from './baseRecommendRequest';
2
- import type { RelatedProducts } from './relatedProducts';
3
- export type RelatedQuery = BaseRecommendRequest & RelatedProducts;
4
- //# sourceMappingURL=relatedQuery.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"relatedQuery.d.ts","sourceRoot":"","sources":["../../model/relatedQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG,eAAe,CAAC"}
@@ -1,6 +0,0 @@
1
- import type { SupportedLanguage } from './supportedLanguage';
2
- /**
3
- * 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.
4
- */
5
- export type RemoveStopWords = SupportedLanguage[] | boolean;
6
- //# sourceMappingURL=removeStopWords.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"removeStopWords.d.ts","sourceRoot":"","sources":["../../model/removeStopWords.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,iBAAiB,EAAE,GAAG,OAAO,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Strategy for removing words from the query when it doesn\'t return any results. This helps to avoid returning empty search results. - `none`. No words are removed when a query doesn\'t return results. - `lastWords`. Treat the last (then second to last, then third to last) word as optional, until there are results or at most 5 words have been removed. - `firstWords`. Treat the first (then second, then third) word as optional, until there are results or at most 5 words have been removed. - `allOptional`. Treat all words as optional. For more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results/).
3
- */
4
- export type RemoveWordsIfNoResults = 'allOptional' | 'firstWords' | 'lastWords' | 'none';
5
- //# sourceMappingURL=removeWordsIfNoResults.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"removeWordsIfNoResults.d.ts","sourceRoot":"","sources":["../../model/removeWordsIfNoResults.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG,YAAY,GAAG,WAAW,GAAG,MAAM,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { FacetOrdering } from './facetOrdering';
2
- import type { RedirectURL } from './redirectURL';
3
- /**
4
- * 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.
5
- */
6
- export type RenderingContent = {
7
- facetOrdering?: FacetOrdering;
8
- redirect?: RedirectURL;
9
- };
10
- //# sourceMappingURL=renderingContent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderingContent.d.ts","sourceRoot":"","sources":["../../model/renderingContent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC;IAE9B,QAAQ,CAAC,EAAE,WAAW,CAAC;CACxB,CAAC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * Rule metadata.
3
- */
4
- export type RuleMetadata = {
5
- /**
6
- * Date and time when the object was updated, in RFC 3339 format.
7
- */
8
- lastUpdate?: string;
9
- };
10
- //# sourceMappingURL=ruleMetadata.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ruleMetadata.d.ts","sourceRoot":"","sources":["../../model/ruleMetadata.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -1,19 +0,0 @@
1
- export type SearchPagination = {
2
- /**
3
- * Page of search results to retrieve.
4
- */
5
- page: number;
6
- /**
7
- * Number of results (hits).
8
- */
9
- nbHits: number;
10
- /**
11
- * Number of pages of results.
12
- */
13
- nbPages: number;
14
- /**
15
- * Number of hits per page.
16
- */
17
- hitsPerPage: number;
18
- };
19
- //# sourceMappingURL=searchPagination.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchPagination.d.ts","sourceRoot":"","sources":["../../model/searchPagination.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { SearchParamsObject } from './searchParamsObject';
2
- export type SearchParams = Record<string, unknown> & SearchParamsObject;
3
- //# sourceMappingURL=searchParams.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchParams.d.ts","sourceRoot":"","sources":["../../model/searchParams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,kBAAkB,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { BaseSearchParams } from './baseSearchParams';
2
- import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
3
- /**
4
- * Each parameter value, including the `query` must not be larger than 512 bytes.
5
- */
6
- export type SearchParamsObject = BaseSearchParams & IndexSettingsAsSearchParams;
7
- //# sourceMappingURL=searchParamsObject.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchParamsObject.d.ts","sourceRoot":"","sources":["../../model/searchParamsObject.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAEjF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG,2BAA2B,CAAC"}
@@ -1,7 +0,0 @@
1
- export type SearchParamsQuery = {
2
- /**
3
- * Search query.
4
- */
5
- query?: string;
6
- };
7
- //# sourceMappingURL=searchParamsQuery.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchParamsQuery.d.ts","sourceRoot":"","sources":["../../model/searchParamsQuery.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
@@ -1,38 +0,0 @@
1
- /**
2
- * Recommend rules parameters.
3
- */
4
- export type SearchRecommendRulesParams = {
5
- /**
6
- * Search query.
7
- */
8
- query?: string;
9
- /**
10
- * Only search for rules with matching context.
11
- */
12
- context?: string;
13
- /**
14
- * Requested page of the API response.
15
- */
16
- page?: number;
17
- /**
18
- * Maximum number of hits per page.
19
- */
20
- hitsPerPage?: number;
21
- /**
22
- * Whether to only show rules where the value of their `enabled` property matches this parameter. If absent, show all rules, regardless of their `enabled` property.
23
- */
24
- enabled?: boolean;
25
- /**
26
- * Filter expression. This only searches for rules matching the filter expression.
27
- */
28
- filters?: string;
29
- /**
30
- * Include facets and facet values in the response. Use `[\'*\']` to include all facets.
31
- */
32
- facets?: string[];
33
- /**
34
- * Maximum number of values to return for each facet.
35
- */
36
- maxValuesPerFacet?: number;
37
- };
38
- //# sourceMappingURL=searchRecommendRulesParams.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchRecommendRulesParams.d.ts","sourceRoot":"","sources":["../../model/searchRecommendRulesParams.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC"}
@@ -1,20 +0,0 @@
1
- import type { RecommendRule } from './recommendRule';
2
- export type SearchRecommendRulesResponse = {
3
- /**
4
- * Recommend rules that match the search criteria.
5
- */
6
- hits: RecommendRule[];
7
- /**
8
- * Number of results (hits).
9
- */
10
- nbHits: number;
11
- /**
12
- * Page of search results to retrieve.
13
- */
14
- page: number;
15
- /**
16
- * Number of pages of results.
17
- */
18
- nbPages: number;
19
- };
20
- //# sourceMappingURL=searchRecommendRulesResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchRecommendRulesResponse.d.ts","sourceRoot":"","sources":["../../model/searchRecommendRulesResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,IAAI,EAAE,aAAa,EAAE,CAAC;IAEtB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * Settings for the semantic search part of NeuralSearch. Only used when `mode` is `neuralSearch`.
3
- */
4
- export type SemanticSearch = {
5
- /**
6
- * Indices from which to collect click and conversion events. If null, the current index and all its replicas are used.
7
- */
8
- eventSources?: string[] | null;
9
- };
10
- //# sourceMappingURL=semanticSearch.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"semanticSearch.d.ts","sourceRoot":"","sources":["../../model/semanticSearch.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;CAChC,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { SnippetResultOption } from './snippetResultOption';
2
- export type SnippetResult = Record<string, SnippetResultOption> | SnippetResultOption | SnippetResultOption[] | {
3
- [key: string]: SnippetResult;
4
- };
5
- //# sourceMappingURL=snippetResult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"snippetResult.d.ts","sourceRoot":"","sources":["../../model/snippetResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,aAAa,GACrB,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,GACnC,mBAAmB,GACnB,mBAAmB,EAAE,GACrB;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;CAAE,CAAC"}
@@ -1,12 +0,0 @@
1
- import type { MatchLevel } from './matchLevel';
2
- /**
3
- * Snippets that show the context around a matching search query.
4
- */
5
- export type SnippetResultOption = {
6
- /**
7
- * Highlighted attribute value, including HTML tags.
8
- */
9
- value: string;
10
- matchLevel: MatchLevel;
11
- };
12
- //# sourceMappingURL=snippetResultOption.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"snippetResultOption.d.ts","sourceRoot":"","sources":["../../model/snippetResultOption.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Order of facet values that aren\'t explicitly positioned with the `order` setting. - `count`. Order remaining facet values by decreasing count. The count is the number of matching records containing this facet value. - `alpha`. Sort facet values alphabetically. - `hidden`. Don\'t show facet values that aren\'t explicitly positioned.
3
- */
4
- export type SortRemainingBy = 'alpha' | 'count' | 'hidden';
5
- //# sourceMappingURL=sortRemainingBy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sortRemainingBy.d.ts","sourceRoot":"","sources":["../../model/sortRemainingBy.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * ISO code for a supported language.
3
- */
4
- export type SupportedLanguage = 'af' | 'ar' | 'az' | 'bg' | 'bn' | 'ca' | 'cs' | 'cy' | 'da' | 'de' | 'el' | 'en' | 'eo' | 'es' | 'et' | 'eu' | 'fa' | 'fi' | 'fo' | 'fr' | 'ga' | 'gl' | 'he' | 'hi' | 'hu' | 'hy' | 'id' | 'is' | 'it' | 'ja' | 'ka' | 'kk' | 'ko' | 'ku' | 'ky' | 'lt' | 'lv' | 'mi' | 'mn' | 'mr' | 'ms' | 'mt' | 'nb' | 'nl' | 'no' | 'ns' | 'pl' | 'ps' | 'pt-br' | 'pt' | 'qu' | 'ro' | 'ru' | 'sk' | 'sq' | 'sv' | 'sw' | 'ta' | 'te' | 'th' | 'tl' | 'tn' | 'tr' | 'tt' | 'uk' | 'ur' | 'uz' | 'zh';
5
- //# sourceMappingURL=supportedLanguage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"supportedLanguage.d.ts","sourceRoot":"","sources":["../../model/supportedLanguage.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GACzB,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,OAAO,GACP,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * 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`.
3
- */
4
- export type TagFilters = TagFilters[] | string;
5
- //# sourceMappingURL=tagFilters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tagFilters.d.ts","sourceRoot":"","sources":["../../model/tagFilters.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,EAAE,GAAG,MAAM,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Task status, `published` if the task is completed, `notPublished` otherwise.
3
- */
4
- export type TaskStatus = 'notPublished' | 'published';
5
- //# sourceMappingURL=taskStatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taskStatus.d.ts","sourceRoot":"","sources":["../../model/taskStatus.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG,WAAW,CAAC"}
@@ -1,18 +0,0 @@
1
- /**
2
- * Trending facet hit.
3
- */
4
- export type TrendingFacetHit = {
5
- /**
6
- * Recommendation score.
7
- */
8
- _score: number;
9
- /**
10
- * Facet attribute. To be used in combination with `facetValue`. If specified, only recommendations matching the facet filter will be returned.
11
- */
12
- facetName: string;
13
- /**
14
- * Facet value. To be used in combination with `facetName`. If specified, only recommendations matching the facet filter will be returned.
15
- */
16
- facetValue: string;
17
- };
18
- //# sourceMappingURL=trendingFacetHit.d.ts.map