@algolia/client-search 5.0.0-alpha.6 → 5.0.0-alpha.60

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 (499) hide show
  1. package/dist/builds/browser.d.ts +5 -5
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +5 -5
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/client-search.cjs.js +1997 -1986
  6. package/dist/client-search.esm.browser.js +2189 -2232
  7. package/dist/client-search.esm.node.js +1997 -1986
  8. package/dist/client-search.umd.js +2 -2
  9. package/dist/model/acl.d.ts +4 -4
  10. package/dist/model/acl.d.ts.map +1 -1
  11. package/dist/model/action.d.ts +4 -4
  12. package/dist/model/action.d.ts.map +1 -1
  13. package/dist/model/addApiKeyResponse.d.ts +10 -10
  14. package/dist/model/addApiKeyResponse.d.ts.map +1 -1
  15. package/dist/model/advancedSyntaxFeatures.d.ts +1 -1
  16. package/dist/model/advancedSyntaxFeatures.d.ts.map +1 -1
  17. package/dist/model/alternativesAsExact.d.ts +1 -1
  18. package/dist/model/alternativesAsExact.d.ts.map +1 -1
  19. package/dist/model/anchoring.d.ts +4 -4
  20. package/dist/model/anchoring.d.ts.map +1 -1
  21. package/dist/model/apiKey.d.ts +38 -38
  22. package/dist/model/apiKey.d.ts.map +1 -1
  23. package/dist/model/aroundRadius.d.ts +5 -5
  24. package/dist/model/aroundRadius.d.ts.map +1 -1
  25. package/dist/model/aroundRadiusAll.d.ts +1 -1
  26. package/dist/model/aroundRadiusAll.d.ts.map +1 -1
  27. package/dist/model/assignUserIdParams.d.ts +9 -9
  28. package/dist/model/assignUserIdParams.d.ts.map +1 -1
  29. package/dist/model/attributeToUpdate.d.ts +2 -2
  30. package/dist/model/attributeToUpdate.d.ts.map +1 -1
  31. package/dist/model/automaticFacetFilter.d.ts +17 -17
  32. package/dist/model/automaticFacetFilter.d.ts.map +1 -1
  33. package/dist/model/automaticFacetFilters.d.ts +5 -5
  34. package/dist/model/automaticFacetFilters.d.ts.map +1 -1
  35. package/dist/model/baseGetApiKeyResponse.d.ts +10 -10
  36. package/dist/model/baseGetApiKeyResponse.d.ts.map +1 -1
  37. package/dist/model/baseIndexSettings.d.ts +62 -58
  38. package/dist/model/baseIndexSettings.d.ts.map +1 -1
  39. package/dist/model/baseSearchParams.d.ts +3 -3
  40. package/dist/model/baseSearchParams.d.ts.map +1 -1
  41. package/dist/model/baseSearchParamsWithoutQuery.d.ts +122 -122
  42. package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  43. package/dist/model/baseSearchResponse.d.ts +103 -101
  44. package/dist/model/baseSearchResponse.d.ts.map +1 -1
  45. package/dist/model/baseSearchResponseRedirect.d.ts +8 -0
  46. package/dist/model/baseSearchResponseRedirect.d.ts.map +1 -0
  47. package/dist/model/batchAssignUserIdsParams.d.ts +13 -13
  48. package/dist/model/batchAssignUserIdsParams.d.ts.map +1 -1
  49. package/dist/model/batchDictionaryEntriesParams.d.ts +14 -14
  50. package/dist/model/batchDictionaryEntriesParams.d.ts.map +1 -1
  51. package/dist/model/batchDictionaryEntriesRequest.d.ts +6 -6
  52. package/dist/model/batchDictionaryEntriesRequest.d.ts.map +1 -1
  53. package/dist/model/batchParams.d.ts +7 -7
  54. package/dist/model/batchParams.d.ts.map +1 -1
  55. package/dist/model/batchRequest.d.ts +8 -8
  56. package/dist/model/batchRequest.d.ts.map +1 -1
  57. package/dist/model/batchResponse.d.ts +10 -10
  58. package/dist/model/batchResponse.d.ts.map +1 -1
  59. package/dist/model/batchWriteParams.d.ts +7 -7
  60. package/dist/model/batchWriteParams.d.ts.map +1 -1
  61. package/dist/model/browseParams.d.ts +4 -0
  62. package/dist/model/browseParams.d.ts.map +1 -0
  63. package/dist/model/browseParamsObject.d.ts +4 -0
  64. package/dist/model/browseParamsObject.d.ts.map +1 -0
  65. package/dist/model/browseResponse.d.ts +4 -4
  66. package/dist/model/browseResponse.d.ts.map +1 -1
  67. package/dist/model/builtInOperation.d.ts +11 -11
  68. package/dist/model/builtInOperation.d.ts.map +1 -1
  69. package/dist/model/builtInOperationType.d.ts +4 -4
  70. package/dist/model/builtInOperationType.d.ts.map +1 -1
  71. package/dist/model/clientMethodProps.d.ts +715 -714
  72. package/dist/model/clientMethodProps.d.ts.map +1 -1
  73. package/dist/model/condition.d.ts +16 -16
  74. package/dist/model/condition.d.ts.map +1 -1
  75. package/dist/model/consequence.d.ts +25 -25
  76. package/dist/model/consequence.d.ts.map +1 -1
  77. package/dist/model/consequenceHide.d.ts +9 -9
  78. package/dist/model/consequenceHide.d.ts.map +1 -1
  79. package/dist/model/consequenceParams.d.ts +4 -4
  80. package/dist/model/consequenceParams.d.ts.map +1 -1
  81. package/dist/model/consequenceQuery.d.ts +5 -5
  82. package/dist/model/consequenceQuery.d.ts.map +1 -1
  83. package/dist/model/consequenceQueryObject.d.ts +11 -11
  84. package/dist/model/consequenceQueryObject.d.ts.map +1 -1
  85. package/dist/model/createdAtResponse.d.ts +9 -9
  86. package/dist/model/createdAtResponse.d.ts.map +1 -1
  87. package/dist/model/{baseBrowseResponse.d.ts → cursor.d.ts} +7 -7
  88. package/dist/model/cursor.d.ts.map +1 -0
  89. package/dist/model/deleteApiKeyResponse.d.ts +6 -6
  90. package/dist/model/deleteApiKeyResponse.d.ts.map +1 -1
  91. package/dist/model/deleteByParams.d.ts +27 -0
  92. package/dist/model/deleteByParams.d.ts.map +1 -0
  93. package/dist/model/deleteSourceResponse.d.ts +6 -6
  94. package/dist/model/deleteSourceResponse.d.ts.map +1 -1
  95. package/dist/model/deletedAtResponse.d.ts +13 -13
  96. package/dist/model/deletedAtResponse.d.ts.map +1 -1
  97. package/dist/model/dictionaryAction.d.ts +4 -4
  98. package/dist/model/dictionaryAction.d.ts.map +1 -1
  99. package/dist/model/dictionaryEntry.d.ts +27 -27
  100. package/dist/model/dictionaryEntry.d.ts.map +1 -1
  101. package/dist/model/dictionaryEntryState.d.ts +4 -4
  102. package/dist/model/dictionaryEntryState.d.ts.map +1 -1
  103. package/dist/model/dictionaryLanguage.d.ts +9 -9
  104. package/dist/model/dictionaryLanguage.d.ts.map +1 -1
  105. package/dist/model/dictionarySettingsParams.d.ts +7 -7
  106. package/dist/model/dictionarySettingsParams.d.ts.map +1 -1
  107. package/dist/model/dictionaryType.d.ts +1 -1
  108. package/dist/model/dictionaryType.d.ts.map +1 -1
  109. package/dist/model/distinct.d.ts +4 -4
  110. package/dist/model/distinct.d.ts.map +1 -1
  111. package/dist/model/edit.d.ts +12 -12
  112. package/dist/model/edit.d.ts.map +1 -1
  113. package/dist/model/editType.d.ts +4 -4
  114. package/dist/model/editType.d.ts.map +1 -1
  115. package/dist/model/errorBase.d.ts +6 -6
  116. package/dist/model/errorBase.d.ts.map +1 -1
  117. package/dist/model/exactOnSingleWordQuery.d.ts +4 -4
  118. package/dist/model/exactOnSingleWordQuery.d.ts.map +1 -1
  119. package/dist/model/facetFilters.d.ts +5 -5
  120. package/dist/model/facetFilters.d.ts.map +1 -1
  121. package/dist/model/facetHits.d.ts +14 -14
  122. package/dist/model/facetHits.d.ts.map +1 -1
  123. package/dist/model/facetOrdering.d.ts +12 -12
  124. package/dist/model/facetOrdering.d.ts.map +1 -1
  125. package/dist/model/facets.d.ts +9 -9
  126. package/dist/model/facets.d.ts.map +1 -1
  127. package/dist/model/facetsStats.d.ts +18 -18
  128. package/dist/model/facetsStats.d.ts.map +1 -1
  129. package/dist/model/fetchedIndex.d.ts +46 -46
  130. package/dist/model/fetchedIndex.d.ts.map +1 -1
  131. package/dist/model/getApiKeyResponse.d.ts +3 -3
  132. package/dist/model/getApiKeyResponse.d.ts.map +1 -1
  133. package/dist/model/getDictionarySettingsResponse.d.ts +4 -4
  134. package/dist/model/getDictionarySettingsResponse.d.ts.map +1 -1
  135. package/dist/model/getLogsResponse.d.ts +4 -4
  136. package/dist/model/getLogsResponse.d.ts.map +1 -1
  137. package/dist/model/getObjectsParams.d.ts +7 -7
  138. package/dist/model/getObjectsParams.d.ts.map +1 -1
  139. package/dist/model/getObjectsRequest.d.ts +17 -17
  140. package/dist/model/getObjectsRequest.d.ts.map +1 -1
  141. package/dist/model/getObjectsResponse.d.ts +6 -6
  142. package/dist/model/getObjectsResponse.d.ts.map +1 -1
  143. package/dist/model/getTaskResponse.d.ts +4 -4
  144. package/dist/model/getTaskResponse.d.ts.map +1 -1
  145. package/dist/model/getTopUserIdsResponse.d.ts +10 -10
  146. package/dist/model/getTopUserIdsResponse.d.ts.map +1 -1
  147. package/dist/model/hasPendingMappingsResponse.d.ts +10 -10
  148. package/dist/model/hasPendingMappingsResponse.d.ts.map +1 -1
  149. package/dist/model/highlightResult.d.ts +2 -2
  150. package/dist/model/highlightResult.d.ts.map +1 -1
  151. package/dist/model/highlightResultOption.d.ts +19 -19
  152. package/dist/model/highlightResultOption.d.ts.map +1 -1
  153. package/dist/model/hit.d.ts +22 -22
  154. package/dist/model/hit.d.ts.map +1 -1
  155. package/dist/model/ignorePlurals.d.ts +4 -4
  156. package/dist/model/ignorePlurals.d.ts.map +1 -1
  157. package/dist/model/index.d.ts +159 -153
  158. package/dist/model/index.d.ts.map +1 -1
  159. package/dist/model/indexSettings.d.ts +6 -6
  160. package/dist/model/indexSettings.d.ts.map +1 -1
  161. package/dist/model/indexSettingsAsSearchParams.d.ts +164 -160
  162. package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  163. package/dist/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +10 -0
  164. package/dist/model/indexSettingsAsSearchParamsSemanticSearch.d.ts.map +1 -0
  165. package/dist/model/languages.d.ts +9 -9
  166. package/dist/model/languages.d.ts.map +1 -1
  167. package/dist/model/listApiKeysResponse.d.ts +7 -7
  168. package/dist/model/listApiKeysResponse.d.ts.map +1 -1
  169. package/dist/model/listClustersResponse.d.ts +9 -9
  170. package/dist/model/listClustersResponse.d.ts.map +1 -1
  171. package/dist/model/listIndicesResponse.d.ts +11 -11
  172. package/dist/model/listIndicesResponse.d.ts.map +1 -1
  173. package/dist/model/listUserIdsResponse.d.ts +10 -10
  174. package/dist/model/listUserIdsResponse.d.ts.map +1 -1
  175. package/dist/model/log.d.ts +63 -63
  176. package/dist/model/log.d.ts.map +1 -1
  177. package/dist/model/logQuery.d.ts +14 -14
  178. package/dist/model/logQuery.d.ts.map +1 -1
  179. package/dist/model/logType.d.ts +1 -1
  180. package/dist/model/logType.d.ts.map +1 -1
  181. package/dist/model/matchLevel.d.ts +4 -4
  182. package/dist/model/matchLevel.d.ts.map +1 -1
  183. package/dist/model/matchedGeoLocation.d.ts +14 -14
  184. package/dist/model/matchedGeoLocation.d.ts.map +1 -1
  185. package/dist/model/mixedSearchFilters.d.ts +1 -1
  186. package/dist/model/mixedSearchFilters.d.ts.map +1 -1
  187. package/dist/model/mode.d.ts +5 -0
  188. package/dist/model/mode.d.ts.map +1 -0
  189. package/dist/model/multipleBatchRequest.d.ts +12 -12
  190. package/dist/model/multipleBatchRequest.d.ts.map +1 -1
  191. package/dist/model/multipleBatchResponse.d.ts +10 -10
  192. package/dist/model/multipleBatchResponse.d.ts.map +1 -1
  193. package/dist/model/numericFilters.d.ts +5 -5
  194. package/dist/model/numericFilters.d.ts.map +1 -1
  195. package/dist/model/operationIndexParams.d.ts +13 -13
  196. package/dist/model/operationIndexParams.d.ts.map +1 -1
  197. package/dist/model/operationType.d.ts +4 -4
  198. package/dist/model/operationType.d.ts.map +1 -1
  199. package/dist/model/optionalFilters.d.ts +5 -5
  200. package/dist/model/optionalFilters.d.ts.map +1 -1
  201. package/dist/model/params.d.ts +12 -12
  202. package/dist/model/params.d.ts.map +1 -1
  203. package/dist/model/personalization.d.ts +14 -14
  204. package/dist/model/personalization.d.ts.map +1 -1
  205. package/dist/model/promote.d.ts +3 -3
  206. package/dist/model/promote.d.ts.map +1 -1
  207. package/dist/model/promoteObjectID.d.ts +13 -13
  208. package/dist/model/promoteObjectID.d.ts.map +1 -1
  209. package/dist/model/promoteObjectIDs.d.ts +13 -13
  210. package/dist/model/promoteObjectIDs.d.ts.map +1 -1
  211. package/dist/model/queryType.d.ts +4 -4
  212. package/dist/model/queryType.d.ts.map +1 -1
  213. package/dist/model/rankingInfo.d.ts +50 -50
  214. package/dist/model/rankingInfo.d.ts.map +1 -1
  215. package/dist/model/reRankingApplyFilter.d.ts +5 -5
  216. package/dist/model/reRankingApplyFilter.d.ts.map +1 -1
  217. package/dist/model/redirectRuleIndexMetadata.d.ts +21 -0
  218. package/dist/model/redirectRuleIndexMetadata.d.ts.map +1 -0
  219. package/dist/model/redirectRuleIndexMetadataData.d.ts +7 -0
  220. package/dist/model/redirectRuleIndexMetadataData.d.ts.map +1 -0
  221. package/dist/model/removeStopWords.d.ts +4 -4
  222. package/dist/model/removeStopWords.d.ts.map +1 -1
  223. package/dist/model/removeUserIdResponse.d.ts +6 -6
  224. package/dist/model/removeUserIdResponse.d.ts.map +1 -1
  225. package/dist/model/removeWordsIfNoResults.d.ts +4 -4
  226. package/dist/model/removeWordsIfNoResults.d.ts.map +1 -1
  227. package/dist/model/renderingContent.d.ts +7 -7
  228. package/dist/model/renderingContent.d.ts.map +1 -1
  229. package/dist/model/replaceSourceResponse.d.ts +6 -6
  230. package/dist/model/replaceSourceResponse.d.ts.map +1 -1
  231. package/dist/model/rule.d.ts +29 -29
  232. package/dist/model/rule.d.ts.map +1 -1
  233. package/dist/model/saveObjectResponse.d.ts +11 -11
  234. package/dist/model/saveObjectResponse.d.ts.map +1 -1
  235. package/dist/model/saveSynonymResponse.d.ts +14 -14
  236. package/dist/model/saveSynonymResponse.d.ts.map +1 -1
  237. package/dist/model/scopeType.d.ts +1 -1
  238. package/dist/model/scopeType.d.ts.map +1 -1
  239. package/dist/model/searchDictionaryEntriesParams.d.ts +21 -21
  240. package/dist/model/searchDictionaryEntriesParams.d.ts.map +1 -1
  241. package/dist/model/searchForFacetValuesRequest.d.ts +14 -14
  242. package/dist/model/searchForFacetValuesRequest.d.ts.map +1 -1
  243. package/dist/model/searchForFacetValuesResponse.d.ts +4 -4
  244. package/dist/model/searchForFacetValuesResponse.d.ts.map +1 -1
  245. package/dist/model/searchForFacets.d.ts +3 -3
  246. package/dist/model/searchForFacets.d.ts.map +1 -1
  247. package/dist/model/searchForFacetsOptions.d.ts +20 -20
  248. package/dist/model/searchForFacetsOptions.d.ts.map +1 -1
  249. package/dist/model/searchForHits.d.ts +3 -3
  250. package/dist/model/searchForHits.d.ts.map +1 -1
  251. package/dist/model/searchForHitsOptions.d.ts +12 -12
  252. package/dist/model/searchForHitsOptions.d.ts.map +1 -1
  253. package/dist/model/searchHits.d.ts +4 -4
  254. package/dist/model/searchHits.d.ts.map +1 -1
  255. package/dist/model/searchMethodParams.d.ts +6 -6
  256. package/dist/model/searchMethodParams.d.ts.map +1 -1
  257. package/dist/model/searchParams.d.ts +3 -3
  258. package/dist/model/searchParams.d.ts.map +1 -1
  259. package/dist/model/searchParamsObject.d.ts +3 -3
  260. package/dist/model/searchParamsObject.d.ts.map +1 -1
  261. package/dist/model/searchParamsQuery.d.ts +6 -6
  262. package/dist/model/searchParamsQuery.d.ts.map +1 -1
  263. package/dist/model/searchParamsString.d.ts +6 -6
  264. package/dist/model/searchParamsString.d.ts.map +1 -1
  265. package/dist/model/searchQuery.d.ts +3 -3
  266. package/dist/model/searchQuery.d.ts.map +1 -1
  267. package/dist/model/searchResponse.d.ts +3 -3
  268. package/dist/model/searchResponse.d.ts.map +1 -1
  269. package/dist/model/searchResponses.d.ts +4 -4
  270. package/dist/model/searchResponses.d.ts.map +1 -1
  271. package/dist/model/searchRulesParams.d.ts +31 -31
  272. package/dist/model/searchRulesParams.d.ts.map +1 -1
  273. package/dist/model/searchRulesResponse.d.ts +19 -19
  274. package/dist/model/searchRulesResponse.d.ts.map +1 -1
  275. package/dist/model/searchStrategy.d.ts +1 -1
  276. package/dist/model/searchStrategy.d.ts.map +1 -1
  277. package/dist/model/searchSynonymsParams.d.ts +6 -6
  278. package/dist/model/searchSynonymsParams.d.ts.map +1 -1
  279. package/dist/model/searchSynonymsResponse.d.ts +11 -11
  280. package/dist/model/searchSynonymsResponse.d.ts.map +1 -1
  281. package/dist/model/searchTypeDefault.d.ts +4 -4
  282. package/dist/model/searchTypeDefault.d.ts.map +1 -1
  283. package/dist/model/searchTypeFacet.d.ts +4 -4
  284. package/dist/model/searchTypeFacet.d.ts.map +1 -1
  285. package/dist/model/searchUserIdsParams.d.ts +21 -21
  286. package/dist/model/searchUserIdsParams.d.ts.map +1 -1
  287. package/dist/model/searchUserIdsResponse.d.ts +26 -26
  288. package/dist/model/searchUserIdsResponse.d.ts.map +1 -1
  289. package/dist/model/snippetResult.d.ts +2 -2
  290. package/dist/model/snippetResult.d.ts.map +1 -1
  291. package/dist/model/snippetResultOption.d.ts +11 -11
  292. package/dist/model/snippetResultOption.d.ts.map +1 -1
  293. package/dist/model/sortRemainingBy.d.ts +4 -4
  294. package/dist/model/sortRemainingBy.d.ts.map +1 -1
  295. package/dist/model/source.d.ts +13 -13
  296. package/dist/model/source.d.ts.map +1 -1
  297. package/dist/model/standardEntries.d.ts +17 -17
  298. package/dist/model/standardEntries.d.ts.map +1 -1
  299. package/dist/model/synonymHit.d.ts +35 -37
  300. package/dist/model/synonymHit.d.ts.map +1 -1
  301. package/dist/model/synonymType.d.ts +4 -4
  302. package/dist/model/synonymType.d.ts.map +1 -1
  303. package/dist/model/tagFilters.d.ts +5 -5
  304. package/dist/model/tagFilters.d.ts.map +1 -1
  305. package/dist/model/taskStatus.d.ts +1 -1
  306. package/dist/model/taskStatus.d.ts.map +1 -1
  307. package/dist/model/timeRange.d.ts +10 -10
  308. package/dist/model/timeRange.d.ts.map +1 -1
  309. package/dist/model/typoTolerance.d.ts +5 -5
  310. package/dist/model/typoTolerance.d.ts.map +1 -1
  311. package/dist/model/typoToleranceEnum.d.ts +1 -1
  312. package/dist/model/typoToleranceEnum.d.ts.map +1 -1
  313. package/dist/model/updateApiKeyResponse.d.ts +10 -10
  314. package/dist/model/updateApiKeyResponse.d.ts.map +1 -1
  315. package/dist/model/updatedAtResponse.d.ts +13 -13
  316. package/dist/model/updatedAtResponse.d.ts.map +1 -1
  317. package/dist/model/updatedAtWithObjectIdResponse.d.ts +17 -17
  318. package/dist/model/updatedAtWithObjectIdResponse.d.ts.map +1 -1
  319. package/dist/model/updatedRuleResponse.d.ts +14 -14
  320. package/dist/model/updatedRuleResponse.d.ts.map +1 -1
  321. package/dist/model/userHighlightResult.d.ts +11 -11
  322. package/dist/model/userHighlightResult.d.ts.map +1 -1
  323. package/dist/model/userHit.d.ts +24 -24
  324. package/dist/model/userHit.d.ts.map +1 -1
  325. package/dist/model/userId.d.ts +21 -21
  326. package/dist/model/userId.d.ts.map +1 -1
  327. package/dist/model/value.d.ts +8 -8
  328. package/dist/model/value.d.ts.map +1 -1
  329. package/dist/src/searchClient.d.ts +723 -723
  330. package/dist/src/searchClient.d.ts.map +1 -1
  331. package/model/acl.ts +1 -1
  332. package/model/action.ts +1 -1
  333. package/model/addApiKeyResponse.ts +1 -1
  334. package/model/advancedSyntaxFeatures.ts +1 -1
  335. package/model/alternativesAsExact.ts +1 -1
  336. package/model/anchoring.ts +1 -1
  337. package/model/apiKey.ts +1 -1
  338. package/model/aroundRadius.ts +1 -1
  339. package/model/aroundRadiusAll.ts +1 -1
  340. package/model/assignUserIdParams.ts +1 -1
  341. package/model/attributeToUpdate.ts +1 -1
  342. package/model/automaticFacetFilter.ts +1 -1
  343. package/model/automaticFacetFilters.ts +1 -1
  344. package/model/baseGetApiKeyResponse.ts +1 -1
  345. package/model/baseIndexSettings.ts +6 -1
  346. package/model/baseSearchParams.ts +1 -1
  347. package/model/baseSearchParamsWithoutQuery.ts +1 -1
  348. package/model/baseSearchResponse.ts +4 -1
  349. package/model/baseSearchResponseRedirect.ts +10 -0
  350. package/model/batchAssignUserIdsParams.ts +1 -1
  351. package/model/batchDictionaryEntriesParams.ts +1 -1
  352. package/model/batchDictionaryEntriesRequest.ts +1 -1
  353. package/model/batchParams.ts +1 -1
  354. package/model/batchRequest.ts +3 -3
  355. package/model/batchResponse.ts +1 -1
  356. package/model/batchWriteParams.ts +2 -2
  357. package/model/browseParams.ts +6 -0
  358. package/model/browseParamsObject.ts +6 -0
  359. package/model/browseResponse.ts +4 -4
  360. package/model/builtInOperation.ts +1 -1
  361. package/model/builtInOperationType.ts +1 -1
  362. package/model/clientMethodProps.ts +5 -4
  363. package/model/condition.ts +1 -1
  364. package/model/consequence.ts +1 -1
  365. package/model/consequenceHide.ts +1 -1
  366. package/model/consequenceParams.ts +1 -1
  367. package/model/consequenceQuery.ts +1 -1
  368. package/model/consequenceQueryObject.ts +1 -1
  369. package/model/createdAtResponse.ts +1 -1
  370. package/model/cursor.ts +8 -0
  371. package/model/deleteApiKeyResponse.ts +1 -1
  372. package/model/deleteByParams.ts +36 -0
  373. package/model/deleteSourceResponse.ts +1 -1
  374. package/model/deletedAtResponse.ts +1 -1
  375. package/model/dictionaryAction.ts +1 -1
  376. package/model/dictionaryEntry.ts +1 -1
  377. package/model/dictionaryEntryState.ts +1 -1
  378. package/model/dictionaryLanguage.ts +1 -1
  379. package/model/dictionarySettingsParams.ts +1 -1
  380. package/model/dictionaryType.ts +1 -1
  381. package/model/distinct.ts +1 -1
  382. package/model/edit.ts +1 -1
  383. package/model/editType.ts +1 -1
  384. package/model/errorBase.ts +1 -1
  385. package/model/exactOnSingleWordQuery.ts +1 -1
  386. package/model/facetFilters.ts +1 -1
  387. package/model/facetHits.ts +1 -1
  388. package/model/facetOrdering.ts +1 -1
  389. package/model/facets.ts +1 -1
  390. package/model/facetsStats.ts +1 -1
  391. package/model/fetchedIndex.ts +2 -2
  392. package/model/getApiKeyResponse.ts +1 -1
  393. package/model/getDictionarySettingsResponse.ts +1 -1
  394. package/model/getLogsResponse.ts +1 -1
  395. package/model/getObjectsParams.ts +1 -1
  396. package/model/getObjectsRequest.ts +1 -1
  397. package/model/getObjectsResponse.ts +1 -1
  398. package/model/getTaskResponse.ts +1 -1
  399. package/model/getTopUserIdsResponse.ts +1 -1
  400. package/model/hasPendingMappingsResponse.ts +1 -1
  401. package/model/highlightResult.ts +1 -1
  402. package/model/highlightResultOption.ts +1 -1
  403. package/model/hit.ts +1 -1
  404. package/model/ignorePlurals.ts +1 -1
  405. package/model/index.ts +10 -4
  406. package/model/indexSettings.ts +1 -1
  407. package/model/indexSettingsAsSearchParams.ts +12 -6
  408. package/model/indexSettingsAsSearchParamsSemanticSearch.ts +11 -0
  409. package/model/languages.ts +1 -1
  410. package/model/listApiKeysResponse.ts +1 -1
  411. package/model/listClustersResponse.ts +1 -1
  412. package/model/listIndicesResponse.ts +1 -1
  413. package/model/listUserIdsResponse.ts +1 -1
  414. package/model/log.ts +1 -1
  415. package/model/logQuery.ts +1 -1
  416. package/model/logType.ts +1 -1
  417. package/model/matchLevel.ts +1 -1
  418. package/model/matchedGeoLocation.ts +1 -1
  419. package/model/mixedSearchFilters.ts +1 -1
  420. package/model/mode.ts +6 -0
  421. package/model/multipleBatchRequest.ts +1 -1
  422. package/model/multipleBatchResponse.ts +1 -1
  423. package/model/numericFilters.ts +1 -1
  424. package/model/operationIndexParams.ts +1 -1
  425. package/model/operationType.ts +1 -1
  426. package/model/optionalFilters.ts +1 -1
  427. package/model/params.ts +1 -1
  428. package/model/personalization.ts +1 -1
  429. package/model/promote.ts +1 -1
  430. package/model/promoteObjectID.ts +1 -1
  431. package/model/promoteObjectIDs.ts +1 -1
  432. package/model/queryType.ts +1 -1
  433. package/model/rankingInfo.ts +1 -1
  434. package/model/reRankingApplyFilter.ts +1 -1
  435. package/model/redirectRuleIndexMetadata.ts +27 -0
  436. package/model/redirectRuleIndexMetadataData.ts +8 -0
  437. package/model/removeStopWords.ts +1 -1
  438. package/model/removeUserIdResponse.ts +1 -1
  439. package/model/removeWordsIfNoResults.ts +1 -1
  440. package/model/renderingContent.ts +1 -1
  441. package/model/replaceSourceResponse.ts +1 -1
  442. package/model/rule.ts +1 -1
  443. package/model/saveObjectResponse.ts +1 -1
  444. package/model/saveSynonymResponse.ts +1 -1
  445. package/model/scopeType.ts +1 -1
  446. package/model/searchDictionaryEntriesParams.ts +1 -1
  447. package/model/searchForFacetValuesRequest.ts +1 -1
  448. package/model/searchForFacetValuesResponse.ts +1 -1
  449. package/model/searchForFacets.ts +1 -1
  450. package/model/searchForFacetsOptions.ts +1 -1
  451. package/model/searchForHits.ts +1 -1
  452. package/model/searchForHitsOptions.ts +1 -1
  453. package/model/searchHits.ts +1 -1
  454. package/model/searchMethodParams.ts +1 -1
  455. package/model/searchParams.ts +1 -1
  456. package/model/searchParamsObject.ts +1 -1
  457. package/model/searchParamsQuery.ts +1 -1
  458. package/model/searchParamsString.ts +1 -1
  459. package/model/searchQuery.ts +1 -1
  460. package/model/searchResponse.ts +1 -1
  461. package/model/searchResponses.ts +1 -1
  462. package/model/searchRulesParams.ts +2 -2
  463. package/model/searchRulesResponse.ts +1 -1
  464. package/model/searchStrategy.ts +1 -1
  465. package/model/searchSynonymsParams.ts +1 -1
  466. package/model/searchSynonymsResponse.ts +1 -1
  467. package/model/searchTypeDefault.ts +1 -1
  468. package/model/searchTypeFacet.ts +1 -1
  469. package/model/searchUserIdsParams.ts +1 -1
  470. package/model/searchUserIdsResponse.ts +1 -1
  471. package/model/snippetResult.ts +1 -1
  472. package/model/snippetResultOption.ts +1 -1
  473. package/model/sortRemainingBy.ts +1 -1
  474. package/model/source.ts +1 -1
  475. package/model/standardEntries.ts +1 -1
  476. package/model/synonymHit.ts +1 -4
  477. package/model/synonymType.ts +1 -1
  478. package/model/tagFilters.ts +1 -1
  479. package/model/taskStatus.ts +1 -1
  480. package/model/timeRange.ts +1 -1
  481. package/model/typoTolerance.ts +1 -1
  482. package/model/typoToleranceEnum.ts +1 -1
  483. package/model/updateApiKeyResponse.ts +1 -1
  484. package/model/updatedAtResponse.ts +1 -1
  485. package/model/updatedAtWithObjectIdResponse.ts +1 -1
  486. package/model/updatedRuleResponse.ts +1 -1
  487. package/model/userHighlightResult.ts +1 -1
  488. package/model/userHit.ts +1 -1
  489. package/model/userId.ts +1 -1
  490. package/model/value.ts +1 -1
  491. package/package.json +31 -13
  492. package/dist/model/baseBrowseResponse.d.ts.map +0 -1
  493. package/dist/model/browseRequest.d.ts +0 -11
  494. package/dist/model/browseRequest.d.ts.map +0 -1
  495. package/dist/model/synonymHitHighlightResult.d.ts +0 -12
  496. package/dist/model/synonymHitHighlightResult.d.ts.map +0 -1
  497. package/model/baseBrowseResponse.ts +0 -8
  498. package/model/browseRequest.ts +0 -13
  499. package/model/synonymHitHighlightResult.ts +0 -15
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { SearchForHitsOptions } from './searchForHitsOptions';
4
4
  import type { SearchParams } from './searchParams';
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { SearchTypeDefault } from './searchTypeDefault';
4
4
 
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { Hit } from './hit';
4
4
 
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { SearchQuery } from './searchQuery';
4
4
  import type { SearchStrategy } from './searchStrategy';
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { SearchParamsObject } from './searchParamsObject';
4
4
  import type { SearchParamsString } from './searchParamsString';
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { BaseSearchParams } from './baseSearchParams';
4
4
  import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  export type SearchParamsQuery = {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  export type SearchParamsString = {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { SearchForFacets } from './searchForFacets';
4
4
  import type { SearchForHits } from './searchForHits';
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { BaseSearchResponse } from './baseSearchResponse';
4
4
  import type { SearchHits } from './searchHits';
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { SearchResponse } from './searchResponse';
4
4
 
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { Anchoring } from './anchoring';
4
4
 
@@ -31,7 +31,7 @@ export type SearchRulesParams = {
31
31
  /**
32
32
  * When specified, restricts matches to rules with a specific enabled status. When absent (default), all rules are retrieved, regardless of their enabled status.
33
33
  */
34
- enabled?: boolean;
34
+ enabled?: boolean | null;
35
35
 
36
36
  /**
37
37
  * A mapping of requestOptions to send along with the request.
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { Rule } from './rule';
4
4
 
@@ -1,3 +1,3 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  export type SearchStrategy = 'none' | 'stopIfEnoughMatches';
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  export type SearchSynonymsParams = {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { SynonymHit } from './synonymHit';
4
4
 
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  /**
4
4
  * Perform a search query with `default`, will search for facet values if `facet` is given.
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  /**
4
4
  * Perform a search query with `default`, will search for facet values if `facet` is given.
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  /**
4
4
  * OK.
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { UserHit } from './userHit';
4
4
 
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { SnippetResultOption } from './snippetResultOption';
4
4
 
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { MatchLevel } from './matchLevel';
4
4
 
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  /**
4
4
  * How to display the remaining items. - `count`: facet count (descending). - `alpha`: alphabetical (ascending). - `hidden`: show only pinned values.
package/model/source.ts CHANGED
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  /**
4
4
  * The source.
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  /**
4
4
  * Map of language ISO code supported by the dictionary (e.g., \"en\" for English) to a boolean value.
@@ -1,6 +1,5 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
- import type { SynonymHitHighlightResult } from './synonymHitHighlightResult';
4
3
  import type { SynonymType } from './synonymType';
5
4
 
6
5
  /**
@@ -43,6 +42,4 @@ export type SynonymHit = {
43
42
  * List of query words that will match the token.
44
43
  */
45
44
  replacements?: string[];
46
-
47
- _highlightResult?: SynonymHitHighlightResult;
48
45
  };
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  /**
4
4
  * Type of the synonym object.
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { MixedSearchFilters } from './mixedSearchFilters';
4
4
 
@@ -1,3 +1,3 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  export type TaskStatus = 'notPublished' | 'published';
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  export type TimeRange = {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { TypoToleranceEnum } from './typoToleranceEnum';
4
4
 
@@ -1,3 +1,3 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  export type TypoToleranceEnum = 'min' | 'strict';
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  export type UpdateApiKeyResponse = {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  /**
4
4
  * The response with a taskID and an updatedAt timestamp.
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  /**
4
4
  * The response with a taskID, an objectID and an updatedAt timestamp.
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  export type UpdatedRuleResponse = {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { HighlightResult } from './highlightResult';
4
4
 
package/model/userHit.ts CHANGED
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { UserHighlightResult } from './userHighlightResult';
4
4
 
package/model/userId.ts CHANGED
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  /**
4
4
  * A userID.
package/model/value.ts CHANGED
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // 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.
2
2
 
3
3
  import type { SortRemainingBy } from './sortRemainingBy';
4
4
 
package/package.json CHANGED
@@ -1,16 +1,32 @@
1
1
  {
2
2
  "name": "@algolia/client-search",
3
- "version": "5.0.0-alpha.6",
3
+ "version": "5.0.0-alpha.60",
4
4
  "description": "JavaScript client for client-search",
5
5
  "repository": "algolia/algoliasearch-client-javascript",
6
6
  "license": "MIT",
7
7
  "author": "Algolia",
8
- "main": "index.js",
9
- "jsdelivr": "dist/client-search.umd.js",
10
- "unpkg": "dist/client-search.umd.js",
11
- "module": "dist/client-search.esm.node.js",
12
- "browser": "dist/client-search.umd.js",
13
- "types": "index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "node": {
11
+ "import": "./dist/client-search.esm.node.js",
12
+ "module": "./dist/client-search.esm.node.js",
13
+ "require": "./dist/client-search.cjs.js",
14
+ "default": "./dist/client-search.cjs.js"
15
+ },
16
+ "default": {
17
+ "umd": "./dist/client-search.umd.js",
18
+ "module": "./dist/client-search.esm.browser.js",
19
+ "import": "./dist/client-search.esm.browser.js",
20
+ "default": "./dist/client-search.umd.js"
21
+ }
22
+ },
23
+ "./src/*": "./src/*.ts",
24
+ "./model": "./model/index.ts"
25
+ },
26
+ "jsdelivr": "./dist/client-search.umd.js",
27
+ "unpkg": "./dist/client-search.umd.js",
28
+ "browser": "./dist/client-search.umd.js",
29
+ "types": "./index.d.ts",
14
30
  "files": [
15
31
  "dist",
16
32
  "model",
@@ -18,16 +34,18 @@
18
34
  "index.d.ts"
19
35
  ],
20
36
  "scripts": {
21
- "clean": "rm -rf ./dist"
37
+ "build": "yarn clean && rollup --config",
38
+ "clean": "rm -rf ./dist || true"
22
39
  },
23
40
  "dependencies": {
24
- "@algolia/client-common": "5.0.0-alpha.6",
25
- "@algolia/requester-browser-xhr": "5.0.0-alpha.6",
26
- "@algolia/requester-node-http": "5.0.0-alpha.6"
41
+ "@algolia/client-common": "5.0.0-alpha.60",
42
+ "@algolia/requester-browser-xhr": "5.0.0-alpha.60",
43
+ "@algolia/requester-node-http": "5.0.0-alpha.60"
27
44
  },
28
45
  "devDependencies": {
29
- "@types/node": "16.11.47",
30
- "typescript": "4.7.4"
46
+ "@types/node": "18.16.0",
47
+ "rollup": "2.79.1",
48
+ "typescript": "5.0.4"
31
49
  },
32
50
  "engines": {
33
51
  "node": ">= 14.0.0"
@@ -1 +0,0 @@
1
- {"version":3,"file":"baseBrowseResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-search/model/baseBrowseResponse.ts"],"names":[],"mappings":"AAEA,oBAAY,kBAAkB,GAAG;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
@@ -1,11 +0,0 @@
1
- export declare type BrowseRequest = {
2
- /**
3
- * Search parameters as URL-encoded query string.
4
- */
5
- params?: string;
6
- /**
7
- * Cursor indicating the location to resume browsing from. Must match the value returned by the previous call.
8
- */
9
- cursor?: string;
10
- };
11
- //# sourceMappingURL=browseRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"browseRequest.d.ts","sourceRoot":"","sources":["../../../../packages/client-search/model/browseRequest.ts"],"names":[],"mappings":"AAEA,oBAAY,aAAa,GAAG;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
@@ -1,12 +0,0 @@
1
- import type { HighlightResult } from './highlightResult';
2
- /**
3
- * Highlighted results.
4
- */
5
- export declare type SynonymHitHighlightResult = {
6
- /**
7
- * Show highlighted section and words matched on a query.
8
- */
9
- type?: Record<string, HighlightResult>;
10
- synonyms?: Array<Record<string, HighlightResult>>;
11
- };
12
- //# sourceMappingURL=synonymHitHighlightResult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"synonymHitHighlightResult.d.ts","sourceRoot":"","sources":["../../../../packages/client-search/model/synonymHitHighlightResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,oBAAY,yBAAyB,GAAG;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAEvC,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC;CACnD,CAAC"}
@@ -1,8 +0,0 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
-
3
- export type BaseBrowseResponse = {
4
- /**
5
- * Cursor indicating the location to resume browsing from. Must match the value returned by the previous call.
6
- */
7
- cursor?: string;
8
- };
@@ -1,13 +0,0 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
-
3
- export type BrowseRequest = {
4
- /**
5
- * Search parameters as URL-encoded query string.
6
- */
7
- params?: string;
8
-
9
- /**
10
- * Cursor indicating the location to resume browsing from. Must match the value returned by the previous call.
11
- */
12
- cursor?: string;
13
- };
@@ -1,15 +0,0 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
-
3
- import type { HighlightResult } from './highlightResult';
4
-
5
- /**
6
- * Highlighted results.
7
- */
8
- export type SynonymHitHighlightResult = {
9
- /**
10
- * Show highlighted section and words matched on a query.
11
- */
12
- type?: Record<string, HighlightResult>;
13
-
14
- synonyms?: Array<Record<string, HighlightResult>>;
15
- };