@algolia/client-search 4.14.1 → 5.0.0-alpha.2

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 (474) hide show
  1. package/dist/builds/browser.d.ts +6 -0
  2. package/dist/builds/browser.d.ts.map +1 -0
  3. package/dist/builds/node.d.ts +6 -0
  4. package/dist/builds/node.d.ts.map +1 -0
  5. package/dist/client-search.cjs.js +1848 -1340
  6. package/dist/client-search.esm.browser.js +2643 -0
  7. package/dist/client-search.esm.node.js +1872 -0
  8. package/dist/client-search.umd.js +2 -0
  9. package/dist/model/acl.d.ts +2 -0
  10. package/dist/model/acl.d.ts.map +1 -0
  11. package/dist/model/action.d.ts +5 -0
  12. package/dist/model/action.d.ts.map +1 -0
  13. package/dist/model/addApiKeyResponse.d.ts +11 -0
  14. package/dist/model/addApiKeyResponse.d.ts.map +1 -0
  15. package/dist/model/advancedSyntaxFeatures.d.ts +2 -0
  16. package/dist/model/advancedSyntaxFeatures.d.ts.map +1 -0
  17. package/dist/model/alternativesAsExact.d.ts +2 -0
  18. package/dist/model/alternativesAsExact.d.ts.map +1 -0
  19. package/dist/model/anchoring.d.ts +5 -0
  20. package/dist/model/anchoring.d.ts.map +1 -0
  21. package/dist/model/apiKey.d.ts +39 -0
  22. package/dist/model/apiKey.d.ts.map +1 -0
  23. package/dist/model/aroundRadius.d.ts +6 -0
  24. package/dist/model/aroundRadius.d.ts.map +1 -0
  25. package/dist/model/aroundRadiusAll.d.ts +2 -0
  26. package/dist/model/aroundRadiusAll.d.ts.map +1 -0
  27. package/dist/model/assignUserIdParams.d.ts +10 -0
  28. package/dist/model/assignUserIdParams.d.ts.map +1 -0
  29. package/dist/model/attributeOrBuiltInOperation.d.ts +3 -0
  30. package/dist/model/attributeOrBuiltInOperation.d.ts.map +1 -0
  31. package/dist/model/automaticFacetFilter.d.ts +18 -0
  32. package/dist/model/automaticFacetFilter.d.ts.map +1 -0
  33. package/dist/model/automaticFacetFilters.d.ts +6 -0
  34. package/dist/model/automaticFacetFilters.d.ts.map +1 -0
  35. package/dist/model/baseBrowseResponse.d.ts +7 -0
  36. package/dist/model/baseBrowseResponse.d.ts.map +1 -0
  37. package/dist/model/baseIndexSettings.d.ts +59 -0
  38. package/dist/model/baseIndexSettings.d.ts.map +1 -0
  39. package/dist/model/baseSearchParams.d.ts +4 -0
  40. package/dist/model/baseSearchParams.d.ts.map +1 -0
  41. package/dist/model/baseSearchParamsWithoutQuery.d.ts +123 -0
  42. package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -0
  43. package/dist/model/baseSearchResponse.d.ts +102 -0
  44. package/dist/model/baseSearchResponse.d.ts.map +1 -0
  45. package/dist/model/batchAssignUserIdsParams.d.ts +14 -0
  46. package/dist/model/batchAssignUserIdsParams.d.ts.map +1 -0
  47. package/dist/model/batchDictionaryEntriesParams.d.ts +15 -0
  48. package/dist/model/batchDictionaryEntriesParams.d.ts.map +1 -0
  49. package/dist/model/batchDictionaryEntriesRequest.d.ts +7 -0
  50. package/dist/model/batchDictionaryEntriesRequest.d.ts.map +1 -0
  51. package/dist/model/batchOperation.d.ts +9 -0
  52. package/dist/model/batchOperation.d.ts.map +1 -0
  53. package/dist/model/batchParams.d.ts +8 -0
  54. package/dist/model/batchParams.d.ts.map +1 -0
  55. package/dist/model/batchResponse.d.ts +11 -0
  56. package/dist/model/batchResponse.d.ts.map +1 -0
  57. package/dist/model/batchWriteParams.d.ts +8 -0
  58. package/dist/model/batchWriteParams.d.ts.map +1 -0
  59. package/dist/model/browseRequest.d.ts +11 -0
  60. package/dist/model/browseRequest.d.ts.map +1 -0
  61. package/dist/model/browseResponse.d.ts +5 -0
  62. package/dist/model/browseResponse.d.ts.map +1 -0
  63. package/dist/model/builtInOperation.d.ts +12 -0
  64. package/dist/model/builtInOperation.d.ts.map +1 -0
  65. package/dist/model/builtInOperationType.d.ts +5 -0
  66. package/dist/model/builtInOperationType.d.ts.map +1 -0
  67. package/dist/model/clientMethodProps.d.ts +704 -0
  68. package/dist/model/clientMethodProps.d.ts.map +1 -0
  69. package/dist/model/condition.d.ts +17 -0
  70. package/dist/model/condition.d.ts.map +1 -0
  71. package/dist/model/consequence.d.ts +26 -0
  72. package/dist/model/consequence.d.ts.map +1 -0
  73. package/dist/model/consequenceHide.d.ts +10 -0
  74. package/dist/model/consequenceHide.d.ts.map +1 -0
  75. package/dist/model/consequenceParams.d.ts +5 -0
  76. package/dist/model/consequenceParams.d.ts.map +1 -0
  77. package/dist/model/consequenceQuery.d.ts +6 -0
  78. package/dist/model/consequenceQuery.d.ts.map +1 -0
  79. package/dist/model/consequenceQueryObject.d.ts +12 -0
  80. package/dist/model/consequenceQueryObject.d.ts.map +1 -0
  81. package/dist/model/createdAtObject.d.ts +7 -0
  82. package/dist/model/createdAtObject.d.ts.map +1 -0
  83. package/dist/model/createdAtResponse.d.ts +10 -0
  84. package/dist/model/createdAtResponse.d.ts.map +1 -0
  85. package/dist/model/deleteApiKeyResponse.d.ts +7 -0
  86. package/dist/model/deleteApiKeyResponse.d.ts.map +1 -0
  87. package/dist/model/deleteSourceResponse.d.ts +7 -0
  88. package/dist/model/deleteSourceResponse.d.ts.map +1 -0
  89. package/dist/model/deletedAtResponse.d.ts +14 -0
  90. package/dist/model/deletedAtResponse.d.ts.map +1 -0
  91. package/dist/model/dictionaryAction.d.ts +5 -0
  92. package/dist/model/dictionaryAction.d.ts.map +1 -0
  93. package/dist/model/dictionaryEntry.d.ts +28 -0
  94. package/dist/model/dictionaryEntry.d.ts.map +1 -0
  95. package/dist/model/dictionaryEntryState.d.ts +5 -0
  96. package/dist/model/dictionaryEntryState.d.ts.map +1 -0
  97. package/dist/model/dictionaryLanguage.d.ts +10 -0
  98. package/dist/model/dictionaryLanguage.d.ts.map +1 -0
  99. package/dist/model/dictionarySettingsParams.d.ts +8 -0
  100. package/dist/model/dictionarySettingsParams.d.ts.map +1 -0
  101. package/dist/model/dictionaryType.d.ts +2 -0
  102. package/dist/model/dictionaryType.d.ts.map +1 -0
  103. package/dist/model/edit.d.ts +13 -0
  104. package/dist/model/edit.d.ts.map +1 -0
  105. package/dist/model/editType.d.ts +5 -0
  106. package/dist/model/editType.d.ts.map +1 -0
  107. package/dist/model/errorBase.d.ts +7 -0
  108. package/dist/model/errorBase.d.ts.map +1 -0
  109. package/dist/model/exactOnSingleWordQuery.d.ts +5 -0
  110. package/dist/model/exactOnSingleWordQuery.d.ts.map +1 -0
  111. package/dist/model/facetFilters.d.ts +6 -0
  112. package/dist/model/facetFilters.d.ts.map +1 -0
  113. package/dist/model/facetHits.d.ts +15 -0
  114. package/dist/model/facetHits.d.ts.map +1 -0
  115. package/dist/model/facetOrdering.d.ts +13 -0
  116. package/dist/model/facetOrdering.d.ts.map +1 -0
  117. package/dist/model/facets.d.ts +10 -0
  118. package/dist/model/facets.d.ts.map +1 -0
  119. package/dist/model/facetsStats.d.ts +19 -0
  120. package/dist/model/facetsStats.d.ts.map +1 -0
  121. package/dist/model/fetchedIndex.d.ts +47 -0
  122. package/dist/model/fetchedIndex.d.ts.map +1 -0
  123. package/dist/model/getDictionarySettingsResponse.d.ts +5 -0
  124. package/dist/model/getDictionarySettingsResponse.d.ts.map +1 -0
  125. package/dist/model/getLogsResponse.d.ts +5 -0
  126. package/dist/model/getLogsResponse.d.ts.map +1 -0
  127. package/dist/model/getObjectsParams.d.ts +8 -0
  128. package/dist/model/getObjectsParams.d.ts.map +1 -0
  129. package/dist/model/getObjectsResponse.d.ts +7 -0
  130. package/dist/model/getObjectsResponse.d.ts.map +1 -0
  131. package/dist/model/getTaskResponse.d.ts +5 -0
  132. package/dist/model/getTaskResponse.d.ts.map +1 -0
  133. package/dist/model/getTopUserIdsResponse.d.ts +11 -0
  134. package/dist/model/getTopUserIdsResponse.d.ts.map +1 -0
  135. package/dist/model/hasPendingMappingsResponse.d.ts +11 -0
  136. package/dist/model/hasPendingMappingsResponse.d.ts.map +1 -0
  137. package/dist/model/highlightResult.d.ts +3 -0
  138. package/dist/model/highlightResult.d.ts.map +1 -0
  139. package/dist/model/highlightResultOption.d.ts +20 -0
  140. package/dist/model/highlightResultOption.d.ts.map +1 -0
  141. package/dist/model/hit.d.ts +23 -0
  142. package/dist/model/hit.d.ts.map +1 -0
  143. package/dist/model/ignorePlurals.d.ts +5 -0
  144. package/dist/model/ignorePlurals.d.ts.map +1 -0
  145. package/dist/model/index.d.ts +153 -0
  146. package/dist/model/index.d.ts.map +1 -0
  147. package/dist/model/indexSettings.d.ts +7 -0
  148. package/dist/model/indexSettings.d.ts.map +1 -0
  149. package/dist/model/indexSettingsAsSearchParams.d.ts +159 -0
  150. package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -0
  151. package/dist/model/key.d.ts +4 -0
  152. package/dist/model/key.d.ts.map +1 -0
  153. package/dist/model/languages.d.ts +10 -0
  154. package/dist/model/languages.d.ts.map +1 -0
  155. package/dist/model/listApiKeysResponse.d.ts +8 -0
  156. package/dist/model/listApiKeysResponse.d.ts.map +1 -0
  157. package/dist/model/listClustersResponse.d.ts +10 -0
  158. package/dist/model/listClustersResponse.d.ts.map +1 -0
  159. package/dist/model/listIndicesResponse.d.ts +12 -0
  160. package/dist/model/listIndicesResponse.d.ts.map +1 -0
  161. package/dist/model/listUserIdsResponse.d.ts +11 -0
  162. package/dist/model/listUserIdsResponse.d.ts.map +1 -0
  163. package/dist/model/log.d.ts +64 -0
  164. package/dist/model/log.d.ts.map +1 -0
  165. package/dist/model/logQuery.d.ts +15 -0
  166. package/dist/model/logQuery.d.ts.map +1 -0
  167. package/dist/model/logType.d.ts +2 -0
  168. package/dist/model/logType.d.ts.map +1 -0
  169. package/dist/model/matchLevel.d.ts +5 -0
  170. package/dist/model/matchLevel.d.ts.map +1 -0
  171. package/dist/model/matchedGeoLocation.d.ts +15 -0
  172. package/dist/model/matchedGeoLocation.d.ts.map +1 -0
  173. package/dist/model/mixedSearchFilters.d.ts +2 -0
  174. package/dist/model/mixedSearchFilters.d.ts.map +1 -0
  175. package/dist/model/multipleBatchOperation.d.ts +13 -0
  176. package/dist/model/multipleBatchOperation.d.ts.map +1 -0
  177. package/dist/model/multipleBatchResponse.d.ts +11 -0
  178. package/dist/model/multipleBatchResponse.d.ts.map +1 -0
  179. package/dist/model/multipleGetObjectsParams.d.ts +18 -0
  180. package/dist/model/multipleGetObjectsParams.d.ts.map +1 -0
  181. package/dist/model/numericFilters.d.ts +6 -0
  182. package/dist/model/numericFilters.d.ts.map +1 -0
  183. package/dist/model/operationIndexParams.d.ts +14 -0
  184. package/dist/model/operationIndexParams.d.ts.map +1 -0
  185. package/dist/model/operationType.d.ts +5 -0
  186. package/dist/model/operationType.d.ts.map +1 -0
  187. package/dist/model/optionalFilters.d.ts +6 -0
  188. package/dist/model/optionalFilters.d.ts.map +1 -0
  189. package/dist/model/params.d.ts +13 -0
  190. package/dist/model/params.d.ts.map +1 -0
  191. package/dist/model/personalization.d.ts +15 -0
  192. package/dist/model/personalization.d.ts.map +1 -0
  193. package/dist/model/promote.d.ts +4 -0
  194. package/dist/model/promote.d.ts.map +1 -0
  195. package/dist/model/promoteObjectID.d.ts +14 -0
  196. package/dist/model/promoteObjectID.d.ts.map +1 -0
  197. package/dist/model/promoteObjectIDs.d.ts +14 -0
  198. package/dist/model/promoteObjectIDs.d.ts.map +1 -0
  199. package/dist/model/queryType.d.ts +5 -0
  200. package/dist/model/queryType.d.ts.map +1 -0
  201. package/dist/model/rankingInfo.d.ts +51 -0
  202. package/dist/model/rankingInfo.d.ts.map +1 -0
  203. package/dist/model/reRankingApplyFilter.d.ts +6 -0
  204. package/dist/model/reRankingApplyFilter.d.ts.map +1 -0
  205. package/dist/model/removeStopWords.d.ts +5 -0
  206. package/dist/model/removeStopWords.d.ts.map +1 -0
  207. package/dist/model/removeUserIdResponse.d.ts +7 -0
  208. package/dist/model/removeUserIdResponse.d.ts.map +1 -0
  209. package/dist/model/removeWordsIfNoResults.d.ts +5 -0
  210. package/dist/model/removeWordsIfNoResults.d.ts.map +1 -0
  211. package/dist/model/renderingContent.d.ts +8 -0
  212. package/dist/model/renderingContent.d.ts.map +1 -0
  213. package/dist/model/replaceSourceResponse.d.ts +7 -0
  214. package/dist/model/replaceSourceResponse.d.ts.map +1 -0
  215. package/dist/model/rule.d.ts +30 -0
  216. package/dist/model/rule.d.ts.map +1 -0
  217. package/dist/model/saveObjectResponse.d.ts +12 -0
  218. package/dist/model/saveObjectResponse.d.ts.map +1 -0
  219. package/dist/model/saveSynonymResponse.d.ts +15 -0
  220. package/dist/model/saveSynonymResponse.d.ts.map +1 -0
  221. package/dist/model/scopeType.d.ts +2 -0
  222. package/dist/model/scopeType.d.ts.map +1 -0
  223. package/dist/model/searchDictionaryEntriesParams.d.ts +22 -0
  224. package/dist/model/searchDictionaryEntriesParams.d.ts.map +1 -0
  225. package/dist/model/searchForFacetValuesRequest.d.ts +15 -0
  226. package/dist/model/searchForFacetValuesRequest.d.ts.map +1 -0
  227. package/dist/model/searchForFacetValuesResponse.d.ts +5 -0
  228. package/dist/model/searchForFacetValuesResponse.d.ts.map +1 -0
  229. package/dist/model/searchForFacets.d.ts +4 -0
  230. package/dist/model/searchForFacets.d.ts.map +1 -0
  231. package/dist/model/searchForFacetsOptions.d.ts +21 -0
  232. package/dist/model/searchForFacetsOptions.d.ts.map +1 -0
  233. package/dist/model/searchForHits.d.ts +4 -0
  234. package/dist/model/searchForHits.d.ts.map +1 -0
  235. package/dist/model/searchForHitsOptions.d.ts +13 -0
  236. package/dist/model/searchForHitsOptions.d.ts.map +1 -0
  237. package/dist/model/searchHits.d.ts +5 -0
  238. package/dist/model/searchHits.d.ts.map +1 -0
  239. package/dist/model/searchMethodParams.d.ts +7 -0
  240. package/dist/model/searchMethodParams.d.ts.map +1 -0
  241. package/dist/model/searchParams.d.ts +4 -0
  242. package/dist/model/searchParams.d.ts.map +1 -0
  243. package/dist/model/searchParamsObject.d.ts +4 -0
  244. package/dist/model/searchParamsObject.d.ts.map +1 -0
  245. package/dist/model/searchParamsQuery.d.ts +7 -0
  246. package/dist/model/searchParamsQuery.d.ts.map +1 -0
  247. package/dist/model/searchParamsString.d.ts +7 -0
  248. package/dist/model/searchParamsString.d.ts.map +1 -0
  249. package/dist/model/searchQuery.d.ts +4 -0
  250. package/dist/model/searchQuery.d.ts.map +1 -0
  251. package/dist/model/searchResponse.d.ts +4 -0
  252. package/dist/model/searchResponse.d.ts.map +1 -0
  253. package/dist/model/searchResponses.d.ts +5 -0
  254. package/dist/model/searchResponses.d.ts.map +1 -0
  255. package/dist/model/searchRulesParams.d.ts +32 -0
  256. package/dist/model/searchRulesParams.d.ts.map +1 -0
  257. package/dist/model/searchRulesResponse.d.ts +20 -0
  258. package/dist/model/searchRulesResponse.d.ts.map +1 -0
  259. package/dist/model/searchStrategy.d.ts +2 -0
  260. package/dist/model/searchStrategy.d.ts.map +1 -0
  261. package/dist/model/searchSynonymsParams.d.ts +7 -0
  262. package/dist/model/searchSynonymsParams.d.ts.map +1 -0
  263. package/dist/model/searchSynonymsResponse.d.ts +12 -0
  264. package/dist/model/searchSynonymsResponse.d.ts.map +1 -0
  265. package/dist/model/searchTypeDefault.d.ts +5 -0
  266. package/dist/model/searchTypeDefault.d.ts.map +1 -0
  267. package/dist/model/searchTypeFacet.d.ts +5 -0
  268. package/dist/model/searchTypeFacet.d.ts.map +1 -0
  269. package/dist/model/searchUserIdsParams.d.ts +22 -0
  270. package/dist/model/searchUserIdsParams.d.ts.map +1 -0
  271. package/dist/model/searchUserIdsResponse.d.ts +27 -0
  272. package/dist/model/searchUserIdsResponse.d.ts.map +1 -0
  273. package/dist/model/snippetResult.d.ts +3 -0
  274. package/dist/model/snippetResult.d.ts.map +1 -0
  275. package/dist/model/snippetResultOption.d.ts +12 -0
  276. package/dist/model/snippetResultOption.d.ts.map +1 -0
  277. package/dist/model/sortRemainingBy.d.ts +5 -0
  278. package/dist/model/sortRemainingBy.d.ts.map +1 -0
  279. package/dist/model/source.d.ts +14 -0
  280. package/dist/model/source.d.ts.map +1 -0
  281. package/dist/model/standardEntries.d.ts +18 -0
  282. package/dist/model/standardEntries.d.ts.map +1 -0
  283. package/dist/model/synonymHit.d.ts +38 -0
  284. package/dist/model/synonymHit.d.ts.map +1 -0
  285. package/dist/model/synonymHitHighlightResult.d.ts +12 -0
  286. package/dist/model/synonymHitHighlightResult.d.ts.map +1 -0
  287. package/dist/model/synonymType.d.ts +5 -0
  288. package/dist/model/synonymType.d.ts.map +1 -0
  289. package/dist/model/tagFilters.d.ts +6 -0
  290. package/dist/model/tagFilters.d.ts.map +1 -0
  291. package/dist/model/taskStatus.d.ts +2 -0
  292. package/dist/model/taskStatus.d.ts.map +1 -0
  293. package/dist/model/timeRange.d.ts +11 -0
  294. package/dist/model/timeRange.d.ts.map +1 -0
  295. package/dist/model/typoTolerance.d.ts +6 -0
  296. package/dist/model/typoTolerance.d.ts.map +1 -0
  297. package/dist/model/typoToleranceEnum.d.ts +2 -0
  298. package/dist/model/typoToleranceEnum.d.ts.map +1 -0
  299. package/dist/model/updateApiKeyResponse.d.ts +11 -0
  300. package/dist/model/updateApiKeyResponse.d.ts.map +1 -0
  301. package/dist/model/updatedAtResponse.d.ts +14 -0
  302. package/dist/model/updatedAtResponse.d.ts.map +1 -0
  303. package/dist/model/updatedAtWithObjectIdResponse.d.ts +18 -0
  304. package/dist/model/updatedAtWithObjectIdResponse.d.ts.map +1 -0
  305. package/dist/model/updatedRuleResponse.d.ts +15 -0
  306. package/dist/model/updatedRuleResponse.d.ts.map +1 -0
  307. package/dist/model/userHighlightResult.d.ts +12 -0
  308. package/dist/model/userHighlightResult.d.ts.map +1 -0
  309. package/dist/model/userHit.d.ts +25 -0
  310. package/dist/model/userHit.d.ts.map +1 -0
  311. package/dist/model/userId.d.ts +22 -0
  312. package/dist/model/userId.d.ts.map +1 -0
  313. package/dist/model/value.d.ts +9 -0
  314. package/dist/model/value.d.ts.map +1 -0
  315. package/dist/src/searchClient.d.ts +677 -0
  316. package/dist/src/searchClient.d.ts.map +1 -0
  317. package/index.d.ts +2 -0
  318. package/index.js +1 -1
  319. package/model/acl.ts +17 -0
  320. package/model/action.ts +13 -0
  321. package/model/addApiKeyResponse.ts +12 -0
  322. package/model/advancedSyntaxFeatures.ts +3 -0
  323. package/model/alternativesAsExact.ts +6 -0
  324. package/model/anchoring.ts +6 -0
  325. package/model/apiKey.ts +41 -0
  326. package/model/aroundRadius.ts +8 -0
  327. package/model/aroundRadiusAll.ts +3 -0
  328. package/model/assignUserIdParams.ts +11 -0
  329. package/model/attributeOrBuiltInOperation.ts +5 -0
  330. package/model/automaticFacetFilter.ts +19 -0
  331. package/model/automaticFacetFilters.ts +8 -0
  332. package/model/baseBrowseResponse.ts +8 -0
  333. package/model/baseIndexSettings.ts +60 -0
  334. package/model/baseSearchParams.ts +6 -0
  335. package/model/baseSearchParamsWithoutQuery.ts +125 -0
  336. package/model/baseSearchResponse.ts +104 -0
  337. package/model/batchAssignUserIdsParams.ts +15 -0
  338. package/model/batchDictionaryEntriesParams.ts +17 -0
  339. package/model/batchDictionaryEntriesRequest.ts +9 -0
  340. package/model/batchOperation.ts +11 -0
  341. package/model/batchParams.ts +10 -0
  342. package/model/batchResponse.ts +12 -0
  343. package/model/batchWriteParams.ts +10 -0
  344. package/model/browseRequest.ts +12 -0
  345. package/model/browseResponse.ts +9 -0
  346. package/model/builtInOperation.ts +14 -0
  347. package/model/builtInOperationType.ts +13 -0
  348. package/model/clientMethodProps.ts +769 -0
  349. package/model/condition.ts +19 -0
  350. package/model/consequence.ts +28 -0
  351. package/model/consequenceHide.ts +11 -0
  352. package/model/consequenceParams.ts +9 -0
  353. package/model/consequenceQuery.ts +8 -0
  354. package/model/consequenceQueryObject.ts +14 -0
  355. package/model/createdAtObject.ts +8 -0
  356. package/model/createdAtResponse.ts +11 -0
  357. package/model/deleteApiKeyResponse.ts +8 -0
  358. package/model/deleteSourceResponse.ts +8 -0
  359. package/model/deletedAtResponse.ts +15 -0
  360. package/model/dictionaryAction.ts +6 -0
  361. package/model/dictionaryEntry.ts +30 -0
  362. package/model/dictionaryEntryState.ts +6 -0
  363. package/model/dictionaryLanguage.ts +11 -0
  364. package/model/dictionarySettingsParams.ts +10 -0
  365. package/model/dictionaryType.ts +3 -0
  366. package/model/edit.ts +15 -0
  367. package/model/editType.ts +6 -0
  368. package/model/errorBase.ts +8 -0
  369. package/model/exactOnSingleWordQuery.ts +6 -0
  370. package/model/facetFilters.ts +8 -0
  371. package/model/facetHits.ts +16 -0
  372. package/model/facetOrdering.ts +15 -0
  373. package/model/facets.ts +11 -0
  374. package/model/facetsStats.ts +20 -0
  375. package/model/fetchedIndex.ts +48 -0
  376. package/model/getDictionarySettingsResponse.ts +7 -0
  377. package/model/getLogsResponse.ts +7 -0
  378. package/model/getObjectsParams.ts +10 -0
  379. package/model/getObjectsResponse.ts +8 -0
  380. package/model/getTaskResponse.ts +7 -0
  381. package/model/getTopUserIdsResponse.ts +13 -0
  382. package/model/hasPendingMappingsResponse.ts +12 -0
  383. package/model/highlightResult.ts +5 -0
  384. package/model/highlightResultOption.ts +22 -0
  385. package/model/hit.ts +25 -0
  386. package/model/ignorePlurals.ts +6 -0
  387. package/model/index.ts +154 -0
  388. package/model/indexSettings.ts +9 -0
  389. package/model/indexSettingsAsSearchParams.ts +161 -0
  390. package/model/key.ts +6 -0
  391. package/model/languages.ts +12 -0
  392. package/model/listApiKeysResponse.ts +10 -0
  393. package/model/listClustersResponse.ts +11 -0
  394. package/model/listIndicesResponse.ts +14 -0
  395. package/model/listUserIdsResponse.ts +13 -0
  396. package/model/log.ts +66 -0
  397. package/model/logQuery.ts +16 -0
  398. package/model/logType.ts +3 -0
  399. package/model/matchLevel.ts +6 -0
  400. package/model/matchedGeoLocation.ts +16 -0
  401. package/model/mixedSearchFilters.ts +3 -0
  402. package/model/multipleBatchOperation.ts +15 -0
  403. package/model/multipleBatchResponse.ts +12 -0
  404. package/model/multipleGetObjectsParams.ts +19 -0
  405. package/model/numericFilters.ts +8 -0
  406. package/model/operationIndexParams.ts +16 -0
  407. package/model/operationType.ts +6 -0
  408. package/model/optionalFilters.ts +8 -0
  409. package/model/params.ts +15 -0
  410. package/model/personalization.ts +16 -0
  411. package/model/promote.ts +6 -0
  412. package/model/promoteObjectID.ts +15 -0
  413. package/model/promoteObjectIDs.ts +15 -0
  414. package/model/queryType.ts +6 -0
  415. package/model/rankingInfo.ts +53 -0
  416. package/model/reRankingApplyFilter.ts +8 -0
  417. package/model/removeStopWords.ts +6 -0
  418. package/model/removeUserIdResponse.ts +8 -0
  419. package/model/removeWordsIfNoResults.ts +10 -0
  420. package/model/renderingContent.ts +10 -0
  421. package/model/replaceSourceResponse.ts +8 -0
  422. package/model/rule.ts +32 -0
  423. package/model/saveObjectResponse.ts +13 -0
  424. package/model/saveSynonymResponse.ts +16 -0
  425. package/model/scopeType.ts +3 -0
  426. package/model/searchDictionaryEntriesParams.ts +23 -0
  427. package/model/searchForFacetValuesRequest.ts +16 -0
  428. package/model/searchForFacetValuesResponse.ts +7 -0
  429. package/model/searchForFacets.ts +6 -0
  430. package/model/searchForFacetsOptions.ts +23 -0
  431. package/model/searchForHits.ts +6 -0
  432. package/model/searchForHitsOptions.ts +11 -0
  433. package/model/searchHits.ts +7 -0
  434. package/model/searchMethodParams.ts +9 -0
  435. package/model/searchParams.ts +6 -0
  436. package/model/searchParamsObject.ts +6 -0
  437. package/model/searchParamsQuery.ts +8 -0
  438. package/model/searchParamsString.ts +8 -0
  439. package/model/searchQuery.ts +6 -0
  440. package/model/searchResponse.ts +6 -0
  441. package/model/searchResponses.ts +7 -0
  442. package/model/searchRulesParams.ts +34 -0
  443. package/model/searchRulesResponse.ts +22 -0
  444. package/model/searchStrategy.ts +3 -0
  445. package/model/searchSynonymsParams.ts +8 -0
  446. package/model/searchSynonymsResponse.ts +14 -0
  447. package/model/searchTypeDefault.ts +6 -0
  448. package/model/searchTypeFacet.ts +6 -0
  449. package/model/searchUserIdsParams.ts +23 -0
  450. package/model/searchUserIdsResponse.ts +29 -0
  451. package/model/snippetResult.ts +5 -0
  452. package/model/snippetResultOption.ts +14 -0
  453. package/model/sortRemainingBy.ts +6 -0
  454. package/model/source.ts +15 -0
  455. package/model/standardEntries.ts +19 -0
  456. package/model/synonymHit.ts +40 -0
  457. package/model/synonymHitHighlightResult.ts +14 -0
  458. package/model/synonymType.ts +11 -0
  459. package/model/tagFilters.ts +8 -0
  460. package/model/taskStatus.ts +3 -0
  461. package/model/timeRange.ts +12 -0
  462. package/model/typoTolerance.ts +8 -0
  463. package/model/typoToleranceEnum.ts +3 -0
  464. package/model/updateApiKeyResponse.ts +12 -0
  465. package/model/updatedAtResponse.ts +15 -0
  466. package/model/updatedAtWithObjectIdResponse.ts +19 -0
  467. package/model/updatedRuleResponse.ts +16 -0
  468. package/model/userHighlightResult.ts +14 -0
  469. package/model/userHit.ts +27 -0
  470. package/model/userId.ts +23 -0
  471. package/model/value.ts +11 -0
  472. package/package.json +25 -13
  473. package/dist/client-search.d.ts +0 -2490
  474. package/dist/client-search.esm.js +0 -1276
@@ -0,0 +1,19 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { Anchoring } from './anchoring';
4
+
5
+ export type Condition = {
6
+ /**
7
+ * Query pattern syntax.
8
+ */
9
+ pattern?: string;
10
+ anchoring?: Anchoring;
11
+ /**
12
+ * Whether the pattern matches on plurals, synonyms, and typos.
13
+ */
14
+ alternatives?: boolean;
15
+ /**
16
+ * Rule context format: [A-Za-z0-9_-]+).
17
+ */
18
+ context?: string;
19
+ };
@@ -0,0 +1,28 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { ConsequenceHide } from './consequenceHide';
4
+ import type { ConsequenceParams } from './consequenceParams';
5
+ import type { Promote } from './promote';
6
+
7
+ /**
8
+ * Consequence of the Rule.
9
+ */
10
+ export type Consequence = {
11
+ params?: ConsequenceParams;
12
+ /**
13
+ * Objects to promote as hits.
14
+ */
15
+ promote?: Promote[];
16
+ /**
17
+ * 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.
18
+ */
19
+ filterPromotes?: boolean;
20
+ /**
21
+ * Objects to hide from hits. Each object must contain an objectID field. By default, you can hide up to 50 items per rule.
22
+ */
23
+ hide?: ConsequenceHide[];
24
+ /**
25
+ * 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.
26
+ */
27
+ userData?: Record<string, any>;
28
+ };
@@ -0,0 +1,11 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * Unique identifier of the object to hide.
5
+ */
6
+ export type ConsequenceHide = {
7
+ /**
8
+ * Unique identifier of the object.
9
+ */
10
+ objectID: string;
11
+ };
@@ -0,0 +1,9 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuery';
4
+ import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
5
+ import type { Params } from './params';
6
+
7
+ export type ConsequenceParams = BaseSearchParamsWithoutQuery &
8
+ IndexSettingsAsSearchParams &
9
+ Params;
@@ -0,0 +1,8 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { ConsequenceQueryObject } from './consequenceQueryObject';
4
+
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).
7
+ */
8
+ export type ConsequenceQuery = ConsequenceQueryObject | string;
@@ -0,0 +1,14 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { Edit } from './edit';
4
+
5
+ export type ConsequenceQueryObject = {
6
+ /**
7
+ * Words to remove.
8
+ */
9
+ remove?: string[];
10
+ /**
11
+ * Edits to apply.
12
+ */
13
+ edits?: Edit[];
14
+ };
@@ -0,0 +1,8 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type CreatedAtObject = {
4
+ /**
5
+ * Date of creation (ISO-8601 format).
6
+ */
7
+ createdAt: string;
8
+ };
@@ -0,0 +1,11 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * The response with a createdAt timestamp.
5
+ */
6
+ export type CreatedAtResponse = {
7
+ /**
8
+ * Date of creation (ISO-8601 format).
9
+ */
10
+ createdAt: string;
11
+ };
@@ -0,0 +1,8 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type DeleteApiKeyResponse = {
4
+ /**
5
+ * Date of deletion (ISO-8601 format).
6
+ */
7
+ deletedAt: string;
8
+ };
@@ -0,0 +1,8 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type DeleteSourceResponse = {
4
+ /**
5
+ * Date of deletion (ISO-8601 format).
6
+ */
7
+ deletedAt: string;
8
+ };
@@ -0,0 +1,15 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * The response with a taskID and a deletedAt timestamp.
5
+ */
6
+ export type DeletedAtResponse = {
7
+ /**
8
+ * TaskID of the task to wait for.
9
+ */
10
+ taskID: number;
11
+ /**
12
+ * Date of deletion (ISO-8601 format).
13
+ */
14
+ deletedAt: string;
15
+ };
@@ -0,0 +1,6 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * Actions to perform.
5
+ */
6
+ export type DictionaryAction = 'addEntry' | 'deleteEntry';
@@ -0,0 +1,30 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { DictionaryEntryState } from './dictionaryEntryState';
4
+
5
+ /**
6
+ * A dictionary entry.
7
+ */
8
+ export type DictionaryEntry = Record<string, any> & {
9
+ /**
10
+ * Unique identifier of the object.
11
+ */
12
+ objectID: string;
13
+ /**
14
+ * Language ISO code supported by the dictionary (e.g., \"en\" for English).
15
+ */
16
+ language: string;
17
+ /**
18
+ * The word of the dictionary entry.
19
+ */
20
+ word?: string;
21
+ /**
22
+ * The words of the dictionary entry.
23
+ */
24
+ words?: string[];
25
+ /**
26
+ * A decomposition of the word of the dictionary entry.
27
+ */
28
+ decomposition?: string[];
29
+ state?: DictionaryEntryState;
30
+ };
@@ -0,0 +1,6 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * The state of the dictionary entry.
5
+ */
6
+ export type DictionaryEntryState = 'disabled' | 'enabled';
@@ -0,0 +1,11 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * Custom entries for a dictionary.
5
+ */
6
+ export type DictionaryLanguage = {
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.
9
+ */
10
+ nbCustomEntires?: number;
11
+ };
@@ -0,0 +1,10 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { StandardEntries } from './standardEntries';
4
+
5
+ /**
6
+ * Disable the builtin Algolia entries for a type of dictionary per language.
7
+ */
8
+ export type DictionarySettingsParams = {
9
+ disableStandardEntries: StandardEntries;
10
+ };
@@ -0,0 +1,3 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type DictionaryType = 'compounds' | 'plurals' | 'stopwords';
package/model/edit.ts ADDED
@@ -0,0 +1,15 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { EditType } from './editType';
4
+
5
+ export type Edit = {
6
+ type?: EditType;
7
+ /**
8
+ * Text or patterns to remove from the query string.
9
+ */
10
+ delete?: string;
11
+ /**
12
+ * Text that should be inserted in place of the removed text inside the query string.
13
+ */
14
+ insert?: string;
15
+ };
@@ -0,0 +1,6 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * Type of edit.
5
+ */
6
+ export type EditType = 'remove' | 'replace';
@@ -0,0 +1,8 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * Error.
5
+ */
6
+ export type ErrorBase = Record<string, any> & {
7
+ message?: string;
8
+ };
@@ -0,0 +1,6 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * Controls how the exact ranking criterion is computed when the query contains only one word.
5
+ */
6
+ export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
@@ -0,0 +1,8 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { MixedSearchFilters } from './mixedSearchFilters';
4
+
5
+ /**
6
+ * Filter hits by facet value.
7
+ */
8
+ export type FacetFilters = MixedSearchFilters[] | string;
@@ -0,0 +1,16 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type FacetHits = {
4
+ /**
5
+ * Raw value of the facet.
6
+ */
7
+ value: string;
8
+ /**
9
+ * Markup text with occurrences highlighted.
10
+ */
11
+ highlighted: string;
12
+ /**
13
+ * 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.
14
+ */
15
+ count: number;
16
+ };
@@ -0,0 +1,15 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { Facets } from './facets';
4
+ import type { Value } from './value';
5
+
6
+ /**
7
+ * Defining how facets should be ordered.
8
+ */
9
+ export type FacetOrdering = {
10
+ facets?: Facets;
11
+ /**
12
+ * The ordering of facet values, within an individual list.
13
+ */
14
+ values?: Record<string, Value>;
15
+ };
@@ -0,0 +1,11 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * The ordering of facets (widgets).
5
+ */
6
+ export type Facets = {
7
+ /**
8
+ * Pinned order of facet lists.
9
+ */
10
+ order?: string[];
11
+ };
@@ -0,0 +1,20 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type FacetsStats = {
4
+ /**
5
+ * The minimum value in the result set.
6
+ */
7
+ min?: number;
8
+ /**
9
+ * The maximum value in the result set.
10
+ */
11
+ max?: number;
12
+ /**
13
+ * The average facet value in the result set.
14
+ */
15
+ avg?: number;
16
+ /**
17
+ * The sum of all values in the result set.
18
+ */
19
+ sum?: number;
20
+ };
@@ -0,0 +1,48 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type FetchedIndex = {
4
+ /**
5
+ * Index name.
6
+ */
7
+ name: string;
8
+ /**
9
+ * Index creation date. An empty string means that the index has no records.
10
+ */
11
+ createdAt: string;
12
+ /**
13
+ * Date of last update (ISO-8601 format).
14
+ */
15
+ updatedAt: string;
16
+ /**
17
+ * Number of records contained in the index.
18
+ */
19
+ entries: number;
20
+ /**
21
+ * Number of bytes of the index in minified format.
22
+ */
23
+ dataSize: number;
24
+ /**
25
+ * Number of bytes of the index binary file.
26
+ */
27
+ fileSize: number;
28
+ /**
29
+ * Last build time.
30
+ */
31
+ lastBuildTimeS: number;
32
+ /**
33
+ * Number of pending indexing operations. This value is deprecated and should not be used.
34
+ */
35
+ numberOfPendingTask?: number;
36
+ /**
37
+ * A boolean which says whether the index has pending tasks. This value is deprecated and should not be used.
38
+ */
39
+ pendingTask: boolean;
40
+ /**
41
+ * Only present if the index is a replica. Contains the name of the related primary index.
42
+ */
43
+ primary?: string;
44
+ /**
45
+ * Only present if the index is a primary index with replicas. Contains the names of all linked replicas.
46
+ */
47
+ replicas?: string[];
48
+ };
@@ -0,0 +1,7 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { StandardEntries } from './standardEntries';
4
+
5
+ export type GetDictionarySettingsResponse = {
6
+ disableStandardEntries: StandardEntries;
7
+ };
@@ -0,0 +1,7 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { Log } from './log';
4
+
5
+ export type GetLogsResponse = {
6
+ logs: Log[];
7
+ };
@@ -0,0 +1,10 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { MultipleGetObjectsParams } from './multipleGetObjectsParams';
4
+
5
+ /**
6
+ * The `getObjects` parameters.
7
+ */
8
+ export type GetObjectsParams = {
9
+ requests?: MultipleGetObjectsParams[];
10
+ };
@@ -0,0 +1,8 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type GetObjectsResponse = {
4
+ /**
5
+ * List of results fetched.
6
+ */
7
+ results?: Array<Record<string, any>>;
8
+ };
@@ -0,0 +1,7 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { TaskStatus } from './taskStatus';
4
+
5
+ export type GetTaskResponse = {
6
+ status: TaskStatus;
7
+ };
@@ -0,0 +1,13 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { UserId } from './userId';
4
+
5
+ /**
6
+ * Array of userIDs and clusters.
7
+ */
8
+ export type GetTopUserIdsResponse = {
9
+ /**
10
+ * Mapping of cluster names to top users.
11
+ */
12
+ topUsers: Array<Record<string, UserId[]>>;
13
+ };
@@ -0,0 +1,12 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type HasPendingMappingsResponse = {
4
+ /**
5
+ * If there is any clusters with pending mapping state.
6
+ */
7
+ pending: boolean;
8
+ /**
9
+ * Describe cluster pending (migrating, creating, deleting) mapping state.
10
+ */
11
+ clusters?: Record<string, string[]>;
12
+ };
@@ -0,0 +1,5 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { HighlightResultOption } from './highlightResultOption';
4
+
5
+ export type HighlightResult = HighlightResultOption | HighlightResultOption[];
@@ -0,0 +1,22 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { MatchLevel } from './matchLevel';
4
+
5
+ /**
6
+ * Show highlighted section and words matched on a query.
7
+ */
8
+ export type HighlightResultOption = {
9
+ /**
10
+ * Markup text with occurrences highlighted.
11
+ */
12
+ value: string;
13
+ matchLevel: MatchLevel;
14
+ /**
15
+ * List of words from the query that matched the object.
16
+ */
17
+ matchedWords: string[];
18
+ /**
19
+ * Whether the entire attribute value is highlighted.
20
+ */
21
+ fullyHighlighted?: boolean;
22
+ };
package/model/hit.ts ADDED
@@ -0,0 +1,25 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { HighlightResult } from './highlightResult';
4
+ import type { RankingInfo } from './rankingInfo';
5
+ import type { SnippetResult } from './snippetResult';
6
+
7
+ /**
8
+ * A single hit.
9
+ */
10
+ export type Hit<T> = T & {
11
+ /**
12
+ * Unique identifier of the object.
13
+ */
14
+ objectID: string;
15
+ /**
16
+ * Show highlighted section and words matched on a query.
17
+ */
18
+ _highlightResult?: Record<string, HighlightResult>;
19
+ /**
20
+ * Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
21
+ */
22
+ _snippetResult?: Record<string, SnippetResult>;
23
+ _rankingInfo?: RankingInfo;
24
+ _distinctSeqID?: number;
25
+ };
@@ -0,0 +1,6 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * Treats singular, plurals, and other forms of declensions as matching terms. IgnorePlurals 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 ignore plurals functionality, where singulars and plurals are considered equivalent (foot = feet). The languages supported here are either every language (this is the default, see list of languages below), or those set by queryLanguages. False: disables ignore plurals, where singulars and plurals are not considered the same for matching purposes (foot will not find feet).
5
+ */
6
+ export type IgnorePlurals = string[] | boolean;