@distilled.cloud/typesense 0.27.0 → 0.28.1

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 (396) hide show
  1. package/lib/operations/clearCache.d.ts +8 -9
  2. package/lib/operations/clearCache.d.ts.map +1 -1
  3. package/lib/operations/clearCache.js +0 -2
  4. package/lib/operations/clearCache.js.map +1 -1
  5. package/lib/operations/compactDb.d.ts +8 -9
  6. package/lib/operations/compactDb.d.ts.map +1 -1
  7. package/lib/operations/compactDb.js +0 -2
  8. package/lib/operations/compactDb.js.map +1 -1
  9. package/lib/operations/createAnalyticsEvent.d.ts +17 -29
  10. package/lib/operations/createAnalyticsEvent.d.ts.map +1 -1
  11. package/lib/operations/createAnalyticsEvent.js +0 -2
  12. package/lib/operations/createAnalyticsEvent.js.map +1 -1
  13. package/lib/operations/createAnalyticsRule.d.ts +38 -5
  14. package/lib/operations/createAnalyticsRule.d.ts.map +1 -1
  15. package/lib/operations/createAnalyticsRule.js +49 -3
  16. package/lib/operations/createAnalyticsRule.js.map +1 -1
  17. package/lib/operations/createCollection.d.ts +102 -197
  18. package/lib/operations/createCollection.d.ts.map +1 -1
  19. package/lib/operations/createCollection.js +6 -7
  20. package/lib/operations/createCollection.js.map +1 -1
  21. package/lib/operations/createConversationModel.d.ts +18 -29
  22. package/lib/operations/createConversationModel.d.ts.map +1 -1
  23. package/lib/operations/createConversationModel.js +1 -2
  24. package/lib/operations/createConversationModel.js.map +1 -1
  25. package/lib/operations/createKey.d.ts +19 -33
  26. package/lib/operations/createKey.d.ts.map +1 -1
  27. package/lib/operations/createKey.js +0 -2
  28. package/lib/operations/createKey.js.map +1 -1
  29. package/lib/operations/createNLSearchModel.d.ts +28 -49
  30. package/lib/operations/createNLSearchModel.d.ts.map +1 -1
  31. package/lib/operations/createNLSearchModel.js +1 -2
  32. package/lib/operations/createNLSearchModel.js.map +1 -1
  33. package/lib/operations/debug.d.ts +8 -9
  34. package/lib/operations/debug.d.ts.map +1 -1
  35. package/lib/operations/debug.js +0 -2
  36. package/lib/operations/debug.js.map +1 -1
  37. package/lib/operations/deleteAlias.d.ts +10 -15
  38. package/lib/operations/deleteAlias.d.ts.map +1 -1
  39. package/lib/operations/deleteAlias.js +0 -2
  40. package/lib/operations/deleteAlias.js.map +1 -1
  41. package/lib/operations/deleteAnalyticsRule.d.ts +22 -39
  42. package/lib/operations/deleteAnalyticsRule.d.ts.map +1 -1
  43. package/lib/operations/deleteAnalyticsRule.js +0 -2
  44. package/lib/operations/deleteAnalyticsRule.js.map +1 -1
  45. package/lib/operations/deleteCollection.d.ts +57 -107
  46. package/lib/operations/deleteCollection.d.ts.map +1 -1
  47. package/lib/operations/deleteCollection.js +6 -7
  48. package/lib/operations/deleteCollection.js.map +1 -1
  49. package/lib/operations/deleteConversationModel.d.ts +9 -13
  50. package/lib/operations/deleteConversationModel.d.ts.map +1 -1
  51. package/lib/operations/deleteConversationModel.js +0 -2
  52. package/lib/operations/deleteConversationModel.js.map +1 -1
  53. package/lib/operations/deleteCurationSet.d.ts +9 -13
  54. package/lib/operations/deleteCurationSet.d.ts.map +1 -1
  55. package/lib/operations/deleteCurationSet.js +0 -2
  56. package/lib/operations/deleteCurationSet.js.map +1 -1
  57. package/lib/operations/deleteCurationSetItem.d.ts +10 -15
  58. package/lib/operations/deleteCurationSetItem.d.ts.map +1 -1
  59. package/lib/operations/deleteCurationSetItem.js +0 -2
  60. package/lib/operations/deleteCurationSetItem.js.map +1 -1
  61. package/lib/operations/deleteDocument.d.ts +8 -11
  62. package/lib/operations/deleteDocument.d.ts.map +1 -1
  63. package/lib/operations/deleteDocument.js +2 -3
  64. package/lib/operations/deleteDocument.js.map +1 -1
  65. package/lib/operations/deleteDocuments.d.ts +10 -15
  66. package/lib/operations/deleteDocuments.d.ts.map +1 -1
  67. package/lib/operations/deleteDocuments.js +0 -2
  68. package/lib/operations/deleteDocuments.js.map +1 -1
  69. package/lib/operations/deleteKey.d.ts +9 -13
  70. package/lib/operations/deleteKey.d.ts.map +1 -1
  71. package/lib/operations/deleteKey.js +0 -2
  72. package/lib/operations/deleteKey.js.map +1 -1
  73. package/lib/operations/deleteNLSearchModel.d.ts +9 -13
  74. package/lib/operations/deleteNLSearchModel.d.ts.map +1 -1
  75. package/lib/operations/deleteNLSearchModel.js +0 -2
  76. package/lib/operations/deleteNLSearchModel.js.map +1 -1
  77. package/lib/operations/deletePreset.d.ts +9 -13
  78. package/lib/operations/deletePreset.d.ts.map +1 -1
  79. package/lib/operations/deletePreset.js +0 -2
  80. package/lib/operations/deletePreset.js.map +1 -1
  81. package/lib/operations/deleteStopwordsSet.d.ts +9 -13
  82. package/lib/operations/deleteStopwordsSet.d.ts.map +1 -1
  83. package/lib/operations/deleteStopwordsSet.js +0 -2
  84. package/lib/operations/deleteStopwordsSet.js.map +1 -1
  85. package/lib/operations/deleteSynonymSet.d.ts +9 -13
  86. package/lib/operations/deleteSynonymSet.d.ts.map +1 -1
  87. package/lib/operations/deleteSynonymSet.js +0 -2
  88. package/lib/operations/deleteSynonymSet.js.map +1 -1
  89. package/lib/operations/deleteSynonymSetItem.d.ts +10 -15
  90. package/lib/operations/deleteSynonymSetItem.d.ts.map +1 -1
  91. package/lib/operations/deleteSynonymSetItem.js +0 -2
  92. package/lib/operations/deleteSynonymSetItem.js.map +1 -1
  93. package/lib/operations/exportDocuments.d.ts +8 -11
  94. package/lib/operations/exportDocuments.d.ts.map +1 -1
  95. package/lib/operations/exportDocuments.js +2 -3
  96. package/lib/operations/exportDocuments.js.map +1 -1
  97. package/lib/operations/flushAnalytics.d.ts +8 -9
  98. package/lib/operations/flushAnalytics.d.ts.map +1 -1
  99. package/lib/operations/flushAnalytics.js +0 -2
  100. package/lib/operations/flushAnalytics.js.map +1 -1
  101. package/lib/operations/getAlias.d.ts +10 -15
  102. package/lib/operations/getAlias.d.ts.map +1 -1
  103. package/lib/operations/getAlias.js +0 -2
  104. package/lib/operations/getAlias.js.map +1 -1
  105. package/lib/operations/getAliases.d.ts +11 -15
  106. package/lib/operations/getAliases.d.ts.map +1 -1
  107. package/lib/operations/getAliases.js +0 -2
  108. package/lib/operations/getAliases.js.map +1 -1
  109. package/lib/operations/getAnalyticsEvents.d.ts +20 -35
  110. package/lib/operations/getAnalyticsEvents.d.ts.map +1 -1
  111. package/lib/operations/getAnalyticsEvents.js +0 -2
  112. package/lib/operations/getAnalyticsEvents.js.map +1 -1
  113. package/lib/operations/getAnalyticsStatus.d.ts +14 -21
  114. package/lib/operations/getAnalyticsStatus.d.ts.map +1 -1
  115. package/lib/operations/getAnalyticsStatus.js +0 -2
  116. package/lib/operations/getAnalyticsStatus.js.map +1 -1
  117. package/lib/operations/getCollection.d.ts +57 -107
  118. package/lib/operations/getCollection.d.ts.map +1 -1
  119. package/lib/operations/getCollection.js +6 -7
  120. package/lib/operations/getCollection.js.map +1 -1
  121. package/lib/operations/getCollections.d.ts +57 -107
  122. package/lib/operations/getCollections.d.ts.map +1 -1
  123. package/lib/operations/getCollections.js +6 -7
  124. package/lib/operations/getCollections.js.map +1 -1
  125. package/lib/operations/getDocument.d.ts +8 -11
  126. package/lib/operations/getDocument.d.ts.map +1 -1
  127. package/lib/operations/getDocument.js +2 -3
  128. package/lib/operations/getDocument.js.map +1 -1
  129. package/lib/operations/getKey.d.ts +15 -25
  130. package/lib/operations/getKey.d.ts.map +1 -1
  131. package/lib/operations/getKey.js +0 -2
  132. package/lib/operations/getKey.js.map +1 -1
  133. package/lib/operations/getKeys.d.ts +16 -25
  134. package/lib/operations/getKeys.d.ts.map +1 -1
  135. package/lib/operations/getKeys.js +0 -2
  136. package/lib/operations/getKeys.js.map +1 -1
  137. package/lib/operations/getSchemaChanges.d.ts +10 -13
  138. package/lib/operations/getSchemaChanges.d.ts.map +1 -1
  139. package/lib/operations/getSchemaChanges.js +0 -2
  140. package/lib/operations/getSchemaChanges.js.map +1 -1
  141. package/lib/operations/getStemmingDictionary.d.ts +13 -21
  142. package/lib/operations/getStemmingDictionary.d.ts.map +1 -1
  143. package/lib/operations/getStemmingDictionary.js +0 -2
  144. package/lib/operations/getStemmingDictionary.js.map +1 -1
  145. package/lib/operations/health.d.ts +8 -9
  146. package/lib/operations/health.d.ts.map +1 -1
  147. package/lib/operations/health.js +0 -2
  148. package/lib/operations/health.js.map +1 -1
  149. package/lib/operations/importDocuments.d.ts +8 -11
  150. package/lib/operations/importDocuments.d.ts.map +1 -1
  151. package/lib/operations/importDocuments.js +2 -3
  152. package/lib/operations/importDocuments.js.map +1 -1
  153. package/lib/operations/importStemmingDictionary.d.ts +7 -9
  154. package/lib/operations/importStemmingDictionary.d.ts.map +1 -1
  155. package/lib/operations/importStemmingDictionary.js +0 -2
  156. package/lib/operations/importStemmingDictionary.js.map +1 -1
  157. package/lib/operations/indexDocument.d.ts +9 -13
  158. package/lib/operations/indexDocument.d.ts.map +1 -1
  159. package/lib/operations/indexDocument.js +2 -3
  160. package/lib/operations/indexDocument.js.map +1 -1
  161. package/lib/operations/listStemmingDictionaries.d.ts +8 -9
  162. package/lib/operations/listStemmingDictionaries.d.ts.map +1 -1
  163. package/lib/operations/listStemmingDictionaries.js +0 -2
  164. package/lib/operations/listStemmingDictionaries.js.map +1 -1
  165. package/lib/operations/multiSearch.d.ts +199 -407
  166. package/lib/operations/multiSearch.d.ts.map +1 -1
  167. package/lib/operations/multiSearch.js +0 -2
  168. package/lib/operations/multiSearch.js.map +1 -1
  169. package/lib/operations/retrieveAPIStats.d.ts +20 -33
  170. package/lib/operations/retrieveAPIStats.d.ts.map +1 -1
  171. package/lib/operations/retrieveAPIStats.js +0 -2
  172. package/lib/operations/retrieveAPIStats.js.map +1 -1
  173. package/lib/operations/retrieveAllConversationModels.d.ts +8 -9
  174. package/lib/operations/retrieveAllConversationModels.d.ts.map +1 -1
  175. package/lib/operations/retrieveAllConversationModels.js +0 -2
  176. package/lib/operations/retrieveAllConversationModels.js.map +1 -1
  177. package/lib/operations/retrieveAllNLSearchModels.d.ts +8 -9
  178. package/lib/operations/retrieveAllNLSearchModels.d.ts.map +1 -1
  179. package/lib/operations/retrieveAllNLSearchModels.js +0 -2
  180. package/lib/operations/retrieveAllNLSearchModels.js.map +1 -1
  181. package/lib/operations/retrieveAllPresets.d.ts +156 -15
  182. package/lib/operations/retrieveAllPresets.d.ts.map +1 -1
  183. package/lib/operations/retrieveAllPresets.js +0 -2
  184. package/lib/operations/retrieveAllPresets.js.map +1 -1
  185. package/lib/operations/retrieveAnalyticsRule.d.ts +22 -39
  186. package/lib/operations/retrieveAnalyticsRule.d.ts.map +1 -1
  187. package/lib/operations/retrieveAnalyticsRule.js +0 -2
  188. package/lib/operations/retrieveAnalyticsRule.js.map +1 -1
  189. package/lib/operations/retrieveAnalyticsRules.d.ts +22 -39
  190. package/lib/operations/retrieveAnalyticsRules.d.ts.map +1 -1
  191. package/lib/operations/retrieveAnalyticsRules.js +0 -2
  192. package/lib/operations/retrieveAnalyticsRules.js.map +1 -1
  193. package/lib/operations/retrieveConversationModel.d.ts +9 -13
  194. package/lib/operations/retrieveConversationModel.d.ts.map +1 -1
  195. package/lib/operations/retrieveConversationModel.js +0 -2
  196. package/lib/operations/retrieveConversationModel.js.map +1 -1
  197. package/lib/operations/retrieveCurationSet.d.ts +35 -65
  198. package/lib/operations/retrieveCurationSet.d.ts.map +1 -1
  199. package/lib/operations/retrieveCurationSet.js +0 -2
  200. package/lib/operations/retrieveCurationSet.js.map +1 -1
  201. package/lib/operations/retrieveCurationSetItem.d.ts +32 -59
  202. package/lib/operations/retrieveCurationSetItem.d.ts.map +1 -1
  203. package/lib/operations/retrieveCurationSetItem.js +0 -2
  204. package/lib/operations/retrieveCurationSetItem.js.map +1 -1
  205. package/lib/operations/retrieveCurationSetItems.d.ts +31 -57
  206. package/lib/operations/retrieveCurationSetItems.d.ts.map +1 -1
  207. package/lib/operations/retrieveCurationSetItems.js +0 -2
  208. package/lib/operations/retrieveCurationSetItems.js.map +1 -1
  209. package/lib/operations/retrieveCurationSets.d.ts +34 -61
  210. package/lib/operations/retrieveCurationSets.d.ts.map +1 -1
  211. package/lib/operations/retrieveCurationSets.js +0 -2
  212. package/lib/operations/retrieveCurationSets.js.map +1 -1
  213. package/lib/operations/retrieveMetrics.d.ts +6 -5
  214. package/lib/operations/retrieveMetrics.d.ts.map +1 -1
  215. package/lib/operations/retrieveMetrics.js +2 -3
  216. package/lib/operations/retrieveMetrics.js.map +1 -1
  217. package/lib/operations/retrieveNLSearchModel.d.ts +9 -13
  218. package/lib/operations/retrieveNLSearchModel.d.ts.map +1 -1
  219. package/lib/operations/retrieveNLSearchModel.js +0 -2
  220. package/lib/operations/retrieveNLSearchModel.js.map +1 -1
  221. package/lib/operations/retrievePreset.d.ts +155 -15
  222. package/lib/operations/retrievePreset.d.ts.map +1 -1
  223. package/lib/operations/retrievePreset.js +0 -2
  224. package/lib/operations/retrievePreset.js.map +1 -1
  225. package/lib/operations/retrieveStopwordsSet.d.ts +13 -21
  226. package/lib/operations/retrieveStopwordsSet.d.ts.map +1 -1
  227. package/lib/operations/retrieveStopwordsSet.js +0 -2
  228. package/lib/operations/retrieveStopwordsSet.js.map +1 -1
  229. package/lib/operations/retrieveStopwordsSets.d.ts +12 -17
  230. package/lib/operations/retrieveStopwordsSets.d.ts.map +1 -1
  231. package/lib/operations/retrieveStopwordsSets.js +0 -2
  232. package/lib/operations/retrieveStopwordsSets.js.map +1 -1
  233. package/lib/operations/retrieveSynonymSet.d.ts +16 -27
  234. package/lib/operations/retrieveSynonymSet.d.ts.map +1 -1
  235. package/lib/operations/retrieveSynonymSet.js +0 -2
  236. package/lib/operations/retrieveSynonymSet.js.map +1 -1
  237. package/lib/operations/retrieveSynonymSetItem.d.ts +14 -23
  238. package/lib/operations/retrieveSynonymSetItem.d.ts.map +1 -1
  239. package/lib/operations/retrieveSynonymSetItem.js +0 -2
  240. package/lib/operations/retrieveSynonymSetItem.js.map +1 -1
  241. package/lib/operations/retrieveSynonymSetItems.d.ts +13 -21
  242. package/lib/operations/retrieveSynonymSetItems.d.ts.map +1 -1
  243. package/lib/operations/retrieveSynonymSetItems.js +0 -2
  244. package/lib/operations/retrieveSynonymSetItems.js.map +1 -1
  245. package/lib/operations/retrieveSynonymSets.d.ts +15 -23
  246. package/lib/operations/retrieveSynonymSets.d.ts.map +1 -1
  247. package/lib/operations/retrieveSynonymSets.js +0 -2
  248. package/lib/operations/retrieveSynonymSets.js.map +1 -1
  249. package/lib/operations/searchCollection.d.ts +119 -247
  250. package/lib/operations/searchCollection.d.ts.map +1 -1
  251. package/lib/operations/searchCollection.js +0 -2
  252. package/lib/operations/searchCollection.js.map +1 -1
  253. package/lib/operations/takeSnapshot.d.ts +9 -13
  254. package/lib/operations/takeSnapshot.d.ts.map +1 -1
  255. package/lib/operations/takeSnapshot.js +0 -2
  256. package/lib/operations/takeSnapshot.js.map +1 -1
  257. package/lib/operations/toggleSlowRequestLog.d.ts +9 -13
  258. package/lib/operations/toggleSlowRequestLog.d.ts.map +1 -1
  259. package/lib/operations/toggleSlowRequestLog.js +0 -2
  260. package/lib/operations/toggleSlowRequestLog.js.map +1 -1
  261. package/lib/operations/updateCollection.d.ts +85 -163
  262. package/lib/operations/updateCollection.d.ts.map +1 -1
  263. package/lib/operations/updateCollection.js +10 -11
  264. package/lib/operations/updateCollection.js.map +1 -1
  265. package/lib/operations/updateConversationModel.d.ts +19 -31
  266. package/lib/operations/updateConversationModel.d.ts.map +1 -1
  267. package/lib/operations/updateConversationModel.js +1 -2
  268. package/lib/operations/updateConversationModel.js.map +1 -1
  269. package/lib/operations/updateDocument.d.ts +9 -13
  270. package/lib/operations/updateDocument.d.ts.map +1 -1
  271. package/lib/operations/updateDocument.js +2 -3
  272. package/lib/operations/updateDocument.js.map +1 -1
  273. package/lib/operations/updateDocuments.d.ts +10 -15
  274. package/lib/operations/updateDocuments.d.ts.map +1 -1
  275. package/lib/operations/updateDocuments.js +0 -2
  276. package/lib/operations/updateDocuments.js.map +1 -1
  277. package/lib/operations/updateNLSearchModel.d.ts +9 -13
  278. package/lib/operations/updateNLSearchModel.d.ts.map +1 -1
  279. package/lib/operations/updateNLSearchModel.js +0 -2
  280. package/lib/operations/updateNLSearchModel.js.map +1 -1
  281. package/lib/operations/upsertAlias.d.ts +11 -17
  282. package/lib/operations/upsertAlias.d.ts.map +1 -1
  283. package/lib/operations/upsertAlias.js +0 -2
  284. package/lib/operations/upsertAlias.js.map +1 -1
  285. package/lib/operations/upsertAnalyticsRule.d.ts +33 -61
  286. package/lib/operations/upsertAnalyticsRule.d.ts.map +1 -1
  287. package/lib/operations/upsertAnalyticsRule.js +0 -2
  288. package/lib/operations/upsertAnalyticsRule.js.map +1 -1
  289. package/lib/operations/upsertCurationSet.d.ts +61 -117
  290. package/lib/operations/upsertCurationSet.d.ts.map +1 -1
  291. package/lib/operations/upsertCurationSet.js +0 -2
  292. package/lib/operations/upsertCurationSet.js.map +1 -1
  293. package/lib/operations/upsertCurationSetItem.d.ts +55 -105
  294. package/lib/operations/upsertCurationSetItem.d.ts.map +1 -1
  295. package/lib/operations/upsertCurationSetItem.js +0 -2
  296. package/lib/operations/upsertCurationSetItem.js.map +1 -1
  297. package/lib/operations/upsertPreset.d.ts +301 -17
  298. package/lib/operations/upsertPreset.d.ts.map +1 -1
  299. package/lib/operations/upsertPreset.js +0 -2
  300. package/lib/operations/upsertPreset.js.map +1 -1
  301. package/lib/operations/upsertStopwordsSet.d.ts +13 -21
  302. package/lib/operations/upsertStopwordsSet.d.ts.map +1 -1
  303. package/lib/operations/upsertStopwordsSet.js +0 -2
  304. package/lib/operations/upsertStopwordsSet.js.map +1 -1
  305. package/lib/operations/upsertSynonymSet.d.ts +23 -41
  306. package/lib/operations/upsertSynonymSet.d.ts.map +1 -1
  307. package/lib/operations/upsertSynonymSet.js +0 -2
  308. package/lib/operations/upsertSynonymSet.js.map +1 -1
  309. package/lib/operations/upsertSynonymSetItem.d.ts +18 -31
  310. package/lib/operations/upsertSynonymSetItem.d.ts.map +1 -1
  311. package/lib/operations/upsertSynonymSetItem.js +0 -2
  312. package/lib/operations/upsertSynonymSetItem.js.map +1 -1
  313. package/lib/operations/vote.d.ts +8 -9
  314. package/lib/operations/vote.d.ts.map +1 -1
  315. package/lib/operations/vote.js +0 -2
  316. package/lib/operations/vote.js.map +1 -1
  317. package/package.json +2 -2
  318. package/src/operations/clearCache.ts +8 -4
  319. package/src/operations/compactDb.ts +8 -4
  320. package/src/operations/createAnalyticsEvent.ts +18 -4
  321. package/src/operations/createAnalyticsRule.ts +93 -4
  322. package/src/operations/createCollection.ts +104 -9
  323. package/src/operations/createConversationModel.ts +19 -6
  324. package/src/operations/createKey.ts +20 -4
  325. package/src/operations/createNLSearchModel.ts +29 -4
  326. package/src/operations/debug.ts +6 -4
  327. package/src/operations/deleteAlias.ts +11 -4
  328. package/src/operations/deleteAnalyticsRule.ts +23 -4
  329. package/src/operations/deleteCollection.ts +61 -9
  330. package/src/operations/deleteConversationModel.ts +8 -6
  331. package/src/operations/deleteCurationSet.ts +10 -4
  332. package/src/operations/deleteCurationSetItem.ts +9 -5
  333. package/src/operations/deleteDocument.ts +8 -4
  334. package/src/operations/deleteDocuments.ts +9 -4
  335. package/src/operations/deleteKey.ts +10 -4
  336. package/src/operations/deleteNLSearchModel.ts +10 -4
  337. package/src/operations/deletePreset.ts +10 -4
  338. package/src/operations/deleteStopwordsSet.ts +10 -4
  339. package/src/operations/deleteSynonymSet.ts +10 -4
  340. package/src/operations/deleteSynonymSetItem.ts +9 -4
  341. package/src/operations/exportDocuments.ts +8 -4
  342. package/src/operations/flushAnalytics.ts +8 -4
  343. package/src/operations/getAlias.ts +11 -4
  344. package/src/operations/getAliases.ts +8 -4
  345. package/src/operations/getAnalyticsEvents.ts +21 -4
  346. package/src/operations/getAnalyticsStatus.ts +12 -4
  347. package/src/operations/getCollection.ts +61 -9
  348. package/src/operations/getCollections.ts +61 -9
  349. package/src/operations/getDocument.ts +8 -4
  350. package/src/operations/getKey.ts +16 -4
  351. package/src/operations/getKeys.ts +14 -4
  352. package/src/operations/getSchemaChanges.ts +10 -4
  353. package/src/operations/getStemmingDictionary.ts +9 -5
  354. package/src/operations/health.ts +6 -4
  355. package/src/operations/importDocuments.ts +8 -4
  356. package/src/operations/importStemmingDictionary.ts +8 -6
  357. package/src/operations/indexDocument.ts +9 -4
  358. package/src/operations/listStemmingDictionaries.ts +6 -6
  359. package/src/operations/multiSearch.ts +192 -4
  360. package/src/operations/retrieveAPIStats.ts +20 -4
  361. package/src/operations/retrieveAllConversationModels.ts +4 -6
  362. package/src/operations/retrieveAllNLSearchModels.ts +4 -6
  363. package/src/operations/retrieveAllPresets.ts +159 -4
  364. package/src/operations/retrieveAnalyticsRule.ts +23 -5
  365. package/src/operations/retrieveAnalyticsRules.ts +23 -6
  366. package/src/operations/retrieveConversationModel.ts +10 -6
  367. package/src/operations/retrieveCurationSet.ts +31 -4
  368. package/src/operations/retrieveCurationSetItem.ts +26 -6
  369. package/src/operations/retrieveCurationSetItems.ts +25 -6
  370. package/src/operations/retrieveCurationSets.ts +27 -4
  371. package/src/operations/retrieveMetrics.ts +7 -4
  372. package/src/operations/retrieveNLSearchModel.ts +10 -5
  373. package/src/operations/retrievePreset.ts +158 -4
  374. package/src/operations/retrieveStopwordsSet.ts +10 -4
  375. package/src/operations/retrieveStopwordsSets.ts +6 -5
  376. package/src/operations/retrieveSynonymSet.ts +17 -4
  377. package/src/operations/retrieveSynonymSetItem.ts +13 -6
  378. package/src/operations/retrieveSynonymSetItems.ts +12 -6
  379. package/src/operations/retrieveSynonymSets.ts +13 -4
  380. package/src/operations/searchCollection.ts +110 -4
  381. package/src/operations/takeSnapshot.ts +10 -4
  382. package/src/operations/toggleSlowRequestLog.ts +10 -4
  383. package/src/operations/updateCollection.ts +138 -52
  384. package/src/operations/updateConversationModel.ts +20 -6
  385. package/src/operations/updateDocument.ts +9 -4
  386. package/src/operations/updateDocuments.ts +9 -4
  387. package/src/operations/updateNLSearchModel.ts +10 -4
  388. package/src/operations/upsertAlias.ts +12 -4
  389. package/src/operations/upsertAnalyticsRule.ts +34 -4
  390. package/src/operations/upsertCurationSet.ts +52 -4
  391. package/src/operations/upsertCurationSetItem.ts +44 -5
  392. package/src/operations/upsertPreset.ts +306 -4
  393. package/src/operations/upsertStopwordsSet.ts +14 -4
  394. package/src/operations/upsertSynonymSet.ts +24 -4
  395. package/src/operations/upsertSynonymSetItem.ts +17 -4
  396. package/src/operations/vote.ts +6 -4
@@ -1 +1 @@
1
- {"version":3,"file":"updateNLSearchModel.d.ts","sourceRoot":"","sources":["../../src/operations/updateNLSearchModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGpD,eAAO,MAAM,wBAAwB;;EAGoC,CAAC;AAC1E,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;EAGlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB;;;;wEAI7B,CAAC"}
1
+ {"version":3,"file":"updateNLSearchModel.d.ts","sourceRoot":"","sources":["../../src/operations/updateNLSearchModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;CACjB;AACD,eAAO,MAAM,wBAAwB,EAKnB,MAAM,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;AAGzD,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,eAAO,MAAM,yBAAyB,EAGnB,MAAM,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAG3D;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,oLAI7B,CAAC"}
@@ -2,12 +2,10 @@ import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
4
  import { BadRequest, NotFound } from "../errors.js";
5
- // Input Schema
6
5
  export const UpdateNLSearchModelInput =
7
6
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
7
  modelId: Schema.String.pipe(T.PathParam()),
9
8
  }).pipe(T.Http({ method: "PUT", path: "/nl_search_models/{modelId}" }));
10
- // Output Schema
11
9
  export const UpdateNLSearchModelOutput =
12
10
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13
11
  id: Schema.String,
@@ -1 +1 @@
1
- {"version":3,"file":"updateNLSearchModel.js","sourceRoot":"","sources":["../../src/operations/updateNLSearchModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEpD,eAAe;AACf,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC3C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,6BAA6B,EAAE,CAAC,CAAC,CAAC;AAG1E,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM;CAClB,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7E,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,yBAAyB;IACvC,MAAM,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAU;CACxC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"updateNLSearchModel.js","sourceRoot":"","sources":["../../src/operations/updateNLSearchModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAMpD,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC3C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,6BAA6B,EAAE,CAAC,CACV,CAAC;AAMzD,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM;CAClB,CAAuD,CAAC;AAE3D,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7E,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,yBAAyB;IACvC,MAAM,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAU;CACxC,CAAC,CAAC,CAAC"}
@@ -1,15 +1,15 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { BadRequest, NotFound } from "../errors.ts";
3
- export declare const UpsertAliasInput: Schema.Struct<{
4
- readonly aliasName: Schema.String;
5
- readonly collection_name: Schema.String;
6
- }>;
7
- export type UpsertAliasInput = typeof UpsertAliasInput.Type;
8
- export declare const UpsertAliasOutput: Schema.Struct<{
9
- readonly name: Schema.String;
10
- readonly collection_name: Schema.String;
11
- }>;
12
- export type UpsertAliasOutput = typeof UpsertAliasOutput.Type;
3
+ export interface UpsertAliasInput {
4
+ aliasName: string;
5
+ collection_name: string;
6
+ }
7
+ export declare const UpsertAliasInput: Schema.Codec<UpsertAliasInput>;
8
+ export interface UpsertAliasOutput {
9
+ name: string;
10
+ collection_name: string;
11
+ }
12
+ export declare const UpsertAliasOutput: Schema.Codec<UpsertAliasOutput>;
13
13
  /**
14
14
  * Create or update a collection alias
15
15
  *
@@ -17,11 +17,5 @@ export type UpsertAliasOutput = typeof UpsertAliasOutput.Type;
17
17
  *
18
18
  * @param aliasName - The name of the alias to create/update
19
19
  */
20
- export declare const upsertAlias: import("@distilled.cloud/core/client").OperationMethod<{
21
- readonly aliasName: string;
22
- readonly collection_name: string;
23
- }, {
24
- readonly name: string;
25
- readonly collection_name: string;
26
- }, BadRequest | NotFound, import("~/credentials.ts").Credentials, never>;
20
+ export declare const upsertAlias: import("@distilled.cloud/core/client").OperationMethod<UpsertAliasInput, UpsertAliasOutput, BadRequest | NotFound, import("../credentials.ts").Credentials, never>;
27
21
  //# sourceMappingURL=upsertAlias.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upsertAlias.d.ts","sourceRoot":"","sources":["../../src/operations/upsertAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGpD,eAAO,MAAM,gBAAgB;;;EAGmC,CAAC;AACjE,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,iBAAiB;;;EAG5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;;;;;wEAIrB,CAAC"}
1
+ {"version":3,"file":"upsertAlias.d.ts","sourceRoot":"","sources":["../../src/operations/upsertAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;CACzB;AACD,eAAO,MAAM,gBAAgB,EAKb,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;AAG/C,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;CACzB;AACD,eAAO,MAAM,iBAAiB,EAGb,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAGjD;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,oKAIrB,CAAC"}
@@ -2,12 +2,10 @@ import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
4
  import { BadRequest, NotFound } from "../errors.js";
5
- // Input Schema
6
5
  export const UpsertAliasInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
6
  aliasName: Schema.String.pipe(T.PathParam()),
8
7
  collection_name: Schema.String,
9
8
  }).pipe(T.Http({ method: "PUT", path: "/aliases/{aliasName}" }));
10
- // Output Schema
11
9
  export const UpsertAliasOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12
10
  name: Schema.String,
13
11
  collection_name: Schema.String,
@@ -1 +1 @@
1
- {"version":3,"file":"upsertAlias.js","sourceRoot":"","sources":["../../src/operations/upsertAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEpD,eAAe;AACf,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC5C,eAAe,EAAE,MAAM,CAAC,MAAM;CAC/B,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC,CAAC,CAAC;AAGjE,gBAAgB;AAChB,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzE,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,eAAe,EAAE,MAAM,CAAC,MAAM;CAC/B,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACrE,WAAW,EAAE,gBAAgB;IAC7B,YAAY,EAAE,iBAAiB;IAC/B,MAAM,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAU;CACxC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"upsertAlias.js","sourceRoot":"","sources":["../../src/operations/upsertAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAOpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC5C,eAAe,EAAE,MAAM,CAAC,MAAM;CAC/B,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC,CACX,CAAC;AAO/C,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzE,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,eAAe,EAAE,MAAM,CAAC,MAAM;CAC/B,CAA+C,CAAC;AAEjD,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACrE,WAAW,EAAE,gBAAgB;IAC7B,YAAY,EAAE,iBAAiB;IAC/B,MAAM,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAU;CACxC,CAAC,CAAC,CAAC"}
@@ -1,37 +1,37 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { BadRequest } from "../errors.ts";
3
- export declare const UpsertAnalyticsRuleInput: Schema.Struct<{
4
- readonly ruleName: Schema.String;
5
- readonly name: Schema.optional<Schema.String>;
6
- readonly rule_tag: Schema.optional<Schema.String>;
7
- readonly params: Schema.optional<Schema.Struct<{
8
- readonly destination_collection: Schema.optional<Schema.String>;
9
- readonly limit: Schema.optional<Schema.Number>;
10
- readonly capture_search_requests: Schema.optional<Schema.Boolean>;
11
- readonly meta_fields: Schema.optional<Schema.$Array<Schema.String>>;
12
- readonly expand_query: Schema.optional<Schema.Boolean>;
13
- readonly counter_field: Schema.optional<Schema.String>;
14
- readonly weight: Schema.optional<Schema.Number>;
15
- }>>;
16
- }>;
17
- export type UpsertAnalyticsRuleInput = typeof UpsertAnalyticsRuleInput.Type;
18
- export declare const UpsertAnalyticsRuleOutput: Schema.Struct<{
19
- readonly name: Schema.String;
20
- readonly type: Schema.Literals<readonly ["popular_queries", "nohits_queries", "counter", "log"]>;
21
- readonly collection: Schema.String;
22
- readonly event_type: Schema.String;
23
- readonly rule_tag: Schema.optional<Schema.String>;
24
- readonly params: Schema.optional<Schema.Struct<{
25
- readonly destination_collection: Schema.optional<Schema.String>;
26
- readonly limit: Schema.optional<Schema.Number>;
27
- readonly capture_search_requests: Schema.optional<Schema.Boolean>;
28
- readonly meta_fields: Schema.optional<Schema.$Array<Schema.String>>;
29
- readonly expand_query: Schema.optional<Schema.Boolean>;
30
- readonly counter_field: Schema.optional<Schema.String>;
31
- readonly weight: Schema.optional<Schema.Number>;
32
- }>>;
33
- }>;
34
- export type UpsertAnalyticsRuleOutput = typeof UpsertAnalyticsRuleOutput.Type;
3
+ export interface UpsertAnalyticsRuleInput {
4
+ ruleName: string;
5
+ name?: string;
6
+ rule_tag?: string;
7
+ params?: {
8
+ destination_collection?: string;
9
+ limit?: number;
10
+ capture_search_requests?: boolean;
11
+ meta_fields?: string[];
12
+ expand_query?: boolean;
13
+ counter_field?: string;
14
+ weight?: number;
15
+ };
16
+ }
17
+ export declare const UpsertAnalyticsRuleInput: Schema.Codec<UpsertAnalyticsRuleInput>;
18
+ export interface UpsertAnalyticsRuleOutput {
19
+ name: string;
20
+ type: "popular_queries" | "nohits_queries" | "counter" | "log";
21
+ collection: string;
22
+ event_type: string;
23
+ rule_tag?: string;
24
+ params?: {
25
+ destination_collection?: string;
26
+ limit?: number;
27
+ capture_search_requests?: boolean;
28
+ meta_fields?: string[];
29
+ expand_query?: boolean;
30
+ counter_field?: string;
31
+ weight?: number;
32
+ };
33
+ }
34
+ export declare const UpsertAnalyticsRuleOutput: Schema.Codec<UpsertAnalyticsRuleOutput>;
35
35
  /**
36
36
  * Upserts an analytics rule
37
37
  *
@@ -39,33 +39,5 @@ export type UpsertAnalyticsRuleOutput = typeof UpsertAnalyticsRuleOutput.Type;
39
39
  *
40
40
  * @param ruleName - The name of the analytics rule to upsert
41
41
  */
42
- export declare const upsertAnalyticsRule: import("@distilled.cloud/core/client").OperationMethod<{
43
- readonly ruleName: string;
44
- readonly name?: string | undefined;
45
- readonly rule_tag?: string | undefined;
46
- readonly params?: {
47
- readonly destination_collection?: string | undefined;
48
- readonly limit?: number | undefined;
49
- readonly capture_search_requests?: boolean | undefined;
50
- readonly meta_fields?: readonly string[] | undefined;
51
- readonly expand_query?: boolean | undefined;
52
- readonly counter_field?: string | undefined;
53
- readonly weight?: number | undefined;
54
- } | undefined;
55
- }, {
56
- readonly name: string;
57
- readonly type: "counter" | "log" | "nohits_queries" | "popular_queries";
58
- readonly collection: string;
59
- readonly event_type: string;
60
- readonly rule_tag?: string | undefined;
61
- readonly params?: {
62
- readonly destination_collection?: string | undefined;
63
- readonly limit?: number | undefined;
64
- readonly capture_search_requests?: boolean | undefined;
65
- readonly meta_fields?: readonly string[] | undefined;
66
- readonly expand_query?: boolean | undefined;
67
- readonly counter_field?: string | undefined;
68
- readonly weight?: number | undefined;
69
- } | undefined;
70
- }, BadRequest, import("~/credentials.ts").Credentials, never>;
42
+ export declare const upsertAnalyticsRule: import("@distilled.cloud/core/client").OperationMethod<UpsertAnalyticsRuleInput, UpsertAnalyticsRuleOutput, BadRequest, import("../credentials.ts").Credentials, never>;
71
43
  //# sourceMappingURL=upsertAnalyticsRule.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upsertAnalyticsRule.d.ts","sourceRoot":"","sources":["../../src/operations/upsertAnalyticsRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,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AAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE;QACP,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,uBAAuB,CAAC,EAAE,OAAO,CAAC;QAClC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;QACvB,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACH;AACD,eAAO,MAAM,yBAAyB,EAuBnB,MAAM,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAG3D;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,yKAI7B,CAAC"}
@@ -2,7 +2,6 @@ import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
4
  import { BadRequest } from "../errors.js";
5
- // Input Schema
6
5
  export const UpsertAnalyticsRuleInput =
7
6
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
7
  ruleName: Schema.String.pipe(T.PathParam()),
@@ -18,7 +17,6 @@ export const UpsertAnalyticsRuleInput =
18
17
  weight: Schema.optional(Schema.Number),
19
18
  })),
20
19
  }).pipe(T.Http({ method: "PUT", path: "/analytics/rules/{ruleName}" }));
21
- // Output Schema
22
20
  export const UpsertAnalyticsRuleOutput =
23
21
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
24
22
  name: Schema.String,
@@ -1 +1 @@
1
- {"version":3,"file":"upsertAnalyticsRule.js","sourceRoot":"","sources":["../../src/operations/upsertAnalyticsRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CA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CurationSetInput: Schema.Struct<{
4
- readonly curationSetName: Schema.String;
5
- readonly items: Schema.$Array<Schema.Struct<{
6
- readonly rule: Schema.Struct<{
7
- readonly tags: Schema.optional<Schema.$Array<Schema.String>>;
8
- readonly query: Schema.optional<Schema.String>;
9
- readonly match: Schema.optional<Schema.Literals<readonly ["exact", "contains"]>>;
10
- readonly filter_by: Schema.optional<Schema.String>;
11
- }>;
12
- readonly includes: Schema.optional<Schema.$Array<Schema.Struct<{
13
- readonly id: Schema.String;
14
- readonly position: Schema.Number;
15
- }>>>;
16
- readonly excludes: Schema.optional<Schema.$Array<Schema.Struct<{
17
- readonly id: Schema.String;
18
- }>>>;
19
- readonly filter_by: Schema.optional<Schema.String>;
20
- readonly remove_matched_tokens: Schema.optional<Schema.Boolean>;
21
- readonly metadata: Schema.optional<Schema.Unknown>;
22
- readonly sort_by: Schema.optional<Schema.String>;
23
- readonly replace_query: Schema.optional<Schema.String>;
24
- readonly filter_curated_hits: Schema.optional<Schema.Boolean>;
25
- readonly effective_from_ts: Schema.optional<Schema.Number>;
26
- readonly effective_to_ts: Schema.optional<Schema.Number>;
27
- readonly stop_processing: Schema.optional<Schema.Boolean>;
28
- readonly id: Schema.optional<Schema.String>;
29
- }>>;
30
- readonly description: Schema.optional<Schema.String>;
31
- }>;
32
- export type UpsertCurationSetInput = typeof UpsertCurationSetInput.Type;
33
- export declare const UpsertCurationSetOutput: Schema.Struct<{
34
- readonly items: Schema.$Array<Schema.Struct<{
35
- readonly rule: Schema.Struct<{
36
- readonly tags: Schema.optional<Schema.$Array<Schema.String>>;
37
- readonly query: Schema.optional<Schema.String>;
38
- readonly match: Schema.optional<Schema.Literals<readonly ["exact", "contains"]>>;
39
- readonly filter_by: Schema.optional<Schema.String>;
40
- }>;
41
- readonly includes: Schema.optional<Schema.$Array<Schema.Struct<{
42
- readonly id: Schema.String;
43
- readonly position: Schema.Number;
44
- }>>>;
45
- readonly excludes: Schema.optional<Schema.$Array<Schema.Struct<{
46
- readonly id: Schema.String;
47
- }>>>;
48
- readonly filter_by: Schema.optional<Schema.String>;
49
- readonly remove_matched_tokens: Schema.optional<Schema.Boolean>;
50
- readonly metadata: Schema.optional<Schema.Unknown>;
51
- readonly sort_by: Schema.optional<Schema.String>;
52
- readonly replace_query: Schema.optional<Schema.String>;
53
- readonly filter_curated_hits: Schema.optional<Schema.Boolean>;
54
- readonly effective_from_ts: Schema.optional<Schema.Number>;
55
- readonly effective_to_ts: Schema.optional<Schema.Number>;
56
- readonly stop_processing: Schema.optional<Schema.Boolean>;
57
- readonly id: Schema.optional<Schema.String>;
58
- }>>;
59
- readonly description: Schema.optional<Schema.String>;
60
- readonly name: Schema.String;
61
- }>;
62
- export type UpsertCurationSetOutput = typeof UpsertCurationSetOutput.Type;
3
+ export interface UpsertCurationSetInput {
4
+ curationSetName: string;
5
+ items: {
6
+ rule: {
7
+ tags?: string[];
8
+ query?: string;
9
+ match?: "exact" | "contains";
10
+ filter_by?: string;
11
+ };
12
+ includes?: {
13
+ id: string;
14
+ position: number;
15
+ }[];
16
+ excludes?: {
17
+ id: string;
18
+ }[];
19
+ filter_by?: string;
20
+ remove_matched_tokens?: boolean;
21
+ metadata?: unknown;
22
+ sort_by?: string;
23
+ replace_query?: string;
24
+ filter_curated_hits?: boolean;
25
+ effective_from_ts?: number;
26
+ effective_to_ts?: number;
27
+ stop_processing?: boolean;
28
+ id?: string;
29
+ }[];
30
+ description?: string;
31
+ }
32
+ export declare const UpsertCurationSetInput: Schema.Codec<UpsertCurationSetInput>;
33
+ export interface UpsertCurationSetOutput {
34
+ items: {
35
+ rule: {
36
+ tags?: string[];
37
+ query?: string;
38
+ match?: "exact" | "contains";
39
+ filter_by?: string;
40
+ };
41
+ includes?: {
42
+ id: string;
43
+ position: number;
44
+ }[];
45
+ excludes?: {
46
+ id: string;
47
+ }[];
48
+ filter_by?: string;
49
+ remove_matched_tokens?: boolean;
50
+ metadata?: unknown;
51
+ sort_by?: string;
52
+ replace_query?: string;
53
+ filter_curated_hits?: boolean;
54
+ effective_from_ts?: number;
55
+ effective_to_ts?: number;
56
+ stop_processing?: boolean;
57
+ id?: string;
58
+ }[];
59
+ description?: string;
60
+ name: string;
61
+ }
62
+ export declare const UpsertCurationSetOutput: Schema.Codec<UpsertCurationSetOutput>;
63
63
  /**
64
64
  * Create or update a curation set
65
65
  *
@@ -67,61 +67,5 @@ export type UpsertCurationSetOutput = typeof UpsertCurationSetOutput.Type;
67
67
  *
68
68
  * @param curationSetName - The name of the curation set to create/update
69
69
  */
70
- export declare const upsertCurationSet: import("@distilled.cloud/core/client").OperationMethod<{
71
- readonly curationSetName: string;
72
- readonly items: readonly {
73
- readonly rule: {
74
- readonly tags?: readonly string[] | undefined;
75
- readonly query?: string | undefined;
76
- readonly match?: "contains" | "exact" | undefined;
77
- readonly filter_by?: string | undefined;
78
- };
79
- readonly includes?: readonly {
80
- readonly id: string;
81
- readonly position: number;
82
- }[] | undefined;
83
- readonly excludes?: readonly {
84
- readonly id: string;
85
- }[] | undefined;
86
- readonly filter_by?: string | undefined;
87
- readonly remove_matched_tokens?: boolean | undefined;
88
- readonly metadata?: unknown;
89
- readonly sort_by?: string | undefined;
90
- readonly replace_query?: string | undefined;
91
- readonly filter_curated_hits?: boolean | undefined;
92
- readonly effective_from_ts?: number | undefined;
93
- readonly effective_to_ts?: number | undefined;
94
- readonly stop_processing?: boolean | undefined;
95
- readonly id?: string | undefined;
96
- }[];
97
- readonly description?: string | undefined;
98
- }, {
99
- readonly items: readonly {
100
- readonly rule: {
101
- readonly tags?: readonly string[] | undefined;
102
- readonly query?: string | undefined;
103
- readonly match?: "contains" | "exact" | undefined;
104
- readonly filter_by?: string | undefined;
105
- };
106
- readonly includes?: readonly {
107
- readonly id: string;
108
- readonly position: number;
109
- }[] | undefined;
110
- readonly excludes?: readonly {
111
- readonly id: string;
112
- }[] | undefined;
113
- readonly filter_by?: string | undefined;
114
- readonly remove_matched_tokens?: boolean | undefined;
115
- readonly metadata?: unknown;
116
- readonly sort_by?: string | undefined;
117
- readonly replace_query?: string | undefined;
118
- readonly filter_curated_hits?: boolean | undefined;
119
- readonly effective_from_ts?: number | undefined;
120
- readonly effective_to_ts?: number | undefined;
121
- readonly stop_processing?: boolean | undefined;
122
- readonly id?: string | undefined;
123
- }[];
124
- readonly description?: string | undefined;
125
- readonly name: string;
126
- }, BadRequest, import("~/credentials.ts").Credentials, never>;
70
+ export declare const upsertCurationSet: import("@distilled.cloud/core/client").OperationMethod<UpsertCurationSetInput, UpsertCurationSetOutput, BadRequest, import("../credentials.ts").Credentials, never>;
127
71
  //# sourceMappingURL=upsertCurationSet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upsertCurationSet.d.ts","sourceRoot":"","sources":["../../src/operations/upsertCurationSet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwCwC,CAAC;AAC5E,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuChC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6DAI3B,CAAC"}
1
+ {"version":3,"file":"upsertCurationSet.d.ts","sourceRoot":"","sources":["../../src/operations/upsertCurationSet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,WAAW,sBAAsB;IACrC,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,E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,QAAQ,CAAC,EAAE;YAAE,EAAE,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;KACb,EAAE,CAAC;IACJ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd;AACD,eAAO,MAAM,uBAAuB,EAuCjB,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;AAGzD;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,qKAI3B,CAAC"}
@@ -2,7 +2,6 @@ import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
4
  import { BadRequest } from "../errors.js";
5
- // Input Schema
6
5
  export const UpsertCurationSetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
6
  curationSetName: Schema.String.pipe(T.PathParam()),
8
7
  items: Schema.Array(Schema.Struct({
@@ -32,7 +31,6 @@ export const UpsertCurationSetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
32
31
  })),
33
32
  description: Schema.optional(Schema.String),
34
33
  }).pipe(T.Http({ method: "PUT", path: "/curation_sets/{curationSetName}" }));
35
- // Output Schema
36
34
  export const UpsertCurationSetOutput =
37
35
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
38
36
  items: Schema.Array(Schema.Struct({
@@ -1 +1 @@
1
- {"version":3,"file":"upsertCurationSet.js","sourceR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