algoliasearch 5.0.0-beta.12 → 5.0.0-beta.13

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 (107) hide show
  1. package/builds/models.ts +4 -4
  2. package/dist/algoliasearch/builds/browser.d.ts +2 -2
  3. package/dist/algoliasearch/builds/models.d.ts +2 -2
  4. package/dist/algoliasearch/builds/models.d.ts.map +1 -1
  5. package/dist/algoliasearch/builds/node.d.ts +2 -2
  6. package/dist/algoliasearch.cjs +5 -5
  7. package/dist/algoliasearch.esm.browser.js +5 -5
  8. package/dist/algoliasearch.esm.node.js +5 -5
  9. package/dist/algoliasearch.umd.js +2 -2
  10. package/dist/client-abtesting/model/{filterEffectsEmptySearch.d.ts → emptySearchFilter.d.ts} +2 -2
  11. package/dist/client-abtesting/model/emptySearchFilter.d.ts.map +1 -0
  12. package/dist/client-abtesting/model/filterEffects.d.ts +4 -4
  13. package/dist/client-abtesting/model/filterEffects.d.ts.map +1 -1
  14. package/dist/client-abtesting/model/index.d.ts +2 -2
  15. package/dist/client-abtesting/model/index.d.ts.map +1 -1
  16. package/dist/client-abtesting/model/{filterEffectsOutliers.d.ts → outliersFilter.d.ts} +2 -2
  17. package/dist/client-abtesting/model/outliersFilter.d.ts.map +1 -0
  18. package/dist/client-abtesting/src/abtestingClient.d.ts +1 -1
  19. package/dist/client-analytics/model/{clickPositionsInner.d.ts → clickPosition.d.ts} +2 -2
  20. package/dist/client-analytics/model/clickPosition.d.ts.map +1 -0
  21. package/dist/client-analytics/model/getClickPositionsResponse.d.ts +2 -2
  22. package/dist/client-analytics/model/getClickPositionsResponse.d.ts.map +1 -1
  23. package/dist/client-analytics/model/index.d.ts +1 -1
  24. package/dist/client-analytics/model/index.d.ts.map +1 -1
  25. package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +2 -2
  26. package/dist/client-analytics/model/topSearchWithAnalytics.d.ts.map +1 -1
  27. package/dist/client-analytics/model/topSearchWithRevenueAnalytics.d.ts +2 -2
  28. package/dist/client-analytics/model/topSearchWithRevenueAnalytics.d.ts.map +1 -1
  29. package/dist/client-analytics/src/analyticsClient.d.ts +1 -1
  30. package/dist/client-personalization/src/personalizationClient.d.ts +1 -1
  31. package/dist/client-search/model/aroundPrecision.d.ts +2 -2
  32. package/dist/client-search/model/aroundPrecision.d.ts.map +1 -1
  33. package/dist/client-search/model/baseIndexSettings.d.ts +1 -1
  34. package/dist/client-search/model/builtInOperation.d.ts +2 -4
  35. package/dist/client-search/model/builtInOperation.d.ts.map +1 -1
  36. package/dist/client-search/model/builtInOperationValue.d.ts +2 -0
  37. package/dist/client-search/model/builtInOperationValue.d.ts.map +1 -0
  38. package/dist/client-search/model/dictionaryEntry.d.ts +1 -1
  39. package/dist/client-search/model/dictionaryEntry.d.ts.map +1 -1
  40. package/dist/client-search/model/index.d.ts +3 -2
  41. package/dist/client-search/model/index.d.ts.map +1 -1
  42. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +1 -1
  43. package/dist/{recommend/model/aroundPrecisionFromValueInner.d.ts → client-search/model/range.d.ts} +2 -2
  44. package/dist/client-search/model/range.d.ts.map +1 -0
  45. package/dist/client-search/model/redirectRuleIndexData.d.ts +7 -0
  46. package/dist/client-search/model/redirectRuleIndexData.d.ts.map +1 -0
  47. package/dist/client-search/model/redirectRuleIndexMetadata.d.ts +2 -2
  48. package/dist/client-search/model/redirectRuleIndexMetadata.d.ts.map +1 -1
  49. package/dist/client-search/model/searchParamsString.d.ts +3 -0
  50. package/dist/client-search/model/searchParamsString.d.ts.map +1 -1
  51. package/dist/client-search/src/searchClient.d.ts +2 -2
  52. package/dist/client-search/src/searchClient.d.ts.map +1 -1
  53. package/dist/lite/lite.cjs +1 -1
  54. package/dist/lite/lite.esm.browser.js +1 -1
  55. package/dist/lite/lite.esm.node.js +1 -1
  56. package/dist/lite/lite.umd.js +2 -2
  57. package/dist/lite/model/aroundPrecision.d.ts +2 -2
  58. package/dist/lite/model/aroundPrecision.d.ts.map +1 -1
  59. package/dist/lite/model/baseIndexSettings.d.ts +1 -1
  60. package/dist/lite/model/index.d.ts +2 -2
  61. package/dist/lite/model/index.d.ts.map +1 -1
  62. package/dist/lite/model/indexSettingsAsSearchParams.d.ts +1 -1
  63. package/dist/lite/model/{aroundPrecisionFromValueInner.d.ts → range.d.ts} +2 -2
  64. package/dist/lite/model/range.d.ts.map +1 -0
  65. package/dist/lite/model/redirectRuleIndexData.d.ts +7 -0
  66. package/dist/lite/model/redirectRuleIndexData.d.ts.map +1 -0
  67. package/dist/lite/model/redirectRuleIndexMetadata.d.ts +2 -2
  68. package/dist/lite/model/redirectRuleIndexMetadata.d.ts.map +1 -1
  69. package/dist/lite/src/liteClient.d.ts +1 -1
  70. package/dist/recommend/model/aroundPrecision.d.ts +2 -2
  71. package/dist/recommend/model/aroundPrecision.d.ts.map +1 -1
  72. package/dist/recommend/model/index.d.ts +3 -3
  73. package/dist/recommend/model/index.d.ts.map +1 -1
  74. package/dist/recommend/model/indexSettingsAsSearchParams.d.ts +1 -1
  75. package/dist/{client-search/model/aroundPrecisionFromValueInner.d.ts → recommend/model/range.d.ts} +2 -2
  76. package/dist/recommend/model/range.d.ts.map +1 -0
  77. package/dist/recommend/model/recommendRule.d.ts +2 -2
  78. package/dist/recommend/model/recommendRule.d.ts.map +1 -1
  79. package/dist/recommend/model/redirectRuleIndexData.d.ts +7 -0
  80. package/dist/recommend/model/redirectRuleIndexData.d.ts.map +1 -0
  81. package/dist/recommend/model/redirectRuleIndexMetadata.d.ts +2 -2
  82. package/dist/recommend/model/redirectRuleIndexMetadata.d.ts.map +1 -1
  83. package/dist/recommend/model/{recommendRuleMetadata.d.ts → ruleMetadata.d.ts} +2 -2
  84. package/dist/recommend/model/ruleMetadata.d.ts.map +1 -0
  85. package/dist/recommend/src/recommendClient.d.ts +1 -1
  86. package/lite/model/aroundPrecision.ts +2 -2
  87. package/lite/model/baseIndexSettings.ts +1 -1
  88. package/lite/model/index.ts +2 -2
  89. package/lite/model/indexSettingsAsSearchParams.ts +1 -1
  90. package/lite/model/{aroundPrecisionFromValueInner.ts → range.ts} +1 -1
  91. package/lite/model/{redirectRuleIndexMetadataData.ts → redirectRuleIndexData.ts} +1 -1
  92. package/lite/model/redirectRuleIndexMetadata.ts +2 -2
  93. package/lite/src/liteClient.ts +1 -1
  94. package/package.json +12 -12
  95. package/dist/client-abtesting/model/filterEffectsEmptySearch.d.ts.map +0 -1
  96. package/dist/client-abtesting/model/filterEffectsOutliers.d.ts.map +0 -1
  97. package/dist/client-analytics/model/clickPositionsInner.d.ts.map +0 -1
  98. package/dist/client-search/model/aroundPrecisionFromValueInner.d.ts.map +0 -1
  99. package/dist/client-search/model/redirectRuleIndexMetadataData.d.ts +0 -7
  100. package/dist/client-search/model/redirectRuleIndexMetadataData.d.ts.map +0 -1
  101. package/dist/lite/model/aroundPrecisionFromValueInner.d.ts.map +0 -1
  102. package/dist/lite/model/redirectRuleIndexMetadataData.d.ts +0 -7
  103. package/dist/lite/model/redirectRuleIndexMetadataData.d.ts.map +0 -1
  104. package/dist/recommend/model/aroundPrecisionFromValueInner.d.ts.map +0 -1
  105. package/dist/recommend/model/recommendRuleMetadata.d.ts.map +0 -1
  106. package/dist/recommend/model/redirectRuleIndexMetadataData.d.ts +0 -7
  107. package/dist/recommend/model/redirectRuleIndexMetadataData.d.ts.map +0 -1
@@ -3,7 +3,6 @@ export * from './advancedSyntaxFeatures';
3
3
  export * from './alternativesAsExact';
4
4
  export * from './apiKey';
5
5
  export * from './aroundPrecision';
6
- export * from './aroundPrecisionFromValueInner';
7
6
  export * from './aroundRadius';
8
7
  export * from './aroundRadiusAll';
9
8
  export * from './automaticFacetFilter';
@@ -56,6 +55,7 @@ export * from './optionalFilters';
56
55
  export * from './params';
57
56
  export * from './personalization';
58
57
  export * from './queryType';
58
+ export * from './range';
59
59
  export * from './rankingInfo';
60
60
  export * from './reRankingApplyFilter';
61
61
  export * from './recommendHit';
@@ -67,8 +67,8 @@ export * from './recommendedForYou';
67
67
  export * from './recommendedForYouModel';
68
68
  export * from './recommendedForYouQuery';
69
69
  export * from './redirect';
70
+ export * from './redirectRuleIndexData';
70
71
  export * from './redirectRuleIndexMetadata';
71
- export * from './redirectRuleIndexMetadataData';
72
72
  export * from './redirectURL';
73
73
  export * from './relatedModel';
74
74
  export * from './relatedProducts';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lite/model/index.ts"],"names":[],"mappings":"AAEA,cAAc,OAAO,CAAC;AACtB,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,iCAAiC,CAAC;AAChD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;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uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC"}
@@ -85,7 +85,7 @@ export type IndexSettingsAsSearchParams = {
85
85
  */
86
86
  queryLanguages?: SupportedLanguage[];
87
87
  /**
88
- * Whether to split compound words into their building blocks. For more information, see [Word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words). Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and Norwegian.
88
+ * Whether to split compound words in the query into their building blocks. For more information, see [Word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words). Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and Norwegian. Decompounding doesn\'t work for words with [non-spacing mark Unicode characters](https://www.charactercodes.net/category/non-spacing_mark). For example, `Gartenstühle` won\'t be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
89
89
  */
90
90
  decompoundQuery?: boolean;
91
91
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Range object with lower and upper values in meters to define custom ranges.
3
3
  */
4
- export type AroundPrecisionFromValueInner = {
4
+ export type Range = {
5
5
  /**
6
6
  * Lower boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
7
7
  */
@@ -11,4 +11,4 @@ export type AroundPrecisionFromValueInner = {
11
11
  */
12
12
  value?: number;
13
13
  };
14
- //# sourceMappingURL=aroundPrecisionFromValueInner.d.ts.map
14
+ //# sourceMappingURL=range.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../lite/model/range.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Redirect rule data.
3
+ */
4
+ export type RedirectRuleIndexData = {
5
+ ruleObjectID: string;
6
+ };
7
+ //# sourceMappingURL=redirectRuleIndexData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redirectRuleIndexData.d.ts","sourceRoot":"","sources":["../../../lite/model/redirectRuleIndexData.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { RedirectRuleIndexMetadataData } from './redirectRuleIndexMetadataData';
1
+ import type { RedirectRuleIndexData } from './redirectRuleIndexData';
2
2
  export type RedirectRuleIndexMetadata = {
3
3
  /**
4
4
  * Source index for the redirect rule.
@@ -16,6 +16,6 @@ export type RedirectRuleIndexMetadata = {
16
16
  * Redirect rule status.
17
17
  */
18
18
  succeed: boolean;
19
- data: RedirectRuleIndexMetadataData;
19
+ data: RedirectRuleIndexData;
20
20
  };
21
21
  //# sourceMappingURL=redirectRuleIndexMetadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"redirectRuleIndexMetadata.d.ts","sourceRoot":"","sources":["../../../lite/model/redirectRuleIndexMetadata.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAErF,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,6BAA6B,CAAC;CACrC,CAAC"}
1
+ {"version":3,"file":"redirectRuleIndexMetadata.d.ts","sourceRoot":"","sources":["../../../lite/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"}
@@ -4,7 +4,7 @@ import type { GetRecommendationsParams } from '../model/getRecommendationsParams
4
4
  import type { GetRecommendationsResponse } from '../model/getRecommendationsResponse';
5
5
  import type { SearchMethodParams } from '../model/searchMethodParams';
6
6
  import type { SearchResponses } from '../model/searchResponses';
7
- export declare const apiClientVersion = "5.0.0-beta.12";
7
+ export declare const apiClientVersion = "5.0.0-beta.13";
8
8
  export declare function createLiteClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
9
9
  transporter: import("@algolia/client-common").Transporter;
10
10
  /**
@@ -1,6 +1,6 @@
1
- import type { AroundPrecisionFromValueInner } from './aroundPrecisionFromValueInner';
1
+ import type { Range } from './range';
2
2
  /**
3
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
- export type AroundPrecision = AroundPrecisionFromValueInner[] | number;
5
+ export type AroundPrecision = Range[] | number;
6
6
  //# sourceMappingURL=aroundPrecision.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aroundPrecision.d.ts","sourceRoot":"","sources":["../../../../recommend/model/aroundPrecision.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAErF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,6BAA6B,EAAE,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"aroundPrecision.d.ts","sourceRoot":"","sources":["../../../../recommend/model/aroundPrecision.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC"}
@@ -1,7 +1,6 @@
1
1
  export * from './advancedSyntaxFeatures';
2
2
  export * from './alternativesAsExact';
3
3
  export * from './aroundPrecision';
4
- export * from './aroundPrecisionFromValueInner';
5
4
  export * from './aroundRadius';
6
5
  export * from './aroundRadiusAll';
7
6
  export * from './autoFacetFilter';
@@ -44,12 +43,12 @@ export * from './paramsConsequence';
44
43
  export * from './personalization';
45
44
  export * from './promoteConsequenceObject';
46
45
  export * from './queryType';
46
+ export * from './range';
47
47
  export * from './rankingInfo';
48
48
  export * from './reRankingApplyFilter';
49
49
  export * from './recommendHit';
50
50
  export * from './recommendModels';
51
51
  export * from './recommendRule';
52
- export * from './recommendRuleMetadata';
53
52
  export * from './recommendationsHit';
54
53
  export * from './recommendationsHits';
55
54
  export * from './recommendationsRequest';
@@ -58,8 +57,8 @@ export * from './recommendedForYou';
58
57
  export * from './recommendedForYouModel';
59
58
  export * from './recommendedForYouQuery';
60
59
  export * from './redirect';
60
+ export * from './redirectRuleIndexData';
61
61
  export * from './redirectRuleIndexMetadata';
62
- export * from './redirectRuleIndexMetadataData';
63
62
  export * from './redirectURL';
64
63
  export * from './relatedModel';
65
64
  export * from './relatedProducts';
@@ -67,6 +66,7 @@ export * from './relatedQuery';
67
66
  export * from './removeStopWords';
68
67
  export * from './removeWordsIfNoResults';
69
68
  export * from './renderingContent';
69
+ export * from './ruleMetadata';
70
70
  export * from './searchPagination';
71
71
  export * from './searchParams';
72
72
  export * from './searchParamsObject';
@@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,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC"}
@@ -85,7 +85,7 @@ export type IndexSettingsAsSearchParams = {
85
85
  */
86
86
  queryLanguages?: SupportedLanguage[];
87
87
  /**
88
- * Whether to split compound words into their building blocks. For more information, see [Word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words). Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and Norwegian.
88
+ * Whether to split compound words in the query into their building blocks. For more information, see [Word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words). Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and Norwegian. Decompounding doesn\'t work for words with [non-spacing mark Unicode characters](https://www.charactercodes.net/category/non-spacing_mark). For example, `Gartenstühle` won\'t be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
89
89
  */
90
90
  decompoundQuery?: boolean;
91
91
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Range object with lower and upper values in meters to define custom ranges.
3
3
  */
4
- export type AroundPrecisionFromValueInner = {
4
+ export type Range = {
5
5
  /**
6
6
  * Lower boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
7
7
  */
@@ -11,4 +11,4 @@ export type AroundPrecisionFromValueInner = {
11
11
  */
12
12
  value?: number;
13
13
  };
14
- //# sourceMappingURL=aroundPrecisionFromValueInner.d.ts.map
14
+ //# sourceMappingURL=range.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../../recommend/model/range.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import type { Condition } from './condition';
2
2
  import type { Consequence } from './consequence';
3
- import type { RecommendRuleMetadata } from './recommendRuleMetadata';
3
+ import type { RuleMetadata } from './ruleMetadata';
4
4
  /**
5
5
  * Recommend rule.
6
6
  */
7
7
  export type RecommendRule = {
8
- _metadata?: RecommendRuleMetadata;
8
+ _metadata?: RuleMetadata;
9
9
  /**
10
10
  * Unique identifier of a rule object.
11
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"recommendRule.d.ts","sourceRoot":"","sources":["../../../../recommend/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,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAElC;;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
+ {"version":3,"file":"recommendRule.d.ts","sourceRoot":"","sources":["../../../../recommend/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"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Redirect rule data.
3
+ */
4
+ export type RedirectRuleIndexData = {
5
+ ruleObjectID: string;
6
+ };
7
+ //# sourceMappingURL=redirectRuleIndexData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redirectRuleIndexData.d.ts","sourceRoot":"","sources":["../../../../recommend/model/redirectRuleIndexData.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { RedirectRuleIndexMetadataData } from './redirectRuleIndexMetadataData';
1
+ import type { RedirectRuleIndexData } from './redirectRuleIndexData';
2
2
  export type RedirectRuleIndexMetadata = {
3
3
  /**
4
4
  * Source index for the redirect rule.
@@ -16,6 +16,6 @@ export type RedirectRuleIndexMetadata = {
16
16
  * Redirect rule status.
17
17
  */
18
18
  succeed: boolean;
19
- data: RedirectRuleIndexMetadataData;
19
+ data: RedirectRuleIndexData;
20
20
  };
21
21
  //# sourceMappingURL=redirectRuleIndexMetadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"redirectRuleIndexMetadata.d.ts","sourceRoot":"","sources":["../../../../recommend/model/redirectRuleIndexMetadata.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAErF,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,6BAA6B,CAAC;CACrC,CAAC"}
1
+ {"version":3,"file":"redirectRuleIndexMetadata.d.ts","sourceRoot":"","sources":["../../../../recommend/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,10 +1,10 @@
1
1
  /**
2
2
  * Rule metadata.
3
3
  */
4
- export type RecommendRuleMetadata = {
4
+ export type RuleMetadata = {
5
5
  /**
6
6
  * Date and time when the object was updated, in RFC 3339 format.
7
7
  */
8
8
  lastUpdate?: string;
9
9
  };
10
- //# sourceMappingURL=recommendRuleMetadata.d.ts.map
10
+ //# sourceMappingURL=ruleMetadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ruleMetadata.d.ts","sourceRoot":"","sources":["../../../../recommend/model/ruleMetadata.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -6,7 +6,7 @@ import type { GetRecommendationsParams } from '../model/getRecommendationsParams
6
6
  import type { GetRecommendationsResponse } from '../model/getRecommendationsResponse';
7
7
  import type { RecommendRule } from '../model/recommendRule';
8
8
  import type { SearchRecommendRulesResponse } from '../model/searchRecommendRulesResponse';
9
- export declare const apiClientVersion = "5.0.0-beta.12";
9
+ export declare const apiClientVersion = "5.0.0-beta.13";
10
10
  export declare function createRecommendClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
11
11
  transporter: import("@algolia/client-common").Transporter;
12
12
  /**
@@ -1,8 +1,8 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
- import type { AroundPrecisionFromValueInner } from './aroundPrecisionFromValueInner';
3
+ import type { Range } from './range';
4
4
 
5
5
  /**
6
6
  * 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.
7
7
  */
8
- export type AroundPrecision = AroundPrecisionFromValueInner[] | number;
8
+ export type AroundPrecision = Range[] | number;
@@ -39,7 +39,7 @@ export type BaseIndexSettings = {
39
39
  camelCaseAttributes?: string[];
40
40
 
41
41
  /**
42
- * Searchable attributes to which Algolia should apply [word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) (decompounding). Attribute names are case-sensitive. Compound words are formed by combining two or more individual words, and are particularly prevalent in Germanic languages—for example, \"firefighter\". With decompounding, the individual components are indexed separately. You can specify different lists for different languages. Decompounding is supported for these languages: Dutch (`nl`), German (`de`), Finnish (`fi`), Danish (`da`), Swedish (`sv`), and Norwegian (`no`).
42
+ * Searchable attributes to which Algolia should apply [word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) (decompounding). Attribute names are case-sensitive. Compound words are formed by combining two or more individual words, and are particularly prevalent in Germanic languages—for example, \"firefighter\". With decompounding, the individual components are indexed separately. You can specify different lists for different languages. Decompounding is supported for these languages: Dutch (`nl`), German (`de`), Finnish (`fi`), Danish (`da`), Swedish (`sv`), and Norwegian (`no`). Decompounding doesn\'t work for words with [non-spacing mark Unicode characters](https://www.charactercodes.net/category/non-spacing_mark). For example, `Gartenstühle` won\'t be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
43
43
  */
44
44
  decompoundedAttributes?: Record<string, any>;
45
45
 
@@ -5,7 +5,6 @@ export * from './advancedSyntaxFeatures';
5
5
  export * from './alternativesAsExact';
6
6
  export * from './apiKey';
7
7
  export * from './aroundPrecision';
8
- export * from './aroundPrecisionFromValueInner';
9
8
  export * from './aroundRadius';
10
9
  export * from './aroundRadiusAll';
11
10
  export * from './automaticFacetFilter';
@@ -58,6 +57,7 @@ export * from './optionalFilters';
58
57
  export * from './params';
59
58
  export * from './personalization';
60
59
  export * from './queryType';
60
+ export * from './range';
61
61
  export * from './rankingInfo';
62
62
  export * from './reRankingApplyFilter';
63
63
  export * from './recommendHit';
@@ -69,8 +69,8 @@ export * from './recommendedForYou';
69
69
  export * from './recommendedForYouModel';
70
70
  export * from './recommendedForYouQuery';
71
71
  export * from './redirect';
72
+ export * from './redirectRuleIndexData';
72
73
  export * from './redirectRuleIndexMetadata';
73
- export * from './redirectRuleIndexMetadataData';
74
74
  export * from './redirectURL';
75
75
  export * from './relatedModel';
76
76
  export * from './relatedProducts';
@@ -108,7 +108,7 @@ export type IndexSettingsAsSearchParams = {
108
108
  queryLanguages?: SupportedLanguage[];
109
109
 
110
110
  /**
111
- * Whether to split compound words into their building blocks. For more information, see [Word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words). Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and Norwegian.
111
+ * Whether to split compound words in the query into their building blocks. For more information, see [Word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words). Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and Norwegian. Decompounding doesn\'t work for words with [non-spacing mark Unicode characters](https://www.charactercodes.net/category/non-spacing_mark). For example, `Gartenstühle` won\'t be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
112
112
  */
113
113
  decompoundQuery?: boolean;
114
114
 
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Range object with lower and upper values in meters to define custom ranges.
5
5
  */
6
- export type AroundPrecisionFromValueInner = {
6
+ export type Range = {
7
7
  /**
8
8
  * Lower boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
9
9
  */
@@ -3,6 +3,6 @@
3
3
  /**
4
4
  * Redirect rule data.
5
5
  */
6
- export type RedirectRuleIndexMetadataData = {
6
+ export type RedirectRuleIndexData = {
7
7
  ruleObjectID: string;
8
8
  };
@@ -1,6 +1,6 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
- import type { RedirectRuleIndexMetadataData } from './redirectRuleIndexMetadataData';
3
+ import type { RedirectRuleIndexData } from './redirectRuleIndexData';
4
4
 
5
5
  export type RedirectRuleIndexMetadata = {
6
6
  /**
@@ -23,5 +23,5 @@ export type RedirectRuleIndexMetadata = {
23
23
  */
24
24
  succeed: boolean;
25
25
 
26
- data: RedirectRuleIndexMetadataData;
26
+ data: RedirectRuleIndexData;
27
27
  };
@@ -25,7 +25,7 @@ import type { GetRecommendationsResponse } from '../model/getRecommendationsResp
25
25
  import type { SearchMethodParams } from '../model/searchMethodParams';
26
26
  import type { SearchResponses } from '../model/searchResponses';
27
27
 
28
- export const apiClientVersion = '5.0.0-beta.12';
28
+ export const apiClientVersion = '5.0.0-beta.13';
29
29
 
30
30
  function getDefaultHosts(appId: string): Host[] {
31
31
  return (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "algoliasearch",
3
- "version": "5.0.0-beta.12",
3
+ "version": "5.0.0-beta.13",
4
4
  "description": "A fully-featured and blazing-fast JavaScript API client to interact with Algolia API.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -63,23 +63,23 @@
63
63
  "test": "jest"
64
64
  },
65
65
  "dependencies": {
66
- "@algolia/client-abtesting": "5.0.0-beta.12",
67
- "@algolia/client-analytics": "5.0.0-beta.12",
68
- "@algolia/client-common": "5.0.0-beta.13",
69
- "@algolia/client-personalization": "5.0.0-beta.12",
70
- "@algolia/client-search": "5.0.0-beta.12",
71
- "@algolia/recommend": "5.0.0-beta.12",
72
- "@algolia/requester-browser-xhr": "5.0.0-beta.13",
73
- "@algolia/requester-node-http": "5.0.0-beta.13"
66
+ "@algolia/client-abtesting": "5.0.0-beta.13",
67
+ "@algolia/client-analytics": "5.0.0-beta.13",
68
+ "@algolia/client-common": "5.0.0-beta.14",
69
+ "@algolia/client-personalization": "5.0.0-beta.13",
70
+ "@algolia/client-search": "5.0.0-beta.13",
71
+ "@algolia/recommend": "5.0.0-beta.13",
72
+ "@algolia/requester-browser-xhr": "5.0.0-beta.14",
73
+ "@algolia/requester-node-http": "5.0.0-beta.14"
74
74
  },
75
75
  "devDependencies": {
76
- "@babel/preset-env": "7.24.8",
76
+ "@babel/preset-env": "7.25.0",
77
77
  "@babel/preset-typescript": "7.24.7",
78
78
  "@types/jest": "29.5.12",
79
79
  "@types/node": "20.14.11",
80
80
  "jest": "29.7.0",
81
- "rollup": "4.18.1",
82
- "typescript": "5.5.3"
81
+ "rollup": "4.19.1",
82
+ "typescript": "5.5.4"
83
83
  },
84
84
  "engines": {
85
85
  "node": ">= 14.0.0"
@@ -1 +0,0 @@
1
- {"version":3,"file":"filterEffectsEmptySearch.d.ts","sourceRoot":"","sources":["../../../../client-abtesting/model/filterEffectsEmptySearch.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"filterEffectsOutliers.d.ts","sourceRoot":"","sources":["../../../../client-abtesting/model/filterEffectsOutliers.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"clickPositionsInner.d.ts","sourceRoot":"","sources":["../../../../client-analytics/model/clickPositionsInner.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"aroundPrecisionFromValueInner.d.ts","sourceRoot":"","sources":["../../../../client-search/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,7 +0,0 @@
1
- /**
2
- * Redirect rule data.
3
- */
4
- export type RedirectRuleIndexMetadataData = {
5
- ruleObjectID: string;
6
- };
7
- //# sourceMappingURL=redirectRuleIndexMetadataData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redirectRuleIndexMetadataData.d.ts","sourceRoot":"","sources":["../../../../client-search/model/redirectRuleIndexMetadataData.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"aroundPrecisionFromValueInner.d.ts","sourceRoot":"","sources":["../../../lite/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,7 +0,0 @@
1
- /**
2
- * Redirect rule data.
3
- */
4
- export type RedirectRuleIndexMetadataData = {
5
- ruleObjectID: string;
6
- };
7
- //# sourceMappingURL=redirectRuleIndexMetadataData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redirectRuleIndexMetadataData.d.ts","sourceRoot":"","sources":["../../../lite/model/redirectRuleIndexMetadataData.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"aroundPrecisionFromValueInner.d.ts","sourceRoot":"","sources":["../../../../recommend/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 +0,0 @@
1
- {"version":3,"file":"recommendRuleMetadata.d.ts","sourceRoot":"","sources":["../../../../recommend/model/recommendRuleMetadata.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Redirect rule data.
3
- */
4
- export type RedirectRuleIndexMetadataData = {
5
- ruleObjectID: string;
6
- };
7
- //# sourceMappingURL=redirectRuleIndexMetadataData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redirectRuleIndexMetadataData.d.ts","sourceRoot":"","sources":["../../../../recommend/model/redirectRuleIndexMetadataData.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}