@algolia/client-search 5.0.0-alpha.1 → 5.0.0-alpha.100

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 (531) hide show
  1. package/dist/builds/browser.d.ts +5 -5
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +5 -5
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/{client-search.cjs.js → client-search.cjs} +2116 -1869
  6. package/dist/client-search.esm.browser.js +2356 -2137
  7. package/dist/client-search.esm.node.js +2117 -1868
  8. package/dist/client-search.umd.js +2 -2
  9. package/dist/model/acl.d.ts +4 -1
  10. package/dist/model/acl.d.ts.map +1 -1
  11. package/dist/model/action.d.ts +4 -4
  12. package/dist/model/action.d.ts.map +1 -1
  13. package/dist/model/addApiKeyResponse.d.ts +10 -10
  14. package/dist/model/addApiKeyResponse.d.ts.map +1 -1
  15. package/dist/model/advancedSyntaxFeatures.d.ts +1 -1
  16. package/dist/model/advancedSyntaxFeatures.d.ts.map +1 -1
  17. package/dist/model/alternativesAsExact.d.ts +1 -1
  18. package/dist/model/alternativesAsExact.d.ts.map +1 -1
  19. package/dist/model/anchoring.d.ts +4 -4
  20. package/dist/model/anchoring.d.ts.map +1 -1
  21. package/dist/model/apiKey.d.ts +38 -38
  22. package/dist/model/apiKey.d.ts.map +1 -1
  23. package/dist/model/aroundPrecision.d.ts +6 -0
  24. package/dist/model/aroundPrecision.d.ts.map +1 -0
  25. package/dist/model/aroundPrecisionFromValueInner.d.ts +5 -0
  26. package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -0
  27. package/dist/model/aroundRadius.d.ts +5 -5
  28. package/dist/model/aroundRadius.d.ts.map +1 -1
  29. package/dist/model/aroundRadiusAll.d.ts +1 -1
  30. package/dist/model/aroundRadiusAll.d.ts.map +1 -1
  31. package/dist/model/assignUserIdParams.d.ts +9 -9
  32. package/dist/model/assignUserIdParams.d.ts.map +1 -1
  33. package/dist/model/attributeToUpdate.d.ts +3 -0
  34. package/dist/model/attributeToUpdate.d.ts.map +1 -0
  35. package/dist/model/automaticFacetFilter.d.ts +17 -17
  36. package/dist/model/automaticFacetFilter.d.ts.map +1 -1
  37. package/dist/model/automaticFacetFilters.d.ts +5 -5
  38. package/dist/model/automaticFacetFilters.d.ts.map +1 -1
  39. package/dist/model/baseGetApiKeyResponse.d.ts +11 -0
  40. package/dist/model/baseGetApiKeyResponse.d.ts.map +1 -0
  41. package/dist/model/baseIndexSettings.d.ts +66 -58
  42. package/dist/model/baseIndexSettings.d.ts.map +1 -1
  43. package/dist/model/baseSearchParams.d.ts +3 -3
  44. package/dist/model/baseSearchParams.d.ts.map +1 -1
  45. package/dist/model/baseSearchParamsWithoutQuery.d.ts +118 -122
  46. package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  47. package/dist/model/baseSearchResponse.d.ts +105 -101
  48. package/dist/model/baseSearchResponse.d.ts.map +1 -1
  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 +9 -0
  58. package/dist/model/batchRequest.d.ts.map +1 -0
  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 +4 -0
  64. package/dist/model/browseParams.d.ts.map +1 -0
  65. package/dist/model/browseParamsObject.d.ts +4 -0
  66. package/dist/model/browseParamsObject.d.ts.map +1 -0
  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 +706 -703
  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 +7 -0
  90. package/dist/model/cursor.d.ts.map +1 -0
  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 +5 -0
  112. package/dist/model/distinct.d.ts.map +1 -0
  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/exhaustive.d.ts +26 -0
  122. package/dist/model/exhaustive.d.ts.map +1 -0
  123. package/dist/model/facetFilters.d.ts +5 -5
  124. package/dist/model/facetFilters.d.ts.map +1 -1
  125. package/dist/model/facetHits.d.ts +14 -14
  126. package/dist/model/facetHits.d.ts.map +1 -1
  127. package/dist/model/facetOrdering.d.ts +12 -12
  128. package/dist/model/facetOrdering.d.ts.map +1 -1
  129. package/dist/model/facets.d.ts +9 -9
  130. package/dist/model/facets.d.ts.map +1 -1
  131. package/dist/model/facetsStats.d.ts +18 -18
  132. package/dist/model/facetsStats.d.ts.map +1 -1
  133. package/dist/model/fetchedIndex.d.ts +46 -46
  134. package/dist/model/fetchedIndex.d.ts.map +1 -1
  135. package/dist/model/getApiKeyResponse.d.ts +4 -0
  136. package/dist/model/getApiKeyResponse.d.ts.map +1 -0
  137. package/dist/model/getDictionarySettingsResponse.d.ts +4 -4
  138. package/dist/model/getDictionarySettingsResponse.d.ts.map +1 -1
  139. package/dist/model/getLogsResponse.d.ts +4 -4
  140. package/dist/model/getLogsResponse.d.ts.map +1 -1
  141. package/dist/model/getObjectsParams.d.ts +7 -7
  142. package/dist/model/getObjectsParams.d.ts.map +1 -1
  143. package/dist/model/getObjectsRequest.d.ts +18 -0
  144. package/dist/model/getObjectsRequest.d.ts.map +1 -0
  145. package/dist/model/getObjectsResponse.d.ts +6 -6
  146. package/dist/model/getObjectsResponse.d.ts.map +1 -1
  147. package/dist/model/getTaskResponse.d.ts +4 -4
  148. package/dist/model/getTaskResponse.d.ts.map +1 -1
  149. package/dist/model/getTopUserIdsResponse.d.ts +10 -10
  150. package/dist/model/getTopUserIdsResponse.d.ts.map +1 -1
  151. package/dist/model/hasPendingMappingsResponse.d.ts +10 -10
  152. package/dist/model/hasPendingMappingsResponse.d.ts.map +1 -1
  153. package/dist/model/highlightResult.d.ts +2 -2
  154. package/dist/model/highlightResult.d.ts.map +1 -1
  155. package/dist/model/highlightResultOption.d.ts +19 -19
  156. package/dist/model/highlightResultOption.d.ts.map +1 -1
  157. package/dist/model/hit.d.ts +22 -22
  158. package/dist/model/hit.d.ts.map +1 -1
  159. package/dist/model/ignorePlurals.d.ts +4 -4
  160. package/dist/model/ignorePlurals.d.ts.map +1 -1
  161. package/dist/model/index.d.ts +163 -152
  162. package/dist/model/index.d.ts.map +1 -1
  163. package/dist/model/indexSettings.d.ts +6 -6
  164. package/dist/model/indexSettings.d.ts.map +1 -1
  165. package/dist/model/indexSettingsAsSearchParams.d.ts +162 -158
  166. package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  167. package/dist/model/languages.d.ts +9 -9
  168. package/dist/model/languages.d.ts.map +1 -1
  169. package/dist/model/listApiKeysResponse.d.ts +7 -7
  170. package/dist/model/listApiKeysResponse.d.ts.map +1 -1
  171. package/dist/model/listClustersResponse.d.ts +9 -9
  172. package/dist/model/listClustersResponse.d.ts.map +1 -1
  173. package/dist/model/listIndicesResponse.d.ts +11 -11
  174. package/dist/model/listIndicesResponse.d.ts.map +1 -1
  175. package/dist/model/listUserIdsResponse.d.ts +10 -10
  176. package/dist/model/listUserIdsResponse.d.ts.map +1 -1
  177. package/dist/model/log.d.ts +63 -63
  178. package/dist/model/log.d.ts.map +1 -1
  179. package/dist/model/logQuery.d.ts +14 -14
  180. package/dist/model/logQuery.d.ts.map +1 -1
  181. package/dist/model/logType.d.ts +1 -1
  182. package/dist/model/logType.d.ts.map +1 -1
  183. package/dist/model/matchLevel.d.ts +4 -4
  184. package/dist/model/matchLevel.d.ts.map +1 -1
  185. package/dist/model/matchedGeoLocation.d.ts +14 -14
  186. package/dist/model/matchedGeoLocation.d.ts.map +1 -1
  187. package/dist/model/mixedSearchFilters.d.ts +1 -1
  188. package/dist/model/mixedSearchFilters.d.ts.map +1 -1
  189. package/dist/model/mode.d.ts +5 -0
  190. package/dist/model/mode.d.ts.map +1 -0
  191. package/dist/model/multipleBatchRequest.d.ts +13 -0
  192. package/dist/model/multipleBatchRequest.d.ts.map +1 -0
  193. package/dist/model/multipleBatchResponse.d.ts +10 -10
  194. package/dist/model/multipleBatchResponse.d.ts.map +1 -1
  195. package/dist/model/numericFilters.d.ts +5 -5
  196. package/dist/model/numericFilters.d.ts.map +1 -1
  197. package/dist/model/operationIndexParams.d.ts +13 -13
  198. package/dist/model/operationIndexParams.d.ts.map +1 -1
  199. package/dist/model/operationType.d.ts +4 -4
  200. package/dist/model/operationType.d.ts.map +1 -1
  201. package/dist/model/optionalFilters.d.ts +5 -5
  202. package/dist/model/optionalFilters.d.ts.map +1 -1
  203. package/dist/model/params.d.ts +12 -12
  204. package/dist/model/params.d.ts.map +1 -1
  205. package/dist/model/personalization.d.ts +14 -14
  206. package/dist/model/personalization.d.ts.map +1 -1
  207. package/dist/model/promote.d.ts +3 -3
  208. package/dist/model/promote.d.ts.map +1 -1
  209. package/dist/model/promoteObjectID.d.ts +13 -13
  210. package/dist/model/promoteObjectID.d.ts.map +1 -1
  211. package/dist/model/promoteObjectIDs.d.ts +13 -13
  212. package/dist/model/promoteObjectIDs.d.ts.map +1 -1
  213. package/dist/model/queryType.d.ts +4 -4
  214. package/dist/model/queryType.d.ts.map +1 -1
  215. package/dist/model/rankingInfo.d.ts +50 -50
  216. package/dist/model/rankingInfo.d.ts.map +1 -1
  217. package/dist/model/reRankingApplyFilter.d.ts +5 -5
  218. package/dist/model/reRankingApplyFilter.d.ts.map +1 -1
  219. package/dist/model/redirect.d.ts +8 -0
  220. package/dist/model/redirect.d.ts.map +1 -0
  221. package/dist/model/redirectRuleIndexMetadata.d.ts +21 -0
  222. package/dist/model/redirectRuleIndexMetadata.d.ts.map +1 -0
  223. package/dist/model/redirectRuleIndexMetadataData.d.ts +7 -0
  224. package/dist/model/redirectRuleIndexMetadataData.d.ts.map +1 -0
  225. package/dist/model/removeStopWords.d.ts +4 -4
  226. package/dist/model/removeStopWords.d.ts.map +1 -1
  227. package/dist/model/removeUserIdResponse.d.ts +6 -6
  228. package/dist/model/removeUserIdResponse.d.ts.map +1 -1
  229. package/dist/model/removeWordsIfNoResults.d.ts +4 -4
  230. package/dist/model/removeWordsIfNoResults.d.ts.map +1 -1
  231. package/dist/model/renderingContent.d.ts +7 -7
  232. package/dist/model/renderingContent.d.ts.map +1 -1
  233. package/dist/model/replaceSourceResponse.d.ts +6 -6
  234. package/dist/model/replaceSourceResponse.d.ts.map +1 -1
  235. package/dist/model/rule.d.ts +29 -29
  236. package/dist/model/rule.d.ts.map +1 -1
  237. package/dist/model/saveObjectResponse.d.ts +14 -11
  238. package/dist/model/saveObjectResponse.d.ts.map +1 -1
  239. package/dist/model/saveSynonymResponse.d.ts +14 -14
  240. package/dist/model/saveSynonymResponse.d.ts.map +1 -1
  241. package/dist/model/scopeType.d.ts +1 -1
  242. package/dist/model/scopeType.d.ts.map +1 -1
  243. package/dist/model/searchDictionaryEntriesParams.d.ts +21 -21
  244. package/dist/model/searchDictionaryEntriesParams.d.ts.map +1 -1
  245. package/dist/model/searchForFacetValuesRequest.d.ts +14 -14
  246. package/dist/model/searchForFacetValuesRequest.d.ts.map +1 -1
  247. package/dist/model/searchForFacetValuesResponse.d.ts +12 -4
  248. package/dist/model/searchForFacetValuesResponse.d.ts.map +1 -1
  249. package/dist/model/searchForFacets.d.ts +3 -3
  250. package/dist/model/searchForFacets.d.ts.map +1 -1
  251. package/dist/model/searchForFacetsOptions.d.ts +20 -20
  252. package/dist/model/searchForFacetsOptions.d.ts.map +1 -1
  253. package/dist/model/searchForHits.d.ts +3 -3
  254. package/dist/model/searchForHits.d.ts.map +1 -1
  255. package/dist/model/searchForHitsOptions.d.ts +12 -12
  256. package/dist/model/searchForHitsOptions.d.ts.map +1 -1
  257. package/dist/model/searchHits.d.ts +12 -4
  258. package/dist/model/searchHits.d.ts.map +1 -1
  259. package/dist/model/searchMethodParams.d.ts +6 -6
  260. package/dist/model/searchMethodParams.d.ts.map +1 -1
  261. package/dist/model/searchParams.d.ts +3 -3
  262. package/dist/model/searchParams.d.ts.map +1 -1
  263. package/dist/model/searchParamsObject.d.ts +3 -3
  264. package/dist/model/searchParamsObject.d.ts.map +1 -1
  265. package/dist/model/searchParamsQuery.d.ts +6 -6
  266. package/dist/model/searchParamsQuery.d.ts.map +1 -1
  267. package/dist/model/searchParamsString.d.ts +6 -6
  268. package/dist/model/searchParamsString.d.ts.map +1 -1
  269. package/dist/model/searchQuery.d.ts +3 -3
  270. package/dist/model/searchQuery.d.ts.map +1 -1
  271. package/dist/model/searchResponse.d.ts +3 -3
  272. package/dist/model/searchResponse.d.ts.map +1 -1
  273. package/dist/model/searchResponses.d.ts +4 -4
  274. package/dist/model/searchResponses.d.ts.map +1 -1
  275. package/dist/model/searchResult.d.ts +4 -0
  276. package/dist/model/searchResult.d.ts.map +1 -0
  277. package/dist/model/searchRulesParams.d.ts +31 -31
  278. package/dist/model/searchRulesParams.d.ts.map +1 -1
  279. package/dist/model/searchRulesResponse.d.ts +19 -19
  280. package/dist/model/searchRulesResponse.d.ts.map +1 -1
  281. package/dist/model/searchStrategy.d.ts +4 -1
  282. package/dist/model/searchStrategy.d.ts.map +1 -1
  283. package/dist/model/searchSynonymsParams.d.ts +16 -6
  284. package/dist/model/searchSynonymsParams.d.ts.map +1 -1
  285. package/dist/model/searchSynonymsResponse.d.ts +11 -11
  286. package/dist/model/searchSynonymsResponse.d.ts.map +1 -1
  287. package/dist/model/searchTypeDefault.d.ts +4 -4
  288. package/dist/model/searchTypeDefault.d.ts.map +1 -1
  289. package/dist/model/searchTypeFacet.d.ts +4 -4
  290. package/dist/model/searchTypeFacet.d.ts.map +1 -1
  291. package/dist/model/searchUserIdsParams.d.ts +21 -21
  292. package/dist/model/searchUserIdsParams.d.ts.map +1 -1
  293. package/dist/model/searchUserIdsResponse.d.ts +26 -26
  294. package/dist/model/searchUserIdsResponse.d.ts.map +1 -1
  295. package/dist/model/semanticSearch.d.ts +10 -0
  296. package/dist/model/semanticSearch.d.ts.map +1 -0
  297. package/dist/model/snippetResult.d.ts +2 -2
  298. package/dist/model/snippetResult.d.ts.map +1 -1
  299. package/dist/model/snippetResultOption.d.ts +11 -11
  300. package/dist/model/snippetResultOption.d.ts.map +1 -1
  301. package/dist/model/sortRemainingBy.d.ts +4 -4
  302. package/dist/model/sortRemainingBy.d.ts.map +1 -1
  303. package/dist/model/source.d.ts +13 -13
  304. package/dist/model/source.d.ts.map +1 -1
  305. package/dist/model/standardEntries.d.ts +17 -17
  306. package/dist/model/standardEntries.d.ts.map +1 -1
  307. package/dist/model/synonymHit.d.ts +35 -37
  308. package/dist/model/synonymHit.d.ts.map +1 -1
  309. package/dist/model/synonymType.d.ts +4 -4
  310. package/dist/model/synonymType.d.ts.map +1 -1
  311. package/dist/model/tagFilters.d.ts +5 -5
  312. package/dist/model/tagFilters.d.ts.map +1 -1
  313. package/dist/model/taskStatus.d.ts +4 -1
  314. package/dist/model/taskStatus.d.ts.map +1 -1
  315. package/dist/model/timeRange.d.ts +10 -10
  316. package/dist/model/timeRange.d.ts.map +1 -1
  317. package/dist/model/typoTolerance.d.ts +5 -5
  318. package/dist/model/typoTolerance.d.ts.map +1 -1
  319. package/dist/model/typoToleranceEnum.d.ts +1 -1
  320. package/dist/model/typoToleranceEnum.d.ts.map +1 -1
  321. package/dist/model/updateApiKeyResponse.d.ts +10 -10
  322. package/dist/model/updateApiKeyResponse.d.ts.map +1 -1
  323. package/dist/model/updatedAtResponse.d.ts +13 -13
  324. package/dist/model/updatedAtResponse.d.ts.map +1 -1
  325. package/dist/model/updatedAtWithObjectIdResponse.d.ts +17 -17
  326. package/dist/model/updatedAtWithObjectIdResponse.d.ts.map +1 -1
  327. package/dist/model/updatedRuleResponse.d.ts +14 -14
  328. package/dist/model/updatedRuleResponse.d.ts.map +1 -1
  329. package/dist/model/userHighlightResult.d.ts +5 -11
  330. package/dist/model/userHighlightResult.d.ts.map +1 -1
  331. package/dist/model/userHit.d.ts +24 -24
  332. package/dist/model/userHit.d.ts.map +1 -1
  333. package/dist/model/userId.d.ts +21 -21
  334. package/dist/model/userId.d.ts.map +1 -1
  335. package/dist/model/value.d.ts +8 -8
  336. package/dist/model/value.d.ts.map +1 -1
  337. package/dist/src/searchClient.d.ts +845 -673
  338. package/dist/src/searchClient.d.ts.map +1 -1
  339. package/index.js +1 -1
  340. package/model/acl.ts +5 -1
  341. package/model/action.ts +2 -2
  342. package/model/addApiKeyResponse.ts +4 -3
  343. package/model/advancedSyntaxFeatures.ts +1 -1
  344. package/model/alternativesAsExact.ts +1 -1
  345. package/model/anchoring.ts +2 -2
  346. package/model/apiKey.ts +17 -10
  347. package/model/aroundPrecision.ts +8 -0
  348. package/model/aroundPrecisionFromValueInner.ts +7 -0
  349. package/model/aroundRadius.ts +2 -2
  350. package/model/aroundRadiusAll.ts +1 -1
  351. package/model/assignUserIdParams.ts +2 -2
  352. package/model/attributeToUpdate.ts +5 -0
  353. package/model/automaticFacetFilter.ts +3 -1
  354. package/model/automaticFacetFilters.ts +1 -1
  355. package/model/baseGetApiKeyResponse.ts +13 -0
  356. package/model/baseIndexSettings.ts +38 -15
  357. package/model/baseSearchParams.ts +1 -1
  358. package/model/baseSearchParamsWithoutQuery.ts +69 -42
  359. package/model/baseSearchResponse.ts +61 -31
  360. package/model/batchAssignUserIdsParams.ts +4 -3
  361. package/model/batchDictionaryEntriesParams.ts +5 -4
  362. package/model/batchDictionaryEntriesRequest.ts +2 -1
  363. package/model/batchParams.ts +4 -4
  364. package/model/batchRequest.ts +12 -0
  365. package/model/batchResponse.ts +4 -3
  366. package/model/batchWriteParams.ts +4 -4
  367. package/model/browseParams.ts +6 -0
  368. package/model/browseParamsObject.ts +6 -0
  369. package/model/browseResponse.ts +4 -4
  370. package/model/builtInOperation.ts +3 -2
  371. package/model/builtInOperationType.ts +2 -2
  372. package/model/clientMethodProps.ts +169 -166
  373. package/model/condition.ts +4 -1
  374. package/model/consequence.ts +10 -6
  375. package/model/consequenceHide.ts +3 -3
  376. package/model/consequenceParams.ts +1 -1
  377. package/model/consequenceQuery.ts +1 -1
  378. package/model/consequenceQueryObject.ts +2 -1
  379. package/model/createdAtResponse.ts +3 -3
  380. package/model/cursor.ts +8 -0
  381. package/model/deleteApiKeyResponse.ts +2 -2
  382. package/model/deleteByParams.ts +36 -0
  383. package/model/deleteSourceResponse.ts +2 -2
  384. package/model/deletedAtResponse.ts +5 -4
  385. package/model/dictionaryAction.ts +1 -1
  386. package/model/dictionaryEntry.ts +12 -7
  387. package/model/dictionaryEntryState.ts +2 -2
  388. package/model/dictionaryLanguage.ts +3 -3
  389. package/model/dictionarySettingsParams.ts +2 -2
  390. package/model/dictionaryType.ts +1 -1
  391. package/model/distinct.ts +6 -0
  392. package/model/edit.ts +3 -1
  393. package/model/editType.ts +1 -1
  394. package/model/errorBase.ts +1 -1
  395. package/model/exactOnSingleWordQuery.ts +2 -2
  396. package/model/exhaustive.ts +31 -0
  397. package/model/facetFilters.ts +2 -2
  398. package/model/facetHits.ts +6 -4
  399. package/model/facetOrdering.ts +4 -3
  400. package/model/facets.ts +2 -2
  401. package/model/facetsStats.ts +8 -5
  402. package/model/fetchedIndex.ts +13 -3
  403. package/model/getApiKeyResponse.ts +6 -0
  404. package/model/getDictionarySettingsResponse.ts +1 -1
  405. package/model/getLogsResponse.ts +1 -1
  406. package/model/getObjectsParams.ts +4 -4
  407. package/model/getObjectsRequest.ts +21 -0
  408. package/model/getObjectsResponse.ts +4 -4
  409. package/model/getTaskResponse.ts +1 -1
  410. package/model/getTopUserIdsResponse.ts +3 -3
  411. package/model/hasPendingMappingsResponse.ts +4 -3
  412. package/model/highlightResult.ts +5 -2
  413. package/model/highlightResultOption.ts +5 -2
  414. package/model/hit.ts +7 -3
  415. package/model/ignorePlurals.ts +2 -2
  416. package/model/index.ts +21 -10
  417. package/model/indexSettings.ts +2 -2
  418. package/model/indexSettingsAsSearchParams.ts +92 -44
  419. package/model/languages.ts +4 -2
  420. package/model/listApiKeysResponse.ts +4 -4
  421. package/model/listClustersResponse.ts +3 -3
  422. package/model/listIndicesResponse.ts +4 -3
  423. package/model/listUserIdsResponse.ts +3 -3
  424. package/model/log.ts +22 -8
  425. package/model/logQuery.ts +4 -2
  426. package/model/logType.ts +1 -1
  427. package/model/matchLevel.ts +1 -1
  428. package/model/matchedGeoLocation.ts +3 -1
  429. package/model/mixedSearchFilters.ts +1 -1
  430. package/model/mode.ts +6 -0
  431. package/model/multipleBatchRequest.ts +17 -0
  432. package/model/multipleBatchResponse.ts +6 -5
  433. package/model/numericFilters.ts +2 -2
  434. package/model/operationIndexParams.ts +5 -3
  435. package/model/operationType.ts +2 -2
  436. package/model/optionalFilters.ts +2 -2
  437. package/model/params.ts +5 -2
  438. package/model/personalization.ts +3 -1
  439. package/model/promote.ts +1 -1
  440. package/model/promoteObjectID.ts +5 -4
  441. package/model/promoteObjectIDs.ts +5 -4
  442. package/model/queryType.ts +2 -2
  443. package/model/rankingInfo.ts +13 -1
  444. package/model/reRankingApplyFilter.ts +2 -2
  445. package/model/redirect.ts +10 -0
  446. package/model/redirectRuleIndexMetadata.ts +27 -0
  447. package/model/redirectRuleIndexMetadataData.ts +8 -0
  448. package/model/removeStopWords.ts +2 -2
  449. package/model/removeUserIdResponse.ts +2 -2
  450. package/model/removeWordsIfNoResults.ts +2 -2
  451. package/model/renderingContent.ts +2 -2
  452. package/model/replaceSourceResponse.ts +2 -2
  453. package/model/rule.ts +11 -6
  454. package/model/saveObjectResponse.ts +10 -5
  455. package/model/saveSynonymResponse.ts +6 -4
  456. package/model/scopeType.ts +1 -1
  457. package/model/searchDictionaryEntriesParams.ts +9 -6
  458. package/model/searchForFacetValuesRequest.ts +5 -3
  459. package/model/searchForFacetValuesResponse.ts +11 -1
  460. package/model/searchForFacets.ts +1 -1
  461. package/model/searchForFacetsOptions.ts +8 -4
  462. package/model/searchForHits.ts +1 -1
  463. package/model/searchForHitsOptions.ts +3 -2
  464. package/model/searchHits.ts +13 -3
  465. package/model/searchMethodParams.ts +2 -1
  466. package/model/searchParams.ts +1 -1
  467. package/model/searchParamsObject.ts +1 -1
  468. package/model/searchParamsQuery.ts +2 -2
  469. package/model/searchParamsString.ts +2 -2
  470. package/model/searchQuery.ts +1 -1
  471. package/model/searchResponse.ts +3 -2
  472. package/model/searchResponses.ts +4 -4
  473. package/model/searchResult.ts +8 -0
  474. package/model/searchRulesParams.ts +15 -9
  475. package/model/searchRulesResponse.ts +4 -1
  476. package/model/searchStrategy.ts +4 -1
  477. package/model/searchSynonymsParams.ts +16 -2
  478. package/model/searchSynonymsResponse.ts +4 -3
  479. package/model/searchTypeDefault.ts +2 -2
  480. package/model/searchTypeFacet.ts +2 -2
  481. package/model/searchUserIdsParams.ts +8 -5
  482. package/model/searchUserIdsResponse.ts +10 -6
  483. package/model/semanticSearch.ts +11 -0
  484. package/model/snippetResult.ts +5 -2
  485. package/model/snippetResultOption.ts +3 -2
  486. package/model/sortRemainingBy.ts +2 -2
  487. package/model/source.ts +5 -4
  488. package/model/standardEntries.ts +7 -5
  489. package/model/synonymHit.ts +14 -9
  490. package/model/synonymType.ts +2 -2
  491. package/model/tagFilters.ts +2 -2
  492. package/model/taskStatus.ts +4 -1
  493. package/model/timeRange.ts +2 -1
  494. package/model/typoTolerance.ts +2 -2
  495. package/model/typoToleranceEnum.ts +1 -1
  496. package/model/updateApiKeyResponse.ts +4 -3
  497. package/model/updatedAtResponse.ts +5 -4
  498. package/model/updatedAtWithObjectIdResponse.ts +7 -5
  499. package/model/updatedRuleResponse.ts +6 -4
  500. package/model/userHighlightResult.ts +4 -9
  501. package/model/userHit.ts +7 -2
  502. package/model/userId.ts +6 -3
  503. package/model/value.ts +2 -1
  504. package/package.json +32 -13
  505. package/dist/model/attributeOrBuiltInOperation.d.ts +0 -3
  506. package/dist/model/attributeOrBuiltInOperation.d.ts.map +0 -1
  507. package/dist/model/baseBrowseResponse.d.ts +0 -7
  508. package/dist/model/baseBrowseResponse.d.ts.map +0 -1
  509. package/dist/model/batchOperation.d.ts +0 -9
  510. package/dist/model/batchOperation.d.ts.map +0 -1
  511. package/dist/model/browseRequest.d.ts +0 -11
  512. package/dist/model/browseRequest.d.ts.map +0 -1
  513. package/dist/model/createdAtObject.d.ts +0 -7
  514. package/dist/model/createdAtObject.d.ts.map +0 -1
  515. package/dist/model/key.d.ts +0 -4
  516. package/dist/model/key.d.ts.map +0 -1
  517. package/dist/model/multipleBatchOperation.d.ts +0 -13
  518. package/dist/model/multipleBatchOperation.d.ts.map +0 -1
  519. package/dist/model/multipleGetObjectsParams.d.ts +0 -18
  520. package/dist/model/multipleGetObjectsParams.d.ts.map +0 -1
  521. package/dist/model/synonymHitHighlightResult.d.ts +0 -12
  522. package/dist/model/synonymHitHighlightResult.d.ts.map +0 -1
  523. package/model/attributeOrBuiltInOperation.ts +0 -5
  524. package/model/baseBrowseResponse.ts +0 -8
  525. package/model/batchOperation.ts +0 -11
  526. package/model/browseRequest.ts +0 -12
  527. package/model/createdAtObject.ts +0 -8
  528. package/model/key.ts +0 -6
  529. package/model/multipleBatchOperation.ts +0 -15
  530. package/model/multipleGetObjectsParams.ts +0 -19
  531. package/model/synonymHitHighlightResult.ts +0 -14
package/model/log.ts CHANGED
@@ -1,66 +1,80 @@
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
11
  /**
11
12
  * HTTP method of the performed request.
12
13
  */
13
14
  method: string;
15
+
14
16
  /**
15
17
  * HTTP response code.
16
18
  */
17
19
  answer_code: string;
20
+
18
21
  /**
19
- * Request body. Truncated after 1000 characters.
22
+ * Request body. Truncated after 1,000 characters.
20
23
  */
21
24
  query_body: string;
25
+
22
26
  /**
23
- * Answer body. Truncated after 1000 characters.
27
+ * Answer body. Truncated after 1,000 characters.
24
28
  */
25
29
  answer: string;
30
+
26
31
  /**
27
32
  * Request URL.
28
33
  */
29
34
  url: string;
35
+
30
36
  /**
31
- * IP of the client which performed the request.
37
+ * IP address of the client that performed the request.
32
38
  */
33
39
  ip: string;
40
+
34
41
  /**
35
- * Request Headers (API Key is obfuscated).
42
+ * Request headers (API key is obfuscated).
36
43
  */
37
44
  query_headers: string;
45
+
38
46
  /**
39
47
  * SHA1 signature of the log entry.
40
48
  */
41
49
  sha1: string;
50
+
42
51
  /**
43
52
  * Number of API calls.
44
53
  */
45
54
  nb_api_calls: string;
55
+
46
56
  /**
47
- * Processing time for the query. It doesn\'t include network time.
57
+ * Processing time for the query. Doesn\'t include network time.
48
58
  */
49
59
  processing_time_ms: string;
60
+
50
61
  /**
51
62
  * Index targeted by the query.
52
63
  */
53
64
  index?: string;
65
+
54
66
  /**
55
67
  * Query parameters sent with the request.
56
68
  */
57
69
  query_params?: string;
70
+
58
71
  /**
59
72
  * Number of hits returned for the query.
60
73
  */
61
74
  query_nb_hits?: string;
75
+
62
76
  /**
63
- * Array of all performed queries for the given request.
77
+ * Performed queries for the given request.
64
78
  */
65
79
  inner_queries?: LogQuery[];
66
80
  };
package/model/logQuery.ts CHANGED
@@ -1,16 +1,18 @@
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
  /**
5
5
  * Index targeted by the query.
6
6
  */
7
7
  index_name?: string;
8
+
8
9
  /**
9
10
  * User identifier.
10
11
  */
11
12
  user_token?: string;
13
+
12
14
  /**
13
- * QueryID for the given query.
15
+ * Unique query identifier.
14
16
  */
15
17
  query_id?: string;
16
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,14 +1,16 @@
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
  /**
5
5
  * Latitude of the matched location.
6
6
  */
7
7
  lat?: number;
8
+
8
9
  /**
9
10
  * Longitude of the matched location.
10
11
  */
11
12
  lng?: number;
13
+
12
14
  /**
13
15
  * Distance between the matched location and the search location (in meters).
14
16
  */
@@ -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';
@@ -0,0 +1,17 @@
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
+ import type { Action } from './action';
4
+
5
+ export type MultipleBatchRequest = {
6
+ action: Action;
7
+
8
+ /**
9
+ * Operation arguments (varies with specified `action`).
10
+ */
11
+ body: Record<string, any>;
12
+
13
+ /**
14
+ * Index to target for this operation.
15
+ */
16
+ indexName: string;
17
+ };
@@ -1,12 +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
- taskID?: Record<string, any>;
7
+ taskID: Record<string, number>;
8
+
8
9
  /**
9
- * List of objectID.
10
+ * Unique object (record) identifiers.
10
11
  */
11
- objectIDs?: string[];
12
+ objectIDs: string[];
12
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,16 +1,18 @@
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';
5
5
 
6
6
  export type OperationIndexParams = {
7
7
  operation: OperationType;
8
+
8
9
  /**
9
- * The Algolia index name.
10
+ * Algolia index name.
10
11
  */
11
12
  destination: string;
13
+
12
14
  /**
13
- * 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.
14
16
  */
15
17
  scope?: ScopeType[];
16
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,15 +1,18 @@
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;
12
+
12
13
  automaticFacetFilters?: AutomaticFacetFilters;
14
+
13
15
  automaticOptionalFacetFilters?: AutomaticFacetFilters;
16
+
14
17
  renderingContent?: RenderingContent;
15
18
  };
@@ -1,14 +1,16 @@
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
  /**
5
5
  * The score of the filters.
6
6
  */
7
7
  filtersScore?: number;
8
+
8
9
  /**
9
10
  * The score of the ranking.
10
11
  */
11
12
  rankingScore?: number;
13
+
12
14
  /**
13
15
  * The score of the event.
14
16
  */
package/model/promote.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
  import type { PromoteObjectID } from './promoteObjectID';
4
4
  import type { PromoteObjectIDs } from './promoteObjectIDs';
@@ -1,15 +1,16 @@
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
- * Single objectID to promote as hits.
4
+ * Record to promote.
5
5
  */
6
6
  export type PromoteObjectID = {
7
7
  /**
8
- * Unique identifier of the object to promote.
8
+ * Unique identifier of the record to promote.
9
9
  */
10
10
  objectID: string;
11
+
11
12
  /**
12
- * The position to promote the objects to (zero-based). If you pass objectIDs, the objects are placed at this position as a group. For example, if you pass four objectIDs to position 0, the objects take the first four positions.
13
+ * The position to promote the records to. If you pass objectIDs, the records are placed at this position as a group. For example, if you pronmote four objectIDs to position 0, the records take the first four positions.
13
14
  */
14
15
  position: number;
15
16
  };
@@ -1,15 +1,16 @@
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
- * Multiple objectIDs to promote as hits.
4
+ * Records to promote.
5
5
  */
6
6
  export type PromoteObjectIDs = {
7
7
  /**
8
- * Array of unique identifiers of the objects to promote.
8
+ * Unique identifiers of the records to promote.
9
9
  */
10
10
  objectIDs: string[];
11
+
11
12
  /**
12
- * The position to promote the objects to (zero-based). If you pass objectIDs, the objects are placed at this position as a group. For example, if you pass four objectIDs to position 0, the objects take the first four positions.
13
+ * The position to promote the records to. If you pass objectIDs, the records are placed at this position as a group. For example, if you pronmote four objectIDs to position 0, the records take the first four positions.
13
14
  */
14
15
  position: number;
15
16
  };
@@ -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
- * Controls if and how query words are interpreted as prefixes.
4
+ * Determines how query words are [interpreted as prefixes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching/).
5
5
  */
6
6
  export type QueryType = 'prefixAll' | 'prefixLast' | 'prefixNone';
@@ -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 { MatchedGeoLocation } from './matchedGeoLocation';
4
4
  import type { Personalization } from './personalization';
@@ -8,44 +8,56 @@ export type RankingInfo = {
8
8
  * This field is reserved for advanced usage.
9
9
  */
10
10
  filters: number;
11
+
11
12
  /**
12
13
  * Position of the most important matched attribute in the attributes to index list.
13
14
  */
14
15
  firstMatchedWord: number;
16
+
15
17
  /**
16
18
  * Distance between the geo location in the search query and the best matching geo location in the record, divided by the geo precision (in meters).
17
19
  */
18
20
  geoDistance: number;
21
+
19
22
  /**
20
23
  * Precision used when computing the geo distance, in meters.
21
24
  */
22
25
  geoPrecision?: number;
26
+
23
27
  matchedGeoLocation?: MatchedGeoLocation;
28
+
24
29
  personalization?: Personalization;
30
+
25
31
  /**
26
32
  * Number of exactly matched words.
27
33
  */
28
34
  nbExactWords: number;
35
+
29
36
  /**
30
37
  * Number of typos encountered when matching the record.
31
38
  */
32
39
  nbTypos: number;
40
+
33
41
  /**
34
42
  * Present and set to true if a Rule promoted the hit.
35
43
  */
36
44
  promoted: boolean;
45
+
37
46
  /**
38
47
  * When the query contains more than one word, the sum of the distances between matched words (in meters).
39
48
  */
40
49
  proximityDistance?: number;
50
+
41
51
  /**
42
52
  * Custom ranking for the object, expressed as a single integer value.
43
53
  */
44
54
  userScore: number;
55
+
45
56
  /**
46
57
  * Number of matched words, including prefixes and typos.
47
58
  */
48
59
  words: number;
60
+
49
61
  /**
50
62
  * Wether the record are promoted by the re-ranking strategy.
51
63
  */
@@ -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
- * When Dynamic Re-Ranking is enabled, only records that match these filters will be impacted by Dynamic Re-Ranking.
6
+ * When [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) is enabled, only records that match these filters will be affected by Dynamic Re-Ranking.
7
7
  */
8
8
  export type ReRankingApplyFilter = MixedSearchFilters[] | string;
@@ -0,0 +1,10 @@
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
+ import type { RedirectRuleIndexMetadata } from './redirectRuleIndexMetadata';
4
+
5
+ /**
6
+ * [Redirect results to a URL](https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/redirects/).
7
+ */
8
+ export type Redirect = {
9
+ index?: RedirectRuleIndexMetadata[];
10
+ };
@@ -0,0 +1,27 @@
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
+ import type { RedirectRuleIndexMetadataData } from './redirectRuleIndexMetadataData';
4
+
5
+ export type RedirectRuleIndexMetadata = {
6
+ /**
7
+ * Source index for the redirect rule.
8
+ */
9
+ source: string;
10
+
11
+ /**
12
+ * Destination index for the redirect rule.
13
+ */
14
+ dest: string;
15
+
16
+ /**
17
+ * Reason for the redirect rule.
18
+ */
19
+ reason: string;
20
+
21
+ /**
22
+ * Redirect rule status.
23
+ */
24
+ succeed: boolean;
25
+
26
+ data: RedirectRuleIndexMetadataData;
27
+ };
@@ -0,0 +1,8 @@
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
+ * Redirect rule data.
5
+ */
6
+ export type RedirectRuleIndexMetadataData = {
7
+ ruleObjectID: string;
8
+ };
@@ -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
- * Removes stop (common) words from the query before executing it. RemoveStopWords is used in conjunction with the queryLanguages setting. List: language ISO codes for which ignoring plurals should be enabled. This list will override any values that you may have set in queryLanguages. True: enables the stop word functionality, ensuring that stop words are removed from consideration in a search. The languages supported here are either every language, or those set by queryLanguages. False: disables stop word functionality, allowing stop words to be taken into account in a search.
4
+ * Removes stop (common) words from the query before executing it. `removeStopWords` is used in conjunction with the `queryLanguages` setting. _list_: language ISO codes for which stop words should be enabled. This list will override any values that you may have set in `queryLanguages`. _true_: enables the stop words feature, ensuring that stop words are removed from consideration in a search. The languages supported here are either [every language](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/) (this is the default) or those set by `queryLanguages`. _false_: turns off the stop words feature, allowing stop words to be taken into account in a search.
5
5
  */
6
6
  export type RemoveStopWords = string[] | boolean;
@@ -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
  export type RemoveUserIdResponse = {
4
4
  /**
5
- * Date of deletion (ISO-8601 format).
5
+ * Timestamp of deletion in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
6
6
  */
7
7
  deletedAt: string;
8
8
  };
@@ -1,7 +1,7 @@
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
- * Selects a strategy to remove words from the query when it doesn\'t match any hits.
4
+ * Strategy to [remove words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results/) from the query when it doesn\'t match any hits.
5
5
  */
6
6
  export type RemoveWordsIfNoResults =
7
7
  | 'allOptional'
@@ -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 { FacetOrdering } from './facetOrdering';
4
4
 
5
5
  /**
6
- * Content defining how the search interface should be rendered. Can be set via the settings for a default value and can be overridden via rules.
6
+ * Extra content for the search UI, for example, to control the [ordering and display of facets](https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/merchandising-facets/#merchandise-facets-and-their-values-in-the-manual-editor). You can set a default value and dynamically override it with [Rules](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/).
7
7
  */
8
8
  export type RenderingContent = {
9
9
  facetOrdering?: FacetOrdering;
@@ -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
  export type ReplaceSourceResponse = {
4
4
  /**
5
- * Date of last update (ISO-8601 format).
5
+ * Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
6
6
  */
7
7
  updatedAt: string;
8
8
  };
package/model/rule.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
  import type { Condition } from './condition';
4
4
  import type { Consequence } from './consequence';
@@ -9,24 +9,29 @@ import type { TimeRange } from './timeRange';
9
9
  */
10
10
  export type Rule = {
11
11
  /**
12
- * Unique identifier of the object.
12
+ * Unique identifier for a rule object.
13
13
  */
14
14
  objectID: string;
15
+
15
16
  /**
16
- * A list of conditions that should apply to activate a Rule. You can use up to 25 conditions per Rule.
17
+ * [Conditions](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#conditions) required to activate a rule. You can use up to 25 conditions per rule.
17
18
  */
18
19
  conditions?: Condition[];
20
+
19
21
  consequence?: Consequence;
22
+
20
23
  /**
21
- * This field is intended for Rule management purposes, in particular to ease searching for Rules and presenting them to human readers. It\'s not interpreted by the API.
24
+ * Description of the rule\'s purpose. This can be helpful for display in the Algolia dashboard.
22
25
  */
23
26
  description?: string;
27
+
24
28
  /**
25
- * Whether the Rule is enabled. Disabled Rules remain in the index, but aren\'t applied at query time.
29
+ * Indicates whether to enable the rule. If it isn\'t enabled, it isn\'t applied at query time.
26
30
  */
27
31
  enabled?: boolean;
32
+
28
33
  /**
29
- * By default, Rules are permanently valid. When validity periods are specified, the Rule applies only during those periods; it\'s ignored the rest of the time. The list must not be empty.
34
+ * If you specify a validity period, the rule _only_ applies only during that period. If specified, the array must not be empty.
30
35
  */
31
36
  validity?: TimeRange[];
32
37
  };
@@ -1,13 +1,18 @@
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 SaveObjectResponse = {
4
- createdAt?: string;
5
4
  /**
6
- * TaskID of the task to wait for.
5
+ * Date of creation (ISO-8601 format).
7
6
  */
8
- taskID?: number;
7
+ createdAt: string;
8
+
9
+ /**
10
+ * Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task\'s progress with the `task` operation and this `taskID`.
11
+ */
12
+ taskID: number;
13
+
9
14
  /**
10
- * Unique identifier of the object.
15
+ * Unique object identifier.
11
16
  */
12
17
  objectID?: string;
13
18
  };