@algolia/client-search 5.0.0-alpha.8 → 5.0.0-alpha.81

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 (502) hide show
  1. package/dist/builds/browser.d.ts +5 -5
  2. package/dist/builds/node.d.ts +5 -5
  3. package/dist/{client-search.cjs.js → client-search.cjs} +2001 -1991
  4. package/dist/client-search.esm.browser.js +2193 -2235
  5. package/dist/client-search.esm.node.js +2001 -1989
  6. package/dist/client-search.umd.js +2 -2
  7. package/dist/model/acl.d.ts +4 -4
  8. package/dist/model/acl.d.ts.map +1 -1
  9. package/dist/model/action.d.ts +4 -4
  10. package/dist/model/action.d.ts.map +1 -1
  11. package/dist/model/addApiKeyResponse.d.ts +10 -10
  12. package/dist/model/addApiKeyResponse.d.ts.map +1 -1
  13. package/dist/model/advancedSyntaxFeatures.d.ts +1 -1
  14. package/dist/model/advancedSyntaxFeatures.d.ts.map +1 -1
  15. package/dist/model/alternativesAsExact.d.ts +1 -1
  16. package/dist/model/alternativesAsExact.d.ts.map +1 -1
  17. package/dist/model/anchoring.d.ts +4 -4
  18. package/dist/model/anchoring.d.ts.map +1 -1
  19. package/dist/model/apiKey.d.ts +38 -38
  20. package/dist/model/apiKey.d.ts.map +1 -1
  21. package/dist/model/aroundPrecision.d.ts +6 -0
  22. package/dist/model/aroundPrecision.d.ts.map +1 -0
  23. package/dist/model/aroundPrecisionFromValueInner.d.ts +5 -0
  24. package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -0
  25. package/dist/model/aroundRadius.d.ts +5 -5
  26. package/dist/model/aroundRadius.d.ts.map +1 -1
  27. package/dist/model/aroundRadiusAll.d.ts +1 -1
  28. package/dist/model/aroundRadiusAll.d.ts.map +1 -1
  29. package/dist/model/assignUserIdParams.d.ts +9 -9
  30. package/dist/model/assignUserIdParams.d.ts.map +1 -1
  31. package/dist/model/attributeToUpdate.d.ts +2 -2
  32. package/dist/model/attributeToUpdate.d.ts.map +1 -1
  33. package/dist/model/automaticFacetFilter.d.ts +17 -17
  34. package/dist/model/automaticFacetFilter.d.ts.map +1 -1
  35. package/dist/model/automaticFacetFilters.d.ts +5 -5
  36. package/dist/model/automaticFacetFilters.d.ts.map +1 -1
  37. package/dist/model/baseGetApiKeyResponse.d.ts +10 -10
  38. package/dist/model/baseGetApiKeyResponse.d.ts.map +1 -1
  39. package/dist/model/baseIndexSettings.d.ts +62 -58
  40. package/dist/model/baseIndexSettings.d.ts.map +1 -1
  41. package/dist/model/baseSearchParams.d.ts +3 -3
  42. package/dist/model/baseSearchParams.d.ts.map +1 -1
  43. package/dist/model/baseSearchParamsWithoutQuery.d.ts +118 -122
  44. package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  45. package/dist/model/baseSearchResponse.d.ts +95 -101
  46. package/dist/model/baseSearchResponse.d.ts.map +1 -1
  47. package/dist/model/baseSearchResponseRedirect.d.ts +8 -0
  48. package/dist/model/baseSearchResponseRedirect.d.ts.map +1 -0
  49. package/dist/model/batchAssignUserIdsParams.d.ts +13 -13
  50. package/dist/model/batchAssignUserIdsParams.d.ts.map +1 -1
  51. package/dist/model/batchDictionaryEntriesParams.d.ts +14 -14
  52. package/dist/model/batchDictionaryEntriesParams.d.ts.map +1 -1
  53. package/dist/model/batchDictionaryEntriesRequest.d.ts +6 -6
  54. package/dist/model/batchDictionaryEntriesRequest.d.ts.map +1 -1
  55. package/dist/model/batchParams.d.ts +7 -7
  56. package/dist/model/batchParams.d.ts.map +1 -1
  57. package/dist/model/batchRequest.d.ts +8 -8
  58. package/dist/model/batchRequest.d.ts.map +1 -1
  59. package/dist/model/batchResponse.d.ts +10 -10
  60. package/dist/model/batchResponse.d.ts.map +1 -1
  61. package/dist/model/batchWriteParams.d.ts +7 -7
  62. package/dist/model/batchWriteParams.d.ts.map +1 -1
  63. package/dist/model/browseParams.d.ts +3 -3
  64. package/dist/model/browseParams.d.ts.map +1 -1
  65. package/dist/model/browseParamsObject.d.ts +3 -3
  66. package/dist/model/browseParamsObject.d.ts.map +1 -1
  67. package/dist/model/browseResponse.d.ts +4 -4
  68. package/dist/model/browseResponse.d.ts.map +1 -1
  69. package/dist/model/builtInOperation.d.ts +11 -11
  70. package/dist/model/builtInOperation.d.ts.map +1 -1
  71. package/dist/model/builtInOperationType.d.ts +4 -4
  72. package/dist/model/builtInOperationType.d.ts.map +1 -1
  73. package/dist/model/clientMethodProps.d.ts +719 -714
  74. package/dist/model/clientMethodProps.d.ts.map +1 -1
  75. package/dist/model/condition.d.ts +16 -16
  76. package/dist/model/condition.d.ts.map +1 -1
  77. package/dist/model/consequence.d.ts +25 -25
  78. package/dist/model/consequence.d.ts.map +1 -1
  79. package/dist/model/consequenceHide.d.ts +9 -9
  80. package/dist/model/consequenceHide.d.ts.map +1 -1
  81. package/dist/model/consequenceParams.d.ts +4 -4
  82. package/dist/model/consequenceParams.d.ts.map +1 -1
  83. package/dist/model/consequenceQuery.d.ts +5 -5
  84. package/dist/model/consequenceQuery.d.ts.map +1 -1
  85. package/dist/model/consequenceQueryObject.d.ts +11 -11
  86. package/dist/model/consequenceQueryObject.d.ts.map +1 -1
  87. package/dist/model/createdAtResponse.d.ts +9 -9
  88. package/dist/model/createdAtResponse.d.ts.map +1 -1
  89. package/dist/model/cursor.d.ts +6 -6
  90. package/dist/model/cursor.d.ts.map +1 -1
  91. package/dist/model/deleteApiKeyResponse.d.ts +6 -6
  92. package/dist/model/deleteApiKeyResponse.d.ts.map +1 -1
  93. package/dist/model/deleteByParams.d.ts +27 -0
  94. package/dist/model/deleteByParams.d.ts.map +1 -0
  95. package/dist/model/deleteSourceResponse.d.ts +6 -6
  96. package/dist/model/deleteSourceResponse.d.ts.map +1 -1
  97. package/dist/model/deletedAtResponse.d.ts +13 -13
  98. package/dist/model/deletedAtResponse.d.ts.map +1 -1
  99. package/dist/model/dictionaryAction.d.ts +4 -4
  100. package/dist/model/dictionaryAction.d.ts.map +1 -1
  101. package/dist/model/dictionaryEntry.d.ts +27 -27
  102. package/dist/model/dictionaryEntry.d.ts.map +1 -1
  103. package/dist/model/dictionaryEntryState.d.ts +4 -4
  104. package/dist/model/dictionaryEntryState.d.ts.map +1 -1
  105. package/dist/model/dictionaryLanguage.d.ts +9 -9
  106. package/dist/model/dictionaryLanguage.d.ts.map +1 -1
  107. package/dist/model/dictionarySettingsParams.d.ts +7 -7
  108. package/dist/model/dictionarySettingsParams.d.ts.map +1 -1
  109. package/dist/model/dictionaryType.d.ts +1 -1
  110. package/dist/model/dictionaryType.d.ts.map +1 -1
  111. package/dist/model/distinct.d.ts +4 -4
  112. package/dist/model/distinct.d.ts.map +1 -1
  113. package/dist/model/edit.d.ts +12 -12
  114. package/dist/model/edit.d.ts.map +1 -1
  115. package/dist/model/editType.d.ts +4 -4
  116. package/dist/model/editType.d.ts.map +1 -1
  117. package/dist/model/errorBase.d.ts +6 -6
  118. package/dist/model/errorBase.d.ts.map +1 -1
  119. package/dist/model/exactOnSingleWordQuery.d.ts +4 -4
  120. package/dist/model/exactOnSingleWordQuery.d.ts.map +1 -1
  121. package/dist/model/facetFilters.d.ts +5 -5
  122. package/dist/model/facetFilters.d.ts.map +1 -1
  123. package/dist/model/facetHits.d.ts +14 -14
  124. package/dist/model/facetHits.d.ts.map +1 -1
  125. package/dist/model/facetOrdering.d.ts +12 -12
  126. package/dist/model/facetOrdering.d.ts.map +1 -1
  127. package/dist/model/facets.d.ts +9 -9
  128. package/dist/model/facets.d.ts.map +1 -1
  129. package/dist/model/facetsStats.d.ts +18 -18
  130. package/dist/model/facetsStats.d.ts.map +1 -1
  131. package/dist/model/fetchedIndex.d.ts +46 -46
  132. package/dist/model/fetchedIndex.d.ts.map +1 -1
  133. package/dist/model/getApiKeyResponse.d.ts +3 -3
  134. package/dist/model/getApiKeyResponse.d.ts.map +1 -1
  135. package/dist/model/getDictionarySettingsResponse.d.ts +4 -4
  136. package/dist/model/getDictionarySettingsResponse.d.ts.map +1 -1
  137. package/dist/model/getLogsResponse.d.ts +4 -4
  138. package/dist/model/getLogsResponse.d.ts.map +1 -1
  139. package/dist/model/getObjectsParams.d.ts +7 -7
  140. package/dist/model/getObjectsParams.d.ts.map +1 -1
  141. package/dist/model/getObjectsRequest.d.ts +17 -17
  142. package/dist/model/getObjectsRequest.d.ts.map +1 -1
  143. package/dist/model/getObjectsResponse.d.ts +6 -6
  144. package/dist/model/getObjectsResponse.d.ts.map +1 -1
  145. package/dist/model/getTaskResponse.d.ts +4 -4
  146. package/dist/model/getTaskResponse.d.ts.map +1 -1
  147. package/dist/model/getTopUserIdsResponse.d.ts +10 -10
  148. package/dist/model/getTopUserIdsResponse.d.ts.map +1 -1
  149. package/dist/model/hasPendingMappingsResponse.d.ts +10 -10
  150. package/dist/model/hasPendingMappingsResponse.d.ts.map +1 -1
  151. package/dist/model/highlightResult.d.ts +2 -2
  152. package/dist/model/highlightResult.d.ts.map +1 -1
  153. package/dist/model/highlightResultOption.d.ts +19 -19
  154. package/dist/model/highlightResultOption.d.ts.map +1 -1
  155. package/dist/model/hit.d.ts +22 -22
  156. package/dist/model/hit.d.ts.map +1 -1
  157. package/dist/model/ignorePlurals.d.ts +4 -4
  158. package/dist/model/ignorePlurals.d.ts.map +1 -1
  159. package/dist/model/index.d.ts +162 -154
  160. package/dist/model/index.d.ts.map +1 -1
  161. package/dist/model/indexSettings.d.ts +6 -6
  162. package/dist/model/indexSettings.d.ts.map +1 -1
  163. package/dist/model/indexSettingsAsSearchParams.d.ts +166 -160
  164. package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  165. package/dist/model/languages.d.ts +9 -9
  166. package/dist/model/languages.d.ts.map +1 -1
  167. package/dist/model/listApiKeysResponse.d.ts +7 -7
  168. package/dist/model/listApiKeysResponse.d.ts.map +1 -1
  169. package/dist/model/listClustersResponse.d.ts +9 -9
  170. package/dist/model/listClustersResponse.d.ts.map +1 -1
  171. package/dist/model/listIndicesResponse.d.ts +11 -11
  172. package/dist/model/listIndicesResponse.d.ts.map +1 -1
  173. package/dist/model/listUserIdsResponse.d.ts +10 -10
  174. package/dist/model/listUserIdsResponse.d.ts.map +1 -1
  175. package/dist/model/log.d.ts +63 -63
  176. package/dist/model/log.d.ts.map +1 -1
  177. package/dist/model/logQuery.d.ts +14 -14
  178. package/dist/model/logQuery.d.ts.map +1 -1
  179. package/dist/model/logType.d.ts +1 -1
  180. package/dist/model/logType.d.ts.map +1 -1
  181. package/dist/model/matchLevel.d.ts +4 -4
  182. package/dist/model/matchLevel.d.ts.map +1 -1
  183. package/dist/model/matchedGeoLocation.d.ts +14 -14
  184. package/dist/model/matchedGeoLocation.d.ts.map +1 -1
  185. package/dist/model/mixedSearchFilters.d.ts +1 -1
  186. package/dist/model/mixedSearchFilters.d.ts.map +1 -1
  187. package/dist/model/mode.d.ts +5 -0
  188. package/dist/model/mode.d.ts.map +1 -0
  189. package/dist/model/multipleBatchRequest.d.ts +12 -12
  190. package/dist/model/multipleBatchRequest.d.ts.map +1 -1
  191. package/dist/model/multipleBatchResponse.d.ts +10 -10
  192. package/dist/model/multipleBatchResponse.d.ts.map +1 -1
  193. package/dist/model/numericFilters.d.ts +5 -5
  194. package/dist/model/numericFilters.d.ts.map +1 -1
  195. package/dist/model/operationIndexParams.d.ts +13 -13
  196. package/dist/model/operationIndexParams.d.ts.map +1 -1
  197. package/dist/model/operationType.d.ts +4 -4
  198. package/dist/model/operationType.d.ts.map +1 -1
  199. package/dist/model/optionalFilters.d.ts +5 -5
  200. package/dist/model/optionalFilters.d.ts.map +1 -1
  201. package/dist/model/params.d.ts +12 -12
  202. package/dist/model/params.d.ts.map +1 -1
  203. package/dist/model/personalization.d.ts +14 -14
  204. package/dist/model/personalization.d.ts.map +1 -1
  205. package/dist/model/promote.d.ts +3 -3
  206. package/dist/model/promote.d.ts.map +1 -1
  207. package/dist/model/promoteObjectID.d.ts +13 -13
  208. package/dist/model/promoteObjectID.d.ts.map +1 -1
  209. package/dist/model/promoteObjectIDs.d.ts +13 -13
  210. package/dist/model/promoteObjectIDs.d.ts.map +1 -1
  211. package/dist/model/queryType.d.ts +4 -4
  212. package/dist/model/queryType.d.ts.map +1 -1
  213. package/dist/model/rankingInfo.d.ts +50 -50
  214. package/dist/model/rankingInfo.d.ts.map +1 -1
  215. package/dist/model/reRankingApplyFilter.d.ts +5 -5
  216. package/dist/model/reRankingApplyFilter.d.ts.map +1 -1
  217. package/dist/model/redirectRuleIndexMetadata.d.ts +21 -0
  218. package/dist/model/redirectRuleIndexMetadata.d.ts.map +1 -0
  219. package/dist/model/redirectRuleIndexMetadataData.d.ts +7 -0
  220. package/dist/model/redirectRuleIndexMetadataData.d.ts.map +1 -0
  221. package/dist/model/removeStopWords.d.ts +4 -4
  222. package/dist/model/removeStopWords.d.ts.map +1 -1
  223. package/dist/model/removeUserIdResponse.d.ts +6 -6
  224. package/dist/model/removeUserIdResponse.d.ts.map +1 -1
  225. package/dist/model/removeWordsIfNoResults.d.ts +4 -4
  226. package/dist/model/removeWordsIfNoResults.d.ts.map +1 -1
  227. package/dist/model/renderingContent.d.ts +7 -7
  228. package/dist/model/renderingContent.d.ts.map +1 -1
  229. package/dist/model/replaceSourceResponse.d.ts +6 -6
  230. package/dist/model/replaceSourceResponse.d.ts.map +1 -1
  231. package/dist/model/rule.d.ts +29 -29
  232. package/dist/model/rule.d.ts.map +1 -1
  233. package/dist/model/saveObjectResponse.d.ts +14 -11
  234. package/dist/model/saveObjectResponse.d.ts.map +1 -1
  235. package/dist/model/saveSynonymResponse.d.ts +14 -14
  236. package/dist/model/saveSynonymResponse.d.ts.map +1 -1
  237. package/dist/model/scopeType.d.ts +1 -1
  238. package/dist/model/scopeType.d.ts.map +1 -1
  239. package/dist/model/searchDictionaryEntriesParams.d.ts +21 -21
  240. package/dist/model/searchDictionaryEntriesParams.d.ts.map +1 -1
  241. package/dist/model/searchForFacetValuesRequest.d.ts +14 -14
  242. package/dist/model/searchForFacetValuesRequest.d.ts.map +1 -1
  243. package/dist/model/searchForFacetValuesResponse.d.ts +4 -4
  244. package/dist/model/searchForFacetValuesResponse.d.ts.map +1 -1
  245. package/dist/model/searchForFacets.d.ts +3 -3
  246. package/dist/model/searchForFacets.d.ts.map +1 -1
  247. package/dist/model/searchForFacetsOptions.d.ts +20 -20
  248. package/dist/model/searchForFacetsOptions.d.ts.map +1 -1
  249. package/dist/model/searchForHits.d.ts +3 -3
  250. package/dist/model/searchForHits.d.ts.map +1 -1
  251. package/dist/model/searchForHitsOptions.d.ts +12 -12
  252. package/dist/model/searchForHitsOptions.d.ts.map +1 -1
  253. package/dist/model/searchHits.d.ts +12 -4
  254. package/dist/model/searchHits.d.ts.map +1 -1
  255. package/dist/model/searchMethodParams.d.ts +6 -6
  256. package/dist/model/searchMethodParams.d.ts.map +1 -1
  257. package/dist/model/searchParams.d.ts +3 -3
  258. package/dist/model/searchParams.d.ts.map +1 -1
  259. package/dist/model/searchParamsObject.d.ts +3 -3
  260. package/dist/model/searchParamsObject.d.ts.map +1 -1
  261. package/dist/model/searchParamsQuery.d.ts +6 -6
  262. package/dist/model/searchParamsQuery.d.ts.map +1 -1
  263. package/dist/model/searchParamsString.d.ts +6 -6
  264. package/dist/model/searchParamsString.d.ts.map +1 -1
  265. package/dist/model/searchQuery.d.ts +3 -3
  266. package/dist/model/searchQuery.d.ts.map +1 -1
  267. package/dist/model/searchResponse.d.ts +3 -3
  268. package/dist/model/searchResponse.d.ts.map +1 -1
  269. package/dist/model/searchResponses.d.ts +4 -4
  270. package/dist/model/searchResponses.d.ts.map +1 -1
  271. package/dist/model/searchResult.d.ts +4 -0
  272. package/dist/model/searchResult.d.ts.map +1 -0
  273. package/dist/model/searchRulesParams.d.ts +31 -31
  274. package/dist/model/searchRulesParams.d.ts.map +1 -1
  275. package/dist/model/searchRulesResponse.d.ts +19 -19
  276. package/dist/model/searchRulesResponse.d.ts.map +1 -1
  277. package/dist/model/searchStrategy.d.ts +4 -1
  278. package/dist/model/searchStrategy.d.ts.map +1 -1
  279. package/dist/model/searchSynonymsParams.d.ts +6 -6
  280. package/dist/model/searchSynonymsParams.d.ts.map +1 -1
  281. package/dist/model/searchSynonymsResponse.d.ts +11 -11
  282. package/dist/model/searchSynonymsResponse.d.ts.map +1 -1
  283. package/dist/model/searchTypeDefault.d.ts +4 -4
  284. package/dist/model/searchTypeDefault.d.ts.map +1 -1
  285. package/dist/model/searchTypeFacet.d.ts +4 -4
  286. package/dist/model/searchTypeFacet.d.ts.map +1 -1
  287. package/dist/model/searchUserIdsParams.d.ts +21 -21
  288. package/dist/model/searchUserIdsParams.d.ts.map +1 -1
  289. package/dist/model/searchUserIdsResponse.d.ts +26 -26
  290. package/dist/model/searchUserIdsResponse.d.ts.map +1 -1
  291. package/dist/model/semanticSearch.d.ts +10 -0
  292. package/dist/model/semanticSearch.d.ts.map +1 -0
  293. package/dist/model/snippetResult.d.ts +2 -2
  294. package/dist/model/snippetResult.d.ts.map +1 -1
  295. package/dist/model/snippetResultOption.d.ts +11 -11
  296. package/dist/model/snippetResultOption.d.ts.map +1 -1
  297. package/dist/model/sortRemainingBy.d.ts +4 -4
  298. package/dist/model/sortRemainingBy.d.ts.map +1 -1
  299. package/dist/model/source.d.ts +13 -13
  300. package/dist/model/source.d.ts.map +1 -1
  301. package/dist/model/standardEntries.d.ts +17 -17
  302. package/dist/model/standardEntries.d.ts.map +1 -1
  303. package/dist/model/synonymHit.d.ts +35 -37
  304. package/dist/model/synonymHit.d.ts.map +1 -1
  305. package/dist/model/synonymType.d.ts +4 -4
  306. package/dist/model/synonymType.d.ts.map +1 -1
  307. package/dist/model/tagFilters.d.ts +5 -5
  308. package/dist/model/tagFilters.d.ts.map +1 -1
  309. package/dist/model/taskStatus.d.ts +4 -1
  310. package/dist/model/taskStatus.d.ts.map +1 -1
  311. package/dist/model/timeRange.d.ts +10 -10
  312. package/dist/model/timeRange.d.ts.map +1 -1
  313. package/dist/model/typoTolerance.d.ts +5 -5
  314. package/dist/model/typoTolerance.d.ts.map +1 -1
  315. package/dist/model/typoToleranceEnum.d.ts +1 -1
  316. package/dist/model/typoToleranceEnum.d.ts.map +1 -1
  317. package/dist/model/updateApiKeyResponse.d.ts +10 -10
  318. package/dist/model/updateApiKeyResponse.d.ts.map +1 -1
  319. package/dist/model/updatedAtResponse.d.ts +13 -13
  320. package/dist/model/updatedAtResponse.d.ts.map +1 -1
  321. package/dist/model/updatedAtWithObjectIdResponse.d.ts +17 -17
  322. package/dist/model/updatedAtWithObjectIdResponse.d.ts.map +1 -1
  323. package/dist/model/updatedRuleResponse.d.ts +14 -14
  324. package/dist/model/updatedRuleResponse.d.ts.map +1 -1
  325. package/dist/model/userHighlightResult.d.ts +11 -11
  326. package/dist/model/userHighlightResult.d.ts.map +1 -1
  327. package/dist/model/userHit.d.ts +24 -24
  328. package/dist/model/userHit.d.ts.map +1 -1
  329. package/dist/model/userId.d.ts +21 -21
  330. package/dist/model/userId.d.ts.map +1 -1
  331. package/dist/model/value.d.ts +8 -8
  332. package/dist/model/value.d.ts.map +1 -1
  333. package/dist/src/searchClient.d.ts +724 -723
  334. package/dist/src/searchClient.d.ts.map +1 -1
  335. package/index.js +1 -1
  336. package/model/acl.ts +3 -2
  337. package/model/action.ts +2 -2
  338. package/model/addApiKeyResponse.ts +3 -3
  339. package/model/advancedSyntaxFeatures.ts +1 -1
  340. package/model/alternativesAsExact.ts +1 -1
  341. package/model/anchoring.ts +2 -2
  342. package/model/apiKey.ts +10 -10
  343. package/model/aroundPrecision.ts +8 -0
  344. package/model/aroundPrecisionFromValueInner.ts +7 -0
  345. package/model/aroundRadius.ts +2 -2
  346. package/model/aroundRadiusAll.ts +1 -1
  347. package/model/assignUserIdParams.ts +2 -2
  348. package/model/attributeToUpdate.ts +1 -1
  349. package/model/automaticFacetFilter.ts +1 -1
  350. package/model/automaticFacetFilters.ts +1 -1
  351. package/model/baseGetApiKeyResponse.ts +3 -3
  352. package/model/baseIndexSettings.ts +19 -14
  353. package/model/baseSearchParams.ts +1 -1
  354. package/model/baseSearchParamsWithoutQuery.ts +38 -43
  355. package/model/baseSearchResponse.ts +21 -28
  356. package/model/baseSearchResponseRedirect.ts +10 -0
  357. package/model/batchAssignUserIdsParams.ts +3 -3
  358. package/model/batchDictionaryEntriesParams.ts +4 -4
  359. package/model/batchDictionaryEntriesRequest.ts +1 -1
  360. package/model/batchParams.ts +2 -2
  361. package/model/batchRequest.ts +2 -2
  362. package/model/batchResponse.ts +3 -3
  363. package/model/batchWriteParams.ts +2 -2
  364. package/model/browseParams.ts +1 -1
  365. package/model/browseParamsObject.ts +1 -1
  366. package/model/browseResponse.ts +1 -1
  367. package/model/builtInOperation.ts +2 -2
  368. package/model/builtInOperationType.ts +2 -2
  369. package/model/clientMethodProps.ts +91 -86
  370. package/model/condition.ts +1 -1
  371. package/model/consequence.ts +5 -5
  372. package/model/consequenceHide.ts +3 -3
  373. package/model/consequenceParams.ts +1 -1
  374. package/model/consequenceQuery.ts +1 -1
  375. package/model/consequenceQueryObject.ts +1 -1
  376. package/model/createdAtResponse.ts +3 -3
  377. package/model/cursor.ts +2 -2
  378. package/model/deleteApiKeyResponse.ts +2 -2
  379. package/model/deleteByParams.ts +36 -0
  380. package/model/deleteSourceResponse.ts +2 -2
  381. package/model/deletedAtResponse.ts +4 -4
  382. package/model/dictionaryAction.ts +1 -1
  383. package/model/dictionaryEntry.ts +7 -7
  384. package/model/dictionaryEntryState.ts +2 -2
  385. package/model/dictionaryLanguage.ts +3 -3
  386. package/model/dictionarySettingsParams.ts +2 -2
  387. package/model/dictionaryType.ts +1 -1
  388. package/model/distinct.ts +2 -2
  389. package/model/edit.ts +1 -1
  390. package/model/editType.ts +1 -1
  391. package/model/errorBase.ts +1 -1
  392. package/model/exactOnSingleWordQuery.ts +2 -2
  393. package/model/facetFilters.ts +2 -2
  394. package/model/facetHits.ts +4 -4
  395. package/model/facetOrdering.ts +3 -3
  396. package/model/facets.ts +2 -2
  397. package/model/facetsStats.ts +5 -5
  398. package/model/fetchedIndex.ts +3 -3
  399. package/model/getApiKeyResponse.ts +1 -1
  400. package/model/getDictionarySettingsResponse.ts +1 -1
  401. package/model/getLogsResponse.ts +1 -1
  402. package/model/getObjectsParams.ts +2 -2
  403. package/model/getObjectsRequest.ts +5 -5
  404. package/model/getObjectsResponse.ts +2 -2
  405. package/model/getTaskResponse.ts +1 -1
  406. package/model/getTopUserIdsResponse.ts +3 -3
  407. package/model/hasPendingMappingsResponse.ts +3 -3
  408. package/model/highlightResult.ts +1 -1
  409. package/model/highlightResultOption.ts +2 -2
  410. package/model/hit.ts +2 -2
  411. package/model/ignorePlurals.ts +2 -2
  412. package/model/index.ts +10 -2
  413. package/model/indexSettings.ts +2 -2
  414. package/model/indexSettingsAsSearchParams.ts +53 -44
  415. package/model/languages.ts +2 -2
  416. package/model/listApiKeysResponse.ts +2 -2
  417. package/model/listClustersResponse.ts +3 -3
  418. package/model/listIndicesResponse.ts +2 -2
  419. package/model/listUserIdsResponse.ts +3 -3
  420. package/model/log.ts +8 -8
  421. package/model/logQuery.ts +2 -2
  422. package/model/logType.ts +1 -1
  423. package/model/matchLevel.ts +1 -1
  424. package/model/matchedGeoLocation.ts +1 -1
  425. package/model/mixedSearchFilters.ts +1 -1
  426. package/model/mode.ts +6 -0
  427. package/model/multipleBatchRequest.ts +2 -2
  428. package/model/multipleBatchResponse.ts +3 -3
  429. package/model/numericFilters.ts +2 -2
  430. package/model/operationIndexParams.ts +3 -3
  431. package/model/operationType.ts +2 -2
  432. package/model/optionalFilters.ts +2 -2
  433. package/model/params.ts +2 -2
  434. package/model/personalization.ts +1 -1
  435. package/model/promote.ts +1 -1
  436. package/model/promoteObjectID.ts +4 -4
  437. package/model/promoteObjectIDs.ts +4 -4
  438. package/model/queryType.ts +2 -2
  439. package/model/rankingInfo.ts +1 -1
  440. package/model/reRankingApplyFilter.ts +2 -2
  441. package/model/redirectRuleIndexMetadata.ts +27 -0
  442. package/model/redirectRuleIndexMetadataData.ts +8 -0
  443. package/model/removeStopWords.ts +2 -2
  444. package/model/removeUserIdResponse.ts +2 -2
  445. package/model/removeWordsIfNoResults.ts +2 -2
  446. package/model/renderingContent.ts +2 -2
  447. package/model/replaceSourceResponse.ts +2 -2
  448. package/model/rule.ts +6 -6
  449. package/model/saveObjectResponse.ts +6 -3
  450. package/model/saveSynonymResponse.ts +4 -4
  451. package/model/scopeType.ts +1 -1
  452. package/model/searchDictionaryEntriesParams.ts +6 -6
  453. package/model/searchForFacetValuesRequest.ts +3 -3
  454. package/model/searchForFacetValuesResponse.ts +1 -1
  455. package/model/searchForFacets.ts +1 -1
  456. package/model/searchForFacetsOptions.ts +4 -4
  457. package/model/searchForHits.ts +1 -1
  458. package/model/searchForHitsOptions.ts +2 -2
  459. package/model/searchHits.ts +11 -1
  460. package/model/searchMethodParams.ts +1 -1
  461. package/model/searchParams.ts +1 -1
  462. package/model/searchParamsObject.ts +1 -1
  463. package/model/searchParamsQuery.ts +2 -2
  464. package/model/searchParamsString.ts +2 -2
  465. package/model/searchQuery.ts +1 -1
  466. package/model/searchResponse.ts +1 -1
  467. package/model/searchResponses.ts +3 -3
  468. package/model/searchResult.ts +8 -0
  469. package/model/searchRulesParams.ts +9 -9
  470. package/model/searchRulesResponse.ts +1 -1
  471. package/model/searchStrategy.ts +4 -1
  472. package/model/searchSynonymsParams.ts +2 -2
  473. package/model/searchSynonymsResponse.ts +3 -3
  474. package/model/searchTypeDefault.ts +2 -2
  475. package/model/searchTypeFacet.ts +2 -2
  476. package/model/searchUserIdsParams.ts +5 -5
  477. package/model/searchUserIdsResponse.ts +6 -6
  478. package/model/semanticSearch.ts +11 -0
  479. package/model/snippetResult.ts +1 -1
  480. package/model/snippetResultOption.ts +2 -2
  481. package/model/sortRemainingBy.ts +2 -2
  482. package/model/source.ts +4 -4
  483. package/model/standardEntries.ts +5 -5
  484. package/model/synonymHit.ts +7 -10
  485. package/model/synonymType.ts +2 -2
  486. package/model/tagFilters.ts +2 -2
  487. package/model/taskStatus.ts +4 -1
  488. package/model/timeRange.ts +1 -1
  489. package/model/typoTolerance.ts +2 -2
  490. package/model/typoToleranceEnum.ts +1 -1
  491. package/model/updateApiKeyResponse.ts +3 -3
  492. package/model/updatedAtResponse.ts +4 -4
  493. package/model/updatedAtWithObjectIdResponse.ts +5 -5
  494. package/model/updatedRuleResponse.ts +4 -4
  495. package/model/userHighlightResult.ts +1 -1
  496. package/model/userHit.ts +2 -2
  497. package/model/userId.ts +3 -3
  498. package/model/value.ts +1 -1
  499. package/package.json +30 -13
  500. package/dist/model/synonymHitHighlightResult.d.ts +0 -12
  501. package/dist/model/synonymHitHighlightResult.d.ts.map +0 -1
  502. package/model/synonymHitHighlightResult.ts +0 -15
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { CreateIterablePromise } from '@algolia/client-common';
4
4
 
@@ -9,6 +9,7 @@ import type { BatchAssignUserIdsParams } from './batchAssignUserIdsParams';
9
9
  import type { BatchDictionaryEntriesParams } from './batchDictionaryEntriesParams';
10
10
  import type { BatchWriteParams } from './batchWriteParams';
11
11
  import type { BrowseParams } from './browseParams';
12
+ import type { DeleteByParams } from './deleteByParams';
12
13
  import type { DictionaryType } from './dictionaryType';
13
14
  import type { IndexSettings } from './indexSettings';
14
15
  import type { LogType } from './logType';
@@ -31,15 +32,15 @@ import type { SynonymType } from './synonymType';
31
32
  */
32
33
  export type AddOrUpdateObjectProps = {
33
34
  /**
34
- * The index in which to perform the request.
35
+ * Index on which to perform the request.
35
36
  */
36
37
  indexName: string;
37
38
  /**
38
- * Unique identifier of an object.
39
+ * Unique record (object) identifier.
39
40
  */
40
41
  objectID: string;
41
42
  /**
42
- * The Algolia object.
43
+ * Algolia record.
43
44
  */
44
45
  body: Record<string, any>;
45
46
  };
@@ -60,7 +61,7 @@ export type AssignUserIdProps = {
60
61
  */
61
62
  export type BatchProps = {
62
63
  /**
63
- * The index in which to perform the request.
64
+ * Index on which to perform the request.
64
65
  */
65
66
  indexName: string;
66
67
  batchWriteParams: BatchWriteParams;
@@ -82,7 +83,7 @@ export type BatchAssignUserIdsProps = {
82
83
  */
83
84
  export type BatchDictionaryEntriesProps = {
84
85
  /**
85
- * The dictionary to search in.
86
+ * Dictionary to search in.
86
87
  */
87
88
  dictionaryName: DictionaryType;
88
89
  batchDictionaryEntriesParams: BatchDictionaryEntriesParams;
@@ -93,7 +94,7 @@ export type BatchDictionaryEntriesProps = {
93
94
  */
94
95
  export type BrowseProps = {
95
96
  /**
96
- * The index in which to perform the request.
97
+ * Index on which to perform the request.
97
98
  */
98
99
  indexName: string;
99
100
  browseParams?: BrowseParams;
@@ -104,11 +105,11 @@ export type BrowseProps = {
104
105
  */
105
106
  export type ClearAllSynonymsProps = {
106
107
  /**
107
- * The index in which to perform the request.
108
+ * Index on which to perform the request.
108
109
  */
109
110
  indexName: string;
110
111
  /**
111
- * When true, changes are also propagated to replicas of the given indexName.
112
+ * Indicates whether changed index settings are forwarded to the replica indices.
112
113
  */
113
114
  forwardToReplicas?: boolean;
114
115
  };
@@ -118,7 +119,7 @@ export type ClearAllSynonymsProps = {
118
119
  */
119
120
  export type ClearObjectsProps = {
120
121
  /**
121
- * The index in which to perform the request.
122
+ * Index on which to perform the request.
122
123
  */
123
124
  indexName: string;
124
125
  };
@@ -128,11 +129,11 @@ export type ClearObjectsProps = {
128
129
  */
129
130
  export type ClearRulesProps = {
130
131
  /**
131
- * The index in which to perform the request.
132
+ * Index on which to perform the request.
132
133
  */
133
134
  indexName: string;
134
135
  /**
135
- * When true, changes are also propagated to replicas of the given indexName.
136
+ * Indicates whether changed index settings are forwarded to the replica indices.
136
137
  */
137
138
  forwardToReplicas?: boolean;
138
139
  };
@@ -142,11 +143,11 @@ export type ClearRulesProps = {
142
143
  */
143
144
  export type DelProps = {
144
145
  /**
145
- * The path of the API endpoint to target, anything after the /1 needs to be specified.
146
+ * Path of the endpoint, anything after \"/1\" must be specified.
146
147
  */
147
148
  path: string;
148
149
  /**
149
- * Query parameters to be applied to the current query.
150
+ * Query parameters to apply to the current query.
150
151
  */
151
152
  parameters?: Record<string, any>;
152
153
  };
@@ -156,7 +157,7 @@ export type DelProps = {
156
157
  */
157
158
  export type DeleteApiKeyProps = {
158
159
  /**
159
- * API Key string.
160
+ * API key.
160
161
  */
161
162
  key: string;
162
163
  };
@@ -166,10 +167,10 @@ export type DeleteApiKeyProps = {
166
167
  */
167
168
  export type DeleteByProps = {
168
169
  /**
169
- * The index in which to perform the request.
170
+ * Index on which to perform the request.
170
171
  */
171
172
  indexName: string;
172
- searchParams: SearchParams;
173
+ deleteByParams: DeleteByParams;
173
174
  };
174
175
 
175
176
  /**
@@ -177,7 +178,7 @@ export type DeleteByProps = {
177
178
  */
178
179
  export type DeleteIndexProps = {
179
180
  /**
180
- * The index in which to perform the request.
181
+ * Index on which to perform the request.
181
182
  */
182
183
  indexName: string;
183
184
  };
@@ -187,11 +188,11 @@ export type DeleteIndexProps = {
187
188
  */
188
189
  export type DeleteObjectProps = {
189
190
  /**
190
- * The index in which to perform the request.
191
+ * Index on which to perform the request.
191
192
  */
192
193
  indexName: string;
193
194
  /**
194
- * Unique identifier of an object.
195
+ * Unique record (object) identifier.
195
196
  */
196
197
  objectID: string;
197
198
  };
@@ -201,15 +202,15 @@ export type DeleteObjectProps = {
201
202
  */
202
203
  export type DeleteRuleProps = {
203
204
  /**
204
- * The index in which to perform the request.
205
+ * Index on which to perform the request.
205
206
  */
206
207
  indexName: string;
207
208
  /**
208
- * Unique identifier of an object.
209
+ * Unique identifier of a rule object.
209
210
  */
210
211
  objectID: string;
211
212
  /**
212
- * When true, changes are also propagated to replicas of the given indexName.
213
+ * Indicates whether changed index settings are forwarded to the replica indices.
213
214
  */
214
215
  forwardToReplicas?: boolean;
215
216
  };
@@ -219,7 +220,7 @@ export type DeleteRuleProps = {
219
220
  */
220
221
  export type DeleteSourceProps = {
221
222
  /**
222
- * The IP range of the source.
223
+ * IP address range of the source.
223
224
  */
224
225
  source: string;
225
226
  };
@@ -229,15 +230,15 @@ export type DeleteSourceProps = {
229
230
  */
230
231
  export type DeleteSynonymProps = {
231
232
  /**
232
- * The index in which to perform the request.
233
+ * Index on which to perform the request.
233
234
  */
234
235
  indexName: string;
235
236
  /**
236
- * Unique identifier of an object.
237
+ * Unique identifier of a synonym object.
237
238
  */
238
239
  objectID: string;
239
240
  /**
240
- * When true, changes are also propagated to replicas of the given indexName.
241
+ * Indicates whether changed index settings are forwarded to the replica indices.
241
242
  */
242
243
  forwardToReplicas?: boolean;
243
244
  };
@@ -247,11 +248,11 @@ export type DeleteSynonymProps = {
247
248
  */
248
249
  export type GetProps = {
249
250
  /**
250
- * The path of the API endpoint to target, anything after the /1 needs to be specified.
251
+ * Path of the endpoint, anything after \"/1\" must be specified.
251
252
  */
252
253
  path: string;
253
254
  /**
254
- * Query parameters to be applied to the current query.
255
+ * Query parameters to apply to the current query.
255
256
  */
256
257
  parameters?: Record<string, any>;
257
258
  };
@@ -261,7 +262,7 @@ export type GetProps = {
261
262
  */
262
263
  export type GetApiKeyProps = {
263
264
  /**
264
- * API Key string.
265
+ * API key.
265
266
  */
266
267
  key: string;
267
268
  };
@@ -271,15 +272,15 @@ export type GetApiKeyProps = {
271
272
  */
272
273
  export type GetLogsProps = {
273
274
  /**
274
- * First entry to retrieve (zero-based). Log entries are sorted by decreasing date, therefore 0 designates the most recent log entry.
275
+ * First log entry to retrieve. Sorted by decreasing date with 0 being the most recent.
275
276
  */
276
277
  offset?: number;
277
278
  /**
278
- * Maximum number of entries to retrieve. The maximum allowed value is 1000.
279
+ * Maximum number of entries to retrieve.
279
280
  */
280
281
  length?: number;
281
282
  /**
282
- * Index for which log entries should be retrieved. When omitted, log entries are retrieved across all indices.
283
+ * Index for which log entries should be retrieved. When omitted, log entries are retrieved for all indices.
283
284
  */
284
285
  indexName?: string;
285
286
  /**
@@ -293,15 +294,15 @@ export type GetLogsProps = {
293
294
  */
294
295
  export type GetObjectProps = {
295
296
  /**
296
- * The index in which to perform the request.
297
+ * Index on which to perform the request.
297
298
  */
298
299
  indexName: string;
299
300
  /**
300
- * Unique identifier of an object.
301
+ * Unique record (object) identifier.
301
302
  */
302
303
  objectID: string;
303
304
  /**
304
- * List of attributes to retrieve. If not specified, all retrievable attributes are returned.
305
+ * 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.
305
306
  */
306
307
  attributesToRetrieve?: string[];
307
308
  };
@@ -311,11 +312,11 @@ export type GetObjectProps = {
311
312
  */
312
313
  export type GetRuleProps = {
313
314
  /**
314
- * The index in which to perform the request.
315
+ * Index on which to perform the request.
315
316
  */
316
317
  indexName: string;
317
318
  /**
318
- * Unique identifier of an object.
319
+ * Unique identifier of a rule object.
319
320
  */
320
321
  objectID: string;
321
322
  };
@@ -325,7 +326,7 @@ export type GetRuleProps = {
325
326
  */
326
327
  export type GetSettingsProps = {
327
328
  /**
328
- * The index in which to perform the request.
329
+ * Index on which to perform the request.
329
330
  */
330
331
  indexName: string;
331
332
  };
@@ -335,11 +336,11 @@ export type GetSettingsProps = {
335
336
  */
336
337
  export type GetSynonymProps = {
337
338
  /**
338
- * The index in which to perform the request.
339
+ * Index on which to perform the request.
339
340
  */
340
341
  indexName: string;
341
342
  /**
342
- * Unique identifier of an object.
343
+ * Unique identifier of a synonym object.
343
344
  */
344
345
  objectID: string;
345
346
  };
@@ -349,11 +350,11 @@ export type GetSynonymProps = {
349
350
  */
350
351
  export type GetTaskProps = {
351
352
  /**
352
- * The index in which to perform the request.
353
+ * Index on which to perform the request.
353
354
  */
354
355
  indexName: string;
355
356
  /**
356
- * Unique identifier of an task. Numeric value (up to 64bits).
357
+ * Unique task identifier.
357
358
  */
358
359
  taskID: number;
359
360
  };
@@ -373,7 +374,7 @@ export type GetUserIdProps = {
373
374
  */
374
375
  export type HasPendingMappingsProps = {
375
376
  /**
376
- * If the clusters pending mapping state should be on the response.
377
+ * Indicates whether to include the cluster\'s pending mapping state in the response.
377
378
  */
378
379
  getClusters?: boolean;
379
380
  };
@@ -383,9 +384,13 @@ export type HasPendingMappingsProps = {
383
384
  */
384
385
  export type ListIndicesProps = {
385
386
  /**
386
- * Requested page (zero-based). When specified, will retrieve a specific page; the page size is implicitly set to 100. When null, will retrieve all indices (no pagination).
387
+ * 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.
387
388
  */
388
389
  page?: number;
390
+ /**
391
+ * Maximum number of hits per page.
392
+ */
393
+ hitsPerPage?: number;
389
394
  };
390
395
 
391
396
  /**
@@ -393,11 +398,11 @@ export type ListIndicesProps = {
393
398
  */
394
399
  export type ListUserIdsProps = {
395
400
  /**
396
- * Requested page (zero-based). When specified, will retrieve a specific page; the page size is implicitly set to 100. When null, will retrieve all indices (no pagination).
401
+ * 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.
397
402
  */
398
403
  page?: number;
399
404
  /**
400
- * Maximum number of objects to retrieve.
405
+ * Maximum number of hits per page.
401
406
  */
402
407
  hitsPerPage?: number;
403
408
  };
@@ -407,7 +412,7 @@ export type ListUserIdsProps = {
407
412
  */
408
413
  export type OperationIndexProps = {
409
414
  /**
410
- * The index in which to perform the request.
415
+ * Index on which to perform the request.
411
416
  */
412
417
  indexName: string;
413
418
  operationIndexParams: OperationIndexParams;
@@ -418,19 +423,19 @@ export type OperationIndexProps = {
418
423
  */
419
424
  export type PartialUpdateObjectProps = {
420
425
  /**
421
- * The index in which to perform the request.
426
+ * Index on which to perform the request.
422
427
  */
423
428
  indexName: string;
424
429
  /**
425
- * Unique identifier of an object.
430
+ * Unique record (object) identifier.
426
431
  */
427
432
  objectID: string;
428
433
  /**
429
- * Map of attribute(s) to update.
434
+ * Object with attributes to update.
430
435
  */
431
436
  attributesToUpdate: Record<string, AttributeToUpdate>;
432
437
  /**
433
- * Creates the record if it does not exist yet.
438
+ * Indicates whether to create a new record if it doesn\'t exist yet.
434
439
  */
435
440
  createIfNotExists?: boolean;
436
441
  };
@@ -440,15 +445,15 @@ export type PartialUpdateObjectProps = {
440
445
  */
441
446
  export type PostProps = {
442
447
  /**
443
- * The path of the API endpoint to target, anything after the /1 needs to be specified.
448
+ * Path of the endpoint, anything after \"/1\" must be specified.
444
449
  */
445
450
  path: string;
446
451
  /**
447
- * Query parameters to be applied to the current query.
452
+ * Query parameters to apply to the current query.
448
453
  */
449
454
  parameters?: Record<string, any>;
450
455
  /**
451
- * The parameters to send with the custom request.
456
+ * Parameters to send with the custom request.
452
457
  */
453
458
  body?: Record<string, any>;
454
459
  };
@@ -458,15 +463,15 @@ export type PostProps = {
458
463
  */
459
464
  export type PutProps = {
460
465
  /**
461
- * The path of the API endpoint to target, anything after the /1 needs to be specified.
466
+ * Path of the endpoint, anything after \"/1\" must be specified.
462
467
  */
463
468
  path: string;
464
469
  /**
465
- * Query parameters to be applied to the current query.
470
+ * Query parameters to apply to the current query.
466
471
  */
467
472
  parameters?: Record<string, any>;
468
473
  /**
469
- * The parameters to send with the custom request.
474
+ * Parameters to send with the custom request.
470
475
  */
471
476
  body?: Record<string, any>;
472
477
  };
@@ -486,7 +491,7 @@ export type RemoveUserIdProps = {
486
491
  */
487
492
  export type ReplaceSourcesProps = {
488
493
  /**
489
- * The sources to allow.
494
+ * Allowed sources.
490
495
  */
491
496
  source: Source[];
492
497
  };
@@ -496,7 +501,7 @@ export type ReplaceSourcesProps = {
496
501
  */
497
502
  export type RestoreApiKeyProps = {
498
503
  /**
499
- * API Key string.
504
+ * API key.
500
505
  */
501
506
  key: string;
502
507
  };
@@ -506,7 +511,7 @@ export type RestoreApiKeyProps = {
506
511
  */
507
512
  export type SaveObjectProps = {
508
513
  /**
509
- * The index in which to perform the request.
514
+ * Index on which to perform the request.
510
515
  */
511
516
  indexName: string;
512
517
  /**
@@ -520,16 +525,16 @@ export type SaveObjectProps = {
520
525
  */
521
526
  export type SaveRuleProps = {
522
527
  /**
523
- * The index in which to perform the request.
528
+ * Index on which to perform the request.
524
529
  */
525
530
  indexName: string;
526
531
  /**
527
- * Unique identifier of an object.
532
+ * Unique identifier of a rule object.
528
533
  */
529
534
  objectID: string;
530
535
  rule: Rule;
531
536
  /**
532
- * When true, changes are also propagated to replicas of the given indexName.
537
+ * Indicates whether changed index settings are forwarded to the replica indices.
533
538
  */
534
539
  forwardToReplicas?: boolean;
535
540
  };
@@ -539,16 +544,16 @@ export type SaveRuleProps = {
539
544
  */
540
545
  export type SaveRulesProps = {
541
546
  /**
542
- * The index in which to perform the request.
547
+ * Index on which to perform the request.
543
548
  */
544
549
  indexName: string;
545
550
  rules: Rule[];
546
551
  /**
547
- * When true, changes are also propagated to replicas of the given indexName.
552
+ * Indicates whether changed index settings are forwarded to the replica indices.
548
553
  */
549
554
  forwardToReplicas?: boolean;
550
555
  /**
551
- * When true, existing Rules are cleared before adding this batch. When false, existing Rules are kept.
556
+ * Indicates whether existing rules should be deleted before adding this batch.
552
557
  */
553
558
  clearExistingRules?: boolean;
554
559
  };
@@ -558,16 +563,16 @@ export type SaveRulesProps = {
558
563
  */
559
564
  export type SaveSynonymProps = {
560
565
  /**
561
- * The index in which to perform the request.
566
+ * Index on which to perform the request.
562
567
  */
563
568
  indexName: string;
564
569
  /**
565
- * Unique identifier of an object.
570
+ * Unique identifier of a synonym object.
566
571
  */
567
572
  objectID: string;
568
573
  synonymHit: SynonymHit;
569
574
  /**
570
- * When true, changes are also propagated to replicas of the given indexName.
575
+ * Indicates whether changed index settings are forwarded to the replica indices.
571
576
  */
572
577
  forwardToReplicas?: boolean;
573
578
  };
@@ -577,16 +582,16 @@ export type SaveSynonymProps = {
577
582
  */
578
583
  export type SaveSynonymsProps = {
579
584
  /**
580
- * The index in which to perform the request.
585
+ * Index on which to perform the request.
581
586
  */
582
587
  indexName: string;
583
588
  synonymHit: SynonymHit[];
584
589
  /**
585
- * When true, changes are also propagated to replicas of the given indexName.
590
+ * Indicates whether changed index settings are forwarded to the replica indices.
586
591
  */
587
592
  forwardToReplicas?: boolean;
588
593
  /**
589
- * Replace all synonyms of the index with the ones sent with this request.
594
+ * Indicates whether to replace all synonyms in the index with the ones sent with this request.
590
595
  */
591
596
  replaceExistingSynonyms?: boolean;
592
597
  };
@@ -628,7 +633,7 @@ export type LegacySearchMethodProps = LegacySearchQuery[];
628
633
  */
629
634
  export type SearchDictionaryEntriesProps = {
630
635
  /**
631
- * The dictionary to search in.
636
+ * Dictionary to search in.
632
637
  */
633
638
  dictionaryName: DictionaryType;
634
639
  searchDictionaryEntriesParams: SearchDictionaryEntriesParams;
@@ -639,11 +644,11 @@ export type SearchDictionaryEntriesProps = {
639
644
  */
640
645
  export type SearchForFacetValuesProps = {
641
646
  /**
642
- * The index in which to perform the request.
647
+ * Index on which to perform the request.
643
648
  */
644
649
  indexName: string;
645
650
  /**
646
- * The facet name.
651
+ * Facet name.
647
652
  */
648
653
  facetName: string;
649
654
  searchForFacetValuesRequest?: SearchForFacetValuesRequest;
@@ -654,7 +659,7 @@ export type SearchForFacetValuesProps = {
654
659
  */
655
660
  export type SearchRulesProps = {
656
661
  /**
657
- * The index in which to perform the request.
662
+ * Index on which to perform the request.
658
663
  */
659
664
  indexName: string;
660
665
  searchRulesParams?: SearchRulesParams;
@@ -665,7 +670,7 @@ export type SearchRulesProps = {
665
670
  */
666
671
  export type SearchSingleIndexProps = {
667
672
  /**
668
- * The index in which to perform the request.
673
+ * Index on which to perform the request.
669
674
  */
670
675
  indexName: string;
671
676
  searchParams?: SearchParams;
@@ -676,23 +681,23 @@ export type SearchSingleIndexProps = {
676
681
  */
677
682
  export type SearchSynonymsProps = {
678
683
  /**
679
- * The index in which to perform the request.
684
+ * Index on which to perform the request.
680
685
  */
681
686
  indexName: string;
682
687
  /**
683
- * Only search for specific types of synonyms.
688
+ * Search for specific [types of synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#the-different-types-of-synonyms).
684
689
  */
685
690
  type?: SynonymType;
686
691
  /**
687
- * Requested page (zero-based). When specified, will retrieve a specific page; the page size is implicitly set to 100. When null, will retrieve all indices (no pagination).
692
+ * Returns the requested page number (the first page is 0). Page size is set by `hitsPerPage`. When null, there\'s no pagination.
688
693
  */
689
694
  page?: number;
690
695
  /**
691
- * Maximum number of objects to retrieve.
696
+ * Maximum number of hits per page.
692
697
  */
693
698
  hitsPerPage?: number;
694
699
  /**
695
- * The body of the the `searchSynonyms` method.
700
+ * Body of the `searchSynonyms` operation.
696
701
  */
697
702
  searchSynonymsParams?: SearchSynonymsParams;
698
703
  };
@@ -702,12 +707,12 @@ export type SearchSynonymsProps = {
702
707
  */
703
708
  export type SetSettingsProps = {
704
709
  /**
705
- * The index in which to perform the request.
710
+ * Index on which to perform the request.
706
711
  */
707
712
  indexName: string;
708
713
  indexSettings: IndexSettings;
709
714
  /**
710
- * When true, changes are also propagated to replicas of the given indexName.
715
+ * Indicates whether changed index settings are forwarded to the replica indices.
711
716
  */
712
717
  forwardToReplicas?: boolean;
713
718
  };
@@ -717,7 +722,7 @@ export type SetSettingsProps = {
717
722
  */
718
723
  export type UpdateApiKeyProps = {
719
724
  /**
720
- * API Key string.
725
+ * API key.
721
726
  */
722
727
  key: string;
723
728
  apiKey: ApiKey;
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { Anchoring } from './anchoring';
4
4
 
@@ -1,27 +1,27 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { ConsequenceHide } from './consequenceHide';
4
4
  import type { ConsequenceParams } from './consequenceParams';
5
5
  import type { Promote } from './promote';
6
6
 
7
7
  /**
8
- * Consequence of the Rule.
8
+ * [Consequences](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#consequences) of a rule.
9
9
  */
10
10
  export type Consequence = {
11
11
  params?: ConsequenceParams;
12
12
 
13
13
  /**
14
- * Objects to promote as hits.
14
+ * Records to promote.
15
15
  */
16
16
  promote?: Promote[];
17
17
 
18
18
  /**
19
- * Only use in combination with the promote consequence. When true, promoted results will be restricted to match the filters of the current search. When false, the promoted results will show up regardless of the filters.
19
+ * Only use in combination with the `promote` consequence. When `true`, promoted results will be restricted to match the filters of the current search. When `false`, the promoted results will show up regardless of the filters.
20
20
  */
21
21
  filterPromotes?: boolean;
22
22
 
23
23
  /**
24
- * Objects to hide from hits. Each object must contain an objectID field. By default, you can hide up to 50 items per rule.
24
+ * Records to hide. By default, you can hide up to 50 records per rule.
25
25
  */
26
26
  hide?: ConsequenceHide[];
27
27
 
@@ -1,11 +1,11 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  /**
4
- * Unique identifier of the object to hide.
4
+ * Unique identifier of the record to hide.
5
5
  */
6
6
  export type ConsequenceHide = {
7
7
  /**
8
- * Unique identifier of the object.
8
+ * Unique object identifier.
9
9
  */
10
10
  objectID: string;
11
11
  };
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuery';
4
4
  import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';