@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,14 +1,14 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { NotFound } from "../errors.ts";
3
- export declare const DeleteSynonymSetItemInput: Schema.Struct<{
4
- readonly synonymSetName: Schema.String;
5
- readonly itemId: Schema.String;
6
- }>;
7
- export type DeleteSynonymSetItemInput = typeof DeleteSynonymSetItemInput.Type;
8
- export declare const DeleteSynonymSetItemOutput: Schema.Struct<{
9
- readonly id: Schema.String;
10
- }>;
11
- export type DeleteSynonymSetItemOutput = typeof DeleteSynonymSetItemOutput.Type;
3
+ export interface DeleteSynonymSetItemInput {
4
+ synonymSetName: string;
5
+ itemId: string;
6
+ }
7
+ export declare const DeleteSynonymSetItemInput: Schema.Codec<DeleteSynonymSetItemInput>;
8
+ export interface DeleteSynonymSetItemOutput {
9
+ id: string;
10
+ }
11
+ export declare const DeleteSynonymSetItemOutput: Schema.Codec<DeleteSynonymSetItemOutput>;
12
12
  /**
13
13
  * Delete a synonym set item
14
14
  *
@@ -17,10 +17,5 @@ export type DeleteSynonymSetItemOutput = typeof DeleteSynonymSetItemOutput.Type;
17
17
  * @param synonymSetName - The name of the synonym set
18
18
  * @param itemId - The id of the synonym item to delete
19
19
  */
20
- export declare const deleteSynonymSetItem: import("@distilled.cloud/core/client").OperationMethod<{
21
- readonly synonymSetName: string;
22
- readonly itemId: string;
23
- }, {
24
- readonly id: string;
25
- }, NotFound, import("~/credentials.ts").Credentials, never>;
20
+ export declare const deleteSynonymSetItem: import("@distilled.cloud/core/client").OperationMethod<DeleteSynonymSetItemInput, DeleteSynonymSetItemOutput, NotFound, import("../credentials.ts").Credentials, never>;
26
21
  //# sourceMappingURL=deleteSynonymSetItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deleteSynonymSetItem.d.ts","sourceRoot":"","sources":["../../src/operations/deleteSynonymSetItem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,eAAO,MAAM,yBAAyB;;;EASnC,CAAC;AACJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;EAGnC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB;;;;;2DAMhC,CAAC"}
1
+ {"version":3,"file":"deleteSynonymSetItem.d.ts","sourceRoot":"","sources":["../../src/operations/deleteSynonymSetItem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,WAAW,yBAAyB;IACxC,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,eAAO,MAAM,yBAAyB,EASpB,MAAM,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAG1D,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,eAAO,MAAM,0BAA0B,EAGpB,MAAM,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;AAG5D;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,yKAMhC,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 { NotFound } from "../errors.js";
5
- // Input Schema
6
5
  export const DeleteSynonymSetItemInput =
7
6
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
7
  synonymSetName: Schema.String.pipe(T.PathParam()),
@@ -11,7 +10,6 @@ export const DeleteSynonymSetItemInput =
11
10
  method: "DELETE",
12
11
  path: "/synonym_sets/{synonymSetName}/items/{itemId}",
13
12
  }));
14
- // Output Schema
15
13
  export const DeleteSynonymSetItemOutput =
16
14
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
17
15
  id: Schema.String,
@@ -1 +1 @@
1
- {"version":3,"file":"deleteSynonymSetItem.js","sourceRoot":"","sources":["../../src/operations/deleteSynonymSetItem.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,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,eAAe;AACf,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACjD,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC1C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,+CAA+C;CACtD,CAAC,CACH,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM;CAClB,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACtE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,yBAAyB;IACtC,YAAY,EAAE,0BAA0B;IACxC,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CACH,CAAC"}
1
+ {"version":3,"file":"deleteSynonymSetItem.js","sourceRoot":"","sources":["../../src/operations/deleteSynonymSetItem.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,QAAQ,EAAE,MAAM,cAAc,CAAC;AAOxC,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACjD,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC1C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,+CAA+C;CACtD,CAAC,CACmD,CAAC;AAM1D,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM;CAClB,CAAwD,CAAC;AAE5D,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACtE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,yBAAyB;IACtC,YAAY,EAAE,0BAA0B;IACxC,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CACH,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { NotFound } from "../errors.ts";
3
- export declare const ExportDocumentsInput: Schema.Struct<{
4
- readonly collectionName: Schema.String;
5
- readonly exportDocumentsParameters: Schema.optional<Schema.String>;
6
- }>;
7
- export type ExportDocumentsInput = typeof ExportDocumentsInput.Type;
8
- export declare const ExportDocumentsOutput: Schema.Void;
9
- export type ExportDocumentsOutput = typeof ExportDocumentsOutput.Type;
3
+ export interface ExportDocumentsInput {
4
+ collectionName: string;
5
+ exportDocumentsParameters?: string;
6
+ }
7
+ export declare const ExportDocumentsInput: Schema.Codec<ExportDocumentsInput>;
8
+ export type ExportDocumentsOutput = void;
9
+ export declare const ExportDocumentsOutput: Schema.Codec<ExportDocumentsOutput>;
10
10
  /**
11
11
  * Export all documents in a collection
12
12
  *
@@ -14,8 +14,5 @@ export type ExportDocumentsOutput = typeof ExportDocumentsOutput.Type;
14
14
  *
15
15
  * @param collectionName - The name of the collection
16
16
  */
17
- export declare const exportDocuments: import("@distilled.cloud/core/client").OperationMethod<{
18
- readonly collectionName: string;
19
- readonly exportDocumentsParameters?: string | undefined;
20
- }, void, NotFound, import("~/credentials.ts").Credentials, never>;
17
+ export declare const exportDocuments: import("@distilled.cloud/core/client").OperationMethod<ExportDocumentsInput, void, NotFound, import("../credentials.ts").Credentials, never>;
21
18
  //# sourceMappingURL=exportDocuments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exportDocuments.d.ts","sourceRoot":"","sources":["../../src/operations/exportDocuments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,eAAO,MAAM,oBAAoB;;;EAQhC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB,aAA0C,CAAC;AAC7E,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;iEAIzB,CAAC"}
1
+ {"version":3,"file":"exportDocuments.d.ts","sourceRoot":"","sources":["../../src/operations/exportDocuments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,MAAM,CAAC;IACvB,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC;AACD,eAAO,MAAM,oBAAoB,EAQjB,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;AAGnD,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC;AACzC,eAAO,MAAM,qBAAqB,EACsB,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;AAG5F;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,8IAIzB,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 { NotFound } from "../errors.js";
5
- // Input Schema
6
5
  export const ExportDocumentsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
6
  collectionName: Schema.String.pipe(T.PathParam()),
8
7
  exportDocumentsParameters: Schema.optional(Schema.String),
@@ -10,8 +9,8 @@ export const ExportDocumentsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
9
  method: "GET",
11
10
  path: "/collections/{collectionName}/documents/export",
12
11
  }));
13
- // Output Schema
14
- export const ExportDocumentsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
12
+ export const ExportDocumentsOutput =
13
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
15
14
  // The operation
16
15
  /**
17
16
  * Export all documents in a collection
@@ -1 +1 @@
1
- {"version":3,"file":"exportDocuments.js","sourceRoot":"","sources":["../../src/operations/exportDocuments.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,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,eAAe;AACf,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5E,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACjD,yBAAyB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC1D,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,gDAAgD;CACvD,CAAC,CACH,CAAC;AAGF,gBAAgB;AAChB,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAG7E,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACzE,WAAW,EAAE,oBAAoB;IACjC,YAAY,EAAE,qBAAqB;IACnC,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"exportDocuments.js","sourceRoot":"","sources":["../../src/operations/exportDocuments.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,QAAQ,EAAE,MAAM,cAAc,CAAC;AAOxC,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5E,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACjD,yBAAyB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC1D,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,gDAAgD;CACvD,CAAC,CAC8C,CAAC;AAInD,MAAM,CAAC,MAAM,qBAAqB;AAChC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAsD,CAAC;AAE5F,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACzE,WAAW,EAAE,oBAAoB;IACjC,YAAY,EAAE,qBAAqB;IACnC,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
@@ -1,16 +1,15 @@
1
1
  import * as Schema from "effect/Schema";
2
- export declare const FlushAnalyticsInput: Schema.Struct<{}>;
3
- export type FlushAnalyticsInput = typeof FlushAnalyticsInput.Type;
4
- export declare const FlushAnalyticsOutput: Schema.Struct<{
5
- readonly ok: Schema.Boolean;
6
- }>;
7
- export type FlushAnalyticsOutput = typeof FlushAnalyticsOutput.Type;
2
+ export interface FlushAnalyticsInput {
3
+ }
4
+ export declare const FlushAnalyticsInput: Schema.Codec<FlushAnalyticsInput>;
5
+ export interface FlushAnalyticsOutput {
6
+ ok: boolean;
7
+ }
8
+ export declare const FlushAnalyticsOutput: Schema.Codec<FlushAnalyticsOutput>;
8
9
  /**
9
10
  * Flush in-memory analytics to disk
10
11
  *
11
12
  * Triggers a flush of analytics data to persistent storage.
12
13
  */
13
- export declare const flushAnalytics: import("@distilled.cloud/core/client").OperationMethod<{}, {
14
- readonly ok: boolean;
15
- }, never, import("~/credentials.ts").Credentials, never>;
14
+ export declare const flushAnalytics: import("@distilled.cloud/core/client").OperationMethod<FlushAnalyticsInput, FlushAnalyticsOutput, never, import("../credentials.ts").Credentials, never>;
16
15
  //# sourceMappingURL=flushAnalytics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flushAnalytics.d.ts","sourceRoot":"","sources":["../../src/operations/flushAnalytics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mBAAmB,mBAE4B,CAAC;AAC7D,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;EAE/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;GAIG;AACH,eAAO,MAAM,cAAc;;wDAGxB,CAAC"}
1
+ {"version":3,"file":"flushAnalytics.d.ts","sourceRoot":"","sources":["../../src/operations/flushAnalytics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,mBAAmB;CAAG;AACvC,eAAO,MAAM,mBAAmB,EAIhB,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAGlD,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,OAAO,CAAC;CACb;AACD,eAAO,MAAM,oBAAoB,EAEhB,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;AAGpD;;;;GAIG;AACH,eAAO,MAAM,cAAc,0JAGxB,CAAC"}
@@ -1,9 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
- // Input Schema
5
4
  export const FlushAnalyticsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "POST", path: "/analytics/flush" }));
6
- // Output Schema
7
5
  export const FlushAnalyticsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
6
  ok: Schema.Boolean,
9
7
  });
@@ -1 +1 @@
1
- {"version":3,"file":"flushAnalytics.js","sourceRoot":"","sources":["../../src/operations/flushAnalytics.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;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC1E,EAAE,CACH,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC;AAG7D,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5E,EAAE,EAAE,MAAM,CAAC,OAAO;CACnB,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACxE,WAAW,EAAE,mBAAmB;IAChC,YAAY,EAAE,oBAAoB;CACnC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"flushAnalytics.js","sourceRoot":"","sources":["../../src/operations/flushAnalytics.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;AAIlC,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC1E,EAAE,CACH,CAAC,IAAI,CACJ,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CACL,CAAC;AAMlD,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5E,EAAE,EAAE,MAAM,CAAC,OAAO;CACnB,CAAkD,CAAC;AAEpD,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACxE,WAAW,EAAE,mBAAmB;IAChC,YAAY,EAAE,oBAAoB;CACnC,CAAC,CAAC,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { NotFound } from "../errors.ts";
3
- export declare const GetAliasInput: Schema.Struct<{
4
- readonly aliasName: Schema.String;
5
- }>;
6
- export type GetAliasInput = typeof GetAliasInput.Type;
7
- export declare const GetAliasOutput: Schema.Struct<{
8
- readonly name: Schema.String;
9
- readonly collection_name: Schema.String;
10
- }>;
11
- export type GetAliasOutput = typeof GetAliasOutput.Type;
3
+ export interface GetAliasInput {
4
+ aliasName: string;
5
+ }
6
+ export declare const GetAliasInput: Schema.Codec<GetAliasInput>;
7
+ export interface GetAliasOutput {
8
+ name: string;
9
+ collection_name: string;
10
+ }
11
+ export declare const GetAliasOutput: Schema.Codec<GetAliasOutput>;
12
12
  /**
13
13
  * Retrieve an alias
14
14
  *
@@ -16,10 +16,5 @@ export type GetAliasOutput = typeof GetAliasOutput.Type;
16
16
  *
17
17
  * @param aliasName - The name of the alias to retrieve
18
18
  */
19
- export declare const getAlias: import("@distilled.cloud/core/client").OperationMethod<{
20
- readonly aliasName: string;
21
- }, {
22
- readonly name: string;
23
- readonly collection_name: string;
24
- }, NotFound, import("~/credentials.ts").Credentials, never>;
19
+ export declare const getAlias: import("@distilled.cloud/core/client").OperationMethod<GetAliasInput, GetAliasOutput, NotFound, import("../credentials.ts").Credentials, never>;
25
20
  //# sourceMappingURL=getAlias.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAlias.d.ts","sourceRoot":"","sources":["../../src/operations/getAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,eAAO,MAAM,aAAa;;EAEsC,CAAC;AACjE,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,IAAI,CAAC;AAGtD,eAAO,MAAM,cAAc;;;EAGzB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,IAAI,CAAC;AAGxD;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ;;;;;2DAIlB,CAAC"}
1
+ {"version":3,"file":"getAlias.d.ts","sourceRoot":"","sources":["../../src/operations/getAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,eAAO,MAAM,aAAa,EAIV,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;AAG5C,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;CACzB;AACD,eAAO,MAAM,cAAc,EAGV,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAG9C;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,iJAIlB,CAAC"}
@@ -2,11 +2,9 @@ import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
4
  import { NotFound } from "../errors.js";
5
- // Input Schema
6
5
  export const GetAliasInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
6
  aliasName: Schema.String.pipe(T.PathParam()),
8
7
  }).pipe(T.Http({ method: "GET", path: "/aliases/{aliasName}" }));
9
- // Output Schema
10
8
  export const GetAliasOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
11
9
  name: Schema.String,
12
10
  collection_name: Schema.String,
@@ -1 +1 @@
1
- {"version":3,"file":"getAlias.js","sourceRoot":"","sources":["../../src/operations/getAlias.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,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,eAAe;AACf,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACrE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC7C,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,cAAc,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACtE,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,eAAe,EAAE,MAAM,CAAC,MAAM;CAC/B,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAClE,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"getAlias.js","sourceRoot":"","sources":["../../src/operations/getAlias.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,QAAQ,EAAE,MAAM,cAAc,CAAC;AAMxC,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACrE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC,CACd,CAAC;AAO5C,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACtE,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,eAAe,EAAE,MAAM,CAAC,MAAM;CAC/B,CAA4C,CAAC;AAE9C,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAClE,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
@@ -1,22 +1,18 @@
1
1
  import * as Schema from "effect/Schema";
2
- export declare const GetAliasesInput: Schema.Struct<{}>;
3
- export type GetAliasesInput = typeof GetAliasesInput.Type;
4
- export declare const GetAliasesOutput: Schema.Struct<{
5
- readonly aliases: Schema.$Array<Schema.Struct<{
6
- readonly name: Schema.String;
7
- readonly collection_name: Schema.String;
8
- }>>;
9
- }>;
10
- export type GetAliasesOutput = typeof GetAliasesOutput.Type;
2
+ export interface GetAliasesInput {
3
+ }
4
+ export declare const GetAliasesInput: Schema.Codec<GetAliasesInput>;
5
+ export interface GetAliasesOutput {
6
+ aliases: {
7
+ name: string;
8
+ collection_name: string;
9
+ }[];
10
+ }
11
+ export declare const GetAliasesOutput: Schema.Codec<GetAliasesOutput>;
11
12
  /**
12
13
  * List all aliases
13
14
  *
14
15
  * List all aliases and the corresponding collections that they map to.
15
16
  */
16
- export declare const getAliases: import("@distilled.cloud/core/client").OperationMethod<{}, {
17
- readonly aliases: readonly {
18
- readonly name: string;
19
- readonly collection_name: string;
20
- }[];
21
- }, never, import("~/credentials.ts").Credentials, never>;
17
+ export declare const getAliases: import("@distilled.cloud/core/client").OperationMethod<GetAliasesInput, GetAliasesOutput, never, import("../credentials.ts").Credentials, never>;
22
18
  //# sourceMappingURL=getAliases.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAliases.d.ts","sourceRoot":"","sources":["../../src/operations/getAliases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,eAAe,mBAEuB,CAAC;AACpD,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC;AAG1D,eAAO,MAAM,gBAAgB;;;;;EAO3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D;;;;GAIG;AACH,eAAO,MAAM,UAAU;;;;;wDAGpB,CAAC"}
1
+ {"version":3,"file":"getAliases.d.ts","sourceRoot":"","sources":["../../src/operations/getAliases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,eAAe;CAAG;AACnC,eAAO,MAAM,eAAe,EAIZ,MAAM,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;AAG9C,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACtD;AACD,eAAO,MAAM,gBAAgB,EAOZ,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;AAGhD;;;;GAIG;AACH,eAAO,MAAM,UAAU,kJAGpB,CAAC"}
@@ -1,9 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
- // Input Schema
5
4
  export const GetAliasesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/aliases" }));
6
- // Output Schema
7
5
  export const GetAliasesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
6
  aliases: Schema.Array(Schema.Struct({
9
7
  name: Schema.String,
@@ -1 +1 @@
1
- {"version":3,"file":"getAliases.js","sourceRoot":"","sources":["../../src/operations/getAliases.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;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CACtE,EAAE,CACH,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;AAGpD,gBAAgB;AAChB,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxE,OAAO,EAAE,MAAM,CAAC,KAAK,CACnB,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,eAAe,EAAE,MAAM,CAAC,MAAM;KAC/B,CAAC,CACH;CACF,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACpE,WAAW,EAAE,eAAe;IAC5B,YAAY,EAAE,gBAAgB;CAC/B,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"getAliases.js","sourceRoot":"","sources":["../../src/operations/getAliases.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;AAIlC,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CACtE,EAAE,CACH,CAAC,IAAI,CACJ,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CACA,CAAC;AAM9C,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxE,OAAO,EAAE,MAAM,CAAC,KAAK,CACnB,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,eAAe,EAAE,MAAM,CAAC,MAAM;KAC/B,CAAC,CACH;CACF,CAA8C,CAAC;AAEhD,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACpE,WAAW,EAAE,eAAe;IAC5B,YAAY,EAAE,gBAAgB;CAC/B,CAAC,CAAC,CAAC"}
@@ -1,24 +1,24 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { BadRequest } from "../errors.ts";
3
- export declare const GetAnalyticsEventsInput: Schema.Struct<{
4
- readonly user_id: Schema.String;
5
- readonly name: Schema.String;
6
- readonly n: Schema.Number;
7
- }>;
8
- export type GetAnalyticsEventsInput = typeof GetAnalyticsEventsInput.Type;
9
- export declare const GetAnalyticsEventsOutput: Schema.Struct<{
10
- readonly events: Schema.$Array<Schema.Struct<{
11
- readonly name: Schema.optional<Schema.String>;
12
- readonly event_type: Schema.optional<Schema.String>;
13
- readonly collection: Schema.optional<Schema.String>;
14
- readonly timestamp: Schema.optional<Schema.Number>;
15
- readonly user_id: Schema.optional<Schema.String>;
16
- readonly doc_id: Schema.optional<Schema.String>;
17
- readonly doc_ids: Schema.optional<Schema.$Array<Schema.String>>;
18
- readonly query: Schema.optional<Schema.String>;
19
- }>>;
20
- }>;
21
- export type GetAnalyticsEventsOutput = typeof GetAnalyticsEventsOutput.Type;
3
+ export interface GetAnalyticsEventsInput {
4
+ user_id: string;
5
+ name: string;
6
+ n: number;
7
+ }
8
+ export declare const GetAnalyticsEventsInput: Schema.Codec<GetAnalyticsEventsInput>;
9
+ export interface GetAnalyticsEventsOutput {
10
+ events: {
11
+ name?: string;
12
+ event_type?: string;
13
+ collection?: string;
14
+ timestamp?: number;
15
+ user_id?: string;
16
+ doc_id?: string;
17
+ doc_ids?: string[];
18
+ query?: string;
19
+ }[];
20
+ }
21
+ export declare const GetAnalyticsEventsOutput: Schema.Codec<GetAnalyticsEventsOutput>;
22
22
  /**
23
23
  * Retrieve analytics events
24
24
  *
@@ -27,20 +27,5 @@ export type GetAnalyticsEventsOutput = typeof GetAnalyticsEventsOutput.Type;
27
27
  * @param name - Analytics rule name
28
28
  * @param n - Number of events to return (max 1000)
29
29
  */
30
- export declare const getAnalyticsEvents: import("@distilled.cloud/core/client").OperationMethod<{
31
- readonly user_id: string;
32
- readonly name: string;
33
- readonly n: number;
34
- }, {
35
- readonly events: readonly {
36
- readonly name?: string | undefined;
37
- readonly event_type?: string | undefined;
38
- readonly collection?: string | undefined;
39
- readonly timestamp?: number | undefined;
40
- readonly user_id?: string | undefined;
41
- readonly doc_id?: string | undefined;
42
- readonly doc_ids?: readonly string[] | undefined;
43
- readonly query?: string | undefined;
44
- }[];
45
- }, BadRequest, import("~/credentials.ts").Credentials, never>;
30
+ export declare const getAnalyticsEvents: import("@distilled.cloud/core/client").OperationMethod<GetAnalyticsEventsInput, GetAnalyticsEventsOutput, BadRequest, import("../credentials.ts").Credentials, never>;
46
31
  //# sourceMappingURL=getAnalyticsEvents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAnalyticsEvents.d.ts","sourceRoot":"","sources":["../../src/operations/getAnalyticsEvents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,eAAO,MAAM,uBAAuB;;;;EAK2B,CAAC;AAChE,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB;;;;;;;;;;;EAcjC,CAAC;AACL,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;6DAI5B,CAAC"}
1
+ {"version":3,"file":"getAnalyticsEvents.d.ts","sourceRoot":"","sources":["../../src/operations/getAnalyticsEvents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,EAAE,MAAM,CAAC;CACX;AACD,eAAO,MAAM,uBAAuB,EAOlB,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;AAGxD,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE;QACN,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;CACL;AACD,eAAO,MAAM,wBAAwB,EAclB,MAAM,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;AAG1D;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,uKAI5B,CAAC"}
@@ -2,14 +2,12 @@ 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 GetAnalyticsEventsInput =
7
6
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
7
  user_id: Schema.String,
9
8
  name: Schema.String,
10
9
  n: Schema.Number,
11
10
  }).pipe(T.Http({ method: "GET", path: "/analytics/events" }));
12
- // Output Schema
13
11
  export const GetAnalyticsEventsOutput =
14
12
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
15
13
  events: Schema.Array(Schema.Struct({
@@ -1 +1 @@
1
- {"version":3,"file":"getAnalyticsEvents.js","sourceRoot":"","sources":["../../src/operations/getAnalyticsEvents.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,CAAC;AAE1C,eAAe;AACf,MAAM,CAAC,MAAM,uBAAuB;AAClC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,CAAC,EAAE,MAAM,CAAC,MAAM;CACjB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC,CAAC,CAAC;AAGhE,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC,KAAK,CAClB,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACpC,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC1C,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC1C,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACzC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACvC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACtC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACrD,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACtC,CAAC,CACH;CACF,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC5E,WAAW,EAAE,uBAAuB;IACpC,YAAY,EAAE,wBAAwB;IACtC,MAAM,EAAE,CAAC,UAAU,CAAU;CAC9B,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"getAnalyticsEvents.js","sourceRoot":"","sources":["../../src/operations/getAnalyticsEvents.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,CAAC;AAQ1C,MAAM,CAAC,MAAM,uBAAuB;AAClC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,CAAC,EAAE,MAAM,CAAC,MAAM;CACjB,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC,CACD,CAAC;AAexD,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC,KAAK,CAClB,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACpC,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC1C,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC1C,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACzC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACvC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACtC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACrD,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACtC,CAAC,CACH;CACF,CAAsD,CAAC;AAE1D,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC5E,WAAW,EAAE,uBAAuB;IACpC,YAAY,EAAE,wBAAwB;IACtC,MAAM,EAAE,CAAC,UAAU,CAAU;CAC9B,CAAC,CAAC,CAAC"}
@@ -1,28 +1,21 @@
1
1
  import * as Schema from "effect/Schema";
2
- export declare const GetAnalyticsStatusInput: Schema.Struct<{}>;
3
- export type GetAnalyticsStatusInput = typeof GetAnalyticsStatusInput.Type;
4
- export declare const GetAnalyticsStatusOutput: Schema.Struct<{
5
- readonly popular_prefix_queries: Schema.optional<Schema.Number>;
6
- readonly nohits_prefix_queries: Schema.optional<Schema.Number>;
7
- readonly log_prefix_queries: Schema.optional<Schema.Number>;
8
- readonly query_log_events: Schema.optional<Schema.Number>;
9
- readonly query_counter_events: Schema.optional<Schema.Number>;
10
- readonly doc_log_events: Schema.optional<Schema.Number>;
11
- readonly doc_counter_events: Schema.optional<Schema.Number>;
12
- }>;
13
- export type GetAnalyticsStatusOutput = typeof GetAnalyticsStatusOutput.Type;
2
+ export interface GetAnalyticsStatusInput {
3
+ }
4
+ export declare const GetAnalyticsStatusInput: Schema.Codec<GetAnalyticsStatusInput>;
5
+ export interface GetAnalyticsStatusOutput {
6
+ popular_prefix_queries?: number;
7
+ nohits_prefix_queries?: number;
8
+ log_prefix_queries?: number;
9
+ query_log_events?: number;
10
+ query_counter_events?: number;
11
+ doc_log_events?: number;
12
+ doc_counter_events?: number;
13
+ }
14
+ export declare const GetAnalyticsStatusOutput: Schema.Codec<GetAnalyticsStatusOutput>;
14
15
  /**
15
16
  * Get analytics subsystem status
16
17
  *
17
18
  * Returns sizes of internal analytics buffers and queues.
18
19
  */
19
- export declare const getAnalyticsStatus: import("@distilled.cloud/core/client").OperationMethod<{}, {
20
- readonly popular_prefix_queries?: number | undefined;
21
- readonly nohits_prefix_queries?: number | undefined;
22
- readonly log_prefix_queries?: number | undefined;
23
- readonly query_log_events?: number | undefined;
24
- readonly query_counter_events?: number | undefined;
25
- readonly doc_log_events?: number | undefined;
26
- readonly doc_counter_events?: number | undefined;
27
- }, never, import("~/credentials.ts").Credentials, never>;
20
+ export declare const getAnalyticsStatus: import("@distilled.cloud/core/client").OperationMethod<GetAnalyticsStatusInput, GetAnalyticsStatusOutput, never, import("../credentials.ts").Credentials, never>;
28
21
  //# sourceMappingURL=getAnalyticsStatus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAnalyticsStatus.d.ts","sourceRoot":"","sources":["../../src/operations/getAnalyticsStatus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,uBAAuB,mBAGjC,CAAC;AACJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB;;;;;;;;EASjC,CAAC;AACL,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;wDAG5B,CAAC"}
1
+ {"version":3,"file":"getAnalyticsStatus.d.ts","sourceRoot":"","sources":["../../src/operations/getAnalyticsStatus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,uBAAuB;CAAG;AAC3C,eAAO,MAAM,uBAAuB,EAGlB,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;AAGxD,MAAM,WAAW,wBAAwB;IACvC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AACD,eAAO,MAAM,wBAAwB,EASlB,MAAM,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;AAG1D;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,kKAG5B,CAAC"}
@@ -1,10 +1,8 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
- // Input Schema
5
4
  export const GetAnalyticsStatusInput =
6
5
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/analytics/status" }));
7
- // Output Schema
8
6
  export const GetAnalyticsStatusOutput =
9
7
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
8
  popular_prefix_queries: Schema.optional(Schema.Number),
@@ -1 +1 @@
1
- {"version":3,"file":"getAnalyticsStatus.js","sourceRoot":"","sources":["../../src/operations/getAnalyticsStatus.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;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,uBAAuB;AAClC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAChD,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC,CACrD,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,sBAAsB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtD,qBAAqB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrD,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAClD,gBAAgB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAChD,oBAAoB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpD,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC9C,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACnD,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC5E,WAAW,EAAE,uBAAuB;IACpC,YAAY,EAAE,wBAAwB;CACvC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"getAnalyticsStatus.js","sourceRoot":"","sources":["../../src/operations/getAnalyticsStatus.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;AAIlC,MAAM,CAAC,MAAM,uBAAuB;AAClC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAChD,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC,CACD,CAAC;AAYxD,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,sBAAsB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtD,qBAAqB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrD,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAClD,gBAAgB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAChD,oBAAoB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpD,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC9C,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACnD,CAAsD,CAAC;AAE1D,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC5E,WAAW,EAAE,uBAAuB;IACpC,YAAY,EAAE,wBAAwB;CACvC,CAAC,CAAC,CAAC"}