@algolia/client-search 5.0.0-alpha.73 → 5.0.0-alpha.76

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 (240) hide show
  1. package/dist/client-search.cjs.js +188 -186
  2. package/dist/client-search.esm.browser.js +188 -184
  3. package/dist/client-search.esm.node.js +188 -184
  4. package/dist/client-search.umd.js +2 -2
  5. package/dist/model/acl.d.ts +1 -1
  6. package/dist/model/action.d.ts +1 -1
  7. package/dist/model/addApiKeyResponse.d.ts +2 -2
  8. package/dist/model/anchoring.d.ts +1 -1
  9. package/dist/model/apiKey.d.ts +9 -9
  10. package/dist/model/aroundRadius.d.ts +1 -1
  11. package/dist/model/assignUserIdParams.d.ts +1 -1
  12. package/dist/model/baseGetApiKeyResponse.d.ts +2 -2
  13. package/dist/model/baseIndexSettings.d.ts +14 -14
  14. package/dist/model/baseSearchParamsWithoutQuery.d.ts +25 -25
  15. package/dist/model/baseSearchResponse.d.ts +20 -20
  16. package/dist/model/baseSearchResponseRedirect.d.ts +1 -1
  17. package/dist/model/batchAssignUserIdsParams.d.ts +2 -2
  18. package/dist/model/batchDictionaryEntriesParams.d.ts +3 -3
  19. package/dist/model/batchParams.d.ts +1 -1
  20. package/dist/model/batchRequest.d.ts +1 -1
  21. package/dist/model/batchResponse.d.ts +2 -2
  22. package/dist/model/batchWriteParams.d.ts +1 -1
  23. package/dist/model/builtInOperation.d.ts +1 -1
  24. package/dist/model/builtInOperationType.d.ts +1 -1
  25. package/dist/model/clientMethodProps.d.ts +88 -84
  26. package/dist/model/clientMethodProps.d.ts.map +1 -1
  27. package/dist/model/consequence.d.ts +4 -4
  28. package/dist/model/consequenceHide.d.ts +2 -2
  29. package/dist/model/createdAtResponse.d.ts +2 -2
  30. package/dist/model/cursor.d.ts +1 -1
  31. package/dist/model/deleteApiKeyResponse.d.ts +1 -1
  32. package/dist/model/deleteByParams.d.ts +4 -4
  33. package/dist/model/deleteSourceResponse.d.ts +1 -1
  34. package/dist/model/deletedAtResponse.d.ts +3 -3
  35. package/dist/model/dictionaryEntry.d.ts +6 -6
  36. package/dist/model/dictionaryEntryState.d.ts +1 -1
  37. package/dist/model/dictionaryLanguage.d.ts +2 -2
  38. package/dist/model/dictionarySettingsParams.d.ts +1 -1
  39. package/dist/model/distinct.d.ts +1 -1
  40. package/dist/model/exactOnSingleWordQuery.d.ts +1 -1
  41. package/dist/model/facetFilters.d.ts +1 -1
  42. package/dist/model/facetHits.d.ts +3 -3
  43. package/dist/model/facetOrdering.d.ts +2 -2
  44. package/dist/model/facets.d.ts +1 -1
  45. package/dist/model/facetsStats.d.ts +4 -4
  46. package/dist/model/fetchedIndex.d.ts +1 -1
  47. package/dist/model/getObjectsParams.d.ts +1 -1
  48. package/dist/model/getObjectsRequest.d.ts +4 -4
  49. package/dist/model/getObjectsResponse.d.ts +1 -1
  50. package/dist/model/getTopUserIdsResponse.d.ts +2 -2
  51. package/dist/model/hasPendingMappingsResponse.d.ts +2 -2
  52. package/dist/model/highlightResultOption.d.ts +1 -1
  53. package/dist/model/hit.d.ts +1 -1
  54. package/dist/model/ignorePlurals.d.ts +1 -1
  55. package/dist/model/index.d.ts +1 -0
  56. package/dist/model/index.d.ts.map +1 -1
  57. package/dist/model/indexSettings.d.ts +1 -1
  58. package/dist/model/indexSettingsAsSearchParams.d.ts +30 -30
  59. package/dist/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
  60. package/dist/model/languages.d.ts +1 -1
  61. package/dist/model/listApiKeysResponse.d.ts +1 -1
  62. package/dist/model/listClustersResponse.d.ts +2 -2
  63. package/dist/model/listIndicesResponse.d.ts +1 -1
  64. package/dist/model/listUserIdsResponse.d.ts +2 -2
  65. package/dist/model/log.d.ts +7 -7
  66. package/dist/model/logQuery.d.ts +1 -1
  67. package/dist/model/mode.d.ts +1 -1
  68. package/dist/model/multipleBatchRequest.d.ts +1 -1
  69. package/dist/model/multipleBatchResponse.d.ts +2 -2
  70. package/dist/model/numericFilters.d.ts +1 -1
  71. package/dist/model/operationIndexParams.d.ts +2 -2
  72. package/dist/model/operationType.d.ts +1 -1
  73. package/dist/model/optionalFilters.d.ts +1 -1
  74. package/dist/model/params.d.ts +1 -1
  75. package/dist/model/promoteObjectID.d.ts +3 -3
  76. package/dist/model/promoteObjectIDs.d.ts +3 -3
  77. package/dist/model/queryType.d.ts +1 -1
  78. package/dist/model/reRankingApplyFilter.d.ts +1 -1
  79. package/dist/model/redirectRuleIndexMetadata.d.ts +1 -1
  80. package/dist/model/redirectRuleIndexMetadataData.d.ts +1 -1
  81. package/dist/model/removeStopWords.d.ts +1 -1
  82. package/dist/model/removeUserIdResponse.d.ts +1 -1
  83. package/dist/model/removeWordsIfNoResults.d.ts +1 -1
  84. package/dist/model/renderingContent.d.ts +1 -1
  85. package/dist/model/replaceSourceResponse.d.ts +1 -1
  86. package/dist/model/rule.d.ts +5 -5
  87. package/dist/model/saveObjectResponse.d.ts +5 -2
  88. package/dist/model/saveObjectResponse.d.ts.map +1 -1
  89. package/dist/model/saveSynonymResponse.d.ts +3 -3
  90. package/dist/model/searchDictionaryEntriesParams.d.ts +5 -5
  91. package/dist/model/searchForFacetValuesRequest.d.ts +2 -2
  92. package/dist/model/searchForFacetsOptions.d.ts +3 -3
  93. package/dist/model/searchForHitsOptions.d.ts +1 -1
  94. package/dist/model/searchParamsQuery.d.ts +1 -1
  95. package/dist/model/searchParamsString.d.ts +1 -1
  96. package/dist/model/searchResponses.d.ts +2 -2
  97. package/dist/model/searchResponses.d.ts.map +1 -1
  98. package/dist/model/searchResult.d.ts +4 -0
  99. package/dist/model/searchResult.d.ts.map +1 -0
  100. package/dist/model/searchRulesParams.d.ts +7 -7
  101. package/dist/model/searchStrategy.d.ts +3 -0
  102. package/dist/model/searchStrategy.d.ts.map +1 -1
  103. package/dist/model/searchSynonymsParams.d.ts +1 -1
  104. package/dist/model/searchSynonymsResponse.d.ts +2 -2
  105. package/dist/model/searchTypeDefault.d.ts +1 -1
  106. package/dist/model/searchTypeFacet.d.ts +1 -1
  107. package/dist/model/searchUserIdsParams.d.ts +4 -4
  108. package/dist/model/searchUserIdsResponse.d.ts +5 -5
  109. package/dist/model/snippetResultOption.d.ts +1 -1
  110. package/dist/model/sortRemainingBy.d.ts +1 -1
  111. package/dist/model/source.d.ts +3 -3
  112. package/dist/model/standardEntries.d.ts +4 -4
  113. package/dist/model/synonymHit.d.ts +6 -6
  114. package/dist/model/synonymType.d.ts +1 -1
  115. package/dist/model/tagFilters.d.ts +1 -1
  116. package/dist/model/taskStatus.d.ts +3 -0
  117. package/dist/model/taskStatus.d.ts.map +1 -1
  118. package/dist/model/typoTolerance.d.ts +1 -1
  119. package/dist/model/updateApiKeyResponse.d.ts +2 -2
  120. package/dist/model/updatedAtResponse.d.ts +3 -3
  121. package/dist/model/updatedAtWithObjectIdResponse.d.ts +4 -4
  122. package/dist/model/updatedRuleResponse.d.ts +3 -3
  123. package/dist/model/userHit.d.ts +1 -1
  124. package/dist/model/userId.d.ts +2 -2
  125. package/dist/src/searchClient.d.ts +185 -184
  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 +2 -2
  130. package/model/anchoring.ts +1 -1
  131. package/model/apiKey.ts +9 -9
  132. package/model/aroundRadius.ts +1 -1
  133. package/model/assignUserIdParams.ts +1 -1
  134. package/model/baseGetApiKeyResponse.ts +2 -2
  135. package/model/baseIndexSettings.ts +14 -14
  136. package/model/baseSearchParamsWithoutQuery.ts +25 -25
  137. package/model/baseSearchResponse.ts +20 -20
  138. package/model/baseSearchResponseRedirect.ts +1 -1
  139. package/model/batchAssignUserIdsParams.ts +2 -2
  140. package/model/batchDictionaryEntriesParams.ts +3 -3
  141. package/model/batchParams.ts +1 -1
  142. package/model/batchRequest.ts +1 -1
  143. package/model/batchResponse.ts +2 -2
  144. package/model/batchWriteParams.ts +1 -1
  145. package/model/builtInOperation.ts +1 -1
  146. package/model/builtInOperationType.ts +1 -1
  147. package/model/clientMethodProps.ts +88 -84
  148. package/model/consequence.ts +4 -4
  149. package/model/consequenceHide.ts +2 -2
  150. package/model/createdAtResponse.ts +2 -2
  151. package/model/cursor.ts +1 -1
  152. package/model/deleteApiKeyResponse.ts +1 -1
  153. package/model/deleteByParams.ts +4 -4
  154. package/model/deleteSourceResponse.ts +1 -1
  155. package/model/deletedAtResponse.ts +3 -3
  156. package/model/dictionaryEntry.ts +6 -6
  157. package/model/dictionaryEntryState.ts +1 -1
  158. package/model/dictionaryLanguage.ts +2 -2
  159. package/model/dictionarySettingsParams.ts +1 -1
  160. package/model/distinct.ts +1 -1
  161. package/model/exactOnSingleWordQuery.ts +1 -1
  162. package/model/facetFilters.ts +1 -1
  163. package/model/facetHits.ts +3 -3
  164. package/model/facetOrdering.ts +2 -2
  165. package/model/facets.ts +1 -1
  166. package/model/facetsStats.ts +4 -4
  167. package/model/fetchedIndex.ts +1 -1
  168. package/model/getObjectsParams.ts +1 -1
  169. package/model/getObjectsRequest.ts +4 -4
  170. package/model/getObjectsResponse.ts +1 -1
  171. package/model/getTopUserIdsResponse.ts +2 -2
  172. package/model/hasPendingMappingsResponse.ts +2 -2
  173. package/model/highlightResultOption.ts +1 -1
  174. package/model/hit.ts +1 -1
  175. package/model/ignorePlurals.ts +1 -1
  176. package/model/index.ts +1 -0
  177. package/model/indexSettings.ts +1 -1
  178. package/model/indexSettingsAsSearchParams.ts +30 -30
  179. package/model/indexSettingsAsSearchParamsSemanticSearch.ts +2 -2
  180. package/model/languages.ts +1 -1
  181. package/model/listApiKeysResponse.ts +1 -1
  182. package/model/listClustersResponse.ts +2 -2
  183. package/model/listIndicesResponse.ts +1 -1
  184. package/model/listUserIdsResponse.ts +2 -2
  185. package/model/log.ts +7 -7
  186. package/model/logQuery.ts +1 -1
  187. package/model/mode.ts +1 -1
  188. package/model/multipleBatchRequest.ts +1 -1
  189. package/model/multipleBatchResponse.ts +2 -2
  190. package/model/numericFilters.ts +1 -1
  191. package/model/operationIndexParams.ts +2 -2
  192. package/model/operationType.ts +1 -1
  193. package/model/optionalFilters.ts +1 -1
  194. package/model/params.ts +1 -1
  195. package/model/promoteObjectID.ts +3 -3
  196. package/model/promoteObjectIDs.ts +3 -3
  197. package/model/queryType.ts +1 -1
  198. package/model/reRankingApplyFilter.ts +1 -1
  199. package/model/redirectRuleIndexMetadata.ts +1 -1
  200. package/model/redirectRuleIndexMetadataData.ts +1 -1
  201. package/model/removeStopWords.ts +1 -1
  202. package/model/removeUserIdResponse.ts +1 -1
  203. package/model/removeWordsIfNoResults.ts +1 -1
  204. package/model/renderingContent.ts +1 -1
  205. package/model/replaceSourceResponse.ts +1 -1
  206. package/model/rule.ts +5 -5
  207. package/model/saveObjectResponse.ts +5 -2
  208. package/model/saveSynonymResponse.ts +3 -3
  209. package/model/searchDictionaryEntriesParams.ts +5 -5
  210. package/model/searchForFacetValuesRequest.ts +2 -2
  211. package/model/searchForFacetsOptions.ts +3 -3
  212. package/model/searchForHitsOptions.ts +1 -1
  213. package/model/searchParamsQuery.ts +1 -1
  214. package/model/searchParamsString.ts +1 -1
  215. package/model/searchResponses.ts +2 -2
  216. package/model/searchResult.ts +8 -0
  217. package/model/searchRulesParams.ts +7 -7
  218. package/model/searchStrategy.ts +3 -0
  219. package/model/searchSynonymsParams.ts +1 -1
  220. package/model/searchSynonymsResponse.ts +2 -2
  221. package/model/searchTypeDefault.ts +1 -1
  222. package/model/searchTypeFacet.ts +1 -1
  223. package/model/searchUserIdsParams.ts +4 -4
  224. package/model/searchUserIdsResponse.ts +5 -5
  225. package/model/snippetResultOption.ts +1 -1
  226. package/model/sortRemainingBy.ts +1 -1
  227. package/model/source.ts +3 -3
  228. package/model/standardEntries.ts +4 -4
  229. package/model/synonymHit.ts +6 -6
  230. package/model/synonymType.ts +1 -1
  231. package/model/tagFilters.ts +1 -1
  232. package/model/taskStatus.ts +3 -0
  233. package/model/typoTolerance.ts +1 -1
  234. package/model/updateApiKeyResponse.ts +2 -2
  235. package/model/updatedAtResponse.ts +3 -3
  236. package/model/updatedAtWithObjectIdResponse.ts +4 -4
  237. package/model/updatedRuleResponse.ts +3 -3
  238. package/model/userHit.ts +1 -1
  239. package/model/userId.ts +2 -2
  240. package/package.json +8 -7
@@ -2,7 +2,7 @@
2
2
 
3
3
  export type SearchSynonymsParams = {
4
4
  /**
5
- * The text to search in the index.
5
+ * Text to search for in an index.
6
6
  */
7
7
  query?: string;
8
8
  };
@@ -4,12 +4,12 @@ import type { SynonymHit } from './synonymHit';
4
4
 
5
5
  export type SearchSynonymsResponse = Record<string, any> & {
6
6
  /**
7
- * Array of synonym objects.
7
+ * Synonym objects.
8
8
  */
9
9
  hits: SynonymHit[];
10
10
 
11
11
  /**
12
- * Number of hits that the search query matched.
12
+ * Number of hits the search query matched.
13
13
  */
14
14
  nbHits: number;
15
15
  };
@@ -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
- * Perform a search query with `default`, will search for facet values if `facet` is given.
4
+ * - `default`: perform a search query - `facet` [searches for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
5
5
  */
6
6
  export type SearchTypeDefault = 'default';
@@ -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
- * Perform a search query with `default`, will search for facet values if `facet` is given.
4
+ * - `default`: perform a search query - `facet` [searches for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
5
5
  */
6
6
  export type SearchTypeFacet = 'facet';
@@ -5,22 +5,22 @@
5
5
  */
6
6
  export type SearchUserIdsParams = {
7
7
  /**
8
- * Query to search. The search is a prefix search with typoTolerance. Use empty query to retrieve all users.
8
+ * Query to search. The search is a prefix search with [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/) enabled. An empty query will retrieve all users.
9
9
  */
10
10
  query: string;
11
11
 
12
12
  /**
13
- * Name of the cluster.
13
+ * Cluster name.
14
14
  */
15
15
  clusterName?: string;
16
16
 
17
17
  /**
18
- * Specify the page to retrieve.
18
+ * Page to retrieve (the first page is `0`, not `1`).
19
19
  */
20
20
  page?: number;
21
21
 
22
22
  /**
23
- * Set the number of hits per page.
23
+ * Number of hits per page.
24
24
  */
25
25
  hitsPerPage?: number;
26
26
  };
@@ -7,27 +7,27 @@ import type { UserHit } from './userHit';
7
7
  */
8
8
  export type SearchUserIdsResponse = {
9
9
  /**
10
- * List of user object matching the query.
10
+ * User objects that match the query.
11
11
  */
12
12
  hits: UserHit[];
13
13
 
14
14
  /**
15
- * Number of hits that the search query matched.
15
+ * Number of hits the search query matched.
16
16
  */
17
17
  nbHits: number;
18
18
 
19
19
  /**
20
- * Specify the page to retrieve.
20
+ * Page to retrieve (the first page is `0`, not `1`).
21
21
  */
22
22
  page: number;
23
23
 
24
24
  /**
25
- * Maximum number of hits in a page. Minimum is 1, maximum is 1000.
25
+ * Maximum number of hits per page.
26
26
  */
27
27
  hitsPerPage: number;
28
28
 
29
29
  /**
30
- * Date of last update (ISO-8601 format).
30
+ * Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
31
31
  */
32
32
  updatedAt: string;
33
33
  };
@@ -7,7 +7,7 @@ import type { MatchLevel } from './matchLevel';
7
7
  */
8
8
  export type SnippetResultOption = {
9
9
  /**
10
- * Markup text with occurrences highlighted.
10
+ * Markup text with `facetQuery` matches highlighted.
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
+ * How to display the remaining items: - `count`: facet count (descending). - `alpha`: alphabetical (ascending). - `hidden`: show only pinned values.
5
5
  */
6
6
  export type SortRemainingBy = 'alpha' | 'count' | 'hidden';
package/model/source.ts CHANGED
@@ -1,16 +1,16 @@
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
- * The source.
4
+ * Source.
5
5
  */
6
6
  export type Source = {
7
7
  /**
8
- * The IP range of the source.
8
+ * IP address range of the source.
9
9
  */
10
10
  source: string;
11
11
 
12
12
  /**
13
- * The description of the source.
13
+ * Source description.
14
14
  */
15
15
  description?: string;
16
16
  };
@@ -1,21 +1,21 @@
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
- * Map of language ISO code supported by the dictionary (e.g., \"en\" for English) to a boolean value.
4
+ * Key-value pairs of [supported language ISO codes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/) and boolean values.
5
5
  */
6
6
  export type StandardEntries = {
7
7
  /**
8
- * Language ISO code.
8
+ * Key-value pair of a language ISO code and a boolean value.
9
9
  */
10
10
  plurals?: Record<string, boolean> | null;
11
11
 
12
12
  /**
13
- * Language ISO code.
13
+ * Key-value pair of a language ISO code and a boolean value.
14
14
  */
15
15
  stopwords?: Record<string, boolean> | null;
16
16
 
17
17
  /**
18
- * Language ISO code.
18
+ * Key-value pair of a language ISO code and a boolean value.
19
19
  */
20
20
  compounds?: Record<string, boolean> | null;
21
21
  };
@@ -7,24 +7,24 @@ import type { SynonymType } from './synonymType';
7
7
  */
8
8
  export type SynonymHit = {
9
9
  /**
10
- * Unique identifier of the synonym object to be created or updated.
10
+ * Unique identifier of a synonym object.
11
11
  */
12
12
  objectID: string;
13
13
 
14
14
  type: SynonymType;
15
15
 
16
16
  /**
17
- * Words or phrases to be considered equivalent.
17
+ * Words or phrases considered equivalent.
18
18
  */
19
19
  synonyms?: string[];
20
20
 
21
21
  /**
22
- * Word or phrase to appear in query strings (for onewaysynonym).
22
+ * Word or phrase to appear in query strings (for [`onewaysynonym`s](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/one-way-synonyms/)).
23
23
  */
24
24
  input?: string;
25
25
 
26
26
  /**
27
- * Word or phrase to appear in query strings (for altcorrection1 and altcorrection2).
27
+ * Word or phrase to appear in query strings (for [`altcorrection1` and `altcorrection2`](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/synonyms-alternative-corrections/)).
28
28
  */
29
29
  word?: string;
30
30
 
@@ -34,12 +34,12 @@ export type SynonymHit = {
34
34
  corrections?: string[];
35
35
 
36
36
  /**
37
- * Token to be put inside records.
37
+ * [Placeholder token](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/synonyms-placeholders/) to be put inside records.
38
38
  */
39
39
  placeholder?: string;
40
40
 
41
41
  /**
42
- * List of query words that will match the token.
42
+ * Query words that will match the [placeholder token](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/synonyms-placeholders/).
43
43
  */
44
44
  replacements?: string[];
45
45
  };
@@ -1,7 +1,7 @@
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
- * Type of the synonym object.
4
+ * Synonym type.
5
5
  */
6
6
  export type SynonymType =
7
7
  | 'altcorrection1'
@@ -3,6 +3,6 @@
3
3
  import type { MixedSearchFilters } from './mixedSearchFilters';
4
4
 
5
5
  /**
6
- * Filter hits by tags.
6
+ * [Filter hits by tags](https://www.algolia.com/doc/api-reference/api-parameters/tagFilters/).
7
7
  */
8
8
  export type TagFilters = MixedSearchFilters[] | string;
@@ -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
+ * _published_ if the task has been processed, _notPublished_ otherwise.
5
+ */
3
6
  export type TaskStatus = 'notPublished' | 'published';
@@ -3,6 +3,6 @@
3
3
  import type { TypoToleranceEnum } from './typoToleranceEnum';
4
4
 
5
5
  /**
6
- * Controls whether typo tolerance is enabled and how it is applied.
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.
7
7
  */
8
8
  export type TypoTolerance = TypoToleranceEnum | boolean;
@@ -2,12 +2,12 @@
2
2
 
3
3
  export type UpdateApiKeyResponse = {
4
4
  /**
5
- * The API key.
5
+ * API key.
6
6
  */
7
7
  key: string;
8
8
 
9
9
  /**
10
- * Date of last update (ISO-8601 format).
10
+ * Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
11
11
  */
12
12
  updatedAt: string;
13
13
  };
@@ -1,16 +1,16 @@
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
- * The response with a taskID and an updatedAt timestamp.
4
+ * Response, taskID, and update timestamp.
5
5
  */
6
6
  export type UpdatedAtResponse = {
7
7
  /**
8
- * TaskID of the task to wait for.
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`.
9
9
  */
10
10
  taskID: number;
11
11
 
12
12
  /**
13
- * Date of last update (ISO-8601 format).
13
+ * Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
14
14
  */
15
15
  updatedAt: string;
16
16
  };
@@ -1,21 +1,21 @@
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
- * The response with a taskID, an objectID and an updatedAt timestamp.
4
+ * Response, taskID, unique object identifier, and an update timestamp.
5
5
  */
6
6
  export type UpdatedAtWithObjectIdResponse = {
7
7
  /**
8
- * TaskID of the task to wait for.
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`.
9
9
  */
10
10
  taskID?: number;
11
11
 
12
12
  /**
13
- * Date of last update (ISO-8601 format).
13
+ * Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
14
14
  */
15
15
  updatedAt?: string;
16
16
 
17
17
  /**
18
- * Unique identifier of the object.
18
+ * Unique object identifier.
19
19
  */
20
20
  objectID?: string;
21
21
  };
@@ -2,17 +2,17 @@
2
2
 
3
3
  export type UpdatedRuleResponse = {
4
4
  /**
5
- * Unique identifier of the object.
5
+ * Unique object identifier.
6
6
  */
7
7
  objectID: string;
8
8
 
9
9
  /**
10
- * Date of last update (ISO-8601 format).
10
+ * Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
11
11
  */
12
12
  updatedAt: string;
13
13
 
14
14
  /**
15
- * TaskID of the task to wait for.
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`.
16
16
  */
17
17
  taskID: number;
18
18
  };
package/model/userHit.ts CHANGED
@@ -9,7 +9,7 @@ export type UserHit = {
9
9
  userID: string;
10
10
 
11
11
  /**
12
- * Name of the cluster.
12
+ * Cluster name.
13
13
  */
14
14
  clusterName: string;
15
15
 
package/model/userId.ts CHANGED
@@ -1,7 +1,7 @@
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
- * A userID.
4
+ * Unique user ID.
5
5
  */
6
6
  export type UserId = {
7
7
  /**
@@ -10,7 +10,7 @@ export type UserId = {
10
10
  userID: string;
11
11
 
12
12
  /**
13
- * Cluster on which the user is assigned.
13
+ * Cluster to which the user is assigned.
14
14
  */
15
15
  clusterName: string;
16
16
 
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@algolia/client-search",
3
- "version": "5.0.0-alpha.73",
3
+ "version": "5.0.0-alpha.76",
4
4
  "description": "JavaScript client for client-search",
5
5
  "repository": "algolia/algoliasearch-client-javascript",
6
6
  "license": "MIT",
7
7
  "author": "Algolia",
8
+ "type": "module",
8
9
  "exports": {
9
10
  ".": {
10
11
  "node": {
@@ -38,14 +39,14 @@
38
39
  "clean": "rm -rf ./dist || true"
39
40
  },
40
41
  "dependencies": {
41
- "@algolia/client-common": "5.0.0-alpha.73",
42
- "@algolia/requester-browser-xhr": "5.0.0-alpha.73",
43
- "@algolia/requester-node-http": "5.0.0-alpha.73"
42
+ "@algolia/client-common": "5.0.0-alpha.76",
43
+ "@algolia/requester-browser-xhr": "5.0.0-alpha.76",
44
+ "@algolia/requester-node-http": "5.0.0-alpha.76"
44
45
  },
45
46
  "devDependencies": {
46
- "@types/node": "18.16.18",
47
- "rollup": "2.79.1",
48
- "typescript": "5.0.4"
47
+ "@types/node": "18.17.0",
48
+ "rollup": "3.26.3",
49
+ "typescript": "5.1.6"
49
50
  },
50
51
  "engines": {
51
52
  "node": ">= 14.0.0"