@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
package/model/index.ts CHANGED
@@ -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
  export * from './acl';
4
4
  export * from './action';
@@ -7,6 +7,8 @@ export * from './advancedSyntaxFeatures';
7
7
  export * from './alternativesAsExact';
8
8
  export * from './anchoring';
9
9
  export * from './apiKey';
10
+ export * from './aroundPrecision';
11
+ export * from './aroundPrecisionFromValueInner';
10
12
  export * from './aroundRadius';
11
13
  export * from './aroundRadiusAll';
12
14
  export * from './assignUserIdParams';
@@ -18,6 +20,7 @@ export * from './baseIndexSettings';
18
20
  export * from './baseSearchParams';
19
21
  export * from './baseSearchParamsWithoutQuery';
20
22
  export * from './baseSearchResponse';
23
+ export * from './baseSearchResponseRedirect';
21
24
  export * from './batchAssignUserIdsParams';
22
25
  export * from './batchDictionaryEntriesParams';
23
26
  export * from './batchDictionaryEntriesRequest';
@@ -39,6 +42,7 @@ export * from './consequenceQueryObject';
39
42
  export * from './createdAtResponse';
40
43
  export * from './cursor';
41
44
  export * from './deleteApiKeyResponse';
45
+ export * from './deleteByParams';
42
46
  export * from './deleteSourceResponse';
43
47
  export * from './deletedAtResponse';
44
48
  export * from './dictionaryAction';
@@ -84,6 +88,7 @@ export * from './logType';
84
88
  export * from './matchLevel';
85
89
  export * from './matchedGeoLocation';
86
90
  export * from './mixedSearchFilters';
91
+ export * from './mode';
87
92
  export * from './multipleBatchRequest';
88
93
  export * from './multipleBatchResponse';
89
94
  export * from './numericFilters';
@@ -98,6 +103,8 @@ export * from './promoteObjectIDs';
98
103
  export * from './queryType';
99
104
  export * from './rankingInfo';
100
105
  export * from './reRankingApplyFilter';
106
+ export * from './redirectRuleIndexMetadata';
107
+ export * from './redirectRuleIndexMetadataData';
101
108
  export * from './removeStopWords';
102
109
  export * from './removeUserIdResponse';
103
110
  export * from './removeWordsIfNoResults';
@@ -123,6 +130,7 @@ export * from './searchParamsString';
123
130
  export * from './searchQuery';
124
131
  export * from './searchResponse';
125
132
  export * from './searchResponses';
133
+ export * from './searchResult';
126
134
  export * from './searchRulesParams';
127
135
  export * from './searchRulesResponse';
128
136
  export * from './searchStrategy';
@@ -132,13 +140,13 @@ export * from './searchTypeDefault';
132
140
  export * from './searchTypeFacet';
133
141
  export * from './searchUserIdsParams';
134
142
  export * from './searchUserIdsResponse';
143
+ export * from './semanticSearch';
135
144
  export * from './snippetResult';
136
145
  export * from './snippetResultOption';
137
146
  export * from './sortRemainingBy';
138
147
  export * from './source';
139
148
  export * from './standardEntries';
140
149
  export * from './synonymHit';
141
- export * from './synonymHitHighlightResult';
142
150
  export * from './synonymType';
143
151
  export * from './tagFilters';
144
152
  export * from './taskStatus';
@@ -1,9 +1,9 @@
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 { BaseIndexSettings } from './baseIndexSettings';
4
4
  import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
5
5
 
6
6
  /**
7
- * The Algolia index settings.
7
+ * Algolia index settings.
8
8
  */
9
9
  export type IndexSettings = BaseIndexSettings & IndexSettingsAsSearchParams;
@@ -1,69 +1,62 @@
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 { AdvancedSyntaxFeatures } from './advancedSyntaxFeatures';
4
4
  import type { AlternativesAsExact } from './alternativesAsExact';
5
5
  import type { Distinct } from './distinct';
6
6
  import type { ExactOnSingleWordQuery } from './exactOnSingleWordQuery';
7
7
  import type { IgnorePlurals } from './ignorePlurals';
8
+ import type { Mode } from './mode';
8
9
  import type { QueryType } from './queryType';
10
+ import type { ReRankingApplyFilter } from './reRankingApplyFilter';
9
11
  import type { RemoveStopWords } from './removeStopWords';
10
12
  import type { RemoveWordsIfNoResults } from './removeWordsIfNoResults';
11
13
  import type { RenderingContent } from './renderingContent';
14
+ import type { SemanticSearch } from './semanticSearch';
12
15
  import type { TypoTolerance } from './typoTolerance';
13
16
 
14
17
  export type IndexSettingsAsSearchParams = {
15
18
  /**
16
- * The complete list of attributes that will be used for faceting.
19
+ * Attributes used for [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/) and the [modifiers](https://www.algolia.com/doc/api-reference/api-parameters/attributesForFaceting/#modifiers) that can be applied: `filterOnly`, `searchable`, and `afterDistinct`.
17
20
  */
18
21
  attributesForFaceting?: string[];
19
22
 
20
23
  /**
21
- * List of attributes that can\'t be retrieved at query time.
22
- */
23
- unretrievableAttributes?: string[];
24
-
25
- /**
26
- * This parameter controls which attributes to retrieve and which not to retrieve.
24
+ * Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. By default, the response includes all attributes.
27
25
  */
28
26
  attributesToRetrieve?: string[];
29
27
 
30
28
  /**
31
- * Restricts a given query to look in only a subset of your searchable attributes.
32
- */
33
- restrictSearchableAttributes?: string[];
34
-
35
- /**
36
- * Controls how Algolia should sort your results.
29
+ * Determines the order in which Algolia [returns your results](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/).
37
30
  */
38
31
  ranking?: string[];
39
32
 
40
33
  /**
41
- * Specifies the custom ranking criterion.
34
+ * Specifies the [Custom ranking criterion](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/). Use the `asc` and `desc` modifiers to specify the ranking order: ascending or descending.
42
35
  */
43
36
  customRanking?: string[];
44
37
 
45
38
  /**
46
- * Controls the relevancy threshold below which less relevant results aren\'t included in the results.
39
+ * Relevancy threshold below which less relevant results aren\'t included in the results.
47
40
  */
48
41
  relevancyStrictness?: number;
49
42
 
50
43
  /**
51
- * List of attributes to highlight.
44
+ * Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (`highlightPreTag` and `highlightPostTag`).
52
45
  */
53
46
  attributesToHighlight?: string[];
54
47
 
55
48
  /**
56
- * List of attributes to snippet, with an optional maximum number of words to snippet.
49
+ * Attributes to _snippet_. \'Snippeting\' is shortening the attribute to a certain number of words. If not specified, the attribute is shortened to the 10 words around the matching string but you can specify the number. For example: `body:20`.
57
50
  */
58
51
  attributesToSnippet?: string[];
59
52
 
60
53
  /**
61
- * The HTML string to insert before the highlighted parts in all highlight and snippet results.
54
+ * HTML string to insert before the highlighted parts in all highlight and snippet results.
62
55
  */
63
56
  highlightPreTag?: string;
64
57
 
65
58
  /**
66
- * The HTML string to insert after the highlighted parts in all highlight and snippet results.
59
+ * HTML string to insert after the highlighted parts in all highlight and snippet results.
67
60
  */
68
61
  highlightPostTag?: string;
69
62
 
@@ -78,17 +71,17 @@ export type IndexSettingsAsSearchParams = {
78
71
  restrictHighlightAndSnippetArrays?: boolean;
79
72
 
80
73
  /**
81
- * Set the number of hits per page.
74
+ * Number of hits per page.
82
75
  */
83
76
  hitsPerPage?: number;
84
77
 
85
78
  /**
86
- * Minimum number of characters a word in the query string must contain to accept matches with 1 typo.
79
+ * Minimum number of characters a word in the query string must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).
87
80
  */
88
81
  minWordSizefor1Typo?: number;
89
82
 
90
83
  /**
91
- * Minimum number of characters a word in the query string must contain to accept matches with 2 typos.
84
+ * Minimum number of characters a word in the query string must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).
92
85
  */
93
86
  minWordSizefor2Typos?: number;
94
87
 
@@ -100,7 +93,7 @@ export type IndexSettingsAsSearchParams = {
100
93
  allowTyposOnNumericTokens?: boolean;
101
94
 
102
95
  /**
103
- * List of attributes on which you want to disable typo tolerance.
96
+ * Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/).
104
97
  */
105
98
  disableTypoToleranceOnAttributes?: string[];
106
99
 
@@ -109,27 +102,27 @@ export type IndexSettingsAsSearchParams = {
109
102
  removeStopWords?: RemoveStopWords;
110
103
 
111
104
  /**
112
- * List of characters that the engine shouldn\'t automatically normalize.
105
+ * Characters that the engine shouldn\'t automatically [normalize](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).
113
106
  */
114
107
  keepDiacriticsOnCharacters?: string;
115
108
 
116
109
  /**
117
- * Sets the languages to be used by language-specific settings and functionalities such as ignorePlurals, removeStopWords, and CJK word-detection.
110
+ * Sets your user\'s search language. This adjusts language-specific settings and features such as `ignorePlurals`, `removeStopWords`, and [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) word detection.
118
111
  */
119
112
  queryLanguages?: string[];
120
113
 
121
114
  /**
122
- * Splits compound words into their composing atoms in the query.
115
+ * [Splits compound words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words) into their component word parts in the query.
123
116
  */
124
117
  decompoundQuery?: boolean;
125
118
 
126
119
  /**
127
- * Whether Rules should be globally enabled.
120
+ * Incidates whether [Rules](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/) are enabled.
128
121
  */
129
122
  enableRules?: boolean;
130
123
 
131
124
  /**
132
- * Enable the Personalization feature.
125
+ * Incidates whether [Personalization](https://www.algolia.com/doc/guides/personalization/what-is-personalization/) is enabled.
133
126
  */
134
127
  enablePersonalization?: boolean;
135
128
 
@@ -137,69 +130,85 @@ export type IndexSettingsAsSearchParams = {
137
130
 
138
131
  removeWordsIfNoResults?: RemoveWordsIfNoResults;
139
132
 
133
+ mode?: Mode;
134
+
135
+ semanticSearch?: SemanticSearch;
136
+
140
137
  /**
141
- * Enables the advanced query syntax.
138
+ * Enables the [advanced query syntax](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#advanced-syntax).
142
139
  */
143
140
  advancedSyntax?: boolean;
144
141
 
145
142
  /**
146
- * A list of words that should be considered as optional when found in the query.
143
+ * Words which should be considered [optional](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words) when found in a query.
147
144
  */
148
145
  optionalWords?: string[];
149
146
 
150
147
  /**
151
- * List of attributes on which you want to disable the exact ranking criterion.
148
+ * Attributes for which you want to [turn off the exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).
152
149
  */
153
150
  disableExactOnAttributes?: string[];
154
151
 
155
152
  exactOnSingleWordQuery?: ExactOnSingleWordQuery;
156
153
 
157
154
  /**
158
- * List of alternatives that should be considered an exact match by the exact ranking criterion.
155
+ * Alternatives that should be considered an exact match by [the exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).
159
156
  */
160
157
  alternativesAsExact?: AlternativesAsExact[];
161
158
 
162
159
  /**
163
- * Allows you to specify which advanced syntax features are active when advancedSyntax\' is enabled.
160
+ * Allows you to specify which advanced syntax features are active when `advancedSyntax` is enabled.
164
161
  */
165
162
  advancedSyntaxFeatures?: AdvancedSyntaxFeatures[];
166
163
 
167
164
  distinct?: Distinct;
168
165
 
169
166
  /**
170
- * Name of the de-duplication attribute to be used with the distinct feature.
167
+ * Name of the deduplication attribute to be used with Algolia\'s [_distinct_ feature](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature).
171
168
  */
172
169
  attributeForDistinct?: string;
173
170
 
174
- /**
175
- * Whether to take into account an index\'s synonyms for a particular search.
176
- */
177
- synonyms?: boolean;
178
-
179
171
  /**
180
172
  * Whether to highlight and snippet the original word that matches the synonym or the synonym itself.
181
173
  */
182
174
  replaceSynonymsInHighlight?: boolean;
183
175
 
184
176
  /**
185
- * Precision of the proximity ranking criterion.
177
+ * Precision of the [proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity).
186
178
  */
187
179
  minProximity?: number;
188
180
 
189
181
  /**
190
- * Choose which fields to return in the API response. This parameters applies to search and browse queries.
182
+ * Attributes to include in the API response for search and browse queries.
191
183
  */
192
184
  responseFields?: string[];
193
185
 
194
186
  /**
195
- * Maximum number of facet hits to return during a search for facet values. For performance reasons, the maximum allowed number of returned values is 100.
187
+ * Maximum number of facet hits to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
196
188
  */
197
189
  maxFacetHits?: number;
198
190
 
199
191
  /**
200
- * When attribute is ranked above proximity in your ranking formula, proximity is used to select which searchable attribute is matched in the attribute ranking stage.
192
+ * Maximum number of facet values to return for each facet.
193
+ */
194
+ maxValuesPerFacet?: number;
195
+
196
+ /**
197
+ * Controls how facet values are fetched.
198
+ */
199
+ sortFacetValuesBy?: string;
200
+
201
+ /**
202
+ * When the [Attribute criterion is ranked above Proximity](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute-and-proximity-combinations) in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage.
201
203
  */
202
204
  attributeCriteriaComputedByMinProximity?: boolean;
203
205
 
204
206
  renderingContent?: RenderingContent;
207
+
208
+ /**
209
+ * Indicates whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
210
+ */
211
+ enableReRanking?: boolean;
212
+
213
+ reRankingApplyFilter?: ReRankingApplyFilter | null;
205
214
  };
@@ -1,9 +1,9 @@
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 { DictionaryLanguage } from './dictionaryLanguage';
4
4
 
5
5
  /**
6
- * A dictionary language.
6
+ * Dictionary language.
7
7
  */
8
8
  export type Languages = {
9
9
  plurals: DictionaryLanguage | null;
@@ -1,10 +1,10 @@
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 { GetApiKeyResponse } from './getApiKeyResponse';
4
4
 
5
5
  export type ListApiKeysResponse = {
6
6
  /**
7
- * List of api keys.
7
+ * API keys.
8
8
  */
9
9
  keys: GetApiKeyResponse[];
10
10
  };
@@ -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
- * Array of clusters.
4
+ * Clusters.
5
5
  */
6
6
  export type ListClustersResponse = {
7
7
  /**
8
- * Mapping of cluster names to top users.
8
+ * Key-value pairs with cluster names as keys and lists of users with the highest number of records per cluster as values.
9
9
  */
10
10
  topUsers: string[];
11
11
  };
@@ -1,10 +1,10 @@
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 { FetchedIndex } from './fetchedIndex';
4
4
 
5
5
  export type ListIndicesResponse = {
6
6
  /**
7
- * List of the fetched indices.
7
+ * All indices in your Algolia application.
8
8
  */
9
9
  items: FetchedIndex[];
10
10
 
@@ -1,13 +1,13 @@
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 { UserId } from './userId';
4
4
 
5
5
  /**
6
- * UserIDs data.
6
+ * User ID data.
7
7
  */
8
8
  export type ListUserIdsResponse = {
9
9
  /**
10
- * List of userIDs.
10
+ * User IDs.
11
11
  */
12
12
  userIDs: UserId[];
13
13
  };
package/model/log.ts CHANGED
@@ -1,10 +1,10 @@
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 { LogQuery } from './logQuery';
4
4
 
5
5
  export type Log = {
6
6
  /**
7
- * Timestamp in ISO-8601 format.
7
+ * Timestamp in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
8
8
  */
9
9
  timestamp: string;
10
10
 
@@ -19,12 +19,12 @@ export type Log = {
19
19
  answer_code: string;
20
20
 
21
21
  /**
22
- * Request body. Truncated after 1000 characters.
22
+ * Request body. Truncated after 1,000 characters.
23
23
  */
24
24
  query_body: string;
25
25
 
26
26
  /**
27
- * Answer body. Truncated after 1000 characters.
27
+ * Answer body. Truncated after 1,000 characters.
28
28
  */
29
29
  answer: string;
30
30
 
@@ -34,12 +34,12 @@ export type Log = {
34
34
  url: string;
35
35
 
36
36
  /**
37
- * IP of the client which performed the request.
37
+ * IP address of the client that performed the request.
38
38
  */
39
39
  ip: string;
40
40
 
41
41
  /**
42
- * Request Headers (API Key is obfuscated).
42
+ * Request headers (API key is obfuscated).
43
43
  */
44
44
  query_headers: string;
45
45
 
@@ -54,7 +54,7 @@ export type Log = {
54
54
  nb_api_calls: string;
55
55
 
56
56
  /**
57
- * Processing time for the query. It doesn\'t include network time.
57
+ * Processing time for the query. Doesn\'t include network time.
58
58
  */
59
59
  processing_time_ms: string;
60
60
 
@@ -74,7 +74,7 @@ export type Log = {
74
74
  query_nb_hits?: string;
75
75
 
76
76
  /**
77
- * Array of all performed queries for the given request.
77
+ * Performed queries for the given request.
78
78
  */
79
79
  inner_queries?: LogQuery[];
80
80
  };
package/model/logQuery.ts CHANGED
@@ -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
  export type LogQuery = {
4
4
  /**
@@ -12,7 +12,7 @@ export type LogQuery = {
12
12
  user_token?: string;
13
13
 
14
14
  /**
15
- * QueryID for the given query.
15
+ * Unique query identifier.
16
16
  */
17
17
  query_id?: string;
18
18
  };
package/model/logType.ts CHANGED
@@ -1,3 +1,3 @@
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
  export type LogType = 'all' | 'build' | 'error' | 'query';
@@ -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
  /**
4
4
  * Indicates how well the attribute matched the search query.
@@ -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
  export type MatchedGeoLocation = {
4
4
  /**
@@ -1,3 +1,3 @@
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
  export type MixedSearchFilters = string[] | string;
package/model/mode.ts ADDED
@@ -0,0 +1,6 @@
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
+
3
+ /**
4
+ * Search mode the index will use to query for results.
5
+ */
6
+ export type Mode = 'keywordSearch' | 'neuralSearch';
@@ -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 { Action } from './action';
4
4
 
@@ -6,7 +6,7 @@ export type MultipleBatchRequest = {
6
6
  action: Action;
7
7
 
8
8
  /**
9
- * Arguments to the operation (depends on the type of the operation).
9
+ * Operation arguments (varies with specified `action`).
10
10
  */
11
11
  body: Record<string, any>;
12
12
 
@@ -1,13 +1,13 @@
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
  export type MultipleBatchResponse = {
4
4
  /**
5
- * List of tasksIDs per index.
5
+ * TaskIDs per index.
6
6
  */
7
7
  taskID: Record<string, number>;
8
8
 
9
9
  /**
10
- * List of objectID.
10
+ * Unique object (record) identifiers.
11
11
  */
12
12
  objectIDs: string[];
13
13
  };
@@ -1,8 +1,8 @@
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 { MixedSearchFilters } from './mixedSearchFilters';
4
4
 
5
5
  /**
6
- * Filter on numeric attributes.
6
+ * [Filter on numeric attributes](https://www.algolia.com/doc/api-reference/api-parameters/numericFilters/).
7
7
  */
8
8
  export type NumericFilters = MixedSearchFilters[] | string;
@@ -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 { OperationType } from './operationType';
4
4
  import type { ScopeType } from './scopeType';
@@ -7,12 +7,12 @@ export type OperationIndexParams = {
7
7
  operation: OperationType;
8
8
 
9
9
  /**
10
- * The Algolia index name.
10
+ * Algolia index name.
11
11
  */
12
12
  destination: string;
13
13
 
14
14
  /**
15
- * Scope of the data to copy. When absent, a full copy is performed. When present, only the selected scopes are copied.
15
+ * **This only applies to the _copy_ operation.** If you omit `scope`, the copy command copies all records, settings, synonyms, and rules. If you specify `scope`, only the specified scopes are copied.
16
16
  */
17
17
  scope?: ScopeType[];
18
18
  };
@@ -1,6 +1,6 @@
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
- * Type of operation to perform (move or copy).
4
+ * Operation to perform (_move_ or _copy_).
5
5
  */
6
6
  export type OperationType = 'copy' | 'move';
@@ -1,8 +1,8 @@
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 { MixedSearchFilters } from './mixedSearchFilters';
4
4
 
5
5
  /**
6
- * Create filters for ranking purposes, where records that match the filter are ranked higher, or lower in the case of a negative optional filter.
6
+ * Create filters to boost or demote records. Records that match the filter are ranked higher for positive and lower for negative optional filters. In contrast to regular filters, records that don\'t match the optional filter are still included in the results, only their ranking is affected.
7
7
  */
8
8
  export type OptionalFilters = MixedSearchFilters[] | string;
package/model/params.ts CHANGED
@@ -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
  import type { AutomaticFacetFilters } from './automaticFacetFilters';
4
4
  import type { ConsequenceQuery } from './consequenceQuery';
5
5
  import type { RenderingContent } from './renderingContent';
6
6
 
7
7
  /**
8
- * Additional search parameters. Any valid search parameter is allowed.
8
+ * Additional search parameters.
9
9
  */
10
10
  export type Params = {
11
11
  query?: ConsequenceQuery;
@@ -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
  export type Personalization = {
4
4
  /**