@algolia/client-search 5.0.0-alpha.106 → 5.0.0-alpha.108

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 (227) hide show
  1. package/dist/builds/browser.d.ts +1 -1
  2. package/dist/builds/node.d.ts +1 -1
  3. package/dist/client-search.cjs +121 -121
  4. package/dist/client-search.esm.browser.js +121 -121
  5. package/dist/client-search.esm.node.js +121 -121
  6. package/dist/client-search.umd.js +2 -2
  7. package/dist/model/acl.d.ts +1 -1
  8. package/dist/model/action.d.ts +1 -1
  9. package/dist/model/addApiKeyResponse.d.ts +1 -1
  10. package/dist/model/anchoring.d.ts +1 -1
  11. package/dist/model/apiKey.d.ts +8 -8
  12. package/dist/model/aroundPrecision.d.ts +1 -1
  13. package/dist/model/aroundPrecisionFromValueInner.d.ts +9 -0
  14. package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
  15. package/dist/model/aroundRadius.d.ts +1 -1
  16. package/dist/model/aroundRadiusAll.d.ts +3 -0
  17. package/dist/model/aroundRadiusAll.d.ts.map +1 -1
  18. package/dist/model/automaticFacetFilter.d.ts +4 -4
  19. package/dist/model/automaticFacetFilters.d.ts +1 -1
  20. package/dist/model/baseIndexSettings.d.ts +22 -17
  21. package/dist/model/baseIndexSettings.d.ts.map +1 -1
  22. package/dist/model/baseSearchParamsWithoutQuery.d.ts +24 -28
  23. package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  24. package/dist/model/baseSearchResponse.d.ts +6 -6
  25. package/dist/model/batchDictionaryEntriesParams.d.ts +3 -3
  26. package/dist/model/batchResponse.d.ts +2 -2
  27. package/dist/model/builtInOperation.d.ts +2 -2
  28. package/dist/model/builtInOperationType.d.ts +1 -1
  29. package/dist/model/clientMethodProps.d.ts +63 -63
  30. package/dist/model/condition.d.ts +7 -3
  31. package/dist/model/condition.d.ts.map +1 -1
  32. package/dist/model/consequence.d.ts +5 -5
  33. package/dist/model/consequenceHide.d.ts +2 -2
  34. package/dist/model/consequenceQuery.d.ts +1 -1
  35. package/dist/model/consequenceQueryObject.d.ts +2 -2
  36. package/dist/model/createdAtResponse.d.ts +1 -1
  37. package/dist/model/cursor.d.ts +1 -1
  38. package/dist/model/deleteByParams.d.ts +4 -4
  39. package/dist/model/deletedAtResponse.d.ts +1 -1
  40. package/dist/model/dictionaryEntry.d.ts +6 -8
  41. package/dist/model/dictionaryEntry.d.ts.map +1 -1
  42. package/dist/model/dictionaryEntryState.d.ts +1 -1
  43. package/dist/model/dictionaryLanguage.d.ts +2 -2
  44. package/dist/model/dictionarySettingsParams.d.ts +1 -1
  45. package/dist/model/distinct.d.ts +1 -1
  46. package/dist/model/edit.d.ts +1 -1
  47. package/dist/model/exactOnSingleWordQuery.d.ts +1 -1
  48. package/dist/model/facetFilters.d.ts +1 -1
  49. package/dist/model/facetHits.d.ts +2 -2
  50. package/dist/model/facetOrdering.d.ts +2 -2
  51. package/dist/model/facets.d.ts +2 -2
  52. package/dist/model/getObjectsRequest.d.ts +3 -3
  53. package/dist/model/getObjectsResponse.d.ts +1 -1
  54. package/dist/model/hasPendingMappingsResponse.d.ts +1 -1
  55. package/dist/model/highlightResultOption.d.ts +3 -3
  56. package/dist/model/hit.d.ts +4 -4
  57. package/dist/model/ignorePlurals.d.ts +3 -2
  58. package/dist/model/ignorePlurals.d.ts.map +1 -1
  59. package/dist/model/index.d.ts +2 -0
  60. package/dist/model/index.d.ts.map +1 -1
  61. package/dist/model/indexSettings.d.ts +1 -1
  62. package/dist/model/indexSettingsAsSearchParams.d.ts +32 -35
  63. package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  64. package/dist/model/log.d.ts +11 -11
  65. package/dist/model/logQuery.d.ts +1 -1
  66. package/dist/model/matchLevel.d.ts +1 -1
  67. package/dist/model/mode.d.ts +1 -1
  68. package/dist/model/multipleBatchResponse.d.ts +2 -2
  69. package/dist/model/numericFilters.d.ts +1 -1
  70. package/dist/model/operationIndexParams.d.ts +2 -2
  71. package/dist/model/operationType.d.ts +1 -1
  72. package/dist/model/optionalFilters.d.ts +1 -1
  73. package/dist/model/params.d.ts +1 -1
  74. package/dist/model/promoteObjectID.d.ts +2 -2
  75. package/dist/model/promoteObjectIDs.d.ts +2 -2
  76. package/dist/model/queryType.d.ts +1 -1
  77. package/dist/model/rankingInfo.d.ts +10 -7
  78. package/dist/model/rankingInfo.d.ts.map +1 -1
  79. package/dist/model/reRankingApplyFilter.d.ts +1 -1
  80. package/dist/model/removeStopWords.d.ts +3 -2
  81. package/dist/model/removeStopWords.d.ts.map +1 -1
  82. package/dist/model/removeWordsIfNoResults.d.ts +1 -1
  83. package/dist/model/renderingContent.d.ts +1 -1
  84. package/dist/model/rule.d.ts +5 -5
  85. package/dist/model/saveObjectResponse.d.ts +3 -3
  86. package/dist/model/saveSynonymResponse.d.ts +1 -1
  87. package/dist/model/searchDictionaryEntriesParams.d.ts +5 -7
  88. package/dist/model/searchDictionaryEntriesParams.d.ts.map +1 -1
  89. package/dist/model/searchDictionaryEntriesResponse.d.ts +20 -0
  90. package/dist/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
  91. package/dist/model/searchForFacetValuesRequest.d.ts +1 -1
  92. package/dist/model/searchForFacetValuesResponse.d.ts +3 -0
  93. package/dist/model/searchForFacetValuesResponse.d.ts.map +1 -1
  94. package/dist/model/searchForFacetsOptions.d.ts +2 -2
  95. package/dist/model/searchForHitsOptions.d.ts +1 -1
  96. package/dist/model/searchHits.d.ts +4 -1
  97. package/dist/model/searchHits.d.ts.map +1 -1
  98. package/dist/model/searchParamsQuery.d.ts +1 -1
  99. package/dist/model/searchRulesParams.d.ts +4 -8
  100. package/dist/model/searchRulesParams.d.ts.map +1 -1
  101. package/dist/model/searchRulesResponse.d.ts +2 -2
  102. package/dist/model/searchStrategy.d.ts +1 -1
  103. package/dist/model/searchSynonymsParams.d.ts +2 -2
  104. package/dist/model/searchSynonymsResponse.d.ts +2 -2
  105. package/dist/model/searchUserIdsParams.d.ts +1 -1
  106. package/dist/model/searchUserIdsResponse.d.ts +2 -2
  107. package/dist/model/securedAPIKeyRestrictions.d.ts +5 -5
  108. package/dist/model/semanticSearch.d.ts +2 -2
  109. package/dist/model/snippetResultOption.d.ts +2 -2
  110. package/dist/model/sortRemainingBy.d.ts +1 -1
  111. package/dist/model/supportedLanguage.d.ts +5 -0
  112. package/dist/model/supportedLanguage.d.ts.map +1 -0
  113. package/dist/model/tagFilters.d.ts +1 -1
  114. package/dist/model/taskStatus.d.ts +1 -1
  115. package/dist/model/timeRange.d.ts +2 -2
  116. package/dist/model/typoTolerance.d.ts +1 -1
  117. package/dist/model/typoToleranceEnum.d.ts +3 -0
  118. package/dist/model/typoToleranceEnum.d.ts.map +1 -1
  119. package/dist/model/updatedAtResponse.d.ts +1 -1
  120. package/dist/model/updatedAtWithObjectIdResponse.d.ts +2 -2
  121. package/dist/model/updatedRuleResponse.d.ts +2 -2
  122. package/dist/model/userHit.d.ts +1 -1
  123. package/dist/model/userId.d.ts +1 -1
  124. package/dist/model/value.d.ts +1 -1
  125. package/dist/src/searchClient.d.ts +124 -123
  126. package/dist/src/searchClient.d.ts.map +1 -1
  127. package/model/acl.ts +1 -1
  128. package/model/action.ts +1 -1
  129. package/model/addApiKeyResponse.ts +1 -1
  130. package/model/anchoring.ts +1 -1
  131. package/model/apiKey.ts +8 -8
  132. package/model/aroundPrecision.ts +1 -1
  133. package/model/aroundPrecisionFromValueInner.ts +9 -0
  134. package/model/aroundRadius.ts +1 -1
  135. package/model/aroundRadiusAll.ts +3 -0
  136. package/model/automaticFacetFilter.ts +4 -4
  137. package/model/automaticFacetFilters.ts +1 -1
  138. package/model/baseIndexSettings.ts +24 -17
  139. package/model/baseSearchParamsWithoutQuery.ts +24 -29
  140. package/model/baseSearchResponse.ts +6 -6
  141. package/model/batchDictionaryEntriesParams.ts +3 -3
  142. package/model/batchResponse.ts +2 -2
  143. package/model/builtInOperation.ts +2 -2
  144. package/model/builtInOperationType.ts +1 -1
  145. package/model/clientMethodProps.ts +63 -63
  146. package/model/condition.ts +8 -3
  147. package/model/consequence.ts +5 -5
  148. package/model/consequenceHide.ts +2 -2
  149. package/model/consequenceQuery.ts +1 -1
  150. package/model/consequenceQueryObject.ts +2 -2
  151. package/model/createdAtResponse.ts +1 -1
  152. package/model/cursor.ts +1 -1
  153. package/model/deleteByParams.ts +4 -4
  154. package/model/deletedAtResponse.ts +1 -1
  155. package/model/dictionaryEntry.ts +6 -8
  156. package/model/dictionaryEntryState.ts +1 -1
  157. package/model/dictionaryLanguage.ts +2 -2
  158. package/model/dictionarySettingsParams.ts +1 -1
  159. package/model/distinct.ts +1 -1
  160. package/model/edit.ts +1 -1
  161. package/model/exactOnSingleWordQuery.ts +1 -1
  162. package/model/facetFilters.ts +1 -1
  163. package/model/facetHits.ts +2 -2
  164. package/model/facetOrdering.ts +2 -2
  165. package/model/facets.ts +2 -2
  166. package/model/getObjectsRequest.ts +3 -3
  167. package/model/getObjectsResponse.ts +1 -1
  168. package/model/hasPendingMappingsResponse.ts +1 -1
  169. package/model/highlightResultOption.ts +3 -3
  170. package/model/hit.ts +4 -4
  171. package/model/ignorePlurals.ts +4 -2
  172. package/model/index.ts +2 -0
  173. package/model/indexSettings.ts +1 -1
  174. package/model/indexSettingsAsSearchParams.ts +32 -36
  175. package/model/log.ts +11 -11
  176. package/model/logQuery.ts +1 -1
  177. package/model/matchLevel.ts +1 -1
  178. package/model/mode.ts +1 -1
  179. package/model/multipleBatchResponse.ts +2 -2
  180. package/model/numericFilters.ts +1 -1
  181. package/model/operationIndexParams.ts +2 -2
  182. package/model/operationType.ts +1 -1
  183. package/model/optionalFilters.ts +1 -1
  184. package/model/params.ts +1 -1
  185. package/model/promoteObjectID.ts +2 -2
  186. package/model/promoteObjectIDs.ts +2 -2
  187. package/model/queryType.ts +1 -1
  188. package/model/rankingInfo.ts +10 -7
  189. package/model/reRankingApplyFilter.ts +1 -1
  190. package/model/removeStopWords.ts +4 -2
  191. package/model/removeWordsIfNoResults.ts +1 -1
  192. package/model/renderingContent.ts +1 -1
  193. package/model/rule.ts +5 -5
  194. package/model/saveObjectResponse.ts +3 -3
  195. package/model/saveSynonymResponse.ts +1 -1
  196. package/model/searchDictionaryEntriesParams.ts +6 -7
  197. package/model/searchDictionaryEntriesResponse.ts +25 -0
  198. package/model/searchForFacetValuesRequest.ts +1 -1
  199. package/model/searchForFacetValuesResponse.ts +3 -0
  200. package/model/searchForFacetsOptions.ts +2 -2
  201. package/model/searchForHitsOptions.ts +1 -1
  202. package/model/searchHits.ts +4 -1
  203. package/model/searchParamsQuery.ts +1 -1
  204. package/model/searchRulesParams.ts +4 -9
  205. package/model/searchRulesResponse.ts +2 -2
  206. package/model/searchStrategy.ts +1 -1
  207. package/model/searchSynonymsParams.ts +2 -2
  208. package/model/searchSynonymsResponse.ts +2 -2
  209. package/model/searchUserIdsParams.ts +1 -1
  210. package/model/searchUserIdsResponse.ts +2 -2
  211. package/model/securedAPIKeyRestrictions.ts +5 -5
  212. package/model/semanticSearch.ts +2 -2
  213. package/model/snippetResultOption.ts +2 -2
  214. package/model/sortRemainingBy.ts +1 -1
  215. package/model/supportedLanguage.ts +74 -0
  216. package/model/tagFilters.ts +1 -1
  217. package/model/taskStatus.ts +1 -1
  218. package/model/timeRange.ts +2 -2
  219. package/model/typoTolerance.ts +1 -1
  220. package/model/typoToleranceEnum.ts +3 -0
  221. package/model/updatedAtResponse.ts +1 -1
  222. package/model/updatedAtWithObjectIdResponse.ts +2 -2
  223. package/model/updatedRuleResponse.ts +2 -2
  224. package/model/userHit.ts +1 -1
  225. package/model/userId.ts +1 -1
  226. package/model/value.ts +1 -1
  227. package/package.json +7 -7
@@ -12,12 +12,12 @@ export type SearchUserIdsResponse = {
12
12
  hits: UserHit[];
13
13
 
14
14
  /**
15
- * Number of hits the search query matched.
15
+ * Number of results (hits).
16
16
  */
17
17
  nbHits: number;
18
18
 
19
19
  /**
20
- * Page to retrieve (the first page is `0`, not `1`).
20
+ * Page of search results to retrieve.
21
21
  */
22
22
  page: number;
23
23
 
@@ -6,27 +6,27 @@ export type SecuredAPIKeyRestrictions = {
6
6
  searchParams?: SearchParamsObject;
7
7
 
8
8
  /**
9
- * Filters that apply to every search made with the secured API key. You can add extra filters at search time with the filters query parameter. For example, if you set the filter group:admin on your generated API key, and you add groups:press OR groups:visitors with the filters query parameter, your final search filter is equivalent to groups:admin AND (groups:press OR groups:visitors).
9
+ * Filters that apply to every search made with the secured API key. Extra filters added at search time will be combined with `AND`. For example, if you set `group:admin` as fixed filter on your generated API key, and add `groups:visitors` to the search query, the complete set of filters will be `group:admin AND groups:visitors`.
10
10
  */
11
11
  filters?: string;
12
12
 
13
13
  /**
14
- * Unix timestamp used to set the expiration date of the API key.
14
+ * Timestamp in [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time) when the API key should expire.
15
15
  */
16
16
  validUntil?: number;
17
17
 
18
18
  /**
19
- * Index names that can be queried.
19
+ * Index names or patterns that this API key can access. By default, an API key can access all indices in the same application. You can use leading and trailing wildcard characters (`*`): - `dev_*` matches all indices starting with \"dev_\". - `*_dev` matches all indices ending with \"_dev\". - `*_products_*` matches all indices containing \"_products_\".
20
20
  */
21
21
  restrictIndices?: string[];
22
22
 
23
23
  /**
24
- * IPv4 network allowed to use the generated key. Use this to protect against API key leaking and reuse. You can only provide a single source, but you can specify a range of IPs (for example, 192.168.1.0/24).
24
+ * IP network that are allowed to use this key. You can only add a single source, but you can provide a range of IP addresses. Use this to protect against API key leaking and reuse.
25
25
  */
26
26
  restrictSources?: string;
27
27
 
28
28
  /**
29
- * Unique user IP address. This can be useful when you want to impose a rate limit on specific users. By default, rate limits are set based on the IP address. This can become an issue when several users search from the same IP address. To avoid this, you can set a unique userToken for each user when generating their API key. This lets you restrict each user to a maximum number of API calls per hour, even if they share their IP with another user. Specifying the userToken in a secured API key is also a good security practice as it ensures users don\'t change it. Many features like Analytics, Personalization, and Dynamic Re-ranking rely on the authenticity of user identifiers. Setting the userToken at the API key level ensures that downstream services work as expected and prevents abuse.
29
+ * Pseudonymous user identifier to restrict usage of this API key to specific users. By default, rate limits are set based on IP addresses. This can be an issue if many users search from the same IP address. To avoid this, add a user token to each generated API key.
30
30
  */
31
31
  userToken?: string;
32
32
  };
@@ -1,11 +1,11 @@
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
3
  /**
4
- * Settings for the semantic search part of NeuralSearch. Only used when `mode` is _neuralSearch_.
4
+ * Settings for the semantic search part of NeuralSearch. Only used when `mode` is `neuralSearch`.
5
5
  */
6
6
  export type SemanticSearch = {
7
7
  /**
8
- * Indices from which to collect click and conversion events. If null, the current index and replica group will be used as the event source.
8
+ * Indices from which to collect click and conversion events. If null, the current index and all its replicas are used.
9
9
  */
10
10
  eventSources?: string[] | null;
11
11
  };
@@ -3,11 +3,11 @@
3
3
  import type { MatchLevel } from './matchLevel';
4
4
 
5
5
  /**
6
- * Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
6
+ * Snippets that show the context around a matching search query.
7
7
  */
8
8
  export type SnippetResultOption = {
9
9
  /**
10
- * Markup text with `facetQuery` matches highlighted.
10
+ * Highlighted attribute value, including HTML tags.
11
11
  */
12
12
  value: string;
13
13
 
@@ -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
3
  /**
4
- * How to display the remaining items: - `count`: facet count (descending). - `alpha`: alphabetical (ascending). - `hidden`: show only pinned values.
4
+ * Order of facet values that aren\'t explicitly positioned with the `order` setting. <dl> <dt><code>count</code></dt> <dd> Order remaining facet values by decreasing count. The count is the number of matching records containing this facet value. </dd> <dt><code>alpha</code></dt> <dd>Sort facet values alphabetically.</dd> <dt><code>hidden</code></dt> <dd>Don\'t show facet values that aren\'t explicitly positioned.</dd> </dl>.
5
5
  */
6
6
  export type SortRemainingBy = 'alpha' | 'count' | 'hidden';
@@ -0,0 +1,74 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ /**
4
+ * ISO code for a supported language.
5
+ */
6
+ export type SupportedLanguage =
7
+ | 'af'
8
+ | 'ar'
9
+ | 'az'
10
+ | 'bg'
11
+ | 'bn'
12
+ | 'ca'
13
+ | 'cs'
14
+ | 'cy'
15
+ | 'da'
16
+ | 'de'
17
+ | 'el'
18
+ | 'en'
19
+ | 'eo'
20
+ | 'es'
21
+ | 'et'
22
+ | 'eu'
23
+ | 'fa'
24
+ | 'fi'
25
+ | 'fo'
26
+ | 'fr'
27
+ | 'ga'
28
+ | 'gl'
29
+ | 'he'
30
+ | 'hi'
31
+ | 'hu'
32
+ | 'hy'
33
+ | 'id'
34
+ | 'is'
35
+ | 'it'
36
+ | 'ja'
37
+ | 'ka'
38
+ | 'kk'
39
+ | 'ko'
40
+ | 'ku'
41
+ | 'ky'
42
+ | 'lt'
43
+ | 'lv'
44
+ | 'mi'
45
+ | 'mn'
46
+ | 'mr'
47
+ | 'ms'
48
+ | 'mt'
49
+ | 'nb'
50
+ | 'nl'
51
+ | 'no'
52
+ | 'ns'
53
+ | 'pl'
54
+ | 'ps'
55
+ | 'pt-br'
56
+ | 'pt'
57
+ | 'qu'
58
+ | 'ro'
59
+ | 'ru'
60
+ | 'sk'
61
+ | 'sq'
62
+ | 'sv'
63
+ | 'sw'
64
+ | 'ta'
65
+ | 'te'
66
+ | 'th'
67
+ | 'tl'
68
+ | 'tn'
69
+ | 'tr'
70
+ | 'tt'
71
+ | 'uk'
72
+ | 'ur'
73
+ | 'uz'
74
+ | 'zh';
@@ -3,6 +3,6 @@
3
3
  import type { MixedSearchFilters } from './mixedSearchFilters';
4
4
 
5
5
  /**
6
- * [Filter hits by tags](https://www.algolia.com/doc/api-reference/api-parameters/tagFilters/).
6
+ * Filter the search by values of the special `_tags` attribute. **Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.** Different from regular facets, `_tags` can only be used for filtering (including or excluding records). You won\'t get a facet count. The same combination and escaping rules apply as for `facetFilters`.
7
7
  */
8
8
  export type TagFilters = MixedSearchFilters[] | string;
@@ -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
3
  /**
4
- * _published_ if the task has been processed, _notPublished_ otherwise.
4
+ * Task status, `published` if the task is completed, `notPublished` otherwise.
5
5
  */
6
6
  export type TaskStatus = 'notPublished' | 'published';
@@ -2,12 +2,12 @@
2
2
 
3
3
  export type TimeRange = {
4
4
  /**
5
- * Lower bound of the time range (Unix timestamp).
5
+ * When the rule should start to be active, in Unix epoch time.
6
6
  */
7
7
  from: number;
8
8
 
9
9
  /**
10
- * Upper bound of the time range (Unix timestamp).
10
+ * When the rule should stop to be active, in Unix epoch time.
11
11
  */
12
12
  until: number;
13
13
  };
@@ -3,6 +3,6 @@
3
3
  import type { TypoToleranceEnum } from './typoToleranceEnum';
4
4
 
5
5
  /**
6
- * Controls whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/) is enabled and how it is applied.
6
+ * Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/) is enabled and how it is applied. If typo tolerance is true, `min`, or `strict`, [word splitting and concetenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation/) is also active.
7
7
  */
8
8
  export type TypoTolerance = TypoToleranceEnum | boolean;
@@ -1,3 +1,6 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
+ /**
4
+ * - `min`. Return matches with the lowest number of typos. For example, if you have matches without typos, only include those. But if there are no matches without typos (with 1 typo), include matches with 1 typo (2 typos). - `strict`. Return matches with the two lowest numbers of typos. With `strict`, the Typo ranking criterion is applied first in the `ranking` setting.
5
+ */
3
6
  export type TypoToleranceEnum = 'min' | 'strict';
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export type UpdatedAtResponse = {
7
7
  /**
8
- * 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`.
8
+ * 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`.
9
9
  */
10
10
  taskID: number;
11
11
 
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export type UpdatedAtWithObjectIdResponse = {
7
7
  /**
8
- * 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`.
8
+ * 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`.
9
9
  */
10
10
  taskID?: number;
11
11
 
@@ -15,7 +15,7 @@ export type UpdatedAtWithObjectIdResponse = {
15
15
  updatedAt?: string;
16
16
 
17
17
  /**
18
- * Unique object identifier.
18
+ * Unique record identifier.
19
19
  */
20
20
  objectID?: string;
21
21
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  export type UpdatedRuleResponse = {
4
4
  /**
5
- * Unique object identifier.
5
+ * Unique identifier of a rule object.
6
6
  */
7
7
  objectID: string;
8
8
 
@@ -12,7 +12,7 @@ export type UpdatedRuleResponse = {
12
12
  updatedAt: string;
13
13
 
14
14
  /**
15
- * 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`.
15
+ * 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`.
16
16
  */
17
17
  taskID: number;
18
18
  };
package/model/userHit.ts CHANGED
@@ -4,7 +4,7 @@ import type { UserHighlightResult } from './userHighlightResult';
4
4
 
5
5
  export type UserHit = {
6
6
  /**
7
- * UserID of the user.
7
+ * User ID.
8
8
  */
9
9
  userID: string;
10
10
 
package/model/userId.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export type UserId = {
7
7
  /**
8
- * UserID of the user.
8
+ * User ID.
9
9
  */
10
10
  userID: string;
11
11
 
package/model/value.ts CHANGED
@@ -4,7 +4,7 @@ import type { SortRemainingBy } from './sortRemainingBy';
4
4
 
5
5
  export type Value = {
6
6
  /**
7
- * Pinned order of facet lists.
7
+ * Explicit order of facets or facet values. This setting lets you always show specific facets or facet values at the top of the list.
8
8
  */
9
9
  order?: string[];
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/client-search",
3
- "version": "5.0.0-alpha.106",
3
+ "version": "5.0.0-alpha.108",
4
4
  "description": "JavaScript client for client-search",
5
5
  "repository": "algolia/algoliasearch-client-javascript",
6
6
  "license": "MIT",
@@ -39,14 +39,14 @@
39
39
  "clean": "rm -rf ./dist || true"
40
40
  },
41
41
  "dependencies": {
42
- "@algolia/client-common": "5.0.0-alpha.107",
43
- "@algolia/requester-browser-xhr": "5.0.0-alpha.107",
44
- "@algolia/requester-node-http": "5.0.0-alpha.107"
42
+ "@algolia/client-common": "5.0.0-alpha.109",
43
+ "@algolia/requester-browser-xhr": "5.0.0-alpha.109",
44
+ "@algolia/requester-node-http": "5.0.0-alpha.109"
45
45
  },
46
46
  "devDependencies": {
47
- "@types/node": "20.11.24",
48
- "rollup": "4.12.0",
49
- "typescript": "5.3.3"
47
+ "@types/node": "20.11.28",
48
+ "rollup": "4.13.0",
49
+ "typescript": "5.4.2"
50
50
  },
51
51
  "engines": {
52
52
  "node": ">= 14.0.0"