@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,15 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * Multiple objectIDs to promote as hits.
5
+ */
6
+ export type PromoteObjectIDs = {
7
+ /**
8
+ * Array of unique identifiers of the objects to promote.
9
+ */
10
+ objectIDs: string[];
11
+ /**
12
+ * The position to promote the objects to (zero-based). If you pass objectIDs, the objects are placed at this position as a group. For example, if you pass four objectIDs to position 0, the objects take the first four positions.
13
+ */
14
+ position: number;
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
+ * Controls if and how query words are interpreted as prefixes.
5
+ */
6
+ export type QueryType = 'prefixAll' | 'prefixLast' | 'prefixNone';
@@ -0,0 +1,53 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { MatchedGeoLocation } from './matchedGeoLocation';
4
+ import type { Personalization } from './personalization';
5
+
6
+ export type RankingInfo = {
7
+ /**
8
+ * This field is reserved for advanced usage.
9
+ */
10
+ filters: number;
11
+ /**
12
+ * Position of the most important matched attribute in the attributes to index list.
13
+ */
14
+ firstMatchedWord: number;
15
+ /**
16
+ * Distance between the geo location in the search query and the best matching geo location in the record, divided by the geo precision (in meters).
17
+ */
18
+ geoDistance: number;
19
+ /**
20
+ * Precision used when computing the geo distance, in meters.
21
+ */
22
+ geoPrecision?: number;
23
+ matchedGeoLocation?: MatchedGeoLocation;
24
+ personalization?: Personalization;
25
+ /**
26
+ * Number of exactly matched words.
27
+ */
28
+ nbExactWords: number;
29
+ /**
30
+ * Number of typos encountered when matching the record.
31
+ */
32
+ nbTypos: number;
33
+ /**
34
+ * Present and set to true if a Rule promoted the hit.
35
+ */
36
+ promoted: boolean;
37
+ /**
38
+ * When the query contains more than one word, the sum of the distances between matched words (in meters).
39
+ */
40
+ proximityDistance?: number;
41
+ /**
42
+ * Custom ranking for the object, expressed as a single integer value.
43
+ */
44
+ userScore: number;
45
+ /**
46
+ * Number of matched words, including prefixes and typos.
47
+ */
48
+ words: number;
49
+ /**
50
+ * Wether the record are promoted by the re-ranking strategy.
51
+ */
52
+ promotedByReRanking?: boolean;
53
+ };
@@ -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
+ * When Dynamic Re-Ranking is enabled, only records that match these filters will be impacted by Dynamic Re-Ranking.
7
+ */
8
+ export type ReRankingApplyFilter = MixedSearchFilters[] | string;
@@ -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
+ * Removes stop (common) words from the query before executing it. RemoveStopWords is used in conjunction with the queryLanguages setting. List: language ISO codes for which ignoring plurals should be enabled. This list will override any values that you may have set in queryLanguages. True: enables the stop word functionality, ensuring that stop words are removed from consideration in a search. The languages supported here are either every language, or those set by queryLanguages. False: disables stop word functionality, allowing stop words to be taken into account in a search.
5
+ */
6
+ export type RemoveStopWords = string[] | boolean;
@@ -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 RemoveUserIdResponse = {
4
+ /**
5
+ * Date of deletion (ISO-8601 format).
6
+ */
7
+ deletedAt: string;
8
+ };
@@ -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
+ /**
4
+ * Selects a strategy to remove words from the query when it doesn\'t match any hits.
5
+ */
6
+ export type RemoveWordsIfNoResults =
7
+ | 'allOptional'
8
+ | 'firstWords'
9
+ | 'lastWords'
10
+ | 'none';
@@ -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 { FacetOrdering } from './facetOrdering';
4
+
5
+ /**
6
+ * Content defining how the search interface should be rendered. Can be set via the settings for a default value and can be overridden via rules.
7
+ */
8
+ export type RenderingContent = {
9
+ facetOrdering?: FacetOrdering;
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 ReplaceSourceResponse = {
4
+ /**
5
+ * Date of last update (ISO-8601 format).
6
+ */
7
+ updatedAt: string;
8
+ };
package/model/rule.ts ADDED
@@ -0,0 +1,32 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { Condition } from './condition';
4
+ import type { Consequence } from './consequence';
5
+ import type { TimeRange } from './timeRange';
6
+
7
+ /**
8
+ * Rule object.
9
+ */
10
+ export type Rule = {
11
+ /**
12
+ * Unique identifier of the object.
13
+ */
14
+ objectID: string;
15
+ /**
16
+ * A list of conditions that should apply to activate a Rule. You can use up to 25 conditions per Rule.
17
+ */
18
+ conditions?: Condition[];
19
+ consequence?: Consequence;
20
+ /**
21
+ * This field is intended for Rule management purposes, in particular to ease searching for Rules and presenting them to human readers. It\'s not interpreted by the API.
22
+ */
23
+ description?: string;
24
+ /**
25
+ * Whether the Rule is enabled. Disabled Rules remain in the index, but aren\'t applied at query time.
26
+ */
27
+ enabled?: boolean;
28
+ /**
29
+ * By default, Rules are permanently valid. When validity periods are specified, the Rule applies only during those periods; it\'s ignored the rest of the time. The list must not be empty.
30
+ */
31
+ validity?: TimeRange[];
32
+ };
@@ -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
+ export type SaveObjectResponse = {
4
+ createdAt?: string;
5
+ /**
6
+ * TaskID of the task to wait for.
7
+ */
8
+ taskID?: number;
9
+ /**
10
+ * Unique identifier of the object.
11
+ */
12
+ objectID?: string;
13
+ };
@@ -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 SaveSynonymResponse = {
4
+ /**
5
+ * TaskID of the task to wait for.
6
+ */
7
+ taskID: number;
8
+ /**
9
+ * Date of last update (ISO-8601 format).
10
+ */
11
+ updatedAt: string;
12
+ /**
13
+ * ObjectID of the inserted object.
14
+ */
15
+ id: string;
16
+ };
@@ -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 ScopeType = 'rules' | 'settings' | 'synonyms';
@@ -0,0 +1,23 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * The `searchDictionaryEntries` parameters.
5
+ */
6
+ export type SearchDictionaryEntriesParams = {
7
+ /**
8
+ * The text to search in the index.
9
+ */
10
+ query: string;
11
+ /**
12
+ * Specify the page to retrieve.
13
+ */
14
+ page?: number;
15
+ /**
16
+ * Set the number of hits per page.
17
+ */
18
+ hitsPerPage?: number;
19
+ /**
20
+ * Language ISO code supported by the dictionary (e.g., \"en\" for English).
21
+ */
22
+ language?: string;
23
+ };
@@ -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 SearchForFacetValuesRequest = {
4
+ /**
5
+ * Search parameters as URL-encoded query string.
6
+ */
7
+ params?: string;
8
+ /**
9
+ * Text to search inside the facet\'s values.
10
+ */
11
+ facetQuery?: string;
12
+ /**
13
+ * Maximum number of facet hits to return during a search for facet values. For performance reasons, the maximum allowed number of returned values is 100.
14
+ */
15
+ maxFacetHits?: number;
16
+ };
@@ -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 { FacetHits } from './facetHits';
4
+
5
+ export type SearchForFacetValuesResponse = {
6
+ facetHits: FacetHits[];
7
+ };
@@ -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
+ import type { SearchForFacetsOptions } from './searchForFacetsOptions';
4
+ import type { SearchParams } from './searchParams';
5
+
6
+ export type SearchForFacets = SearchForFacetsOptions & SearchParams;
@@ -0,0 +1,23 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { SearchTypeFacet } from './searchTypeFacet';
4
+
5
+ export type SearchForFacetsOptions = {
6
+ /**
7
+ * The `facet` name.
8
+ */
9
+ facet: string;
10
+ /**
11
+ * The Algolia index name.
12
+ */
13
+ indexName: string;
14
+ /**
15
+ * Text to search inside the facet\'s values.
16
+ */
17
+ facetQuery?: string;
18
+ /**
19
+ * Maximum number of facet hits to return during a search for facet values. For performance reasons, the maximum allowed number of returned values is 100.
20
+ */
21
+ maxFacetHits?: number;
22
+ type: SearchTypeFacet;
23
+ };
@@ -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
+ import type { SearchForHitsOptions } from './searchForHitsOptions';
4
+ import type { SearchParams } from './searchParams';
5
+
6
+ export type SearchForHits = SearchForHitsOptions & SearchParams;
@@ -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
+ import type { SearchTypeDefault } from './searchTypeDefault';
4
+
5
+ export type SearchForHitsOptions = {
6
+ /**
7
+ * The Algolia index name.
8
+ */
9
+ indexName: string;
10
+ type?: SearchTypeDefault;
11
+ } & { facet?: never; maxFacetHits?: never; facetQuery?: never };
@@ -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 { Hit } from './hit';
4
+
5
+ export type SearchHits<T> = {
6
+ hits: Array<Hit<T>>;
7
+ };
@@ -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 { SearchQuery } from './searchQuery';
4
+ import type { SearchStrategy } from './searchStrategy';
5
+
6
+ export type SearchMethodParams = {
7
+ requests: SearchQuery[];
8
+ strategy?: SearchStrategy;
9
+ };
@@ -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
+ import type { SearchParamsObject } from './searchParamsObject';
4
+ import type { SearchParamsString } from './searchParamsString';
5
+
6
+ export type SearchParams = SearchParamsObject | SearchParamsString;
@@ -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
+ import type { BaseSearchParams } from './baseSearchParams';
4
+ import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
5
+
6
+ export type SearchParamsObject = BaseSearchParams & IndexSettingsAsSearchParams;
@@ -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 SearchParamsQuery = {
4
+ /**
5
+ * The text to search in the index.
6
+ */
7
+ query?: 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 SearchParamsString = {
4
+ /**
5
+ * Search parameters as URL-encoded query string.
6
+ */
7
+ params?: 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
+ import type { SearchForFacets } from './searchForFacets';
4
+ import type { SearchForHits } from './searchForHits';
5
+
6
+ export type SearchQuery = SearchForFacets | SearchForHits;
@@ -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
+ import type { BaseSearchResponse } from './baseSearchResponse';
4
+ import type { SearchHits } from './searchHits';
5
+
6
+ export type SearchResponse<T> = BaseSearchResponse & SearchHits<T>;
@@ -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 { SearchResponse } from './searchResponse';
4
+
5
+ export type SearchResponses<T> = {
6
+ results: Array<SearchResponse<T>>;
7
+ };
@@ -0,0 +1,34 @@
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
+ /**
6
+ * Parameters for the search.
7
+ */
8
+ export type SearchRulesParams = {
9
+ /**
10
+ * Full text query.
11
+ */
12
+ query?: string;
13
+ anchoring?: Anchoring;
14
+ /**
15
+ * Restricts matches to contextual rules with a specific context (exact match).
16
+ */
17
+ context?: string;
18
+ /**
19
+ * Requested page (zero-based).
20
+ */
21
+ page?: number;
22
+ /**
23
+ * Maximum number of hits in a page. Minimum is 1, maximum is 1000.
24
+ */
25
+ hitsPerPage?: number;
26
+ /**
27
+ * When specified, restricts matches to rules with a specific enabled status. When absent (default), all rules are retrieved, regardless of their enabled status.
28
+ */
29
+ enabled?: boolean;
30
+ /**
31
+ * A mapping of requestOptions to send along with the request.
32
+ */
33
+ requestOptions?: Array<Record<string, any>>;
34
+ };
@@ -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 { Rule } from './rule';
4
+
5
+ export type SearchRulesResponse = {
6
+ /**
7
+ * Fetched rules.
8
+ */
9
+ hits: Rule[];
10
+ /**
11
+ * Number of fetched rules.
12
+ */
13
+ nbHits: number;
14
+ /**
15
+ * Current page.
16
+ */
17
+ page: number;
18
+ /**
19
+ * Number of pages.
20
+ */
21
+ nbPages: number;
22
+ };
@@ -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 SearchStrategy = 'none' | 'stopIfEnoughMatches';
@@ -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 SearchSynonymsParams = {
4
+ /**
5
+ * The text to search in the index.
6
+ */
7
+ query?: string;
8
+ };
@@ -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 { SynonymHit } from './synonymHit';
4
+
5
+ export type SearchSynonymsResponse = Record<string, any> & {
6
+ /**
7
+ * Array of synonym objects.
8
+ */
9
+ hits: SynonymHit[];
10
+ /**
11
+ * Number of hits that the search query matched.
12
+ */
13
+ nbHits: number;
14
+ };
@@ -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
+ * Perform a search query with `default`, will search for facet values if `facet` is given.
5
+ */
6
+ export type SearchTypeDefault = 'default';
@@ -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
+ * Perform a search query with `default`, will search for facet values if `facet` is given.
5
+ */
6
+ export type SearchTypeFacet = 'facet';
@@ -0,0 +1,23 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ /**
4
+ * OK.
5
+ */
6
+ export type SearchUserIdsParams = {
7
+ /**
8
+ * Query to search. The search is a prefix search with typoTolerance. Use empty query to retrieve all users.
9
+ */
10
+ query: string;
11
+ /**
12
+ * Name of the cluster.
13
+ */
14
+ clusterName?: string;
15
+ /**
16
+ * Specify the page to retrieve.
17
+ */
18
+ page?: number;
19
+ /**
20
+ * Set the number of hits per page.
21
+ */
22
+ hitsPerPage?: number;
23
+ };
@@ -0,0 +1,29 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { UserHit } from './userHit';
4
+
5
+ /**
6
+ * UserIDs data.
7
+ */
8
+ export type SearchUserIdsResponse = {
9
+ /**
10
+ * List of user object matching the query.
11
+ */
12
+ hits: UserHit[];
13
+ /**
14
+ * Number of hits that the search query matched.
15
+ */
16
+ nbHits: number;
17
+ /**
18
+ * Specify the page to retrieve.
19
+ */
20
+ page: number;
21
+ /**
22
+ * Maximum number of hits in a page. Minimum is 1, maximum is 1000.
23
+ */
24
+ hitsPerPage: number;
25
+ /**
26
+ * Date of last update (ISO-8601 format).
27
+ */
28
+ updatedAt: string;
29
+ };
@@ -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 { SnippetResultOption } from './snippetResultOption';
4
+
5
+ export type SnippetResult = SnippetResultOption | SnippetResultOption[];
@@ -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 { MatchLevel } from './matchLevel';
4
+
5
+ /**
6
+ * Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
7
+ */
8
+ export type SnippetResultOption = {
9
+ /**
10
+ * Markup text with occurrences highlighted.
11
+ */
12
+ value: string;
13
+ matchLevel: MatchLevel;
14
+ };
@@ -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
+ * How to display the remaining items. - `count`: facet count (descending). - `alpha`: alphabetical (ascending). - `hidden`: show only pinned values.
5
+ */
6
+ export type SortRemainingBy = 'alpha' | 'count' | 'hidden';
@@ -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 source.
5
+ */
6
+ export type Source = {
7
+ /**
8
+ * The IP range of the source.
9
+ */
10
+ source: string;
11
+ /**
12
+ * The description of the source.
13
+ */
14
+ description?: string;
15
+ };
@@ -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
+ /**
4
+ * Map of language ISO code supported by the dictionary (e.g., \"en\" for English) to a boolean value.
5
+ */
6
+ export type StandardEntries = {
7
+ /**
8
+ * Language ISO code.
9
+ */
10
+ plurals?: Record<string, boolean> | null;
11
+ /**
12
+ * Language ISO code.
13
+ */
14
+ stopwords?: Record<string, boolean> | null;
15
+ /**
16
+ * Language ISO code.
17
+ */
18
+ compounds?: Record<string, boolean> | null;
19
+ };