@algolia/recommend 5.9.0 → 5.10.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 (121) hide show
  1. package/README.md +4 -4
  2. package/dist/browser.d.ts +1 -1
  3. package/dist/builds/browser.js +1 -1
  4. package/dist/builds/browser.js.map +1 -1
  5. package/dist/builds/browser.min.js +1 -1
  6. package/dist/builds/browser.min.js.map +1 -1
  7. package/dist/builds/browser.umd.js +1 -1
  8. package/dist/builds/fetch.js +1 -1
  9. package/dist/builds/fetch.js.map +1 -1
  10. package/dist/builds/node.cjs +1 -1
  11. package/dist/builds/node.cjs.map +1 -1
  12. package/dist/builds/node.js +1 -1
  13. package/dist/builds/node.js.map +1 -1
  14. package/dist/fetch.d.ts +1 -1
  15. package/dist/node.d.cts +1 -1
  16. package/dist/node.d.ts +1 -1
  17. package/dist/src/recommendClient.cjs +1 -1
  18. package/dist/src/recommendClient.cjs.map +1 -1
  19. package/dist/src/recommendClient.js +1 -1
  20. package/dist/src/recommendClient.js.map +1 -1
  21. package/package.json +6 -7
  22. package/model/advancedSyntaxFeatures.ts +0 -3
  23. package/model/alternativesAsExact.ts +0 -3
  24. package/model/aroundPrecision.ts +0 -8
  25. package/model/aroundRadius.ts +0 -8
  26. package/model/aroundRadiusAll.ts +0 -6
  27. package/model/autoFacetFilter.ts +0 -16
  28. package/model/banner.ts +0 -13
  29. package/model/bannerImage.ts +0 -12
  30. package/model/bannerImageUrl.ts +0 -8
  31. package/model/bannerLink.ts +0 -8
  32. package/model/baseIndexSettings.ts +0 -90
  33. package/model/baseRecommendIndexSettings.ts +0 -184
  34. package/model/baseRecommendRequest.ts +0 -22
  35. package/model/baseRecommendSearchParams.ts +0 -133
  36. package/model/baseSearchResponse.ts +0 -129
  37. package/model/booleanString.ts +0 -3
  38. package/model/boughtTogetherQuery.ts +0 -6
  39. package/model/clientMethodProps.ts +0 -163
  40. package/model/condition.ts +0 -16
  41. package/model/consequence.ts +0 -22
  42. package/model/deletedAtResponse.ts +0 -16
  43. package/model/distinct.ts +0 -6
  44. package/model/errorBase.ts +0 -8
  45. package/model/exactOnSingleWordQuery.ts +0 -6
  46. package/model/exhaustive.ts +0 -31
  47. package/model/facetFilters.ts +0 -6
  48. package/model/facetOrdering.ts +0 -16
  49. package/model/facetStats.ts +0 -23
  50. package/model/fallbackParams.ts +0 -5
  51. package/model/fbtModel.ts +0 -6
  52. package/model/frequentlyBoughtTogether.ts +0 -12
  53. package/model/getRecommendTaskResponse.ts +0 -7
  54. package/model/getRecommendationsParams.ts +0 -13
  55. package/model/getRecommendationsResponse.ts +0 -7
  56. package/model/hideConsequenceObject.ts +0 -11
  57. package/model/highlightResult.ts +0 -5
  58. package/model/highlightResultOption.ts +0 -25
  59. package/model/ignorePlurals.ts +0 -9
  60. package/model/index.ts +0 -101
  61. package/model/indexSettingsFacets.ts +0 -11
  62. package/model/lookingSimilar.ts +0 -15
  63. package/model/lookingSimilarModel.ts +0 -6
  64. package/model/lookingSimilarQuery.ts +0 -6
  65. package/model/matchLevel.ts +0 -6
  66. package/model/matchedGeoLocation.ts +0 -18
  67. package/model/numericFilters.ts +0 -6
  68. package/model/optionalFilters.ts +0 -6
  69. package/model/paramsConsequence.ts +0 -23
  70. package/model/personalization.ts +0 -18
  71. package/model/promoteConsequenceObject.ts +0 -16
  72. package/model/queryType.ts +0 -6
  73. package/model/range.ts +0 -16
  74. package/model/rankingInfo.ts +0 -68
  75. package/model/reRankingApplyFilter.ts +0 -6
  76. package/model/recommendHit.ts +0 -34
  77. package/model/recommendIndexSettings.ts +0 -9
  78. package/model/recommendModels.ts +0 -3
  79. package/model/recommendRule.ts +0 -37
  80. package/model/recommendSearchParams.ts +0 -10
  81. package/model/recommendUpdatedAtResponse.ts +0 -16
  82. package/model/recommendationsHit.ts +0 -7
  83. package/model/recommendationsHits.ts +0 -7
  84. package/model/recommendationsRequest.ts +0 -18
  85. package/model/recommendationsResults.ts +0 -7
  86. package/model/recommendedForYou.ts +0 -10
  87. package/model/recommendedForYouModel.ts +0 -6
  88. package/model/recommendedForYouQuery.ts +0 -6
  89. package/model/redirect.ts +0 -10
  90. package/model/redirectRuleIndexData.ts +0 -8
  91. package/model/redirectRuleIndexMetadata.ts +0 -27
  92. package/model/redirectURL.ts +0 -8
  93. package/model/relatedModel.ts +0 -6
  94. package/model/relatedProducts.ts +0 -15
  95. package/model/relatedQuery.ts +0 -6
  96. package/model/removeStopWords.ts +0 -8
  97. package/model/removeWordsIfNoResults.ts +0 -6
  98. package/model/renderingContent.ts +0 -16
  99. package/model/ruleMetadata.ts +0 -11
  100. package/model/searchPagination.ts +0 -23
  101. package/model/searchParamsQuery.ts +0 -8
  102. package/model/searchRecommendRulesParams.ts +0 -46
  103. package/model/searchRecommendRulesResponse.ts +0 -25
  104. package/model/snippetResult.ts +0 -5
  105. package/model/snippetResultOption.ts +0 -15
  106. package/model/sortRemainingBy.ts +0 -6
  107. package/model/supportedLanguage.ts +0 -74
  108. package/model/tagFilters.ts +0 -6
  109. package/model/taskStatus.ts +0 -6
  110. package/model/timeRange.ts +0 -13
  111. package/model/trendingFacetHit.ts +0 -21
  112. package/model/trendingFacets.ts +0 -15
  113. package/model/trendingFacetsModel.ts +0 -6
  114. package/model/trendingFacetsQuery.ts +0 -6
  115. package/model/trendingItems.ts +0 -20
  116. package/model/trendingItemsModel.ts +0 -6
  117. package/model/trendingItemsQuery.ts +0 -6
  118. package/model/typoTolerance.ts +0 -8
  119. package/model/typoToleranceEnum.ts +0 -6
  120. package/model/value.ts +0 -17
  121. package/model/widgets.ts +0 -13
@@ -1,20 +0,0 @@
1
- // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
-
3
- import type { FallbackParams } from './fallbackParams';
4
- import type { TrendingItemsModel } from './trendingItemsModel';
5
-
6
- export type TrendingItems = {
7
- /**
8
- * Facet attribute. To be used in combination with `facetValue`. If specified, only recommendations matching the facet filter will be returned.
9
- */
10
- facetName?: string;
11
-
12
- /**
13
- * Facet value. To be used in combination with `facetName`. If specified, only recommendations matching the facet filter will be returned.
14
- */
15
- facetValue?: string;
16
-
17
- model: TrendingItemsModel;
18
-
19
- fallbackParameters?: FallbackParams;
20
- };
@@ -1,6 +0,0 @@
1
- // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
-
3
- /**
4
- * Trending items model. Trending items are determined from the number of conversion events collected on them.
5
- */
6
- export type TrendingItemsModel = 'trending-items';
@@ -1,6 +0,0 @@
1
- // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
-
3
- import type { BaseRecommendRequest } from './baseRecommendRequest';
4
- import type { TrendingItems } from './trendingItems';
5
-
6
- export type TrendingItemsQuery = BaseRecommendRequest & TrendingItems;
@@ -1,8 +0,0 @@
1
- // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
-
3
- import type { TypoToleranceEnum } from './typoToleranceEnum';
4
-
5
- /**
6
- * Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/) is enabled and how it is applied. If typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation/) are also active.
7
- */
8
- export type TypoTolerance = boolean | TypoToleranceEnum;
@@ -1,6 +0,0 @@
1
- // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
-
3
- /**
4
- * - `min`. Return matches with the lowest number of typos. For example, if you have matches without typos, only include those. But if there are no matches without typos (with 1 typo), include matches with 1 typo (2 typos). - `strict`. Return matches with the two lowest numbers of typos. With `strict`, the Typo ranking criterion is applied first in the `ranking` setting.
5
- */
6
- export type TypoToleranceEnum = 'min' | 'strict';
package/model/value.ts DELETED
@@ -1,17 +0,0 @@
1
- // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
-
3
- import type { SortRemainingBy } from './sortRemainingBy';
4
-
5
- export type Value = {
6
- /**
7
- * Explicit order of facets or facet values. This setting lets you always show specific facets or facet values at the top of the list.
8
- */
9
- order?: Array<string>;
10
-
11
- sortRemainingBy?: SortRemainingBy;
12
-
13
- /**
14
- * Hide facet values.
15
- */
16
- hide?: Array<string>;
17
- };
package/model/widgets.ts DELETED
@@ -1,13 +0,0 @@
1
- // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
-
3
- import type { Banner } from './banner';
4
-
5
- /**
6
- * widgets returned from any rules that are applied to the current search.
7
- */
8
- export type Widgets = {
9
- /**
10
- * banners defined in the merchandising studio for the given search.
11
- */
12
- banners?: Array<Banner>;
13
- };