algoliasearch 5.0.0-alpha.52 → 5.0.0-alpha.54

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 (350) hide show
  1. package/dist/algoliasearch/builds/models.d.ts +31 -31
  2. package/dist/algoliasearch/jest.config.d.ts +3 -3
  3. package/dist/algoliasearch.cjs.js +3487 -3485
  4. package/dist/algoliasearch.esm.browser.js +3620 -3618
  5. package/dist/algoliasearch.esm.node.js +3487 -3485
  6. package/dist/algoliasearch.umd.js +2 -2
  7. package/dist/builds/browser.d.ts +87 -87
  8. package/dist/builds/node.d.ts +87 -87
  9. package/dist/client-abtesting/model/aBTest.d.ts +39 -39
  10. package/dist/client-abtesting/model/aBTestResponse.d.ts +14 -14
  11. package/dist/client-abtesting/model/abTestsVariant.d.ts +14 -14
  12. package/dist/client-abtesting/model/abTestsVariantSearchParams.d.ts +3 -3
  13. package/dist/client-abtesting/model/addABTestsRequest.d.ts +15 -15
  14. package/dist/client-abtesting/model/addABTestsVariant.d.ts +3 -3
  15. package/dist/client-abtesting/model/clientMethodProps.d.ts +100 -100
  16. package/dist/client-abtesting/model/customSearchParams.d.ts +3 -3
  17. package/dist/client-abtesting/model/errorBase.d.ts +6 -6
  18. package/dist/client-abtesting/model/index.d.ts +11 -11
  19. package/dist/client-abtesting/model/listABTestsResponse.d.ts +15 -15
  20. package/dist/client-abtesting/model/variant.d.ts +50 -50
  21. package/dist/client-abtesting/src/abtestingClient.d.ts +124 -124
  22. package/dist/client-analytics/model/averageClickEvent.d.ts +14 -14
  23. package/dist/client-analytics/model/clickPosition.d.ts +10 -10
  24. package/dist/client-analytics/model/clickThroughRateEvent.d.ts +18 -18
  25. package/dist/client-analytics/model/clientMethodProps.d.ts +507 -507
  26. package/dist/client-analytics/model/conversionRateEvent.d.ts +18 -18
  27. package/dist/client-analytics/model/direction.d.ts +1 -1
  28. package/dist/client-analytics/model/errorBase.d.ts +6 -6
  29. package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts +15 -15
  30. package/dist/client-analytics/model/getClickPositionsResponse.d.ts +7 -7
  31. package/dist/client-analytics/model/getClickThroughRateResponse.d.ts +19 -19
  32. package/dist/client-analytics/model/getConversationRateResponse.d.ts +19 -19
  33. package/dist/client-analytics/model/getNoClickRateResponse.d.ts +19 -19
  34. package/dist/client-analytics/model/getNoResultsRateResponse.d.ts +19 -19
  35. package/dist/client-analytics/model/getSearchesCountResponse.d.ts +11 -11
  36. package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts +7 -7
  37. package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts +7 -7
  38. package/dist/client-analytics/model/getStatusResponse.d.ts +6 -6
  39. package/dist/client-analytics/model/getTopCountriesResponse.d.ts +7 -7
  40. package/dist/client-analytics/model/getTopFilterAttribute.d.ts +10 -10
  41. package/dist/client-analytics/model/getTopFilterAttributesResponse.d.ts +7 -7
  42. package/dist/client-analytics/model/getTopFilterForAttribute.d.ts +18 -18
  43. package/dist/client-analytics/model/getTopFilterForAttributeResponse.d.ts +7 -7
  44. package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts +7 -7
  45. package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts +14 -14
  46. package/dist/client-analytics/model/getTopFiltersNoResultsValues.d.ts +11 -11
  47. package/dist/client-analytics/model/getTopHitsResponse.d.ts +3 -3
  48. package/dist/client-analytics/model/getTopSearchesResponse.d.ts +3 -3
  49. package/dist/client-analytics/model/getUsersCountResponse.d.ts +11 -11
  50. package/dist/client-analytics/model/index.d.ts +44 -44
  51. package/dist/client-analytics/model/noClickRateEvent.d.ts +18 -18
  52. package/dist/client-analytics/model/noResultsRateEvent.d.ts +18 -18
  53. package/dist/client-analytics/model/orderBy.d.ts +1 -1
  54. package/dist/client-analytics/model/searchEvent.d.ts +10 -10
  55. package/dist/client-analytics/model/searchNoClickEvent.d.ts +14 -14
  56. package/dist/client-analytics/model/searchNoResultEvent.d.ts +14 -14
  57. package/dist/client-analytics/model/topCountry.d.ts +10 -10
  58. package/dist/client-analytics/model/topHit.d.ts +10 -10
  59. package/dist/client-analytics/model/topHitWithAnalytics.d.ts +30 -30
  60. package/dist/client-analytics/model/topHitsResponse.d.ts +7 -7
  61. package/dist/client-analytics/model/topHitsResponseWithAnalytics.d.ts +7 -7
  62. package/dist/client-analytics/model/topSearch.d.ts +14 -14
  63. package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +38 -38
  64. package/dist/client-analytics/model/topSearchesResponse.d.ts +7 -7
  65. package/dist/client-analytics/model/topSearchesResponseWithAnalytics.d.ts +7 -7
  66. package/dist/client-analytics/model/userWithDate.d.ts +10 -10
  67. package/dist/client-analytics/src/analyticsClient.d.ts +318 -318
  68. package/dist/client-personalization/model/clientMethodProps.d.ts +78 -78
  69. package/dist/client-personalization/model/deleteUserProfileResponse.d.ts +10 -10
  70. package/dist/client-personalization/model/errorBase.d.ts +6 -6
  71. package/dist/client-personalization/model/eventScoring.d.ts +14 -14
  72. package/dist/client-personalization/model/facetScoring.d.ts +10 -10
  73. package/dist/client-personalization/model/getUserTokenResponse.d.ts +14 -14
  74. package/dist/client-personalization/model/index.d.ts +8 -8
  75. package/dist/client-personalization/model/personalizationStrategyParams.d.ts +16 -16
  76. package/dist/client-personalization/model/setPersonalizationStrategyResponse.d.ts +6 -6
  77. package/dist/client-personalization/src/personalizationClient.d.ts +112 -112
  78. package/dist/client-search/model/acl.d.ts +4 -4
  79. package/dist/client-search/model/action.d.ts +4 -4
  80. package/dist/client-search/model/addApiKeyResponse.d.ts +10 -10
  81. package/dist/client-search/model/advancedSyntaxFeatures.d.ts +1 -1
  82. package/dist/client-search/model/alternativesAsExact.d.ts +1 -1
  83. package/dist/client-search/model/anchoring.d.ts +4 -4
  84. package/dist/client-search/model/apiKey.d.ts +38 -38
  85. package/dist/client-search/model/aroundRadius.d.ts +5 -5
  86. package/dist/client-search/model/aroundRadiusAll.d.ts +1 -1
  87. package/dist/client-search/model/assignUserIdParams.d.ts +9 -9
  88. package/dist/client-search/model/attributeToUpdate.d.ts +2 -2
  89. package/dist/client-search/model/automaticFacetFilter.d.ts +17 -17
  90. package/dist/client-search/model/automaticFacetFilters.d.ts +5 -5
  91. package/dist/client-search/model/baseGetApiKeyResponse.d.ts +10 -10
  92. package/dist/client-search/model/baseIndexSettings.d.ts +62 -62
  93. package/dist/client-search/model/baseSearchParams.d.ts +3 -3
  94. package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +122 -122
  95. package/dist/client-search/model/baseSearchResponse.d.ts +101 -101
  96. package/dist/client-search/model/batchAssignUserIdsParams.d.ts +13 -13
  97. package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +14 -14
  98. package/dist/client-search/model/batchDictionaryEntriesRequest.d.ts +6 -6
  99. package/dist/client-search/model/batchParams.d.ts +7 -7
  100. package/dist/client-search/model/batchRequest.d.ts +8 -8
  101. package/dist/client-search/model/batchResponse.d.ts +10 -10
  102. package/dist/client-search/model/batchWriteParams.d.ts +7 -7
  103. package/dist/client-search/model/browseParams.d.ts +3 -3
  104. package/dist/client-search/model/browseParamsObject.d.ts +3 -3
  105. package/dist/client-search/model/browseResponse.d.ts +4 -4
  106. package/dist/client-search/model/builtInOperation.d.ts +11 -11
  107. package/dist/client-search/model/builtInOperationType.d.ts +4 -4
  108. package/dist/client-search/model/clientMethodProps.d.ts +715 -715
  109. package/dist/client-search/model/condition.d.ts +16 -16
  110. package/dist/client-search/model/consequence.d.ts +25 -25
  111. package/dist/client-search/model/consequenceHide.d.ts +9 -9
  112. package/dist/client-search/model/consequenceParams.d.ts +4 -4
  113. package/dist/client-search/model/consequenceQuery.d.ts +5 -5
  114. package/dist/client-search/model/consequenceQueryObject.d.ts +11 -11
  115. package/dist/client-search/model/createdAtResponse.d.ts +9 -9
  116. package/dist/client-search/model/cursor.d.ts +6 -6
  117. package/dist/client-search/model/deleteApiKeyResponse.d.ts +6 -6
  118. package/dist/client-search/model/deleteByParams.d.ts +26 -26
  119. package/dist/client-search/model/deleteSourceResponse.d.ts +6 -6
  120. package/dist/client-search/model/deletedAtResponse.d.ts +13 -13
  121. package/dist/client-search/model/dictionaryAction.d.ts +4 -4
  122. package/dist/client-search/model/dictionaryEntry.d.ts +27 -27
  123. package/dist/client-search/model/dictionaryEntryState.d.ts +4 -4
  124. package/dist/client-search/model/dictionaryLanguage.d.ts +9 -9
  125. package/dist/client-search/model/dictionarySettingsParams.d.ts +7 -7
  126. package/dist/client-search/model/dictionaryType.d.ts +1 -1
  127. package/dist/client-search/model/distinct.d.ts +4 -4
  128. package/dist/client-search/model/edit.d.ts +12 -12
  129. package/dist/client-search/model/editType.d.ts +4 -4
  130. package/dist/client-search/model/errorBase.d.ts +6 -6
  131. package/dist/client-search/model/exactOnSingleWordQuery.d.ts +4 -4
  132. package/dist/client-search/model/facetFilters.d.ts +5 -5
  133. package/dist/client-search/model/facetHits.d.ts +14 -14
  134. package/dist/client-search/model/facetOrdering.d.ts +12 -12
  135. package/dist/client-search/model/facets.d.ts +9 -9
  136. package/dist/client-search/model/facetsStats.d.ts +18 -18
  137. package/dist/client-search/model/fetchedIndex.d.ts +46 -46
  138. package/dist/client-search/model/getApiKeyResponse.d.ts +3 -3
  139. package/dist/client-search/model/getDictionarySettingsResponse.d.ts +4 -4
  140. package/dist/client-search/model/getLogsResponse.d.ts +4 -4
  141. package/dist/client-search/model/getObjectsParams.d.ts +7 -7
  142. package/dist/client-search/model/getObjectsRequest.d.ts +17 -17
  143. package/dist/client-search/model/getObjectsResponse.d.ts +6 -6
  144. package/dist/client-search/model/getTaskResponse.d.ts +4 -4
  145. package/dist/client-search/model/getTopUserIdsResponse.d.ts +10 -10
  146. package/dist/client-search/model/hasPendingMappingsResponse.d.ts +10 -10
  147. package/dist/client-search/model/highlightResult.d.ts +2 -2
  148. package/dist/client-search/model/highlightResultOption.d.ts +19 -19
  149. package/dist/client-search/model/hit.d.ts +22 -22
  150. package/dist/client-search/model/ignorePlurals.d.ts +4 -4
  151. package/dist/client-search/model/index.d.ts +154 -154
  152. package/dist/client-search/model/indexSettings.d.ts +6 -6
  153. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +156 -156
  154. package/dist/client-search/model/languages.d.ts +9 -9
  155. package/dist/client-search/model/listApiKeysResponse.d.ts +7 -7
  156. package/dist/client-search/model/listClustersResponse.d.ts +9 -9
  157. package/dist/client-search/model/listIndicesResponse.d.ts +11 -11
  158. package/dist/client-search/model/listUserIdsResponse.d.ts +10 -10
  159. package/dist/client-search/model/log.d.ts +63 -63
  160. package/dist/client-search/model/logQuery.d.ts +14 -14
  161. package/dist/client-search/model/logType.d.ts +1 -1
  162. package/dist/client-search/model/matchLevel.d.ts +4 -4
  163. package/dist/client-search/model/matchedGeoLocation.d.ts +14 -14
  164. package/dist/client-search/model/mixedSearchFilters.d.ts +1 -1
  165. package/dist/client-search/model/multipleBatchRequest.d.ts +12 -12
  166. package/dist/client-search/model/multipleBatchResponse.d.ts +10 -10
  167. package/dist/client-search/model/numericFilters.d.ts +5 -5
  168. package/dist/client-search/model/operationIndexParams.d.ts +13 -13
  169. package/dist/client-search/model/operationType.d.ts +4 -4
  170. package/dist/client-search/model/optionalFilters.d.ts +5 -5
  171. package/dist/client-search/model/params.d.ts +12 -12
  172. package/dist/client-search/model/personalization.d.ts +14 -14
  173. package/dist/client-search/model/promote.d.ts +3 -3
  174. package/dist/client-search/model/promoteObjectID.d.ts +13 -13
  175. package/dist/client-search/model/promoteObjectIDs.d.ts +13 -13
  176. package/dist/client-search/model/queryType.d.ts +4 -4
  177. package/dist/client-search/model/rankingInfo.d.ts +50 -50
  178. package/dist/client-search/model/reRankingApplyFilter.d.ts +5 -5
  179. package/dist/client-search/model/removeStopWords.d.ts +4 -4
  180. package/dist/client-search/model/removeUserIdResponse.d.ts +6 -6
  181. package/dist/client-search/model/removeWordsIfNoResults.d.ts +4 -4
  182. package/dist/client-search/model/renderingContent.d.ts +7 -7
  183. package/dist/client-search/model/replaceSourceResponse.d.ts +6 -6
  184. package/dist/client-search/model/rule.d.ts +29 -29
  185. package/dist/client-search/model/saveObjectResponse.d.ts +11 -11
  186. package/dist/client-search/model/saveSynonymResponse.d.ts +14 -14
  187. package/dist/client-search/model/scopeType.d.ts +1 -1
  188. package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +21 -21
  189. package/dist/client-search/model/searchForFacetValuesRequest.d.ts +14 -14
  190. package/dist/client-search/model/searchForFacetValuesResponse.d.ts +4 -4
  191. package/dist/client-search/model/searchForFacets.d.ts +3 -3
  192. package/dist/client-search/model/searchForFacetsOptions.d.ts +20 -20
  193. package/dist/client-search/model/searchForHits.d.ts +3 -3
  194. package/dist/client-search/model/searchForHitsOptions.d.ts +12 -12
  195. package/dist/client-search/model/searchHits.d.ts +4 -4
  196. package/dist/client-search/model/searchMethodParams.d.ts +6 -6
  197. package/dist/client-search/model/searchParams.d.ts +3 -3
  198. package/dist/client-search/model/searchParamsObject.d.ts +3 -3
  199. package/dist/client-search/model/searchParamsQuery.d.ts +6 -6
  200. package/dist/client-search/model/searchParamsString.d.ts +6 -6
  201. package/dist/client-search/model/searchQuery.d.ts +3 -3
  202. package/dist/client-search/model/searchResponse.d.ts +3 -3
  203. package/dist/client-search/model/searchResponses.d.ts +4 -4
  204. package/dist/client-search/model/searchRulesParams.d.ts +31 -31
  205. package/dist/client-search/model/searchRulesResponse.d.ts +19 -19
  206. package/dist/client-search/model/searchStrategy.d.ts +1 -1
  207. package/dist/client-search/model/searchSynonymsParams.d.ts +6 -6
  208. package/dist/client-search/model/searchSynonymsResponse.d.ts +11 -11
  209. package/dist/client-search/model/searchTypeDefault.d.ts +4 -4
  210. package/dist/client-search/model/searchTypeFacet.d.ts +4 -4
  211. package/dist/client-search/model/searchUserIdsParams.d.ts +21 -21
  212. package/dist/client-search/model/searchUserIdsResponse.d.ts +26 -26
  213. package/dist/client-search/model/snippetResult.d.ts +2 -2
  214. package/dist/client-search/model/snippetResultOption.d.ts +11 -11
  215. package/dist/client-search/model/sortRemainingBy.d.ts +4 -4
  216. package/dist/client-search/model/source.d.ts +13 -13
  217. package/dist/client-search/model/standardEntries.d.ts +17 -17
  218. package/dist/client-search/model/synonymHit.d.ts +35 -35
  219. package/dist/client-search/model/synonymType.d.ts +4 -4
  220. package/dist/client-search/model/tagFilters.d.ts +5 -5
  221. package/dist/client-search/model/taskStatus.d.ts +1 -1
  222. package/dist/client-search/model/timeRange.d.ts +10 -10
  223. package/dist/client-search/model/typoTolerance.d.ts +5 -5
  224. package/dist/client-search/model/typoToleranceEnum.d.ts +1 -1
  225. package/dist/client-search/model/updateApiKeyResponse.d.ts +10 -10
  226. package/dist/client-search/model/updatedAtResponse.d.ts +13 -13
  227. package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +17 -17
  228. package/dist/client-search/model/updatedRuleResponse.d.ts +14 -14
  229. package/dist/client-search/model/userHighlightResult.d.ts +11 -11
  230. package/dist/client-search/model/userHit.d.ts +24 -24
  231. package/dist/client-search/model/userId.d.ts +21 -21
  232. package/dist/client-search/model/value.d.ts +8 -8
  233. package/dist/client-search/src/searchClient.d.ts +723 -723
  234. package/dist/lite/builds/browser.d.ts +5 -5
  235. package/dist/lite/builds/node.d.ts +5 -5
  236. package/dist/lite/lite.cjs.js +183 -183
  237. package/dist/lite/lite.esm.browser.js +307 -307
  238. package/dist/lite/lite.esm.node.js +183 -183
  239. package/dist/lite/lite.umd.js +2 -2
  240. package/dist/lite/model/acl.d.ts +4 -4
  241. package/dist/lite/model/action.d.ts +4 -4
  242. package/dist/lite/model/addApiKeyResponse.d.ts +10 -10
  243. package/dist/lite/model/advancedSyntaxFeatures.d.ts +1 -1
  244. package/dist/lite/model/alternativesAsExact.d.ts +1 -1
  245. package/dist/lite/model/anchoring.d.ts +4 -4
  246. package/dist/lite/model/apiKey.d.ts +38 -38
  247. package/dist/lite/model/aroundRadius.d.ts +5 -5
  248. package/dist/lite/model/aroundRadiusAll.d.ts +1 -1
  249. package/dist/lite/model/attributeToUpdate.d.ts +2 -2
  250. package/dist/lite/model/automaticFacetFilter.d.ts +17 -17
  251. package/dist/lite/model/automaticFacetFilters.d.ts +5 -5
  252. package/dist/lite/model/baseGetApiKeyResponse.d.ts +10 -10
  253. package/dist/lite/model/baseIndexSettings.d.ts +62 -62
  254. package/dist/lite/model/baseSearchParams.d.ts +3 -3
  255. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +122 -122
  256. package/dist/lite/model/baseSearchResponse.d.ts +101 -101
  257. package/dist/lite/model/browseParams.d.ts +3 -3
  258. package/dist/lite/model/browseParamsObject.d.ts +3 -3
  259. package/dist/lite/model/browseResponse.d.ts +4 -4
  260. package/dist/lite/model/builtInOperation.d.ts +11 -11
  261. package/dist/lite/model/builtInOperationType.d.ts +4 -4
  262. package/dist/lite/model/clientMethodProps.d.ts +48 -48
  263. package/dist/lite/model/condition.d.ts +16 -16
  264. package/dist/lite/model/consequence.d.ts +25 -25
  265. package/dist/lite/model/consequenceHide.d.ts +9 -9
  266. package/dist/lite/model/consequenceParams.d.ts +4 -4
  267. package/dist/lite/model/consequenceQuery.d.ts +5 -5
  268. package/dist/lite/model/consequenceQueryObject.d.ts +11 -11
  269. package/dist/lite/model/cursor.d.ts +6 -6
  270. package/dist/lite/model/deleteByParams.d.ts +26 -26
  271. package/dist/lite/model/dictionaryAction.d.ts +4 -4
  272. package/dist/lite/model/dictionaryEntry.d.ts +27 -27
  273. package/dist/lite/model/dictionaryEntryState.d.ts +4 -4
  274. package/dist/lite/model/dictionaryLanguage.d.ts +9 -9
  275. package/dist/lite/model/dictionaryType.d.ts +1 -1
  276. package/dist/lite/model/distinct.d.ts +4 -4
  277. package/dist/lite/model/edit.d.ts +12 -12
  278. package/dist/lite/model/editType.d.ts +4 -4
  279. package/dist/lite/model/errorBase.d.ts +6 -6
  280. package/dist/lite/model/exactOnSingleWordQuery.d.ts +4 -4
  281. package/dist/lite/model/facetFilters.d.ts +5 -5
  282. package/dist/lite/model/facetOrdering.d.ts +12 -12
  283. package/dist/lite/model/facets.d.ts +9 -9
  284. package/dist/lite/model/facetsStats.d.ts +18 -18
  285. package/dist/lite/model/fetchedIndex.d.ts +46 -46
  286. package/dist/lite/model/getApiKeyResponse.d.ts +3 -3
  287. package/dist/lite/model/highlightResult.d.ts +2 -2
  288. package/dist/lite/model/highlightResultOption.d.ts +19 -19
  289. package/dist/lite/model/hit.d.ts +22 -22
  290. package/dist/lite/model/ignorePlurals.d.ts +4 -4
  291. package/dist/lite/model/index.d.ts +107 -107
  292. package/dist/lite/model/indexSettings.d.ts +6 -6
  293. package/dist/lite/model/indexSettingsAsSearchParams.d.ts +156 -156
  294. package/dist/lite/model/languages.d.ts +9 -9
  295. package/dist/lite/model/listIndicesResponse.d.ts +11 -11
  296. package/dist/lite/model/logType.d.ts +1 -1
  297. package/dist/lite/model/matchLevel.d.ts +4 -4
  298. package/dist/lite/model/matchedGeoLocation.d.ts +14 -14
  299. package/dist/lite/model/mixedSearchFilters.d.ts +1 -1
  300. package/dist/lite/model/numericFilters.d.ts +5 -5
  301. package/dist/lite/model/operationType.d.ts +4 -4
  302. package/dist/lite/model/optionalFilters.d.ts +5 -5
  303. package/dist/lite/model/params.d.ts +12 -12
  304. package/dist/lite/model/personalization.d.ts +14 -14
  305. package/dist/lite/model/promote.d.ts +3 -3
  306. package/dist/lite/model/promoteObjectID.d.ts +13 -13
  307. package/dist/lite/model/promoteObjectIDs.d.ts +13 -13
  308. package/dist/lite/model/queryType.d.ts +4 -4
  309. package/dist/lite/model/rankingInfo.d.ts +50 -50
  310. package/dist/lite/model/reRankingApplyFilter.d.ts +5 -5
  311. package/dist/lite/model/removeStopWords.d.ts +4 -4
  312. package/dist/lite/model/removeWordsIfNoResults.d.ts +4 -4
  313. package/dist/lite/model/renderingContent.d.ts +7 -7
  314. package/dist/lite/model/rule.d.ts +29 -29
  315. package/dist/lite/model/scopeType.d.ts +1 -1
  316. package/dist/lite/model/searchForFacets.d.ts +3 -3
  317. package/dist/lite/model/searchForFacetsOptions.d.ts +20 -20
  318. package/dist/lite/model/searchForHits.d.ts +3 -3
  319. package/dist/lite/model/searchForHitsOptions.d.ts +12 -12
  320. package/dist/lite/model/searchHits.d.ts +4 -4
  321. package/dist/lite/model/searchMethodParams.d.ts +6 -6
  322. package/dist/lite/model/searchParams.d.ts +3 -3
  323. package/dist/lite/model/searchParamsObject.d.ts +3 -3
  324. package/dist/lite/model/searchParamsQuery.d.ts +6 -6
  325. package/dist/lite/model/searchParamsString.d.ts +6 -6
  326. package/dist/lite/model/searchQuery.d.ts +3 -3
  327. package/dist/lite/model/searchResponse.d.ts +3 -3
  328. package/dist/lite/model/searchResponses.d.ts +4 -4
  329. package/dist/lite/model/searchStrategy.d.ts +1 -1
  330. package/dist/lite/model/searchSynonymsResponse.d.ts +11 -11
  331. package/dist/lite/model/searchTypeDefault.d.ts +4 -4
  332. package/dist/lite/model/searchTypeFacet.d.ts +4 -4
  333. package/dist/lite/model/snippetResult.d.ts +2 -2
  334. package/dist/lite/model/snippetResultOption.d.ts +11 -11
  335. package/dist/lite/model/sortRemainingBy.d.ts +4 -4
  336. package/dist/lite/model/source.d.ts +13 -13
  337. package/dist/lite/model/standardEntries.d.ts +17 -17
  338. package/dist/lite/model/synonymHit.d.ts +35 -35
  339. package/dist/lite/model/synonymType.d.ts +4 -4
  340. package/dist/lite/model/tagFilters.d.ts +5 -5
  341. package/dist/lite/model/taskStatus.d.ts +1 -1
  342. package/dist/lite/model/timeRange.d.ts +10 -10
  343. package/dist/lite/model/typoTolerance.d.ts +5 -5
  344. package/dist/lite/model/typoToleranceEnum.d.ts +1 -1
  345. package/dist/lite/model/updatedRuleResponse.d.ts +14 -14
  346. package/dist/lite/model/userId.d.ts +21 -21
  347. package/dist/lite/model/value.d.ts +8 -8
  348. package/dist/lite/src/liteClient.d.ts +50 -50
  349. package/lite/src/liteClient.ts +1 -1
  350. package/package.json +12 -12
@@ -1,39 +1,39 @@
1
- import type { Acl } from './acl';
2
- /**
3
- * Api Key object.
4
- */
5
- export type ApiKey = {
6
- /**
7
- * Set of permissions associated with the key.
8
- */
9
- acl: Acl[];
10
- /**
11
- * A comment used to identify a key more easily in the dashboard. It is not interpreted by the API.
12
- */
13
- description?: string;
14
- /**
15
- * Restrict this new API key to a list of indices or index patterns. If the list is empty, all indices are allowed.
16
- */
17
- indexes?: string[];
18
- /**
19
- * Maximum number of hits this API key can retrieve in one query. If zero, no limit is enforced.
20
- */
21
- maxHitsPerQuery?: number;
22
- /**
23
- * Maximum number of API calls per hour allowed from a given IP address or a user token.
24
- */
25
- maxQueriesPerIPPerHour?: number;
26
- /**
27
- * URL-encoded query string. Force some query parameters to be applied for each query made with this API key.
28
- */
29
- queryParameters?: string;
30
- /**
31
- * Restrict this new API key to specific referers. If empty or blank, defaults to all referers.
32
- */
33
- referers?: string[];
34
- /**
35
- * Validity limit for this key in seconds. The key will automatically be removed after this period of time.
36
- */
37
- validity?: number;
38
- };
1
+ import type { Acl } from './acl';
2
+ /**
3
+ * Api Key object.
4
+ */
5
+ export type ApiKey = {
6
+ /**
7
+ * Set of permissions associated with the key.
8
+ */
9
+ acl: Acl[];
10
+ /**
11
+ * A comment used to identify a key more easily in the dashboard. It is not interpreted by the API.
12
+ */
13
+ description?: string;
14
+ /**
15
+ * Restrict this new API key to a list of indices or index patterns. If the list is empty, all indices are allowed.
16
+ */
17
+ indexes?: string[];
18
+ /**
19
+ * Maximum number of hits this API key can retrieve in one query. If zero, no limit is enforced.
20
+ */
21
+ maxHitsPerQuery?: number;
22
+ /**
23
+ * Maximum number of API calls per hour allowed from a given IP address or a user token.
24
+ */
25
+ maxQueriesPerIPPerHour?: number;
26
+ /**
27
+ * URL-encoded query string. Force some query parameters to be applied for each query made with this API key.
28
+ */
29
+ queryParameters?: string;
30
+ /**
31
+ * Restrict this new API key to specific referers. If empty or blank, defaults to all referers.
32
+ */
33
+ referers?: string[];
34
+ /**
35
+ * Validity limit for this key in seconds. The key will automatically be removed after this period of time.
36
+ */
37
+ validity?: number;
38
+ };
39
39
  //# sourceMappingURL=apiKey.d.ts.map
@@ -1,6 +1,6 @@
1
- import type { AroundRadiusAll } from './aroundRadiusAll';
2
- /**
3
- * Define the maximum radius for a geo search (in meters).
4
- */
5
- export type AroundRadius = AroundRadiusAll | number;
1
+ import type { AroundRadiusAll } from './aroundRadiusAll';
2
+ /**
3
+ * Define the maximum radius for a geo search (in meters).
4
+ */
5
+ export type AroundRadius = AroundRadiusAll | number;
6
6
  //# sourceMappingURL=aroundRadius.d.ts.map
@@ -1,2 +1,2 @@
1
- export type AroundRadiusAll = 'all';
1
+ export type AroundRadiusAll = 'all';
2
2
  //# sourceMappingURL=aroundRadiusAll.d.ts.map
@@ -1,10 +1,10 @@
1
- /**
2
- * Assign userID parameters.
3
- */
4
- export type AssignUserIdParams = {
5
- /**
6
- * Name of the cluster.
7
- */
8
- cluster: string;
9
- };
1
+ /**
2
+ * Assign userID parameters.
3
+ */
4
+ export type AssignUserIdParams = {
5
+ /**
6
+ * Name of the cluster.
7
+ */
8
+ cluster: string;
9
+ };
10
10
  //# sourceMappingURL=assignUserIdParams.d.ts.map
@@ -1,3 +1,3 @@
1
- import type { BuiltInOperation } from './builtInOperation';
2
- export type AttributeToUpdate = BuiltInOperation | string;
1
+ import type { BuiltInOperation } from './builtInOperation';
2
+ export type AttributeToUpdate = BuiltInOperation | string;
3
3
  //# sourceMappingURL=attributeToUpdate.d.ts.map
@@ -1,18 +1,18 @@
1
- /**
2
- * Automatic facet Filter.
3
- */
4
- export type AutomaticFacetFilter = {
5
- /**
6
- * Attribute to filter on. This must match a facet placeholder in the Rule\'s pattern.
7
- */
8
- facet: string;
9
- /**
10
- * Score for the filter. Typically used for optional or disjunctive filters.
11
- */
12
- score?: number;
13
- /**
14
- * Whether the filter is disjunctive (true) or conjunctive (false).
15
- */
16
- disjunctive?: boolean;
17
- };
1
+ /**
2
+ * Automatic facet Filter.
3
+ */
4
+ export type AutomaticFacetFilter = {
5
+ /**
6
+ * Attribute to filter on. This must match a facet placeholder in the Rule\'s pattern.
7
+ */
8
+ facet: string;
9
+ /**
10
+ * Score for the filter. Typically used for optional or disjunctive filters.
11
+ */
12
+ score?: number;
13
+ /**
14
+ * Whether the filter is disjunctive (true) or conjunctive (false).
15
+ */
16
+ disjunctive?: boolean;
17
+ };
18
18
  //# sourceMappingURL=automaticFacetFilter.d.ts.map
@@ -1,6 +1,6 @@
1
- import type { AutomaticFacetFilter } from './automaticFacetFilter';
2
- /**
3
- * Names of facets to which automatic filtering must be applied; they must match the facet name of a facet value placeholder in the query pattern.
4
- */
5
- export type AutomaticFacetFilters = AutomaticFacetFilter[] | string[];
1
+ import type { AutomaticFacetFilter } from './automaticFacetFilter';
2
+ /**
3
+ * Names of facets to which automatic filtering must be applied; they must match the facet name of a facet value placeholder in the query pattern.
4
+ */
5
+ export type AutomaticFacetFilters = AutomaticFacetFilter[] | string[];
6
6
  //# sourceMappingURL=automaticFacetFilters.d.ts.map
@@ -1,11 +1,11 @@
1
- export type BaseGetApiKeyResponse = {
2
- /**
3
- * The API key.
4
- */
5
- value?: string;
6
- /**
7
- * Time of the event expressed in milliseconds since the Unix epoch.
8
- */
9
- createdAt: number;
10
- };
1
+ export type BaseGetApiKeyResponse = {
2
+ /**
3
+ * The API key.
4
+ */
5
+ value?: string;
6
+ /**
7
+ * Time of the event expressed in milliseconds since the Unix epoch.
8
+ */
9
+ createdAt: number;
10
+ };
11
11
  //# sourceMappingURL=baseGetApiKeyResponse.d.ts.map
@@ -1,63 +1,63 @@
1
- export type BaseIndexSettings = {
2
- /**
3
- * Creates replicas, exact copies of an index.
4
- */
5
- replicas?: string[];
6
- /**
7
- * Set the maximum number of hits accessible via pagination.
8
- */
9
- paginationLimitedTo?: number;
10
- /**
11
- * List of attributes that can\'t be retrieved at query time.
12
- */
13
- unretrievableAttributes?: string[];
14
- /**
15
- * A list of words for which you want to turn off typo tolerance.
16
- */
17
- disableTypoToleranceOnWords?: string[];
18
- /**
19
- * Specify on which attributes in your index Algolia should apply Japanese transliteration to make words indexed in Katakana or Kanji searchable in Hiragana.
20
- */
21
- attributesToTransliterate?: string[];
22
- /**
23
- * List of attributes on which to do a decomposition of camel case words.
24
- */
25
- camelCaseAttributes?: string[];
26
- /**
27
- * Specify on which attributes in your index Algolia should apply word segmentation, also known as decompounding.
28
- */
29
- decompoundedAttributes?: Record<string, any>;
30
- /**
31
- * Sets the languages at the index level for language-specific processing such as tokenization and normalization.
32
- */
33
- indexLanguages?: string[];
34
- /**
35
- * List of attributes on which you want to disable prefix matching.
36
- */
37
- disablePrefixOnAttributes?: string[];
38
- /**
39
- * Enables compression of large integer arrays.
40
- */
41
- allowCompressionOfIntegerArray?: boolean;
42
- /**
43
- * List of numeric attributes that can be used as numerical filters.
44
- */
45
- numericAttributesForFiltering?: string[];
46
- /**
47
- * Control which separators are indexed.
48
- */
49
- separatorsToIndex?: string;
50
- /**
51
- * The complete list of attributes used for searching.
52
- */
53
- searchableAttributes?: string[];
54
- /**
55
- * Lets you store custom data in your indices.
56
- */
57
- userData?: Record<string, any>;
58
- /**
59
- * Overrides Algolia\'s default normalization.
60
- */
61
- customNormalization?: Record<string, Record<string, string>>;
62
- };
1
+ export type BaseIndexSettings = {
2
+ /**
3
+ * Creates replicas, exact copies of an index.
4
+ */
5
+ replicas?: string[];
6
+ /**
7
+ * Set the maximum number of hits accessible via pagination.
8
+ */
9
+ paginationLimitedTo?: number;
10
+ /**
11
+ * List of attributes that can\'t be retrieved at query time.
12
+ */
13
+ unretrievableAttributes?: string[];
14
+ /**
15
+ * A list of words for which you want to turn off typo tolerance.
16
+ */
17
+ disableTypoToleranceOnWords?: string[];
18
+ /**
19
+ * Specify on which attributes in your index Algolia should apply Japanese transliteration to make words indexed in Katakana or Kanji searchable in Hiragana.
20
+ */
21
+ attributesToTransliterate?: string[];
22
+ /**
23
+ * List of attributes on which to do a decomposition of camel case words.
24
+ */
25
+ camelCaseAttributes?: string[];
26
+ /**
27
+ * Specify on which attributes in your index Algolia should apply word segmentation, also known as decompounding.
28
+ */
29
+ decompoundedAttributes?: Record<string, any>;
30
+ /**
31
+ * Sets the languages at the index level for language-specific processing such as tokenization and normalization.
32
+ */
33
+ indexLanguages?: string[];
34
+ /**
35
+ * List of attributes on which you want to disable prefix matching.
36
+ */
37
+ disablePrefixOnAttributes?: string[];
38
+ /**
39
+ * Enables compression of large integer arrays.
40
+ */
41
+ allowCompressionOfIntegerArray?: boolean;
42
+ /**
43
+ * List of numeric attributes that can be used as numerical filters.
44
+ */
45
+ numericAttributesForFiltering?: string[];
46
+ /**
47
+ * Control which separators are indexed.
48
+ */
49
+ separatorsToIndex?: string;
50
+ /**
51
+ * The complete list of attributes used for searching.
52
+ */
53
+ searchableAttributes?: string[];
54
+ /**
55
+ * Lets you store custom data in your indices.
56
+ */
57
+ userData?: Record<string, any>;
58
+ /**
59
+ * Overrides Algolia\'s default normalization.
60
+ */
61
+ customNormalization?: Record<string, Record<string, string>>;
62
+ };
63
63
  //# sourceMappingURL=baseIndexSettings.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuery';
2
- import type { SearchParamsQuery } from './searchParamsQuery';
3
- export type BaseSearchParams = BaseSearchParamsWithoutQuery & SearchParamsQuery;
1
+ import type { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuery';
2
+ import type { SearchParamsQuery } from './searchParamsQuery';
3
+ export type BaseSearchParams = BaseSearchParamsWithoutQuery & SearchParamsQuery;
4
4
  //# sourceMappingURL=baseSearchParams.d.ts.map
@@ -1,123 +1,123 @@
1
- import type { AroundRadius } from './aroundRadius';
2
- import type { FacetFilters } from './facetFilters';
3
- import type { NumericFilters } from './numericFilters';
4
- import type { OptionalFilters } from './optionalFilters';
5
- import type { ReRankingApplyFilter } from './reRankingApplyFilter';
6
- import type { TagFilters } from './tagFilters';
7
- export type BaseSearchParamsWithoutQuery = {
8
- /**
9
- * Overrides the query parameter and performs a more generic search that can be used to find \"similar\" results.
10
- */
11
- similarQuery?: string;
12
- /**
13
- * Filter the query with numeric, facet and/or tag filters.
14
- */
15
- filters?: string;
16
- facetFilters?: FacetFilters;
17
- optionalFilters?: OptionalFilters;
18
- numericFilters?: NumericFilters;
19
- tagFilters?: TagFilters;
20
- /**
21
- * Determines how to calculate the total score for filtering.
22
- */
23
- sumOrFiltersScores?: boolean;
24
- /**
25
- * Retrieve facets and their facet values.
26
- */
27
- facets?: string[];
28
- /**
29
- * Maximum number of facet values to return for each facet during a regular search.
30
- */
31
- maxValuesPerFacet?: number;
32
- /**
33
- * Force faceting to be applied after de-duplication (via the Distinct setting).
34
- */
35
- facetingAfterDistinct?: boolean;
36
- /**
37
- * Controls how facet values are fetched.
38
- */
39
- sortFacetValuesBy?: string;
40
- /**
41
- * Specify the page to retrieve.
42
- */
43
- page?: number;
44
- /**
45
- * Specify the offset of the first hit to return.
46
- */
47
- offset?: number;
48
- /**
49
- * Set the number of hits to retrieve (used only with offset).
50
- */
51
- length?: number;
52
- /**
53
- * Search for entries around a central geolocation, enabling a geo search within a circular area.
54
- */
55
- aroundLatLng?: string;
56
- /**
57
- * Search for entries around a given location automatically computed from the requester\'s IP address.
58
- */
59
- aroundLatLngViaIP?: boolean;
60
- aroundRadius?: AroundRadius;
61
- /**
62
- * Precision of geo search (in meters), to add grouping by geo location to the ranking formula.
63
- */
64
- aroundPrecision?: number;
65
- /**
66
- * Minimum radius (in meters) used for a geo search when aroundRadius is not set.
67
- */
68
- minimumAroundRadius?: number;
69
- /**
70
- * Search inside a rectangular area (in geo coordinates).
71
- */
72
- insideBoundingBox?: number[];
73
- /**
74
- * Search inside a polygon (in geo coordinates).
75
- */
76
- insidePolygon?: number[];
77
- /**
78
- * This parameter changes the default values of certain parameters and settings that work best for a natural language query, such as ignorePlurals, removeStopWords, removeWordsIfNoResults, analyticsTags and ruleContexts. These parameters and settings work well together when the query is formatted in natural language instead of keywords, for example when your user performs a voice search.
79
- */
80
- naturalLanguages?: string[];
81
- /**
82
- * Enables contextual rules.
83
- */
84
- ruleContexts?: string[];
85
- /**
86
- * Define the impact of the Personalization feature.
87
- */
88
- personalizationImpact?: number;
89
- /**
90
- * Associates a certain user token with the current search.
91
- */
92
- userToken?: string;
93
- /**
94
- * Retrieve detailed ranking information.
95
- */
96
- getRankingInfo?: boolean;
97
- /**
98
- * Enable the Click Analytics feature.
99
- */
100
- clickAnalytics?: boolean;
101
- /**
102
- * Whether the current query will be taken into account in the Analytics.
103
- */
104
- analytics?: boolean;
105
- /**
106
- * List of tags to apply to the query for analytics purposes.
107
- */
108
- analyticsTags?: string[];
109
- /**
110
- * Whether to include or exclude a query from the processing-time percentile computation.
111
- */
112
- percentileComputation?: boolean;
113
- /**
114
- * Whether this search should participate in running AB tests.
115
- */
116
- enableABTest?: boolean;
117
- /**
118
- * Whether this search should use AI Re-Ranking.
119
- */
120
- enableReRanking?: boolean;
121
- reRankingApplyFilter?: ReRankingApplyFilter | null;
122
- };
1
+ import type { AroundRadius } from './aroundRadius';
2
+ import type { FacetFilters } from './facetFilters';
3
+ import type { NumericFilters } from './numericFilters';
4
+ import type { OptionalFilters } from './optionalFilters';
5
+ import type { ReRankingApplyFilter } from './reRankingApplyFilter';
6
+ import type { TagFilters } from './tagFilters';
7
+ export type BaseSearchParamsWithoutQuery = {
8
+ /**
9
+ * Overrides the query parameter and performs a more generic search that can be used to find \"similar\" results.
10
+ */
11
+ similarQuery?: string;
12
+ /**
13
+ * Filter the query with numeric, facet and/or tag filters.
14
+ */
15
+ filters?: string;
16
+ facetFilters?: FacetFilters;
17
+ optionalFilters?: OptionalFilters;
18
+ numericFilters?: NumericFilters;
19
+ tagFilters?: TagFilters;
20
+ /**
21
+ * Determines how to calculate the total score for filtering.
22
+ */
23
+ sumOrFiltersScores?: boolean;
24
+ /**
25
+ * Retrieve facets and their facet values.
26
+ */
27
+ facets?: string[];
28
+ /**
29
+ * Maximum number of facet values to return for each facet during a regular search.
30
+ */
31
+ maxValuesPerFacet?: number;
32
+ /**
33
+ * Force faceting to be applied after de-duplication (via the Distinct setting).
34
+ */
35
+ facetingAfterDistinct?: boolean;
36
+ /**
37
+ * Controls how facet values are fetched.
38
+ */
39
+ sortFacetValuesBy?: string;
40
+ /**
41
+ * Specify the page to retrieve.
42
+ */
43
+ page?: number;
44
+ /**
45
+ * Specify the offset of the first hit to return.
46
+ */
47
+ offset?: number;
48
+ /**
49
+ * Set the number of hits to retrieve (used only with offset).
50
+ */
51
+ length?: number;
52
+ /**
53
+ * Search for entries around a central geolocation, enabling a geo search within a circular area.
54
+ */
55
+ aroundLatLng?: string;
56
+ /**
57
+ * Search for entries around a given location automatically computed from the requester\'s IP address.
58
+ */
59
+ aroundLatLngViaIP?: boolean;
60
+ aroundRadius?: AroundRadius;
61
+ /**
62
+ * Precision of geo search (in meters), to add grouping by geo location to the ranking formula.
63
+ */
64
+ aroundPrecision?: number;
65
+ /**
66
+ * Minimum radius (in meters) used for a geo search when aroundRadius is not set.
67
+ */
68
+ minimumAroundRadius?: number;
69
+ /**
70
+ * Search inside a rectangular area (in geo coordinates).
71
+ */
72
+ insideBoundingBox?: number[];
73
+ /**
74
+ * Search inside a polygon (in geo coordinates).
75
+ */
76
+ insidePolygon?: number[];
77
+ /**
78
+ * This parameter changes the default values of certain parameters and settings that work best for a natural language query, such as ignorePlurals, removeStopWords, removeWordsIfNoResults, analyticsTags and ruleContexts. These parameters and settings work well together when the query is formatted in natural language instead of keywords, for example when your user performs a voice search.
79
+ */
80
+ naturalLanguages?: string[];
81
+ /**
82
+ * Enables contextual rules.
83
+ */
84
+ ruleContexts?: string[];
85
+ /**
86
+ * Define the impact of the Personalization feature.
87
+ */
88
+ personalizationImpact?: number;
89
+ /**
90
+ * Associates a certain user token with the current search.
91
+ */
92
+ userToken?: string;
93
+ /**
94
+ * Retrieve detailed ranking information.
95
+ */
96
+ getRankingInfo?: boolean;
97
+ /**
98
+ * Enable the Click Analytics feature.
99
+ */
100
+ clickAnalytics?: boolean;
101
+ /**
102
+ * Whether the current query will be taken into account in the Analytics.
103
+ */
104
+ analytics?: boolean;
105
+ /**
106
+ * List of tags to apply to the query for analytics purposes.
107
+ */
108
+ analyticsTags?: string[];
109
+ /**
110
+ * Whether to include or exclude a query from the processing-time percentile computation.
111
+ */
112
+ percentileComputation?: boolean;
113
+ /**
114
+ * Whether this search should participate in running AB tests.
115
+ */
116
+ enableABTest?: boolean;
117
+ /**
118
+ * Whether this search should use AI Re-Ranking.
119
+ */
120
+ enableReRanking?: boolean;
121
+ reRankingApplyFilter?: ReRankingApplyFilter | null;
122
+ };
123
123
  //# sourceMappingURL=baseSearchParamsWithoutQuery.d.ts.map