algoliasearch 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 (348) hide show
  1. package/dist/algoliasearch.cjs.js +342 -340
  2. package/dist/algoliasearch.esm.browser.js +342 -338
  3. package/dist/algoliasearch.esm.node.js +342 -338
  4. package/dist/algoliasearch.umd.js +2 -2
  5. package/dist/builds/browser.d.ts +2 -2
  6. package/dist/builds/node.d.ts +2 -2
  7. package/dist/client-abtesting/model/aBTest.d.ts +8 -12
  8. package/dist/client-abtesting/model/aBTest.d.ts.map +1 -1
  9. package/dist/client-abtesting/model/aBTestResponse.d.ts +3 -3
  10. package/dist/client-abtesting/model/abTestsVariant.d.ts +3 -3
  11. package/dist/client-abtesting/model/addABTestsRequest.d.ts +3 -3
  12. package/dist/client-abtesting/model/addABTestsRequest.d.ts.map +1 -1
  13. package/dist/client-abtesting/model/clientMethodProps.d.ts +16 -16
  14. package/dist/client-abtesting/model/customSearchParams.d.ts +3 -0
  15. package/dist/client-abtesting/model/customSearchParams.d.ts.map +1 -1
  16. package/dist/client-abtesting/model/listABTestsResponse.d.ts +3 -3
  17. package/dist/client-abtesting/model/variant.d.ts +14 -14
  18. package/dist/client-abtesting/src/abtestingClient.d.ts +27 -27
  19. package/dist/client-analytics/model/averageClickEvent.d.ts +3 -3
  20. package/dist/client-analytics/model/clickPosition.d.ts +2 -2
  21. package/dist/client-analytics/model/clickThroughRateEvent.d.ts +4 -4
  22. package/dist/client-analytics/model/clientMethodProps.d.ts +91 -91
  23. package/dist/client-analytics/model/conversionRateEvent.d.ts +4 -4
  24. package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts +3 -3
  25. package/dist/client-analytics/model/getClickPositionsResponse.d.ts +1 -1
  26. package/dist/client-analytics/model/getClickThroughRateResponse.d.ts +4 -4
  27. package/dist/client-analytics/model/getConversationRateResponse.d.ts +4 -4
  28. package/dist/client-analytics/model/getNoClickRateResponse.d.ts +4 -4
  29. package/dist/client-analytics/model/getNoResultsRateResponse.d.ts +4 -4
  30. package/dist/client-analytics/model/getSearchesCountResponse.d.ts +2 -2
  31. package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts +1 -1
  32. package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts +1 -1
  33. package/dist/client-analytics/model/getStatusResponse.d.ts +1 -1
  34. package/dist/client-analytics/model/getTopCountriesResponse.d.ts +1 -1
  35. package/dist/client-analytics/model/getTopFilterAttribute.d.ts +2 -2
  36. package/dist/client-analytics/model/getTopFilterAttributesResponse.d.ts +1 -1
  37. package/dist/client-analytics/model/getTopFilterForAttribute.d.ts +4 -4
  38. package/dist/client-analytics/model/getTopFilterForAttributeResponse.d.ts +1 -1
  39. package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts +1 -1
  40. package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts +3 -3
  41. package/dist/client-analytics/model/getTopFiltersNoResultsValues.d.ts +2 -2
  42. package/dist/client-analytics/model/getUsersCountResponse.d.ts +2 -2
  43. package/dist/client-analytics/model/noClickRateEvent.d.ts +4 -4
  44. package/dist/client-analytics/model/noResultsRateEvent.d.ts +4 -4
  45. package/dist/client-analytics/model/orderBy.d.ts +3 -0
  46. package/dist/client-analytics/model/orderBy.d.ts.map +1 -1
  47. package/dist/client-analytics/model/searchEvent.d.ts +2 -2
  48. package/dist/client-analytics/model/searchNoClickEvent.d.ts +3 -3
  49. package/dist/client-analytics/model/searchNoResultEvent.d.ts +3 -3
  50. package/dist/client-analytics/model/topCountry.d.ts +2 -2
  51. package/dist/client-analytics/model/topHit.d.ts +2 -2
  52. package/dist/client-analytics/model/topHitWithAnalytics.d.ts +7 -7
  53. package/dist/client-analytics/model/topHitsResponse.d.ts +1 -1
  54. package/dist/client-analytics/model/topHitsResponseWithAnalytics.d.ts +1 -1
  55. package/dist/client-analytics/model/topSearch.d.ts +3 -3
  56. package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +9 -9
  57. package/dist/client-analytics/model/topSearchesResponse.d.ts +1 -1
  58. package/dist/client-analytics/model/topSearchesResponseWithAnalytics.d.ts +1 -1
  59. package/dist/client-analytics/model/userWithDate.d.ts +2 -2
  60. package/dist/client-analytics/src/analyticsClient.d.ts +114 -114
  61. package/dist/client-personalization/model/clientMethodProps.d.ts +10 -10
  62. package/dist/client-personalization/src/personalizationClient.d.ts +11 -11
  63. package/dist/client-search/model/acl.d.ts +1 -1
  64. package/dist/client-search/model/action.d.ts +1 -1
  65. package/dist/client-search/model/addApiKeyResponse.d.ts +2 -2
  66. package/dist/client-search/model/anchoring.d.ts +1 -1
  67. package/dist/client-search/model/apiKey.d.ts +9 -9
  68. package/dist/client-search/model/aroundRadius.d.ts +1 -1
  69. package/dist/client-search/model/assignUserIdParams.d.ts +1 -1
  70. package/dist/client-search/model/baseGetApiKeyResponse.d.ts +2 -2
  71. package/dist/client-search/model/baseIndexSettings.d.ts +14 -14
  72. package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +25 -25
  73. package/dist/client-search/model/baseSearchResponse.d.ts +20 -20
  74. package/dist/client-search/model/baseSearchResponseRedirect.d.ts +1 -1
  75. package/dist/client-search/model/batchAssignUserIdsParams.d.ts +2 -2
  76. package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +3 -3
  77. package/dist/client-search/model/batchParams.d.ts +1 -1
  78. package/dist/client-search/model/batchRequest.d.ts +1 -1
  79. package/dist/client-search/model/batchResponse.d.ts +2 -2
  80. package/dist/client-search/model/batchWriteParams.d.ts +1 -1
  81. package/dist/client-search/model/builtInOperation.d.ts +1 -1
  82. package/dist/client-search/model/builtInOperationType.d.ts +1 -1
  83. package/dist/client-search/model/clientMethodProps.d.ts +88 -84
  84. package/dist/client-search/model/clientMethodProps.d.ts.map +1 -1
  85. package/dist/client-search/model/consequence.d.ts +4 -4
  86. package/dist/client-search/model/consequenceHide.d.ts +2 -2
  87. package/dist/client-search/model/createdAtResponse.d.ts +2 -2
  88. package/dist/client-search/model/cursor.d.ts +1 -1
  89. package/dist/client-search/model/deleteApiKeyResponse.d.ts +1 -1
  90. package/dist/client-search/model/deleteByParams.d.ts +4 -4
  91. package/dist/client-search/model/deleteSourceResponse.d.ts +1 -1
  92. package/dist/client-search/model/deletedAtResponse.d.ts +3 -3
  93. package/dist/client-search/model/dictionaryEntry.d.ts +6 -6
  94. package/dist/client-search/model/dictionaryEntryState.d.ts +1 -1
  95. package/dist/client-search/model/dictionaryLanguage.d.ts +2 -2
  96. package/dist/client-search/model/dictionarySettingsParams.d.ts +1 -1
  97. package/dist/client-search/model/distinct.d.ts +1 -1
  98. package/dist/client-search/model/exactOnSingleWordQuery.d.ts +1 -1
  99. package/dist/client-search/model/facetFilters.d.ts +1 -1
  100. package/dist/client-search/model/facetHits.d.ts +3 -3
  101. package/dist/client-search/model/facetOrdering.d.ts +2 -2
  102. package/dist/client-search/model/facets.d.ts +1 -1
  103. package/dist/client-search/model/facetsStats.d.ts +4 -4
  104. package/dist/client-search/model/fetchedIndex.d.ts +1 -1
  105. package/dist/client-search/model/getObjectsParams.d.ts +1 -1
  106. package/dist/client-search/model/getObjectsRequest.d.ts +4 -4
  107. package/dist/client-search/model/getObjectsResponse.d.ts +1 -1
  108. package/dist/client-search/model/getTopUserIdsResponse.d.ts +2 -2
  109. package/dist/client-search/model/hasPendingMappingsResponse.d.ts +2 -2
  110. package/dist/client-search/model/highlightResultOption.d.ts +1 -1
  111. package/dist/client-search/model/hit.d.ts +1 -1
  112. package/dist/client-search/model/ignorePlurals.d.ts +1 -1
  113. package/dist/client-search/model/index.d.ts +1 -0
  114. package/dist/client-search/model/index.d.ts.map +1 -1
  115. package/dist/client-search/model/indexSettings.d.ts +1 -1
  116. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +30 -30
  117. package/dist/client-search/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
  118. package/dist/client-search/model/languages.d.ts +1 -1
  119. package/dist/client-search/model/listApiKeysResponse.d.ts +1 -1
  120. package/dist/client-search/model/listClustersResponse.d.ts +2 -2
  121. package/dist/client-search/model/listIndicesResponse.d.ts +1 -1
  122. package/dist/client-search/model/listUserIdsResponse.d.ts +2 -2
  123. package/dist/client-search/model/log.d.ts +7 -7
  124. package/dist/client-search/model/logQuery.d.ts +1 -1
  125. package/dist/client-search/model/mode.d.ts +1 -1
  126. package/dist/client-search/model/multipleBatchRequest.d.ts +1 -1
  127. package/dist/client-search/model/multipleBatchResponse.d.ts +2 -2
  128. package/dist/client-search/model/numericFilters.d.ts +1 -1
  129. package/dist/client-search/model/operationIndexParams.d.ts +2 -2
  130. package/dist/client-search/model/operationType.d.ts +1 -1
  131. package/dist/client-search/model/optionalFilters.d.ts +1 -1
  132. package/dist/client-search/model/params.d.ts +1 -1
  133. package/dist/client-search/model/promoteObjectID.d.ts +3 -3
  134. package/dist/client-search/model/promoteObjectIDs.d.ts +3 -3
  135. package/dist/client-search/model/queryType.d.ts +1 -1
  136. package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -1
  137. package/dist/client-search/model/redirectRuleIndexMetadata.d.ts +1 -1
  138. package/dist/client-search/model/redirectRuleIndexMetadataData.d.ts +1 -1
  139. package/dist/client-search/model/removeStopWords.d.ts +1 -1
  140. package/dist/client-search/model/removeUserIdResponse.d.ts +1 -1
  141. package/dist/client-search/model/removeWordsIfNoResults.d.ts +1 -1
  142. package/dist/client-search/model/renderingContent.d.ts +1 -1
  143. package/dist/client-search/model/replaceSourceResponse.d.ts +1 -1
  144. package/dist/client-search/model/rule.d.ts +5 -5
  145. package/dist/client-search/model/saveObjectResponse.d.ts +5 -2
  146. package/dist/client-search/model/saveObjectResponse.d.ts.map +1 -1
  147. package/dist/client-search/model/saveSynonymResponse.d.ts +3 -3
  148. package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +5 -5
  149. package/dist/client-search/model/searchForFacetValuesRequest.d.ts +2 -2
  150. package/dist/client-search/model/searchForFacetsOptions.d.ts +3 -3
  151. package/dist/client-search/model/searchForHitsOptions.d.ts +1 -1
  152. package/dist/client-search/model/searchParamsQuery.d.ts +1 -1
  153. package/dist/client-search/model/searchParamsString.d.ts +1 -1
  154. package/dist/client-search/model/searchResponses.d.ts +2 -2
  155. package/dist/client-search/model/searchResponses.d.ts.map +1 -1
  156. package/dist/client-search/model/searchResult.d.ts +4 -0
  157. package/dist/client-search/model/searchResult.d.ts.map +1 -0
  158. package/dist/client-search/model/searchRulesParams.d.ts +7 -7
  159. package/dist/client-search/model/searchStrategy.d.ts +3 -0
  160. package/dist/client-search/model/searchStrategy.d.ts.map +1 -1
  161. package/dist/client-search/model/searchSynonymsParams.d.ts +1 -1
  162. package/dist/client-search/model/searchSynonymsResponse.d.ts +2 -2
  163. package/dist/client-search/model/searchTypeDefault.d.ts +1 -1
  164. package/dist/client-search/model/searchTypeFacet.d.ts +1 -1
  165. package/dist/client-search/model/searchUserIdsParams.d.ts +4 -4
  166. package/dist/client-search/model/searchUserIdsResponse.d.ts +5 -5
  167. package/dist/client-search/model/snippetResultOption.d.ts +1 -1
  168. package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
  169. package/dist/client-search/model/source.d.ts +3 -3
  170. package/dist/client-search/model/standardEntries.d.ts +4 -4
  171. package/dist/client-search/model/synonymHit.d.ts +6 -6
  172. package/dist/client-search/model/synonymType.d.ts +1 -1
  173. package/dist/client-search/model/tagFilters.d.ts +1 -1
  174. package/dist/client-search/model/taskStatus.d.ts +3 -0
  175. package/dist/client-search/model/taskStatus.d.ts.map +1 -1
  176. package/dist/client-search/model/typoTolerance.d.ts +1 -1
  177. package/dist/client-search/model/updateApiKeyResponse.d.ts +2 -2
  178. package/dist/client-search/model/updatedAtResponse.d.ts +3 -3
  179. package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +4 -4
  180. package/dist/client-search/model/updatedRuleResponse.d.ts +3 -3
  181. package/dist/client-search/model/userHit.d.ts +1 -1
  182. package/dist/client-search/model/userId.d.ts +2 -2
  183. package/dist/client-search/src/searchClient.d.ts +185 -184
  184. package/dist/client-search/src/searchClient.d.ts.map +1 -1
  185. package/dist/lite/lite.cjs.js +6 -8
  186. package/dist/lite/lite.esm.browser.js +6 -6
  187. package/dist/lite/lite.esm.node.js +6 -6
  188. package/dist/lite/lite.umd.js +2 -2
  189. package/dist/lite/model/acl.d.ts +1 -1
  190. package/dist/lite/model/action.d.ts +1 -1
  191. package/dist/lite/model/addApiKeyResponse.d.ts +2 -2
  192. package/dist/lite/model/anchoring.d.ts +1 -1
  193. package/dist/lite/model/apiKey.d.ts +9 -9
  194. package/dist/lite/model/aroundRadius.d.ts +1 -1
  195. package/dist/lite/model/baseGetApiKeyResponse.d.ts +2 -2
  196. package/dist/lite/model/baseIndexSettings.d.ts +14 -14
  197. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +25 -25
  198. package/dist/lite/model/baseSearchResponse.d.ts +20 -20
  199. package/dist/lite/model/baseSearchResponseRedirect.d.ts +1 -1
  200. package/dist/lite/model/builtInOperation.d.ts +1 -1
  201. package/dist/lite/model/builtInOperationType.d.ts +1 -1
  202. package/dist/lite/model/clientMethodProps.d.ts +3 -3
  203. package/dist/lite/model/consequence.d.ts +4 -4
  204. package/dist/lite/model/consequenceHide.d.ts +2 -2
  205. package/dist/lite/model/cursor.d.ts +1 -1
  206. package/dist/lite/model/deleteByParams.d.ts +4 -4
  207. package/dist/lite/model/dictionaryEntry.d.ts +6 -6
  208. package/dist/lite/model/dictionaryEntryState.d.ts +1 -1
  209. package/dist/lite/model/dictionaryLanguage.d.ts +2 -2
  210. package/dist/lite/model/distinct.d.ts +1 -1
  211. package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
  212. package/dist/lite/model/facetFilters.d.ts +1 -1
  213. package/dist/lite/model/facetHits.d.ts +15 -0
  214. package/dist/lite/model/facetHits.d.ts.map +1 -0
  215. package/dist/lite/model/facetOrdering.d.ts +2 -2
  216. package/dist/lite/model/facets.d.ts +1 -1
  217. package/dist/lite/model/facetsStats.d.ts +4 -4
  218. package/dist/lite/model/fetchedIndex.d.ts +1 -1
  219. package/dist/lite/model/highlightResultOption.d.ts +1 -1
  220. package/dist/lite/model/hit.d.ts +1 -1
  221. package/dist/lite/model/ignorePlurals.d.ts +1 -1
  222. package/dist/lite/model/index.d.ts +3 -0
  223. package/dist/lite/model/index.d.ts.map +1 -1
  224. package/dist/lite/model/indexSettings.d.ts +1 -1
  225. package/dist/lite/model/indexSettingsAsSearchParams.d.ts +30 -30
  226. package/dist/lite/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
  227. package/dist/lite/model/languages.d.ts +1 -1
  228. package/dist/lite/model/listIndicesResponse.d.ts +1 -1
  229. package/dist/lite/model/mode.d.ts +1 -1
  230. package/dist/lite/model/numericFilters.d.ts +1 -1
  231. package/dist/lite/model/operationType.d.ts +1 -1
  232. package/dist/lite/model/optionalFilters.d.ts +1 -1
  233. package/dist/lite/model/params.d.ts +1 -1
  234. package/dist/lite/model/promoteObjectID.d.ts +3 -3
  235. package/dist/lite/model/promoteObjectIDs.d.ts +3 -3
  236. package/dist/lite/model/queryType.d.ts +1 -1
  237. package/dist/lite/model/reRankingApplyFilter.d.ts +1 -1
  238. package/dist/lite/model/redirectRuleIndexMetadata.d.ts +1 -1
  239. package/dist/lite/model/redirectRuleIndexMetadataData.d.ts +1 -1
  240. package/dist/lite/model/removeStopWords.d.ts +1 -1
  241. package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
  242. package/dist/lite/model/renderingContent.d.ts +1 -1
  243. package/dist/lite/model/rule.d.ts +5 -5
  244. package/dist/lite/model/searchForFacetValuesResponse.d.ts +5 -0
  245. package/dist/lite/model/searchForFacetValuesResponse.d.ts.map +1 -0
  246. package/dist/lite/model/searchForFacetsOptions.d.ts +3 -3
  247. package/dist/lite/model/searchForHitsOptions.d.ts +1 -1
  248. package/dist/lite/model/searchParamsQuery.d.ts +1 -1
  249. package/dist/lite/model/searchParamsString.d.ts +1 -1
  250. package/dist/lite/model/searchResponses.d.ts +2 -2
  251. package/dist/lite/model/searchResponses.d.ts.map +1 -1
  252. package/dist/lite/model/searchResult.d.ts +4 -0
  253. package/dist/lite/model/searchResult.d.ts.map +1 -0
  254. package/dist/lite/model/searchStrategy.d.ts +3 -0
  255. package/dist/lite/model/searchStrategy.d.ts.map +1 -1
  256. package/dist/lite/model/searchSynonymsResponse.d.ts +2 -2
  257. package/dist/lite/model/searchTypeDefault.d.ts +1 -1
  258. package/dist/lite/model/searchTypeFacet.d.ts +1 -1
  259. package/dist/lite/model/snippetResultOption.d.ts +1 -1
  260. package/dist/lite/model/sortRemainingBy.d.ts +1 -1
  261. package/dist/lite/model/source.d.ts +3 -3
  262. package/dist/lite/model/standardEntries.d.ts +4 -4
  263. package/dist/lite/model/synonymHit.d.ts +6 -6
  264. package/dist/lite/model/synonymType.d.ts +1 -1
  265. package/dist/lite/model/tagFilters.d.ts +1 -1
  266. package/dist/lite/model/taskStatus.d.ts +3 -0
  267. package/dist/lite/model/taskStatus.d.ts.map +1 -1
  268. package/dist/lite/model/typoTolerance.d.ts +1 -1
  269. package/dist/lite/model/updatedRuleResponse.d.ts +3 -3
  270. package/dist/lite/model/userId.d.ts +2 -2
  271. package/dist/lite/src/liteClient.d.ts +6 -6
  272. package/lite/model/acl.ts +1 -1
  273. package/lite/model/action.ts +1 -1
  274. package/lite/model/addApiKeyResponse.ts +2 -2
  275. package/lite/model/anchoring.ts +1 -1
  276. package/lite/model/apiKey.ts +9 -9
  277. package/lite/model/aroundRadius.ts +1 -1
  278. package/lite/model/baseGetApiKeyResponse.ts +2 -2
  279. package/lite/model/baseIndexSettings.ts +14 -14
  280. package/lite/model/baseSearchParamsWithoutQuery.ts +25 -25
  281. package/lite/model/baseSearchResponse.ts +20 -20
  282. package/lite/model/baseSearchResponseRedirect.ts +1 -1
  283. package/lite/model/builtInOperation.ts +1 -1
  284. package/lite/model/builtInOperationType.ts +1 -1
  285. package/lite/model/clientMethodProps.ts +3 -3
  286. package/lite/model/consequence.ts +4 -4
  287. package/lite/model/consequenceHide.ts +2 -2
  288. package/lite/model/cursor.ts +1 -1
  289. package/lite/model/deleteByParams.ts +4 -4
  290. package/lite/model/dictionaryEntry.ts +6 -6
  291. package/lite/model/dictionaryEntryState.ts +1 -1
  292. package/lite/model/dictionaryLanguage.ts +2 -2
  293. package/lite/model/distinct.ts +1 -1
  294. package/lite/model/exactOnSingleWordQuery.ts +1 -1
  295. package/lite/model/facetFilters.ts +1 -1
  296. package/lite/model/facetHits.ts +18 -0
  297. package/lite/model/facetOrdering.ts +2 -2
  298. package/lite/model/facets.ts +1 -1
  299. package/lite/model/facetsStats.ts +4 -4
  300. package/lite/model/fetchedIndex.ts +1 -1
  301. package/lite/model/highlightResultOption.ts +1 -1
  302. package/lite/model/hit.ts +1 -1
  303. package/lite/model/ignorePlurals.ts +1 -1
  304. package/lite/model/index.ts +3 -0
  305. package/lite/model/indexSettings.ts +1 -1
  306. package/lite/model/indexSettingsAsSearchParams.ts +30 -30
  307. package/lite/model/indexSettingsAsSearchParamsSemanticSearch.ts +2 -2
  308. package/lite/model/languages.ts +1 -1
  309. package/lite/model/listIndicesResponse.ts +1 -1
  310. package/lite/model/mode.ts +1 -1
  311. package/lite/model/numericFilters.ts +1 -1
  312. package/lite/model/operationType.ts +1 -1
  313. package/lite/model/optionalFilters.ts +1 -1
  314. package/lite/model/params.ts +1 -1
  315. package/lite/model/promoteObjectID.ts +3 -3
  316. package/lite/model/promoteObjectIDs.ts +3 -3
  317. package/lite/model/queryType.ts +1 -1
  318. package/lite/model/reRankingApplyFilter.ts +1 -1
  319. package/lite/model/redirectRuleIndexMetadata.ts +1 -1
  320. package/lite/model/redirectRuleIndexMetadataData.ts +1 -1
  321. package/lite/model/removeStopWords.ts +1 -1
  322. package/lite/model/removeWordsIfNoResults.ts +1 -1
  323. package/lite/model/renderingContent.ts +1 -1
  324. package/lite/model/rule.ts +5 -5
  325. package/lite/model/searchForFacetValuesResponse.ts +7 -0
  326. package/lite/model/searchForFacetsOptions.ts +3 -3
  327. package/lite/model/searchForHitsOptions.ts +1 -1
  328. package/lite/model/searchParamsQuery.ts +1 -1
  329. package/lite/model/searchParamsString.ts +1 -1
  330. package/lite/model/searchResponses.ts +2 -2
  331. package/lite/model/searchResult.ts +8 -0
  332. package/lite/model/searchStrategy.ts +3 -0
  333. package/lite/model/searchSynonymsResponse.ts +2 -2
  334. package/lite/model/searchTypeDefault.ts +1 -1
  335. package/lite/model/searchTypeFacet.ts +1 -1
  336. package/lite/model/snippetResultOption.ts +1 -1
  337. package/lite/model/sortRemainingBy.ts +1 -1
  338. package/lite/model/source.ts +3 -3
  339. package/lite/model/standardEntries.ts +4 -4
  340. package/lite/model/synonymHit.ts +6 -6
  341. package/lite/model/synonymType.ts +1 -1
  342. package/lite/model/tagFilters.ts +1 -1
  343. package/lite/model/taskStatus.ts +3 -0
  344. package/lite/model/typoTolerance.ts +1 -1
  345. package/lite/model/updatedRuleResponse.ts +3 -3
  346. package/lite/model/userId.ts +2 -2
  347. package/lite/src/liteClient.ts +6 -6
  348. package/package.json +15 -14
@@ -45,7 +45,7 @@ import type { UpdatedAtResponse } from '../model/updatedAtResponse';
45
45
  import type { UpdatedAtWithObjectIdResponse } from '../model/updatedAtWithObjectIdResponse';
46
46
  import type { UpdatedRuleResponse } from '../model/updatedRuleResponse';
47
47
  import type { UserId } from '../model/userId';
48
- export declare const apiClientVersion = "5.0.0-alpha.73";
48
+ export declare const apiClientVersion = "5.0.0-alpha.76";
49
49
  export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
50
50
  transporter: import("@algolia/client-common").Transporter;
51
51
  /**
@@ -128,36 +128,36 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
128
128
  */
129
129
  browseSynonyms({ indexName, validate, aggregator, ...browseSynonymsOptions }: BrowseOptions<SearchSynonymsResponse> & SearchSynonymsProps, requestOptions?: RequestOptions): Promise<SearchSynonymsResponse>;
130
130
  /**
131
- * Add a new API Key with specific permissions/restrictions.
131
+ * Add a new API key with specific permissions and restrictions. The request must be authenticated with the admin API key. The response returns an API key string.
132
132
  *
133
- * @summary Create an API key.
133
+ * @summary Add API key.
134
134
  * @param apiKey - The apiKey object.
135
135
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
136
136
  */
137
137
  addApiKey(apiKey: ApiKey, requestOptions?: RequestOptions): Promise<AddApiKeyResponse>;
138
138
  /**
139
- * Add or replace an object with a given object ID. If the object does not exist, it will be created. If it already exists, it will be replaced.
139
+ * If you use an existing `objectID`, the existing record will be replaced with the new one. To update only some attributes of an existing record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject) instead. To add multiple records to your index in a single API request, use the [`batch` operation](#tag/Records/operation/batch).
140
140
  *
141
- * @summary Add or replace an object.
141
+ * @summary Add or update a record (using objectID).
142
142
  * @param addOrUpdateObject - The addOrUpdateObject object.
143
- * @param addOrUpdateObject.indexName - The index in which to perform the request.
144
- * @param addOrUpdateObject.objectID - Unique identifier of an object.
145
- * @param addOrUpdateObject.body - The Algolia object.
143
+ * @param addOrUpdateObject.indexName - Index on which to perform the request.
144
+ * @param addOrUpdateObject.objectID - Unique record (object) identifier.
145
+ * @param addOrUpdateObject.body - Algolia record.
146
146
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
147
147
  */
148
148
  addOrUpdateObject({ indexName, objectID, body }: AddOrUpdateObjectProps, requestOptions?: RequestOptions): Promise<UpdatedAtWithObjectIdResponse>;
149
149
  /**
150
- * Add a single source to the list of allowed sources.
150
+ * Add a source to the list of allowed sources.
151
151
  *
152
- * @summary Add a single source.
153
- * @param source - The source to add.
152
+ * @summary Add a source.
153
+ * @param source - Source to add.
154
154
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
155
155
  */
156
156
  appendSource(source: Source, requestOptions?: RequestOptions): Promise<CreatedAtResponse>;
157
157
  /**
158
- * Assign or Move a userID to a cluster. The time it takes to migrate (move) a user is proportional to the amount of data linked to the userID. Upon success, the response is 200 OK. A successful response indicates that the operation has been taken into account, and the userID is directly usable.
158
+ * Assign or move a user ID to a cluster. The time it takes to move a user is proportional to the amount of data linked to the user ID.
159
159
  *
160
- * @summary Assign or Move userID.
160
+ * @summary Assign or move a user ID.
161
161
  * @param assignUserId - The assignUserId object.
162
162
  * @param assignUserId.xAlgoliaUserID - UserID to assign.
163
163
  * @param assignUserId.assignUserIdParams - The assignUserIdParams object.
@@ -165,17 +165,17 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
165
165
  */
166
166
  assignUserId({ xAlgoliaUserID, assignUserIdParams }: AssignUserIdProps, requestOptions?: RequestOptions): Promise<CreatedAtResponse>;
167
167
  /**
168
- * Perform multiple write operations targeting one index, in a single API call.
168
+ * To reduce the time spent on network round trips, you can perform several write actions in a single API call. Actions are applied in the order they are specified. The supported `action`s are equivalent to the individual operations of the same name.
169
169
  *
170
- * @summary Batch operations to one index.
170
+ * @summary Batch write operations on one index.
171
171
  * @param batch - The batch object.
172
- * @param batch.indexName - The index in which to perform the request.
172
+ * @param batch.indexName - Index on which to perform the request.
173
173
  * @param batch.batchWriteParams - The batchWriteParams object.
174
174
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
175
175
  */
176
176
  batch({ indexName, batchWriteParams }: BatchProps, requestOptions?: RequestOptions): Promise<BatchResponse>;
177
177
  /**
178
- * Assign multiple userIDs to a cluster. Upon success, the response is 200 OK. A successful response indicates that the operation has been taken into account, and the userIDs are directly usable.
178
+ * Assign multiple user IDs to a cluster. **You can\'t _move_ users with this operation.**.
179
179
  *
180
180
  * @summary Batch assign userIDs.
181
181
  * @param batchAssignUserIds - The batchAssignUserIds object.
@@ -185,51 +185,51 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
185
185
  */
186
186
  batchAssignUserIds({ xAlgoliaUserID, batchAssignUserIdsParams }: BatchAssignUserIdsProps, requestOptions?: RequestOptions): Promise<CreatedAtResponse>;
187
187
  /**
188
- * Send a batch of dictionary entries.
188
+ * Add or remove a batch of dictionary entries.
189
189
  *
190
190
  * @summary Batch dictionary entries.
191
191
  * @param batchDictionaryEntries - The batchDictionaryEntries object.
192
- * @param batchDictionaryEntries.dictionaryName - The dictionary to search in.
192
+ * @param batchDictionaryEntries.dictionaryName - Dictionary to search in.
193
193
  * @param batchDictionaryEntries.batchDictionaryEntriesParams - The batchDictionaryEntriesParams object.
194
194
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
195
195
  */
196
196
  batchDictionaryEntries({ dictionaryName, batchDictionaryEntriesParams, }: BatchDictionaryEntriesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
197
197
  /**
198
- * This method allows you to retrieve all index content. It can retrieve up to 1,000 records per call and supports full text search and filters. For performance reasons, some features are not supported, including `distinct`, sorting by `typos`, `words` or `geo distance`. When there is more content to be browsed, the response contains a cursor field. This cursor has to be passed to the subsequent call to browse in order to get the next page of results. When the end of the index has been reached, the cursor field is absent from the response.
198
+ * Retrieve up to 1,000 records per call. Supports full-text search and filters. For better performance, it doesn\'t support: - The `distinct` query parameter - Sorting by typos, proximity, words, or geographical distance.
199
199
  *
200
- * @summary Retrieve all index content.
200
+ * @summary Get all records from an index.
201
201
  * @param browse - The browse object.
202
- * @param browse.indexName - The index in which to perform the request.
202
+ * @param browse.indexName - Index on which to perform the request.
203
203
  * @param browse.browseParams - The browseParams object.
204
204
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
205
205
  */
206
206
  browse<T_1>({ indexName, browseParams }: BrowseProps, requestOptions?: RequestOptions): Promise<BrowseResponse<T_1>>;
207
207
  /**
208
- * Remove all synonyms from an index.
208
+ * Delete all synonyms in the index.
209
209
  *
210
- * @summary Clear all synonyms.
210
+ * @summary Delete all synonyms.
211
211
  * @param clearAllSynonyms - The clearAllSynonyms object.
212
- * @param clearAllSynonyms.indexName - The index in which to perform the request.
213
- * @param clearAllSynonyms.forwardToReplicas - When true, changes are also propagated to replicas of the given indexName.
212
+ * @param clearAllSynonyms.indexName - Index on which to perform the request.
213
+ * @param clearAllSynonyms.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
214
214
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
215
215
  */
216
216
  clearAllSynonyms({ indexName, forwardToReplicas }: ClearAllSynonymsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
217
217
  /**
218
- * Delete an index\'s content, but leave settings and index-specific API keys untouched.
218
+ * Delete the records but leave settings and index-specific API keys untouched.
219
219
  *
220
- * @summary Clear all objects from an index.
220
+ * @summary Delete all records from an index.
221
221
  * @param clearObjects - The clearObjects object.
222
- * @param clearObjects.indexName - The index in which to perform the request.
222
+ * @param clearObjects.indexName - Index on which to perform the request.
223
223
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
224
224
  */
225
225
  clearObjects({ indexName }: ClearObjectsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
226
226
  /**
227
- * Delete all Rules in the index.
227
+ * Delete all rules in the index.
228
228
  *
229
- * @summary Clear Rules.
229
+ * @summary Delete all rules.
230
230
  * @param clearRules - The clearRules object.
231
- * @param clearRules.indexName - The index in which to perform the request.
232
- * @param clearRules.forwardToReplicas - When true, changes are also propagated to replicas of the given indexName.
231
+ * @param clearRules.indexName - Index on which to perform the request.
232
+ * @param clearRules.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
233
233
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
234
234
  */
235
235
  clearRules({ indexName, forwardToReplicas }: ClearRulesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
@@ -238,26 +238,26 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
238
238
  *
239
239
  * @summary Send requests to the Algolia REST API.
240
240
  * @param del - The del object.
241
- * @param del.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
242
- * @param del.parameters - Query parameters to be applied to the current query.
241
+ * @param del.path - Path of the endpoint, anything after \"/1\" must be specified.
242
+ * @param del.parameters - Query parameters to apply to the current query.
243
243
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
244
244
  */
245
245
  del({ path, parameters }: DelProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
246
246
  /**
247
- * Delete an existing API Key.
247
+ * Delete an existing API key. The request must be authenticated with the admin API key.
248
248
  *
249
- * @summary Delete an API key.
249
+ * @summary Delete API key.
250
250
  * @param deleteApiKey - The deleteApiKey object.
251
- * @param deleteApiKey.key - API Key string.
251
+ * @param deleteApiKey.key - API key.
252
252
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
253
253
  */
254
254
  deleteApiKey({ key }: DeleteApiKeyProps, requestOptions?: RequestOptions): Promise<DeleteApiKeyResponse>;
255
255
  /**
256
- * Remove all objects matching a filter (including geo filters). This method enables you to delete one or more objects based on filters (numeric, facet, tag or geo queries). It doesn\'t accept empty filters or a query.
256
+ * This operation doesn\'t support all the query options, only its filters (numeric, facet, or tag) and geo queries. It doesn\'t accept empty filters or queries.
257
257
  *
258
- * @summary Delete all records matching the query.
258
+ * @summary Delete all records matching a query.
259
259
  * @param deleteBy - The deleteBy object.
260
- * @param deleteBy.indexName - The index in which to perform the request.
260
+ * @param deleteBy.indexName - Index on which to perform the request.
261
261
  * @param deleteBy.deleteByParams - The deleteByParams object.
262
262
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
263
263
  */
@@ -267,48 +267,48 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
267
267
  *
268
268
  * @summary Delete index.
269
269
  * @param deleteIndex - The deleteIndex object.
270
- * @param deleteIndex.indexName - The index in which to perform the request.
270
+ * @param deleteIndex.indexName - Index on which to perform the request.
271
271
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
272
272
  */
273
273
  deleteIndex({ indexName }: DeleteIndexProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
274
274
  /**
275
- * Delete an existing object.
275
+ * To delete a set of records matching a query, use the [`deleteByQuery` operation](#tag/Records/operation/deleteBy) instead.
276
276
  *
277
- * @summary Delete an object.
277
+ * @summary Delete a record.
278
278
  * @param deleteObject - The deleteObject object.
279
- * @param deleteObject.indexName - The index in which to perform the request.
280
- * @param deleteObject.objectID - Unique identifier of an object.
279
+ * @param deleteObject.indexName - Index on which to perform the request.
280
+ * @param deleteObject.objectID - Unique record (object) identifier.
281
281
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
282
282
  */
283
283
  deleteObject({ indexName, objectID }: DeleteObjectProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
284
284
  /**
285
- * Delete the Rule with the specified objectID.
285
+ * Delete a rule by its `objectID`. To find the `objectID` for rules, use the [`search` operation](#tag/Rules/operation/searchRules).
286
286
  *
287
287
  * @summary Delete a rule.
288
288
  * @param deleteRule - The deleteRule object.
289
- * @param deleteRule.indexName - The index in which to perform the request.
290
- * @param deleteRule.objectID - Unique identifier of an object.
291
- * @param deleteRule.forwardToReplicas - When true, changes are also propagated to replicas of the given indexName.
289
+ * @param deleteRule.indexName - Index on which to perform the request.
290
+ * @param deleteRule.objectID - Unique identifier of a rule object.
291
+ * @param deleteRule.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
292
292
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
293
293
  */
294
294
  deleteRule({ indexName, objectID, forwardToReplicas }: DeleteRuleProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
295
295
  /**
296
- * Remove a single source from the list of allowed sources.
296
+ * Remove a source from the list of allowed sources.
297
297
  *
298
- * @summary Remove a single source.
298
+ * @summary Remove a source.
299
299
  * @param deleteSource - The deleteSource object.
300
- * @param deleteSource.source - The IP range of the source.
300
+ * @param deleteSource.source - IP address range of the source.
301
301
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
302
302
  */
303
303
  deleteSource({ source }: DeleteSourceProps, requestOptions?: RequestOptions): Promise<DeleteSourceResponse>;
304
304
  /**
305
- * Delete a single synonyms set, identified by the given objectID.
305
+ * Delete a synonym by its `objectID`. To find the object IDs of your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
306
306
  *
307
- * @summary Delete synonym.
307
+ * @summary Delete a synonym.
308
308
  * @param deleteSynonym - The deleteSynonym object.
309
- * @param deleteSynonym.indexName - The index in which to perform the request.
310
- * @param deleteSynonym.objectID - Unique identifier of an object.
311
- * @param deleteSynonym.forwardToReplicas - When true, changes are also propagated to replicas of the given indexName.
309
+ * @param deleteSynonym.indexName - Index on which to perform the request.
310
+ * @param deleteSynonym.objectID - Unique identifier of a synonym object.
311
+ * @param deleteSynonym.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
312
312
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
313
313
  */
314
314
  deleteSynonym({ indexName, objectID, forwardToReplicas }: DeleteSynonymProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
@@ -317,120 +317,120 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
317
317
  *
318
318
  * @summary Send requests to the Algolia REST API.
319
319
  * @param get - The get object.
320
- * @param get.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
321
- * @param get.parameters - Query parameters to be applied to the current query.
320
+ * @param get.path - Path of the endpoint, anything after \"/1\" must be specified.
321
+ * @param get.parameters - Query parameters to apply to the current query.
322
322
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
323
323
  */
324
324
  get({ path, parameters }: GetProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
325
325
  /**
326
- * Get the permissions of an API key.
326
+ * Get the permissions and restrictions of a specific API key. When authenticating with the admin API key, you can request information for any of your application\'s keys. When authenticating with other API keys, you can only retrieve information for that key.
327
327
  *
328
- * @summary Get an API key.
328
+ * @summary Get API key permissions.
329
329
  * @param getApiKey - The getApiKey object.
330
- * @param getApiKey.key - API Key string.
330
+ * @param getApiKey.key - API key.
331
331
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
332
332
  */
333
333
  getApiKey({ key }: GetApiKeyProps, requestOptions?: RequestOptions): Promise<GetApiKeyResponse>;
334
334
  /**
335
- * List dictionaries supported per language.
335
+ * Lists Algolia\'s [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/) and any customizations applied to each language\'s [stop word](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-stop-words/), [plural](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-plurals-and-other-declensions/), and [segmentation (compound)](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) features.
336
336
  *
337
337
  * @summary List available languages.
338
338
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
339
339
  */
340
340
  getDictionaryLanguages(requestOptions?: RequestOptions): Promise<Record<string, Languages>>;
341
341
  /**
342
- * Retrieve dictionaries settings. The API stores languages whose standard entries are disabled. Fetch settings does not return false values.
342
+ * Get the languages for which [stop words are turned off](#tag/Dictionaries/operation/setDictionarySettings).
343
343
  *
344
- * @summary Retrieve dictionaries settings.
344
+ * @summary Get stop word settings.
345
345
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
346
346
  */
347
347
  getDictionarySettings(requestOptions?: RequestOptions): Promise<GetDictionarySettingsResponse>;
348
348
  /**
349
- * Return the latest log entries.
349
+ * The request must be authenticated by an API key with the [`logs` ACL](https://www.algolia.com/doc/guides/security/api-keys/#access-control-list-acl). Logs are held for the last seven days. There\'s also a logging limit of 1,000 API calls per server. This request counts towards your [operations quota](https://support.algolia.com/hc/en-us/articles/4406981829777-How-does-Algolia-count-records-and-operations-) but doesn\'t appear in the logs itself. > **Note**: To fetch the logs for a Distributed Search Network (DSN) cluster, target the [DSN\'s endpoint](https://www.algolia.com/doc/guides/scaling/distributed-search-network-dsn/#accessing-dsn-servers).
350
350
  *
351
351
  * @summary Return the latest log entries.
352
352
  * @param getLogs - The getLogs object.
353
- * @param getLogs.offset - First entry to retrieve (zero-based). Log entries are sorted by decreasing date, therefore 0 designates the most recent log entry.
354
- * @param getLogs.length - Maximum number of entries to retrieve. The maximum allowed value is 1000.
355
- * @param getLogs.indexName - Index for which log entries should be retrieved. When omitted, log entries are retrieved across all indices.
353
+ * @param getLogs.offset - First log entry to retrieve. Sorted by decreasing date with 0 being the most recent.
354
+ * @param getLogs.length - Maximum number of entries to retrieve.
355
+ * @param getLogs.indexName - Index for which log entries should be retrieved. When omitted, log entries are retrieved for all indices.
356
356
  * @param getLogs.type - Type of log entries to retrieve. When omitted, all log entries are retrieved.
357
357
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
358
358
  */
359
359
  getLogs({ offset, length, indexName, type }?: GetLogsProps, requestOptions?: RequestOptions | undefined): Promise<GetLogsResponse>;
360
360
  /**
361
- * Retrieve one object from the index.
361
+ * To get more than one record, use the [`objects` operation](#tag/Records/operation/getObjects).
362
362
  *
363
- * @summary Retrieve an object.
363
+ * @summary Get a record.
364
364
  * @param getObject - The getObject object.
365
- * @param getObject.indexName - The index in which to perform the request.
366
- * @param getObject.objectID - Unique identifier of an object.
367
- * @param getObject.attributesToRetrieve - List of attributes to retrieve. If not specified, all retrievable attributes are returned.
365
+ * @param getObject.indexName - Index on which to perform the request.
366
+ * @param getObject.objectID - Unique record (object) identifier.
367
+ * @param getObject.attributesToRetrieve - Attributes to include with the records in the response. This is useful to reduce the size of the API response. By default, all retrievable attributes are returned. `objectID` is always retrieved, even when not specified. [`unretrievableAttributes`](https://www.algolia.com/doc/api-reference/api-parameters/unretrievableAttributes/) won\'t be retrieved unless the request is authenticated with the admin API key.
368
368
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
369
369
  */
370
370
  getObject({ indexName, objectID, attributesToRetrieve }: GetObjectProps, requestOptions?: RequestOptions): Promise<Record<string, string>>;
371
371
  /**
372
- * Retrieve one or more objects, potentially from different indices, in a single API call.
372
+ * Retrieve one or more records, potentially from different indices, in a single API operation. Results will be received in the same order as the requests.
373
373
  *
374
- * @summary Retrieve one or more objects.
375
- * @param getObjectsParams - The Algolia object.
374
+ * @summary Get multiple records.
375
+ * @param getObjectsParams - Request object.
376
376
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
377
377
  */
378
378
  getObjects<T_2>(getObjectsParams: GetObjectsParams, requestOptions?: RequestOptions): Promise<GetObjectsResponse<T_2>>;
379
379
  /**
380
- * Retrieve the Rule with the specified objectID.
380
+ * Get a rule by its `objectID`. To find the `objectID` for rules, use the [`search` operation](#tag/Rules/operation/searchRules).
381
381
  *
382
382
  * @summary Get a rule.
383
383
  * @param getRule - The getRule object.
384
- * @param getRule.indexName - The index in which to perform the request.
385
- * @param getRule.objectID - Unique identifier of an object.
384
+ * @param getRule.indexName - Index on which to perform the request.
385
+ * @param getRule.objectID - Unique identifier of a rule object.
386
386
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
387
387
  */
388
388
  getRule({ indexName, objectID }: GetRuleProps, requestOptions?: RequestOptions): Promise<Rule>;
389
389
  /**
390
- * Retrieve settings of an index.
390
+ * Return an object containing an index\'s [configuration settings](https://www.algolia.com/doc/api-reference/settings-api-parameters/).
391
391
  *
392
- * @summary Retrieve settings of an index.
392
+ * @summary Get index settings.
393
393
  * @param getSettings - The getSettings object.
394
- * @param getSettings.indexName - The index in which to perform the request.
394
+ * @param getSettings.indexName - Index on which to perform the request.
395
395
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
396
396
  */
397
397
  getSettings({ indexName }: GetSettingsProps, requestOptions?: RequestOptions): Promise<IndexSettings>;
398
398
  /**
399
- * List all allowed sources.
399
+ * Get all allowed sources (IP addresses).
400
400
  *
401
- * @summary List all allowed sources.
401
+ * @summary Get all allowed IP addresses.
402
402
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
403
403
  */
404
404
  getSources(requestOptions?: RequestOptions): Promise<Source[]>;
405
405
  /**
406
- * Fetch a synonym object identified by its objectID.
406
+ * Get a syonym by its `objectID`. To find the object IDs for your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
407
407
  *
408
- * @summary Get synonym.
408
+ * @summary Get a synonym object.
409
409
  * @param getSynonym - The getSynonym object.
410
- * @param getSynonym.indexName - The index in which to perform the request.
411
- * @param getSynonym.objectID - Unique identifier of an object.
410
+ * @param getSynonym.indexName - Index on which to perform the request.
411
+ * @param getSynonym.objectID - Unique identifier of a synonym object.
412
412
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
413
413
  */
414
414
  getSynonym({ indexName, objectID }: GetSynonymProps, requestOptions?: RequestOptions): Promise<SynonymHit>;
415
415
  /**
416
- * Check the current status of a given task.
416
+ * Some operations, such as copying an index, will respond with a `taskID` value. Use this value here to check the status of that task.
417
417
  *
418
- * @summary Check the status of a task.
418
+ * @summary Check a task\'s status.
419
419
  * @param getTask - The getTask object.
420
- * @param getTask.indexName - The index in which to perform the request.
421
- * @param getTask.taskID - Unique identifier of an task. Numeric value (up to 64bits).
420
+ * @param getTask.indexName - Index on which to perform the request.
421
+ * @param getTask.taskID - Unique task identifier.
422
422
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
423
423
  */
424
424
  getTask({ indexName, taskID }: GetTaskProps, requestOptions?: RequestOptions): Promise<GetTaskResponse>;
425
425
  /**
426
- * Get the top 10 userIDs with the highest number of records per cluster. The data returned will usually be a few seconds behind real time, because userID usage may take up to a few seconds to propagate to the different clusters. Upon success, the response is 200 OK and contains the following array of userIDs and clusters.
426
+ * Get the IDs of the 10 users with the highest number of records per cluster. Since it can take up to a few seconds to get the data from the different clusters, the response isn\'t real-time.
427
427
  *
428
428
  * @summary Get top userID.
429
429
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
430
430
  */
431
431
  getTopUserIds(requestOptions?: RequestOptions): Promise<GetTopUserIdsResponse>;
432
432
  /**
433
- * Returns the userID data stored in the mapping. The data returned will usually be a few seconds behind real time, because userID usage may take up to a few seconds to propagate to the different clusters. Upon success, the response is 200 OK and contains the following userID data.
433
+ * Returns the userID data stored in the mapping. Since it can take up to a few seconds to get the data from the different clusters, the response isn\'t real-time.
434
434
  *
435
435
  * @summary Get userID.
436
436
  * @param getUserId - The getUserId object.
@@ -439,74 +439,75 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
439
439
  */
440
440
  getUserId({ userID }: GetUserIdProps, requestOptions?: RequestOptions): Promise<UserId>;
441
441
  /**
442
- * Get the status of your clusters\' migrations or user creations. Creating a large batch of users or migrating your multi-cluster may take quite some time. This method lets you retrieve the status of the migration, so you can know when it\'s done. Upon success, the response is 200 OK. A successful response indicates that the operation has been taken into account, and the userIDs are directly usable.
442
+ * To determine when the time-consuming process of creating a large batch of users or migrating users from one cluster to another is complete, this operation retrieves the status of the process.
443
443
  *
444
- * @summary Get migration status.
444
+ * @summary Get migration and user mapping status.
445
445
  * @param hasPendingMappings - The hasPendingMappings object.
446
- * @param hasPendingMappings.getClusters - If the clusters pending mapping state should be on the response.
446
+ * @param hasPendingMappings.getClusters - Indicates whether to include the cluster\'s pending mapping state in the response.
447
447
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
448
448
  */
449
449
  hasPendingMappings({ getClusters }?: HasPendingMappingsProps, requestOptions?: RequestOptions | undefined): Promise<HasPendingMappingsResponse>;
450
450
  /**
451
- * List API keys, along with their associated rights.
451
+ * List all API keys associated with your Algolia application, including their permissions and restrictions.
452
452
  *
453
- * @summary List API Keys.
453
+ * @summary List API keys.
454
454
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
455
455
  */
456
456
  listApiKeys(requestOptions?: RequestOptions): Promise<ListApiKeysResponse>;
457
457
  /**
458
- * List the clusters available in a multi-clusters setup for a single appID. Upon success, the response is 200 OK and contains the following clusters.
458
+ * List the available clusters in a multi-cluster setup.
459
459
  *
460
460
  * @summary List clusters.
461
461
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
462
462
  */
463
463
  listClusters(requestOptions?: RequestOptions): Promise<ListClustersResponse>;
464
464
  /**
465
- * List existing indexes from an application.
465
+ * List indices in an Algolia application.
466
466
  *
467
- * @summary List existing indexes.
467
+ * @summary List indices.
468
468
  * @param listIndices - The listIndices object.
469
- * @param listIndices.page - Requested page (zero-based). When specified, will retrieve a specific page; the page size is implicitly set to 100. When null, will retrieve all indices (no pagination).
469
+ * @param listIndices.page - Returns the requested page number. The page size is determined by the `hitsPerPage` parameter. You can see the number of available pages in the `nbPages` response attribute. When `page` is null, the API response is not paginated.
470
+ * @param listIndices.hitsPerPage - Maximum number of hits per page.
470
471
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
471
472
  */
472
- listIndices({ page }?: ListIndicesProps, requestOptions?: RequestOptions | undefined): Promise<ListIndicesResponse>;
473
+ listIndices({ page, hitsPerPage }?: ListIndicesProps, requestOptions?: RequestOptions | undefined): Promise<ListIndicesResponse>;
473
474
  /**
474
- * List the userIDs assigned to a multi-clusters appID. The data returned will usually be a few seconds behind real time, because userID usage may take up to a few seconds to propagate to the different clusters. Upon success, the response is 200 OK and contains the following userIDs data.
475
+ * List the userIDs assigned to a multi-cluster application. Since it can take up to a few seconds to get the data from the different clusters, the response isn\'t real-time.
475
476
  *
476
477
  * @summary List userIDs.
477
478
  * @param listUserIds - The listUserIds object.
478
- * @param listUserIds.page - Requested page (zero-based). When specified, will retrieve a specific page; the page size is implicitly set to 100. When null, will retrieve all indices (no pagination).
479
- * @param listUserIds.hitsPerPage - Maximum number of objects to retrieve.
479
+ * @param listUserIds.page - Returns the requested page number. The page size is determined by the `hitsPerPage` parameter. You can see the number of available pages in the `nbPages` response attribute. When `page` is null, the API response is not paginated.
480
+ * @param listUserIds.hitsPerPage - Maximum number of hits per page.
480
481
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
481
482
  */
482
483
  listUserIds({ page, hitsPerPage }?: ListUserIdsProps, requestOptions?: RequestOptions | undefined): Promise<ListUserIdsResponse>;
483
484
  /**
484
- * Perform multiple write operations, potentially targeting multiple indices, in a single API call.
485
+ * To reduce the time spent on network round trips, you can perform several write actions in a single request. It\'s a multi-index version of the [`batch` operation](#tag/Records/operation/batch). Actions are applied in the order they are specified. The supported actions are equivalent to the individual operations of the same name.
485
486
  *
486
- * @summary Batch operations to many indices.
487
+ * @summary Batch write operations on multiple indices.
487
488
  * @param batchParams - The batchParams object.
488
489
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
489
490
  */
490
491
  multipleBatch(batchParams: BatchParams, requestOptions?: RequestOptions): Promise<MultipleBatchResponse>;
491
492
  /**
492
- * Performs a copy or a move operation on a index.
493
+ * This `operation`, _copy_ or _move_, will copy or move a source index\'s (`IndexName`) records, settings, synonyms, and rules to a `destination` index. If the destination index exists, it will be replaced, except for index-specific API keys and analytics data. If the destination index doesn\'t exist, it will be created. The choice between moving or copying an index depends on your needs. Choose: - **Move** to rename an index. - **Copy** to create a new index with the same records and configuration as an existing one. > **Note**: When considering copying or moving, be aware of the [rate limitations](https://www.algolia.com/doc/guides/scaling/algolia-service-limits/#application-record-and-index-limits) on these processes and the [impact on your analytics data](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/concepts/indices-analytics/).
493
494
  *
494
- * @summary Copy/move index.
495
+ * @summary Copy, move, or rename an index.
495
496
  * @param operationIndex - The operationIndex object.
496
- * @param operationIndex.indexName - The index in which to perform the request.
497
+ * @param operationIndex.indexName - Index on which to perform the request.
497
498
  * @param operationIndex.operationIndexParams - The operationIndexParams object.
498
499
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
499
500
  */
500
501
  operationIndex({ indexName, operationIndexParams }: OperationIndexProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
501
502
  /**
502
- * Update one or more attributes of an existing object. This method lets you update only a part of an existing object, either by adding new attributes or updating existing ones. You can partially update several objects in a single method call. If the index targeted by this operation doesn\'t exist yet, it\'s automatically created.
503
+ * Add new attributes or update current ones in an existing record. You can use any first-level attribute but not nested attributes. If you specify a [nested attribute](https://www.algolia.com/doc/guides/sending-and-managing-data/prepare-your-data/how-to/creating-and-using-nested-attributes/), the engine treats it as a replacement for its first-level ancestor.
503
504
  *
504
- * @summary Partially update an object.
505
+ * @summary Update record attributes.
505
506
  * @param partialUpdateObject - The partialUpdateObject object.
506
- * @param partialUpdateObject.indexName - The index in which to perform the request.
507
- * @param partialUpdateObject.objectID - Unique identifier of an object.
508
- * @param partialUpdateObject.attributesToUpdate - Map of attribute(s) to update.
509
- * @param partialUpdateObject.createIfNotExists - Creates the record if it does not exist yet.
507
+ * @param partialUpdateObject.indexName - Index on which to perform the request.
508
+ * @param partialUpdateObject.objectID - Unique record (object) identifier.
509
+ * @param partialUpdateObject.attributesToUpdate - Object with attributes to update.
510
+ * @param partialUpdateObject.createIfNotExists - Indicates whether to create a new record if it doesn\'t exist yet.
510
511
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
511
512
  */
512
513
  partialUpdateObject({ indexName, objectID, attributesToUpdate, createIfNotExists, }: PartialUpdateObjectProps, requestOptions?: RequestOptions): Promise<UpdatedAtWithObjectIdResponse>;
@@ -515,9 +516,9 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
515
516
  *
516
517
  * @summary Send requests to the Algolia REST API.
517
518
  * @param post - The post object.
518
- * @param post.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
519
- * @param post.parameters - Query parameters to be applied to the current query.
520
- * @param post.body - The parameters to send with the custom request.
519
+ * @param post.path - Path of the endpoint, anything after \"/1\" must be specified.
520
+ * @param post.parameters - Query parameters to apply to the current query.
521
+ * @param post.body - Parameters to send with the custom request.
521
522
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
522
523
  */
523
524
  post({ path, parameters, body }: PostProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
@@ -526,14 +527,14 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
526
527
  *
527
528
  * @summary Send requests to the Algolia REST API.
528
529
  * @param put - The put object.
529
- * @param put.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
530
- * @param put.parameters - Query parameters to be applied to the current query.
531
- * @param put.body - The parameters to send with the custom request.
530
+ * @param put.path - Path of the endpoint, anything after \"/1\" must be specified.
531
+ * @param put.parameters - Query parameters to apply to the current query.
532
+ * @param put.body - Parameters to send with the custom request.
532
533
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
533
534
  */
534
535
  put({ path, parameters, body }: PutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
535
536
  /**
536
- * Remove a userID and its associated data from the multi-clusters. Upon success, the response is 200 OK and a task is created to remove the userID data and mapping.
537
+ * Remove a userID and its associated data from the multi-clusters.
537
538
  *
538
539
  * @summary Remove userID.
539
540
  * @param removeUserId - The removeUserId object.
@@ -544,174 +545,174 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
544
545
  /**
545
546
  * Replace all allowed sources.
546
547
  *
547
- * @summary Replace all allowed sources.
548
+ * @summary Replace all sources.
548
549
  * @param replaceSources - The replaceSources object.
549
- * @param replaceSources.source - The sources to allow.
550
+ * @param replaceSources.source - Allowed sources.
550
551
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
551
552
  */
552
553
  replaceSources({ source }: ReplaceSourcesProps, requestOptions?: RequestOptions): Promise<ReplaceSourceResponse>;
553
554
  /**
554
- * Restore a deleted API key, along with its associated rights.
555
+ * Restore a deleted API key, along with its associated permissions. The request must be authenticated with the admin API key.
555
556
  *
556
- * @summary Restore an API key.
557
+ * @summary Restore API key.
557
558
  * @param restoreApiKey - The restoreApiKey object.
558
- * @param restoreApiKey.key - API Key string.
559
+ * @param restoreApiKey.key - API key.
559
560
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
560
561
  */
561
562
  restoreApiKey({ key }: RestoreApiKeyProps, requestOptions?: RequestOptions): Promise<AddApiKeyResponse>;
562
563
  /**
563
- * Add an object to the index, automatically assigning it an object ID.
564
+ * Add a record (object) to an index or replace it. If the record doesn\'t contain an `objectID`, Algolia automatically adds it. If you use an existing `objectID`, the existing record is replaced with the new one. To add multiple records to your index in a single API request, use the [`batch` operation](#tag/Records/operation/batch).
564
565
  *
565
- * @summary Add an object to the index.
566
+ * @summary Add or update a record.
566
567
  * @param saveObject - The saveObject object.
567
- * @param saveObject.indexName - The index in which to perform the request.
568
+ * @param saveObject.indexName - Index on which to perform the request.
568
569
  * @param saveObject.body - The Algolia record.
569
570
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
570
571
  */
571
572
  saveObject({ indexName, body }: SaveObjectProps, requestOptions?: RequestOptions): Promise<SaveObjectResponse>;
572
573
  /**
573
- * Create or update the Rule with the specified objectID.
574
+ * To create or update more than one rule, use the [`batch` operation](#tag/Rules/operation/saveRules).
574
575
  *
575
- * @summary Save/Update a rule.
576
+ * @summary Create or update a rule.
576
577
  * @param saveRule - The saveRule object.
577
- * @param saveRule.indexName - The index in which to perform the request.
578
- * @param saveRule.objectID - Unique identifier of an object.
578
+ * @param saveRule.indexName - Index on which to perform the request.
579
+ * @param saveRule.objectID - Unique identifier of a rule object.
579
580
  * @param saveRule.rule - The rule object.
580
- * @param saveRule.forwardToReplicas - When true, changes are also propagated to replicas of the given indexName.
581
+ * @param saveRule.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
581
582
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
582
583
  */
583
584
  saveRule({ indexName, objectID, rule, forwardToReplicas }: SaveRuleProps, requestOptions?: RequestOptions): Promise<UpdatedRuleResponse>;
584
585
  /**
585
- * Create/update multiple rules objects at once.
586
+ * Create or update multiple rules.
586
587
  *
587
588
  * @summary Save a batch of rules.
588
589
  * @param saveRules - The saveRules object.
589
- * @param saveRules.indexName - The index in which to perform the request.
590
+ * @param saveRules.indexName - Index on which to perform the request.
590
591
  * @param saveRules.rules - The rules object.
591
- * @param saveRules.forwardToReplicas - When true, changes are also propagated to replicas of the given indexName.
592
- * @param saveRules.clearExistingRules - When true, existing Rules are cleared before adding this batch. When false, existing Rules are kept.
592
+ * @param saveRules.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
593
+ * @param saveRules.clearExistingRules - Indicates whether existing rules should be deleted before adding this batch.
593
594
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
594
595
  */
595
596
  saveRules({ indexName, rules, forwardToReplicas, clearExistingRules, }: SaveRulesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
596
597
  /**
597
- * Create a new synonym object or update the existing synonym object with the given object ID.
598
+ * Add a [synonym](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#the-different-types-of-synonyms) to an index or replace it. If the synonym `objectID` doesn\'t exist, Algolia adds a new one. If you use an existing synonym `objectID`, the existing synonym is replaced with the new one. To add multiple synonyms in a single API request, use the [`batch` operation](#tag/Synonyms/operation/saveSynonyms).
598
599
  *
599
- * @summary Save synonym.
600
+ * @summary Save a synonym.
600
601
  * @param saveSynonym - The saveSynonym object.
601
- * @param saveSynonym.indexName - The index in which to perform the request.
602
- * @param saveSynonym.objectID - Unique identifier of an object.
602
+ * @param saveSynonym.indexName - Index on which to perform the request.
603
+ * @param saveSynonym.objectID - Unique identifier of a synonym object.
603
604
  * @param saveSynonym.synonymHit - The synonymHit object.
604
- * @param saveSynonym.forwardToReplicas - When true, changes are also propagated to replicas of the given indexName.
605
+ * @param saveSynonym.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
605
606
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
606
607
  */
607
608
  saveSynonym({ indexName, objectID, synonymHit, forwardToReplicas }: SaveSynonymProps, requestOptions?: RequestOptions): Promise<SaveSynonymResponse>;
608
609
  /**
609
- * Create/update multiple synonym objects at once, potentially replacing the entire list of synonyms if replaceExistingSynonyms is true.
610
+ * Create or update multiple synonyms.
610
611
  *
611
612
  * @summary Save a batch of synonyms.
612
613
  * @param saveSynonyms - The saveSynonyms object.
613
- * @param saveSynonyms.indexName - The index in which to perform the request.
614
+ * @param saveSynonyms.indexName - Index on which to perform the request.
614
615
  * @param saveSynonyms.synonymHit - The synonymHit object.
615
- * @param saveSynonyms.forwardToReplicas - When true, changes are also propagated to replicas of the given indexName.
616
- * @param saveSynonyms.replaceExistingSynonyms - Replace all synonyms of the index with the ones sent with this request.
616
+ * @param saveSynonyms.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
617
+ * @param saveSynonyms.replaceExistingSynonyms - Indicates whether to replace all synonyms in the index with the ones sent with this request.
617
618
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
618
619
  */
619
620
  saveSynonyms({ indexName, synonymHit, forwardToReplicas, replaceExistingSynonyms, }: SaveSynonymsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
620
621
  /**
621
- * Perform a search operation targeting one or many indices.
622
+ * Send multiple search queries to one or more indices.
622
623
  *
623
624
  * @summary Search multiple indices.
624
- * @param searchMethodParams - The `search` requests and strategy.
625
+ * @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
625
626
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
626
627
  */
627
628
  search<T_3>(searchMethodParams: LegacySearchMethodProps | SearchMethodParams, requestOptions?: RequestOptions): Promise<SearchResponses<T_3>>;
628
629
  /**
629
- * Search the dictionary entries.
630
+ * Search for standard and [custom](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-stop-words/) entries in the [stop words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-stop-words/), [plurals](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-plurals-and-other-declensions/), or [segmentation (compounds)](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) dictionaries.
630
631
  *
631
- * @summary Search a dictionary entries.
632
+ * @summary Search dictionary entries.
632
633
  * @param searchDictionaryEntries - The searchDictionaryEntries object.
633
- * @param searchDictionaryEntries.dictionaryName - The dictionary to search in.
634
+ * @param searchDictionaryEntries.dictionaryName - Dictionary to search in.
634
635
  * @param searchDictionaryEntries.searchDictionaryEntriesParams - The searchDictionaryEntriesParams object.
635
636
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
636
637
  */
637
638
  searchDictionaryEntries({ dictionaryName, searchDictionaryEntriesParams, }: SearchDictionaryEntriesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
638
639
  /**
639
- * Search for values of a given facet, optionally restricting the returned values to those contained in objects matching other search criteria.
640
+ * [Search for a facet\'s values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values), optionally restricting the returned values to those contained in records matching other search criteria. > **Note**: Pagination isn\'t supported (`page` and `hitsPerPage` are ignored). By default, the engine returns a maximum of 10 values but you can adjust this with `maxFacetHits`.
640
641
  *
641
- * @summary Search for values of a given facet.
642
+ * @summary Search for facet values.
642
643
  * @param searchForFacetValues - The searchForFacetValues object.
643
- * @param searchForFacetValues.indexName - The index in which to perform the request.
644
- * @param searchForFacetValues.facetName - The facet name.
644
+ * @param searchForFacetValues.indexName - Index on which to perform the request.
645
+ * @param searchForFacetValues.facetName - Facet name.
645
646
  * @param searchForFacetValues.searchForFacetValuesRequest - The searchForFacetValuesRequest object.
646
647
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
647
648
  */
648
649
  searchForFacetValues({ indexName, facetName, searchForFacetValuesRequest, }: SearchForFacetValuesProps, requestOptions?: RequestOptions): Promise<SearchForFacetValuesResponse>;
649
650
  /**
650
- * Search for rules matching various criteria.
651
+ * Search for rules in your index. You can control the search with parameters. To list all rules, send an empty request body.
651
652
  *
652
653
  * @summary Search for rules.
653
654
  * @param searchRules - The searchRules object.
654
- * @param searchRules.indexName - The index in which to perform the request.
655
+ * @param searchRules.indexName - Index on which to perform the request.
655
656
  * @param searchRules.searchRulesParams - The searchRulesParams object.
656
657
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
657
658
  */
658
659
  searchRules({ indexName, searchRulesParams }: SearchRulesProps, requestOptions?: RequestOptions): Promise<SearchRulesResponse>;
659
660
  /**
660
- * Perform a search operation targeting one specific index.
661
+ * Return records that match the query.
661
662
  *
662
- * @summary Search in a single index.
663
+ * @summary Search an index.
663
664
  * @param searchSingleIndex - The searchSingleIndex object.
664
- * @param searchSingleIndex.indexName - The index in which to perform the request.
665
+ * @param searchSingleIndex.indexName - Index on which to perform the request.
665
666
  * @param searchSingleIndex.searchParams - The searchParams object.
666
667
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
667
668
  */
668
669
  searchSingleIndex<T_4>({ indexName, searchParams }: SearchSingleIndexProps, requestOptions?: RequestOptions): Promise<SearchResponse<T_4>>;
669
670
  /**
670
- * Search or browse all synonyms, optionally filtering them by type.
671
+ * Search for synonyms in your index. You can control and filter the search with parameters. To get all synonyms, send an empty request body.
671
672
  *
672
- * @summary Search synonyms.
673
+ * @summary Search for synonyms.
673
674
  * @param searchSynonyms - The searchSynonyms object.
674
- * @param searchSynonyms.indexName - The index in which to perform the request.
675
- * @param searchSynonyms.type - Only search for specific types of synonyms.
676
- * @param searchSynonyms.page - Requested page (zero-based). When specified, will retrieve a specific page; the page size is implicitly set to 100. When null, will retrieve all indices (no pagination).
677
- * @param searchSynonyms.hitsPerPage - Maximum number of objects to retrieve.
678
- * @param searchSynonyms.searchSynonymsParams - The body of the the `searchSynonyms` method.
675
+ * @param searchSynonyms.indexName - Index on which to perform the request.
676
+ * @param searchSynonyms.type - Search for specific [types of synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#the-different-types-of-synonyms).
677
+ * @param searchSynonyms.page - Returns the requested page number (the first page is 0). Page size is set by `hitsPerPage`. When null, there\'s no pagination.
678
+ * @param searchSynonyms.hitsPerPage - Maximum number of hits per page.
679
+ * @param searchSynonyms.searchSynonymsParams - Body of the `searchSynonyms` operation.
679
680
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
680
681
  */
681
682
  searchSynonyms({ indexName, type, page, hitsPerPage, searchSynonymsParams, }: SearchSynonymsProps, requestOptions?: RequestOptions): Promise<SearchSynonymsResponse>;
682
683
  /**
683
- * Search for userIDs. The data returned will usually be a few seconds behind real time, because userID usage may take up to a few seconds propagate to the different clusters. To keep updates moving quickly, the index of userIDs isn\'t built synchronously with the mapping. Instead, the index is built once every 12h, at the same time as the update of userID usage. For example, when you perform a modification like adding or moving a userID, the search will report an outdated value until the next rebuild of the mapping, which takes place every 12h. Upon success, the response is 200 OK and contains the following userIDs data.
684
+ * Since it can take up to a few seconds to get the data from the different clusters, the response isn\'t real-time. To ensure rapid updates, the user IDs index isn\'t built at the same time as the mapping. Instead, it\'s built every 12 hours, at the same time as the update of user ID usage. For example, if you add or move a user ID, the search will show an old value until the next time the mapping is rebuilt (every 12 hours).
684
685
  *
685
- * @summary Search userID.
686
+ * @summary Search for a user ID.
686
687
  * @param searchUserIdsParams - The searchUserIdsParams object.
687
688
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
688
689
  */
689
690
  searchUserIds(searchUserIdsParams: SearchUserIdsParams, requestOptions?: RequestOptions): Promise<SearchUserIdsResponse>;
690
691
  /**
691
- * Set dictionaries settings.
692
+ * Set stop word settings for a specific language.
692
693
  *
693
- * @summary Set dictionaries settings.
694
+ * @summary Set stop word settings.
694
695
  * @param dictionarySettingsParams - The dictionarySettingsParams object.
695
696
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
696
697
  */
697
698
  setDictionarySettings(dictionarySettingsParams: DictionarySettingsParams, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
698
699
  /**
699
- * Update settings of an index. Only specified settings are overridden; unspecified settings are left unchanged. Specifying null for a setting resets it to its default value.
700
+ * Update the specified [index settings](https://www.algolia.com/doc/api-reference/settings-api-parameters/). Specifying null for a setting resets it to its default value.
700
701
  *
701
- * @summary Update settings of an index.
702
+ * @summary Update index settings.
702
703
  * @param setSettings - The setSettings object.
703
- * @param setSettings.indexName - The index in which to perform the request.
704
+ * @param setSettings.indexName - Index on which to perform the request.
704
705
  * @param setSettings.indexSettings - The indexSettings object.
705
- * @param setSettings.forwardToReplicas - When true, changes are also propagated to replicas of the given indexName.
706
+ * @param setSettings.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
706
707
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
707
708
  */
708
709
  setSettings({ indexName, indexSettings, forwardToReplicas }: SetSettingsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
709
710
  /**
710
- * Replace every permission of an existing API key.
711
+ * Replace the permissions of an existing API key. Any unspecified parameter resets that permission to its default value. The request must be authenticated with the admin API key.
711
712
  *
712
713
  * @summary Update an API key.
713
714
  * @param updateApiKey - The updateApiKey object.
714
- * @param updateApiKey.key - API Key string.
715
+ * @param updateApiKey.key - API key.
715
716
  * @param updateApiKey.apiKey - The apiKey object.
716
717
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
717
718
  */