algoliasearch 5.0.0-alpha.99 → 5.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (508) hide show
  1. package/builds/browser.ts +10 -17
  2. package/builds/node.ts +58 -15
  3. package/dist/algoliasearch/builds/browser.d.ts +10 -5
  4. package/dist/algoliasearch/builds/browser.d.ts.map +1 -1
  5. package/dist/algoliasearch/builds/node.d.ts +28 -6
  6. package/dist/algoliasearch/builds/node.d.ts.map +1 -1
  7. package/dist/algoliasearch.cjs +752 -387
  8. package/dist/algoliasearch.esm.browser.js +724 -393
  9. package/dist/algoliasearch.esm.node.js +753 -388
  10. package/dist/algoliasearch.umd.js +2 -2
  11. package/dist/client-abtesting/model/aBTest.d.ts +14 -29
  12. package/dist/client-abtesting/model/aBTest.d.ts.map +1 -1
  13. package/dist/client-abtesting/model/aBTestConfiguration.d.ts +12 -0
  14. package/dist/client-abtesting/model/aBTestConfiguration.d.ts.map +1 -0
  15. package/dist/client-abtesting/model/aBTestResponse.d.ts +3 -3
  16. package/dist/client-abtesting/model/abTestsVariant.d.ts +3 -3
  17. package/dist/client-abtesting/model/addABTestsRequest.d.ts +1 -1
  18. package/dist/client-abtesting/model/clientMethodProps.d.ts +7 -7
  19. package/dist/client-abtesting/model/{currenciesValue.d.ts → currency.d.ts} +2 -2
  20. package/dist/client-abtesting/model/currency.d.ts.map +1 -0
  21. package/dist/client-abtesting/model/customSearchParams.d.ts +1 -1
  22. package/dist/client-abtesting/model/effect.d.ts +5 -0
  23. package/dist/client-abtesting/model/effect.d.ts.map +1 -0
  24. package/dist/client-abtesting/model/emptySearch.d.ts +10 -0
  25. package/dist/client-abtesting/model/emptySearch.d.ts.map +1 -0
  26. package/dist/client-abtesting/model/index.d.ts +7 -1
  27. package/dist/client-abtesting/model/index.d.ts.map +1 -1
  28. package/dist/client-abtesting/model/listABTestsResponse.d.ts +2 -2
  29. package/dist/client-abtesting/model/listABTestsResponse.d.ts.map +1 -1
  30. package/dist/client-abtesting/model/minimumDetectableEffect.d.ts +12 -0
  31. package/dist/client-abtesting/model/minimumDetectableEffect.d.ts.map +1 -0
  32. package/dist/client-abtesting/model/outliers.d.ts +10 -0
  33. package/dist/client-abtesting/model/outliers.d.ts.map +1 -0
  34. package/dist/client-abtesting/model/status.d.ts +5 -0
  35. package/dist/client-abtesting/model/status.d.ts.map +1 -0
  36. package/dist/client-abtesting/model/variant.d.ts +29 -25
  37. package/dist/client-abtesting/model/variant.d.ts.map +1 -1
  38. package/dist/client-abtesting/src/abtestingClient.d.ts +28 -26
  39. package/dist/client-abtesting/src/abtestingClient.d.ts.map +1 -1
  40. package/dist/client-analytics/model/clickPositionsInner.d.ts +14 -0
  41. package/dist/client-analytics/model/clickPositionsInner.d.ts.map +1 -0
  42. package/dist/client-analytics/model/clientMethodProps.d.ts +161 -90
  43. package/dist/client-analytics/model/clientMethodProps.d.ts.map +1 -1
  44. package/dist/client-analytics/model/currenciesValue.d.ts +14 -0
  45. package/dist/client-analytics/model/currenciesValue.d.ts.map +1 -0
  46. package/dist/client-analytics/model/dailyAddToCartRates.d.ts +19 -0
  47. package/dist/client-analytics/model/dailyAddToCartRates.d.ts.map +1 -0
  48. package/dist/client-analytics/model/dailyAverageClicks.d.ts +15 -0
  49. package/dist/client-analytics/model/dailyAverageClicks.d.ts.map +1 -0
  50. package/dist/client-analytics/model/dailyClickThroughRates.d.ts +19 -0
  51. package/dist/client-analytics/model/dailyClickThroughRates.d.ts.map +1 -0
  52. package/dist/client-analytics/model/dailyConversionRates.d.ts +19 -0
  53. package/dist/client-analytics/model/dailyConversionRates.d.ts.map +1 -0
  54. package/dist/client-analytics/model/dailyNoClickRates.d.ts +19 -0
  55. package/dist/client-analytics/model/dailyNoClickRates.d.ts.map +1 -0
  56. package/dist/client-analytics/model/dailyNoResultsRates.d.ts +19 -0
  57. package/dist/client-analytics/model/dailyNoResultsRates.d.ts.map +1 -0
  58. package/dist/client-analytics/model/dailyPurchaseRates.d.ts +19 -0
  59. package/dist/client-analytics/model/dailyPurchaseRates.d.ts.map +1 -0
  60. package/dist/client-analytics/model/dailyRevenue.d.ts +12 -0
  61. package/dist/client-analytics/model/dailyRevenue.d.ts.map +1 -0
  62. package/dist/client-analytics/model/dailySearches.d.ts +11 -0
  63. package/dist/client-analytics/model/dailySearches.d.ts.map +1 -0
  64. package/dist/client-analytics/model/dailySearchesNoClicks.d.ts +15 -0
  65. package/dist/client-analytics/model/dailySearchesNoClicks.d.ts.map +1 -0
  66. package/dist/client-analytics/model/dailySearchesNoResults.d.ts +15 -0
  67. package/dist/client-analytics/model/dailySearchesNoResults.d.ts.map +1 -0
  68. package/dist/client-analytics/model/dailyUsers.d.ts +11 -0
  69. package/dist/client-analytics/model/dailyUsers.d.ts.map +1 -0
  70. package/dist/client-analytics/model/getAddToCartRateResponse.d.ts +20 -0
  71. package/dist/client-analytics/model/getAddToCartRateResponse.d.ts.map +1 -0
  72. package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts +6 -6
  73. package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts.map +1 -1
  74. package/dist/client-analytics/model/getClickPositionsResponse.d.ts +3 -3
  75. package/dist/client-analytics/model/getClickPositionsResponse.d.ts.map +1 -1
  76. package/dist/client-analytics/model/getClickThroughRateResponse.d.ts +7 -7
  77. package/dist/client-analytics/model/getClickThroughRateResponse.d.ts.map +1 -1
  78. package/dist/client-analytics/model/getConversionRateResponse.d.ts +20 -0
  79. package/dist/client-analytics/model/getConversionRateResponse.d.ts.map +1 -0
  80. package/dist/client-analytics/model/getNoClickRateResponse.d.ts +6 -6
  81. package/dist/client-analytics/model/getNoClickRateResponse.d.ts.map +1 -1
  82. package/dist/client-analytics/model/getNoResultsRateResponse.d.ts +6 -6
  83. package/dist/client-analytics/model/getNoResultsRateResponse.d.ts.map +1 -1
  84. package/dist/client-analytics/model/getPurchaseRateResponse.d.ts +20 -0
  85. package/dist/client-analytics/model/getPurchaseRateResponse.d.ts.map +1 -0
  86. package/dist/client-analytics/model/getRevenue.d.ts +13 -0
  87. package/dist/client-analytics/model/getRevenue.d.ts.map +1 -0
  88. package/dist/client-analytics/model/getSearchesCountResponse.d.ts +3 -3
  89. package/dist/client-analytics/model/getSearchesCountResponse.d.ts.map +1 -1
  90. package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts +3 -3
  91. package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts.map +1 -1
  92. package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts +3 -3
  93. package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts.map +1 -1
  94. package/dist/client-analytics/model/getStatusResponse.d.ts +2 -2
  95. package/dist/client-analytics/model/getStatusResponse.d.ts.map +1 -1
  96. package/dist/client-analytics/model/getTopCountriesResponse.d.ts +1 -1
  97. package/dist/client-analytics/model/getTopFilterAttributesResponse.d.ts +1 -1
  98. package/dist/client-analytics/model/getTopFilterForAttribute.d.ts +2 -4
  99. package/dist/client-analytics/model/getTopFilterForAttribute.d.ts.map +1 -1
  100. package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts +2 -2
  101. package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts.map +1 -1
  102. package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts +2 -4
  103. package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts.map +1 -1
  104. package/dist/client-analytics/model/getTopHitsResponse.d.ts +2 -1
  105. package/dist/client-analytics/model/getTopHitsResponse.d.ts.map +1 -1
  106. package/dist/client-analytics/model/getTopSearchesResponse.d.ts +2 -1
  107. package/dist/client-analytics/model/getTopSearchesResponse.d.ts.map +1 -1
  108. package/dist/client-analytics/model/getUsersCountResponse.d.ts +4 -4
  109. package/dist/client-analytics/model/getUsersCountResponse.d.ts.map +1 -1
  110. package/dist/client-analytics/model/index.d.ts +23 -11
  111. package/dist/client-analytics/model/index.d.ts.map +1 -1
  112. package/dist/client-analytics/model/operator.d.ts +5 -0
  113. package/dist/client-analytics/model/operator.d.ts.map +1 -0
  114. package/dist/client-analytics/model/orderBy.d.ts +1 -1
  115. package/dist/client-analytics/model/topCountry.d.ts +1 -1
  116. package/dist/client-analytics/model/topHit.d.ts +1 -1
  117. package/dist/client-analytics/model/topHitWithAnalytics.d.ts +9 -9
  118. package/dist/client-analytics/model/topHitWithAnalytics.d.ts.map +1 -1
  119. package/dist/client-analytics/model/topHitWithRevenueAnalytics.d.ts +52 -0
  120. package/dist/client-analytics/model/topHitWithRevenueAnalytics.d.ts.map +1 -0
  121. package/dist/client-analytics/model/topHitsResponse.d.ts +1 -1
  122. package/dist/client-analytics/model/topHitsResponseWithAnalytics.d.ts +1 -1
  123. package/dist/client-analytics/model/topHitsResponseWithRevenueAnalytics.d.ts +8 -0
  124. package/dist/client-analytics/model/topHitsResponseWithRevenueAnalytics.d.ts.map +1 -0
  125. package/dist/client-analytics/model/topSearch.d.ts +3 -3
  126. package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +17 -12
  127. package/dist/client-analytics/model/topSearchWithAnalytics.d.ts.map +1 -1
  128. package/dist/client-analytics/model/topSearchWithRevenueAnalytics.d.ts +65 -0
  129. package/dist/client-analytics/model/topSearchWithRevenueAnalytics.d.ts.map +1 -0
  130. package/dist/client-analytics/model/topSearchesResponse.d.ts +1 -1
  131. package/dist/client-analytics/model/topSearchesResponseWithAnalytics.d.ts +1 -1
  132. package/dist/client-analytics/model/topSearchesResponseWithRevenueAnalytics.d.ts +8 -0
  133. package/dist/client-analytics/model/topSearchesResponseWithRevenueAnalytics.d.ts.map +1 -0
  134. package/dist/client-analytics/src/analyticsClient.d.ts +211 -138
  135. package/dist/client-analytics/src/analyticsClient.d.ts.map +1 -1
  136. package/dist/client-personalization/model/clientMethodProps.d.ts +2 -2
  137. package/dist/client-personalization/model/deleteUserProfileResponse.d.ts +2 -2
  138. package/dist/client-personalization/model/eventScoring.d.ts +4 -6
  139. package/dist/client-personalization/model/eventScoring.d.ts.map +1 -1
  140. package/dist/client-personalization/model/eventType.d.ts +5 -0
  141. package/dist/client-personalization/model/eventType.d.ts.map +1 -0
  142. package/dist/client-personalization/model/facetScoring.d.ts +2 -2
  143. package/dist/client-personalization/model/getUserTokenResponse.d.ts +3 -3
  144. package/dist/client-personalization/model/index.d.ts +1 -0
  145. package/dist/client-personalization/model/index.d.ts.map +1 -1
  146. package/dist/client-personalization/model/personalizationStrategyParams.d.ts +3 -3
  147. package/dist/client-personalization/src/personalizationClient.d.ts +19 -19
  148. package/dist/client-personalization/src/personalizationClient.d.ts.map +1 -1
  149. package/dist/client-search/model/acl.d.ts +1 -1
  150. package/dist/client-search/model/action.d.ts +1 -1
  151. package/dist/client-search/model/addApiKeyResponse.d.ts +1 -1
  152. package/dist/client-search/model/anchoring.d.ts +1 -1
  153. package/dist/client-search/model/apiKey.d.ts +8 -8
  154. package/dist/client-search/model/apiKeyOperation.d.ts +2 -0
  155. package/dist/client-search/model/apiKeyOperation.d.ts.map +1 -0
  156. package/dist/client-search/model/aroundPrecision.d.ts +1 -1
  157. package/dist/client-search/model/aroundPrecisionFromValueInner.d.ts +9 -0
  158. package/dist/client-search/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
  159. package/dist/client-search/model/aroundRadius.d.ts +1 -1
  160. package/dist/client-search/model/aroundRadiusAll.d.ts +3 -0
  161. package/dist/client-search/model/aroundRadiusAll.d.ts.map +1 -1
  162. package/dist/client-search/model/automaticFacetFilter.d.ts +4 -4
  163. package/dist/client-search/model/automaticFacetFilters.d.ts +1 -1
  164. package/dist/client-search/model/baseGetApiKeyResponse.d.ts +1 -1
  165. package/dist/client-search/model/baseIndexSettings.d.ts +22 -17
  166. package/dist/client-search/model/baseIndexSettings.d.ts.map +1 -1
  167. package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +26 -29
  168. package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  169. package/dist/client-search/model/baseSearchResponse.d.ts +10 -6
  170. package/dist/client-search/model/baseSearchResponse.d.ts.map +1 -1
  171. package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +3 -3
  172. package/dist/client-search/model/batchResponse.d.ts +2 -2
  173. package/dist/client-search/model/builtInOperation.d.ts +2 -2
  174. package/dist/client-search/model/builtInOperationType.d.ts +1 -1
  175. package/dist/client-search/model/clientMethodProps.d.ts +124 -65
  176. package/dist/client-search/model/clientMethodProps.d.ts.map +1 -1
  177. package/dist/client-search/model/condition.d.ts +7 -3
  178. package/dist/client-search/model/condition.d.ts.map +1 -1
  179. package/dist/client-search/model/consequence.d.ts +5 -5
  180. package/dist/client-search/model/consequenceHide.d.ts +2 -2
  181. package/dist/client-search/model/consequenceQuery.d.ts +1 -1
  182. package/dist/client-search/model/consequenceQueryObject.d.ts +2 -2
  183. package/dist/client-search/model/createdAtResponse.d.ts +1 -1
  184. package/dist/client-search/model/cursor.d.ts +1 -1
  185. package/dist/client-search/model/deleteApiKeyResponse.d.ts +1 -1
  186. package/dist/client-search/model/deleteByParams.d.ts +4 -4
  187. package/dist/client-search/model/deleteSourceResponse.d.ts +1 -1
  188. package/dist/client-search/model/deletedAtResponse.d.ts +2 -2
  189. package/dist/client-search/model/dictionaryEntry.d.ts +6 -8
  190. package/dist/client-search/model/dictionaryEntry.d.ts.map +1 -1
  191. package/dist/client-search/model/dictionaryEntryState.d.ts +1 -1
  192. package/dist/client-search/model/dictionaryLanguage.d.ts +2 -2
  193. package/dist/client-search/model/dictionarySettingsParams.d.ts +1 -1
  194. package/dist/client-search/model/distinct.d.ts +1 -1
  195. package/dist/client-search/model/edit.d.ts +1 -1
  196. package/dist/client-search/model/exactOnSingleWordQuery.d.ts +1 -1
  197. package/dist/client-search/model/facetFilters.d.ts +1 -1
  198. package/dist/client-search/model/facetHits.d.ts +2 -2
  199. package/dist/client-search/model/facetOrdering.d.ts +2 -2
  200. package/dist/client-search/model/facets.d.ts +2 -2
  201. package/dist/client-search/model/fetchedIndex.d.ts +1 -1
  202. package/dist/client-search/model/getObjectsRequest.d.ts +3 -3
  203. package/dist/client-search/model/getObjectsResponse.d.ts +1 -1
  204. package/dist/client-search/model/hasPendingMappingsResponse.d.ts +1 -1
  205. package/dist/client-search/model/highlightResult.d.ts +1 -1
  206. package/dist/client-search/model/highlightResult.d.ts.map +1 -1
  207. package/dist/client-search/model/highlightResultOption.d.ts +3 -3
  208. package/dist/client-search/model/hit.d.ts +4 -4
  209. package/dist/client-search/model/ignorePlurals.d.ts +3 -2
  210. package/dist/client-search/model/ignorePlurals.d.ts.map +1 -1
  211. package/dist/client-search/model/index.d.ts +4 -0
  212. package/dist/client-search/model/index.d.ts.map +1 -1
  213. package/dist/client-search/model/indexSettings.d.ts +1 -1
  214. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +32 -35
  215. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  216. package/dist/client-search/model/log.d.ts +11 -11
  217. package/dist/client-search/model/logQuery.d.ts +1 -1
  218. package/dist/client-search/model/matchLevel.d.ts +1 -1
  219. package/dist/client-search/model/mode.d.ts +1 -1
  220. package/dist/client-search/model/multipleBatchRequest.d.ts +1 -1
  221. package/dist/client-search/model/multipleBatchResponse.d.ts +2 -2
  222. package/dist/client-search/model/numericFilters.d.ts +1 -1
  223. package/dist/client-search/model/operationIndexParams.d.ts +2 -2
  224. package/dist/client-search/model/operationType.d.ts +1 -1
  225. package/dist/client-search/model/optionalFilters.d.ts +1 -1
  226. package/dist/client-search/model/params.d.ts +1 -1
  227. package/dist/client-search/model/promoteObjectID.d.ts +2 -2
  228. package/dist/client-search/model/promoteObjectIDs.d.ts +2 -2
  229. package/dist/client-search/model/queryType.d.ts +1 -1
  230. package/dist/client-search/model/rankingInfo.d.ts +10 -7
  231. package/dist/client-search/model/rankingInfo.d.ts.map +1 -1
  232. package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -1
  233. package/dist/client-search/model/removeStopWords.d.ts +3 -2
  234. package/dist/client-search/model/removeStopWords.d.ts.map +1 -1
  235. package/dist/client-search/model/removeUserIdResponse.d.ts +1 -1
  236. package/dist/client-search/model/removeWordsIfNoResults.d.ts +1 -1
  237. package/dist/client-search/model/renderingContent.d.ts +1 -1
  238. package/dist/client-search/model/replaceSourceResponse.d.ts +1 -1
  239. package/dist/client-search/model/rule.d.ts +5 -5
  240. package/dist/client-search/model/saveObjectResponse.d.ts +3 -3
  241. package/dist/client-search/model/saveSynonymResponse.d.ts +2 -2
  242. package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +5 -7
  243. package/dist/client-search/model/searchDictionaryEntriesParams.d.ts.map +1 -1
  244. package/dist/client-search/model/searchDictionaryEntriesResponse.d.ts +20 -0
  245. package/dist/client-search/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
  246. package/dist/client-search/model/searchForFacetValuesRequest.d.ts +1 -1
  247. package/dist/client-search/model/searchForFacetValuesResponse.d.ts +3 -0
  248. package/dist/client-search/model/searchForFacetValuesResponse.d.ts.map +1 -1
  249. package/dist/client-search/model/searchForFacetsOptions.d.ts +2 -2
  250. package/dist/client-search/model/searchForHitsOptions.d.ts +1 -1
  251. package/dist/client-search/model/searchHits.d.ts +6 -3
  252. package/dist/client-search/model/searchHits.d.ts.map +1 -1
  253. package/dist/client-search/model/searchParamsObject.d.ts +3 -0
  254. package/dist/client-search/model/searchParamsObject.d.ts.map +1 -1
  255. package/dist/client-search/model/searchParamsQuery.d.ts +1 -1
  256. package/dist/client-search/model/searchRulesParams.d.ts +4 -8
  257. package/dist/client-search/model/searchRulesParams.d.ts.map +1 -1
  258. package/dist/client-search/model/searchRulesResponse.d.ts +2 -2
  259. package/dist/client-search/model/searchStrategy.d.ts +1 -1
  260. package/dist/client-search/model/searchSynonymsParams.d.ts +2 -2
  261. package/dist/client-search/model/searchSynonymsResponse.d.ts +2 -2
  262. package/dist/client-search/model/searchUserIdsParams.d.ts +1 -1
  263. package/dist/client-search/model/searchUserIdsResponse.d.ts +3 -3
  264. package/dist/client-search/model/securedAPIKeyRestrictions.d.ts +25 -0
  265. package/dist/client-search/model/securedAPIKeyRestrictions.d.ts.map +1 -0
  266. package/dist/client-search/model/semanticSearch.d.ts +2 -2
  267. package/dist/client-search/model/snippetResult.d.ts +1 -1
  268. package/dist/client-search/model/snippetResult.d.ts.map +1 -1
  269. package/dist/client-search/model/snippetResultOption.d.ts +2 -2
  270. package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
  271. package/dist/client-search/model/supportedLanguage.d.ts +5 -0
  272. package/dist/client-search/model/supportedLanguage.d.ts.map +1 -0
  273. package/dist/client-search/model/tagFilters.d.ts +1 -1
  274. package/dist/client-search/model/taskStatus.d.ts +1 -1
  275. package/dist/client-search/model/timeRange.d.ts +2 -2
  276. package/dist/client-search/model/typoTolerance.d.ts +1 -1
  277. package/dist/client-search/model/typoToleranceEnum.d.ts +3 -0
  278. package/dist/client-search/model/typoToleranceEnum.d.ts.map +1 -1
  279. package/dist/client-search/model/updateApiKeyResponse.d.ts +1 -1
  280. package/dist/client-search/model/updatedAtResponse.d.ts +2 -2
  281. package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +3 -3
  282. package/dist/client-search/model/updatedRuleResponse.d.ts +3 -3
  283. package/dist/client-search/model/userHit.d.ts +1 -1
  284. package/dist/client-search/model/userId.d.ts +1 -1
  285. package/dist/client-search/model/value.d.ts +1 -1
  286. package/dist/client-search/src/searchClient.d.ts +324 -202
  287. package/dist/client-search/src/searchClient.d.ts.map +1 -1
  288. package/dist/lite/builds/browser.d.ts +14 -3
  289. package/dist/lite/builds/browser.d.ts.map +1 -1
  290. package/dist/lite/builds/node.d.ts +14 -3
  291. package/dist/lite/builds/node.d.ts.map +1 -1
  292. package/dist/lite/lite.cjs +8 -6
  293. package/dist/lite/lite.esm.browser.js +13 -14
  294. package/dist/lite/lite.esm.node.js +8 -6
  295. package/dist/lite/lite.umd.js +2 -2
  296. package/dist/lite/model/acl.d.ts +1 -1
  297. package/dist/lite/model/action.d.ts +1 -1
  298. package/dist/lite/model/addApiKeyResponse.d.ts +1 -1
  299. package/dist/lite/model/anchoring.d.ts +1 -1
  300. package/dist/lite/model/apiKey.d.ts +8 -8
  301. package/dist/lite/model/apiKeyOperation.d.ts +2 -0
  302. package/dist/lite/model/apiKeyOperation.d.ts.map +1 -0
  303. package/dist/lite/model/aroundPrecision.d.ts +1 -1
  304. package/dist/lite/model/aroundPrecisionFromValueInner.d.ts +9 -0
  305. package/dist/lite/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
  306. package/dist/lite/model/aroundRadius.d.ts +1 -1
  307. package/dist/lite/model/aroundRadiusAll.d.ts +3 -0
  308. package/dist/lite/model/aroundRadiusAll.d.ts.map +1 -1
  309. package/dist/lite/model/automaticFacetFilter.d.ts +4 -4
  310. package/dist/lite/model/automaticFacetFilters.d.ts +1 -1
  311. package/dist/lite/model/baseGetApiKeyResponse.d.ts +1 -1
  312. package/dist/lite/model/baseIndexSettings.d.ts +22 -17
  313. package/dist/lite/model/baseIndexSettings.d.ts.map +1 -1
  314. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +26 -29
  315. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  316. package/dist/lite/model/baseSearchResponse.d.ts +10 -6
  317. package/dist/lite/model/baseSearchResponse.d.ts.map +1 -1
  318. package/dist/lite/model/builtInOperation.d.ts +2 -2
  319. package/dist/lite/model/builtInOperationType.d.ts +1 -1
  320. package/dist/lite/model/condition.d.ts +7 -3
  321. package/dist/lite/model/condition.d.ts.map +1 -1
  322. package/dist/lite/model/consequence.d.ts +5 -5
  323. package/dist/lite/model/consequenceHide.d.ts +2 -2
  324. package/dist/lite/model/consequenceQuery.d.ts +1 -1
  325. package/dist/lite/model/consequenceQueryObject.d.ts +2 -2
  326. package/dist/lite/model/cursor.d.ts +1 -1
  327. package/dist/lite/model/deleteByParams.d.ts +4 -4
  328. package/dist/lite/model/dictionaryEntry.d.ts +6 -8
  329. package/dist/lite/model/dictionaryEntry.d.ts.map +1 -1
  330. package/dist/lite/model/dictionaryEntryState.d.ts +1 -1
  331. package/dist/lite/model/dictionaryLanguage.d.ts +2 -2
  332. package/dist/lite/model/distinct.d.ts +1 -1
  333. package/dist/lite/model/edit.d.ts +1 -1
  334. package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
  335. package/dist/lite/model/facetFilters.d.ts +1 -1
  336. package/dist/lite/model/facetHits.d.ts +2 -2
  337. package/dist/lite/model/facetOrdering.d.ts +2 -2
  338. package/dist/lite/model/facets.d.ts +2 -2
  339. package/dist/lite/model/fetchedIndex.d.ts +1 -1
  340. package/dist/lite/model/highlightResult.d.ts +1 -1
  341. package/dist/lite/model/highlightResult.d.ts.map +1 -1
  342. package/dist/lite/model/highlightResultOption.d.ts +3 -3
  343. package/dist/lite/model/hit.d.ts +4 -4
  344. package/dist/lite/model/ignorePlurals.d.ts +3 -2
  345. package/dist/lite/model/ignorePlurals.d.ts.map +1 -1
  346. package/dist/lite/model/index.d.ts +4 -0
  347. package/dist/lite/model/index.d.ts.map +1 -1
  348. package/dist/lite/model/indexSettings.d.ts +1 -1
  349. package/dist/lite/model/indexSettingsAsSearchParams.d.ts +32 -35
  350. package/dist/lite/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  351. package/dist/lite/model/matchLevel.d.ts +1 -1
  352. package/dist/lite/model/mode.d.ts +1 -1
  353. package/dist/lite/model/numericFilters.d.ts +1 -1
  354. package/dist/lite/model/operationType.d.ts +1 -1
  355. package/dist/lite/model/optionalFilters.d.ts +1 -1
  356. package/dist/lite/model/params.d.ts +1 -1
  357. package/dist/lite/model/promoteObjectID.d.ts +2 -2
  358. package/dist/lite/model/promoteObjectIDs.d.ts +2 -2
  359. package/dist/lite/model/queryType.d.ts +1 -1
  360. package/dist/lite/model/rankingInfo.d.ts +10 -7
  361. package/dist/lite/model/rankingInfo.d.ts.map +1 -1
  362. package/dist/lite/model/reRankingApplyFilter.d.ts +1 -1
  363. package/dist/lite/model/removeStopWords.d.ts +3 -2
  364. package/dist/lite/model/removeStopWords.d.ts.map +1 -1
  365. package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
  366. package/dist/lite/model/renderingContent.d.ts +1 -1
  367. package/dist/lite/model/rule.d.ts +5 -5
  368. package/dist/lite/model/searchDictionaryEntriesResponse.d.ts +20 -0
  369. package/dist/lite/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
  370. package/dist/lite/model/searchForFacetValuesResponse.d.ts +3 -0
  371. package/dist/lite/model/searchForFacetValuesResponse.d.ts.map +1 -1
  372. package/dist/lite/model/searchForFacetsOptions.d.ts +2 -2
  373. package/dist/lite/model/searchForHitsOptions.d.ts +1 -1
  374. package/dist/lite/model/searchHits.d.ts +6 -3
  375. package/dist/lite/model/searchHits.d.ts.map +1 -1
  376. package/dist/lite/model/searchParamsObject.d.ts +3 -0
  377. package/dist/lite/model/searchParamsObject.d.ts.map +1 -1
  378. package/dist/lite/model/searchParamsQuery.d.ts +1 -1
  379. package/dist/lite/model/searchStrategy.d.ts +1 -1
  380. package/dist/lite/model/searchSynonymsResponse.d.ts +2 -2
  381. package/dist/lite/model/securedAPIKeyRestrictions.d.ts +25 -0
  382. package/dist/lite/model/securedAPIKeyRestrictions.d.ts.map +1 -0
  383. package/dist/lite/model/semanticSearch.d.ts +2 -2
  384. package/dist/lite/model/snippetResult.d.ts +1 -1
  385. package/dist/lite/model/snippetResult.d.ts.map +1 -1
  386. package/dist/lite/model/snippetResultOption.d.ts +2 -2
  387. package/dist/lite/model/sortRemainingBy.d.ts +1 -1
  388. package/dist/lite/model/supportedLanguage.d.ts +5 -0
  389. package/dist/lite/model/supportedLanguage.d.ts.map +1 -0
  390. package/dist/lite/model/tagFilters.d.ts +1 -1
  391. package/dist/lite/model/taskStatus.d.ts +1 -1
  392. package/dist/lite/model/timeRange.d.ts +2 -2
  393. package/dist/lite/model/typoTolerance.d.ts +1 -1
  394. package/dist/lite/model/typoToleranceEnum.d.ts +3 -0
  395. package/dist/lite/model/typoToleranceEnum.d.ts.map +1 -1
  396. package/dist/lite/model/updatedRuleResponse.d.ts +3 -3
  397. package/dist/lite/model/userId.d.ts +1 -1
  398. package/dist/lite/model/value.d.ts +1 -1
  399. package/dist/lite/src/liteClient.d.ts +6 -9
  400. package/dist/lite/src/liteClient.d.ts.map +1 -1
  401. package/lite/builds/browser.ts +11 -6
  402. package/lite/builds/node.ts +10 -5
  403. package/lite/model/acl.ts +1 -1
  404. package/lite/model/action.ts +1 -1
  405. package/lite/model/addApiKeyResponse.ts +1 -1
  406. package/lite/model/anchoring.ts +1 -1
  407. package/lite/model/apiKey.ts +8 -8
  408. package/lite/model/apiKeyOperation.ts +3 -0
  409. package/lite/model/aroundPrecision.ts +1 -1
  410. package/lite/model/aroundPrecisionFromValueInner.ts +9 -0
  411. package/lite/model/aroundRadius.ts +1 -1
  412. package/lite/model/aroundRadiusAll.ts +3 -0
  413. package/lite/model/automaticFacetFilter.ts +4 -4
  414. package/lite/model/automaticFacetFilters.ts +1 -1
  415. package/lite/model/baseGetApiKeyResponse.ts +1 -1
  416. package/lite/model/baseIndexSettings.ts +24 -17
  417. package/lite/model/baseSearchParamsWithoutQuery.ts +26 -30
  418. package/lite/model/baseSearchResponse.ts +11 -6
  419. package/lite/model/builtInOperation.ts +2 -2
  420. package/lite/model/builtInOperationType.ts +1 -1
  421. package/lite/model/condition.ts +8 -3
  422. package/lite/model/consequence.ts +5 -5
  423. package/lite/model/consequenceHide.ts +2 -2
  424. package/lite/model/consequenceQuery.ts +1 -1
  425. package/lite/model/consequenceQueryObject.ts +2 -2
  426. package/lite/model/cursor.ts +1 -1
  427. package/lite/model/deleteByParams.ts +4 -4
  428. package/lite/model/dictionaryEntry.ts +6 -8
  429. package/lite/model/dictionaryEntryState.ts +1 -1
  430. package/lite/model/dictionaryLanguage.ts +2 -2
  431. package/lite/model/distinct.ts +1 -1
  432. package/lite/model/edit.ts +1 -1
  433. package/lite/model/exactOnSingleWordQuery.ts +1 -1
  434. package/lite/model/facetFilters.ts +1 -1
  435. package/lite/model/facetHits.ts +2 -2
  436. package/lite/model/facetOrdering.ts +2 -2
  437. package/lite/model/facets.ts +2 -2
  438. package/lite/model/fetchedIndex.ts +1 -1
  439. package/lite/model/highlightResult.ts +1 -0
  440. package/lite/model/highlightResultOption.ts +3 -3
  441. package/lite/model/hit.ts +4 -4
  442. package/lite/model/ignorePlurals.ts +4 -2
  443. package/lite/model/index.ts +4 -0
  444. package/lite/model/indexSettings.ts +1 -1
  445. package/lite/model/indexSettingsAsSearchParams.ts +32 -36
  446. package/lite/model/matchLevel.ts +1 -1
  447. package/lite/model/mode.ts +1 -1
  448. package/lite/model/numericFilters.ts +1 -1
  449. package/lite/model/operationType.ts +1 -1
  450. package/lite/model/optionalFilters.ts +1 -1
  451. package/lite/model/params.ts +1 -1
  452. package/lite/model/promoteObjectID.ts +2 -2
  453. package/lite/model/promoteObjectIDs.ts +2 -2
  454. package/lite/model/queryType.ts +1 -1
  455. package/lite/model/rankingInfo.ts +10 -7
  456. package/lite/model/reRankingApplyFilter.ts +1 -1
  457. package/lite/model/removeStopWords.ts +4 -2
  458. package/lite/model/removeWordsIfNoResults.ts +1 -1
  459. package/lite/model/renderingContent.ts +1 -1
  460. package/lite/model/rule.ts +5 -5
  461. package/lite/model/searchDictionaryEntriesResponse.ts +25 -0
  462. package/lite/model/searchForFacetValuesResponse.ts +3 -0
  463. package/lite/model/searchForFacetsOptions.ts +2 -2
  464. package/lite/model/searchForHitsOptions.ts +1 -1
  465. package/lite/model/searchHits.ts +6 -3
  466. package/lite/model/searchParamsObject.ts +3 -0
  467. package/lite/model/searchParamsQuery.ts +1 -1
  468. package/lite/model/searchStrategy.ts +1 -1
  469. package/lite/model/searchSynonymsResponse.ts +2 -2
  470. package/lite/model/securedAPIKeyRestrictions.ts +32 -0
  471. package/lite/model/semanticSearch.ts +2 -2
  472. package/lite/model/snippetResult.ts +2 -1
  473. package/lite/model/snippetResultOption.ts +2 -2
  474. package/lite/model/sortRemainingBy.ts +1 -1
  475. package/lite/model/supportedLanguage.ts +74 -0
  476. package/lite/model/tagFilters.ts +1 -1
  477. package/lite/model/taskStatus.ts +1 -1
  478. package/lite/model/timeRange.ts +2 -2
  479. package/lite/model/typoTolerance.ts +1 -1
  480. package/lite/model/typoToleranceEnum.ts +3 -0
  481. package/lite/model/updatedRuleResponse.ts +3 -3
  482. package/lite/model/userId.ts +1 -1
  483. package/lite/model/value.ts +1 -1
  484. package/lite/src/liteClient.ts +8 -12
  485. package/package.json +14 -14
  486. package/dist/client-abtesting/model/currenciesValue.d.ts.map +0 -1
  487. package/dist/client-analytics/model/averageClickEvent.d.ts +0 -15
  488. package/dist/client-analytics/model/averageClickEvent.d.ts.map +0 -1
  489. package/dist/client-analytics/model/clickPosition.d.ts +0 -11
  490. package/dist/client-analytics/model/clickPosition.d.ts.map +0 -1
  491. package/dist/client-analytics/model/clickThroughRateEvent.d.ts +0 -19
  492. package/dist/client-analytics/model/clickThroughRateEvent.d.ts.map +0 -1
  493. package/dist/client-analytics/model/conversionRateEvent.d.ts +0 -19
  494. package/dist/client-analytics/model/conversionRateEvent.d.ts.map +0 -1
  495. package/dist/client-analytics/model/getConversationRateResponse.d.ts +0 -20
  496. package/dist/client-analytics/model/getConversationRateResponse.d.ts.map +0 -1
  497. package/dist/client-analytics/model/noClickRateEvent.d.ts +0 -19
  498. package/dist/client-analytics/model/noClickRateEvent.d.ts.map +0 -1
  499. package/dist/client-analytics/model/noResultsRateEvent.d.ts +0 -19
  500. package/dist/client-analytics/model/noResultsRateEvent.d.ts.map +0 -1
  501. package/dist/client-analytics/model/searchEvent.d.ts +0 -11
  502. package/dist/client-analytics/model/searchEvent.d.ts.map +0 -1
  503. package/dist/client-analytics/model/searchNoClickEvent.d.ts +0 -15
  504. package/dist/client-analytics/model/searchNoClickEvent.d.ts.map +0 -1
  505. package/dist/client-analytics/model/searchNoResultEvent.d.ts +0 -15
  506. package/dist/client-analytics/model/searchNoResultEvent.d.ts.map +0 -1
  507. package/dist/client-analytics/model/userWithDate.d.ts +0 -11
  508. package/dist/client-analytics/model/userWithDate.d.ts.map +0 -1
@@ -4,7 +4,7 @@ import type { ApiKey } from '../model/apiKey';
4
4
  import type { BatchParams } from '../model/batchParams';
5
5
  import type { BatchResponse } from '../model/batchResponse';
6
6
  import type { BrowseResponse } from '../model/browseResponse';
7
- import type { BrowseOptions, WaitForTaskOptions, WaitForApiKeyOptions, AddOrUpdateObjectProps, AssignUserIdProps, BatchProps, BatchAssignUserIdsProps, BatchDictionaryEntriesProps, BrowseProps, ClearObjectsProps, ClearRulesProps, ClearSynonymsProps, CustomDeleteProps, CustomGetProps, CustomPostProps, CustomPutProps, DeleteApiKeyProps, DeleteByProps, DeleteIndexProps, DeleteObjectProps, DeleteRuleProps, DeleteSourceProps, DeleteSynonymProps, GetApiKeyProps, GetLogsProps, GetObjectProps, GetRuleProps, GetSettingsProps, GetSynonymProps, GetTaskProps, GetUserIdProps, HasPendingMappingsProps, ListIndicesProps, ListUserIdsProps, OperationIndexProps, PartialUpdateObjectProps, RemoveUserIdProps, ReplaceSourcesProps, RestoreApiKeyProps, SaveObjectProps, SaveRuleProps, SaveRulesProps, SaveSynonymProps, SaveSynonymsProps, LegacySearchMethodProps, SearchDictionaryEntriesProps, SearchForFacetValuesProps, SearchRulesProps, SearchSingleIndexProps, SearchSynonymsProps, SetSettingsProps, UpdateApiKeyProps } from '../model/clientMethodProps';
7
+ import type { BrowseOptions, ChunkedBatchOptions, ReplaceAllObjectsOptions, ReplaceAllObjectsResponse, WaitForApiKeyOptions, WaitForTaskOptions, AddOrUpdateObjectProps, AssignUserIdProps, BatchProps, BatchAssignUserIdsProps, BatchDictionaryEntriesProps, BrowseProps, ClearObjectsProps, ClearRulesProps, ClearSynonymsProps, CustomDeleteProps, CustomGetProps, CustomPostProps, CustomPutProps, DeleteApiKeyProps, DeleteByProps, DeleteIndexProps, DeleteObjectProps, DeleteRuleProps, DeleteSourceProps, DeleteSynonymProps, GetApiKeyProps, GetLogsProps, GetObjectProps, GetRuleProps, GetSettingsProps, GetSynonymProps, GetTaskProps, GetUserIdProps, HasPendingMappingsProps, ListIndicesProps, ListUserIdsProps, OperationIndexProps, PartialUpdateObjectProps, RemoveUserIdProps, ReplaceSourcesProps, RestoreApiKeyProps, SaveObjectProps, SaveRuleProps, SaveRulesProps, SaveSynonymProps, SaveSynonymsProps, LegacySearchMethodProps, SearchDictionaryEntriesProps, SearchForFacetValuesProps, SearchRulesProps, SearchSingleIndexProps, SearchSynonymsProps, SetSettingsProps, UpdateApiKeyProps } from '../model/clientMethodProps';
8
8
  import type { CreatedAtResponse } from '../model/createdAtResponse';
9
9
  import type { DeleteApiKeyResponse } from '../model/deleteApiKeyResponse';
10
10
  import type { DeleteSourceResponse } from '../model/deleteSourceResponse';
@@ -30,6 +30,7 @@ import type { ReplaceSourceResponse } from '../model/replaceSourceResponse';
30
30
  import type { Rule } from '../model/rule';
31
31
  import type { SaveObjectResponse } from '../model/saveObjectResponse';
32
32
  import type { SaveSynonymResponse } from '../model/saveSynonymResponse';
33
+ import type { SearchDictionaryEntriesResponse } from '../model/searchDictionaryEntriesResponse';
33
34
  import type { SearchForFacetValuesResponse } from '../model/searchForFacetValuesResponse';
34
35
  import type { SearchMethodParams } from '../model/searchMethodParams';
35
36
  import type { SearchResponse } from '../model/searchResponse';
@@ -45,7 +46,7 @@ import type { UpdatedAtResponse } from '../model/updatedAtResponse';
45
46
  import type { UpdatedAtWithObjectIdResponse } from '../model/updatedAtWithObjectIdResponse';
46
47
  import type { UpdatedRuleResponse } from '../model/updatedRuleResponse';
47
48
  import type { UserId } from '../model/userId';
48
- export declare const apiClientVersion = "5.0.0-alpha.99";
49
+ export declare const apiClientVersion = "5.0.0-beta.1";
49
50
  export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
50
51
  transporter: import("@algolia/client-common").Transporter;
51
52
  /**
@@ -71,7 +72,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
71
72
  * Helper: Wait for a task to be published (completed) for a given `indexName` and `taskID`.
72
73
  *
73
74
  * @summary Helper method that waits for a task to be published (completed).
74
- * @param waitForTaskOptions - The waitForTaskOptions object.
75
+ * @param waitForTaskOptions - The `waitForTaskOptions` object.
75
76
  * @param waitForTaskOptions.indexName - The `indexName` where the operation was performed.
76
77
  * @param waitForTaskOptions.taskID - The `taskID` returned in the method response.
77
78
  * @param waitForTaskOptions.maxRetries - The maximum number of retries. 50 by default.
@@ -83,7 +84,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
83
84
  * Helper: Wait for an API key to be added, updated or deleted based on a given `operation`.
84
85
  *
85
86
  * @summary Helper method that waits for an API key task to be processed.
86
- * @param waitForApiKeyOptions - The waitForApiKeyOptions object.
87
+ * @param waitForApiKeyOptions - The `waitForApiKeyOptions` object.
87
88
  * @param waitForApiKeyOptions.operation - The `operation` that was done on a `key`.
88
89
  * @param waitForApiKeyOptions.key - The `key` that has been added, deleted or updated.
89
90
  * @param waitForApiKeyOptions.apiKey - Necessary to know if an `update` operation has been processed, compare fields of the response with it.
@@ -96,23 +97,23 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
96
97
  * Helper: Iterate on the `browse` method of the client to allow aggregating objects of an index.
97
98
  *
98
99
  * @summary Helper method that iterates on the `browse` method.
99
- * @param browseObjects - The browseObjects object.
100
+ * @param browseObjects - The `browseObjects` object.
100
101
  * @param browseObjects.indexName - The index in which to perform the request.
101
102
  * @param browseObjects.browseParams - The `browse` parameters.
102
103
  * @param browseObjects.validate - The validator function. It receive the resolved return of the API call. By default, stops when there is no `cursor` in the response.
103
104
  * @param browseObjects.aggregator - The function that runs right after the API call has been resolved, allows you to do anything with the response before `validate`.
104
105
  * @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `browse` method and merged with the transporter requestOptions.
105
106
  */
106
- browseObjects<T>({ indexName, browseParams, ...browseObjectsOptions }: Partial<Pick<import("@algolia/client-common").CreateIterablePromise<BrowseResponse<T>>, "validate">> & Required<Pick<import("@algolia/client-common").CreateIterablePromise<BrowseResponse<T>>, "aggregator">> & BrowseProps, requestOptions?: RequestOptions): Promise<BrowseResponse<T>>;
107
+ browseObjects<T>({ indexName, browseParams, ...browseObjectsOptions }: BrowseOptions<BrowseResponse<T>> & BrowseProps, requestOptions?: RequestOptions): Promise<BrowseResponse<T>>;
107
108
  /**
108
109
  * Helper: Iterate on the `searchRules` method of the client to allow aggregating rules of an index.
109
110
  *
110
111
  * @summary Helper method that iterates on the `searchRules` method.
111
- * @param browseObjects - The browseObjects object.
112
- * @param browseObjects.indexName - The index in which to perform the request.
113
- * @param browseObjects.searchRulesParams - The `searchRules` method parameters.
114
- * @param browseObjects.validate - The validator function. It receive the resolved return of the API call. By default, stops when there is less hits returned than the number of maximum hits (1000).
115
- * @param browseObjects.aggregator - The function that runs right after the API call has been resolved, allows you to do anything with the response before `validate`.
112
+ * @param browseRules - The `browseRules` object.
113
+ * @param browseRules.indexName - The index in which to perform the request.
114
+ * @param browseRules.searchRulesParams - The `searchRules` method parameters.
115
+ * @param browseRules.validate - The validator function. It receive the resolved return of the API call. By default, stops when there is less hits returned than the number of maximum hits (1000).
116
+ * @param browseRules.aggregator - The function that runs right after the API call has been resolved, allows you to do anything with the response before `validate`.
116
117
  * @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `searchRules` method and merged with the transporter requestOptions.
117
118
  */
118
119
  browseRules({ indexName, searchRulesParams, ...browseRulesOptions }: BrowseOptions<SearchRulesResponse> & SearchRulesProps, requestOptions?: RequestOptions): Promise<SearchRulesResponse>;
@@ -120,11 +121,11 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
120
121
  * Helper: Iterate on the `searchSynonyms` method of the client to allow aggregating rules of an index.
121
122
  *
122
123
  * @summary Helper method that iterates on the `searchSynonyms` method.
123
- * @param browseObjects - The browseObjects object.
124
- * @param browseObjects.indexName - The index in which to perform the request.
125
- * @param browseObjects.validate - The validator function. It receive the resolved return of the API call. By default, stops when there is less hits returned than the number of maximum hits (1000).
126
- * @param browseObjects.aggregator - The function that runs right after the API call has been resolved, allows you to do anything with the response before `validate`.
127
- * @param browseObjects.searchSynonymsParams - The `searchSynonyms` method parameters.
124
+ * @param browseSynonyms - The `browseSynonyms` object.
125
+ * @param browseSynonyms.indexName - The index in which to perform the request.
126
+ * @param browseSynonyms.validate - The validator function. It receive the resolved return of the API call. By default, stops when there is less hits returned than the number of maximum hits (1000).
127
+ * @param browseSynonyms.aggregator - The function that runs right after the API call has been resolved, allows you to do anything with the response before `validate`.
128
+ * @param browseSynonyms.searchSynonymsParams - The `searchSynonyms` method parameters.
128
129
  * @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `searchSynonyms` method and merged with the transporter requestOptions.
129
130
  */
130
131
  browseSynonyms({ indexName, searchSynonymsParams, ...browseSynonymsOptions }: BrowseOptions<SearchSynonymsResponse> & SearchSynonymsProps, requestOptions?: RequestOptions): Promise<SearchSynonymsResponse>;
@@ -151,115 +152,157 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
151
152
  results: SearchForFacetValuesResponse[];
152
153
  }>;
153
154
  /**
154
- * 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.
155
+ * Helper: Chunks the given `objects` list in subset of 1000 elements max in order to make it fit in `batch` requests.
156
+ *
157
+ * @summary Helper: Chunks the given `objects` list in subset of 1000 elements max in order to make it fit in `batch` requests.
158
+ * @param chunkedBatch - The `chunkedBatch` object.
159
+ * @param chunkedBatch.indexName - The `indexName` to replace `objects` in.
160
+ * @param chunkedBatch.objects - The array of `objects` to store in the given Algolia `indexName`.
161
+ * @param chunkedBatch.action - The `batch` `action` to perform on the given array of `objects`, defaults to `addObject`.
162
+ * @param chunkedBatch.waitForTasks - Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable.
163
+ * @param chunkedBatch.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
164
+ * @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getTask` method and merged with the transporter requestOptions.
165
+ */
166
+ chunkedBatch({ indexName, objects, action, waitForTasks, batchSize, }: ChunkedBatchOptions, requestOptions?: RequestOptions): Promise<BatchResponse[]>;
167
+ /**
168
+ * Helper: Replaces all objects (records) in the given `index_name` with the given `objects`. A temporary index is created during this process in order to backup your data.
169
+ *
170
+ * @summary Helper: Replaces all objects (records) in the given `index_name` with the given `objects`. A temporary index is created during this process in order to backup your data.
171
+ * @param replaceAllObjects - The `replaceAllObjects` object.
172
+ * @param replaceAllObjects.indexName - The `indexName` to replace `objects` in.
173
+ * @param replaceAllObjects.objects - The array of `objects` to store in the given Algolia `indexName`.
174
+ * @param replaceAllObjects.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
175
+ * @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getTask` method and merged with the transporter requestOptions.
176
+ */
177
+ replaceAllObjects({ indexName, objects, batchSize }: ReplaceAllObjectsOptions, requestOptions?: RequestOptions): Promise<ReplaceAllObjectsResponse>;
178
+ /**
179
+ * Creates a new API key with specific permissions and restrictions.
180
+ *
181
+ * Required API Key ACLs:
182
+ * - admin.
155
183
  *
156
- * @summary Add API key.
157
184
  * @param apiKey - The apiKey object.
158
185
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
159
186
  */
160
187
  addApiKey(apiKey: ApiKey, requestOptions?: RequestOptions): Promise<AddApiKeyResponse>;
161
188
  /**
162
- * 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).
189
+ * If a record with the specified object ID exists, the existing record is replaced. Otherwise, a new record is added to the index. To update _some_ attributes of an existing record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject) instead. To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
190
+ *
191
+ * Required API Key ACLs:
192
+ * - addObject.
163
193
  *
164
- * @summary Add or update a record (using objectID).
165
194
  * @param addOrUpdateObject - The addOrUpdateObject object.
166
- * @param addOrUpdateObject.indexName - Index on which to perform the request.
167
- * @param addOrUpdateObject.objectID - Unique record (object) identifier.
168
- * @param addOrUpdateObject.body - Algolia record.
195
+ * @param addOrUpdateObject.indexName - Name of the index on which to perform the operation.
196
+ * @param addOrUpdateObject.objectID - Unique record identifier.
197
+ * @param addOrUpdateObject.body - The record, a schemaless object with attributes that are useful in the context of search and discovery.
169
198
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
170
199
  */
171
200
  addOrUpdateObject({ indexName, objectID, body }: AddOrUpdateObjectProps, requestOptions?: RequestOptions): Promise<UpdatedAtWithObjectIdResponse>;
172
201
  /**
173
- * Add a source to the list of allowed sources.
202
+ * Adds a source to the list of allowed sources.
203
+ *
204
+ * Required API Key ACLs:
205
+ * - admin.
174
206
  *
175
- * @summary Add a source.
176
207
  * @param source - Source to add.
177
208
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
178
209
  */
179
210
  appendSource(source: Source, requestOptions?: RequestOptions): Promise<CreatedAtResponse>;
180
211
  /**
181
- * 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.
212
+ * Assigns or moves 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.
213
+ *
214
+ * Required API Key ACLs:
215
+ * - admin.
182
216
  *
183
- * @summary Assign or move a user ID.
184
217
  * @param assignUserId - The assignUserId object.
185
- * @param assignUserId.xAlgoliaUserID - UserID to assign.
218
+ * @param assignUserId.xAlgoliaUserID - Unique identifier of the user who makes the search request.
186
219
  * @param assignUserId.assignUserIdParams - The assignUserIdParams object.
187
220
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
188
221
  */
189
222
  assignUserId({ xAlgoliaUserID, assignUserIdParams }: AssignUserIdProps, requestOptions?: RequestOptions): Promise<CreatedAtResponse>;
190
223
  /**
191
- * 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.
224
+ * Adds, updates, or deletes records in one index with a single API request. Batching index updates reduces latency and increases data integrity. - Actions are applied in the order they\'re specified. - Actions are equivalent to the individual API requests of the same name.
192
225
  *
193
- * @summary Batch write operations on one index.
194
226
  * @param batch - The batch object.
195
- * @param batch.indexName - Index on which to perform the request.
227
+ * @param batch.indexName - Name of the index on which to perform the operation.
196
228
  * @param batch.batchWriteParams - The batchWriteParams object.
197
229
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
198
230
  */
199
231
  batch({ indexName, batchWriteParams }: BatchProps, requestOptions?: RequestOptions): Promise<BatchResponse>;
200
232
  /**
201
- * Assign multiple user IDs to a cluster. **You can\'t _move_ users with this operation.**.
233
+ * Assigns multiple user IDs to a cluster. **You can\'t move users with this operation**.
234
+ *
235
+ * Required API Key ACLs:
236
+ * - admin.
202
237
  *
203
- * @summary Batch assign userIDs.
204
238
  * @param batchAssignUserIds - The batchAssignUserIds object.
205
- * @param batchAssignUserIds.xAlgoliaUserID - UserID to assign.
239
+ * @param batchAssignUserIds.xAlgoliaUserID - Unique identifier of the user who makes the search request.
206
240
  * @param batchAssignUserIds.batchAssignUserIdsParams - The batchAssignUserIdsParams object.
207
241
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
208
242
  */
209
243
  batchAssignUserIds({ xAlgoliaUserID, batchAssignUserIdsParams }: BatchAssignUserIdsProps, requestOptions?: RequestOptions): Promise<CreatedAtResponse>;
210
244
  /**
211
- * Add or remove a batch of dictionary entries.
245
+ * Adds or deletes multiple entries from your plurals, segmentation, or stop word dictionaries.
246
+ *
247
+ * Required API Key ACLs:
248
+ * - editSettings.
212
249
  *
213
- * @summary Batch dictionary entries.
214
250
  * @param batchDictionaryEntries - The batchDictionaryEntries object.
215
- * @param batchDictionaryEntries.dictionaryName - Dictionary to search in.
251
+ * @param batchDictionaryEntries.dictionaryName - Dictionary type in which to search.
216
252
  * @param batchDictionaryEntries.batchDictionaryEntriesParams - The batchDictionaryEntriesParams object.
217
253
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
218
254
  */
219
255
  batchDictionaryEntries({ dictionaryName, batchDictionaryEntriesParams, }: BatchDictionaryEntriesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
220
256
  /**
221
- * 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.
257
+ * Retrieves records from an index, up to 1,000 per request. While searching retrieves _hits_ (records augmented with attributes for highlighting and ranking details), browsing _just_ returns matching records. This can be useful if you want to export your indices. - The Analytics API doesn\'t collect data when using `browse`. - Records are ranked by attributes and custom ranking. - Deduplication (`distinct`) is turned off. - There\'s no ranking for: typo-tolerance, number of matched words, proximity, geo distance.
258
+ *
259
+ * Required API Key ACLs:
260
+ * - browse.
222
261
  *
223
- * @summary Get all records from an index.
224
262
  * @param browse - The browse object.
225
- * @param browse.indexName - Index on which to perform the request.
263
+ * @param browse.indexName - Name of the index on which to perform the operation.
226
264
  * @param browse.browseParams - The browseParams object.
227
265
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
228
266
  */
229
267
  browse<T_2>({ indexName, browseParams }: BrowseProps, requestOptions?: RequestOptions): Promise<BrowseResponse<T_2>>;
230
268
  /**
231
- * Delete the records but leave settings and index-specific API keys untouched.
269
+ * Deletes only the records from an index while keeping settings, synonyms, and rules.
270
+ *
271
+ * Required API Key ACLs:
272
+ * - deleteIndex.
232
273
  *
233
- * @summary Delete all records from an index.
234
274
  * @param clearObjects - The clearObjects object.
235
- * @param clearObjects.indexName - Index on which to perform the request.
275
+ * @param clearObjects.indexName - Name of the index on which to perform the operation.
236
276
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
237
277
  */
238
278
  clearObjects({ indexName }: ClearObjectsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
239
279
  /**
240
- * Delete all rules in the index.
280
+ * Deletes all rules from the index.
281
+ *
282
+ * Required API Key ACLs:
283
+ * - editSettings.
241
284
  *
242
- * @summary Delete all rules.
243
285
  * @param clearRules - The clearRules object.
244
- * @param clearRules.indexName - Index on which to perform the request.
245
- * @param clearRules.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
286
+ * @param clearRules.indexName - Name of the index on which to perform the operation.
287
+ * @param clearRules.forwardToReplicas - Whether changes are applied to replica indices.
246
288
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
247
289
  */
248
290
  clearRules({ indexName, forwardToReplicas }: ClearRulesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
249
291
  /**
250
- * Delete all synonyms in the index.
292
+ * Deletes all synonyms from the index.
293
+ *
294
+ * Required API Key ACLs:
295
+ * - editSettings.
251
296
  *
252
- * @summary Delete all synonyms.
253
297
  * @param clearSynonyms - The clearSynonyms object.
254
- * @param clearSynonyms.indexName - Index on which to perform the request.
255
- * @param clearSynonyms.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
298
+ * @param clearSynonyms.indexName - Name of the index on which to perform the operation.
299
+ * @param clearSynonyms.forwardToReplicas - Whether changes are applied to replica indices.
256
300
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
257
301
  */
258
302
  clearSynonyms({ indexName, forwardToReplicas }: ClearSynonymsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
259
303
  /**
260
304
  * This method allow you to send requests to the Algolia REST API.
261
305
  *
262
- * @summary Send requests to the Algolia REST API.
263
306
  * @param customDelete - The customDelete object.
264
307
  * @param customDelete.path - Path of the endpoint, anything after \"/1\" must be specified.
265
308
  * @param customDelete.parameters - Query parameters to apply to the current query.
@@ -269,7 +312,6 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
269
312
  /**
270
313
  * This method allow you to send requests to the Algolia REST API.
271
314
  *
272
- * @summary Send requests to the Algolia REST API.
273
315
  * @param customGet - The customGet object.
274
316
  * @param customGet.path - Path of the endpoint, anything after \"/1\" must be specified.
275
317
  * @param customGet.parameters - Query parameters to apply to the current query.
@@ -279,7 +321,6 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
279
321
  /**
280
322
  * This method allow you to send requests to the Algolia REST API.
281
323
  *
282
- * @summary Send requests to the Algolia REST API.
283
324
  * @param customPost - The customPost object.
284
325
  * @param customPost.path - Path of the endpoint, anything after \"/1\" must be specified.
285
326
  * @param customPost.parameters - Query parameters to apply to the current query.
@@ -290,7 +331,6 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
290
331
  /**
291
332
  * This method allow you to send requests to the Algolia REST API.
292
333
  *
293
- * @summary Send requests to the Algolia REST API.
294
334
  * @param customPut - The customPut object.
295
335
  * @param customPut.path - Path of the endpoint, anything after \"/1\" must be specified.
296
336
  * @param customPut.parameters - Query parameters to apply to the current query.
@@ -299,438 +339,524 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
299
339
  */
300
340
  customPut({ path, parameters, body }: CustomPutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
301
341
  /**
302
- * Delete an existing API key. The request must be authenticated with the admin API key.
342
+ * Deletes the API key.
343
+ *
344
+ * Required API Key ACLs:
345
+ * - admin.
303
346
  *
304
- * @summary Delete API key.
305
347
  * @param deleteApiKey - The deleteApiKey object.
306
348
  * @param deleteApiKey.key - API key.
307
349
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
308
350
  */
309
351
  deleteApiKey({ key }: DeleteApiKeyProps, requestOptions?: RequestOptions): Promise<DeleteApiKeyResponse>;
310
352
  /**
311
- * 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.
353
+ * This operation doesn\'t accept empty queries or filters. It\'s more efficient to get a list of object IDs with the [`browse` operation](#tag/Search/operation/browse), and then delete the records using the [`batch` operation](tag/Records/operation/batch).
354
+ *
355
+ * Required API Key ACLs:
356
+ * - deleteIndex.
312
357
  *
313
- * @summary Delete all records matching a query.
314
358
  * @param deleteBy - The deleteBy object.
315
- * @param deleteBy.indexName - Index on which to perform the request.
359
+ * @param deleteBy.indexName - Name of the index on which to perform the operation.
316
360
  * @param deleteBy.deleteByParams - The deleteByParams object.
317
361
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
318
362
  */
319
363
  deleteBy({ indexName, deleteByParams }: DeleteByProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
320
364
  /**
321
- * Delete an existing index.
365
+ * Deletes an index and all its settings. - Deleting an index doesn\'t delete its analytics data. - If you try to delete a non-existing index, the operation is ignored without warning. - If the index you want to delete has replica indices, the replicas become independent indices. - If the index you want to delete is a replica index, you must first unlink it from its primary index before you can delete it. For more information, see [Delete replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/deleting-replicas/).
366
+ *
367
+ * Required API Key ACLs:
368
+ * - deleteIndex.
322
369
  *
323
- * @summary Delete index.
324
370
  * @param deleteIndex - The deleteIndex object.
325
- * @param deleteIndex.indexName - Index on which to perform the request.
371
+ * @param deleteIndex.indexName - Name of the index on which to perform the operation.
326
372
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
327
373
  */
328
374
  deleteIndex({ indexName }: DeleteIndexProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
329
375
  /**
330
- * To delete a set of records matching a query, use the [`deleteByQuery` operation](#tag/Records/operation/deleteBy) instead.
376
+ * Deletes a record by its object ID. To delete more than one record, use the [`batch` operation](#tag/Records/operation/batch). To delete records matching a query, use the [`deleteByQuery` operation](#tag/Records/operation/deleteBy).
377
+ *
378
+ * Required API Key ACLs:
379
+ * - deleteObject.
331
380
  *
332
- * @summary Delete a record.
333
381
  * @param deleteObject - The deleteObject object.
334
- * @param deleteObject.indexName - Index on which to perform the request.
335
- * @param deleteObject.objectID - Unique record (object) identifier.
382
+ * @param deleteObject.indexName - Name of the index on which to perform the operation.
383
+ * @param deleteObject.objectID - Unique record identifier.
336
384
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
337
385
  */
338
386
  deleteObject({ indexName, objectID }: DeleteObjectProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
339
387
  /**
340
- * Delete a rule by its `objectID`. To find the `objectID` for rules, use the [`search` operation](#tag/Rules/operation/searchRules).
388
+ * Deletes a rule by its ID. To find the object ID for rules, use the [`search` operation](#tag/Rules/operation/searchRules).
389
+ *
390
+ * Required API Key ACLs:
391
+ * - editSettings.
341
392
  *
342
- * @summary Delete a rule.
343
393
  * @param deleteRule - The deleteRule object.
344
- * @param deleteRule.indexName - Index on which to perform the request.
394
+ * @param deleteRule.indexName - Name of the index on which to perform the operation.
345
395
  * @param deleteRule.objectID - Unique identifier of a rule object.
346
- * @param deleteRule.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
396
+ * @param deleteRule.forwardToReplicas - Whether changes are applied to replica indices.
347
397
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
348
398
  */
349
399
  deleteRule({ indexName, objectID, forwardToReplicas }: DeleteRuleProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
350
400
  /**
351
- * Remove a source from the list of allowed sources.
401
+ * Deletes a source from the list of allowed sources.
402
+ *
403
+ * Required API Key ACLs:
404
+ * - admin.
352
405
  *
353
- * @summary Remove a source.
354
406
  * @param deleteSource - The deleteSource object.
355
407
  * @param deleteSource.source - IP address range of the source.
356
408
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
357
409
  */
358
410
  deleteSource({ source }: DeleteSourceProps, requestOptions?: RequestOptions): Promise<DeleteSourceResponse>;
359
411
  /**
360
- * Delete a synonym by its `objectID`. To find the object IDs of your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
412
+ * Deletes a synonym by its ID. To find the object IDs of your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
413
+ *
414
+ * Required API Key ACLs:
415
+ * - editSettings.
361
416
  *
362
- * @summary Delete a synonym.
363
417
  * @param deleteSynonym - The deleteSynonym object.
364
- * @param deleteSynonym.indexName - Index on which to perform the request.
418
+ * @param deleteSynonym.indexName - Name of the index on which to perform the operation.
365
419
  * @param deleteSynonym.objectID - Unique identifier of a synonym object.
366
- * @param deleteSynonym.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
420
+ * @param deleteSynonym.forwardToReplicas - Whether changes are applied to replica indices.
367
421
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
368
422
  */
369
423
  deleteSynonym({ indexName, objectID, forwardToReplicas }: DeleteSynonymProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
370
424
  /**
371
- * 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.
425
+ * Gets the permissions and restrictions of an 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.
372
426
  *
373
- * @summary Get API key permissions.
374
427
  * @param getApiKey - The getApiKey object.
375
428
  * @param getApiKey.key - API key.
376
429
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
377
430
  */
378
431
  getApiKey({ key }: GetApiKeyProps, requestOptions?: RequestOptions): Promise<GetApiKeyResponse>;
379
432
  /**
380
- * 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.
433
+ * Lists supported languages with their supported dictionary types and number of custom entries.
434
+ *
435
+ * Required API Key ACLs:
436
+ * - settings.
381
437
  *
382
- * @summary List available languages.
383
438
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
384
439
  */
385
440
  getDictionaryLanguages(requestOptions?: RequestOptions): Promise<Record<string, Languages>>;
386
441
  /**
387
- * Get the languages for which [stop words are turned off](#tag/Dictionaries/operation/setDictionarySettings).
442
+ * Retrieves the languages for which standard dictionary entries are turned off.
443
+ *
444
+ * Required API Key ACLs:
445
+ * - settings.
388
446
  *
389
- * @summary Get stop word settings.
390
447
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
391
448
  */
392
449
  getDictionarySettings(requestOptions?: RequestOptions): Promise<GetDictionarySettingsResponse>;
393
450
  /**
394
- * 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).
451
+ * 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. - Up to 1,000 API requests per server are logged. - 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.
452
+ *
453
+ * Required API Key ACLs:
454
+ * - logs.
395
455
  *
396
- * @summary Return the latest log entries.
397
456
  * @param getLogs - The getLogs object.
398
- * @param getLogs.offset - First log entry to retrieve. Sorted by decreasing date with 0 being the most recent.
457
+ * @param getLogs.offset - First log entry to retrieve. The most recent entries are listed first.
399
458
  * @param getLogs.length - Maximum number of entries to retrieve.
400
- * @param getLogs.indexName - Index for which log entries should be retrieved. When omitted, log entries are retrieved for all indices.
401
- * @param getLogs.type - Type of log entries to retrieve. When omitted, all log entries are retrieved.
459
+ * @param getLogs.indexName - Index for which to retrieve log entries. By default, log entries are retrieved for all indices.
460
+ * @param getLogs.type - Type of log entries to retrieve. By default, all log entries are retrieved.
402
461
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
403
462
  */
404
463
  getLogs({ offset, length, indexName, type }?: GetLogsProps, requestOptions?: RequestOptions | undefined): Promise<GetLogsResponse>;
405
464
  /**
406
- * To get more than one record, use the [`objects` operation](#tag/Records/operation/getObjects).
465
+ * Retrieves one record by its object ID. To retrieve more than one record, use the [`objects` operation](#tag/Records/operation/getObjects).
466
+ *
467
+ * Required API Key ACLs:
468
+ * - search.
407
469
  *
408
- * @summary Get a record.
409
470
  * @param getObject - The getObject object.
410
- * @param getObject.indexName - Index on which to perform the request.
411
- * @param getObject.objectID - Unique record (object) identifier.
412
- * @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.
471
+ * @param getObject.indexName - Name of the index on which to perform the operation.
472
+ * @param getObject.objectID - Unique record identifier.
473
+ * @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. Attributes included in `unretrievableAttributes` won\'t be retrieved unless the request is authenticated with the admin API key.
413
474
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
414
475
  */
415
476
  getObject({ indexName, objectID, attributesToRetrieve }: GetObjectProps, requestOptions?: RequestOptions): Promise<Record<string, string>>;
416
477
  /**
417
- * 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.
478
+ * Retrieves one or more records, potentially from different indices. Records are returned in the same order as the requests.
479
+ *
480
+ * Required API Key ACLs:
481
+ * - search.
418
482
  *
419
- * @summary Get multiple records.
420
483
  * @param getObjectsParams - Request object.
421
484
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
422
485
  */
423
486
  getObjects<T_3>(getObjectsParams: GetObjectsParams, requestOptions?: RequestOptions): Promise<GetObjectsResponse<T_3>>;
424
487
  /**
425
- * Get a rule by its `objectID`. To find the `objectID` for rules, use the [`search` operation](#tag/Rules/operation/searchRules).
488
+ * Retrieves a rule by its ID. To find the object ID of rules, use the [`search` operation](#tag/Rules/operation/searchRules).
489
+ *
490
+ * Required API Key ACLs:
491
+ * - settings.
426
492
  *
427
- * @summary Get a rule.
428
493
  * @param getRule - The getRule object.
429
- * @param getRule.indexName - Index on which to perform the request.
494
+ * @param getRule.indexName - Name of the index on which to perform the operation.
430
495
  * @param getRule.objectID - Unique identifier of a rule object.
431
496
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
432
497
  */
433
498
  getRule({ indexName, objectID }: GetRuleProps, requestOptions?: RequestOptions): Promise<Rule>;
434
499
  /**
435
- * Return an object containing an index\'s [configuration settings](https://www.algolia.com/doc/api-reference/settings-api-parameters/).
500
+ * Retrieves an object with non-null index settings.
501
+ *
502
+ * Required API Key ACLs:
503
+ * - search.
436
504
  *
437
- * @summary Get index settings.
438
505
  * @param getSettings - The getSettings object.
439
- * @param getSettings.indexName - Index on which to perform the request.
506
+ * @param getSettings.indexName - Name of the index on which to perform the operation.
440
507
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
441
508
  */
442
509
  getSettings({ indexName }: GetSettingsProps, requestOptions?: RequestOptions): Promise<IndexSettings>;
443
510
  /**
444
- * Get all allowed sources (IP addresses).
511
+ * Retrieves all allowed IP addresses with access to your application.
512
+ *
513
+ * Required API Key ACLs:
514
+ * - admin.
445
515
  *
446
- * @summary Get all allowed IP addresses.
447
516
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
448
517
  */
449
518
  getSources(requestOptions?: RequestOptions): Promise<Source[]>;
450
519
  /**
451
- * Get a syonym by its `objectID`. To find the object IDs for your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
520
+ * Retrieves a syonym by its ID. To find the object IDs for your synonyms, use the [`search` operation](#tag/Synonyms/operation/searchSynonyms).
521
+ *
522
+ * Required API Key ACLs:
523
+ * - settings.
452
524
  *
453
- * @summary Get a synonym object.
454
525
  * @param getSynonym - The getSynonym object.
455
- * @param getSynonym.indexName - Index on which to perform the request.
526
+ * @param getSynonym.indexName - Name of the index on which to perform the operation.
456
527
  * @param getSynonym.objectID - Unique identifier of a synonym object.
457
528
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
458
529
  */
459
530
  getSynonym({ indexName, objectID }: GetSynonymProps, requestOptions?: RequestOptions): Promise<SynonymHit>;
460
531
  /**
461
- * Some operations, such as copying an index, will respond with a `taskID` value. Use this value here to check the status of that task.
532
+ * Checks the status of a given task. Indexing tasks are asynchronous. When you add, update, or delete records or indices, a task is created on a queue and completed depending on the load on the server. The indexing tasks\' responses include a task ID that you can use to check the status.
533
+ *
534
+ * Required API Key ACLs:
535
+ * - addObject.
462
536
  *
463
- * @summary Check a task\'s status.
464
537
  * @param getTask - The getTask object.
465
- * @param getTask.indexName - Index on which to perform the request.
538
+ * @param getTask.indexName - Name of the index on which to perform the operation.
466
539
  * @param getTask.taskID - Unique task identifier.
467
540
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
468
541
  */
469
542
  getTask({ indexName, taskID }: GetTaskProps, requestOptions?: RequestOptions): Promise<GetTaskResponse>;
470
543
  /**
471
- * 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.
544
+ * Get the IDs of the 10 users with the highest number of records per cluster. Since it can take a few seconds to get the data from the different clusters, the response isn\'t real-time.
545
+ *
546
+ * Required API Key ACLs:
547
+ * - admin.
472
548
  *
473
- * @summary Get top userID.
474
549
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
475
550
  */
476
551
  getTopUserIds(requestOptions?: RequestOptions): Promise<GetTopUserIdsResponse>;
477
552
  /**
478
- * 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.
553
+ * Returns the user ID data stored in the mapping. Since it can take a few seconds to get the data from the different clusters, the response isn\'t real-time.
554
+ *
555
+ * Required API Key ACLs:
556
+ * - admin.
479
557
  *
480
- * @summary Get userID.
481
558
  * @param getUserId - The getUserId object.
482
- * @param getUserId.userID - UserID to assign.
559
+ * @param getUserId.userID - Unique identifier of the user who makes the search request.
483
560
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
484
561
  */
485
562
  getUserId({ userID }: GetUserIdProps, requestOptions?: RequestOptions): Promise<UserId>;
486
563
  /**
487
564
  * 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.
488
565
  *
489
- * @summary Get migration and user mapping status.
566
+ * Required API Key ACLs:
567
+ * - admin.
568
+ *
490
569
  * @param hasPendingMappings - The hasPendingMappings object.
491
- * @param hasPendingMappings.getClusters - Indicates whether to include the cluster\'s pending mapping state in the response.
570
+ * @param hasPendingMappings.getClusters - Whether to include the cluster\'s pending mapping state in the response.
492
571
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
493
572
  */
494
573
  hasPendingMappings({ getClusters }?: HasPendingMappingsProps, requestOptions?: RequestOptions | undefined): Promise<HasPendingMappingsResponse>;
495
574
  /**
496
- * List all API keys associated with your Algolia application, including their permissions and restrictions.
575
+ * Lists all API keys associated with your Algolia application, including their permissions and restrictions.
576
+ *
577
+ * Required API Key ACLs:
578
+ * - admin.
497
579
  *
498
- * @summary List API keys.
499
580
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
500
581
  */
501
582
  listApiKeys(requestOptions?: RequestOptions): Promise<ListApiKeysResponse>;
502
583
  /**
503
- * List the available clusters in a multi-cluster setup.
584
+ * Lists the available clusters in a multi-cluster setup.
585
+ *
586
+ * Required API Key ACLs:
587
+ * - admin.
504
588
  *
505
- * @summary List clusters.
506
589
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
507
590
  */
508
591
  listClusters(requestOptions?: RequestOptions): Promise<ListClustersResponse>;
509
592
  /**
510
- * List indices in an Algolia application.
593
+ * Lists all indices in the current Algolia application. The request follows any index restrictions of the API key you use to make the request.
594
+ *
595
+ * Required API Key ACLs:
596
+ * - listIndexes.
511
597
  *
512
- * @summary List indices.
513
598
  * @param listIndices - The listIndices object.
514
- * @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.
515
- * @param listIndices.hitsPerPage - Maximum number of hits per page.
599
+ * @param listIndices.page - Requested page of the API response. If `null`, the API response is not paginated.
600
+ * @param listIndices.hitsPerPage - Number of hits per page.
516
601
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
517
602
  */
518
603
  listIndices({ page, hitsPerPage }?: ListIndicesProps, requestOptions?: RequestOptions | undefined): Promise<ListIndicesResponse>;
519
604
  /**
520
- * 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.
605
+ * Lists the userIDs assigned to a multi-cluster application. Since it can take a few seconds to get the data from the different clusters, the response isn\'t real-time.
606
+ *
607
+ * Required API Key ACLs:
608
+ * - admin.
521
609
  *
522
- * @summary List userIDs.
523
610
  * @param listUserIds - The listUserIds object.
524
- * @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.
525
- * @param listUserIds.hitsPerPage - Maximum number of hits per page.
611
+ * @param listUserIds.page - Requested page of the API response. If `null`, the API response is not paginated.
612
+ * @param listUserIds.hitsPerPage - Number of hits per page.
526
613
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
527
614
  */
528
615
  listUserIds({ page, hitsPerPage }?: ListUserIdsProps, requestOptions?: RequestOptions | undefined): Promise<ListUserIdsResponse>;
529
616
  /**
530
- * 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.
617
+ * Adds, updates, or deletes records in multiple indices with a single API request. - Actions are applied in the order they are specified. - Actions are equivalent to the individual API requests of the same name.
531
618
  *
532
- * @summary Batch write operations on multiple indices.
533
619
  * @param batchParams - The batchParams object.
534
620
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
535
621
  */
536
622
  multipleBatch(batchParams: BatchParams, requestOptions?: RequestOptions): Promise<MultipleBatchResponse>;
537
623
  /**
538
- * 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/).
624
+ * Copies or moves (renames) an index within the same Algolia application. - Existing destination indices are overwritten, except for index-specific API keys and analytics data. - If the destination index doesn\'t exist yet, it\'ll be created. **Copy** - Copying a source index that doesn\'t exist creates a new index with 0 records and default settings. - The API keys of the source index are merged with the existing keys in the destination index. - You can\'t copy the `enableReRanking`, `mode`, and `replicas` settings. - You can\'t copy to a destination index that already has replicas. - Be aware of the [size limits](https://www.algolia.com/doc/guides/scaling/algolia-service-limits/#application-record-and-index-limits). - Related guide: [Copy indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/copy-indices/) **Move** - Moving a source index that doesn\'t exist is ignored without returning an error. - When moving an index, the analytics data keep their original name and a new set of analytics data is started for the new name. To access the original analytics in the dashboard, create an index with the original name. - If the destination index has replicas, moving will overwrite the existing index and copy the data to the replica indices. - Related guide: [Move indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/move-indices/).
625
+ *
626
+ * Required API Key ACLs:
627
+ * - addObject.
539
628
  *
540
- * @summary Copy, move, or rename an index.
541
629
  * @param operationIndex - The operationIndex object.
542
- * @param operationIndex.indexName - Index on which to perform the request.
630
+ * @param operationIndex.indexName - Name of the index on which to perform the operation.
543
631
  * @param operationIndex.operationIndexParams - The operationIndexParams object.
544
632
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
545
633
  */
546
634
  operationIndex({ indexName, operationIndexParams }: OperationIndexProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
547
635
  /**
548
- * 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.
636
+ * Adds new attributes to a record, or update existing ones. - If a record with the specified object ID doesn\'t exist, a new record is added to the index **if** `createIfNotExists` is true. - If the index doesn\'t exist yet, this method creates a new index. - You can use any first-level attribute but not nested attributes. If you specify a nested attribute, the engine treats it as a replacement for its first-level ancestor.
637
+ *
638
+ * Required API Key ACLs:
639
+ * - addObject.
549
640
  *
550
- * @summary Update record attributes.
551
641
  * @param partialUpdateObject - The partialUpdateObject object.
552
- * @param partialUpdateObject.indexName - Index on which to perform the request.
553
- * @param partialUpdateObject.objectID - Unique record (object) identifier.
554
- * @param partialUpdateObject.attributesToUpdate - Object with attributes to update.
555
- * @param partialUpdateObject.createIfNotExists - Indicates whether to create a new record if it doesn\'t exist yet.
642
+ * @param partialUpdateObject.indexName - Name of the index on which to perform the operation.
643
+ * @param partialUpdateObject.objectID - Unique record identifier.
644
+ * @param partialUpdateObject.attributesToUpdate - Attributes with their values.
645
+ * @param partialUpdateObject.createIfNotExists - Whether to create a new record if it doesn\'t exist.
556
646
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
557
647
  */
558
648
  partialUpdateObject({ indexName, objectID, attributesToUpdate, createIfNotExists, }: PartialUpdateObjectProps, requestOptions?: RequestOptions): Promise<UpdatedAtWithObjectIdResponse>;
559
649
  /**
560
- * Remove a userID and its associated data from the multi-clusters.
650
+ * Deletes a user ID and its associated data from the clusters.
651
+ *
652
+ * Required API Key ACLs:
653
+ * - admin.
561
654
  *
562
- * @summary Remove userID.
563
655
  * @param removeUserId - The removeUserId object.
564
- * @param removeUserId.userID - UserID to assign.
656
+ * @param removeUserId.userID - Unique identifier of the user who makes the search request.
565
657
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
566
658
  */
567
659
  removeUserId({ userID }: RemoveUserIdProps, requestOptions?: RequestOptions): Promise<RemoveUserIdResponse>;
568
660
  /**
569
- * Replace all allowed sources.
661
+ * Replaces the list of allowed sources.
662
+ *
663
+ * Required API Key ACLs:
664
+ * - admin.
570
665
  *
571
- * @summary Replace all sources.
572
666
  * @param replaceSources - The replaceSources object.
573
667
  * @param replaceSources.source - Allowed sources.
574
668
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
575
669
  */
576
670
  replaceSources({ source }: ReplaceSourcesProps, requestOptions?: RequestOptions): Promise<ReplaceSourceResponse>;
577
671
  /**
578
- * Restore a deleted API key, along with its associated permissions. The request must be authenticated with the admin API key.
672
+ * Restores a deleted API key. Restoring resets the `validity` attribute to `0`. Algolia stores up to 1,000 API keys per application. If you create more, the oldest API keys are deleted and can\'t be restored.
673
+ *
674
+ * Required API Key ACLs:
675
+ * - admin.
579
676
  *
580
- * @summary Restore API key.
581
677
  * @param restoreApiKey - The restoreApiKey object.
582
678
  * @param restoreApiKey.key - API key.
583
679
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
584
680
  */
585
681
  restoreApiKey({ key }: RestoreApiKeyProps, requestOptions?: RequestOptions): Promise<AddApiKeyResponse>;
586
682
  /**
587
- * 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).
683
+ * Adds a record to an index or replace it. - If the record doesn\'t have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn\'t exist, a new record is added to your index. - If you add a record to an index that doesn\'t exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partial). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
684
+ *
685
+ * Required API Key ACLs:
686
+ * - addObject.
588
687
  *
589
- * @summary Add or update a record.
590
688
  * @param saveObject - The saveObject object.
591
- * @param saveObject.indexName - Index on which to perform the request.
592
- * @param saveObject.body - The Algolia record.
689
+ * @param saveObject.indexName - Name of the index on which to perform the operation.
690
+ * @param saveObject.body - The record, a schemaless object with attributes that are useful in the context of search and discovery.
593
691
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
594
692
  */
595
693
  saveObject({ indexName, body }: SaveObjectProps, requestOptions?: RequestOptions): Promise<SaveObjectResponse>;
596
694
  /**
597
- * To create or update more than one rule, use the [`batch` operation](#tag/Rules/operation/saveRules).
695
+ * If a rule with the specified object ID doesn\'t exist, it\'s created. Otherwise, the existing rule is replaced. To create or update more than one rule, use the [`batch` operation](#tag/Rules/operation/saveRules).
696
+ *
697
+ * Required API Key ACLs:
698
+ * - editSettings.
598
699
  *
599
- * @summary Create or update a rule.
600
700
  * @param saveRule - The saveRule object.
601
- * @param saveRule.indexName - Index on which to perform the request.
701
+ * @param saveRule.indexName - Name of the index on which to perform the operation.
602
702
  * @param saveRule.objectID - Unique identifier of a rule object.
603
703
  * @param saveRule.rule - The rule object.
604
- * @param saveRule.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
704
+ * @param saveRule.forwardToReplicas - Whether changes are applied to replica indices.
605
705
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
606
706
  */
607
707
  saveRule({ indexName, objectID, rule, forwardToReplicas }: SaveRuleProps, requestOptions?: RequestOptions): Promise<UpdatedRuleResponse>;
608
708
  /**
609
- * Create or update multiple rules.
709
+ * Create or update multiple rules. If a rule with the specified object ID doesn\'t exist, Algolia creates a new one. Otherwise, existing rules are replaced.
710
+ *
711
+ * Required API Key ACLs:
712
+ * - editSettings.
610
713
  *
611
- * @summary Save a batch of rules.
612
714
  * @param saveRules - The saveRules object.
613
- * @param saveRules.indexName - Index on which to perform the request.
715
+ * @param saveRules.indexName - Name of the index on which to perform the operation.
614
716
  * @param saveRules.rules - The rules object.
615
- * @param saveRules.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
616
- * @param saveRules.clearExistingRules - Indicates whether existing rules should be deleted before adding this batch.
717
+ * @param saveRules.forwardToReplicas - Whether changes are applied to replica indices.
718
+ * @param saveRules.clearExistingRules - Whether existing rules should be deleted before adding this batch.
617
719
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
618
720
  */
619
721
  saveRules({ indexName, rules, forwardToReplicas, clearExistingRules, }: SaveRulesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
620
722
  /**
621
- * 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).
723
+ * If a synonym with the specified object ID doesn\'t exist, Algolia adds a new one. Otherwise, the existing synonym is replaced. To add multiple synonyms in a single API request, use the [`batch` operation](#tag/Synonyms/operation/saveSynonyms).
724
+ *
725
+ * Required API Key ACLs:
726
+ * - editSettings.
622
727
  *
623
- * @summary Save a synonym.
624
728
  * @param saveSynonym - The saveSynonym object.
625
- * @param saveSynonym.indexName - Index on which to perform the request.
729
+ * @param saveSynonym.indexName - Name of the index on which to perform the operation.
626
730
  * @param saveSynonym.objectID - Unique identifier of a synonym object.
627
731
  * @param saveSynonym.synonymHit - The synonymHit object.
628
- * @param saveSynonym.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
732
+ * @param saveSynonym.forwardToReplicas - Whether changes are applied to replica indices.
629
733
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
630
734
  */
631
735
  saveSynonym({ indexName, objectID, synonymHit, forwardToReplicas }: SaveSynonymProps, requestOptions?: RequestOptions): Promise<SaveSynonymResponse>;
632
736
  /**
633
- * Create or update multiple synonyms.
737
+ * If a synonym with the `objectID` doesn\'t exist, Algolia adds a new one. Otherwise, existing synonyms are replaced.
738
+ *
739
+ * Required API Key ACLs:
740
+ * - editSettings.
634
741
  *
635
- * @summary Save a batch of synonyms.
636
742
  * @param saveSynonyms - The saveSynonyms object.
637
- * @param saveSynonyms.indexName - Index on which to perform the request.
743
+ * @param saveSynonyms.indexName - Name of the index on which to perform the operation.
638
744
  * @param saveSynonyms.synonymHit - The synonymHit object.
639
- * @param saveSynonyms.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
640
- * @param saveSynonyms.replaceExistingSynonyms - Indicates whether to replace all synonyms in the index with the ones sent with this request.
745
+ * @param saveSynonyms.forwardToReplicas - Whether changes are applied to replica indices.
746
+ * @param saveSynonyms.replaceExistingSynonyms - Whether to replace all synonyms in the index with the ones sent with this request.
641
747
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
642
748
  */
643
749
  saveSynonyms({ indexName, synonymHit, forwardToReplicas, replaceExistingSynonyms, }: SaveSynonymsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
644
750
  /**
645
- * Send multiple search queries to one or more indices.
751
+ * Sends multiple search request to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters.
646
752
  *
647
- * @summary Search multiple indices.
648
- * @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
753
+ * Required API Key ACLs:
754
+ * - search.
755
+ *
756
+ * @param searchMethodParams - Muli-search request body. Results are returned in the same order as the requests.
649
757
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
650
758
  */
651
759
  search<T_4>(searchMethodParams: LegacySearchMethodProps | SearchMethodParams, requestOptions?: RequestOptions): Promise<SearchResponses<T_4>>;
652
760
  /**
653
- * 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.
761
+ * Searches for standard and custom dictionary entries.
762
+ *
763
+ * Required API Key ACLs:
764
+ * - settings.
654
765
  *
655
- * @summary Search dictionary entries.
656
766
  * @param searchDictionaryEntries - The searchDictionaryEntries object.
657
- * @param searchDictionaryEntries.dictionaryName - Dictionary to search in.
767
+ * @param searchDictionaryEntries.dictionaryName - Dictionary type in which to search.
658
768
  * @param searchDictionaryEntries.searchDictionaryEntriesParams - The searchDictionaryEntriesParams object.
659
769
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
660
770
  */
661
- searchDictionaryEntries({ dictionaryName, searchDictionaryEntriesParams, }: SearchDictionaryEntriesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
771
+ searchDictionaryEntries({ dictionaryName, searchDictionaryEntriesParams, }: SearchDictionaryEntriesProps, requestOptions?: RequestOptions): Promise<SearchDictionaryEntriesResponse>;
662
772
  /**
663
- * [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`.
773
+ * Searches for values of a specified facet attribute. - By default, facet values are sorted by decreasing count. You can adjust this with the `sortFacetValueBy` parameter. - Searching for facet values doesn\'t work if you have **more than 65 searchable facets and searchable attributes combined**.
774
+ *
775
+ * Required API Key ACLs:
776
+ * - search.
664
777
  *
665
- * @summary Search for facet values.
666
778
  * @param searchForFacetValues - The searchForFacetValues object.
667
- * @param searchForFacetValues.indexName - Index on which to perform the request.
668
- * @param searchForFacetValues.facetName - Facet name.
779
+ * @param searchForFacetValues.indexName - Name of the index on which to perform the operation.
780
+ * @param searchForFacetValues.facetName - Facet attribute in which to search for values. This attribute must be included in the `attributesForFaceting` index setting with the `searchable()` modifier.
669
781
  * @param searchForFacetValues.searchForFacetValuesRequest - The searchForFacetValuesRequest object.
670
782
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
671
783
  */
672
784
  searchForFacetValues({ indexName, facetName, searchForFacetValuesRequest, }: SearchForFacetValuesProps, requestOptions?: RequestOptions): Promise<SearchForFacetValuesResponse>;
673
785
  /**
674
- * Search for rules in your index. You can control the search with parameters. To list all rules, send an empty request body.
786
+ * Searches for rules in your index.
787
+ *
788
+ * Required API Key ACLs:
789
+ * - settings.
675
790
  *
676
- * @summary Search for rules.
677
791
  * @param searchRules - The searchRules object.
678
- * @param searchRules.indexName - Index on which to perform the request.
792
+ * @param searchRules.indexName - Name of the index on which to perform the operation.
679
793
  * @param searchRules.searchRulesParams - The searchRulesParams object.
680
794
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
681
795
  */
682
796
  searchRules({ indexName, searchRulesParams }: SearchRulesProps, requestOptions?: RequestOptions): Promise<SearchRulesResponse>;
683
797
  /**
684
- * Return records that match the query.
798
+ * Searches a single index and return matching search results (_hits_). This method lets you retrieve up to 1,000 hits. If you need more, use the [`browse` operation](#tag/Search/operation/browse) or increase the `paginatedLimitedTo` index setting.
799
+ *
800
+ * Required API Key ACLs:
801
+ * - search.
685
802
  *
686
- * @summary Search an index.
687
803
  * @param searchSingleIndex - The searchSingleIndex object.
688
- * @param searchSingleIndex.indexName - Index on which to perform the request.
804
+ * @param searchSingleIndex.indexName - Name of the index on which to perform the operation.
689
805
  * @param searchSingleIndex.searchParams - The searchParams object.
690
806
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
691
807
  */
692
808
  searchSingleIndex<T_5>({ indexName, searchParams }: SearchSingleIndexProps, requestOptions?: RequestOptions): Promise<SearchResponse<T_5>>;
693
809
  /**
694
- * Search for synonyms in your index. You can control and filter the search with parameters. To get all synonyms, send an empty request body.
810
+ * Searches for synonyms in your index.
811
+ *
812
+ * Required API Key ACLs:
813
+ * - settings.
695
814
  *
696
- * @summary Search for synonyms.
697
815
  * @param searchSynonyms - The searchSynonyms object.
698
- * @param searchSynonyms.indexName - Index on which to perform the request.
816
+ * @param searchSynonyms.indexName - Name of the index on which to perform the operation.
699
817
  * @param searchSynonyms.searchSynonymsParams - Body of the `searchSynonyms` operation.
700
818
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
701
819
  */
702
820
  searchSynonyms({ indexName, searchSynonymsParams }: SearchSynonymsProps, requestOptions?: RequestOptions): Promise<SearchSynonymsResponse>;
703
821
  /**
704
- * 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).
822
+ * Since it can take 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).
823
+ *
824
+ * Required API Key ACLs:
825
+ * - admin.
705
826
  *
706
- * @summary Search for a user ID.
707
827
  * @param searchUserIdsParams - The searchUserIdsParams object.
708
828
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
709
829
  */
710
830
  searchUserIds(searchUserIdsParams: SearchUserIdsParams, requestOptions?: RequestOptions): Promise<SearchUserIdsResponse>;
711
831
  /**
712
- * Set stop word settings for a specific language.
832
+ * Turns standard stop word dictionary entries on or off for a given language.
833
+ *
834
+ * Required API Key ACLs:
835
+ * - editSettings.
713
836
  *
714
- * @summary Set stop word settings.
715
837
  * @param dictionarySettingsParams - The dictionarySettingsParams object.
716
838
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
717
839
  */
718
840
  setDictionarySettings(dictionarySettingsParams: DictionarySettingsParams, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
719
841
  /**
720
- * 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.
842
+ * Update the specified index settings. Index settings that you don\'t specify are left unchanged. Specify `null` to reset a setting to its default value. For best performance, update the index settings before you add new records to your index.
843
+ *
844
+ * Required API Key ACLs:
845
+ * - editSettings.
721
846
  *
722
- * @summary Update index settings.
723
847
  * @param setSettings - The setSettings object.
724
- * @param setSettings.indexName - Index on which to perform the request.
848
+ * @param setSettings.indexName - Name of the index on which to perform the operation.
725
849
  * @param setSettings.indexSettings - The indexSettings object.
726
- * @param setSettings.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
850
+ * @param setSettings.forwardToReplicas - Whether changes are applied to replica indices.
727
851
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
728
852
  */
729
853
  setSettings({ indexName, indexSettings, forwardToReplicas }: SetSettingsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
730
854
  /**
731
- * 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.
855
+ * Replaces the permissions of an existing API key. Any unspecified attribute resets that attribute to its default value.
856
+ *
857
+ * Required API Key ACLs:
858
+ * - admin.
732
859
  *
733
- * @summary Update an API key.
734
860
  * @param updateApiKey - The updateApiKey object.
735
861
  * @param updateApiKey.key - API key.
736
862
  * @param updateApiKey.apiKey - The apiKey object.
@@ -738,8 +864,4 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
738
864
  */
739
865
  updateApiKey({ key, apiKey }: UpdateApiKeyProps, requestOptions?: RequestOptions): Promise<UpdateApiKeyResponse>;
740
866
  };
741
- /**
742
- * The client type.
743
- */
744
- export type SearchClient = ReturnType<typeof createSearchClient>;
745
867
  //# sourceMappingURL=searchClient.d.ts.map