@algolia/client-search 5.0.0-alpha.11 → 5.0.0-alpha.110

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 (519) hide show
  1. package/dist/builds/browser.d.ts +88 -5
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +106 -5
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/{client-search.cjs.js → client-search.cjs} +2215 -1991
  6. package/dist/client-search.esm.browser.js +2403 -2242
  7. package/dist/client-search.esm.node.js +2216 -1990
  8. package/dist/client-search.umd.js +2 -2
  9. package/dist/model/acl.d.ts +4 -4
  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/apiKeyOperation.d.ts +2 -0
  24. package/dist/model/apiKeyOperation.d.ts.map +1 -0
  25. package/dist/model/aroundPrecision.d.ts +6 -0
  26. package/dist/model/aroundPrecision.d.ts.map +1 -0
  27. package/dist/model/aroundPrecisionFromValueInner.d.ts +14 -0
  28. package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -0
  29. package/dist/model/aroundRadius.d.ts +5 -5
  30. package/dist/model/aroundRadius.d.ts.map +1 -1
  31. package/dist/model/aroundRadiusAll.d.ts +4 -1
  32. package/dist/model/aroundRadiusAll.d.ts.map +1 -1
  33. package/dist/model/assignUserIdParams.d.ts +9 -9
  34. package/dist/model/assignUserIdParams.d.ts.map +1 -1
  35. package/dist/model/attributeToUpdate.d.ts +2 -2
  36. package/dist/model/attributeToUpdate.d.ts.map +1 -1
  37. package/dist/model/automaticFacetFilter.d.ts +17 -17
  38. package/dist/model/automaticFacetFilter.d.ts.map +1 -1
  39. package/dist/model/automaticFacetFilters.d.ts +5 -5
  40. package/dist/model/automaticFacetFilters.d.ts.map +1 -1
  41. package/dist/model/baseGetApiKeyResponse.d.ts +10 -10
  42. package/dist/model/baseGetApiKeyResponse.d.ts.map +1 -1
  43. package/dist/model/baseIndexSettings.d.ts +71 -58
  44. package/dist/model/baseIndexSettings.d.ts.map +1 -1
  45. package/dist/model/baseSearchParams.d.ts +3 -3
  46. package/dist/model/baseSearchParams.d.ts.map +1 -1
  47. package/dist/model/baseSearchParamsWithoutQuery.d.ts +114 -122
  48. package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  49. package/dist/model/baseSearchResponse.d.ts +109 -101
  50. package/dist/model/baseSearchResponse.d.ts.map +1 -1
  51. package/dist/model/batchAssignUserIdsParams.d.ts +13 -13
  52. package/dist/model/batchAssignUserIdsParams.d.ts.map +1 -1
  53. package/dist/model/batchDictionaryEntriesParams.d.ts +14 -14
  54. package/dist/model/batchDictionaryEntriesParams.d.ts.map +1 -1
  55. package/dist/model/batchDictionaryEntriesRequest.d.ts +6 -6
  56. package/dist/model/batchDictionaryEntriesRequest.d.ts.map +1 -1
  57. package/dist/model/batchParams.d.ts +7 -7
  58. package/dist/model/batchParams.d.ts.map +1 -1
  59. package/dist/model/batchRequest.d.ts +8 -8
  60. package/dist/model/batchRequest.d.ts.map +1 -1
  61. package/dist/model/batchResponse.d.ts +10 -10
  62. package/dist/model/batchResponse.d.ts.map +1 -1
  63. package/dist/model/batchWriteParams.d.ts +7 -7
  64. package/dist/model/batchWriteParams.d.ts.map +1 -1
  65. package/dist/model/browseParams.d.ts +3 -3
  66. package/dist/model/browseParams.d.ts.map +1 -1
  67. package/dist/model/browseParamsObject.d.ts +3 -3
  68. package/dist/model/browseParamsObject.d.ts.map +1 -1
  69. package/dist/model/browseResponse.d.ts +4 -4
  70. package/dist/model/browseResponse.d.ts.map +1 -1
  71. package/dist/model/builtInOperation.d.ts +11 -11
  72. package/dist/model/builtInOperation.d.ts.map +1 -1
  73. package/dist/model/builtInOperationType.d.ts +4 -4
  74. package/dist/model/builtInOperationType.d.ts.map +1 -1
  75. package/dist/model/clientMethodProps.d.ts +765 -714
  76. package/dist/model/clientMethodProps.d.ts.map +1 -1
  77. package/dist/model/condition.d.ts +20 -16
  78. package/dist/model/condition.d.ts.map +1 -1
  79. package/dist/model/consequence.d.ts +25 -25
  80. package/dist/model/consequence.d.ts.map +1 -1
  81. package/dist/model/consequenceHide.d.ts +9 -9
  82. package/dist/model/consequenceHide.d.ts.map +1 -1
  83. package/dist/model/consequenceParams.d.ts +4 -4
  84. package/dist/model/consequenceParams.d.ts.map +1 -1
  85. package/dist/model/consequenceQuery.d.ts +5 -5
  86. package/dist/model/consequenceQuery.d.ts.map +1 -1
  87. package/dist/model/consequenceQueryObject.d.ts +11 -11
  88. package/dist/model/consequenceQueryObject.d.ts.map +1 -1
  89. package/dist/model/createdAtResponse.d.ts +9 -9
  90. package/dist/model/createdAtResponse.d.ts.map +1 -1
  91. package/dist/model/cursor.d.ts +6 -6
  92. package/dist/model/cursor.d.ts.map +1 -1
  93. package/dist/model/deleteApiKeyResponse.d.ts +6 -6
  94. package/dist/model/deleteApiKeyResponse.d.ts.map +1 -1
  95. package/dist/model/deleteByParams.d.ts +27 -0
  96. package/dist/model/deleteByParams.d.ts.map +1 -0
  97. package/dist/model/deleteSourceResponse.d.ts +6 -6
  98. package/dist/model/deleteSourceResponse.d.ts.map +1 -1
  99. package/dist/model/deletedAtResponse.d.ts +13 -13
  100. package/dist/model/deletedAtResponse.d.ts.map +1 -1
  101. package/dist/model/dictionaryAction.d.ts +4 -4
  102. package/dist/model/dictionaryAction.d.ts.map +1 -1
  103. package/dist/model/dictionaryEntry.d.ts +25 -27
  104. package/dist/model/dictionaryEntry.d.ts.map +1 -1
  105. package/dist/model/dictionaryEntryState.d.ts +4 -4
  106. package/dist/model/dictionaryEntryState.d.ts.map +1 -1
  107. package/dist/model/dictionaryLanguage.d.ts +9 -9
  108. package/dist/model/dictionaryLanguage.d.ts.map +1 -1
  109. package/dist/model/dictionarySettingsParams.d.ts +7 -7
  110. package/dist/model/dictionarySettingsParams.d.ts.map +1 -1
  111. package/dist/model/dictionaryType.d.ts +1 -1
  112. package/dist/model/dictionaryType.d.ts.map +1 -1
  113. package/dist/model/distinct.d.ts +4 -4
  114. package/dist/model/distinct.d.ts.map +1 -1
  115. package/dist/model/edit.d.ts +12 -12
  116. package/dist/model/edit.d.ts.map +1 -1
  117. package/dist/model/editType.d.ts +4 -4
  118. package/dist/model/editType.d.ts.map +1 -1
  119. package/dist/model/errorBase.d.ts +6 -6
  120. package/dist/model/errorBase.d.ts.map +1 -1
  121. package/dist/model/exactOnSingleWordQuery.d.ts +4 -4
  122. package/dist/model/exactOnSingleWordQuery.d.ts.map +1 -1
  123. package/dist/model/exhaustive.d.ts +26 -0
  124. package/dist/model/exhaustive.d.ts.map +1 -0
  125. package/dist/model/facetFilters.d.ts +5 -5
  126. package/dist/model/facetFilters.d.ts.map +1 -1
  127. package/dist/model/facetHits.d.ts +14 -14
  128. package/dist/model/facetHits.d.ts.map +1 -1
  129. package/dist/model/facetOrdering.d.ts +12 -12
  130. package/dist/model/facetOrdering.d.ts.map +1 -1
  131. package/dist/model/facets.d.ts +9 -9
  132. package/dist/model/facets.d.ts.map +1 -1
  133. package/dist/model/facetsStats.d.ts +18 -18
  134. package/dist/model/facetsStats.d.ts.map +1 -1
  135. package/dist/model/fetchedIndex.d.ts +46 -46
  136. package/dist/model/fetchedIndex.d.ts.map +1 -1
  137. package/dist/model/getApiKeyResponse.d.ts +3 -3
  138. package/dist/model/getApiKeyResponse.d.ts.map +1 -1
  139. package/dist/model/getDictionarySettingsResponse.d.ts +4 -4
  140. package/dist/model/getDictionarySettingsResponse.d.ts.map +1 -1
  141. package/dist/model/getLogsResponse.d.ts +4 -4
  142. package/dist/model/getLogsResponse.d.ts.map +1 -1
  143. package/dist/model/getObjectsParams.d.ts +7 -7
  144. package/dist/model/getObjectsParams.d.ts.map +1 -1
  145. package/dist/model/getObjectsRequest.d.ts +17 -17
  146. package/dist/model/getObjectsRequest.d.ts.map +1 -1
  147. package/dist/model/getObjectsResponse.d.ts +6 -6
  148. package/dist/model/getObjectsResponse.d.ts.map +1 -1
  149. package/dist/model/getTaskResponse.d.ts +4 -4
  150. package/dist/model/getTaskResponse.d.ts.map +1 -1
  151. package/dist/model/getTopUserIdsResponse.d.ts +10 -10
  152. package/dist/model/getTopUserIdsResponse.d.ts.map +1 -1
  153. package/dist/model/hasPendingMappingsResponse.d.ts +10 -10
  154. package/dist/model/hasPendingMappingsResponse.d.ts.map +1 -1
  155. package/dist/model/highlightResult.d.ts +2 -2
  156. package/dist/model/highlightResult.d.ts.map +1 -1
  157. package/dist/model/highlightResultOption.d.ts +19 -19
  158. package/dist/model/highlightResultOption.d.ts.map +1 -1
  159. package/dist/model/hit.d.ts +22 -22
  160. package/dist/model/hit.d.ts.map +1 -1
  161. package/dist/model/ignorePlurals.d.ts +5 -4
  162. package/dist/model/ignorePlurals.d.ts.map +1 -1
  163. package/dist/model/index.d.ts +167 -154
  164. package/dist/model/index.d.ts.map +1 -1
  165. package/dist/model/indexSettings.d.ts +6 -6
  166. package/dist/model/indexSettings.d.ts.map +1 -1
  167. package/dist/model/indexSettingsAsSearchParams.d.ts +159 -160
  168. package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  169. package/dist/model/languages.d.ts +9 -9
  170. package/dist/model/languages.d.ts.map +1 -1
  171. package/dist/model/listApiKeysResponse.d.ts +7 -7
  172. package/dist/model/listApiKeysResponse.d.ts.map +1 -1
  173. package/dist/model/listClustersResponse.d.ts +9 -9
  174. package/dist/model/listClustersResponse.d.ts.map +1 -1
  175. package/dist/model/listIndicesResponse.d.ts +11 -11
  176. package/dist/model/listIndicesResponse.d.ts.map +1 -1
  177. package/dist/model/listUserIdsResponse.d.ts +10 -10
  178. package/dist/model/listUserIdsResponse.d.ts.map +1 -1
  179. package/dist/model/log.d.ts +63 -63
  180. package/dist/model/log.d.ts.map +1 -1
  181. package/dist/model/logQuery.d.ts +14 -14
  182. package/dist/model/logQuery.d.ts.map +1 -1
  183. package/dist/model/logType.d.ts +1 -1
  184. package/dist/model/logType.d.ts.map +1 -1
  185. package/dist/model/matchLevel.d.ts +4 -4
  186. package/dist/model/matchLevel.d.ts.map +1 -1
  187. package/dist/model/matchedGeoLocation.d.ts +14 -14
  188. package/dist/model/matchedGeoLocation.d.ts.map +1 -1
  189. package/dist/model/mixedSearchFilters.d.ts +1 -1
  190. package/dist/model/mixedSearchFilters.d.ts.map +1 -1
  191. package/dist/model/mode.d.ts +5 -0
  192. package/dist/model/mode.d.ts.map +1 -0
  193. package/dist/model/multipleBatchRequest.d.ts +12 -12
  194. package/dist/model/multipleBatchRequest.d.ts.map +1 -1
  195. package/dist/model/multipleBatchResponse.d.ts +10 -10
  196. package/dist/model/multipleBatchResponse.d.ts.map +1 -1
  197. package/dist/model/numericFilters.d.ts +5 -5
  198. package/dist/model/numericFilters.d.ts.map +1 -1
  199. package/dist/model/operationIndexParams.d.ts +13 -13
  200. package/dist/model/operationIndexParams.d.ts.map +1 -1
  201. package/dist/model/operationType.d.ts +4 -4
  202. package/dist/model/operationType.d.ts.map +1 -1
  203. package/dist/model/optionalFilters.d.ts +5 -5
  204. package/dist/model/optionalFilters.d.ts.map +1 -1
  205. package/dist/model/params.d.ts +12 -12
  206. package/dist/model/params.d.ts.map +1 -1
  207. package/dist/model/personalization.d.ts +14 -14
  208. package/dist/model/personalization.d.ts.map +1 -1
  209. package/dist/model/promote.d.ts +3 -3
  210. package/dist/model/promote.d.ts.map +1 -1
  211. package/dist/model/promoteObjectID.d.ts +13 -13
  212. package/dist/model/promoteObjectID.d.ts.map +1 -1
  213. package/dist/model/promoteObjectIDs.d.ts +13 -13
  214. package/dist/model/promoteObjectIDs.d.ts.map +1 -1
  215. package/dist/model/queryType.d.ts +4 -4
  216. package/dist/model/queryType.d.ts.map +1 -1
  217. package/dist/model/rankingInfo.d.ts +53 -50
  218. package/dist/model/rankingInfo.d.ts.map +1 -1
  219. package/dist/model/reRankingApplyFilter.d.ts +5 -5
  220. package/dist/model/reRankingApplyFilter.d.ts.map +1 -1
  221. package/dist/model/redirect.d.ts +8 -0
  222. package/dist/model/redirect.d.ts.map +1 -0
  223. package/dist/model/redirectRuleIndexMetadata.d.ts +21 -0
  224. package/dist/model/redirectRuleIndexMetadata.d.ts.map +1 -0
  225. package/dist/model/redirectRuleIndexMetadataData.d.ts +7 -0
  226. package/dist/model/redirectRuleIndexMetadataData.d.ts.map +1 -0
  227. package/dist/model/removeStopWords.d.ts +5 -4
  228. package/dist/model/removeStopWords.d.ts.map +1 -1
  229. package/dist/model/removeUserIdResponse.d.ts +6 -6
  230. package/dist/model/removeUserIdResponse.d.ts.map +1 -1
  231. package/dist/model/removeWordsIfNoResults.d.ts +4 -4
  232. package/dist/model/removeWordsIfNoResults.d.ts.map +1 -1
  233. package/dist/model/renderingContent.d.ts +7 -7
  234. package/dist/model/renderingContent.d.ts.map +1 -1
  235. package/dist/model/replaceSourceResponse.d.ts +6 -6
  236. package/dist/model/replaceSourceResponse.d.ts.map +1 -1
  237. package/dist/model/rule.d.ts +29 -29
  238. package/dist/model/rule.d.ts.map +1 -1
  239. package/dist/model/saveObjectResponse.d.ts +14 -11
  240. package/dist/model/saveObjectResponse.d.ts.map +1 -1
  241. package/dist/model/saveSynonymResponse.d.ts +14 -14
  242. package/dist/model/saveSynonymResponse.d.ts.map +1 -1
  243. package/dist/model/scopeType.d.ts +1 -1
  244. package/dist/model/scopeType.d.ts.map +1 -1
  245. package/dist/model/searchDictionaryEntriesParams.d.ts +19 -21
  246. package/dist/model/searchDictionaryEntriesParams.d.ts.map +1 -1
  247. package/dist/model/searchDictionaryEntriesResponse.d.ts +20 -0
  248. package/dist/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
  249. package/dist/model/searchForFacetValuesRequest.d.ts +14 -14
  250. package/dist/model/searchForFacetValuesRequest.d.ts.map +1 -1
  251. package/dist/model/searchForFacetValuesResponse.d.ts +15 -4
  252. package/dist/model/searchForFacetValuesResponse.d.ts.map +1 -1
  253. package/dist/model/searchForFacets.d.ts +3 -3
  254. package/dist/model/searchForFacets.d.ts.map +1 -1
  255. package/dist/model/searchForFacetsOptions.d.ts +20 -20
  256. package/dist/model/searchForFacetsOptions.d.ts.map +1 -1
  257. package/dist/model/searchForHits.d.ts +3 -3
  258. package/dist/model/searchForHits.d.ts.map +1 -1
  259. package/dist/model/searchForHitsOptions.d.ts +12 -12
  260. package/dist/model/searchForHitsOptions.d.ts.map +1 -1
  261. package/dist/model/searchHits.d.ts +15 -4
  262. package/dist/model/searchHits.d.ts.map +1 -1
  263. package/dist/model/searchMethodParams.d.ts +6 -6
  264. package/dist/model/searchMethodParams.d.ts.map +1 -1
  265. package/dist/model/searchParams.d.ts +3 -3
  266. package/dist/model/searchParams.d.ts.map +1 -1
  267. package/dist/model/searchParamsObject.d.ts +3 -3
  268. package/dist/model/searchParamsObject.d.ts.map +1 -1
  269. package/dist/model/searchParamsQuery.d.ts +6 -6
  270. package/dist/model/searchParamsQuery.d.ts.map +1 -1
  271. package/dist/model/searchParamsString.d.ts +6 -6
  272. package/dist/model/searchParamsString.d.ts.map +1 -1
  273. package/dist/model/searchQuery.d.ts +3 -3
  274. package/dist/model/searchQuery.d.ts.map +1 -1
  275. package/dist/model/searchResponse.d.ts +3 -3
  276. package/dist/model/searchResponse.d.ts.map +1 -1
  277. package/dist/model/searchResponses.d.ts +4 -4
  278. package/dist/model/searchResponses.d.ts.map +1 -1
  279. package/dist/model/searchResult.d.ts +4 -0
  280. package/dist/model/searchResult.d.ts.map +1 -0
  281. package/dist/model/searchRulesParams.d.ts +27 -31
  282. package/dist/model/searchRulesParams.d.ts.map +1 -1
  283. package/dist/model/searchRulesResponse.d.ts +19 -19
  284. package/dist/model/searchRulesResponse.d.ts.map +1 -1
  285. package/dist/model/searchStrategy.d.ts +4 -1
  286. package/dist/model/searchStrategy.d.ts.map +1 -1
  287. package/dist/model/searchSynonymsParams.d.ts +16 -6
  288. package/dist/model/searchSynonymsParams.d.ts.map +1 -1
  289. package/dist/model/searchSynonymsResponse.d.ts +11 -11
  290. package/dist/model/searchSynonymsResponse.d.ts.map +1 -1
  291. package/dist/model/searchTypeDefault.d.ts +4 -4
  292. package/dist/model/searchTypeDefault.d.ts.map +1 -1
  293. package/dist/model/searchTypeFacet.d.ts +4 -4
  294. package/dist/model/searchTypeFacet.d.ts.map +1 -1
  295. package/dist/model/searchUserIdsParams.d.ts +21 -21
  296. package/dist/model/searchUserIdsParams.d.ts.map +1 -1
  297. package/dist/model/searchUserIdsResponse.d.ts +26 -26
  298. package/dist/model/searchUserIdsResponse.d.ts.map +1 -1
  299. package/dist/model/securedAPIKeyRestrictions.d.ts +25 -0
  300. package/dist/model/securedAPIKeyRestrictions.d.ts.map +1 -0
  301. package/dist/model/semanticSearch.d.ts +10 -0
  302. package/dist/model/semanticSearch.d.ts.map +1 -0
  303. package/dist/model/snippetResult.d.ts +2 -2
  304. package/dist/model/snippetResult.d.ts.map +1 -1
  305. package/dist/model/snippetResultOption.d.ts +11 -11
  306. package/dist/model/snippetResultOption.d.ts.map +1 -1
  307. package/dist/model/sortRemainingBy.d.ts +4 -4
  308. package/dist/model/sortRemainingBy.d.ts.map +1 -1
  309. package/dist/model/source.d.ts +13 -13
  310. package/dist/model/source.d.ts.map +1 -1
  311. package/dist/model/standardEntries.d.ts +17 -17
  312. package/dist/model/standardEntries.d.ts.map +1 -1
  313. package/dist/model/supportedLanguage.d.ts +5 -0
  314. package/dist/model/supportedLanguage.d.ts.map +1 -0
  315. package/dist/model/synonymHit.d.ts +35 -37
  316. package/dist/model/synonymHit.d.ts.map +1 -1
  317. package/dist/model/synonymType.d.ts +4 -4
  318. package/dist/model/synonymType.d.ts.map +1 -1
  319. package/dist/model/tagFilters.d.ts +5 -5
  320. package/dist/model/tagFilters.d.ts.map +1 -1
  321. package/dist/model/taskStatus.d.ts +4 -1
  322. package/dist/model/taskStatus.d.ts.map +1 -1
  323. package/dist/model/timeRange.d.ts +10 -10
  324. package/dist/model/timeRange.d.ts.map +1 -1
  325. package/dist/model/typoTolerance.d.ts +5 -5
  326. package/dist/model/typoTolerance.d.ts.map +1 -1
  327. package/dist/model/typoToleranceEnum.d.ts +4 -1
  328. package/dist/model/typoToleranceEnum.d.ts.map +1 -1
  329. package/dist/model/updateApiKeyResponse.d.ts +10 -10
  330. package/dist/model/updateApiKeyResponse.d.ts.map +1 -1
  331. package/dist/model/updatedAtResponse.d.ts +13 -13
  332. package/dist/model/updatedAtResponse.d.ts.map +1 -1
  333. package/dist/model/updatedAtWithObjectIdResponse.d.ts +17 -17
  334. package/dist/model/updatedAtWithObjectIdResponse.d.ts.map +1 -1
  335. package/dist/model/updatedRuleResponse.d.ts +14 -14
  336. package/dist/model/updatedRuleResponse.d.ts.map +1 -1
  337. package/dist/model/userHighlightResult.d.ts +5 -11
  338. package/dist/model/userHighlightResult.d.ts.map +1 -1
  339. package/dist/model/userHit.d.ts +24 -24
  340. package/dist/model/userHit.d.ts.map +1 -1
  341. package/dist/model/userId.d.ts +21 -21
  342. package/dist/model/userId.d.ts.map +1 -1
  343. package/dist/model/value.d.ts +8 -8
  344. package/dist/model/value.d.ts.map +1 -1
  345. package/dist/src/searchClient.d.ts +866 -723
  346. package/dist/src/searchClient.d.ts.map +1 -1
  347. package/index.js +1 -1
  348. package/model/acl.ts +3 -2
  349. package/model/action.ts +2 -2
  350. package/model/addApiKeyResponse.ts +3 -3
  351. package/model/advancedSyntaxFeatures.ts +1 -1
  352. package/model/alternativesAsExact.ts +1 -1
  353. package/model/anchoring.ts +2 -2
  354. package/model/apiKey.ts +10 -10
  355. package/model/apiKeyOperation.ts +3 -0
  356. package/model/aroundPrecision.ts +8 -0
  357. package/model/aroundPrecisionFromValueInner.ts +16 -0
  358. package/model/aroundRadius.ts +2 -2
  359. package/model/aroundRadiusAll.ts +4 -1
  360. package/model/assignUserIdParams.ts +2 -2
  361. package/model/attributeToUpdate.ts +1 -1
  362. package/model/automaticFacetFilter.ts +5 -5
  363. package/model/automaticFacetFilters.ts +2 -2
  364. package/model/baseGetApiKeyResponse.ts +3 -3
  365. package/model/baseIndexSettings.ts +34 -17
  366. package/model/baseSearchParams.ts +1 -1
  367. package/model/baseSearchParamsWithoutQuery.ts +36 -46
  368. package/model/baseSearchResponse.ts +42 -31
  369. package/model/batchAssignUserIdsParams.ts +3 -3
  370. package/model/batchDictionaryEntriesParams.ts +4 -4
  371. package/model/batchDictionaryEntriesRequest.ts +1 -1
  372. package/model/batchParams.ts +2 -2
  373. package/model/batchRequest.ts +2 -2
  374. package/model/batchResponse.ts +3 -3
  375. package/model/batchWriteParams.ts +2 -2
  376. package/model/browseParams.ts +1 -1
  377. package/model/browseParamsObject.ts +1 -1
  378. package/model/browseResponse.ts +1 -1
  379. package/model/builtInOperation.ts +3 -3
  380. package/model/builtInOperationType.ts +2 -2
  381. package/model/clientMethodProps.ts +218 -156
  382. package/model/condition.ts +9 -4
  383. package/model/consequence.ts +7 -7
  384. package/model/consequenceHide.ts +3 -3
  385. package/model/consequenceParams.ts +1 -1
  386. package/model/consequenceQuery.ts +2 -2
  387. package/model/consequenceQueryObject.ts +3 -3
  388. package/model/createdAtResponse.ts +3 -3
  389. package/model/cursor.ts +2 -2
  390. package/model/deleteApiKeyResponse.ts +2 -2
  391. package/model/deleteByParams.ts +36 -0
  392. package/model/deleteSourceResponse.ts +2 -2
  393. package/model/deletedAtResponse.ts +4 -4
  394. package/model/dictionaryAction.ts +1 -1
  395. package/model/dictionaryEntry.ts +8 -10
  396. package/model/dictionaryEntryState.ts +2 -2
  397. package/model/dictionaryLanguage.ts +4 -4
  398. package/model/dictionarySettingsParams.ts +2 -2
  399. package/model/dictionaryType.ts +1 -1
  400. package/model/distinct.ts +2 -2
  401. package/model/edit.ts +2 -2
  402. package/model/editType.ts +1 -1
  403. package/model/errorBase.ts +1 -1
  404. package/model/exactOnSingleWordQuery.ts +2 -2
  405. package/model/exhaustive.ts +31 -0
  406. package/model/facetFilters.ts +2 -2
  407. package/model/facetHits.ts +4 -4
  408. package/model/facetOrdering.ts +3 -3
  409. package/model/facets.ts +3 -3
  410. package/model/facetsStats.ts +5 -5
  411. package/model/fetchedIndex.ts +3 -3
  412. package/model/getApiKeyResponse.ts +1 -1
  413. package/model/getDictionarySettingsResponse.ts +1 -1
  414. package/model/getLogsResponse.ts +1 -1
  415. package/model/getObjectsParams.ts +2 -2
  416. package/model/getObjectsRequest.ts +5 -5
  417. package/model/getObjectsResponse.ts +2 -2
  418. package/model/getTaskResponse.ts +1 -1
  419. package/model/getTopUserIdsResponse.ts +3 -3
  420. package/model/hasPendingMappingsResponse.ts +3 -3
  421. package/model/highlightResult.ts +5 -2
  422. package/model/highlightResultOption.ts +4 -4
  423. package/model/hit.ts +5 -5
  424. package/model/ignorePlurals.ts +5 -3
  425. package/model/index.ts +15 -2
  426. package/model/indexSettings.ts +2 -2
  427. package/model/indexSettingsAsSearchParams.ts +54 -54
  428. package/model/languages.ts +2 -2
  429. package/model/listApiKeysResponse.ts +2 -2
  430. package/model/listClustersResponse.ts +3 -3
  431. package/model/listIndicesResponse.ts +2 -2
  432. package/model/listUserIdsResponse.ts +3 -3
  433. package/model/log.ts +13 -13
  434. package/model/logQuery.ts +3 -3
  435. package/model/logType.ts +1 -1
  436. package/model/matchLevel.ts +2 -2
  437. package/model/matchedGeoLocation.ts +1 -1
  438. package/model/mixedSearchFilters.ts +1 -1
  439. package/model/mode.ts +6 -0
  440. package/model/multipleBatchRequest.ts +2 -2
  441. package/model/multipleBatchResponse.ts +3 -3
  442. package/model/numericFilters.ts +2 -2
  443. package/model/operationIndexParams.ts +3 -3
  444. package/model/operationType.ts +2 -2
  445. package/model/optionalFilters.ts +2 -2
  446. package/model/params.ts +2 -2
  447. package/model/personalization.ts +1 -1
  448. package/model/promote.ts +1 -1
  449. package/model/promoteObjectID.ts +4 -4
  450. package/model/promoteObjectIDs.ts +4 -4
  451. package/model/queryType.ts +2 -2
  452. package/model/rankingInfo.ts +11 -8
  453. package/model/reRankingApplyFilter.ts +2 -2
  454. package/model/redirect.ts +10 -0
  455. package/model/redirectRuleIndexMetadata.ts +27 -0
  456. package/model/redirectRuleIndexMetadataData.ts +8 -0
  457. package/model/removeStopWords.ts +5 -3
  458. package/model/removeUserIdResponse.ts +2 -2
  459. package/model/removeWordsIfNoResults.ts +2 -2
  460. package/model/renderingContent.ts +2 -2
  461. package/model/replaceSourceResponse.ts +2 -2
  462. package/model/rule.ts +6 -6
  463. package/model/saveObjectResponse.ts +6 -3
  464. package/model/saveSynonymResponse.ts +4 -4
  465. package/model/scopeType.ts +1 -1
  466. package/model/searchDictionaryEntriesParams.ts +8 -9
  467. package/model/searchDictionaryEntriesResponse.ts +25 -0
  468. package/model/searchForFacetValuesRequest.ts +3 -3
  469. package/model/searchForFacetValuesResponse.ts +14 -1
  470. package/model/searchForFacets.ts +1 -1
  471. package/model/searchForFacetsOptions.ts +4 -4
  472. package/model/searchForHits.ts +1 -1
  473. package/model/searchForHitsOptions.ts +2 -2
  474. package/model/searchHits.ts +15 -2
  475. package/model/searchMethodParams.ts +1 -1
  476. package/model/searchParams.ts +1 -1
  477. package/model/searchParamsObject.ts +1 -1
  478. package/model/searchParamsQuery.ts +2 -2
  479. package/model/searchParamsString.ts +2 -2
  480. package/model/searchQuery.ts +1 -1
  481. package/model/searchResponse.ts +1 -1
  482. package/model/searchResponses.ts +3 -3
  483. package/model/searchResult.ts +8 -0
  484. package/model/searchRulesParams.ts +8 -13
  485. package/model/searchRulesResponse.ts +3 -3
  486. package/model/searchStrategy.ts +4 -1
  487. package/model/searchSynonymsParams.ts +16 -2
  488. package/model/searchSynonymsResponse.ts +3 -3
  489. package/model/searchTypeDefault.ts +2 -2
  490. package/model/searchTypeFacet.ts +2 -2
  491. package/model/searchUserIdsParams.ts +5 -5
  492. package/model/searchUserIdsResponse.ts +6 -6
  493. package/model/securedAPIKeyRestrictions.ts +32 -0
  494. package/model/semanticSearch.ts +11 -0
  495. package/model/snippetResult.ts +5 -2
  496. package/model/snippetResultOption.ts +3 -3
  497. package/model/sortRemainingBy.ts +2 -2
  498. package/model/source.ts +4 -4
  499. package/model/standardEntries.ts +5 -5
  500. package/model/supportedLanguage.ts +74 -0
  501. package/model/synonymHit.ts +7 -10
  502. package/model/synonymType.ts +2 -2
  503. package/model/tagFilters.ts +2 -2
  504. package/model/taskStatus.ts +4 -1
  505. package/model/timeRange.ts +3 -3
  506. package/model/typoTolerance.ts +2 -2
  507. package/model/typoToleranceEnum.ts +4 -1
  508. package/model/updateApiKeyResponse.ts +3 -3
  509. package/model/updatedAtResponse.ts +4 -4
  510. package/model/updatedAtWithObjectIdResponse.ts +5 -5
  511. package/model/updatedRuleResponse.ts +4 -4
  512. package/model/userHighlightResult.ts +3 -9
  513. package/model/userHit.ts +3 -3
  514. package/model/userId.ts +4 -4
  515. package/model/value.ts +2 -2
  516. package/package.json +10 -9
  517. package/dist/model/synonymHitHighlightResult.d.ts +0 -12
  518. package/dist/model/synonymHitHighlightResult.d.ts.map +0 -1
  519. package/model/synonymHitHighlightResult.ts +0 -15
@@ -1,22 +1,27 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { Anchoring } from './anchoring';
4
4
 
5
5
  export type Condition = {
6
6
  /**
7
- * Query pattern syntax.
7
+ * Query pattern that triggers the rule. You can use either a literal string, or a special pattern `{facet:ATTRIBUTE}`, where `ATTRIBUTE` is a facet name. The rule is triggered if the query matches the literal string or a value of the specified facet. For example, with `pattern: {facet:genre}`, the rule is triggered when users search for a genre, such as \"comedy\".
8
8
  */
9
9
  pattern?: string;
10
10
 
11
11
  anchoring?: Anchoring;
12
12
 
13
13
  /**
14
- * Whether the pattern matches on plurals, synonyms, and typos.
14
+ * Whether the pattern should match plurals, synonyms, and typos.
15
15
  */
16
16
  alternatives?: boolean;
17
17
 
18
18
  /**
19
- * Rule context format: [A-Za-z0-9_-]+).
19
+ * An additional restriction that only triggers the rule, when the search has the same value as `ruleContexts` parameter. For example, if `context: mobile`, the rule is only triggered when the search request has a matching `ruleContexts: mobile`. A rule context must only contain alphanumeric characters.
20
20
  */
21
21
  context?: string;
22
+
23
+ /**
24
+ * Filters that trigger the rule. You can add add filters using the syntax `facet:value` so that the rule is triggered, when the specific filter is selected. You can use `filters` on its own or combine it with the `pattern` parameter.
25
+ */
26
+ filters?: string;
22
27
  };
@@ -1,32 +1,32 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { ConsequenceHide } from './consequenceHide';
4
4
  import type { ConsequenceParams } from './consequenceParams';
5
5
  import type { Promote } from './promote';
6
6
 
7
7
  /**
8
- * Consequence of the Rule.
8
+ * Effect of the rule. For more information, see [Consequences](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#consequences).
9
9
  */
10
10
  export type Consequence = {
11
11
  params?: ConsequenceParams;
12
12
 
13
13
  /**
14
- * Objects to promote as hits.
14
+ * Records you want to pin to a specific position in the search results. You can promote up to 300 records, either individually, or as groups of up to 100 records each.
15
15
  */
16
16
  promote?: Promote[];
17
17
 
18
18
  /**
19
- * Only use in combination with the promote consequence. When true, promoted results will be restricted to match the filters of the current search. When false, the promoted results will show up regardless of the filters.
19
+ * Whether promoted records must match an active filter for the consequence to be applied. This ensures that user actions (filtering the search) are given a higher precendence. For example, if you promote a record with the `color: red` attribute, and the user filters the search for `color: blue`, the \"red\" record won\'t be shown.
20
20
  */
21
21
  filterPromotes?: boolean;
22
22
 
23
23
  /**
24
- * Objects to hide from hits. Each object must contain an objectID field. By default, you can hide up to 50 items per rule.
24
+ * Records you want to hide from the search results.
25
25
  */
26
26
  hide?: ConsequenceHide[];
27
27
 
28
28
  /**
29
- * Custom JSON object that will be appended to the userData array in the response. This object isn\'t interpreted by the API. It\'s limited to 1kB of minified JSON.
29
+ * A JSON object with custom data that will be appended to the `userData` array in the response. This object isn\'t interpreted by the API and is limited to 1 kB of minified JSON.
30
30
  */
31
- userData?: Record<string, any>;
31
+ userData?: any | null;
32
32
  };
@@ -1,11 +1,11 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  /**
4
- * Unique identifier of the object to hide.
4
+ * Object ID of the record to hide.
5
5
  */
6
6
  export type ConsequenceHide = {
7
7
  /**
8
- * Unique identifier of the object.
8
+ * Unique record identifier.
9
9
  */
10
10
  objectID: string;
11
11
  };
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuery';
4
4
  import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
@@ -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 { ConsequenceQueryObject } from './consequenceQueryObject';
4
4
 
5
5
  /**
6
- * When providing a string, it replaces the entire query string. When providing an object, it describes incremental edits to be made to the query string (but you can\'t do both).
6
+ * Replace or edit the search query. If `consequenceQuery` is a string, the entire search query is replaced with that string. If `consequenceQuery` is an object, it describes incremental edits made to the query.
7
7
  */
8
8
  export type ConsequenceQuery = ConsequenceQueryObject | string;
@@ -1,15 +1,15 @@
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 { Edit } from './edit';
4
4
 
5
5
  export type ConsequenceQueryObject = {
6
6
  /**
7
- * Words to remove.
7
+ * Words to remove from the search query.
8
8
  */
9
9
  remove?: string[];
10
10
 
11
11
  /**
12
- * Edits to apply.
12
+ * Changes to make to the search query.
13
13
  */
14
14
  edits?: Edit[];
15
15
  };
@@ -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
- * The response with a createdAt timestamp.
4
+ * Response and creation timestamp.
5
5
  */
6
6
  export type CreatedAtResponse = {
7
7
  /**
8
- * Date of creation (ISO-8601 format).
8
+ * Timestamp of creation in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
9
9
  */
10
10
  createdAt: string;
11
11
  };
package/model/cursor.ts CHANGED
@@ -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 Cursor = {
4
4
  /**
5
- * Cursor indicating the location to resume browsing from. Must match the value returned by the previous call.
5
+ * Cursor to get the next page of the response. The parameter must match the value returned in the response of a previous request. The last page of the response does not return a `cursor` attribute.
6
6
  */
7
7
  cursor?: string;
8
8
  };
@@ -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 DeleteApiKeyResponse = {
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
  };
@@ -0,0 +1,36 @@
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 { AroundRadius } from './aroundRadius';
4
+ import type { FacetFilters } from './facetFilters';
5
+ import type { NumericFilters } from './numericFilters';
6
+ import type { TagFilters } from './tagFilters';
7
+
8
+ export type DeleteByParams = {
9
+ facetFilters?: FacetFilters;
10
+
11
+ /**
12
+ * Filter the search so that only records with matching values are included in the results. These filters are supported: - **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`. - **Ranges.** `<facet>:<lower> TO <upper>` where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`. **Not supported:** `facet:value OR num > 3`. - You can\'t use `NOT` with combinations of filters. **Not supported:** `NOT(facet:value OR facet:value)` - You can\'t combine conjunctions (`AND`) with `OR`. **Not supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet attribute name or facet value has spaces, keywords (`OR`, `AND`, `NOT`), or quotes. If a facet attribute is an array, the filter matches if it matches at least one element of the array. For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/).
13
+ */
14
+ filters?: string;
15
+
16
+ numericFilters?: NumericFilters;
17
+
18
+ tagFilters?: TagFilters;
19
+
20
+ /**
21
+ * Coordinates for the center of a circle, expressed as a comma-separated string of latitude and longitude. Only records included within circle around this central location are included in the results. The radius of the circle is determined by the `aroundRadius` and `minimumAroundRadius` settings. This parameter is ignored if you also specify `insidePolygon` or `insideBoundingBox`.
22
+ */
23
+ aroundLatLng?: string;
24
+
25
+ aroundRadius?: AroundRadius;
26
+
27
+ /**
28
+ * Coordinates for a rectangular area in which to search. Each bounding box is defined by the two opposite points of its diagonal, and expressed as latitude and longitude pair: `[p1 lat, p1 long, p2 lat, p2 long]`. Provide multiple bounding boxes as nested arrays. For more information, see [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas).
29
+ */
30
+ insideBoundingBox?: number[][];
31
+
32
+ /**
33
+ * Coordinates of a polygon in which to search. Polygons are defined by 3 to 10,000 points. Each point is represented by its latitude and longitude. Provide multiple polygons as nested arrays. For more information, see [filtering inside polygons](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas). This parameter is ignored, if you also specify `insideBoundingBox`.
34
+ */
35
+ insidePolygon?: number[][];
36
+ };
@@ -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 DeleteSourceResponse = {
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,16 +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
- * The response with a taskID and a deletedAt timestamp.
4
+ * Response, taskID, and deletion timestamp.
5
5
  */
6
6
  export type DeletedAtResponse = {
7
7
  /**
8
- * TaskID of the task to wait for.
8
+ * 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](#tag/Indices/operation/getTask) and this `taskID`.
9
9
  */
10
10
  taskID: number;
11
11
 
12
12
  /**
13
- * Date of deletion (ISO-8601 format).
13
+ * Timestamp of deletion in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
14
14
  */
15
15
  deletedAt: string;
16
16
  };
@@ -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
  * Actions to perform.
@@ -1,33 +1,31 @@
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 { DictionaryEntryState } from './dictionaryEntryState';
4
+ import type { SupportedLanguage } from './supportedLanguage';
4
5
 
5
6
  /**
6
- * A dictionary entry.
7
+ * Dictionary entry.
7
8
  */
8
9
  export type DictionaryEntry = Record<string, any> & {
9
10
  /**
10
- * Unique identifier of the object.
11
+ * Unique identifier for the dictionary entry.
11
12
  */
12
13
  objectID: string;
13
14
 
14
- /**
15
- * Language ISO code supported by the dictionary (e.g., \"en\" for English).
16
- */
17
- language: string;
15
+ language: SupportedLanguage;
18
16
 
19
17
  /**
20
- * The word of the dictionary entry.
18
+ * Matching dictionary word for `stopwords` and `compounds` dictionaries.
21
19
  */
22
20
  word?: string;
23
21
 
24
22
  /**
25
- * The words of the dictionary entry.
23
+ * Matching words in the `plurals` dictionary including declensions.
26
24
  */
27
25
  words?: string[];
28
26
 
29
27
  /**
30
- * A decomposition of the word of the dictionary entry.
28
+ * Invividual components of a compound word in the `compounds` dictionary.
31
29
  */
32
30
  decomposition?: string[];
33
31
 
@@ -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
- * The state of the dictionary entry.
4
+ * Whether a dictionary entry is active.
5
5
  */
6
6
  export type DictionaryEntryState = 'disabled' | 'enabled';
@@ -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
- * Custom entries for a dictionary.
4
+ * Dictionary type. If `null`, this dictionary type isn\'t supported for the language.
5
5
  */
6
6
  export type DictionaryLanguage = {
7
7
  /**
8
- * When nbCustomEntries is set to 0, the user didn\'t customize the dictionary. The dictionary is still supported with standard, Algolia-provided entries.
8
+ * Number of custom dictionary entries.
9
9
  */
10
- nbCustomEntires?: number;
10
+ nbCustomEntries?: number;
11
11
  };
@@ -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 { StandardEntries } from './standardEntries';
4
4
 
5
5
  /**
6
- * Disable the builtin Algolia entries for a type of dictionary per language.
6
+ * Turn on or off the built-in Algolia stop words for a specific language.
7
7
  */
8
8
  export type DictionarySettingsParams = {
9
9
  disableStandardEntries: StandardEntries;
@@ -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 DictionaryType = 'compounds' | 'plurals' | 'stopwords';
package/model/distinct.ts CHANGED
@@ -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
- * Enables de-duplication or grouping of results.
4
+ * Determines how many records of a group are included in the search results. Records with the same value for the `attributeForDistinct` attribute are considered a group. The `distinct` setting controls how many members of the group are returned. This is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature). The `distinct` setting is ignored if `attributeForDistinct` is not set.
5
5
  */
6
6
  export type Distinct = boolean | number;
package/model/edit.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 { EditType } from './editType';
4
4
 
@@ -11,7 +11,7 @@ export type Edit = {
11
11
  delete?: string;
12
12
 
13
13
  /**
14
- * Text that should be inserted in place of the removed text inside the query string.
14
+ * Text to be added in place of the deleted text inside the query string.
15
15
  */
16
16
  insert?: string;
17
17
  };
package/model/editType.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
  /**
4
4
  * Type of edit.
@@ -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
  * Error.
@@ -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 how the exact ranking criterion is computed when the query contains only one word.
4
+ * Determines how 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) is computed when the search query has only one word. <dl> <dt><code>attribute</code></dt> <dd> The Exact ranking criterion is 1 if the query word and attribute value are the same. For example, a search for \"road\" will match the value \"road\", but not \"road trip\". </dd> <dt><code>none</code></dt> <dd> The Exact ranking criterion is ignored on single-word searches. </dd> <dt><code>word</code></dt> <dd> The Exact ranking criterion is 1 if the query word is found in the attribute value. The query word must have at least 3 characters and must not be a stop word. </dd> </dl> If `exactOnSingleWordQuery` is `word`, only exact matches will be highlighted, partial and prefix matches won\'t.
5
5
  */
6
6
  export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
@@ -0,0 +1,31 @@
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
+ * Whether certain properties of the search response are calculated exhaustive (exact) or approximated.
5
+ */
6
+ export type Exhaustive = {
7
+ /**
8
+ * Whether the facet count is exhaustive (`true`) or approximate (`false`). See the [related discussion](https://support.algolia.com/hc/en-us/articles/4406975248145-Why-are-my-facet-and-hit-counts-not-accurate-).
9
+ */
10
+ facetsCount?: boolean;
11
+
12
+ /**
13
+ * The value is `false` if not all facet values are retrieved.
14
+ */
15
+ facetValues?: boolean;
16
+
17
+ /**
18
+ * Whether the `nbHits` is exhaustive (`true`) or approximate (`false`). When the query takes more than 50ms to be processed, the engine makes an approximation. This can happen when using complex filters on millions of records, when typo-tolerance was not exhaustive, or when enough hits have been retrieved (for example, after the engine finds 10,000 exact matches). `nbHits` is reported as non-exhaustive whenever an approximation is made, even if the approximation didn’t, in the end, impact the exhaustivity of the query.
19
+ */
20
+ nbHits?: boolean;
21
+
22
+ /**
23
+ * Rules matching exhaustivity. The value is `false` if rules were enable for this query, and could not be fully processed due a timeout. This is generally caused by the number of alternatives (such as typos) which is too large.
24
+ */
25
+ rulesMatch?: boolean;
26
+
27
+ /**
28
+ * Whether the typo search was exhaustive (`true`) or approximate (`false`). An approximation is done when the typo search query part takes more than 10% of the query budget (ie. 5ms by default) to be processed (this can happen when a lot of typo alternatives exist for the query). This field will not be included when typo-tolerance is entirely disabled.
29
+ */
30
+ typo?: boolean;
31
+ };
@@ -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 hits by facet value.
6
+ * Filter the search by facet values, so that only records with the same facet values are retrieved. **Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.** - `[filter1, filter2]` is interpreted as `filter1 AND filter2`. - `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`. - `facet:-value` is interpreted as `NOT facet:value`. While it\'s best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash: `facet:\\-value`.
7
7
  */
8
8
  export type FacetFilters = MixedSearchFilters[] | string;
@@ -1,18 +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 FacetHits = {
4
4
  /**
5
- * Raw value of the facet.
5
+ * Facet value.
6
6
  */
7
7
  value: string;
8
8
 
9
9
  /**
10
- * Markup text with occurrences highlighted.
10
+ * Highlighted attribute value, including HTML tags.
11
11
  */
12
12
  highlighted: string;
13
13
 
14
14
  /**
15
- * How many objects contain this facet value. This takes into account the extra search parameters specified in the query. Like for a regular search query, the counts may not be exhaustive.
15
+ * Number of records with this facet value. [The count may be approximated](https://support.algolia.com/hc/en-us/articles/4406975248145-Why-are-my-facet-and-hit-counts-not-accurate-).
16
16
  */
17
17
  count: number;
18
18
  };
@@ -1,16 +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
  import type { Facets } from './facets';
4
4
  import type { Value } from './value';
5
5
 
6
6
  /**
7
- * Defining how facets should be ordered.
7
+ * Order of facet names and facet values in your UI.
8
8
  */
9
9
  export type FacetOrdering = {
10
10
  facets?: Facets;
11
11
 
12
12
  /**
13
- * The ordering of facet values, within an individual list.
13
+ * Order of facet values. One object for each facet.
14
14
  */
15
15
  values?: Record<string, Value>;
16
16
  };
package/model/facets.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
  /**
4
- * The ordering of facets (widgets).
4
+ * Order of facet names.
5
5
  */
6
6
  export type Facets = {
7
7
  /**
8
- * Pinned order of facet lists.
8
+ * Explicit order of facets or facet values. This setting lets you always show specific facets or facet values at the top of the list.
9
9
  */
10
10
  order?: string[];
11
11
  };
@@ -1,23 +1,23 @@
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 FacetsStats = {
4
4
  /**
5
- * The minimum value in the result set.
5
+ * Minimum value in the results.
6
6
  */
7
7
  min?: number;
8
8
 
9
9
  /**
10
- * The maximum value in the result set.
10
+ * Maximum value in the results.
11
11
  */
12
12
  max?: number;
13
13
 
14
14
  /**
15
- * The average facet value in the result set.
15
+ * Average facet value in the results.
16
16
  */
17
17
  avg?: number;
18
18
 
19
19
  /**
20
- * The sum of all values in the result set.
20
+ * Sum of all values in the results.
21
21
  */
22
22
  sum?: number;
23
23
  };
@@ -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 FetchedIndex = {
4
4
  /**
@@ -12,7 +12,7 @@ export type FetchedIndex = {
12
12
  createdAt: string;
13
13
 
14
14
  /**
15
- * Date of last update (ISO-8601 format).
15
+ * Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
16
16
  */
17
17
  updatedAt: string;
18
18
 
@@ -39,7 +39,7 @@ export type FetchedIndex = {
39
39
  /**
40
40
  * Number of pending indexing operations. This value is deprecated and should not be used.
41
41
  */
42
- numberOfPendingTask?: number;
42
+ numberOfPendingTasks: number;
43
43
 
44
44
  /**
45
45
  * A boolean which says whether the index has pending tasks. This value is deprecated and should not be used.
@@ -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 { ApiKey } from './apiKey';
4
4
  import type { BaseGetApiKeyResponse } from './baseGetApiKeyResponse';
@@ -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 { StandardEntries } from './standardEntries';
4
4
 
@@ -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 { Log } from './log';
4
4
 
@@ -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 { GetObjectsRequest } from './getObjectsRequest';
4
4
 
5
5
  /**
6
- * The `getObjects` parameters.
6
+ * Request parameters.
7
7
  */
8
8
  export type GetObjectsParams = {
9
9
  requests: GetObjectsRequest[];