@distilled.cloud/axiom 0.0.0 → 0.12.7

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 (455) hide show
  1. package/README.md +61 -6
  2. package/lib/category.d.ts +5 -0
  3. package/lib/category.d.ts.map +1 -0
  4. package/lib/category.js +5 -0
  5. package/lib/category.js.map +1 -0
  6. package/lib/client.d.ts +10 -0
  7. package/lib/client.d.ts.map +1 -0
  8. package/lib/client.js +102 -0
  9. package/lib/client.js.map +1 -0
  10. package/lib/credentials.d.ts +30 -0
  11. package/lib/credentials.d.ts.map +1 -0
  12. package/lib/credentials.js +31 -0
  13. package/lib/credentials.js.map +1 -0
  14. package/lib/errors.d.ts +31 -0
  15. package/lib/errors.d.ts.map +1 -0
  16. package/lib/errors.js +23 -0
  17. package/lib/errors.js.map +1 -0
  18. package/lib/index.d.ts +16 -0
  19. package/lib/index.d.ts.map +1 -0
  20. package/lib/index.js +16 -0
  21. package/lib/index.js.map +1 -0
  22. package/lib/operations/index.d.ts +4 -0
  23. package/lib/operations/index.d.ts.map +1 -0
  24. package/lib/operations/index.js +4 -0
  25. package/lib/operations/index.js.map +1 -0
  26. package/lib/operations/v1-edge-ingest/index.d.ts +2 -0
  27. package/lib/operations/v1-edge-ingest/index.d.ts.map +1 -0
  28. package/lib/operations/v1-edge-ingest/index.js +2 -0
  29. package/lib/operations/v1-edge-ingest/index.js.map +1 -0
  30. package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts +46 -0
  31. package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts.map +1 -0
  32. package/lib/operations/v1-edge-ingest/ingestToDataset.js +38 -0
  33. package/lib/operations/v1-edge-ingest/ingestToDataset.js.map +1 -0
  34. package/lib/operations/v1-edge-query/index.d.ts +2 -0
  35. package/lib/operations/v1-edge-query/index.d.ts.map +1 -0
  36. package/lib/operations/v1-edge-query/index.js +2 -0
  37. package/lib/operations/v1-edge-query/index.js.map +1 -0
  38. package/lib/operations/v1-edge-query/queryApl.d.ts +124 -0
  39. package/lib/operations/v1-edge-query/queryApl.d.ts.map +1 -0
  40. package/lib/operations/v1-edge-query/queryApl.js +74 -0
  41. package/lib/operations/v1-edge-query/queryApl.js.map +1 -0
  42. package/lib/operations/v2/createAPIToken.d.ts +165 -0
  43. package/lib/operations/v2/createAPIToken.d.ts.map +1 -0
  44. package/lib/operations/v2/createAPIToken.js +91 -0
  45. package/lib/operations/v2/createAPIToken.js.map +1 -0
  46. package/lib/operations/v2/createAnnotation.d.ts +45 -0
  47. package/lib/operations/v2/createAnnotation.d.ts.map +1 -0
  48. package/lib/operations/v2/createAnnotation.js +35 -0
  49. package/lib/operations/v2/createAnnotation.js.map +1 -0
  50. package/lib/operations/v2/createDashboard.d.ts +147 -0
  51. package/lib/operations/v2/createDashboard.d.ts.map +1 -0
  52. package/lib/operations/v2/createDashboard.js +115 -0
  53. package/lib/operations/v2/createDashboard.js.map +1 -0
  54. package/lib/operations/v2/createDataset.d.ts +55 -0
  55. package/lib/operations/v2/createDataset.d.ts.map +1 -0
  56. package/lib/operations/v2/createDataset.js +51 -0
  57. package/lib/operations/v2/createDataset.js.map +1 -0
  58. package/lib/operations/v2/createGroup.d.ts +39 -0
  59. package/lib/operations/v2/createGroup.d.ts.map +1 -0
  60. package/lib/operations/v2/createGroup.js +33 -0
  61. package/lib/operations/v2/createGroup.js.map +1 -0
  62. package/lib/operations/v2/createMapField.d.ts +18 -0
  63. package/lib/operations/v2/createMapField.d.ts.map +1 -0
  64. package/lib/operations/v2/createMapField.js +20 -0
  65. package/lib/operations/v2/createMapField.js.map +1 -0
  66. package/lib/operations/v2/createMonitor.d.ts +117 -0
  67. package/lib/operations/v2/createMonitor.d.ts.map +1 -0
  68. package/lib/operations/v2/createMonitor.js +83 -0
  69. package/lib/operations/v2/createMonitor.js.map +1 -0
  70. package/lib/operations/v2/createNotifier.d.ts +181 -0
  71. package/lib/operations/v2/createNotifier.d.ts.map +1 -0
  72. package/lib/operations/v2/createNotifier.js +100 -0
  73. package/lib/operations/v2/createNotifier.js.map +1 -0
  74. package/lib/operations/v2/createOrg.d.ts +101 -0
  75. package/lib/operations/v2/createOrg.d.ts.map +1 -0
  76. package/lib/operations/v2/createOrg.js +77 -0
  77. package/lib/operations/v2/createOrg.js.map +1 -0
  78. package/lib/operations/v2/createRole.d.ts +163 -0
  79. package/lib/operations/v2/createRole.d.ts.map +1 -0
  80. package/lib/operations/v2/createRole.js +91 -0
  81. package/lib/operations/v2/createRole.js.map +1 -0
  82. package/lib/operations/v2/createStarred.d.ts +166 -0
  83. package/lib/operations/v2/createStarred.d.ts.map +1 -0
  84. package/lib/operations/v2/createStarred.js +102 -0
  85. package/lib/operations/v2/createStarred.js.map +1 -0
  86. package/lib/operations/v2/createUser.d.ts +35 -0
  87. package/lib/operations/v2/createUser.d.ts.map +1 -0
  88. package/lib/operations/v2/createUser.js +30 -0
  89. package/lib/operations/v2/createUser.js.map +1 -0
  90. package/lib/operations/v2/createView.d.ts +36 -0
  91. package/lib/operations/v2/createView.d.ts.map +1 -0
  92. package/lib/operations/v2/createView.js +29 -0
  93. package/lib/operations/v2/createView.js.map +1 -0
  94. package/lib/operations/v2/createVirtualField.d.ts +38 -0
  95. package/lib/operations/v2/createVirtualField.d.ts.map +1 -0
  96. package/lib/operations/v2/createVirtualField.js +32 -0
  97. package/lib/operations/v2/createVirtualField.js.map +1 -0
  98. package/lib/operations/v2/deleteAPIToken.d.ts +15 -0
  99. package/lib/operations/v2/deleteAPIToken.d.ts.map +1 -0
  100. package/lib/operations/v2/deleteAPIToken.js +20 -0
  101. package/lib/operations/v2/deleteAPIToken.js.map +1 -0
  102. package/lib/operations/v2/deleteAnnotation.d.ts +17 -0
  103. package/lib/operations/v2/deleteAnnotation.d.ts.map +1 -0
  104. package/lib/operations/v2/deleteAnnotation.js +22 -0
  105. package/lib/operations/v2/deleteAnnotation.js.map +1 -0
  106. package/lib/operations/v2/deleteDashboard.d.ts +17 -0
  107. package/lib/operations/v2/deleteDashboard.d.ts.map +1 -0
  108. package/lib/operations/v2/deleteDashboard.js +22 -0
  109. package/lib/operations/v2/deleteDashboard.js.map +1 -0
  110. package/lib/operations/v2/deleteDataset.d.ts +15 -0
  111. package/lib/operations/v2/deleteDataset.d.ts.map +1 -0
  112. package/lib/operations/v2/deleteDataset.js +20 -0
  113. package/lib/operations/v2/deleteDataset.js.map +1 -0
  114. package/lib/operations/v2/deleteGroup.d.ts +19 -0
  115. package/lib/operations/v2/deleteGroup.d.ts.map +1 -0
  116. package/lib/operations/v2/deleteGroup.js +24 -0
  117. package/lib/operations/v2/deleteGroup.js.map +1 -0
  118. package/lib/operations/v2/deleteMapField.d.ts +14 -0
  119. package/lib/operations/v2/deleteMapField.d.ts.map +1 -0
  120. package/lib/operations/v2/deleteMapField.js +21 -0
  121. package/lib/operations/v2/deleteMapField.js.map +1 -0
  122. package/lib/operations/v2/deleteMonitor.d.ts +15 -0
  123. package/lib/operations/v2/deleteMonitor.d.ts.map +1 -0
  124. package/lib/operations/v2/deleteMonitor.js +20 -0
  125. package/lib/operations/v2/deleteMonitor.js.map +1 -0
  126. package/lib/operations/v2/deleteNotifier.d.ts +15 -0
  127. package/lib/operations/v2/deleteNotifier.d.ts.map +1 -0
  128. package/lib/operations/v2/deleteNotifier.js +20 -0
  129. package/lib/operations/v2/deleteNotifier.js.map +1 -0
  130. package/lib/operations/v2/deleteRole.d.ts +19 -0
  131. package/lib/operations/v2/deleteRole.d.ts.map +1 -0
  132. package/lib/operations/v2/deleteRole.js +24 -0
  133. package/lib/operations/v2/deleteRole.js.map +1 -0
  134. package/lib/operations/v2/deleteStarred.d.ts +12 -0
  135. package/lib/operations/v2/deleteStarred.d.ts.map +1 -0
  136. package/lib/operations/v2/deleteStarred.js +17 -0
  137. package/lib/operations/v2/deleteStarred.js.map +1 -0
  138. package/lib/operations/v2/deleteView.d.ts +12 -0
  139. package/lib/operations/v2/deleteView.d.ts.map +1 -0
  140. package/lib/operations/v2/deleteView.js +17 -0
  141. package/lib/operations/v2/deleteView.js.map +1 -0
  142. package/lib/operations/v2/deleteVirtualField.d.ts +12 -0
  143. package/lib/operations/v2/deleteVirtualField.d.ts.map +1 -0
  144. package/lib/operations/v2/deleteVirtualField.js +18 -0
  145. package/lib/operations/v2/deleteVirtualField.js.map +1 -0
  146. package/lib/operations/v2/getAPIToken.d.ts +93 -0
  147. package/lib/operations/v2/getAPIToken.d.ts.map +1 -0
  148. package/lib/operations/v2/getAPIToken.js +57 -0
  149. package/lib/operations/v2/getAPIToken.js.map +1 -0
  150. package/lib/operations/v2/getAPITokens.d.ts +88 -0
  151. package/lib/operations/v2/getAPITokens.d.ts.map +1 -0
  152. package/lib/operations/v2/getAPITokens.js +53 -0
  153. package/lib/operations/v2/getAPITokens.js.map +1 -0
  154. package/lib/operations/v2/getAnnotation.d.ts +35 -0
  155. package/lib/operations/v2/getAnnotation.d.ts.map +1 -0
  156. package/lib/operations/v2/getAnnotation.js +31 -0
  157. package/lib/operations/v2/getAnnotation.js.map +1 -0
  158. package/lib/operations/v2/getAnnotations.d.ts +40 -0
  159. package/lib/operations/v2/getAnnotations.d.ts.map +1 -0
  160. package/lib/operations/v2/getAnnotations.js +33 -0
  161. package/lib/operations/v2/getAnnotations.js.map +1 -0
  162. package/lib/operations/v2/getCurrentUser.d.ts +26 -0
  163. package/lib/operations/v2/getCurrentUser.d.ts.map +1 -0
  164. package/lib/operations/v2/getCurrentUser.js +24 -0
  165. package/lib/operations/v2/getCurrentUser.js.map +1 -0
  166. package/lib/operations/v2/getDashboard.d.ts +83 -0
  167. package/lib/operations/v2/getDashboard.d.ts.map +1 -0
  168. package/lib/operations/v2/getDashboard.js +69 -0
  169. package/lib/operations/v2/getDashboard.js.map +1 -0
  170. package/lib/operations/v2/getDataset.d.ts +41 -0
  171. package/lib/operations/v2/getDataset.d.ts.map +1 -0
  172. package/lib/operations/v2/getDataset.js +38 -0
  173. package/lib/operations/v2/getDataset.js.map +1 -0
  174. package/lib/operations/v2/getDatasets.d.ts +37 -0
  175. package/lib/operations/v2/getDatasets.d.ts.map +1 -0
  176. package/lib/operations/v2/getDatasets.js +36 -0
  177. package/lib/operations/v2/getDatasets.js.map +1 -0
  178. package/lib/operations/v2/getFieldForDataset.d.ts +26 -0
  179. package/lib/operations/v2/getFieldForDataset.d.ts.map +1 -0
  180. package/lib/operations/v2/getFieldForDataset.js +29 -0
  181. package/lib/operations/v2/getFieldForDataset.js.map +1 -0
  182. package/lib/operations/v2/getFieldsForDataset.d.ts +24 -0
  183. package/lib/operations/v2/getFieldsForDataset.d.ts.map +1 -0
  184. package/lib/operations/v2/getFieldsForDataset.js +25 -0
  185. package/lib/operations/v2/getFieldsForDataset.js.map +1 -0
  186. package/lib/operations/v2/getGroupById.d.ts +33 -0
  187. package/lib/operations/v2/getGroupById.d.ts.map +1 -0
  188. package/lib/operations/v2/getGroupById.js +31 -0
  189. package/lib/operations/v2/getGroupById.js.map +1 -0
  190. package/lib/operations/v2/getMapFields.d.ts +12 -0
  191. package/lib/operations/v2/getMapFields.d.ts.map +1 -0
  192. package/lib/operations/v2/getMapFields.js +17 -0
  193. package/lib/operations/v2/getMapFields.js.map +1 -0
  194. package/lib/operations/v2/getMonitor.d.ts +71 -0
  195. package/lib/operations/v2/getMonitor.d.ts.map +1 -0
  196. package/lib/operations/v2/getMonitor.js +55 -0
  197. package/lib/operations/v2/getMonitor.js.map +1 -0
  198. package/lib/operations/v2/getMonitorHistory.d.ts +32 -0
  199. package/lib/operations/v2/getMonitorHistory.d.ts.map +1 -0
  200. package/lib/operations/v2/getMonitorHistory.js +30 -0
  201. package/lib/operations/v2/getMonitorHistory.js.map +1 -0
  202. package/lib/operations/v2/getMonitors.d.ts +64 -0
  203. package/lib/operations/v2/getMonitors.d.ts.map +1 -0
  204. package/lib/operations/v2/getMonitors.js +49 -0
  205. package/lib/operations/v2/getMonitors.js.map +1 -0
  206. package/lib/operations/v2/getNotifier.d.ts +103 -0
  207. package/lib/operations/v2/getNotifier.d.ts.map +1 -0
  208. package/lib/operations/v2/getNotifier.js +64 -0
  209. package/lib/operations/v2/getNotifier.js.map +1 -0
  210. package/lib/operations/v2/getNotifiers.d.ts +96 -0
  211. package/lib/operations/v2/getNotifiers.d.ts.map +1 -0
  212. package/lib/operations/v2/getNotifiers.js +58 -0
  213. package/lib/operations/v2/getNotifiers.js.map +1 -0
  214. package/lib/operations/v2/getOrg.d.ts +100 -0
  215. package/lib/operations/v2/getOrg.d.ts.map +1 -0
  216. package/lib/operations/v2/getOrg.js +78 -0
  217. package/lib/operations/v2/getOrg.js.map +1 -0
  218. package/lib/operations/v2/getOrgs.d.ts +95 -0
  219. package/lib/operations/v2/getOrgs.d.ts.map +1 -0
  220. package/lib/operations/v2/getOrgs.js +74 -0
  221. package/lib/operations/v2/getOrgs.js.map +1 -0
  222. package/lib/operations/v2/getRoleById.d.ts +95 -0
  223. package/lib/operations/v2/getRoleById.d.ts.map +1 -0
  224. package/lib/operations/v2/getRoleById.js +60 -0
  225. package/lib/operations/v2/getRoleById.js.map +1 -0
  226. package/lib/operations/v2/getStarred.d.ts +92 -0
  227. package/lib/operations/v2/getStarred.d.ts.map +1 -0
  228. package/lib/operations/v2/getStarred.js +61 -0
  229. package/lib/operations/v2/getStarred.js.map +1 -0
  230. package/lib/operations/v2/getStarredQueries.d.ts +106 -0
  231. package/lib/operations/v2/getStarredQueries.d.ts.map +1 -0
  232. package/lib/operations/v2/getStarredQueries.js +70 -0
  233. package/lib/operations/v2/getStarredQueries.js.map +1 -0
  234. package/lib/operations/v2/getUser.d.ts +31 -0
  235. package/lib/operations/v2/getUser.d.ts.map +1 -0
  236. package/lib/operations/v2/getUser.js +28 -0
  237. package/lib/operations/v2/getUser.js.map +1 -0
  238. package/lib/operations/v2/getUsers.d.ts +26 -0
  239. package/lib/operations/v2/getUsers.d.ts.map +1 -0
  240. package/lib/operations/v2/getUsers.js +24 -0
  241. package/lib/operations/v2/getUsers.js.map +1 -0
  242. package/lib/operations/v2/getView.d.ts +26 -0
  243. package/lib/operations/v2/getView.d.ts.map +1 -0
  244. package/lib/operations/v2/getView.js +24 -0
  245. package/lib/operations/v2/getView.js.map +1 -0
  246. package/lib/operations/v2/getViews.d.ts +21 -0
  247. package/lib/operations/v2/getViews.d.ts.map +1 -0
  248. package/lib/operations/v2/getViews.js +20 -0
  249. package/lib/operations/v2/getViews.js.map +1 -0
  250. package/lib/operations/v2/getVirtualField.d.ts +28 -0
  251. package/lib/operations/v2/getVirtualField.d.ts.map +1 -0
  252. package/lib/operations/v2/getVirtualField.js +25 -0
  253. package/lib/operations/v2/getVirtualField.js.map +1 -0
  254. package/lib/operations/v2/getVirtualFields.d.ts +27 -0
  255. package/lib/operations/v2/getVirtualFields.d.ts.map +1 -0
  256. package/lib/operations/v2/getVirtualFields.js +23 -0
  257. package/lib/operations/v2/getVirtualFields.js.map +1 -0
  258. package/lib/operations/v2/index.d.ts +77 -0
  259. package/lib/operations/v2/index.d.ts.map +1 -0
  260. package/lib/operations/v2/index.js +77 -0
  261. package/lib/operations/v2/index.js.map +1 -0
  262. package/lib/operations/v2/listDashboards.d.ts +84 -0
  263. package/lib/operations/v2/listDashboards.d.ts.map +1 -0
  264. package/lib/operations/v2/listDashboards.js +68 -0
  265. package/lib/operations/v2/listDashboards.js.map +1 -0
  266. package/lib/operations/v2/listGroups.d.ts +26 -0
  267. package/lib/operations/v2/listGroups.d.ts.map +1 -0
  268. package/lib/operations/v2/listGroups.js +25 -0
  269. package/lib/operations/v2/listGroups.js.map +1 -0
  270. package/lib/operations/v2/listRoles.d.ts +88 -0
  271. package/lib/operations/v2/listRoles.d.ts.map +1 -0
  272. package/lib/operations/v2/listRoles.js +54 -0
  273. package/lib/operations/v2/listRoles.js.map +1 -0
  274. package/lib/operations/v2/regenerateAPIToken.d.ts +175 -0
  275. package/lib/operations/v2/regenerateAPIToken.d.ts.map +1 -0
  276. package/lib/operations/v2/regenerateAPIToken.js +98 -0
  277. package/lib/operations/v2/regenerateAPIToken.js.map +1 -0
  278. package/lib/operations/v2/removeUserFromOrg.d.ts +15 -0
  279. package/lib/operations/v2/removeUserFromOrg.d.ts.map +1 -0
  280. package/lib/operations/v2/removeUserFromOrg.js +20 -0
  281. package/lib/operations/v2/removeUserFromOrg.js.map +1 -0
  282. package/lib/operations/v2/trimDataset.d.ts +19 -0
  283. package/lib/operations/v2/trimDataset.d.ts.map +1 -0
  284. package/lib/operations/v2/trimDataset.js +23 -0
  285. package/lib/operations/v2/trimDataset.js.map +1 -0
  286. package/lib/operations/v2/updateAnnotation.d.ts +49 -0
  287. package/lib/operations/v2/updateAnnotation.d.ts.map +1 -0
  288. package/lib/operations/v2/updateAnnotation.js +38 -0
  289. package/lib/operations/v2/updateAnnotation.js.map +1 -0
  290. package/lib/operations/v2/updateCurrentUser.d.ts +30 -0
  291. package/lib/operations/v2/updateCurrentUser.d.ts.map +1 -0
  292. package/lib/operations/v2/updateCurrentUser.js +27 -0
  293. package/lib/operations/v2/updateCurrentUser.js.map +1 -0
  294. package/lib/operations/v2/updateDashboard.d.ts +147 -0
  295. package/lib/operations/v2/updateDashboard.d.ts.map +1 -0
  296. package/lib/operations/v2/updateDashboard.js +115 -0
  297. package/lib/operations/v2/updateDashboard.js.map +1 -0
  298. package/lib/operations/v2/updateDataset.d.ts +47 -0
  299. package/lib/operations/v2/updateDataset.d.ts.map +1 -0
  300. package/lib/operations/v2/updateDataset.js +41 -0
  301. package/lib/operations/v2/updateDataset.js.map +1 -0
  302. package/lib/operations/v2/updateFieldForDataset.d.ts +36 -0
  303. package/lib/operations/v2/updateFieldForDataset.d.ts.map +1 -0
  304. package/lib/operations/v2/updateFieldForDataset.js +34 -0
  305. package/lib/operations/v2/updateFieldForDataset.js.map +1 -0
  306. package/lib/operations/v2/updateGroup.d.ts +43 -0
  307. package/lib/operations/v2/updateGroup.d.ts.map +1 -0
  308. package/lib/operations/v2/updateGroup.js +36 -0
  309. package/lib/operations/v2/updateGroup.js.map +1 -0
  310. package/lib/operations/v2/updateMapFields.d.ts +12 -0
  311. package/lib/operations/v2/updateMapFields.d.ts.map +1 -0
  312. package/lib/operations/v2/updateMapFields.js +17 -0
  313. package/lib/operations/v2/updateMapFields.js.map +1 -0
  314. package/lib/operations/v2/updateMonitor.d.ts +119 -0
  315. package/lib/operations/v2/updateMonitor.d.ts.map +1 -0
  316. package/lib/operations/v2/updateMonitor.js +84 -0
  317. package/lib/operations/v2/updateMonitor.js.map +1 -0
  318. package/lib/operations/v2/updateNotifier.d.ts +183 -0
  319. package/lib/operations/v2/updateNotifier.d.ts.map +1 -0
  320. package/lib/operations/v2/updateNotifier.js +101 -0
  321. package/lib/operations/v2/updateNotifier.js.map +1 -0
  322. package/lib/operations/v2/updateOrg.d.ts +102 -0
  323. package/lib/operations/v2/updateOrg.d.ts.map +1 -0
  324. package/lib/operations/v2/updateOrg.js +79 -0
  325. package/lib/operations/v2/updateOrg.js.map +1 -0
  326. package/lib/operations/v2/updateRole.d.ts +167 -0
  327. package/lib/operations/v2/updateRole.d.ts.map +1 -0
  328. package/lib/operations/v2/updateRole.js +94 -0
  329. package/lib/operations/v2/updateRole.js.map +1 -0
  330. package/lib/operations/v2/updateStarred.d.ts +168 -0
  331. package/lib/operations/v2/updateStarred.d.ts.map +1 -0
  332. package/lib/operations/v2/updateStarred.js +103 -0
  333. package/lib/operations/v2/updateStarred.js.map +1 -0
  334. package/lib/operations/v2/updateUserRole.d.ts +33 -0
  335. package/lib/operations/v2/updateUserRole.d.ts.map +1 -0
  336. package/lib/operations/v2/updateUserRole.js +29 -0
  337. package/lib/operations/v2/updateUserRole.js.map +1 -0
  338. package/lib/operations/v2/updateView.d.ts +38 -0
  339. package/lib/operations/v2/updateView.d.ts.map +1 -0
  340. package/lib/operations/v2/updateView.js +30 -0
  341. package/lib/operations/v2/updateView.js.map +1 -0
  342. package/lib/operations/v2/updateVirtualField.d.ts +40 -0
  343. package/lib/operations/v2/updateVirtualField.d.ts.map +1 -0
  344. package/lib/operations/v2/updateVirtualField.js +33 -0
  345. package/lib/operations/v2/updateVirtualField.js.map +1 -0
  346. package/lib/operations/v2/vacuumDataset.d.ts +11 -0
  347. package/lib/operations/v2/vacuumDataset.d.ts.map +1 -0
  348. package/lib/operations/v2/vacuumDataset.js +15 -0
  349. package/lib/operations/v2/vacuumDataset.js.map +1 -0
  350. package/lib/retry.d.ts +22 -0
  351. package/lib/retry.d.ts.map +1 -0
  352. package/lib/retry.js +21 -0
  353. package/lib/retry.js.map +1 -0
  354. package/lib/sensitive.d.ts +5 -0
  355. package/lib/sensitive.d.ts.map +1 -0
  356. package/lib/sensitive.js +5 -0
  357. package/lib/sensitive.js.map +1 -0
  358. package/lib/traits.d.ts +5 -0
  359. package/lib/traits.d.ts.map +1 -0
  360. package/lib/traits.js +5 -0
  361. package/lib/traits.js.map +1 -0
  362. package/package.json +80 -7
  363. package/src/category.ts +4 -0
  364. package/src/client.ts +112 -0
  365. package/src/credentials.ts +51 -0
  366. package/src/errors.ts +47 -0
  367. package/src/index.ts +15 -0
  368. package/src/operations/index.ts +3 -0
  369. package/src/operations/v1-edge-ingest/index.ts +1 -0
  370. package/src/operations/v1-edge-ingest/ingestToDataset.ts +46 -0
  371. package/src/operations/v1-edge-query/index.ts +1 -0
  372. package/src/operations/v1-edge-query/queryApl.ts +84 -0
  373. package/src/operations/v2/createAPIToken.ts +185 -0
  374. package/src/operations/v2/createAnnotation.ts +41 -0
  375. package/src/operations/v2/createDashboard.ts +127 -0
  376. package/src/operations/v2/createDataset.ts +57 -0
  377. package/src/operations/v2/createGroup.ts +37 -0
  378. package/src/operations/v2/createMapField.ts +26 -0
  379. package/src/operations/v2/createMonitor.ts +91 -0
  380. package/src/operations/v2/createNotifier.ts +144 -0
  381. package/src/operations/v2/createOrg.ts +81 -0
  382. package/src/operations/v2/createRole.ts +191 -0
  383. package/src/operations/v2/createStarred.ts +130 -0
  384. package/src/operations/v2/createUser.ts +36 -0
  385. package/src/operations/v2/createView.ts +33 -0
  386. package/src/operations/v2/createVirtualField.ts +36 -0
  387. package/src/operations/v2/deleteAPIToken.ts +24 -0
  388. package/src/operations/v2/deleteAnnotation.ts +26 -0
  389. package/src/operations/v2/deleteDashboard.ts +26 -0
  390. package/src/operations/v2/deleteDataset.ts +24 -0
  391. package/src/operations/v2/deleteGroup.ts +28 -0
  392. package/src/operations/v2/deleteMapField.ts +27 -0
  393. package/src/operations/v2/deleteMonitor.ts +24 -0
  394. package/src/operations/v2/deleteNotifier.ts +24 -0
  395. package/src/operations/v2/deleteRole.ts +28 -0
  396. package/src/operations/v2/deleteStarred.ts +21 -0
  397. package/src/operations/v2/deleteView.ts +21 -0
  398. package/src/operations/v2/deleteVirtualField.ts +22 -0
  399. package/src/operations/v2/getAPIToken.ts +103 -0
  400. package/src/operations/v2/getAPITokens.ts +105 -0
  401. package/src/operations/v2/getAnnotation.ts +35 -0
  402. package/src/operations/v2/getAnnotations.ts +39 -0
  403. package/src/operations/v2/getCurrentUser.ts +32 -0
  404. package/src/operations/v2/getDashboard.ts +77 -0
  405. package/src/operations/v2/getDataset.ts +42 -0
  406. package/src/operations/v2/getDatasets.ts +44 -0
  407. package/src/operations/v2/getFieldForDataset.ts +35 -0
  408. package/src/operations/v2/getFieldsForDataset.ts +31 -0
  409. package/src/operations/v2/getGroupById.ts +35 -0
  410. package/src/operations/v2/getMapFields.ts +23 -0
  411. package/src/operations/v2/getMonitor.ts +61 -0
  412. package/src/operations/v2/getMonitorHistory.ts +38 -0
  413. package/src/operations/v2/getMonitors.ts +59 -0
  414. package/src/operations/v2/getNotifier.ts +88 -0
  415. package/src/operations/v2/getNotifiers.ts +86 -0
  416. package/src/operations/v2/getOrg.ts +82 -0
  417. package/src/operations/v2/getOrgs.ts +82 -0
  418. package/src/operations/v2/getRoleById.ts +112 -0
  419. package/src/operations/v2/getStarred.ts +77 -0
  420. package/src/operations/v2/getStarredQueries.ts +92 -0
  421. package/src/operations/v2/getUser.ts +34 -0
  422. package/src/operations/v2/getUsers.ts +34 -0
  423. package/src/operations/v2/getView.ts +28 -0
  424. package/src/operations/v2/getViews.ts +28 -0
  425. package/src/operations/v2/getVirtualField.ts +29 -0
  426. package/src/operations/v2/getVirtualFields.ts +29 -0
  427. package/src/operations/v2/index.ts +76 -0
  428. package/src/operations/v2/listDashboards.ts +78 -0
  429. package/src/operations/v2/listGroups.ts +33 -0
  430. package/src/operations/v2/listRoles.ts +114 -0
  431. package/src/operations/v2/regenerateAPIToken.ts +228 -0
  432. package/src/operations/v2/removeUserFromOrg.ts +26 -0
  433. package/src/operations/v2/trimDataset.ts +27 -0
  434. package/src/operations/v2/updateAnnotation.ts +44 -0
  435. package/src/operations/v2/updateCurrentUser.ts +35 -0
  436. package/src/operations/v2/updateDashboard.ts +127 -0
  437. package/src/operations/v2/updateDataset.ts +45 -0
  438. package/src/operations/v2/updateFieldForDataset.ts +43 -0
  439. package/src/operations/v2/updateGroup.ts +40 -0
  440. package/src/operations/v2/updateMapFields.ts +23 -0
  441. package/src/operations/v2/updateMonitor.ts +92 -0
  442. package/src/operations/v2/updateNotifier.ts +145 -0
  443. package/src/operations/v2/updateOrg.ts +83 -0
  444. package/src/operations/v2/updateRole.ts +194 -0
  445. package/src/operations/v2/updateStarred.ts +131 -0
  446. package/src/operations/v2/updateUserRole.ts +35 -0
  447. package/src/operations/v2/updateView.ts +34 -0
  448. package/src/operations/v2/updateVirtualField.ts +37 -0
  449. package/src/operations/v2/vacuumDataset.ts +19 -0
  450. package/src/retry.ts +35 -0
  451. package/src/sensitive.ts +4 -0
  452. package/src/traits.ts +4 -0
  453. package/bun.lock +0 -26
  454. package/index.ts +0 -1
  455. package/tsconfig.json +0 -29
@@ -0,0 +1,33 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../../client";
3
+ import * as T from "../../traits";
4
+ // Input Schema
5
+ export const GetAnnotationsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
6
+ datasets: Schema.optional(Schema.String),
7
+ start: Schema.optional(Schema.String),
8
+ end: Schema.optional(Schema.String),
9
+ }).pipe(T.Http({ method: "GET", path: "/v2/annotations" }));
10
+ // Output Schema
11
+ export const GetAnnotationsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(Schema.Struct({
12
+ datasets: Schema.Array(Schema.String),
13
+ description: Schema.optional(Schema.String),
14
+ endTime: Schema.optional(Schema.NullOr(Schema.String)),
15
+ id: Schema.String,
16
+ time: Schema.String,
17
+ title: Schema.optional(Schema.String),
18
+ type: Schema.String,
19
+ url: Schema.optional(Schema.String),
20
+ }));
21
+ // The operation
22
+ /**
23
+ * Get annotations
24
+ *
25
+ * @param datasets - Optional: Filter for dataset names.
26
+ * @param start - Optional: Filter for events after this date. Use RFC3339 time format.
27
+ * @param end - Optional: Filter for events before this date. Use RFC3339 time format.
28
+ */
29
+ export const getAnnotations = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
30
+ inputSchema: GetAnnotationsInput,
31
+ outputSchema: GetAnnotationsOutput,
32
+ }));
33
+ //# sourceMappingURL=getAnnotations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAnnotations.js","sourceRoot":"","sources":["../../../src/operations/v2/getAnnotations.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,CAAC;IAC3E,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,GAAG,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACpC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC,CAAC,CAAC;AAG5D,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAC1E,MAAM,CAAC,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD,EAAE,EAAE,MAAM,CAAC,MAAM;IACjB,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,GAAG,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACpC,CAAC,CACH,CAAC;AAGF,gBAAgB;AAChB;;;;;;GAMG;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"}
@@ -0,0 +1,26 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const GetCurrentUserInput: Schema.Struct<{}>;
3
+ export type GetCurrentUserInput = typeof GetCurrentUserInput.Type;
4
+ export declare const GetCurrentUserOutput: Schema.Struct<{
5
+ readonly email: Schema.String;
6
+ readonly id: Schema.String;
7
+ readonly name: Schema.String;
8
+ readonly role: Schema.optional<Schema.Struct<{
9
+ readonly id: Schema.String;
10
+ readonly name: Schema.String;
11
+ }>>;
12
+ }>;
13
+ export type GetCurrentUserOutput = typeof GetCurrentUserOutput.Type;
14
+ /**
15
+ * Get current user
16
+ */
17
+ export declare const getCurrentUser: import("@distilled.cloud/core/client").OperationMethod<{}, {
18
+ readonly email: string;
19
+ readonly id: string;
20
+ readonly name: string;
21
+ readonly role?: {
22
+ readonly id: string;
23
+ readonly name: string;
24
+ } | undefined;
25
+ }, never, any>;
26
+ //# sourceMappingURL=getCurrentUser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCurrentUser.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/getCurrentUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mBAAmB,mBAEmB,CAAC;AACpD,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;EAU/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;cAGxB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../../client";
3
+ import * as T from "../../traits";
4
+ // Input Schema
5
+ export const GetCurrentUserInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/v2/user" }));
6
+ // Output Schema
7
+ export const GetCurrentUserOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
+ email: Schema.String,
9
+ id: Schema.String,
10
+ name: Schema.String,
11
+ role: Schema.optional(Schema.Struct({
12
+ id: Schema.String,
13
+ name: Schema.String,
14
+ })),
15
+ });
16
+ // The operation
17
+ /**
18
+ * Get current user
19
+ */
20
+ export const getCurrentUser = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
21
+ inputSchema: GetCurrentUserInput,
22
+ outputSchema: GetCurrentUserOutput,
23
+ }));
24
+ //# sourceMappingURL=getCurrentUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCurrentUser.js","sourceRoot":"","sources":["../../../src/operations/v2/getCurrentUser.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,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;AAGpD,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5E,KAAK,EAAE,MAAM,CAAC,MAAM;IACpB,EAAE,EAAE,MAAM,CAAC,MAAM;IACjB,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,IAAI,EAAE,MAAM,CAAC,QAAQ,CACnB,MAAM,CAAC,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,IAAI,EAAE,MAAM,CAAC,MAAM;KACpB,CAAC,CACH;CACF,CAAC,CAAC;AAGH,gBAAgB;AAChB;;GAEG;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"}
@@ -0,0 +1,83 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { NotFound } from "../../errors";
3
+ export declare const GetDashboardInput: Schema.Struct<{
4
+ readonly uid: Schema.String;
5
+ }>;
6
+ export type GetDashboardInput = typeof GetDashboardInput.Type;
7
+ export declare const GetDashboardOutput: Schema.Struct<{
8
+ readonly createdAt: Schema.String;
9
+ readonly createdBy: Schema.String;
10
+ readonly dashboard: Schema.Struct<{
11
+ readonly name: Schema.String;
12
+ readonly owner: Schema.String;
13
+ readonly description: Schema.optional<Schema.String>;
14
+ readonly charts: Schema.$Array<Schema.Unknown>;
15
+ readonly layout: Schema.$Array<Schema.Struct<{
16
+ readonly i: Schema.String;
17
+ readonly x: Schema.Number;
18
+ readonly y: Schema.NullOr<Schema.Number>;
19
+ readonly w: Schema.Number;
20
+ readonly h: Schema.Number;
21
+ readonly minW: Schema.optional<Schema.Number>;
22
+ readonly minH: Schema.optional<Schema.Number>;
23
+ readonly maxW: Schema.optional<Schema.Number>;
24
+ readonly maxH: Schema.optional<Schema.Number>;
25
+ readonly static: Schema.optional<Schema.Boolean>;
26
+ }>>;
27
+ readonly refreshTime: Schema.Literals<readonly [15, 60, 300]>;
28
+ readonly schemaVersion: Schema.Literals<readonly [2]>;
29
+ readonly against: Schema.optional<Schema.Literals<readonly ["-1h", "-3h", "-6h", "-12h", "-1d", "-3d", "-7d", "-1w", "-2w", "-3w", "-30d", "-60d", "-90d"]>>;
30
+ readonly againstTimestamp: Schema.optional<Schema.String>;
31
+ readonly timeWindowStart: Schema.String;
32
+ readonly timeWindowEnd: Schema.String;
33
+ readonly uid: Schema.optional<Schema.String>;
34
+ }>;
35
+ readonly id: Schema.String;
36
+ readonly uid: Schema.String;
37
+ readonly updatedAt: Schema.String;
38
+ readonly updatedBy: Schema.String;
39
+ readonly version: Schema.Unknown;
40
+ }>;
41
+ export type GetDashboardOutput = typeof GetDashboardOutput.Type;
42
+ /**
43
+ * Get dashboard
44
+ *
45
+ * Get a dashboard by UID.
46
+ */
47
+ export declare const getDashboard: import("@distilled.cloud/core/client").OperationMethod<{
48
+ readonly uid: string;
49
+ }, {
50
+ readonly createdAt: string;
51
+ readonly createdBy: string;
52
+ readonly dashboard: {
53
+ readonly against?: "-12h" | "-1d" | "-1h" | "-1w" | "-2w" | "-30d" | "-3d" | "-3h" | "-3w" | "-60d" | "-6h" | "-7d" | "-90d" | undefined;
54
+ readonly againstTimestamp?: string | undefined;
55
+ readonly charts: readonly unknown[];
56
+ readonly description?: string | undefined;
57
+ readonly layout: readonly {
58
+ readonly h: number;
59
+ readonly i: string;
60
+ readonly maxH?: number | undefined;
61
+ readonly maxW?: number | undefined;
62
+ readonly minH?: number | undefined;
63
+ readonly minW?: number | undefined;
64
+ readonly static?: boolean | undefined;
65
+ readonly w: number;
66
+ readonly x: number;
67
+ readonly y: number | null;
68
+ }[];
69
+ readonly name: string;
70
+ readonly owner: string;
71
+ readonly refreshTime: 15 | 60 | 300;
72
+ readonly schemaVersion: 2;
73
+ readonly timeWindowEnd: string;
74
+ readonly timeWindowStart: string;
75
+ readonly uid?: string | undefined;
76
+ };
77
+ readonly id: string;
78
+ readonly uid: string;
79
+ readonly updatedAt: string;
80
+ readonly updatedBy: string;
81
+ readonly version: unknown;
82
+ }, NotFound, any>;
83
+ //# sourceMappingURL=getDashboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDashboard.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/getDashboard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,eAAO,MAAM,iBAAiB;;EAEsC,CAAC;AACrE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmD7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAItB,CAAC"}
@@ -0,0 +1,69 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../../client";
3
+ import * as T from "../../traits";
4
+ import { NotFound } from "../../errors";
5
+ // Input Schema
6
+ export const GetDashboardInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ uid: Schema.String.pipe(T.PathParam()),
8
+ }).pipe(T.Http({ method: "GET", path: "/v2/dashboards/uid/{uid}" }));
9
+ // Output Schema
10
+ export const GetDashboardOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
11
+ createdAt: Schema.String,
12
+ createdBy: Schema.String,
13
+ dashboard: Schema.Struct({
14
+ name: Schema.String,
15
+ owner: Schema.String,
16
+ description: Schema.optional(Schema.String),
17
+ charts: Schema.Array(Schema.Unknown),
18
+ layout: Schema.Array(Schema.Struct({
19
+ i: Schema.String,
20
+ x: Schema.Number,
21
+ y: Schema.NullOr(Schema.Number),
22
+ w: Schema.Number,
23
+ h: Schema.Number,
24
+ minW: Schema.optional(Schema.Number),
25
+ minH: Schema.optional(Schema.Number),
26
+ maxW: Schema.optional(Schema.Number),
27
+ maxH: Schema.optional(Schema.Number),
28
+ static: Schema.optional(Schema.Boolean),
29
+ })),
30
+ refreshTime: Schema.Literals([15, 60, 300]),
31
+ schemaVersion: Schema.Literals([2]),
32
+ against: Schema.optional(Schema.Literals([
33
+ "-1h",
34
+ "-3h",
35
+ "-6h",
36
+ "-12h",
37
+ "-1d",
38
+ "-3d",
39
+ "-7d",
40
+ "-1w",
41
+ "-2w",
42
+ "-3w",
43
+ "-30d",
44
+ "-60d",
45
+ "-90d",
46
+ ])),
47
+ againstTimestamp: Schema.optional(Schema.String),
48
+ timeWindowStart: Schema.String,
49
+ timeWindowEnd: Schema.String,
50
+ uid: Schema.optional(Schema.String),
51
+ }),
52
+ id: Schema.String,
53
+ uid: Schema.String,
54
+ updatedAt: Schema.String,
55
+ updatedBy: Schema.String,
56
+ version: Schema.Unknown,
57
+ });
58
+ // The operation
59
+ /**
60
+ * Get dashboard
61
+ *
62
+ * Get a dashboard by UID.
63
+ */
64
+ export const getDashboard = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
65
+ inputSchema: GetDashboardInput,
66
+ outputSchema: GetDashboardOutput,
67
+ errors: [NotFound],
68
+ }));
69
+ //# sourceMappingURL=getDashboard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDashboard.js","sourceRoot":"","sources":["../../../src/operations/v2/getDashboard.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,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzE,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACvC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC,CAAC,CAAC;AAGrE,gBAAgB;AAChB,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1E,SAAS,EAAE,MAAM,CAAC,MAAM;IACxB,SAAS,EAAE,MAAM,CAAC,MAAM;IACxB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC;QACvB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,KAAK,EAAE,MAAM,CAAC,MAAM;QACpB,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC;QACpC,MAAM,EAAE,MAAM,CAAC,KAAK,CAClB,MAAM,CAAC,MAAM,CAAC;YACZ,CAAC,EAAE,MAAM,CAAC,MAAM;YAChB,CAAC,EAAE,MAAM,CAAC,MAAM;YAChB,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;YAC/B,CAAC,EAAE,MAAM,CAAC,MAAM;YAChB,CAAC,EAAE,MAAM,CAAC,MAAM;YAChB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YACpC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YACpC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YACpC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YACpC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;SACxC,CAAC,CACH;QACD,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;QAC3C,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;QACnC,OAAO,EAAE,MAAM,CAAC,QAAQ,CACtB,MAAM,CAAC,QAAQ,CAAC;YACd,KAAK;YACL,KAAK;YACL,KAAK;YACL,MAAM;YACN,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,MAAM;YACN,MAAM;YACN,MAAM;SACP,CAAC,CACH;QACD,gBAAgB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAChD,eAAe,EAAE,MAAM,CAAC,MAAM;QAC9B,aAAa,EAAE,MAAM,CAAC,MAAM;QAC5B,GAAG,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACpC,CAAC;IACF,EAAE,EAAE,MAAM,CAAC,MAAM;IACjB,GAAG,EAAE,MAAM,CAAC,MAAM;IAClB,SAAS,EAAE,MAAM,CAAC,MAAM;IACxB,SAAS,EAAE,MAAM,CAAC,MAAM;IACxB,OAAO,EAAE,MAAM,CAAC,OAAO;CACxB,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACtE,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,kBAAkB;IAChC,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
@@ -0,0 +1,41 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../../errors";
3
+ export declare const GetDatasetInput: Schema.Struct<{
4
+ readonly dataset_id: Schema.String;
5
+ }>;
6
+ export type GetDatasetInput = typeof GetDatasetInput.Type;
7
+ export declare const GetDatasetOutput: Schema.Struct<{
8
+ readonly canWrite: Schema.optional<Schema.Boolean>;
9
+ readonly created: Schema.String;
10
+ readonly description: Schema.String;
11
+ readonly edgeDeployment: Schema.optional<Schema.String>;
12
+ readonly id: Schema.String;
13
+ readonly kind: Schema.Literals<readonly ["otel:metrics:v1", "otel:traces:v1", "otel:logs:v1", "axiom:events:v1"]>;
14
+ readonly mapFields: Schema.optional<Schema.$Array<Schema.String>>;
15
+ readonly name: Schema.String;
16
+ readonly retentionDays: Schema.optional<Schema.Number>;
17
+ readonly sharedByOrg: Schema.optional<Schema.String>;
18
+ readonly useRetentionPeriod: Schema.optional<Schema.Boolean>;
19
+ readonly who: Schema.String;
20
+ }>;
21
+ export type GetDatasetOutput = typeof GetDatasetOutput.Type;
22
+ /**
23
+ * Get dataset by ID
24
+ */
25
+ export declare const getDataset: import("@distilled.cloud/core/client").OperationMethod<{
26
+ readonly dataset_id: string;
27
+ }, {
28
+ readonly canWrite?: boolean | undefined;
29
+ readonly created: string;
30
+ readonly description: string;
31
+ readonly edgeDeployment?: string | undefined;
32
+ readonly id: string;
33
+ readonly kind: "axiom:events:v1" | "otel:logs:v1" | "otel:metrics:v1" | "otel:traces:v1";
34
+ readonly mapFields?: readonly string[] | undefined;
35
+ readonly name: string;
36
+ readonly retentionDays?: number | undefined;
37
+ readonly sharedByOrg?: string | undefined;
38
+ readonly useRetentionPeriod?: boolean | undefined;
39
+ readonly who: string;
40
+ }, Forbidden | NotFound, any>;
41
+ //# sourceMappingURL=getDataset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDataset.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/getDataset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,eAAO,MAAM,eAAe;;EAEyC,CAAC;AACtE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC;AAG1D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;EAkB3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;6BAIpB,CAAC"}
@@ -0,0 +1,38 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../../client";
3
+ import * as T from "../../traits";
4
+ import { Forbidden, NotFound } from "../../errors";
5
+ // Input Schema
6
+ export const GetDatasetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ dataset_id: Schema.String.pipe(T.PathParam()),
8
+ }).pipe(T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}" }));
9
+ // Output Schema
10
+ export const GetDatasetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
11
+ canWrite: Schema.optional(Schema.Boolean),
12
+ created: Schema.String,
13
+ description: Schema.String,
14
+ edgeDeployment: Schema.optional(Schema.String),
15
+ id: Schema.String,
16
+ kind: Schema.Literals([
17
+ "otel:metrics:v1",
18
+ "otel:traces:v1",
19
+ "otel:logs:v1",
20
+ "axiom:events:v1",
21
+ ]),
22
+ mapFields: Schema.optional(Schema.Array(Schema.String)),
23
+ name: Schema.String,
24
+ retentionDays: Schema.optional(Schema.Number),
25
+ sharedByOrg: Schema.optional(Schema.String),
26
+ useRetentionPeriod: Schema.optional(Schema.Boolean),
27
+ who: Schema.String,
28
+ });
29
+ // The operation
30
+ /**
31
+ * Get dataset by ID
32
+ */
33
+ export const getDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
34
+ inputSchema: GetDatasetInput,
35
+ outputSchema: GetDatasetOutput,
36
+ errors: [Forbidden, NotFound],
37
+ }));
38
+ //# sourceMappingURL=getDataset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDataset.js","sourceRoot":"","sources":["../../../src/operations/v2/getDataset.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,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEnD,eAAe;AACf,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACvE,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC9C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC,CAAC,CAAC;AAGtE,gBAAgB;AAChB,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxE,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IACzC,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,WAAW,EAAE,MAAM,CAAC,MAAM;IAC1B,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC9C,EAAE,EAAE,MAAM,CAAC,MAAM;IACjB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC;QACpB,iBAAiB;QACjB,gBAAgB;QAChB,cAAc;QACd,iBAAiB;KAClB,CAAC;IACF,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACvD,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC7C,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IACnD,GAAG,EAAE,MAAM,CAAC,MAAM;CACnB,CAAC,CAAC;AAGH,gBAAgB;AAChB;;GAEG;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;IAC9B,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,37 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { Forbidden } from "../../errors";
3
+ export declare const GetDatasetsInput: Schema.Struct<{}>;
4
+ export type GetDatasetsInput = typeof GetDatasetsInput.Type;
5
+ export declare const GetDatasetsOutput: Schema.$Array<Schema.Struct<{
6
+ readonly canWrite: Schema.optional<Schema.Boolean>;
7
+ readonly created: Schema.String;
8
+ readonly description: Schema.String;
9
+ readonly edgeDeployment: Schema.optional<Schema.String>;
10
+ readonly id: Schema.String;
11
+ readonly kind: Schema.Literals<readonly ["otel:metrics:v1", "otel:traces:v1", "otel:logs:v1", "axiom:events:v1"]>;
12
+ readonly mapFields: Schema.optional<Schema.$Array<Schema.String>>;
13
+ readonly name: Schema.String;
14
+ readonly retentionDays: Schema.optional<Schema.Number>;
15
+ readonly sharedByOrg: Schema.optional<Schema.String>;
16
+ readonly useRetentionPeriod: Schema.optional<Schema.Boolean>;
17
+ readonly who: Schema.String;
18
+ }>>;
19
+ export type GetDatasetsOutput = typeof GetDatasetsOutput.Type;
20
+ /**
21
+ * Get list of datasets
22
+ */
23
+ export declare const getDatasets: import("@distilled.cloud/core/client").OperationMethod<{}, readonly {
24
+ readonly canWrite?: boolean | undefined;
25
+ readonly created: string;
26
+ readonly description: string;
27
+ readonly edgeDeployment?: string | undefined;
28
+ readonly id: string;
29
+ readonly kind: "axiom:events:v1" | "otel:logs:v1" | "otel:metrics:v1" | "otel:traces:v1";
30
+ readonly mapFields?: readonly string[] | undefined;
31
+ readonly name: string;
32
+ readonly retentionDays?: number | undefined;
33
+ readonly sharedByOrg?: string | undefined;
34
+ readonly useRetentionPeriod?: boolean | undefined;
35
+ readonly who: string;
36
+ }[], Forbidden, any>;
37
+ //# sourceMappingURL=getDatasets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDatasets.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/getDatasets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,eAAO,MAAM,gBAAgB,mBAE0B,CAAC;AACxD,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;GAoB7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;oBAIrB,CAAC"}
@@ -0,0 +1,36 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../../client";
3
+ import * as T from "../../traits";
4
+ import { Forbidden } from "../../errors";
5
+ // Input Schema
6
+ export const GetDatasetsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/v2/datasets" }));
7
+ // Output Schema
8
+ export const GetDatasetsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(Schema.Struct({
9
+ canWrite: Schema.optional(Schema.Boolean),
10
+ created: Schema.String,
11
+ description: Schema.String,
12
+ edgeDeployment: Schema.optional(Schema.String),
13
+ id: Schema.String,
14
+ kind: Schema.Literals([
15
+ "otel:metrics:v1",
16
+ "otel:traces:v1",
17
+ "otel:logs:v1",
18
+ "axiom:events:v1",
19
+ ]),
20
+ mapFields: Schema.optional(Schema.Array(Schema.String)),
21
+ name: Schema.String,
22
+ retentionDays: Schema.optional(Schema.Number),
23
+ sharedByOrg: Schema.optional(Schema.String),
24
+ useRetentionPeriod: Schema.optional(Schema.Boolean),
25
+ who: Schema.String,
26
+ }));
27
+ // The operation
28
+ /**
29
+ * Get list of datasets
30
+ */
31
+ export const getDatasets = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
32
+ inputSchema: GetDatasetsInput,
33
+ outputSchema: GetDatasetsOutput,
34
+ errors: [Forbidden],
35
+ }));
36
+ //# sourceMappingURL=getDatasets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDatasets.js","sourceRoot":"","sources":["../../../src/operations/v2/getDatasets.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,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,eAAe;AACf,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CACvE,EAAE,CACH,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC;AAGxD,gBAAgB;AAChB,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CACvE,MAAM,CAAC,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IACzC,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,WAAW,EAAE,MAAM,CAAC,MAAM;IAC1B,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC9C,EAAE,EAAE,MAAM,CAAC,MAAM;IACjB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC;QACpB,iBAAiB;QACjB,gBAAgB;QAChB,cAAc;QACd,iBAAiB;KAClB,CAAC;IACF,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACvD,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC7C,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IACnD,GAAG,EAAE,MAAM,CAAC,MAAM;CACnB,CAAC,CACH,CAAC;AAGF,gBAAgB;AAChB;;GAEG;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,SAAS,CAAU;CAC7B,CAAC,CAAC,CAAC"}
@@ -0,0 +1,26 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { NotFound } from "../../errors";
3
+ export declare const GetFieldForDatasetInput: Schema.Struct<{
4
+ readonly dataset_id: Schema.String;
5
+ readonly field_id: Schema.String;
6
+ }>;
7
+ export type GetFieldForDatasetInput = typeof GetFieldForDatasetInput.Type;
8
+ export declare const GetFieldForDatasetOutput: Schema.Struct<{
9
+ readonly description: Schema.optional<Schema.String>;
10
+ readonly hidden: Schema.optional<Schema.Boolean>;
11
+ readonly name: Schema.String;
12
+ readonly type: Schema.String;
13
+ readonly unit: Schema.optional<Schema.String>;
14
+ }>;
15
+ export type GetFieldForDatasetOutput = typeof GetFieldForDatasetOutput.Type;
16
+ export declare const getFieldForDataset: import("@distilled.cloud/core/client").OperationMethod<{
17
+ readonly dataset_id: string;
18
+ readonly field_id: string;
19
+ }, {
20
+ readonly description?: string | undefined;
21
+ readonly hidden?: boolean | undefined;
22
+ readonly name: string;
23
+ readonly type: string;
24
+ readonly unit?: string | undefined;
25
+ }, NotFound, any>;
26
+ //# sourceMappingURL=getFieldForDataset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFieldForDataset.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/getFieldForDataset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,eAAO,MAAM,uBAAuB;;;EASjC,CAAC;AACJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB;;;;;;EAOjC,CAAC;AACL,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,kBAAkB;;;;;;;;;iBAI5B,CAAC"}
@@ -0,0 +1,29 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../../client";
3
+ import * as T from "../../traits";
4
+ import { NotFound } from "../../errors";
5
+ // Input Schema
6
+ export const GetFieldForDatasetInput =
7
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
+ dataset_id: Schema.String.pipe(T.PathParam()),
9
+ field_id: Schema.String.pipe(T.PathParam()),
10
+ }).pipe(T.Http({
11
+ method: "GET",
12
+ path: "/v2/datasets/{dataset_id}/fields/{field_id}",
13
+ }));
14
+ // Output Schema
15
+ export const GetFieldForDatasetOutput =
16
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
17
+ description: Schema.optional(Schema.String),
18
+ hidden: Schema.optional(Schema.Boolean),
19
+ name: Schema.String,
20
+ type: Schema.String,
21
+ unit: Schema.optional(Schema.String),
22
+ });
23
+ // The operation
24
+ export const getFieldForDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
25
+ inputSchema: GetFieldForDatasetInput,
26
+ outputSchema: GetFieldForDatasetOutput,
27
+ errors: [NotFound],
28
+ }));
29
+ //# sourceMappingURL=getFieldForDataset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFieldForDataset.js","sourceRoot":"","sources":["../../../src/operations/v2/getFieldForDataset.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,uBAAuB;AAClC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7C,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC5C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,6CAA6C;CACpD,CAAC,CACH,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACrC,CAAC,CAAC;AAGL,gBAAgB;AAChB,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,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
@@ -0,0 +1,24 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../../errors";
3
+ export declare const GetFieldsForDatasetInput: Schema.Struct<{
4
+ readonly dataset_id: Schema.String;
5
+ }>;
6
+ export type GetFieldsForDatasetInput = typeof GetFieldsForDatasetInput.Type;
7
+ export declare const GetFieldsForDatasetOutput: Schema.$Array<Schema.Struct<{
8
+ readonly description: Schema.optional<Schema.String>;
9
+ readonly hidden: Schema.optional<Schema.Boolean>;
10
+ readonly name: Schema.String;
11
+ readonly type: Schema.String;
12
+ readonly unit: Schema.optional<Schema.String>;
13
+ }>>;
14
+ export type GetFieldsForDatasetOutput = typeof GetFieldsForDatasetOutput.Type;
15
+ export declare const getFieldsForDataset: import("@distilled.cloud/core/client").OperationMethod<{
16
+ readonly dataset_id: string;
17
+ }, readonly {
18
+ readonly description?: string | undefined;
19
+ readonly hidden?: boolean | undefined;
20
+ readonly name: string;
21
+ readonly type: string;
22
+ readonly unit?: string | undefined;
23
+ }[], Forbidden | NotFound, any>;
24
+ //# sourceMappingURL=getFieldsForDataset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFieldsForDataset.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/getFieldsForDataset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,eAAO,MAAM,wBAAwB;;EAGyC,CAAC;AAC/E,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;GASnC,CAAC;AACJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,mBAAmB;;;;;;;;+BAI7B,CAAC"}
@@ -0,0 +1,25 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../../client";
3
+ import * as T from "../../traits";
4
+ import { Forbidden, NotFound } from "../../errors";
5
+ // Input Schema
6
+ export const GetFieldsForDatasetInput =
7
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
+ dataset_id: Schema.String.pipe(T.PathParam()),
9
+ }).pipe(T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}/fields" }));
10
+ // Output Schema
11
+ export const GetFieldsForDatasetOutput =
12
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Array(Schema.Struct({
13
+ description: Schema.optional(Schema.String),
14
+ hidden: Schema.optional(Schema.Boolean),
15
+ name: Schema.String,
16
+ type: Schema.String,
17
+ unit: Schema.optional(Schema.String),
18
+ }));
19
+ // The operation
20
+ export const getFieldsForDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
21
+ inputSchema: GetFieldsForDatasetInput,
22
+ outputSchema: GetFieldsForDatasetOutput,
23
+ errors: [Forbidden, NotFound],
24
+ }));
25
+ //# sourceMappingURL=getFieldsForDataset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFieldsForDataset.js","sourceRoot":"","sources":["../../../src/operations/v2/getFieldsForDataset.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,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEnD,eAAe;AACf,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC9C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,kCAAkC,EAAE,CAAC,CAAC,CAAC;AAG/E,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CACtC,MAAM,CAAC,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACrC,CAAC,CACH,CAAC;AAGJ,gBAAgB;AAChB,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,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,33 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { NotFound } from "../../errors";
3
+ export declare const GetGroupByIdInput: Schema.Struct<{
4
+ readonly id: Schema.String;
5
+ }>;
6
+ export type GetGroupByIdInput = typeof GetGroupByIdInput.Type;
7
+ export declare const GetGroupByIdOutput: Schema.Struct<{
8
+ readonly description: Schema.optional<Schema.String>;
9
+ readonly isManaged: Schema.optional<Schema.Boolean>;
10
+ readonly members: Schema.optional<Schema.$Array<Schema.String>>;
11
+ readonly name: Schema.String;
12
+ readonly roles: Schema.optional<Schema.$Array<Schema.String>>;
13
+ readonly id: Schema.String;
14
+ }>;
15
+ export type GetGroupByIdOutput = typeof GetGroupByIdOutput.Type;
16
+ /**
17
+ * Get group by ID
18
+ *
19
+ * Retrieves detailed information about a specific group by its unique identifier.
20
+ *
21
+ * @param id - Unique identifier of the group to retrieve
22
+ */
23
+ export declare const getGroupById: import("@distilled.cloud/core/client").OperationMethod<{
24
+ readonly id: string;
25
+ }, {
26
+ readonly description?: string | undefined;
27
+ readonly id: string;
28
+ readonly isManaged?: boolean | undefined;
29
+ readonly members?: readonly string[] | undefined;
30
+ readonly name: string;
31
+ readonly roles?: readonly string[] | undefined;
32
+ }, NotFound, any>;
33
+ //# sourceMappingURL=getGroupById.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroupById.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/getGroupById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,eAAO,MAAM,iBAAiB;;EAEkC,CAAC;AACjE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;EAO7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;;;;;;;iBAItB,CAAC"}
@@ -0,0 +1,31 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../../client";
3
+ import * as T from "../../traits";
4
+ import { NotFound } from "../../errors";
5
+ // Input Schema
6
+ export const GetGroupByIdInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ id: Schema.String.pipe(T.PathParam()),
8
+ }).pipe(T.Http({ method: "GET", path: "/v2/rbac/groups/{id}" }));
9
+ // Output Schema
10
+ export const GetGroupByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
11
+ description: Schema.optional(Schema.String),
12
+ isManaged: Schema.optional(Schema.Boolean),
13
+ members: Schema.optional(Schema.Array(Schema.String)),
14
+ name: Schema.String,
15
+ roles: Schema.optional(Schema.Array(Schema.String)),
16
+ id: Schema.String,
17
+ });
18
+ // The operation
19
+ /**
20
+ * Get group by ID
21
+ *
22
+ * Retrieves detailed information about a specific group by its unique identifier.
23
+ *
24
+ * @param id - Unique identifier of the group to retrieve
25
+ */
26
+ export const getGroupById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
27
+ inputSchema: GetGroupByIdInput,
28
+ outputSchema: GetGroupByIdOutput,
29
+ errors: [NotFound],
30
+ }));
31
+ //# sourceMappingURL=getGroupById.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroupById.js","sourceRoot":"","sources":["../../../src/operations/v2/getGroupById.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,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzE,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACtC,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,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1E,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrD,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACnD,EAAE,EAAE,MAAM,CAAC,MAAM;CAClB,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACtE,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,kBAAkB;IAChC,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}