algoliasearch 5.0.0-alpha.73 → 5.0.0-alpha.76

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 (348) hide show
  1. package/dist/algoliasearch.cjs.js +342 -340
  2. package/dist/algoliasearch.esm.browser.js +342 -338
  3. package/dist/algoliasearch.esm.node.js +342 -338
  4. package/dist/algoliasearch.umd.js +2 -2
  5. package/dist/builds/browser.d.ts +2 -2
  6. package/dist/builds/node.d.ts +2 -2
  7. package/dist/client-abtesting/model/aBTest.d.ts +8 -12
  8. package/dist/client-abtesting/model/aBTest.d.ts.map +1 -1
  9. package/dist/client-abtesting/model/aBTestResponse.d.ts +3 -3
  10. package/dist/client-abtesting/model/abTestsVariant.d.ts +3 -3
  11. package/dist/client-abtesting/model/addABTestsRequest.d.ts +3 -3
  12. package/dist/client-abtesting/model/addABTestsRequest.d.ts.map +1 -1
  13. package/dist/client-abtesting/model/clientMethodProps.d.ts +16 -16
  14. package/dist/client-abtesting/model/customSearchParams.d.ts +3 -0
  15. package/dist/client-abtesting/model/customSearchParams.d.ts.map +1 -1
  16. package/dist/client-abtesting/model/listABTestsResponse.d.ts +3 -3
  17. package/dist/client-abtesting/model/variant.d.ts +14 -14
  18. package/dist/client-abtesting/src/abtestingClient.d.ts +27 -27
  19. package/dist/client-analytics/model/averageClickEvent.d.ts +3 -3
  20. package/dist/client-analytics/model/clickPosition.d.ts +2 -2
  21. package/dist/client-analytics/model/clickThroughRateEvent.d.ts +4 -4
  22. package/dist/client-analytics/model/clientMethodProps.d.ts +91 -91
  23. package/dist/client-analytics/model/conversionRateEvent.d.ts +4 -4
  24. package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts +3 -3
  25. package/dist/client-analytics/model/getClickPositionsResponse.d.ts +1 -1
  26. package/dist/client-analytics/model/getClickThroughRateResponse.d.ts +4 -4
  27. package/dist/client-analytics/model/getConversationRateResponse.d.ts +4 -4
  28. package/dist/client-analytics/model/getNoClickRateResponse.d.ts +4 -4
  29. package/dist/client-analytics/model/getNoResultsRateResponse.d.ts +4 -4
  30. package/dist/client-analytics/model/getSearchesCountResponse.d.ts +2 -2
  31. package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts +1 -1
  32. package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts +1 -1
  33. package/dist/client-analytics/model/getStatusResponse.d.ts +1 -1
  34. package/dist/client-analytics/model/getTopCountriesResponse.d.ts +1 -1
  35. package/dist/client-analytics/model/getTopFilterAttribute.d.ts +2 -2
  36. package/dist/client-analytics/model/getTopFilterAttributesResponse.d.ts +1 -1
  37. package/dist/client-analytics/model/getTopFilterForAttribute.d.ts +4 -4
  38. package/dist/client-analytics/model/getTopFilterForAttributeResponse.d.ts +1 -1
  39. package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts +1 -1
  40. package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts +3 -3
  41. package/dist/client-analytics/model/getTopFiltersNoResultsValues.d.ts +2 -2
  42. package/dist/client-analytics/model/getUsersCountResponse.d.ts +2 -2
  43. package/dist/client-analytics/model/noClickRateEvent.d.ts +4 -4
  44. package/dist/client-analytics/model/noResultsRateEvent.d.ts +4 -4
  45. package/dist/client-analytics/model/orderBy.d.ts +3 -0
  46. package/dist/client-analytics/model/orderBy.d.ts.map +1 -1
  47. package/dist/client-analytics/model/searchEvent.d.ts +2 -2
  48. package/dist/client-analytics/model/searchNoClickEvent.d.ts +3 -3
  49. package/dist/client-analytics/model/searchNoResultEvent.d.ts +3 -3
  50. package/dist/client-analytics/model/topCountry.d.ts +2 -2
  51. package/dist/client-analytics/model/topHit.d.ts +2 -2
  52. package/dist/client-analytics/model/topHitWithAnalytics.d.ts +7 -7
  53. package/dist/client-analytics/model/topHitsResponse.d.ts +1 -1
  54. package/dist/client-analytics/model/topHitsResponseWithAnalytics.d.ts +1 -1
  55. package/dist/client-analytics/model/topSearch.d.ts +3 -3
  56. package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +9 -9
  57. package/dist/client-analytics/model/topSearchesResponse.d.ts +1 -1
  58. package/dist/client-analytics/model/topSearchesResponseWithAnalytics.d.ts +1 -1
  59. package/dist/client-analytics/model/userWithDate.d.ts +2 -2
  60. package/dist/client-analytics/src/analyticsClient.d.ts +114 -114
  61. package/dist/client-personalization/model/clientMethodProps.d.ts +10 -10
  62. package/dist/client-personalization/src/personalizationClient.d.ts +11 -11
  63. package/dist/client-search/model/acl.d.ts +1 -1
  64. package/dist/client-search/model/action.d.ts +1 -1
  65. package/dist/client-search/model/addApiKeyResponse.d.ts +2 -2
  66. package/dist/client-search/model/anchoring.d.ts +1 -1
  67. package/dist/client-search/model/apiKey.d.ts +9 -9
  68. package/dist/client-search/model/aroundRadius.d.ts +1 -1
  69. package/dist/client-search/model/assignUserIdParams.d.ts +1 -1
  70. package/dist/client-search/model/baseGetApiKeyResponse.d.ts +2 -2
  71. package/dist/client-search/model/baseIndexSettings.d.ts +14 -14
  72. package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +25 -25
  73. package/dist/client-search/model/baseSearchResponse.d.ts +20 -20
  74. package/dist/client-search/model/baseSearchResponseRedirect.d.ts +1 -1
  75. package/dist/client-search/model/batchAssignUserIdsParams.d.ts +2 -2
  76. package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +3 -3
  77. package/dist/client-search/model/batchParams.d.ts +1 -1
  78. package/dist/client-search/model/batchRequest.d.ts +1 -1
  79. package/dist/client-search/model/batchResponse.d.ts +2 -2
  80. package/dist/client-search/model/batchWriteParams.d.ts +1 -1
  81. package/dist/client-search/model/builtInOperation.d.ts +1 -1
  82. package/dist/client-search/model/builtInOperationType.d.ts +1 -1
  83. package/dist/client-search/model/clientMethodProps.d.ts +88 -84
  84. package/dist/client-search/model/clientMethodProps.d.ts.map +1 -1
  85. package/dist/client-search/model/consequence.d.ts +4 -4
  86. package/dist/client-search/model/consequenceHide.d.ts +2 -2
  87. package/dist/client-search/model/createdAtResponse.d.ts +2 -2
  88. package/dist/client-search/model/cursor.d.ts +1 -1
  89. package/dist/client-search/model/deleteApiKeyResponse.d.ts +1 -1
  90. package/dist/client-search/model/deleteByParams.d.ts +4 -4
  91. package/dist/client-search/model/deleteSourceResponse.d.ts +1 -1
  92. package/dist/client-search/model/deletedAtResponse.d.ts +3 -3
  93. package/dist/client-search/model/dictionaryEntry.d.ts +6 -6
  94. package/dist/client-search/model/dictionaryEntryState.d.ts +1 -1
  95. package/dist/client-search/model/dictionaryLanguage.d.ts +2 -2
  96. package/dist/client-search/model/dictionarySettingsParams.d.ts +1 -1
  97. package/dist/client-search/model/distinct.d.ts +1 -1
  98. package/dist/client-search/model/exactOnSingleWordQuery.d.ts +1 -1
  99. package/dist/client-search/model/facetFilters.d.ts +1 -1
  100. package/dist/client-search/model/facetHits.d.ts +3 -3
  101. package/dist/client-search/model/facetOrdering.d.ts +2 -2
  102. package/dist/client-search/model/facets.d.ts +1 -1
  103. package/dist/client-search/model/facetsStats.d.ts +4 -4
  104. package/dist/client-search/model/fetchedIndex.d.ts +1 -1
  105. package/dist/client-search/model/getObjectsParams.d.ts +1 -1
  106. package/dist/client-search/model/getObjectsRequest.d.ts +4 -4
  107. package/dist/client-search/model/getObjectsResponse.d.ts +1 -1
  108. package/dist/client-search/model/getTopUserIdsResponse.d.ts +2 -2
  109. package/dist/client-search/model/hasPendingMappingsResponse.d.ts +2 -2
  110. package/dist/client-search/model/highlightResultOption.d.ts +1 -1
  111. package/dist/client-search/model/hit.d.ts +1 -1
  112. package/dist/client-search/model/ignorePlurals.d.ts +1 -1
  113. package/dist/client-search/model/index.d.ts +1 -0
  114. package/dist/client-search/model/index.d.ts.map +1 -1
  115. package/dist/client-search/model/indexSettings.d.ts +1 -1
  116. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +30 -30
  117. package/dist/client-search/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
  118. package/dist/client-search/model/languages.d.ts +1 -1
  119. package/dist/client-search/model/listApiKeysResponse.d.ts +1 -1
  120. package/dist/client-search/model/listClustersResponse.d.ts +2 -2
  121. package/dist/client-search/model/listIndicesResponse.d.ts +1 -1
  122. package/dist/client-search/model/listUserIdsResponse.d.ts +2 -2
  123. package/dist/client-search/model/log.d.ts +7 -7
  124. package/dist/client-search/model/logQuery.d.ts +1 -1
  125. package/dist/client-search/model/mode.d.ts +1 -1
  126. package/dist/client-search/model/multipleBatchRequest.d.ts +1 -1
  127. package/dist/client-search/model/multipleBatchResponse.d.ts +2 -2
  128. package/dist/client-search/model/numericFilters.d.ts +1 -1
  129. package/dist/client-search/model/operationIndexParams.d.ts +2 -2
  130. package/dist/client-search/model/operationType.d.ts +1 -1
  131. package/dist/client-search/model/optionalFilters.d.ts +1 -1
  132. package/dist/client-search/model/params.d.ts +1 -1
  133. package/dist/client-search/model/promoteObjectID.d.ts +3 -3
  134. package/dist/client-search/model/promoteObjectIDs.d.ts +3 -3
  135. package/dist/client-search/model/queryType.d.ts +1 -1
  136. package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -1
  137. package/dist/client-search/model/redirectRuleIndexMetadata.d.ts +1 -1
  138. package/dist/client-search/model/redirectRuleIndexMetadataData.d.ts +1 -1
  139. package/dist/client-search/model/removeStopWords.d.ts +1 -1
  140. package/dist/client-search/model/removeUserIdResponse.d.ts +1 -1
  141. package/dist/client-search/model/removeWordsIfNoResults.d.ts +1 -1
  142. package/dist/client-search/model/renderingContent.d.ts +1 -1
  143. package/dist/client-search/model/replaceSourceResponse.d.ts +1 -1
  144. package/dist/client-search/model/rule.d.ts +5 -5
  145. package/dist/client-search/model/saveObjectResponse.d.ts +5 -2
  146. package/dist/client-search/model/saveObjectResponse.d.ts.map +1 -1
  147. package/dist/client-search/model/saveSynonymResponse.d.ts +3 -3
  148. package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +5 -5
  149. package/dist/client-search/model/searchForFacetValuesRequest.d.ts +2 -2
  150. package/dist/client-search/model/searchForFacetsOptions.d.ts +3 -3
  151. package/dist/client-search/model/searchForHitsOptions.d.ts +1 -1
  152. package/dist/client-search/model/searchParamsQuery.d.ts +1 -1
  153. package/dist/client-search/model/searchParamsString.d.ts +1 -1
  154. package/dist/client-search/model/searchResponses.d.ts +2 -2
  155. package/dist/client-search/model/searchResponses.d.ts.map +1 -1
  156. package/dist/client-search/model/searchResult.d.ts +4 -0
  157. package/dist/client-search/model/searchResult.d.ts.map +1 -0
  158. package/dist/client-search/model/searchRulesParams.d.ts +7 -7
  159. package/dist/client-search/model/searchStrategy.d.ts +3 -0
  160. package/dist/client-search/model/searchStrategy.d.ts.map +1 -1
  161. package/dist/client-search/model/searchSynonymsParams.d.ts +1 -1
  162. package/dist/client-search/model/searchSynonymsResponse.d.ts +2 -2
  163. package/dist/client-search/model/searchTypeDefault.d.ts +1 -1
  164. package/dist/client-search/model/searchTypeFacet.d.ts +1 -1
  165. package/dist/client-search/model/searchUserIdsParams.d.ts +4 -4
  166. package/dist/client-search/model/searchUserIdsResponse.d.ts +5 -5
  167. package/dist/client-search/model/snippetResultOption.d.ts +1 -1
  168. package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
  169. package/dist/client-search/model/source.d.ts +3 -3
  170. package/dist/client-search/model/standardEntries.d.ts +4 -4
  171. package/dist/client-search/model/synonymHit.d.ts +6 -6
  172. package/dist/client-search/model/synonymType.d.ts +1 -1
  173. package/dist/client-search/model/tagFilters.d.ts +1 -1
  174. package/dist/client-search/model/taskStatus.d.ts +3 -0
  175. package/dist/client-search/model/taskStatus.d.ts.map +1 -1
  176. package/dist/client-search/model/typoTolerance.d.ts +1 -1
  177. package/dist/client-search/model/updateApiKeyResponse.d.ts +2 -2
  178. package/dist/client-search/model/updatedAtResponse.d.ts +3 -3
  179. package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +4 -4
  180. package/dist/client-search/model/updatedRuleResponse.d.ts +3 -3
  181. package/dist/client-search/model/userHit.d.ts +1 -1
  182. package/dist/client-search/model/userId.d.ts +2 -2
  183. package/dist/client-search/src/searchClient.d.ts +185 -184
  184. package/dist/client-search/src/searchClient.d.ts.map +1 -1
  185. package/dist/lite/lite.cjs.js +6 -8
  186. package/dist/lite/lite.esm.browser.js +6 -6
  187. package/dist/lite/lite.esm.node.js +6 -6
  188. package/dist/lite/lite.umd.js +2 -2
  189. package/dist/lite/model/acl.d.ts +1 -1
  190. package/dist/lite/model/action.d.ts +1 -1
  191. package/dist/lite/model/addApiKeyResponse.d.ts +2 -2
  192. package/dist/lite/model/anchoring.d.ts +1 -1
  193. package/dist/lite/model/apiKey.d.ts +9 -9
  194. package/dist/lite/model/aroundRadius.d.ts +1 -1
  195. package/dist/lite/model/baseGetApiKeyResponse.d.ts +2 -2
  196. package/dist/lite/model/baseIndexSettings.d.ts +14 -14
  197. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +25 -25
  198. package/dist/lite/model/baseSearchResponse.d.ts +20 -20
  199. package/dist/lite/model/baseSearchResponseRedirect.d.ts +1 -1
  200. package/dist/lite/model/builtInOperation.d.ts +1 -1
  201. package/dist/lite/model/builtInOperationType.d.ts +1 -1
  202. package/dist/lite/model/clientMethodProps.d.ts +3 -3
  203. package/dist/lite/model/consequence.d.ts +4 -4
  204. package/dist/lite/model/consequenceHide.d.ts +2 -2
  205. package/dist/lite/model/cursor.d.ts +1 -1
  206. package/dist/lite/model/deleteByParams.d.ts +4 -4
  207. package/dist/lite/model/dictionaryEntry.d.ts +6 -6
  208. package/dist/lite/model/dictionaryEntryState.d.ts +1 -1
  209. package/dist/lite/model/dictionaryLanguage.d.ts +2 -2
  210. package/dist/lite/model/distinct.d.ts +1 -1
  211. package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
  212. package/dist/lite/model/facetFilters.d.ts +1 -1
  213. package/dist/lite/model/facetHits.d.ts +15 -0
  214. package/dist/lite/model/facetHits.d.ts.map +1 -0
  215. package/dist/lite/model/facetOrdering.d.ts +2 -2
  216. package/dist/lite/model/facets.d.ts +1 -1
  217. package/dist/lite/model/facetsStats.d.ts +4 -4
  218. package/dist/lite/model/fetchedIndex.d.ts +1 -1
  219. package/dist/lite/model/highlightResultOption.d.ts +1 -1
  220. package/dist/lite/model/hit.d.ts +1 -1
  221. package/dist/lite/model/ignorePlurals.d.ts +1 -1
  222. package/dist/lite/model/index.d.ts +3 -0
  223. package/dist/lite/model/index.d.ts.map +1 -1
  224. package/dist/lite/model/indexSettings.d.ts +1 -1
  225. package/dist/lite/model/indexSettingsAsSearchParams.d.ts +30 -30
  226. package/dist/lite/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
  227. package/dist/lite/model/languages.d.ts +1 -1
  228. package/dist/lite/model/listIndicesResponse.d.ts +1 -1
  229. package/dist/lite/model/mode.d.ts +1 -1
  230. package/dist/lite/model/numericFilters.d.ts +1 -1
  231. package/dist/lite/model/operationType.d.ts +1 -1
  232. package/dist/lite/model/optionalFilters.d.ts +1 -1
  233. package/dist/lite/model/params.d.ts +1 -1
  234. package/dist/lite/model/promoteObjectID.d.ts +3 -3
  235. package/dist/lite/model/promoteObjectIDs.d.ts +3 -3
  236. package/dist/lite/model/queryType.d.ts +1 -1
  237. package/dist/lite/model/reRankingApplyFilter.d.ts +1 -1
  238. package/dist/lite/model/redirectRuleIndexMetadata.d.ts +1 -1
  239. package/dist/lite/model/redirectRuleIndexMetadataData.d.ts +1 -1
  240. package/dist/lite/model/removeStopWords.d.ts +1 -1
  241. package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
  242. package/dist/lite/model/renderingContent.d.ts +1 -1
  243. package/dist/lite/model/rule.d.ts +5 -5
  244. package/dist/lite/model/searchForFacetValuesResponse.d.ts +5 -0
  245. package/dist/lite/model/searchForFacetValuesResponse.d.ts.map +1 -0
  246. package/dist/lite/model/searchForFacetsOptions.d.ts +3 -3
  247. package/dist/lite/model/searchForHitsOptions.d.ts +1 -1
  248. package/dist/lite/model/searchParamsQuery.d.ts +1 -1
  249. package/dist/lite/model/searchParamsString.d.ts +1 -1
  250. package/dist/lite/model/searchResponses.d.ts +2 -2
  251. package/dist/lite/model/searchResponses.d.ts.map +1 -1
  252. package/dist/lite/model/searchResult.d.ts +4 -0
  253. package/dist/lite/model/searchResult.d.ts.map +1 -0
  254. package/dist/lite/model/searchStrategy.d.ts +3 -0
  255. package/dist/lite/model/searchStrategy.d.ts.map +1 -1
  256. package/dist/lite/model/searchSynonymsResponse.d.ts +2 -2
  257. package/dist/lite/model/searchTypeDefault.d.ts +1 -1
  258. package/dist/lite/model/searchTypeFacet.d.ts +1 -1
  259. package/dist/lite/model/snippetResultOption.d.ts +1 -1
  260. package/dist/lite/model/sortRemainingBy.d.ts +1 -1
  261. package/dist/lite/model/source.d.ts +3 -3
  262. package/dist/lite/model/standardEntries.d.ts +4 -4
  263. package/dist/lite/model/synonymHit.d.ts +6 -6
  264. package/dist/lite/model/synonymType.d.ts +1 -1
  265. package/dist/lite/model/tagFilters.d.ts +1 -1
  266. package/dist/lite/model/taskStatus.d.ts +3 -0
  267. package/dist/lite/model/taskStatus.d.ts.map +1 -1
  268. package/dist/lite/model/typoTolerance.d.ts +1 -1
  269. package/dist/lite/model/updatedRuleResponse.d.ts +3 -3
  270. package/dist/lite/model/userId.d.ts +2 -2
  271. package/dist/lite/src/liteClient.d.ts +6 -6
  272. package/lite/model/acl.ts +1 -1
  273. package/lite/model/action.ts +1 -1
  274. package/lite/model/addApiKeyResponse.ts +2 -2
  275. package/lite/model/anchoring.ts +1 -1
  276. package/lite/model/apiKey.ts +9 -9
  277. package/lite/model/aroundRadius.ts +1 -1
  278. package/lite/model/baseGetApiKeyResponse.ts +2 -2
  279. package/lite/model/baseIndexSettings.ts +14 -14
  280. package/lite/model/baseSearchParamsWithoutQuery.ts +25 -25
  281. package/lite/model/baseSearchResponse.ts +20 -20
  282. package/lite/model/baseSearchResponseRedirect.ts +1 -1
  283. package/lite/model/builtInOperation.ts +1 -1
  284. package/lite/model/builtInOperationType.ts +1 -1
  285. package/lite/model/clientMethodProps.ts +3 -3
  286. package/lite/model/consequence.ts +4 -4
  287. package/lite/model/consequenceHide.ts +2 -2
  288. package/lite/model/cursor.ts +1 -1
  289. package/lite/model/deleteByParams.ts +4 -4
  290. package/lite/model/dictionaryEntry.ts +6 -6
  291. package/lite/model/dictionaryEntryState.ts +1 -1
  292. package/lite/model/dictionaryLanguage.ts +2 -2
  293. package/lite/model/distinct.ts +1 -1
  294. package/lite/model/exactOnSingleWordQuery.ts +1 -1
  295. package/lite/model/facetFilters.ts +1 -1
  296. package/lite/model/facetHits.ts +18 -0
  297. package/lite/model/facetOrdering.ts +2 -2
  298. package/lite/model/facets.ts +1 -1
  299. package/lite/model/facetsStats.ts +4 -4
  300. package/lite/model/fetchedIndex.ts +1 -1
  301. package/lite/model/highlightResultOption.ts +1 -1
  302. package/lite/model/hit.ts +1 -1
  303. package/lite/model/ignorePlurals.ts +1 -1
  304. package/lite/model/index.ts +3 -0
  305. package/lite/model/indexSettings.ts +1 -1
  306. package/lite/model/indexSettingsAsSearchParams.ts +30 -30
  307. package/lite/model/indexSettingsAsSearchParamsSemanticSearch.ts +2 -2
  308. package/lite/model/languages.ts +1 -1
  309. package/lite/model/listIndicesResponse.ts +1 -1
  310. package/lite/model/mode.ts +1 -1
  311. package/lite/model/numericFilters.ts +1 -1
  312. package/lite/model/operationType.ts +1 -1
  313. package/lite/model/optionalFilters.ts +1 -1
  314. package/lite/model/params.ts +1 -1
  315. package/lite/model/promoteObjectID.ts +3 -3
  316. package/lite/model/promoteObjectIDs.ts +3 -3
  317. package/lite/model/queryType.ts +1 -1
  318. package/lite/model/reRankingApplyFilter.ts +1 -1
  319. package/lite/model/redirectRuleIndexMetadata.ts +1 -1
  320. package/lite/model/redirectRuleIndexMetadataData.ts +1 -1
  321. package/lite/model/removeStopWords.ts +1 -1
  322. package/lite/model/removeWordsIfNoResults.ts +1 -1
  323. package/lite/model/renderingContent.ts +1 -1
  324. package/lite/model/rule.ts +5 -5
  325. package/lite/model/searchForFacetValuesResponse.ts +7 -0
  326. package/lite/model/searchForFacetsOptions.ts +3 -3
  327. package/lite/model/searchForHitsOptions.ts +1 -1
  328. package/lite/model/searchParamsQuery.ts +1 -1
  329. package/lite/model/searchParamsString.ts +1 -1
  330. package/lite/model/searchResponses.ts +2 -2
  331. package/lite/model/searchResult.ts +8 -0
  332. package/lite/model/searchStrategy.ts +3 -0
  333. package/lite/model/searchSynonymsResponse.ts +2 -2
  334. package/lite/model/searchTypeDefault.ts +1 -1
  335. package/lite/model/searchTypeFacet.ts +1 -1
  336. package/lite/model/snippetResultOption.ts +1 -1
  337. package/lite/model/sortRemainingBy.ts +1 -1
  338. package/lite/model/source.ts +3 -3
  339. package/lite/model/standardEntries.ts +4 -4
  340. package/lite/model/synonymHit.ts +6 -6
  341. package/lite/model/synonymType.ts +1 -1
  342. package/lite/model/tagFilters.ts +1 -1
  343. package/lite/model/taskStatus.ts +3 -0
  344. package/lite/model/typoTolerance.ts +1 -1
  345. package/lite/model/updatedRuleResponse.ts +3 -3
  346. package/lite/model/userId.ts +2 -2
  347. package/lite/src/liteClient.ts +6 -6
  348. package/package.json +15 -14
@@ -1 +1 @@
1
- {"version":3,"file":"searchClient.d.ts","sourceRoot":"","sources":["../../../../client-search/src/searchClient.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,mBAAmB,EAInB,cAAc,EAEd,QAAQ,EAET,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,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"}
1
+ {"version":3,"file":"searchClient.d.ts","sourceRoot":"","sources":["../../../../client-search/src/searchClient.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,mBAAmB,EAInB,cAAc,EAEd,QAAQ,EAET,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,QAAQ,EACR,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,cAAc,EACd,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,wBAAwB,EACxB,SAAS,EACT,QAAQ,EACR,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACvB,4BAA4B,EAC5B,yBAAyB,EACzB,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4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BAAmB,CAAC;IA2B/B;;;;;;;;OAQG;wDAE4B,sBAAsB,mBAClC,cAAc;IA4BjC;;;;;;;;;;;OAWG;kFAQE,mBAAmB,mBACL,cAAc,GAC9B,QAAQ,sBAAsB,CAAC;IAuClC;;;;;;OAMG;uCAEoB,mBAAmB,mBACvB,cAAc,GAC9B,QAAQ,qBAAqB,CAAC;IA8BjC;;;;;;OAMG;oDAEyB,wBAAwB,mBACjC,cAAc,GAC9B,QAAQ,iBAAiB,CAAC;IA4B7B;;;;;;;;;OASG;iEAEgD,gBAAgB,mBAChD,cAAc,GAC9B,QAAQ,iBAAiB,CAAC;IAmC7B;;;;;;;;OAQG;kCAEgB,iBAAiB,mBACjB,cAAc,GAC9B,QAAQ,oBAAoB,CAAC;EAqCnC;AAED;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -1,12 +1,10 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var clientCommon = require('@algolia/client-common');
6
4
  var requesterNodeHttp = require('@algolia/requester-node-http');
7
5
 
8
6
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
9
- const apiClientVersion = '5.0.0-alpha.73';
7
+ const apiClientVersion = '5.0.0-alpha.76';
10
8
  function getDefaultHosts(appId) {
11
9
  return [
12
10
  {
@@ -93,9 +91,9 @@ function createLiteClient({ appId: appIdOption, apiKey: apiKeyOption, authMode,
93
91
  *
94
92
  * @summary Send requests to the Algolia REST API.
95
93
  * @param post - The post object.
96
- * @param post.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
97
- * @param post.parameters - Query parameters to be applied to the current query.
98
- * @param post.body - The parameters to send with the custom request.
94
+ * @param post.path - Path of the endpoint, anything after \"/1\" must be specified.
95
+ * @param post.parameters - Query parameters to apply to the current query.
96
+ * @param post.body - Parameters to send with the custom request.
99
97
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
100
98
  */
101
99
  post({ path, parameters, body }, requestOptions) {
@@ -115,10 +113,10 @@ function createLiteClient({ appId: appIdOption, apiKey: apiKeyOption, authMode,
115
113
  return transporter.request(request, requestOptions);
116
114
  },
117
115
  /**
118
- * Perform a search operation targeting one or many indices.
116
+ * Send multiple search queries to one or more indices.
119
117
  *
120
118
  * @summary Search multiple indices.
121
- * @param searchMethodParams - The `search` requests and strategy.
119
+ * @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
122
120
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
123
121
  */
124
122
  search(searchMethodParams, requestOptions) {
@@ -673,7 +673,7 @@ function createXhrRequester() {
673
673
  }
674
674
 
675
675
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
676
- const apiClientVersion = '5.0.0-alpha.73';
676
+ const apiClientVersion = '5.0.0-alpha.76';
677
677
  function getDefaultHosts(appId) {
678
678
  return [
679
679
  {
@@ -760,9 +760,9 @@ function createLiteClient({ appId: appIdOption, apiKey: apiKeyOption, authMode,
760
760
  *
761
761
  * @summary Send requests to the Algolia REST API.
762
762
  * @param post - The post object.
763
- * @param post.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
764
- * @param post.parameters - Query parameters to be applied to the current query.
765
- * @param post.body - The parameters to send with the custom request.
763
+ * @param post.path - Path of the endpoint, anything after \"/1\" must be specified.
764
+ * @param post.parameters - Query parameters to apply to the current query.
765
+ * @param post.body - Parameters to send with the custom request.
766
766
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
767
767
  */
768
768
  post({ path, parameters, body }, requestOptions) {
@@ -782,10 +782,10 @@ function createLiteClient({ appId: appIdOption, apiKey: apiKeyOption, authMode,
782
782
  return transporter.request(request, requestOptions);
783
783
  },
784
784
  /**
785
- * Perform a search operation targeting one or many indices.
785
+ * Send multiple search queries to one or more indices.
786
786
  *
787
787
  * @summary Search multiple indices.
788
- * @param searchMethodParams - The `search` requests and strategy.
788
+ * @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
789
789
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
790
790
  */
791
791
  search(searchMethodParams, requestOptions) {
@@ -2,7 +2,7 @@ import { createAuth, createTransporter, getAlgoliaAgent, shuffle, DEFAULT_CONNEC
2
2
  import { createHttpRequester } from '@algolia/requester-node-http';
3
3
 
4
4
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
5
- const apiClientVersion = '5.0.0-alpha.73';
5
+ const apiClientVersion = '5.0.0-alpha.76';
6
6
  function getDefaultHosts(appId) {
7
7
  return [
8
8
  {
@@ -89,9 +89,9 @@ function createLiteClient({ appId: appIdOption, apiKey: apiKeyOption, authMode,
89
89
  *
90
90
  * @summary Send requests to the Algolia REST API.
91
91
  * @param post - The post object.
92
- * @param post.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
93
- * @param post.parameters - Query parameters to be applied to the current query.
94
- * @param post.body - The parameters to send with the custom request.
92
+ * @param post.path - Path of the endpoint, anything after \"/1\" must be specified.
93
+ * @param post.parameters - Query parameters to apply to the current query.
94
+ * @param post.body - Parameters to send with the custom request.
95
95
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
96
96
  */
97
97
  post({ path, parameters, body }, requestOptions) {
@@ -111,10 +111,10 @@ function createLiteClient({ appId: appIdOption, apiKey: apiKeyOption, authMode,
111
111
  return transporter.request(request, requestOptions);
112
112
  },
113
113
  /**
114
- * Perform a search operation targeting one or many indices.
114
+ * Send multiple search queries to one or more indices.
115
115
  *
116
116
  * @summary Search multiple indices.
117
- * @param searchMethodParams - The `search` requests and strategy.
117
+ * @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
118
118
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
119
119
  */
120
120
  search(searchMethodParams, requestOptions) {
@@ -1,2 +1,2 @@
1
- /*! algoliasearch/lite.umd.js | 5.0.0-alpha.73 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */
2
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["algoliasearch/lite"]={})}(this,(function(e){"use strict";function t(e){let t;const r=`algolia-client-js-${e.key}`;function s(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function a(){return JSON.parse(s().getItem(r)||"{}")}return{get:(e,t,r={miss:()=>Promise.resolve()})=>Promise.resolve().then((()=>{const r=JSON.stringify(e),s=a()[r];return Promise.all([s||t(),void 0!==s])})).then((([e,t])=>Promise.all([e,t||r.miss(e)]))).then((([e])=>e)),set:(e,t)=>Promise.resolve().then((()=>{const o=a();return o[JSON.stringify(e)]=t,s().setItem(r,JSON.stringify(o)),t})),delete:e=>Promise.resolve().then((()=>{const t=a();delete t[JSON.stringify(e)],s().setItem(r,JSON.stringify(t))})),clear:()=>Promise.resolve().then((()=>{s().removeItem(r)}))}}function r(e){const t=[...e.caches],s=t.shift();return void 0===s?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then((e=>Promise.all([e,r.miss(e)]))).then((([e])=>e)),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(e,a,o={miss:()=>Promise.resolve()})=>s.get(e,a,o).catch((()=>r({caches:t}).get(e,a,o))),set:(e,a)=>s.set(e,a).catch((()=>r({caches:t}).set(e,a))),delete:e=>s.delete(e).catch((()=>r({caches:t}).delete(e))),clear:()=>s.clear().catch((()=>r({caches:t}).clear()))}}function s(e={serializable:!0}){let t={};return{get(r,s,a={miss:()=>Promise.resolve()}){const o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);const n=s();return n.then((e=>a.miss(e))).then((()=>n))},set:(r,s)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(s):s,Promise.resolve(s)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}const a=12e4;function o(e,t="up"){const r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>a},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=a}}}function n(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var s=r.call(e,t||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class i extends Error{constructor(e,t){super(e),n(this,"name","AlgoliaError"),t&&(this.name=t)}}class c extends i{constructor(e,t,r){super(e,r),n(this,"stackTrace",void 0),this.stackTrace=t}}class u extends c{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",e,"RetryError")}}class l extends c{constructor(e,t,r,s="ApiError"){super(e,r,s),n(this,"status",void 0),this.status=t}}class d extends i{constructor(e,t){super(e,"DeserializationError"),n(this,"response",void 0),this.response=t}}class h extends l{constructor(e,t,r,s){super(e,t,s,"DetailedApiError"),n(this,"error",void 0),this.error=r}}function m(e,t,r){const s=function(e){const t=e=>"[object Object]"===Object.prototype.toString.call(e)||"[object Array]"===Object.prototype.toString.call(e);return Object.keys(e).map((r=>`${r}=${encodeURIComponent(t(e[r])?JSON.stringify(e[r]):e[r])}`)).join("&")}(r);let a=`${e.protocol}://${e.url}/${"/"===t.charAt(0)?t.substr(1):t}`;return s.length&&(a+=`?${s}`),a}function p(e){const t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}function f({hosts:e,hostsCache:t,baseHeaders:r,baseQueryParameters:s,algoliaAgent:a,timeouts:n,requester:i,requestsCache:c,responsesCache:f}){async function g(c,f,g=!0){const y=[],v=function(e,t){if("GET"===e.method||void 0===e.data&&void 0===t.data)return;const r=Array.isArray(e.data)?e.data:{...e.data,...t.data};return JSON.stringify(r)}(c,f),P=function(e,t,r){const s={Accept:"application/json",...e,...t,...r},a={};return Object.keys(s).forEach((e=>{const t=s[e];a[e.toLowerCase()]=t})),a}(r,c.headers,f.headers),b="GET"===c.method?{...c.data,...f.data}:{},w={...s,...c.queryParameters,...b};if(a.value&&(w["x-algolia-agent"]=a.value),f&&f.queryParameters)for(const e of Object.keys(f.queryParameters))f.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(f.queryParameters[e])?w[e]=f.queryParameters[e].toString():w[e]=f.queryParameters[e];let O=0;const q=async(e,r)=>{const s=e.pop();if(void 0===s)throw new u(function(e){return e.map((e=>p(e)))}(y));let a=f.timeout;void 0===a&&(a=g?n.read:n.write);const b={data:v,headers:P,method:c.method,url:m(s,c.path,w),connectTimeout:r(O,n.connect),responseTimeout:r(O,a)},T=t=>{const r={request:b,response:t,host:s,triesLeft:e.length};return y.push(r),r},S=await i.send(b);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(S)){const a=T(S);return S.isTimedOut&&O++,console.log("Retryable failure",p(a)),await t.set(s,o(s,S.isTimedOut?"timed out":"down")),q(e,r)}if(function({status:e}){return 2==~~(e/100)}(S))return function(e){try{return JSON.parse(e.content)}catch(t){throw new d(t.message,e)}}(S);throw T(S),function({content:e,status:t},r){try{const s=JSON.parse(e);return"error"in s?new h(s.message,t,s.error,r):new l(s.message,t,r)}catch(e){}return new l(e,t,r)}(S,y)},T=e.filter((e=>"readWrite"===e.accept||(g?"read"===e.accept:"write"===e.accept))),S=await async function(e){const r=await Promise.all(e.map((e=>t.get(e,(()=>Promise.resolve(o(e))))))),s=r.filter((e=>e.isUp())),a=r.filter((e=>e.isTimedOut())),n=[...s,...a];return{hosts:n.length>0?n:e,getTimeout:(e,t)=>(0===a.length&&0===e?1:a.length+3+e)*t}}(T);return q([...S.hosts].reverse(),S.getTimeout)}return{hostsCache:t,requester:i,timeouts:n,algoliaAgent:a,baseHeaders:r,baseQueryParameters:s,hosts:e,request:function(e,t={}){const a=e.useReadTransporter||"GET"===e.method;if(!a)return g(e,t,a);const o=()=>g(e,t);if(!0!==(t.cacheable||e.cacheable))return o();const n={request:e,requestOptions:t,transporter:{queryParameters:s,headers:r}};return f.get(n,(()=>c.get(n,(()=>c.set(n,o()).then((e=>Promise.all([c.delete(n),e])),(e=>Promise.all([c.delete(n),Promise.reject(e)]))).then((([e,t])=>t))))),{miss:e=>f.set(n,e)})},requestsCache:c,responsesCache:f}}function g({algoliaAgents:e,client:t,version:r}){const s=function(e){const t={value:`Algolia for JavaScript (${e})`,add(e){const r=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return-1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t}(r).add({segment:t,version:r});return e.forEach((e=>s.add(e))),s}const y="5.0.0-alpha.73";function v(e){return[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(function(e){const t=e;for(let r=e.length-1;r>0;r--){const s=Math.floor(Math.random()*(r+1)),a=e[r];t[r]=e[s],t[s]=a}return t}([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}]))}e.apiClientVersion=y,e.liteClient=function(e,a,o){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!a||"string"!=typeof a)throw new Error("`apiKey` is missing.");return function({appId:e,apiKey:t,authMode:r,algoliaAgents:s,...a}){const o=function(e,t,r="WithinHeaders"){const s={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?s:{},queryParameters:()=>"WithinQueryParameters"===r?s:{}}}(e,t,r),n=f({hosts:v(e),...a,algoliaAgent:g({algoliaAgents:s,client:"Lite",version:y}),baseHeaders:{"content-type":"text/plain",...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:n,appId:e,clearCache:()=>Promise.all([n.requestsCache.clear(),n.responsesCache.clear()]).then((()=>{})),get _ua(){return n.algoliaAgent.value},addAlgoliaAgent(e,t){n.algoliaAgent.add({segment:e,version:t})},post({path:e,parameters:t,body:r},s){if(!e)throw new Error("Parameter `path` is required when calling `post`.");const a={method:"POST",path:"/1{path}".replace("{path}",e),queryParameters:t||{},headers:{},data:r||{}};return n.request(a,s)},search(e,t){if(e&&Array.isArray(e)){const t={requests:e.map((({params:e,...t})=>"facet"===t.type?{...t,...e,type:"facet"}:{...t,...e,facet:void 0,maxFacetHits:void 0,facetQuery:void 0}))};e=t}if(!e)throw new Error("Parameter `searchMethodParams` is required when calling `search`.");if(!e.requests)throw new Error("Parameter `searchMethodParams.requests` is required when calling `search`.");const r={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return n.request(r,t)}}}({appId:e,apiKey:a,timeouts:{connect:1e3,read:2e3,write:3e4},requester:{send:function(e){return new Promise((t=>{const r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((t=>r.setRequestHeader(t,e.headers[t])));const s=(e,s)=>setTimeout((()=>{r.abort(),t({status:0,content:s,isTimedOut:!0})}),e),a=s(e.connectTimeout,"Connection timeout");let o;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===o&&(clearTimeout(a),o=s(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(a),clearTimeout(o),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(a),clearTimeout(o),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:s(),requestsCache:s({serializable:!1}),hostsCache:r({caches:[t({key:`${y}-${e}`}),s()]}),...o})}}));
1
+ /*! algoliasearch/lite.umd.js | 5.0.0-alpha.76 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */
2
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["algoliasearch/lite"]={})}(this,(function(e){"use strict";function t(e){let t;const r=`algolia-client-js-${e.key}`;function s(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function a(){return JSON.parse(s().getItem(r)||"{}")}return{get:(e,t,r={miss:()=>Promise.resolve()})=>Promise.resolve().then((()=>{const r=JSON.stringify(e),s=a()[r];return Promise.all([s||t(),void 0!==s])})).then((([e,t])=>Promise.all([e,t||r.miss(e)]))).then((([e])=>e)),set:(e,t)=>Promise.resolve().then((()=>{const o=a();return o[JSON.stringify(e)]=t,s().setItem(r,JSON.stringify(o)),t})),delete:e=>Promise.resolve().then((()=>{const t=a();delete t[JSON.stringify(e)],s().setItem(r,JSON.stringify(t))})),clear:()=>Promise.resolve().then((()=>{s().removeItem(r)}))}}function r(e){const t=[...e.caches],s=t.shift();return void 0===s?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then((e=>Promise.all([e,r.miss(e)]))).then((([e])=>e)),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(e,a,o={miss:()=>Promise.resolve()})=>s.get(e,a,o).catch((()=>r({caches:t}).get(e,a,o))),set:(e,a)=>s.set(e,a).catch((()=>r({caches:t}).set(e,a))),delete:e=>s.delete(e).catch((()=>r({caches:t}).delete(e))),clear:()=>s.clear().catch((()=>r({caches:t}).clear()))}}function s(e={serializable:!0}){let t={};return{get(r,s,a={miss:()=>Promise.resolve()}){const o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);const n=s();return n.then((e=>a.miss(e))).then((()=>n))},set:(r,s)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(s):s,Promise.resolve(s)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}const a=12e4;function o(e,t="up"){const r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>a},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=a}}}function n(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var s=r.call(e,t||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class i extends Error{constructor(e,t){super(e),n(this,"name","AlgoliaError"),t&&(this.name=t)}}class c extends i{constructor(e,t,r){super(e,r),n(this,"stackTrace",void 0),this.stackTrace=t}}class u extends c{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",e,"RetryError")}}class l extends c{constructor(e,t,r,s="ApiError"){super(e,r,s),n(this,"status",void 0),this.status=t}}class d extends i{constructor(e,t){super(e,"DeserializationError"),n(this,"response",void 0),this.response=t}}class h extends l{constructor(e,t,r,s){super(e,t,s,"DetailedApiError"),n(this,"error",void 0),this.error=r}}function m(e,t,r){const s=function(e){const t=e=>"[object Object]"===Object.prototype.toString.call(e)||"[object Array]"===Object.prototype.toString.call(e);return Object.keys(e).map((r=>`${r}=${encodeURIComponent(t(e[r])?JSON.stringify(e[r]):e[r])}`)).join("&")}(r);let a=`${e.protocol}://${e.url}/${"/"===t.charAt(0)?t.substr(1):t}`;return s.length&&(a+=`?${s}`),a}function p(e){const t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}function f({hosts:e,hostsCache:t,baseHeaders:r,baseQueryParameters:s,algoliaAgent:a,timeouts:n,requester:i,requestsCache:c,responsesCache:f}){async function g(c,f,g=!0){const y=[],v=function(e,t){if("GET"===e.method||void 0===e.data&&void 0===t.data)return;const r=Array.isArray(e.data)?e.data:{...e.data,...t.data};return JSON.stringify(r)}(c,f),P=function(e,t,r){const s={Accept:"application/json",...e,...t,...r},a={};return Object.keys(s).forEach((e=>{const t=s[e];a[e.toLowerCase()]=t})),a}(r,c.headers,f.headers),b="GET"===c.method?{...c.data,...f.data}:{},w={...s,...c.queryParameters,...b};if(a.value&&(w["x-algolia-agent"]=a.value),f&&f.queryParameters)for(const e of Object.keys(f.queryParameters))f.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(f.queryParameters[e])?w[e]=f.queryParameters[e].toString():w[e]=f.queryParameters[e];let O=0;const q=async(e,r)=>{const s=e.pop();if(void 0===s)throw new u(function(e){return e.map((e=>p(e)))}(y));let a=f.timeout;void 0===a&&(a=g?n.read:n.write);const b={data:v,headers:P,method:c.method,url:m(s,c.path,w),connectTimeout:r(O,n.connect),responseTimeout:r(O,a)},T=t=>{const r={request:b,response:t,host:s,triesLeft:e.length};return y.push(r),r},S=await i.send(b);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(S)){const a=T(S);return S.isTimedOut&&O++,console.log("Retryable failure",p(a)),await t.set(s,o(s,S.isTimedOut?"timed out":"down")),q(e,r)}if(function({status:e}){return 2==~~(e/100)}(S))return function(e){try{return JSON.parse(e.content)}catch(t){throw new d(t.message,e)}}(S);throw T(S),function({content:e,status:t},r){try{const s=JSON.parse(e);return"error"in s?new h(s.message,t,s.error,r):new l(s.message,t,r)}catch(e){}return new l(e,t,r)}(S,y)},T=e.filter((e=>"readWrite"===e.accept||(g?"read"===e.accept:"write"===e.accept))),S=await async function(e){const r=await Promise.all(e.map((e=>t.get(e,(()=>Promise.resolve(o(e))))))),s=r.filter((e=>e.isUp())),a=r.filter((e=>e.isTimedOut())),n=[...s,...a];return{hosts:n.length>0?n:e,getTimeout:(e,t)=>(0===a.length&&0===e?1:a.length+3+e)*t}}(T);return q([...S.hosts].reverse(),S.getTimeout)}return{hostsCache:t,requester:i,timeouts:n,algoliaAgent:a,baseHeaders:r,baseQueryParameters:s,hosts:e,request:function(e,t={}){const a=e.useReadTransporter||"GET"===e.method;if(!a)return g(e,t,a);const o=()=>g(e,t);if(!0!==(t.cacheable||e.cacheable))return o();const n={request:e,requestOptions:t,transporter:{queryParameters:s,headers:r}};return f.get(n,(()=>c.get(n,(()=>c.set(n,o()).then((e=>Promise.all([c.delete(n),e])),(e=>Promise.all([c.delete(n),Promise.reject(e)]))).then((([e,t])=>t))))),{miss:e=>f.set(n,e)})},requestsCache:c,responsesCache:f}}function g({algoliaAgents:e,client:t,version:r}){const s=function(e){const t={value:`Algolia for JavaScript (${e})`,add(e){const r=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return-1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t}(r).add({segment:t,version:r});return e.forEach((e=>s.add(e))),s}const y="5.0.0-alpha.76";function v(e){return[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(function(e){const t=e;for(let r=e.length-1;r>0;r--){const s=Math.floor(Math.random()*(r+1)),a=e[r];t[r]=e[s],t[s]=a}return t}([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}]))}e.apiClientVersion=y,e.liteClient=function(e,a,o){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!a||"string"!=typeof a)throw new Error("`apiKey` is missing.");return function({appId:e,apiKey:t,authMode:r,algoliaAgents:s,...a}){const o=function(e,t,r="WithinHeaders"){const s={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?s:{},queryParameters:()=>"WithinQueryParameters"===r?s:{}}}(e,t,r),n=f({hosts:v(e),...a,algoliaAgent:g({algoliaAgents:s,client:"Lite",version:y}),baseHeaders:{"content-type":"text/plain",...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:n,appId:e,clearCache:()=>Promise.all([n.requestsCache.clear(),n.responsesCache.clear()]).then((()=>{})),get _ua(){return n.algoliaAgent.value},addAlgoliaAgent(e,t){n.algoliaAgent.add({segment:e,version:t})},post({path:e,parameters:t,body:r},s){if(!e)throw new Error("Parameter `path` is required when calling `post`.");const a={method:"POST",path:"/1{path}".replace("{path}",e),queryParameters:t||{},headers:{},data:r||{}};return n.request(a,s)},search(e,t){if(e&&Array.isArray(e)){const t={requests:e.map((({params:e,...t})=>"facet"===t.type?{...t,...e,type:"facet"}:{...t,...e,facet:void 0,maxFacetHits:void 0,facetQuery:void 0}))};e=t}if(!e)throw new Error("Parameter `searchMethodParams` is required when calling `search`.");if(!e.requests)throw new Error("Parameter `searchMethodParams.requests` is required when calling `search`.");const r={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return n.request(r,t)}}}({appId:e,apiKey:a,timeouts:{connect:1e3,read:2e3,write:3e4},requester:{send:function(e){return new Promise((t=>{const r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((t=>r.setRequestHeader(t,e.headers[t])));const s=(e,s)=>setTimeout((()=>{r.abort(),t({status:0,content:s,isTimedOut:!0})}),e),a=s(e.connectTimeout,"Connection timeout");let o;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===o&&(clearTimeout(a),o=s(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(a),clearTimeout(o),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(a),clearTimeout(o),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:s(),requestsCache:s({serializable:!1}),hostsCache:r({caches:[t({key:`${y}-${e}`}),s()]}),...o})}}));
@@ -1,5 +1,5 @@
1
1
  /**
2
- * List of rights for the API key. The following rights can be used: addObject: allows to add/update an object in the index (copy/move index are also allowed with this right). Analytics: allows to retrieve the analytics through the Analytics API. Browse: allows to retrieve all index content via the browse API. DeleteIndex: allows to delete or clear index content. DeleteObject: allows to delete objects from the index. EditSettings: allows to change index settings. ListIndexes: allows to list all accessible indices. Logs: allows to get the logs. Recommendation: Allows usage of the Personalization dashboard and the Recommendation API. Search: allows to search the index. SeeUnretrievableAttributes: disable unretrievableAttributes feature for all operations returning records. Settings: allows to get index settings.
2
+ * API key permissions: `addObject`: required to add or update records, copy or move an index. `analytics`: required to access the Analytics API. `browse`: required to view records `deleteIndex`: required to delete indices. `deleteObject`: required to delete records. `editSettings`: required to change index settings. `listIndexes`: required to list indices. `logs`: required to access logs of search and indexing operations. `recommendation`: required to access the Personalization and Recommend APIs. `search`: required to search records `seeUnretrievableAttributes`: required to retrieve [`unretrievableAttributes`](https://www.algolia.com/doc/api-reference/api-parameters/unretrievableAttributes/) for all operations that return records. `settings`: required to examine index settings.
3
3
  */
4
4
  export type Acl = 'addObject' | 'analytics' | 'browse' | 'deleteIndex' | 'deleteObject' | 'editSettings' | 'listIndexes' | 'logs' | 'personalization' | 'recommendation' | 'search' | 'seeUnretrievableAttributes' | 'settings' | 'usage';
5
5
  //# sourceMappingURL=acl.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Type of operation.
2
+ * Type of batch operation.
3
3
  */
4
4
  export type Action = 'addObject' | 'clear' | 'delete' | 'deleteObject' | 'partialUpdateObject' | 'partialUpdateObjectNoCreate' | 'updateObject';
5
5
  //# sourceMappingURL=action.d.ts.map
@@ -1,10 +1,10 @@
1
1
  export type AddApiKeyResponse = {
2
2
  /**
3
- * The API key.
3
+ * API key.
4
4
  */
5
5
  key: string;
6
6
  /**
7
- * Date of creation (ISO-8601 format).
7
+ * Timestamp of creation in [ISO-8601](https://wikipedia.org/wiki/ISO_8601) format.
8
8
  */
9
9
  createdAt: string;
10
10
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Whether the pattern parameter must match the beginning or the end of the query string, or both, or none.
2
+ * Whether the pattern parameter matches the beginning (`startsWith`) or end (`endsWith`) of the query string, is an exact match (`is`), or a partial match (`contains`).
3
3
  */
4
4
  export type Anchoring = 'contains' | 'endsWith' | 'is' | 'startsWith';
5
5
  //# sourceMappingURL=anchoring.d.ts.map
@@ -1,38 +1,38 @@
1
1
  import type { Acl } from './acl';
2
2
  /**
3
- * Api Key object.
3
+ * API key object.
4
4
  */
5
5
  export type ApiKey = {
6
6
  /**
7
- * Set of permissions associated with the key.
7
+ * [Permissions](https://www.algolia.com/doc/guides/security/api-keys/#access-control-list-acl) associated with the key.
8
8
  */
9
9
  acl: Acl[];
10
10
  /**
11
- * A comment used to identify a key more easily in the dashboard. It is not interpreted by the API.
11
+ * Description of an API key for you and your team members.
12
12
  */
13
13
  description?: string;
14
14
  /**
15
- * Restrict this new API key to a list of indices or index patterns. If the list is empty, all indices are allowed.
15
+ * Restricts this API key to a list of indices or index patterns. If the list is empty, all indices are allowed. Specify either an exact index name or a pattern with a leading or trailing wildcard character (or both). For example: - `dev_*` matches all indices starting with \"dev_\" - `*_dev` matches all indices ending with \"_dev\" - `*_products_*` matches all indices containing \"_products_\".
16
16
  */
17
17
  indexes?: string[];
18
18
  /**
19
- * Maximum number of hits this API key can retrieve in one query. If zero, no limit is enforced.
19
+ * Maximum number of hits this API key can retrieve in one query. If zero, no limit is enforced. > **Note**: Use this parameter to protect you from third-party attempts to retrieve your entire content by massively querying the index.
20
20
  */
21
21
  maxHitsPerQuery?: number;
22
22
  /**
23
- * Maximum number of API calls per hour allowed from a given IP address or a user token.
23
+ * Maximum number of API calls per hour allowed from a given IP address or [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/). Each time an API call is performed with this key, a check is performed. If there were more than the specified number of calls within the last hour, the API returns an error with the status code `429` (Too Many Requests). > **Note**: Use this parameter to protect you from third-party attempts to retrieve your entire content by massively querying the index.
24
24
  */
25
25
  maxQueriesPerIPPerHour?: number;
26
26
  /**
27
- * URL-encoded query string. Force some query parameters to be applied for each query made with this API key.
27
+ * Force some [query parameters](https://www.algolia.com/doc/api-reference/api-parameters/) to be applied for each query made with this API key. It\'s a URL-encoded query string.
28
28
  */
29
29
  queryParameters?: string;
30
30
  /**
31
- * Restrict this new API key to specific referers. If empty or blank, defaults to all referers.
31
+ * Restrict this API key to specific [referrers](https://www.algolia.com/doc/guides/security/api-keys/in-depth/api-key-restrictions/#http-referrers). If empty, all referrers are allowed. For example: - `https://algolia.com/_*` matches all referrers starting with \"https://algolia.com/\" - `*.algolia.com` matches all referrers ending with \".algolia.com\" - `*algolia.com*` allows everything in the domain \"algolia.com\".
32
32
  */
33
33
  referers?: string[];
34
34
  /**
35
- * Validity limit for this key in seconds. The key will automatically be removed after this period of time.
35
+ * Validity duration of a key (in seconds). The key will automatically be removed after this time has expired. The default value of 0 never expires. Short-lived API keys are useful to grant temporary access to your data. For example, in mobile apps, you can\'t [control when users update your app](https://www.algolia.com/doc/guides/security/security-best-practices/#use-secured-api-keys-in-mobile-apps). So instead of encoding keys into your app as you would for a web app, you should dynamically fetch them from your mobile app\'s backend.
36
36
  */
37
37
  validity?: number;
38
38
  };
@@ -1,6 +1,6 @@
1
1
  import type { AroundRadiusAll } from './aroundRadiusAll';
2
2
  /**
3
- * Define the maximum radius for a geo search (in meters).
3
+ * [Maximum radius](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#increase-the-search-radius) for a geographical search (in meters).
4
4
  */
5
5
  export type AroundRadius = AroundRadiusAll | number;
6
6
  //# sourceMappingURL=aroundRadius.d.ts.map
@@ -1,10 +1,10 @@
1
1
  export type BaseGetApiKeyResponse = {
2
2
  /**
3
- * The API key.
3
+ * API key.
4
4
  */
5
5
  value?: string;
6
6
  /**
7
- * Time of the event expressed in milliseconds since the Unix epoch.
7
+ * Timestamp of creation in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time).
8
8
  */
9
9
  createdAt: number;
10
10
  };
@@ -1,54 +1,54 @@
1
1
  export type BaseIndexSettings = {
2
2
  /**
3
- * Creates replicas, exact copies of an index.
3
+ * Creates [replicas](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/), which are copies of a primary index with the same records but different settings.
4
4
  */
5
5
  replicas?: string[];
6
6
  /**
7
- * Set the maximum number of hits accessible via pagination.
7
+ * Maximum number of hits accessible through pagination.
8
8
  */
9
9
  paginationLimitedTo?: number;
10
10
  /**
11
- * List of attributes that can\'t be retrieved at query time.
11
+ * Attributes that can\'t be retrieved at query time.
12
12
  */
13
13
  unretrievableAttributes?: string[];
14
14
  /**
15
- * A list of words for which you want to turn off typo tolerance.
15
+ * Words for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/).
16
16
  */
17
17
  disableTypoToleranceOnWords?: string[];
18
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.
19
+ * Attributes in your index to which [Japanese transliteration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#japanese-transliteration-and-type-ahead) applies. This will ensure that words indexed in Katakana or Kanji can also be searched in Hiragana.
20
20
  */
21
21
  attributesToTransliterate?: string[];
22
22
  /**
23
- * List of attributes on which to do a decomposition of camel case words.
23
+ * Attributes on which to split [camel case](https://wikipedia.org/wiki/Camel_case) words.
24
24
  */
25
25
  camelCaseAttributes?: string[];
26
26
  /**
27
- * Specify on which attributes in your index Algolia should apply word segmentation, also known as decompounding.
27
+ * Attributes in your index to which [word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) (decompounding) applies.
28
28
  */
29
29
  decompoundedAttributes?: Record<string, any>;
30
30
  /**
31
- * Sets the languages at the index level for language-specific processing such as tokenization and normalization.
31
+ * Set the languages of your index, for language-specific processing steps such as [tokenization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/tokenization/) and [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).
32
32
  */
33
33
  indexLanguages?: string[];
34
34
  /**
35
- * List of attributes on which you want to disable prefix matching.
35
+ * Attributes for which you want to turn off [prefix matching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#adjusting-prefix-search).
36
36
  */
37
37
  disablePrefixOnAttributes?: string[];
38
38
  /**
39
- * Enables compression of large integer arrays.
39
+ * Incidates whether the engine compresses arrays with exclusively non-negative integers. When enabled, the compressed arrays may be reordered.
40
40
  */
41
41
  allowCompressionOfIntegerArray?: boolean;
42
42
  /**
43
- * List of numeric attributes that can be used as numerical filters.
43
+ * Numeric attributes that can be used as [numerical filters](https://www.algolia.com/doc/guides/managing-results/rules/detecting-intent/how-to/applying-a-custom-filter-for-a-specific-query/#numerical-filters).
44
44
  */
45
45
  numericAttributesForFiltering?: string[];
46
46
  /**
47
- * Control which separators are indexed.
47
+ * Controls which separators are added to an Algolia index as part of [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean). Separators are all non-letter characters except spaces and currency characters, such as $€£¥.
48
48
  */
49
49
  separatorsToIndex?: string;
50
50
  /**
51
- * The complete list of attributes used for searching.
51
+ * [Attributes used for searching](https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/), including determining [if matches at the beginning of a word are important (ordered) or not (unordered)](https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/how-to/configuring-searchable-attributes-the-right-way/#understanding-word-position).
52
52
  */
53
53
  searchableAttributes?: string[];
54
54
  /**
@@ -56,7 +56,7 @@ export type BaseIndexSettings = {
56
56
  */
57
57
  userData?: Record<string, any>;
58
58
  /**
59
- * Overrides Algolia\'s default normalization.
59
+ * A list of characters and their normalized replacements to override Algolia\'s default [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).
60
60
  */
61
61
  customNormalization?: Record<string, Record<string, string>>;
62
62
  };
@@ -6,11 +6,11 @@ import type { ReRankingApplyFilter } from './reRankingApplyFilter';
6
6
  import type { TagFilters } from './tagFilters';
7
7
  export type BaseSearchParamsWithoutQuery = {
8
8
  /**
9
- * Overrides the query parameter and performs a more generic search that can be used to find \"similar\" results.
9
+ * Overrides the query parameter and performs a more generic search.
10
10
  */
11
11
  similarQuery?: string;
12
12
  /**
13
- * Filter the query with numeric, facet and/or tag filters.
13
+ * [Filter](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) the query with numeric, facet, or tag filters.
14
14
  */
15
15
  filters?: string;
16
16
  facetFilters?: FacetFilters;
@@ -18,19 +18,19 @@ export type BaseSearchParamsWithoutQuery = {
18
18
  numericFilters?: NumericFilters;
19
19
  tagFilters?: TagFilters;
20
20
  /**
21
- * Determines how to calculate the total score for filtering.
21
+ * Determines how to calculate [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores). If `false`, maximum score is kept. If `true`, score is summed.
22
22
  */
23
23
  sumOrFiltersScores?: boolean;
24
24
  /**
25
- * Retrieve facets and their facet values.
25
+ * Returns [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts), their facet values, and the number of matching facet values.
26
26
  */
27
27
  facets?: string[];
28
28
  /**
29
- * Maximum number of facet values to return for each facet during a regular search.
29
+ * Maximum number of facet values to return for each facet.
30
30
  */
31
31
  maxValuesPerFacet?: number;
32
32
  /**
33
- * Force faceting to be applied after de-duplication (via the Distinct setting).
33
+ * Forces faceting to be applied after [de-duplication](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/) (with the distinct feature). Alternatively, the `afterDistinct` [modifier](https://www.algolia.com/doc/api-reference/api-parameters/attributesForFaceting/#modifiers) of `attributesForFaceting` allows for more granular control.
34
34
  */
35
35
  facetingAfterDistinct?: boolean;
36
36
  /**
@@ -38,72 +38,72 @@ export type BaseSearchParamsWithoutQuery = {
38
38
  */
39
39
  sortFacetValuesBy?: string;
40
40
  /**
41
- * Specify the page to retrieve.
41
+ * Page to retrieve (the first page is `0`, not `1`).
42
42
  */
43
43
  page?: number;
44
44
  /**
45
- * Specify the offset of the first hit to return.
45
+ * Specifies the offset of the first hit to return. > **Note**: Using `page` and `hitsPerPage` is the recommended method for [paging results](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/). However, you can use `offset` and `length` to implement [an alternative approach to paging](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/#retrieving-a-subset-of-records-with-offset-and-length).
46
46
  */
47
47
  offset?: number;
48
48
  /**
49
- * Set the number of hits to retrieve (used only with offset).
49
+ * Sets the number of hits to retrieve (for use with `offset`). > **Note**: Using `page` and `hitsPerPage` is the recommended method for [paging results](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/). However, you can use `offset` and `length` to implement [an alternative approach to paging](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/#retrieving-a-subset-of-records-with-offset-and-length).
50
50
  */
51
51
  length?: number;
52
52
  /**
53
- * Search for entries around a central geolocation, enabling a geo search within a circular area.
53
+ * Search for entries [around a central location](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filter-around-a-central-point), enabling a geographical search within a circular area.
54
54
  */
55
55
  aroundLatLng?: string;
56
56
  /**
57
- * Search for entries around a given location automatically computed from the requester\'s IP address.
57
+ * Search for entries around a location. The location is automatically computed from the requester\'s IP address.
58
58
  */
59
59
  aroundLatLngViaIP?: boolean;
60
60
  aroundRadius?: AroundRadius;
61
61
  /**
62
- * Precision of geo search (in meters), to add grouping by geo location to the ranking formula.
62
+ * Precision of a geographical search (in meters), to [group results that are more or less the same distance from a central point](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/in-depth/geo-ranking-precision/).
63
63
  */
64
64
  aroundPrecision?: number;
65
65
  /**
66
- * Minimum radius (in meters) used for a geo search when aroundRadius is not set.
66
+ * Minimum radius (in meters) used for a geographical search when `aroundRadius` isn\'t set.
67
67
  */
68
68
  minimumAroundRadius?: number;
69
69
  /**
70
- * Search inside a rectangular area (in geo coordinates).
70
+ * Search inside a [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
71
71
  */
72
72
  insideBoundingBox?: number[];
73
73
  /**
74
- * Search inside a polygon (in geo coordinates).
74
+ * Search inside a [polygon](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
75
75
  */
76
76
  insidePolygon?: number[];
77
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.
78
+ * Changes the default values of parameters that work best for a natural language query, such as `ignorePlurals`, `removeStopWords`, `removeWordsIfNoResults`, `analyticsTags`, and `ruleContexts`. These parameters work well together when the query consists of fuller natural language strings instead of keywords, for example when processing voice search queries.
79
79
  */
80
80
  naturalLanguages?: string[];
81
81
  /**
82
- * Enables contextual rules.
82
+ * Assigns [rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) to search queries.
83
83
  */
84
84
  ruleContexts?: string[];
85
85
  /**
86
- * Define the impact of the Personalization feature.
86
+ * Defines how much [Personalization affects results](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
87
87
  */
88
88
  personalizationImpact?: number;
89
89
  /**
90
- * Associates a certain user token with the current search.
90
+ * Associates a [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/) with the current search.
91
91
  */
92
92
  userToken?: string;
93
93
  /**
94
- * Retrieve detailed ranking information.
94
+ * Incidates whether the search response includes [detailed ranking information](https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/understanding-the-api-response/#ranking-information).
95
95
  */
96
96
  getRankingInfo?: boolean;
97
97
  /**
98
- * Enable the Click Analytics feature.
98
+ * Indicates whether a query ID parameter is included in the search response. This is required for [tracking click and conversion events](https://www.algolia.com/doc/guides/sending-events/concepts/event-types/#events-related-to-algolia-requests).
99
99
  */
100
100
  clickAnalytics?: boolean;
101
101
  /**
102
- * Whether the current query will be taken into account in the Analytics.
102
+ * Indicates whether this query will be included in [analytics](https://www.algolia.com/doc/guides/search-analytics/guides/exclude-queries/).
103
103
  */
104
104
  analytics?: boolean;
105
105
  /**
106
- * List of tags to apply to the query for analytics purposes.
106
+ * Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
107
107
  */
108
108
  analyticsTags?: string[];
109
109
  /**
@@ -111,11 +111,11 @@ export type BaseSearchParamsWithoutQuery = {
111
111
  */
112
112
  percentileComputation?: boolean;
113
113
  /**
114
- * Whether this search should participate in running AB tests.
114
+ * Incidates whether this search will be considered in A/B testing.
115
115
  */
116
116
  enableABTest?: boolean;
117
117
  /**
118
- * Whether this search should use AI Re-Ranking.
118
+ * Indicates whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
119
119
  */
120
120
  enableReRanking?: boolean;
121
121
  reRankingApplyFilter?: ReRankingApplyFilter | null;