algoliasearch 5.0.0-alpha.73 → 5.0.0-alpha.75

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 (327) 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/indexSettings.d.ts +1 -1
  114. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +30 -30
  115. package/dist/client-search/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
  116. package/dist/client-search/model/languages.d.ts +1 -1
  117. package/dist/client-search/model/listApiKeysResponse.d.ts +1 -1
  118. package/dist/client-search/model/listClustersResponse.d.ts +2 -2
  119. package/dist/client-search/model/listIndicesResponse.d.ts +1 -1
  120. package/dist/client-search/model/listUserIdsResponse.d.ts +2 -2
  121. package/dist/client-search/model/log.d.ts +7 -7
  122. package/dist/client-search/model/logQuery.d.ts +1 -1
  123. package/dist/client-search/model/mode.d.ts +1 -1
  124. package/dist/client-search/model/multipleBatchRequest.d.ts +1 -1
  125. package/dist/client-search/model/multipleBatchResponse.d.ts +2 -2
  126. package/dist/client-search/model/numericFilters.d.ts +1 -1
  127. package/dist/client-search/model/operationIndexParams.d.ts +2 -2
  128. package/dist/client-search/model/operationType.d.ts +1 -1
  129. package/dist/client-search/model/optionalFilters.d.ts +1 -1
  130. package/dist/client-search/model/params.d.ts +1 -1
  131. package/dist/client-search/model/promoteObjectID.d.ts +3 -3
  132. package/dist/client-search/model/promoteObjectIDs.d.ts +3 -3
  133. package/dist/client-search/model/queryType.d.ts +1 -1
  134. package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -1
  135. package/dist/client-search/model/redirectRuleIndexMetadata.d.ts +1 -1
  136. package/dist/client-search/model/redirectRuleIndexMetadataData.d.ts +1 -1
  137. package/dist/client-search/model/removeStopWords.d.ts +1 -1
  138. package/dist/client-search/model/removeUserIdResponse.d.ts +1 -1
  139. package/dist/client-search/model/removeWordsIfNoResults.d.ts +1 -1
  140. package/dist/client-search/model/renderingContent.d.ts +1 -1
  141. package/dist/client-search/model/replaceSourceResponse.d.ts +1 -1
  142. package/dist/client-search/model/rule.d.ts +5 -5
  143. package/dist/client-search/model/saveObjectResponse.d.ts +5 -2
  144. package/dist/client-search/model/saveObjectResponse.d.ts.map +1 -1
  145. package/dist/client-search/model/saveSynonymResponse.d.ts +3 -3
  146. package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +5 -5
  147. package/dist/client-search/model/searchForFacetValuesRequest.d.ts +2 -2
  148. package/dist/client-search/model/searchForFacetsOptions.d.ts +3 -3
  149. package/dist/client-search/model/searchForHitsOptions.d.ts +1 -1
  150. package/dist/client-search/model/searchParamsQuery.d.ts +1 -1
  151. package/dist/client-search/model/searchParamsString.d.ts +1 -1
  152. package/dist/client-search/model/searchRulesParams.d.ts +7 -7
  153. package/dist/client-search/model/searchStrategy.d.ts +3 -0
  154. package/dist/client-search/model/searchStrategy.d.ts.map +1 -1
  155. package/dist/client-search/model/searchSynonymsParams.d.ts +1 -1
  156. package/dist/client-search/model/searchSynonymsResponse.d.ts +2 -2
  157. package/dist/client-search/model/searchTypeDefault.d.ts +1 -1
  158. package/dist/client-search/model/searchTypeFacet.d.ts +1 -1
  159. package/dist/client-search/model/searchUserIdsParams.d.ts +4 -4
  160. package/dist/client-search/model/searchUserIdsResponse.d.ts +5 -5
  161. package/dist/client-search/model/snippetResultOption.d.ts +1 -1
  162. package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
  163. package/dist/client-search/model/source.d.ts +3 -3
  164. package/dist/client-search/model/standardEntries.d.ts +4 -4
  165. package/dist/client-search/model/synonymHit.d.ts +6 -6
  166. package/dist/client-search/model/synonymType.d.ts +1 -1
  167. package/dist/client-search/model/tagFilters.d.ts +1 -1
  168. package/dist/client-search/model/taskStatus.d.ts +3 -0
  169. package/dist/client-search/model/taskStatus.d.ts.map +1 -1
  170. package/dist/client-search/model/typoTolerance.d.ts +1 -1
  171. package/dist/client-search/model/updateApiKeyResponse.d.ts +2 -2
  172. package/dist/client-search/model/updatedAtResponse.d.ts +3 -3
  173. package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +4 -4
  174. package/dist/client-search/model/updatedRuleResponse.d.ts +3 -3
  175. package/dist/client-search/model/userHit.d.ts +1 -1
  176. package/dist/client-search/model/userId.d.ts +2 -2
  177. package/dist/client-search/src/searchClient.d.ts +185 -184
  178. package/dist/client-search/src/searchClient.d.ts.map +1 -1
  179. package/dist/lite/lite.cjs.js +6 -8
  180. package/dist/lite/lite.esm.browser.js +6 -6
  181. package/dist/lite/lite.esm.node.js +6 -6
  182. package/dist/lite/lite.umd.js +2 -2
  183. package/dist/lite/model/acl.d.ts +1 -1
  184. package/dist/lite/model/action.d.ts +1 -1
  185. package/dist/lite/model/addApiKeyResponse.d.ts +2 -2
  186. package/dist/lite/model/anchoring.d.ts +1 -1
  187. package/dist/lite/model/apiKey.d.ts +9 -9
  188. package/dist/lite/model/aroundRadius.d.ts +1 -1
  189. package/dist/lite/model/baseGetApiKeyResponse.d.ts +2 -2
  190. package/dist/lite/model/baseIndexSettings.d.ts +14 -14
  191. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +25 -25
  192. package/dist/lite/model/baseSearchResponse.d.ts +20 -20
  193. package/dist/lite/model/baseSearchResponseRedirect.d.ts +1 -1
  194. package/dist/lite/model/builtInOperation.d.ts +1 -1
  195. package/dist/lite/model/builtInOperationType.d.ts +1 -1
  196. package/dist/lite/model/clientMethodProps.d.ts +3 -3
  197. package/dist/lite/model/consequence.d.ts +4 -4
  198. package/dist/lite/model/consequenceHide.d.ts +2 -2
  199. package/dist/lite/model/cursor.d.ts +1 -1
  200. package/dist/lite/model/deleteByParams.d.ts +4 -4
  201. package/dist/lite/model/dictionaryEntry.d.ts +6 -6
  202. package/dist/lite/model/dictionaryEntryState.d.ts +1 -1
  203. package/dist/lite/model/dictionaryLanguage.d.ts +2 -2
  204. package/dist/lite/model/distinct.d.ts +1 -1
  205. package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
  206. package/dist/lite/model/facetFilters.d.ts +1 -1
  207. package/dist/lite/model/facetOrdering.d.ts +2 -2
  208. package/dist/lite/model/facets.d.ts +1 -1
  209. package/dist/lite/model/facetsStats.d.ts +4 -4
  210. package/dist/lite/model/fetchedIndex.d.ts +1 -1
  211. package/dist/lite/model/highlightResultOption.d.ts +1 -1
  212. package/dist/lite/model/hit.d.ts +1 -1
  213. package/dist/lite/model/ignorePlurals.d.ts +1 -1
  214. package/dist/lite/model/indexSettings.d.ts +1 -1
  215. package/dist/lite/model/indexSettingsAsSearchParams.d.ts +30 -30
  216. package/dist/lite/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
  217. package/dist/lite/model/languages.d.ts +1 -1
  218. package/dist/lite/model/listIndicesResponse.d.ts +1 -1
  219. package/dist/lite/model/mode.d.ts +1 -1
  220. package/dist/lite/model/numericFilters.d.ts +1 -1
  221. package/dist/lite/model/operationType.d.ts +1 -1
  222. package/dist/lite/model/optionalFilters.d.ts +1 -1
  223. package/dist/lite/model/params.d.ts +1 -1
  224. package/dist/lite/model/promoteObjectID.d.ts +3 -3
  225. package/dist/lite/model/promoteObjectIDs.d.ts +3 -3
  226. package/dist/lite/model/queryType.d.ts +1 -1
  227. package/dist/lite/model/reRankingApplyFilter.d.ts +1 -1
  228. package/dist/lite/model/redirectRuleIndexMetadata.d.ts +1 -1
  229. package/dist/lite/model/redirectRuleIndexMetadataData.d.ts +1 -1
  230. package/dist/lite/model/removeStopWords.d.ts +1 -1
  231. package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
  232. package/dist/lite/model/renderingContent.d.ts +1 -1
  233. package/dist/lite/model/rule.d.ts +5 -5
  234. package/dist/lite/model/searchForFacetsOptions.d.ts +3 -3
  235. package/dist/lite/model/searchForHitsOptions.d.ts +1 -1
  236. package/dist/lite/model/searchParamsQuery.d.ts +1 -1
  237. package/dist/lite/model/searchParamsString.d.ts +1 -1
  238. package/dist/lite/model/searchStrategy.d.ts +3 -0
  239. package/dist/lite/model/searchStrategy.d.ts.map +1 -1
  240. package/dist/lite/model/searchSynonymsResponse.d.ts +2 -2
  241. package/dist/lite/model/searchTypeDefault.d.ts +1 -1
  242. package/dist/lite/model/searchTypeFacet.d.ts +1 -1
  243. package/dist/lite/model/snippetResultOption.d.ts +1 -1
  244. package/dist/lite/model/sortRemainingBy.d.ts +1 -1
  245. package/dist/lite/model/source.d.ts +3 -3
  246. package/dist/lite/model/standardEntries.d.ts +4 -4
  247. package/dist/lite/model/synonymHit.d.ts +6 -6
  248. package/dist/lite/model/synonymType.d.ts +1 -1
  249. package/dist/lite/model/tagFilters.d.ts +1 -1
  250. package/dist/lite/model/taskStatus.d.ts +3 -0
  251. package/dist/lite/model/taskStatus.d.ts.map +1 -1
  252. package/dist/lite/model/typoTolerance.d.ts +1 -1
  253. package/dist/lite/model/updatedRuleResponse.d.ts +3 -3
  254. package/dist/lite/model/userId.d.ts +2 -2
  255. package/dist/lite/src/liteClient.d.ts +6 -6
  256. package/lite/model/acl.ts +1 -1
  257. package/lite/model/action.ts +1 -1
  258. package/lite/model/addApiKeyResponse.ts +2 -2
  259. package/lite/model/anchoring.ts +1 -1
  260. package/lite/model/apiKey.ts +9 -9
  261. package/lite/model/aroundRadius.ts +1 -1
  262. package/lite/model/baseGetApiKeyResponse.ts +2 -2
  263. package/lite/model/baseIndexSettings.ts +14 -14
  264. package/lite/model/baseSearchParamsWithoutQuery.ts +25 -25
  265. package/lite/model/baseSearchResponse.ts +20 -20
  266. package/lite/model/baseSearchResponseRedirect.ts +1 -1
  267. package/lite/model/builtInOperation.ts +1 -1
  268. package/lite/model/builtInOperationType.ts +1 -1
  269. package/lite/model/clientMethodProps.ts +3 -3
  270. package/lite/model/consequence.ts +4 -4
  271. package/lite/model/consequenceHide.ts +2 -2
  272. package/lite/model/cursor.ts +1 -1
  273. package/lite/model/deleteByParams.ts +4 -4
  274. package/lite/model/dictionaryEntry.ts +6 -6
  275. package/lite/model/dictionaryEntryState.ts +1 -1
  276. package/lite/model/dictionaryLanguage.ts +2 -2
  277. package/lite/model/distinct.ts +1 -1
  278. package/lite/model/exactOnSingleWordQuery.ts +1 -1
  279. package/lite/model/facetFilters.ts +1 -1
  280. package/lite/model/facetOrdering.ts +2 -2
  281. package/lite/model/facets.ts +1 -1
  282. package/lite/model/facetsStats.ts +4 -4
  283. package/lite/model/fetchedIndex.ts +1 -1
  284. package/lite/model/highlightResultOption.ts +1 -1
  285. package/lite/model/hit.ts +1 -1
  286. package/lite/model/ignorePlurals.ts +1 -1
  287. package/lite/model/indexSettings.ts +1 -1
  288. package/lite/model/indexSettingsAsSearchParams.ts +30 -30
  289. package/lite/model/indexSettingsAsSearchParamsSemanticSearch.ts +2 -2
  290. package/lite/model/languages.ts +1 -1
  291. package/lite/model/listIndicesResponse.ts +1 -1
  292. package/lite/model/mode.ts +1 -1
  293. package/lite/model/numericFilters.ts +1 -1
  294. package/lite/model/operationType.ts +1 -1
  295. package/lite/model/optionalFilters.ts +1 -1
  296. package/lite/model/params.ts +1 -1
  297. package/lite/model/promoteObjectID.ts +3 -3
  298. package/lite/model/promoteObjectIDs.ts +3 -3
  299. package/lite/model/queryType.ts +1 -1
  300. package/lite/model/reRankingApplyFilter.ts +1 -1
  301. package/lite/model/redirectRuleIndexMetadata.ts +1 -1
  302. package/lite/model/redirectRuleIndexMetadataData.ts +1 -1
  303. package/lite/model/removeStopWords.ts +1 -1
  304. package/lite/model/removeWordsIfNoResults.ts +1 -1
  305. package/lite/model/renderingContent.ts +1 -1
  306. package/lite/model/rule.ts +5 -5
  307. package/lite/model/searchForFacetsOptions.ts +3 -3
  308. package/lite/model/searchForHitsOptions.ts +1 -1
  309. package/lite/model/searchParamsQuery.ts +1 -1
  310. package/lite/model/searchParamsString.ts +1 -1
  311. package/lite/model/searchStrategy.ts +3 -0
  312. package/lite/model/searchSynonymsResponse.ts +2 -2
  313. package/lite/model/searchTypeDefault.ts +1 -1
  314. package/lite/model/searchTypeFacet.ts +1 -1
  315. package/lite/model/snippetResultOption.ts +1 -1
  316. package/lite/model/sortRemainingBy.ts +1 -1
  317. package/lite/model/source.ts +3 -3
  318. package/lite/model/standardEntries.ts +4 -4
  319. package/lite/model/synonymHit.ts +6 -6
  320. package/lite/model/synonymType.ts +1 -1
  321. package/lite/model/tagFilters.ts +1 -1
  322. package/lite/model/taskStatus.ts +3 -0
  323. package/lite/model/typoTolerance.ts +1 -1
  324. package/lite/model/updatedRuleResponse.ts +3 -3
  325. package/lite/model/userId.ts +2 -2
  326. package/lite/src/liteClient.ts +6 -6
  327. package/package.json +15 -14
@@ -1,58 +1,58 @@
1
1
  export type Variant = {
2
2
  /**
3
- * Average click position for the variant.
3
+ * Variant\'s [average click position](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-position).
4
4
  */
5
5
  averageClickPosition: number;
6
6
  /**
7
- * Distinct click count for the variant.
7
+ * Number of click events for this variant.
8
8
  */
9
9
  clickCount: number;
10
10
  /**
11
- * Click through rate for the variant.
11
+ * Variant\'s [click-through rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
12
12
  */
13
13
  clickThroughRate: number;
14
14
  /**
15
- * Distinct conversion count for the variant.
15
+ * Number of click events for this variant.
16
16
  */
17
17
  conversionCount: number;
18
18
  /**
19
- * Conversion rate for the variant.
19
+ * Variant\'s [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).
20
20
  */
21
21
  conversionRate: number;
22
22
  /**
23
- * The A/B test description.
23
+ * A/B test description.
24
24
  */
25
25
  description: string;
26
26
  /**
27
- * The index performing the A/B test.
27
+ * A/B test index.
28
28
  */
29
29
  index: string;
30
30
  /**
31
- * The number of occurrences.
31
+ * Number of [searches without results](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#searches-without-results) for that variant.
32
32
  */
33
33
  noResultCount: number;
34
34
  /**
35
- * Count of the tracked searches attributed to outlier traffic that were removed from the A/B test.
35
+ * Number of tracked searches attributed to [outlier traffic](https://www.algolia.com/doc/guides/ab-testing/how-to-read-your-a-b-test-results/#is-the-split-off) that were removed from the A/B test. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.
36
36
  */
37
37
  outlierTrackedSearchesCount: number;
38
38
  /**
39
- * Count of users attributed to outlier traffic that were removed from the A/B test.
39
+ * Number of users attributed to [outlier traffic](https://www.algolia.com/doc/guides/ab-testing/how-to-read-your-a-b-test-results/#is-the-split-off) that were removed from the A/B test.
40
40
  */
41
41
  outlierUsersCount: number;
42
42
  /**
43
- * The number of search during the A/B test.
43
+ * Number of searches carried out during the A/B test.
44
44
  */
45
45
  searchCount: number;
46
46
  /**
47
- * The number of tracked search click.
47
+ * Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
48
48
  */
49
49
  trackedSearchCount: number;
50
50
  /**
51
- * The traffic percentage for the A/B test.
51
+ * A/B test traffic percentage.
52
52
  */
53
53
  trafficPercentage: number;
54
54
  /**
55
- * The number of user during the A/B test.
55
+ * Number of users during the A/B test.
56
56
  */
57
57
  userCount: number;
58
58
  };
@@ -4,7 +4,7 @@ import type { ABTestResponse } from '../model/aBTestResponse';
4
4
  import type { AddABTestsRequest } from '../model/addABTestsRequest';
5
5
  import type { DelProps, DeleteABTestProps, GetProps, GetABTestProps, ListABTestsProps, PostProps, PutProps, StopABTestProps } from '../model/clientMethodProps';
6
6
  import type { ListABTestsResponse } from '../model/listABTestsResponse';
7
- export declare const apiClientVersion = "5.0.0-alpha.73";
7
+ export declare const apiClientVersion = "5.0.0-alpha.75";
8
8
  export declare const REGIONS: readonly ["de", "us"];
9
9
  export type Region = (typeof REGIONS)[number];
10
10
  export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...options }: CreateClientOptions & {
@@ -31,9 +31,9 @@ export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiK
31
31
  */
32
32
  addAlgoliaAgent(segment: string, version?: string): void;
33
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.
34
+ * Creates an A/B test.
35
35
  *
36
- * @summary Create a test.
36
+ * @summary Create an A/B test.
37
37
  * @param addABTestsRequest - The addABTestsRequest object.
38
38
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
39
39
  */
@@ -43,17 +43,17 @@ export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiK
43
43
  *
44
44
  * @summary Send requests to the Algolia REST API.
45
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.
46
+ * @param del.path - Path of the endpoint, anything after \"/1\" must be specified.
47
+ * @param del.parameters - Query parameters to apply to the current query.
48
48
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
49
49
  */
50
50
  del({ path, parameters }: DelProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
51
51
  /**
52
- * Delete a test.
52
+ * Delete an A/B test. To determine the `id` for an A/B test, use the [`listABTests` operation](#tag/abtest/operation/listABTests).
53
53
  *
54
- * @summary Delete a test.
54
+ * @summary Delete an A/B test.
55
55
  * @param deleteABTest - The deleteABTest object.
56
- * @param deleteABTest.id - The A/B test ID.
56
+ * @param deleteABTest.id - Unique A/B test ID.
57
57
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
58
58
  */
59
59
  deleteABTest({ id }: DeleteABTestProps, requestOptions?: RequestOptions): Promise<ABTestResponse>;
@@ -62,29 +62,29 @@ export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiK
62
62
  *
63
63
  * @summary Send requests to the Algolia REST API.
64
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.
65
+ * @param get.path - Path of the endpoint, anything after \"/1\" must be specified.
66
+ * @param get.parameters - Query parameters to apply to the current query.
67
67
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
68
68
  */
69
69
  get({ path, parameters }: GetProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
70
70
  /**
71
- * Returns metadata and metrics for an A/B test.
71
+ * Get specific details for an A/B test. To determine the `id` for an A/B test, use the [`listABTests` operation](#tag/abtest/operation/listABTests).
72
72
  *
73
- * @summary Get a test.
73
+ * @summary Get A/B test details.
74
74
  * @param getABTest - The getABTest object.
75
- * @param getABTest.id - The A/B test ID.
75
+ * @param getABTest.id - Unique A/B test ID.
76
76
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
77
77
  */
78
78
  getABTest({ id }: GetABTestProps, requestOptions?: RequestOptions): Promise<ABTest>;
79
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.
80
+ * List all A/B tests.
81
81
  *
82
- * @summary List all tests.
82
+ * @summary List all A/B tests.
83
83
  * @param listABTests - The listABTests object.
84
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 listABTests.indexPrefix - Filters the returned ab tests by any indices starting with the provided prefix that are assigned to either variant of an ab test.
87
- * @param listABTests.indexSuffix - Filters the returned ab tests by any indices ending with the provided suffix that are assigned to either variant of an ab test.
85
+ * @param listABTests.limit - Number of records to return (page size).
86
+ * @param listABTests.indexPrefix - Only return A/B tests for indices starting with this prefix.
87
+ * @param listABTests.indexSuffix - Only return A/B tests for indices ending with this suffix.
88
88
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
89
89
  */
90
90
  listABTests({ offset, limit, indexPrefix, indexSuffix }?: ListABTestsProps, requestOptions?: RequestOptions | undefined): Promise<ListABTestsResponse>;
@@ -93,9 +93,9 @@ export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiK
93
93
  *
94
94
  * @summary Send requests to the Algolia REST API.
95
95
  * @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.
96
+ * @param post.path - Path of the endpoint, anything after \"/1\" must be specified.
97
+ * @param post.parameters - Query parameters to apply to the current query.
98
+ * @param post.body - Parameters to send with the custom request.
99
99
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
100
100
  */
101
101
  post({ path, parameters, body }: PostProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
@@ -104,18 +104,18 @@ export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiK
104
104
  *
105
105
  * @summary Send requests to the Algolia REST API.
106
106
  * @param put - The put object.
107
- * @param put.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
108
- * @param put.parameters - Query parameters to be applied to the current query.
109
- * @param put.body - The parameters to send with the custom request.
107
+ * @param put.path - Path of the endpoint, anything after \"/1\" must be specified.
108
+ * @param put.parameters - Query parameters to apply to the current query.
109
+ * @param put.body - Parameters to send with the custom request.
110
110
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
111
111
  */
112
112
  put({ path, parameters, body }: PutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
113
113
  /**
114
- * 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.
114
+ * If stopped, the test is over and can\'t be restarted. There is now only one index, receiving 100% of all search requests. The data gathered for stopped A/B tests is retained. To determine the `id` for an A/B test, use the [`listABTests` operation](#tag/abtest/operation/listABTests).
115
115
  *
116
- * @summary Stop a test.
116
+ * @summary Stop an A/B test.
117
117
  * @param stopABTest - The stopABTest object.
118
- * @param stopABTest.id - The A/B test ID.
118
+ * @param stopABTest.id - Unique A/B test ID.
119
119
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
120
120
  */
121
121
  stopABTest({ id }: StopABTestProps, requestOptions?: RequestOptions): Promise<ABTestResponse>;
@@ -1,14 +1,14 @@
1
1
  export type AverageClickEvent = {
2
2
  /**
3
- * The average of all the click count event.
3
+ * Average count of all click events.
4
4
  */
5
5
  average: number;
6
6
  /**
7
- * The number of click event.
7
+ * Number of click events.
8
8
  */
9
9
  clickCount: number;
10
10
  /**
11
- * Date of the event.
11
+ * Date of the event in the format YYYY-MM-DD.
12
12
  */
13
13
  date: string;
14
14
  };
@@ -1,10 +1,10 @@
1
1
  export type ClickPosition = {
2
2
  /**
3
- * Range of positions with the following pattern: - Positions from 1 to 10 included are displayed in separated groups. - Positions from 11 to 20 included are grouped together. - Positions from 21 and up are grouped together.
3
+ * Range of positions with the following pattern: - For positions 1 to 10, the number of click events are shown for each position - For positions 11 to 20, all click events are grouped - For positions 21 and up, all click events are grouped.
4
4
  */
5
5
  position: number[];
6
6
  /**
7
- * The number of click event.
7
+ * Number of click events.
8
8
  */
9
9
  clickCount: number;
10
10
  };
@@ -1,18 +1,18 @@
1
1
  export type ClickThroughRateEvent = {
2
2
  /**
3
- * The click-through rate.
3
+ * [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
4
4
  */
5
5
  rate: number;
6
6
  /**
7
- * The number of click event.
7
+ * Number of click events.
8
8
  */
9
9
  clickCount: number;
10
10
  /**
11
- * The number of tracked search click.
11
+ * Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
12
12
  */
13
13
  trackedSearchCount: number;
14
14
  /**
15
- * Date of the event.
15
+ * Date of the event in the format YYYY-MM-DD.
16
16
  */
17
17
  date: string;
18
18
  };