algoliasearch 5.0.0-alpha.53 → 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,17 +1,17 @@
1
- import type { Anchoring } from './anchoring';
2
- export type Condition = {
3
- /**
4
- * Query pattern syntax.
5
- */
6
- pattern?: string;
7
- anchoring?: Anchoring;
8
- /**
9
- * Whether the pattern matches on plurals, synonyms, and typos.
10
- */
11
- alternatives?: boolean;
12
- /**
13
- * Rule context format: [A-Za-z0-9_-]+).
14
- */
15
- context?: string;
16
- };
1
+ import type { Anchoring } from './anchoring';
2
+ export type Condition = {
3
+ /**
4
+ * Query pattern syntax.
5
+ */
6
+ pattern?: string;
7
+ anchoring?: Anchoring;
8
+ /**
9
+ * Whether the pattern matches on plurals, synonyms, and typos.
10
+ */
11
+ alternatives?: boolean;
12
+ /**
13
+ * Rule context format: [A-Za-z0-9_-]+).
14
+ */
15
+ context?: string;
16
+ };
17
17
  //# sourceMappingURL=condition.d.ts.map
@@ -1,26 +1,26 @@
1
- import type { ConsequenceHide } from './consequenceHide';
2
- import type { ConsequenceParams } from './consequenceParams';
3
- import type { Promote } from './promote';
4
- /**
5
- * Consequence of the Rule.
6
- */
7
- export type Consequence = {
8
- params?: ConsequenceParams;
9
- /**
10
- * Objects to promote as hits.
11
- */
12
- promote?: Promote[];
13
- /**
14
- * 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.
15
- */
16
- filterPromotes?: boolean;
17
- /**
18
- * Objects to hide from hits. Each object must contain an objectID field. By default, you can hide up to 50 items per rule.
19
- */
20
- hide?: ConsequenceHide[];
21
- /**
22
- * 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.
23
- */
24
- userData?: Record<string, any>;
25
- };
1
+ import type { ConsequenceHide } from './consequenceHide';
2
+ import type { ConsequenceParams } from './consequenceParams';
3
+ import type { Promote } from './promote';
4
+ /**
5
+ * Consequence of the Rule.
6
+ */
7
+ export type Consequence = {
8
+ params?: ConsequenceParams;
9
+ /**
10
+ * Objects to promote as hits.
11
+ */
12
+ promote?: Promote[];
13
+ /**
14
+ * 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.
15
+ */
16
+ filterPromotes?: boolean;
17
+ /**
18
+ * Objects to hide from hits. Each object must contain an objectID field. By default, you can hide up to 50 items per rule.
19
+ */
20
+ hide?: ConsequenceHide[];
21
+ /**
22
+ * 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.
23
+ */
24
+ userData?: Record<string, any>;
25
+ };
26
26
  //# sourceMappingURL=consequence.d.ts.map
@@ -1,10 +1,10 @@
1
- /**
2
- * Unique identifier of the object to hide.
3
- */
4
- export type ConsequenceHide = {
5
- /**
6
- * Unique identifier of the object.
7
- */
8
- objectID: string;
9
- };
1
+ /**
2
+ * Unique identifier of the object to hide.
3
+ */
4
+ export type ConsequenceHide = {
5
+ /**
6
+ * Unique identifier of the object.
7
+ */
8
+ objectID: string;
9
+ };
10
10
  //# sourceMappingURL=consequenceHide.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuery';
2
- import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
3
- import type { Params } from './params';
4
- export type ConsequenceParams = BaseSearchParamsWithoutQuery & IndexSettingsAsSearchParams & Params;
1
+ import type { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuery';
2
+ import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
3
+ import type { Params } from './params';
4
+ export type ConsequenceParams = BaseSearchParamsWithoutQuery & IndexSettingsAsSearchParams & Params;
5
5
  //# sourceMappingURL=consequenceParams.d.ts.map
@@ -1,6 +1,6 @@
1
- import type { ConsequenceQueryObject } from './consequenceQueryObject';
2
- /**
3
- * 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).
4
- */
5
- export type ConsequenceQuery = ConsequenceQueryObject | string;
1
+ import type { ConsequenceQueryObject } from './consequenceQueryObject';
2
+ /**
3
+ * 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).
4
+ */
5
+ export type ConsequenceQuery = ConsequenceQueryObject | string;
6
6
  //# sourceMappingURL=consequenceQuery.d.ts.map
@@ -1,12 +1,12 @@
1
- import type { Edit } from './edit';
2
- export type ConsequenceQueryObject = {
3
- /**
4
- * Words to remove.
5
- */
6
- remove?: string[];
7
- /**
8
- * Edits to apply.
9
- */
10
- edits?: Edit[];
11
- };
1
+ import type { Edit } from './edit';
2
+ export type ConsequenceQueryObject = {
3
+ /**
4
+ * Words to remove.
5
+ */
6
+ remove?: string[];
7
+ /**
8
+ * Edits to apply.
9
+ */
10
+ edits?: Edit[];
11
+ };
12
12
  //# sourceMappingURL=consequenceQueryObject.d.ts.map
@@ -1,10 +1,10 @@
1
- /**
2
- * The response with a createdAt timestamp.
3
- */
4
- export type CreatedAtResponse = {
5
- /**
6
- * Date of creation (ISO-8601 format).
7
- */
8
- createdAt: string;
9
- };
1
+ /**
2
+ * The response with a createdAt timestamp.
3
+ */
4
+ export type CreatedAtResponse = {
5
+ /**
6
+ * Date of creation (ISO-8601 format).
7
+ */
8
+ createdAt: string;
9
+ };
10
10
  //# sourceMappingURL=createdAtResponse.d.ts.map
@@ -1,7 +1,7 @@
1
- export type Cursor = {
2
- /**
3
- * Cursor indicating the location to resume browsing from. Must match the value returned by the previous call.
4
- */
5
- cursor?: string;
6
- };
1
+ export type Cursor = {
2
+ /**
3
+ * Cursor indicating the location to resume browsing from. Must match the value returned by the previous call.
4
+ */
5
+ cursor?: string;
6
+ };
7
7
  //# sourceMappingURL=cursor.d.ts.map
@@ -1,7 +1,7 @@
1
- export type DeleteApiKeyResponse = {
2
- /**
3
- * Date of deletion (ISO-8601 format).
4
- */
5
- deletedAt: string;
6
- };
1
+ export type DeleteApiKeyResponse = {
2
+ /**
3
+ * Date of deletion (ISO-8601 format).
4
+ */
5
+ deletedAt: string;
6
+ };
7
7
  //# sourceMappingURL=deleteApiKeyResponse.d.ts.map
@@ -1,27 +1,27 @@
1
- import type { AroundRadius } from './aroundRadius';
2
- import type { FacetFilters } from './facetFilters';
3
- import type { NumericFilters } from './numericFilters';
4
- import type { TagFilters } from './tagFilters';
5
- export type DeleteByParams = {
6
- facetFilters?: FacetFilters;
7
- /**
8
- * Filter the query with numeric, facet and/or tag filters.
9
- */
10
- filters?: string;
11
- numericFilters?: NumericFilters;
12
- tagFilters?: TagFilters;
13
- /**
14
- * Search for entries around a central geolocation, enabling a geo search within a circular area.
15
- */
16
- aroundLatLng?: string;
17
- aroundRadius?: AroundRadius;
18
- /**
19
- * Search inside a rectangular area (in geo coordinates).
20
- */
21
- insideBoundingBox?: number[];
22
- /**
23
- * Search inside a polygon (in geo coordinates).
24
- */
25
- insidePolygon?: number[];
26
- };
1
+ import type { AroundRadius } from './aroundRadius';
2
+ import type { FacetFilters } from './facetFilters';
3
+ import type { NumericFilters } from './numericFilters';
4
+ import type { TagFilters } from './tagFilters';
5
+ export type DeleteByParams = {
6
+ facetFilters?: FacetFilters;
7
+ /**
8
+ * Filter the query with numeric, facet and/or tag filters.
9
+ */
10
+ filters?: string;
11
+ numericFilters?: NumericFilters;
12
+ tagFilters?: TagFilters;
13
+ /**
14
+ * Search for entries around a central geolocation, enabling a geo search within a circular area.
15
+ */
16
+ aroundLatLng?: string;
17
+ aroundRadius?: AroundRadius;
18
+ /**
19
+ * Search inside a rectangular area (in geo coordinates).
20
+ */
21
+ insideBoundingBox?: number[];
22
+ /**
23
+ * Search inside a polygon (in geo coordinates).
24
+ */
25
+ insidePolygon?: number[];
26
+ };
27
27
  //# sourceMappingURL=deleteByParams.d.ts.map
@@ -1,7 +1,7 @@
1
- export type DeleteSourceResponse = {
2
- /**
3
- * Date of deletion (ISO-8601 format).
4
- */
5
- deletedAt: string;
6
- };
1
+ export type DeleteSourceResponse = {
2
+ /**
3
+ * Date of deletion (ISO-8601 format).
4
+ */
5
+ deletedAt: string;
6
+ };
7
7
  //# sourceMappingURL=deleteSourceResponse.d.ts.map
@@ -1,14 +1,14 @@
1
- /**
2
- * The response with a taskID and a deletedAt timestamp.
3
- */
4
- export type DeletedAtResponse = {
5
- /**
6
- * TaskID of the task to wait for.
7
- */
8
- taskID: number;
9
- /**
10
- * Date of deletion (ISO-8601 format).
11
- */
12
- deletedAt: string;
13
- };
1
+ /**
2
+ * The response with a taskID and a deletedAt timestamp.
3
+ */
4
+ export type DeletedAtResponse = {
5
+ /**
6
+ * TaskID of the task to wait for.
7
+ */
8
+ taskID: number;
9
+ /**
10
+ * Date of deletion (ISO-8601 format).
11
+ */
12
+ deletedAt: string;
13
+ };
14
14
  //# sourceMappingURL=deletedAtResponse.d.ts.map
@@ -1,5 +1,5 @@
1
- /**
2
- * Actions to perform.
3
- */
4
- export type DictionaryAction = 'addEntry' | 'deleteEntry';
1
+ /**
2
+ * Actions to perform.
3
+ */
4
+ export type DictionaryAction = 'addEntry' | 'deleteEntry';
5
5
  //# sourceMappingURL=dictionaryAction.d.ts.map
@@ -1,28 +1,28 @@
1
- import type { DictionaryEntryState } from './dictionaryEntryState';
2
- /**
3
- * A dictionary entry.
4
- */
5
- export type DictionaryEntry = Record<string, any> & {
6
- /**
7
- * Unique identifier of the object.
8
- */
9
- objectID: string;
10
- /**
11
- * Language ISO code supported by the dictionary (e.g., \"en\" for English).
12
- */
13
- language: string;
14
- /**
15
- * The word of the dictionary entry.
16
- */
17
- word?: string;
18
- /**
19
- * The words of the dictionary entry.
20
- */
21
- words?: string[];
22
- /**
23
- * A decomposition of the word of the dictionary entry.
24
- */
25
- decomposition?: string[];
26
- state?: DictionaryEntryState;
27
- };
1
+ import type { DictionaryEntryState } from './dictionaryEntryState';
2
+ /**
3
+ * A dictionary entry.
4
+ */
5
+ export type DictionaryEntry = Record<string, any> & {
6
+ /**
7
+ * Unique identifier of the object.
8
+ */
9
+ objectID: string;
10
+ /**
11
+ * Language ISO code supported by the dictionary (e.g., \"en\" for English).
12
+ */
13
+ language: string;
14
+ /**
15
+ * The word of the dictionary entry.
16
+ */
17
+ word?: string;
18
+ /**
19
+ * The words of the dictionary entry.
20
+ */
21
+ words?: string[];
22
+ /**
23
+ * A decomposition of the word of the dictionary entry.
24
+ */
25
+ decomposition?: string[];
26
+ state?: DictionaryEntryState;
27
+ };
28
28
  //# sourceMappingURL=dictionaryEntry.d.ts.map
@@ -1,5 +1,5 @@
1
- /**
2
- * The state of the dictionary entry.
3
- */
4
- export type DictionaryEntryState = 'disabled' | 'enabled';
1
+ /**
2
+ * The state of the dictionary entry.
3
+ */
4
+ export type DictionaryEntryState = 'disabled' | 'enabled';
5
5
  //# sourceMappingURL=dictionaryEntryState.d.ts.map
@@ -1,10 +1,10 @@
1
- /**
2
- * Custom entries for a dictionary.
3
- */
4
- export type DictionaryLanguage = {
5
- /**
6
- * When nbCustomEntries is set to 0, the user didn\'t customize the dictionary. The dictionary is still supported with standard, Algolia-provided entries.
7
- */
8
- nbCustomEntires?: number;
9
- };
1
+ /**
2
+ * Custom entries for a dictionary.
3
+ */
4
+ export type DictionaryLanguage = {
5
+ /**
6
+ * When nbCustomEntries is set to 0, the user didn\'t customize the dictionary. The dictionary is still supported with standard, Algolia-provided entries.
7
+ */
8
+ nbCustomEntires?: number;
9
+ };
10
10
  //# sourceMappingURL=dictionaryLanguage.d.ts.map
@@ -1,8 +1,8 @@
1
- import type { StandardEntries } from './standardEntries';
2
- /**
3
- * Disable the builtin Algolia entries for a type of dictionary per language.
4
- */
5
- export type DictionarySettingsParams = {
6
- disableStandardEntries: StandardEntries;
7
- };
1
+ import type { StandardEntries } from './standardEntries';
2
+ /**
3
+ * Disable the builtin Algolia entries for a type of dictionary per language.
4
+ */
5
+ export type DictionarySettingsParams = {
6
+ disableStandardEntries: StandardEntries;
7
+ };
8
8
  //# sourceMappingURL=dictionarySettingsParams.d.ts.map
@@ -1,2 +1,2 @@
1
- export type DictionaryType = 'compounds' | 'plurals' | 'stopwords';
1
+ export type DictionaryType = 'compounds' | 'plurals' | 'stopwords';
2
2
  //# sourceMappingURL=dictionaryType.d.ts.map
@@ -1,5 +1,5 @@
1
- /**
2
- * Enables de-duplication or grouping of results.
3
- */
4
- export type Distinct = boolean | number;
1
+ /**
2
+ * Enables de-duplication or grouping of results.
3
+ */
4
+ export type Distinct = boolean | number;
5
5
  //# sourceMappingURL=distinct.d.ts.map
@@ -1,13 +1,13 @@
1
- import type { EditType } from './editType';
2
- export type Edit = {
3
- type?: EditType;
4
- /**
5
- * Text or patterns to remove from the query string.
6
- */
7
- delete?: string;
8
- /**
9
- * Text that should be inserted in place of the removed text inside the query string.
10
- */
11
- insert?: string;
12
- };
1
+ import type { EditType } from './editType';
2
+ export type Edit = {
3
+ type?: EditType;
4
+ /**
5
+ * Text or patterns to remove from the query string.
6
+ */
7
+ delete?: string;
8
+ /**
9
+ * Text that should be inserted in place of the removed text inside the query string.
10
+ */
11
+ insert?: string;
12
+ };
13
13
  //# sourceMappingURL=edit.d.ts.map
@@ -1,5 +1,5 @@
1
- /**
2
- * Type of edit.
3
- */
4
- export type EditType = 'remove' | 'replace';
1
+ /**
2
+ * Type of edit.
3
+ */
4
+ export type EditType = 'remove' | 'replace';
5
5
  //# sourceMappingURL=editType.d.ts.map
@@ -1,7 +1,7 @@
1
- /**
2
- * Error.
3
- */
4
- export type ErrorBase = Record<string, any> & {
5
- message?: string;
6
- };
1
+ /**
2
+ * Error.
3
+ */
4
+ export type ErrorBase = Record<string, any> & {
5
+ message?: string;
6
+ };
7
7
  //# sourceMappingURL=errorBase.d.ts.map
@@ -1,5 +1,5 @@
1
- /**
2
- * Controls how the exact ranking criterion is computed when the query contains only one word.
3
- */
4
- export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
1
+ /**
2
+ * Controls how the exact ranking criterion is computed when the query contains only one word.
3
+ */
4
+ export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
5
5
  //# sourceMappingURL=exactOnSingleWordQuery.d.ts.map
@@ -1,6 +1,6 @@
1
- import type { MixedSearchFilters } from './mixedSearchFilters';
2
- /**
3
- * Filter hits by facet value.
4
- */
5
- export type FacetFilters = MixedSearchFilters[] | string;
1
+ import type { MixedSearchFilters } from './mixedSearchFilters';
2
+ /**
3
+ * Filter hits by facet value.
4
+ */
5
+ export type FacetFilters = MixedSearchFilters[] | string;
6
6
  //# sourceMappingURL=facetFilters.d.ts.map
@@ -1,15 +1,15 @@
1
- export type FacetHits = {
2
- /**
3
- * Raw value of the facet.
4
- */
5
- value: string;
6
- /**
7
- * Markup text with occurrences highlighted.
8
- */
9
- highlighted: string;
10
- /**
11
- * 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.
12
- */
13
- count: number;
14
- };
1
+ export type FacetHits = {
2
+ /**
3
+ * Raw value of the facet.
4
+ */
5
+ value: string;
6
+ /**
7
+ * Markup text with occurrences highlighted.
8
+ */
9
+ highlighted: string;
10
+ /**
11
+ * 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.
12
+ */
13
+ count: number;
14
+ };
15
15
  //# sourceMappingURL=facetHits.d.ts.map
@@ -1,13 +1,13 @@
1
- import type { Facets } from './facets';
2
- import type { Value } from './value';
3
- /**
4
- * Defining how facets should be ordered.
5
- */
6
- export type FacetOrdering = {
7
- facets?: Facets;
8
- /**
9
- * The ordering of facet values, within an individual list.
10
- */
11
- values?: Record<string, Value>;
12
- };
1
+ import type { Facets } from './facets';
2
+ import type { Value } from './value';
3
+ /**
4
+ * Defining how facets should be ordered.
5
+ */
6
+ export type FacetOrdering = {
7
+ facets?: Facets;
8
+ /**
9
+ * The ordering of facet values, within an individual list.
10
+ */
11
+ values?: Record<string, Value>;
12
+ };
13
13
  //# sourceMappingURL=facetOrdering.d.ts.map
@@ -1,10 +1,10 @@
1
- /**
2
- * The ordering of facets (widgets).
3
- */
4
- export type Facets = {
5
- /**
6
- * Pinned order of facet lists.
7
- */
8
- order?: string[];
9
- };
1
+ /**
2
+ * The ordering of facets (widgets).
3
+ */
4
+ export type Facets = {
5
+ /**
6
+ * Pinned order of facet lists.
7
+ */
8
+ order?: string[];
9
+ };
10
10
  //# sourceMappingURL=facets.d.ts.map
@@ -1,19 +1,19 @@
1
- export type FacetsStats = {
2
- /**
3
- * The minimum value in the result set.
4
- */
5
- min?: number;
6
- /**
7
- * The maximum value in the result set.
8
- */
9
- max?: number;
10
- /**
11
- * The average facet value in the result set.
12
- */
13
- avg?: number;
14
- /**
15
- * The sum of all values in the result set.
16
- */
17
- sum?: number;
18
- };
1
+ export type FacetsStats = {
2
+ /**
3
+ * The minimum value in the result set.
4
+ */
5
+ min?: number;
6
+ /**
7
+ * The maximum value in the result set.
8
+ */
9
+ max?: number;
10
+ /**
11
+ * The average facet value in the result set.
12
+ */
13
+ avg?: number;
14
+ /**
15
+ * The sum of all values in the result set.
16
+ */
17
+ sum?: number;
18
+ };
19
19
  //# sourceMappingURL=facetsStats.d.ts.map