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,101 +1,101 @@
1
- /**
2
- * Properties for the `del` method.
3
- */
4
- export type DelProps = {
5
- /**
6
- * The path of the API endpoint to target, anything after the /1 needs to be specified.
7
- */
8
- path: string;
9
- /**
10
- * Query parameters to be applied to the current query.
11
- */
12
- parameters?: Record<string, any>;
13
- };
14
- /**
15
- * Properties for the `deleteABTest` method.
16
- */
17
- export type DeleteABTestProps = {
18
- /**
19
- * The A/B test ID.
20
- */
21
- id: number;
22
- };
23
- /**
24
- * Properties for the `get` method.
25
- */
26
- export type GetProps = {
27
- /**
28
- * The path of the API endpoint to target, anything after the /1 needs to be specified.
29
- */
30
- path: string;
31
- /**
32
- * Query parameters to be applied to the current query.
33
- */
34
- parameters?: Record<string, any>;
35
- };
36
- /**
37
- * Properties for the `getABTest` method.
38
- */
39
- export type GetABTestProps = {
40
- /**
41
- * The A/B test ID.
42
- */
43
- id: number;
44
- };
45
- /**
46
- * Properties for the `listABTests` method.
47
- */
48
- export type ListABTestsProps = {
49
- /**
50
- * Position of the starting record. Used for paging. 0 is the first record.
51
- */
52
- offset?: number;
53
- /**
54
- * Number of records to return. Limit is the size of the page.
55
- */
56
- limit?: number;
57
- };
58
- /**
59
- * Properties for the `post` method.
60
- */
61
- export type PostProps = {
62
- /**
63
- * The path of the API endpoint to target, anything after the /1 needs to be specified.
64
- */
65
- path: string;
66
- /**
67
- * Query parameters to be applied to the current query.
68
- */
69
- parameters?: Record<string, any>;
70
- /**
71
- * The parameters to send with the custom request.
72
- */
73
- body?: Record<string, any>;
74
- };
75
- /**
76
- * Properties for the `put` method.
77
- */
78
- export type PutProps = {
79
- /**
80
- * The path of the API endpoint to target, anything after the /1 needs to be specified.
81
- */
82
- path: string;
83
- /**
84
- * Query parameters to be applied to the current query.
85
- */
86
- parameters?: Record<string, any>;
87
- /**
88
- * The parameters to send with the custom request.
89
- */
90
- body?: Record<string, any>;
91
- };
92
- /**
93
- * Properties for the `stopABTest` method.
94
- */
95
- export type StopABTestProps = {
96
- /**
97
- * The A/B test ID.
98
- */
99
- id: number;
100
- };
1
+ /**
2
+ * Properties for the `del` method.
3
+ */
4
+ export type DelProps = {
5
+ /**
6
+ * The path of the API endpoint to target, anything after the /1 needs to be specified.
7
+ */
8
+ path: string;
9
+ /**
10
+ * Query parameters to be applied to the current query.
11
+ */
12
+ parameters?: Record<string, any>;
13
+ };
14
+ /**
15
+ * Properties for the `deleteABTest` method.
16
+ */
17
+ export type DeleteABTestProps = {
18
+ /**
19
+ * The A/B test ID.
20
+ */
21
+ id: number;
22
+ };
23
+ /**
24
+ * Properties for the `get` method.
25
+ */
26
+ export type GetProps = {
27
+ /**
28
+ * The path of the API endpoint to target, anything after the /1 needs to be specified.
29
+ */
30
+ path: string;
31
+ /**
32
+ * Query parameters to be applied to the current query.
33
+ */
34
+ parameters?: Record<string, any>;
35
+ };
36
+ /**
37
+ * Properties for the `getABTest` method.
38
+ */
39
+ export type GetABTestProps = {
40
+ /**
41
+ * The A/B test ID.
42
+ */
43
+ id: number;
44
+ };
45
+ /**
46
+ * Properties for the `listABTests` method.
47
+ */
48
+ export type ListABTestsProps = {
49
+ /**
50
+ * Position of the starting record. Used for paging. 0 is the first record.
51
+ */
52
+ offset?: number;
53
+ /**
54
+ * Number of records to return. Limit is the size of the page.
55
+ */
56
+ limit?: number;
57
+ };
58
+ /**
59
+ * Properties for the `post` method.
60
+ */
61
+ export type PostProps = {
62
+ /**
63
+ * The path of the API endpoint to target, anything after the /1 needs to be specified.
64
+ */
65
+ path: string;
66
+ /**
67
+ * Query parameters to be applied to the current query.
68
+ */
69
+ parameters?: Record<string, any>;
70
+ /**
71
+ * The parameters to send with the custom request.
72
+ */
73
+ body?: Record<string, any>;
74
+ };
75
+ /**
76
+ * Properties for the `put` method.
77
+ */
78
+ export type PutProps = {
79
+ /**
80
+ * The path of the API endpoint to target, anything after the /1 needs to be specified.
81
+ */
82
+ path: string;
83
+ /**
84
+ * Query parameters to be applied to the current query.
85
+ */
86
+ parameters?: Record<string, any>;
87
+ /**
88
+ * The parameters to send with the custom request.
89
+ */
90
+ body?: Record<string, any>;
91
+ };
92
+ /**
93
+ * Properties for the `stopABTest` method.
94
+ */
95
+ export type StopABTestProps = {
96
+ /**
97
+ * The A/B test ID.
98
+ */
99
+ id: number;
100
+ };
101
101
  //# sourceMappingURL=clientMethodProps.d.ts.map
@@ -1,4 +1,4 @@
1
- export type CustomSearchParams = {
2
- customSearchParameters: Record<string, any>;
3
- };
1
+ export type CustomSearchParams = {
2
+ customSearchParameters: Record<string, any>;
3
+ };
4
4
  //# sourceMappingURL=customSearchParams.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,12 +1,12 @@
1
- export * from './aBTest';
2
- export * from './aBTestResponse';
3
- export * from './abTestsVariant';
4
- export * from './abTestsVariantSearchParams';
5
- export * from './addABTestsRequest';
6
- export * from './addABTestsVariant';
7
- export * from './customSearchParams';
8
- export * from './errorBase';
9
- export * from './listABTestsResponse';
10
- export * from './variant';
11
- export * from './clientMethodProps';
1
+ export * from './aBTest';
2
+ export * from './aBTestResponse';
3
+ export * from './abTestsVariant';
4
+ export * from './abTestsVariantSearchParams';
5
+ export * from './addABTestsRequest';
6
+ export * from './addABTestsVariant';
7
+ export * from './customSearchParams';
8
+ export * from './errorBase';
9
+ export * from './listABTestsResponse';
10
+ export * from './variant';
11
+ export * from './clientMethodProps';
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1,16 +1,16 @@
1
- import type { ABTest } from './aBTest';
2
- export type ListABTestsResponse = {
3
- /**
4
- * List of A/B tests.
5
- */
6
- abtests: ABTest[];
7
- /**
8
- * Number of A/B tests found for the app.
9
- */
10
- count: number;
11
- /**
12
- * Number of A/B tests retrievable.
13
- */
14
- total: number;
15
- };
1
+ import type { ABTest } from './aBTest';
2
+ export type ListABTestsResponse = {
3
+ /**
4
+ * List of A/B tests.
5
+ */
6
+ abtests: ABTest[];
7
+ /**
8
+ * Number of A/B tests found for the app.
9
+ */
10
+ count: number;
11
+ /**
12
+ * Number of A/B tests retrievable.
13
+ */
14
+ total: number;
15
+ };
16
16
  //# sourceMappingURL=listABTestsResponse.d.ts.map
@@ -1,51 +1,51 @@
1
- export type Variant = {
2
- /**
3
- * Average click position for the variant.
4
- */
5
- averageClickPosition: number;
6
- /**
7
- * Distinct click count for the variant.
8
- */
9
- clickCount: number;
10
- /**
11
- * Click through rate for the variant.
12
- */
13
- clickThroughRate: number;
14
- /**
15
- * Distinct conversion count for the variant.
16
- */
17
- conversionCount: number;
18
- /**
19
- * Conversion rate for the variant.
20
- */
21
- conversionRate: number;
22
- /**
23
- * The A/B test description.
24
- */
25
- description: string;
26
- /**
27
- * The index performing the A/B test.
28
- */
29
- index: string;
30
- /**
31
- * The number of occurrences.
32
- */
33
- noResultCount: number;
34
- /**
35
- * The number of search during the A/B test.
36
- */
37
- searchCount: number;
38
- /**
39
- * The number of tracked search click.
40
- */
41
- trackedSearchCount: number;
42
- /**
43
- * The traffic percentage for the A/B test.
44
- */
45
- trafficPercentage: number;
46
- /**
47
- * The number of user during the A/B test.
48
- */
49
- userCount: number;
50
- };
1
+ export type Variant = {
2
+ /**
3
+ * Average click position for the variant.
4
+ */
5
+ averageClickPosition: number;
6
+ /**
7
+ * Distinct click count for the variant.
8
+ */
9
+ clickCount: number;
10
+ /**
11
+ * Click through rate for the variant.
12
+ */
13
+ clickThroughRate: number;
14
+ /**
15
+ * Distinct conversion count for the variant.
16
+ */
17
+ conversionCount: number;
18
+ /**
19
+ * Conversion rate for the variant.
20
+ */
21
+ conversionRate: number;
22
+ /**
23
+ * The A/B test description.
24
+ */
25
+ description: string;
26
+ /**
27
+ * The index performing the A/B test.
28
+ */
29
+ index: string;
30
+ /**
31
+ * The number of occurrences.
32
+ */
33
+ noResultCount: number;
34
+ /**
35
+ * The number of search during the A/B test.
36
+ */
37
+ searchCount: number;
38
+ /**
39
+ * The number of tracked search click.
40
+ */
41
+ trackedSearchCount: number;
42
+ /**
43
+ * The traffic percentage for the A/B test.
44
+ */
45
+ trafficPercentage: number;
46
+ /**
47
+ * The number of user during the A/B test.
48
+ */
49
+ userCount: number;
50
+ };
51
51
  //# sourceMappingURL=variant.d.ts.map
@@ -1,125 +1,125 @@
1
- import type { CreateClientOptions, RequestOptions } from '@algolia/client-common';
2
- import type { ABTest } from '../model/aBTest';
3
- import type { ABTestResponse } from '../model/aBTestResponse';
4
- import type { AddABTestsRequest } from '../model/addABTestsRequest';
5
- import type { DelProps, DeleteABTestProps, GetProps, GetABTestProps, ListABTestsProps, PostProps, PutProps, StopABTestProps } from '../model/clientMethodProps';
6
- import type { ListABTestsResponse } from '../model/listABTestsResponse';
7
- export declare const apiClientVersion = "5.0.0-alpha.53";
8
- export declare const REGIONS: readonly ["de", "us"];
9
- export type Region = (typeof REGIONS)[number];
10
- export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...options }: CreateClientOptions & {
11
- region?: Region;
12
- }): {
13
- transporter: import("@algolia/client-common").Transporter;
14
- /**
15
- * The `appId` currently in use.
16
- */
17
- appId: string;
18
- /**
19
- * Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
20
- */
21
- clearCache(): Promise<void>;
22
- /**
23
- * Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
24
- */
25
- readonly _ua: string;
26
- /**
27
- * Adds a `segment` to the `x-algolia-agent` sent with every requests.
28
- *
29
- * @param segment - The algolia agent (user-agent) segment to add.
30
- * @param version - The version of the agent.
31
- */
32
- addAlgoliaAgent(segment: string, version?: string): void;
33
- /**
34
- * Creates a new A/B test with provided configuration. You can set an A/B test on two different indices with different settings, or on the same index with different search parameters by providing a customSearchParameters setting on one of the variants.
35
- *
36
- * @summary Create a test.
37
- * @param addABTestsRequest - The addABTestsRequest object.
38
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
39
- */
40
- addABTests(addABTestsRequest: AddABTestsRequest, requestOptions?: RequestOptions): Promise<ABTestResponse>;
41
- /**
42
- * This method allow you to send requests to the Algolia REST API.
43
- *
44
- * @summary Send requests to the Algolia REST API.
45
- * @param del - The del object.
46
- * @param del.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
47
- * @param del.parameters - Query parameters to be applied to the current query.
48
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
49
- */
50
- del({ path, parameters }: DelProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
51
- /**
52
- * Delete a test.
53
- *
54
- * @summary Delete a test.
55
- * @param deleteABTest - The deleteABTest object.
56
- * @param deleteABTest.id - The A/B test ID.
57
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
58
- */
59
- deleteABTest({ id }: DeleteABTestProps, requestOptions?: RequestOptions): Promise<ABTestResponse>;
60
- /**
61
- * This method allow you to send requests to the Algolia REST API.
62
- *
63
- * @summary Send requests to the Algolia REST API.
64
- * @param get - The get object.
65
- * @param get.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
66
- * @param get.parameters - Query parameters to be applied to the current query.
67
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
68
- */
69
- get({ path, parameters }: GetProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
70
- /**
71
- * Returns metadata and metrics for an A/B test.
72
- *
73
- * @summary Get a test.
74
- * @param getABTest - The getABTest object.
75
- * @param getABTest.id - The A/B test ID.
76
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
77
- */
78
- getABTest({ id }: GetABTestProps, requestOptions?: RequestOptions): Promise<ABTest>;
79
- /**
80
- * Fetch all existing A/B tests for App that are available for the current API Key. When no data has been processed, the metrics will be returned as null.
81
- *
82
- * @summary List all tests.
83
- * @param listABTests - The listABTests object.
84
- * @param listABTests.offset - Position of the starting record. Used for paging. 0 is the first record.
85
- * @param listABTests.limit - Number of records to return. Limit is the size of the page.
86
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
87
- */
88
- listABTests({ offset, limit }?: ListABTestsProps, requestOptions?: RequestOptions | undefined): Promise<ListABTestsResponse>;
89
- /**
90
- * This method allow you to send requests to the Algolia REST API.
91
- *
92
- * @summary Send requests to the Algolia REST API.
93
- * @param post - The post object.
94
- * @param post.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
95
- * @param post.parameters - Query parameters to be applied to the current query.
96
- * @param post.body - The parameters to send with the custom request.
97
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
98
- */
99
- post({ path, parameters, body }: PostProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
100
- /**
101
- * This method allow you to send requests to the Algolia REST API.
102
- *
103
- * @summary Send requests to the Algolia REST API.
104
- * @param put - The put object.
105
- * @param put.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
106
- * @param put.parameters - Query parameters to be applied to the current query.
107
- * @param put.body - The parameters to send with the custom request.
108
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
109
- */
110
- put({ path, parameters, body }: PutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
111
- /**
112
- * Marks the A/B test as stopped. At this point, the test is over and cannot be restarted. As a result, your application is back to normal: index A will perform as usual, receiving 100% of all search requests. Associated metadata and metrics are still stored.
113
- *
114
- * @summary Stop a test.
115
- * @param stopABTest - The stopABTest object.
116
- * @param stopABTest.id - The A/B test ID.
117
- * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
118
- */
119
- stopABTest({ id }: StopABTestProps, requestOptions?: RequestOptions): Promise<ABTestResponse>;
120
- };
121
- /**
122
- * The client type.
123
- */
124
- export type AbtestingClient = ReturnType<typeof createAbtestingClient>;
1
+ import type { CreateClientOptions, RequestOptions } from '@algolia/client-common';
2
+ import type { ABTest } from '../model/aBTest';
3
+ import type { ABTestResponse } from '../model/aBTestResponse';
4
+ import type { AddABTestsRequest } from '../model/addABTestsRequest';
5
+ import type { DelProps, DeleteABTestProps, GetProps, GetABTestProps, ListABTestsProps, PostProps, PutProps, StopABTestProps } from '../model/clientMethodProps';
6
+ import type { ListABTestsResponse } from '../model/listABTestsResponse';
7
+ export declare const apiClientVersion = "5.0.0-alpha.54";
8
+ export declare const REGIONS: readonly ["de", "us"];
9
+ export type Region = (typeof REGIONS)[number];
10
+ export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...options }: CreateClientOptions & {
11
+ region?: Region;
12
+ }): {
13
+ transporter: import("@algolia/client-common").Transporter;
14
+ /**
15
+ * The `appId` currently in use.
16
+ */
17
+ appId: string;
18
+ /**
19
+ * Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
20
+ */
21
+ clearCache(): Promise<void>;
22
+ /**
23
+ * Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
24
+ */
25
+ readonly _ua: string;
26
+ /**
27
+ * Adds a `segment` to the `x-algolia-agent` sent with every requests.
28
+ *
29
+ * @param segment - The algolia agent (user-agent) segment to add.
30
+ * @param version - The version of the agent.
31
+ */
32
+ addAlgoliaAgent(segment: string, version?: string): void;
33
+ /**
34
+ * Creates a new A/B test with provided configuration. You can set an A/B test on two different indices with different settings, or on the same index with different search parameters by providing a customSearchParameters setting on one of the variants.
35
+ *
36
+ * @summary Create a test.
37
+ * @param addABTestsRequest - The addABTestsRequest object.
38
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
39
+ */
40
+ addABTests(addABTestsRequest: AddABTestsRequest, requestOptions?: RequestOptions): Promise<ABTestResponse>;
41
+ /**
42
+ * This method allow you to send requests to the Algolia REST API.
43
+ *
44
+ * @summary Send requests to the Algolia REST API.
45
+ * @param del - The del object.
46
+ * @param del.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
47
+ * @param del.parameters - Query parameters to be applied to the current query.
48
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
49
+ */
50
+ del({ path, parameters }: DelProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
51
+ /**
52
+ * Delete a test.
53
+ *
54
+ * @summary Delete a test.
55
+ * @param deleteABTest - The deleteABTest object.
56
+ * @param deleteABTest.id - The A/B test ID.
57
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
58
+ */
59
+ deleteABTest({ id }: DeleteABTestProps, requestOptions?: RequestOptions): Promise<ABTestResponse>;
60
+ /**
61
+ * This method allow you to send requests to the Algolia REST API.
62
+ *
63
+ * @summary Send requests to the Algolia REST API.
64
+ * @param get - The get object.
65
+ * @param get.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
66
+ * @param get.parameters - Query parameters to be applied to the current query.
67
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
68
+ */
69
+ get({ path, parameters }: GetProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
70
+ /**
71
+ * Returns metadata and metrics for an A/B test.
72
+ *
73
+ * @summary Get a test.
74
+ * @param getABTest - The getABTest object.
75
+ * @param getABTest.id - The A/B test ID.
76
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
77
+ */
78
+ getABTest({ id }: GetABTestProps, requestOptions?: RequestOptions): Promise<ABTest>;
79
+ /**
80
+ * Fetch all existing A/B tests for App that are available for the current API Key. When no data has been processed, the metrics will be returned as null.
81
+ *
82
+ * @summary List all tests.
83
+ * @param listABTests - The listABTests object.
84
+ * @param listABTests.offset - Position of the starting record. Used for paging. 0 is the first record.
85
+ * @param listABTests.limit - Number of records to return. Limit is the size of the page.
86
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
87
+ */
88
+ listABTests({ offset, limit }?: ListABTestsProps, requestOptions?: RequestOptions | undefined): Promise<ListABTestsResponse>;
89
+ /**
90
+ * This method allow you to send requests to the Algolia REST API.
91
+ *
92
+ * @summary Send requests to the Algolia REST API.
93
+ * @param post - The post object.
94
+ * @param post.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
95
+ * @param post.parameters - Query parameters to be applied to the current query.
96
+ * @param post.body - The parameters to send with the custom request.
97
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
98
+ */
99
+ post({ path, parameters, body }: PostProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
100
+ /**
101
+ * This method allow you to send requests to the Algolia REST API.
102
+ *
103
+ * @summary Send requests to the Algolia REST API.
104
+ * @param put - The put object.
105
+ * @param put.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
106
+ * @param put.parameters - Query parameters to be applied to the current query.
107
+ * @param put.body - The parameters to send with the custom request.
108
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
109
+ */
110
+ put({ path, parameters, body }: PutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
111
+ /**
112
+ * Marks the A/B test as stopped. At this point, the test is over and cannot be restarted. As a result, your application is back to normal: index A will perform as usual, receiving 100% of all search requests. Associated metadata and metrics are still stored.
113
+ *
114
+ * @summary Stop a test.
115
+ * @param stopABTest - The stopABTest object.
116
+ * @param stopABTest.id - The A/B test ID.
117
+ * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
118
+ */
119
+ stopABTest({ id }: StopABTestProps, requestOptions?: RequestOptions): Promise<ABTestResponse>;
120
+ };
121
+ /**
122
+ * The client type.
123
+ */
124
+ export type AbtestingClient = ReturnType<typeof createAbtestingClient>;
125
125
  //# sourceMappingURL=abtestingClient.d.ts.map