@distilled.cloud/axiom 0.29.0 → 0.29.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 (267) hide show
  1. package/lib/operations/v1-edge-ingest/ingestToDataset.js +3 -3
  2. package/lib/operations/v1-edge-ingest/ingestToDataset.js.map +1 -1
  3. package/lib/operations/v1-edge-query/queryApl.d.ts.map +1 -1
  4. package/lib/operations/v1-edge-query/queryApl.js +3 -3
  5. package/lib/operations/v1-edge-query/queryApl.js.map +1 -1
  6. package/lib/operations/v2/createAPIToken.js +3 -3
  7. package/lib/operations/v2/createAPIToken.js.map +1 -1
  8. package/lib/operations/v2/createAnnotation.d.ts.map +1 -1
  9. package/lib/operations/v2/createAnnotation.js +3 -3
  10. package/lib/operations/v2/createAnnotation.js.map +1 -1
  11. package/lib/operations/v2/createDashboard.js +3 -3
  12. package/lib/operations/v2/createDashboard.js.map +1 -1
  13. package/lib/operations/v2/createDataset.js +3 -3
  14. package/lib/operations/v2/createDataset.js.map +1 -1
  15. package/lib/operations/v2/createGroup.js +3 -3
  16. package/lib/operations/v2/createGroup.js.map +1 -1
  17. package/lib/operations/v2/createMapField.js +3 -3
  18. package/lib/operations/v2/createMapField.js.map +1 -1
  19. package/lib/operations/v2/createMonitor.js +3 -3
  20. package/lib/operations/v2/createMonitor.js.map +1 -1
  21. package/lib/operations/v2/createNotifier.js +3 -3
  22. package/lib/operations/v2/createNotifier.js.map +1 -1
  23. package/lib/operations/v2/createOrg.js +3 -3
  24. package/lib/operations/v2/createOrg.js.map +1 -1
  25. package/lib/operations/v2/createRole.js +3 -3
  26. package/lib/operations/v2/createRole.js.map +1 -1
  27. package/lib/operations/v2/createStarred.js +3 -3
  28. package/lib/operations/v2/createStarred.js.map +1 -1
  29. package/lib/operations/v2/createUser.js +3 -3
  30. package/lib/operations/v2/createUser.js.map +1 -1
  31. package/lib/operations/v2/createView.js +3 -3
  32. package/lib/operations/v2/createView.js.map +1 -1
  33. package/lib/operations/v2/createVirtualField.js +3 -3
  34. package/lib/operations/v2/createVirtualField.js.map +1 -1
  35. package/lib/operations/v2/deleteAPIToken.d.ts.map +1 -1
  36. package/lib/operations/v2/deleteAPIToken.js +3 -3
  37. package/lib/operations/v2/deleteAPIToken.js.map +1 -1
  38. package/lib/operations/v2/deleteAnnotation.d.ts.map +1 -1
  39. package/lib/operations/v2/deleteAnnotation.js +3 -3
  40. package/lib/operations/v2/deleteAnnotation.js.map +1 -1
  41. package/lib/operations/v2/deleteDashboard.d.ts.map +1 -1
  42. package/lib/operations/v2/deleteDashboard.js +3 -3
  43. package/lib/operations/v2/deleteDashboard.js.map +1 -1
  44. package/lib/operations/v2/deleteDataset.d.ts.map +1 -1
  45. package/lib/operations/v2/deleteDataset.js +3 -3
  46. package/lib/operations/v2/deleteDataset.js.map +1 -1
  47. package/lib/operations/v2/deleteGroup.d.ts.map +1 -1
  48. package/lib/operations/v2/deleteGroup.js +3 -3
  49. package/lib/operations/v2/deleteGroup.js.map +1 -1
  50. package/lib/operations/v2/deleteMapField.d.ts.map +1 -1
  51. package/lib/operations/v2/deleteMapField.js +3 -3
  52. package/lib/operations/v2/deleteMapField.js.map +1 -1
  53. package/lib/operations/v2/deleteMonitor.d.ts.map +1 -1
  54. package/lib/operations/v2/deleteMonitor.js +3 -3
  55. package/lib/operations/v2/deleteMonitor.js.map +1 -1
  56. package/lib/operations/v2/deleteNotifier.d.ts.map +1 -1
  57. package/lib/operations/v2/deleteNotifier.js +3 -3
  58. package/lib/operations/v2/deleteNotifier.js.map +1 -1
  59. package/lib/operations/v2/deleteRole.d.ts.map +1 -1
  60. package/lib/operations/v2/deleteRole.js +3 -3
  61. package/lib/operations/v2/deleteRole.js.map +1 -1
  62. package/lib/operations/v2/deleteStarred.d.ts.map +1 -1
  63. package/lib/operations/v2/deleteStarred.js +3 -3
  64. package/lib/operations/v2/deleteStarred.js.map +1 -1
  65. package/lib/operations/v2/deleteView.d.ts.map +1 -1
  66. package/lib/operations/v2/deleteView.js +3 -3
  67. package/lib/operations/v2/deleteView.js.map +1 -1
  68. package/lib/operations/v2/deleteVirtualField.d.ts.map +1 -1
  69. package/lib/operations/v2/deleteVirtualField.js +3 -3
  70. package/lib/operations/v2/deleteVirtualField.js.map +1 -1
  71. package/lib/operations/v2/getAPIToken.js +3 -3
  72. package/lib/operations/v2/getAPIToken.js.map +1 -1
  73. package/lib/operations/v2/getAPITokens.d.ts.map +1 -1
  74. package/lib/operations/v2/getAPITokens.js +3 -3
  75. package/lib/operations/v2/getAPITokens.js.map +1 -1
  76. package/lib/operations/v2/getAnnotation.js +3 -3
  77. package/lib/operations/v2/getAnnotation.js.map +1 -1
  78. package/lib/operations/v2/getAnnotations.js +3 -3
  79. package/lib/operations/v2/getAnnotations.js.map +1 -1
  80. package/lib/operations/v2/getCurrentUser.d.ts.map +1 -1
  81. package/lib/operations/v2/getCurrentUser.js +3 -3
  82. package/lib/operations/v2/getCurrentUser.js.map +1 -1
  83. package/lib/operations/v2/getDashboard.js +3 -3
  84. package/lib/operations/v2/getDashboard.js.map +1 -1
  85. package/lib/operations/v2/getDataset.js +3 -3
  86. package/lib/operations/v2/getDataset.js.map +1 -1
  87. package/lib/operations/v2/getDatasets.d.ts.map +1 -1
  88. package/lib/operations/v2/getDatasets.js +3 -3
  89. package/lib/operations/v2/getDatasets.js.map +1 -1
  90. package/lib/operations/v2/getFieldForDataset.js +3 -3
  91. package/lib/operations/v2/getFieldForDataset.js.map +1 -1
  92. package/lib/operations/v2/getFieldsForDataset.js +3 -3
  93. package/lib/operations/v2/getFieldsForDataset.js.map +1 -1
  94. package/lib/operations/v2/getGroupById.js +3 -3
  95. package/lib/operations/v2/getGroupById.js.map +1 -1
  96. package/lib/operations/v2/getMapFields.js +3 -3
  97. package/lib/operations/v2/getMapFields.js.map +1 -1
  98. package/lib/operations/v2/getMonitor.js +3 -3
  99. package/lib/operations/v2/getMonitor.js.map +1 -1
  100. package/lib/operations/v2/getMonitorHistory.d.ts.map +1 -1
  101. package/lib/operations/v2/getMonitorHistory.js +3 -3
  102. package/lib/operations/v2/getMonitorHistory.js.map +1 -1
  103. package/lib/operations/v2/getMonitors.d.ts.map +1 -1
  104. package/lib/operations/v2/getMonitors.js +3 -3
  105. package/lib/operations/v2/getMonitors.js.map +1 -1
  106. package/lib/operations/v2/getNotifier.js +3 -3
  107. package/lib/operations/v2/getNotifier.js.map +1 -1
  108. package/lib/operations/v2/getNotifiers.d.ts.map +1 -1
  109. package/lib/operations/v2/getNotifiers.js +3 -3
  110. package/lib/operations/v2/getNotifiers.js.map +1 -1
  111. package/lib/operations/v2/getOrg.js +3 -3
  112. package/lib/operations/v2/getOrg.js.map +1 -1
  113. package/lib/operations/v2/getOrgs.js +3 -3
  114. package/lib/operations/v2/getOrgs.js.map +1 -1
  115. package/lib/operations/v2/getRoleById.js +3 -3
  116. package/lib/operations/v2/getRoleById.js.map +1 -1
  117. package/lib/operations/v2/getStarred.js +3 -3
  118. package/lib/operations/v2/getStarred.js.map +1 -1
  119. package/lib/operations/v2/getStarredQueries.d.ts.map +1 -1
  120. package/lib/operations/v2/getStarredQueries.js +3 -3
  121. package/lib/operations/v2/getStarredQueries.js.map +1 -1
  122. package/lib/operations/v2/getUser.js +3 -3
  123. package/lib/operations/v2/getUser.js.map +1 -1
  124. package/lib/operations/v2/getUsers.js +3 -3
  125. package/lib/operations/v2/getUsers.js.map +1 -1
  126. package/lib/operations/v2/getView.js +3 -3
  127. package/lib/operations/v2/getView.js.map +1 -1
  128. package/lib/operations/v2/getViews.js +3 -3
  129. package/lib/operations/v2/getViews.js.map +1 -1
  130. package/lib/operations/v2/getVirtualField.js +3 -3
  131. package/lib/operations/v2/getVirtualField.js.map +1 -1
  132. package/lib/operations/v2/getVirtualFields.js +3 -3
  133. package/lib/operations/v2/getVirtualFields.js.map +1 -1
  134. package/lib/operations/v2/listDashboards.js +3 -3
  135. package/lib/operations/v2/listDashboards.js.map +1 -1
  136. package/lib/operations/v2/listGroups.d.ts.map +1 -1
  137. package/lib/operations/v2/listGroups.js +3 -3
  138. package/lib/operations/v2/listGroups.js.map +1 -1
  139. package/lib/operations/v2/listRoles.d.ts.map +1 -1
  140. package/lib/operations/v2/listRoles.js +3 -3
  141. package/lib/operations/v2/listRoles.js.map +1 -1
  142. package/lib/operations/v2/patchDashboardChart.js +3 -3
  143. package/lib/operations/v2/patchDashboardChart.js.map +1 -1
  144. package/lib/operations/v2/regenerateAPIToken.js +3 -3
  145. package/lib/operations/v2/regenerateAPIToken.js.map +1 -1
  146. package/lib/operations/v2/removeUserFromOrg.d.ts.map +1 -1
  147. package/lib/operations/v2/removeUserFromOrg.js +3 -3
  148. package/lib/operations/v2/removeUserFromOrg.js.map +1 -1
  149. package/lib/operations/v2/trimDataset.d.ts.map +1 -1
  150. package/lib/operations/v2/trimDataset.js +3 -3
  151. package/lib/operations/v2/trimDataset.js.map +1 -1
  152. package/lib/operations/v2/updateAnnotation.d.ts.map +1 -1
  153. package/lib/operations/v2/updateAnnotation.js +3 -3
  154. package/lib/operations/v2/updateAnnotation.js.map +1 -1
  155. package/lib/operations/v2/updateCurrentUser.d.ts.map +1 -1
  156. package/lib/operations/v2/updateCurrentUser.js +3 -3
  157. package/lib/operations/v2/updateCurrentUser.js.map +1 -1
  158. package/lib/operations/v2/updateDashboard.js +3 -3
  159. package/lib/operations/v2/updateDashboard.js.map +1 -1
  160. package/lib/operations/v2/updateDataset.js +3 -3
  161. package/lib/operations/v2/updateDataset.js.map +1 -1
  162. package/lib/operations/v2/updateFieldForDataset.d.ts.map +1 -1
  163. package/lib/operations/v2/updateFieldForDataset.js +3 -3
  164. package/lib/operations/v2/updateFieldForDataset.js.map +1 -1
  165. package/lib/operations/v2/updateGroup.js +3 -3
  166. package/lib/operations/v2/updateGroup.js.map +1 -1
  167. package/lib/operations/v2/updateMapFields.js +3 -3
  168. package/lib/operations/v2/updateMapFields.js.map +1 -1
  169. package/lib/operations/v2/updateMonitor.js +3 -3
  170. package/lib/operations/v2/updateMonitor.js.map +1 -1
  171. package/lib/operations/v2/updateNotifier.js +3 -3
  172. package/lib/operations/v2/updateNotifier.js.map +1 -1
  173. package/lib/operations/v2/updateOrg.js +3 -3
  174. package/lib/operations/v2/updateOrg.js.map +1 -1
  175. package/lib/operations/v2/updateRole.js +3 -3
  176. package/lib/operations/v2/updateRole.js.map +1 -1
  177. package/lib/operations/v2/updateStarred.js +3 -3
  178. package/lib/operations/v2/updateStarred.js.map +1 -1
  179. package/lib/operations/v2/updateUserRole.js +3 -3
  180. package/lib/operations/v2/updateUserRole.js.map +1 -1
  181. package/lib/operations/v2/updateView.js +3 -3
  182. package/lib/operations/v2/updateView.js.map +1 -1
  183. package/lib/operations/v2/updateVirtualField.js +3 -3
  184. package/lib/operations/v2/updateVirtualField.js.map +1 -1
  185. package/lib/operations/v2/vacuumDataset.d.ts.map +1 -1
  186. package/lib/operations/v2/vacuumDataset.js +3 -3
  187. package/lib/operations/v2/vacuumDataset.js.map +1 -1
  188. package/package.json +3 -2
  189. package/src/operations/v1-edge-ingest/ingestToDataset.ts +3 -3
  190. package/src/operations/v1-edge-query/queryApl.ts +3 -3
  191. package/src/operations/v2/createAPIToken.ts +3 -3
  192. package/src/operations/v2/createAnnotation.ts +12 -14
  193. package/src/operations/v2/createDashboard.ts +3 -3
  194. package/src/operations/v2/createDataset.ts +3 -3
  195. package/src/operations/v2/createGroup.ts +3 -3
  196. package/src/operations/v2/createMapField.ts +3 -3
  197. package/src/operations/v2/createMonitor.ts +3 -3
  198. package/src/operations/v2/createNotifier.ts +3 -3
  199. package/src/operations/v2/createOrg.ts +3 -3
  200. package/src/operations/v2/createRole.ts +3 -3
  201. package/src/operations/v2/createStarred.ts +3 -3
  202. package/src/operations/v2/createUser.ts +3 -3
  203. package/src/operations/v2/createView.ts +3 -3
  204. package/src/operations/v2/createVirtualField.ts +3 -3
  205. package/src/operations/v2/deleteAPIToken.ts +3 -3
  206. package/src/operations/v2/deleteAnnotation.ts +3 -3
  207. package/src/operations/v2/deleteDashboard.ts +3 -3
  208. package/src/operations/v2/deleteDataset.ts +3 -3
  209. package/src/operations/v2/deleteGroup.ts +3 -3
  210. package/src/operations/v2/deleteMapField.ts +3 -3
  211. package/src/operations/v2/deleteMonitor.ts +3 -3
  212. package/src/operations/v2/deleteNotifier.ts +3 -3
  213. package/src/operations/v2/deleteRole.ts +3 -3
  214. package/src/operations/v2/deleteStarred.ts +3 -3
  215. package/src/operations/v2/deleteView.ts +3 -3
  216. package/src/operations/v2/deleteVirtualField.ts +3 -3
  217. package/src/operations/v2/getAPIToken.ts +3 -3
  218. package/src/operations/v2/getAPITokens.ts +3 -5
  219. package/src/operations/v2/getAnnotation.ts +3 -3
  220. package/src/operations/v2/getAnnotations.ts +3 -3
  221. package/src/operations/v2/getCurrentUser.ts +3 -5
  222. package/src/operations/v2/getDashboard.ts +3 -3
  223. package/src/operations/v2/getDataset.ts +3 -3
  224. package/src/operations/v2/getDatasets.ts +3 -5
  225. package/src/operations/v2/getFieldForDataset.ts +3 -3
  226. package/src/operations/v2/getFieldsForDataset.ts +3 -3
  227. package/src/operations/v2/getGroupById.ts +3 -3
  228. package/src/operations/v2/getMapFields.ts +3 -3
  229. package/src/operations/v2/getMonitor.ts +3 -3
  230. package/src/operations/v2/getMonitorHistory.ts +7 -9
  231. package/src/operations/v2/getMonitors.ts +3 -5
  232. package/src/operations/v2/getNotifier.ts +3 -3
  233. package/src/operations/v2/getNotifiers.ts +3 -5
  234. package/src/operations/v2/getOrg.ts +3 -3
  235. package/src/operations/v2/getOrgs.ts +3 -3
  236. package/src/operations/v2/getRoleById.ts +3 -3
  237. package/src/operations/v2/getStarred.ts +3 -3
  238. package/src/operations/v2/getStarredQueries.ts +9 -11
  239. package/src/operations/v2/getUser.ts +3 -3
  240. package/src/operations/v2/getUsers.ts +3 -3
  241. package/src/operations/v2/getView.ts +3 -3
  242. package/src/operations/v2/getViews.ts +3 -3
  243. package/src/operations/v2/getVirtualField.ts +3 -3
  244. package/src/operations/v2/getVirtualFields.ts +3 -3
  245. package/src/operations/v2/listDashboards.ts +3 -3
  246. package/src/operations/v2/listGroups.ts +3 -5
  247. package/src/operations/v2/listRoles.ts +3 -5
  248. package/src/operations/v2/patchDashboardChart.ts +3 -3
  249. package/src/operations/v2/regenerateAPIToken.ts +3 -3
  250. package/src/operations/v2/removeUserFromOrg.ts +5 -7
  251. package/src/operations/v2/trimDataset.ts +3 -3
  252. package/src/operations/v2/updateAnnotation.ts +12 -14
  253. package/src/operations/v2/updateCurrentUser.ts +5 -7
  254. package/src/operations/v2/updateDashboard.ts +3 -3
  255. package/src/operations/v2/updateDataset.ts +3 -3
  256. package/src/operations/v2/updateFieldForDataset.ts +7 -9
  257. package/src/operations/v2/updateGroup.ts +3 -3
  258. package/src/operations/v2/updateMapFields.ts +3 -3
  259. package/src/operations/v2/updateMonitor.ts +3 -3
  260. package/src/operations/v2/updateNotifier.ts +3 -3
  261. package/src/operations/v2/updateOrg.ts +3 -3
  262. package/src/operations/v2/updateRole.ts +3 -3
  263. package/src/operations/v2/updateStarred.ts +3 -3
  264. package/src/operations/v2/updateUserRole.ts +3 -3
  265. package/src/operations/v2/updateView.ts +3 -3
  266. package/src/operations/v2/updateVirtualField.ts +3 -3
  267. package/src/operations/v2/vacuumDataset.ts +3 -3
@@ -7,7 +7,7 @@ import { Forbidden, NotFound } from "../../errors.ts";
7
7
  export interface GetDatasetInput {
8
8
  dataset_id: string;
9
9
  }
10
- export const GetDatasetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
+ export const GetDatasetInput = /*@__PURE__*/ Schema.Struct({
11
11
  dataset_id: Schema.String.pipe(T.PathParam()),
12
12
  }).pipe(
13
13
  T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}" }),
@@ -34,7 +34,7 @@ export interface GetDatasetOutput {
34
34
  useRetentionPeriod?: boolean;
35
35
  who: string;
36
36
  }
37
- export const GetDatasetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
37
+ export const GetDatasetOutput = /*@__PURE__*/ Schema.Struct({
38
38
  canWrite: Schema.optional(Schema.Boolean),
39
39
  created: Schema.String,
40
40
  description: Schema.String,
@@ -60,7 +60,7 @@ export const GetDatasetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
60
60
  /**
61
61
  * Get dataset by ID
62
62
  */
63
- export const getDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
63
+ export const getDataset = /*@__PURE__*/ API.make(() => ({
64
64
  inputSchema: GetDatasetInput,
65
65
  outputSchema: GetDatasetOutput,
66
66
  errors: [Forbidden, NotFound] as const,
@@ -5,9 +5,7 @@ import { Forbidden } from "../../errors.ts";
5
5
 
6
6
  // Input Schema
7
7
  export interface GetDatasetsInput {}
8
- export const GetDatasetsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
9
- {},
10
- ).pipe(
8
+ export const GetDatasetsInput = /*@__PURE__*/ Schema.Struct({}).pipe(
11
9
  T.Http({ method: "GET", path: "/v2/datasets" }),
12
10
  ) as unknown as Schema.Codec<GetDatasetsInput>;
13
11
 
@@ -32,7 +30,7 @@ export type GetDatasetsOutput = ReadonlyArray<{
32
30
  useRetentionPeriod?: boolean;
33
31
  who: string;
34
32
  }>;
35
- export const GetDatasetsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
33
+ export const GetDatasetsOutput = /*@__PURE__*/ Schema.Array(
36
34
  Schema.Struct({
37
35
  canWrite: Schema.optional(Schema.Boolean),
38
36
  created: Schema.String,
@@ -60,7 +58,7 @@ export const GetDatasetsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
60
58
  /**
61
59
  * Get list of datasets
62
60
  */
63
- export const getDatasets = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
61
+ export const getDatasets = /*@__PURE__*/ API.make(() => ({
64
62
  inputSchema: GetDatasetsInput,
65
63
  outputSchema: GetDatasetsOutput,
66
64
  errors: [Forbidden] as const,
@@ -9,7 +9,7 @@ export interface GetFieldForDatasetInput {
9
9
  field_id: string;
10
10
  }
11
11
  export const GetFieldForDatasetInput =
12
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12
+ /*@__PURE__*/ Schema.Struct({
13
13
  dataset_id: Schema.String.pipe(T.PathParam()),
14
14
  field_id: Schema.String.pipe(T.PathParam()),
15
15
  }).pipe(
@@ -28,7 +28,7 @@ export interface GetFieldForDatasetOutput {
28
28
  unit?: string;
29
29
  }
30
30
  export const GetFieldForDatasetOutput =
31
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
31
+ /*@__PURE__*/ Schema.Struct({
32
32
  description: Schema.optional(Schema.String),
33
33
  hidden: Schema.optional(Schema.Boolean),
34
34
  name: Schema.String,
@@ -37,7 +37,7 @@ export const GetFieldForDatasetOutput =
37
37
  }) as unknown as Schema.Codec<GetFieldForDatasetOutput>;
38
38
 
39
39
  // The operation
40
- export const getFieldForDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
40
+ export const getFieldForDataset = /*@__PURE__*/ API.make(() => ({
41
41
  inputSchema: GetFieldForDatasetInput,
42
42
  outputSchema: GetFieldForDatasetOutput,
43
43
  errors: [NotFound] as const,
@@ -8,7 +8,7 @@ export interface GetFieldsForDatasetInput {
8
8
  dataset_id: string;
9
9
  }
10
10
  export const GetFieldsForDatasetInput =
11
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
11
+ /*@__PURE__*/ Schema.Struct({
12
12
  dataset_id: Schema.String.pipe(T.PathParam()),
13
13
  }).pipe(
14
14
  T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}/fields" }),
@@ -23,7 +23,7 @@ export type GetFieldsForDatasetOutput = ReadonlyArray<{
23
23
  unit?: string;
24
24
  }>;
25
25
  export const GetFieldsForDatasetOutput =
26
- /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
26
+ /*@__PURE__*/ Schema.Array(
27
27
  Schema.Struct({
28
28
  description: Schema.optional(Schema.String),
29
29
  hidden: Schema.optional(Schema.Boolean),
@@ -34,7 +34,7 @@ export const GetFieldsForDatasetOutput =
34
34
  ) as unknown as Schema.Codec<GetFieldsForDatasetOutput>;
35
35
 
36
36
  // The operation
37
- export const getFieldsForDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
37
+ export const getFieldsForDataset = /*@__PURE__*/ API.make(() => ({
38
38
  inputSchema: GetFieldsForDatasetInput,
39
39
  outputSchema: GetFieldsForDatasetOutput,
40
40
  errors: [Forbidden, NotFound] as const,
@@ -7,7 +7,7 @@ import { NotFound } from "../../errors.ts";
7
7
  export interface GetGroupByIdInput {
8
8
  id: string;
9
9
  }
10
- export const GetGroupByIdInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
+ export const GetGroupByIdInput = /*@__PURE__*/ Schema.Struct({
11
11
  id: Schema.String.pipe(T.PathParam()),
12
12
  }).pipe(
13
13
  T.Http({ method: "GET", path: "/v2/rbac/groups/{id}" }),
@@ -22,7 +22,7 @@ export interface GetGroupByIdOutput {
22
22
  roles?: ReadonlyArray<string>;
23
23
  id: string;
24
24
  }
25
- export const GetGroupByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
25
+ export const GetGroupByIdOutput = /*@__PURE__*/ Schema.Struct({
26
26
  description: Schema.optional(Schema.String),
27
27
  isManaged: Schema.optional(Schema.Boolean),
28
28
  members: Schema.optional(Schema.Array(Schema.String)),
@@ -39,7 +39,7 @@ export const GetGroupByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
39
39
  *
40
40
  * @param id - Unique identifier of the group to retrieve
41
41
  */
42
- export const getGroupById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
42
+ export const getGroupById = /*@__PURE__*/ API.make(() => ({
43
43
  inputSchema: GetGroupByIdInput,
44
44
  outputSchema: GetGroupByIdOutput,
45
45
  errors: [NotFound] as const,
@@ -7,7 +7,7 @@ import { NotFound } from "../../errors.ts";
7
7
  export interface GetMapFieldsInput {
8
8
  dataset_id: string;
9
9
  }
10
- export const GetMapFieldsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
+ export const GetMapFieldsInput = /*@__PURE__*/ Schema.Struct({
11
11
  dataset_id: Schema.String.pipe(T.PathParam()),
12
12
  }).pipe(
13
13
  T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}/mapfields" }),
@@ -15,12 +15,12 @@ export const GetMapFieldsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
15
15
 
16
16
  // Output Schema
17
17
  export type GetMapFieldsOutput = ReadonlyArray<string>;
18
- export const GetMapFieldsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
18
+ export const GetMapFieldsOutput = /*@__PURE__*/ Schema.Array(
19
19
  Schema.String,
20
20
  ) as unknown as Schema.Codec<GetMapFieldsOutput>;
21
21
 
22
22
  // The operation
23
- export const getMapFields = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
23
+ export const getMapFields = /*@__PURE__*/ API.make(() => ({
24
24
  inputSchema: GetMapFieldsInput,
25
25
  outputSchema: GetMapFieldsOutput,
26
26
  errors: [NotFound] as const,
@@ -7,7 +7,7 @@ import { NotFound } from "../../errors.ts";
7
7
  export interface GetMonitorInput {
8
8
  id: string;
9
9
  }
10
- export const GetMonitorInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
+ export const GetMonitorInput = /*@__PURE__*/ Schema.Struct({
11
11
  id: Schema.String.pipe(T.PathParam()),
12
12
  }).pipe(
13
13
  T.Http({ method: "GET", path: "/v2/monitors/{id}" }),
@@ -48,7 +48,7 @@ export interface GetMonitorOutput {
48
48
  updatedAt?: string;
49
49
  id: string;
50
50
  }
51
- export const GetMonitorOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
51
+ export const GetMonitorOutput = /*@__PURE__*/ Schema.Struct({
52
52
  alertOnNoData: Schema.optional(Schema.Boolean),
53
53
  aplQuery: Schema.optional(Schema.String),
54
54
  columnName: Schema.optional(Schema.String),
@@ -92,7 +92,7 @@ export const GetMonitorOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
92
92
  *
93
93
  * @param id - Unique identifier of the monitor (format: mon_*)
94
94
  */
95
- export const getMonitor = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
95
+ export const getMonitor = /*@__PURE__*/ API.make(() => ({
96
96
  inputSchema: GetMonitorInput,
97
97
  outputSchema: GetMonitorOutput,
98
98
  errors: [NotFound] as const,
@@ -9,13 +9,11 @@ export interface GetMonitorHistoryInput {
9
9
  startTime: string;
10
10
  endTime: string;
11
11
  }
12
- export const GetMonitorHistoryInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
13
- {
14
- id: Schema.String.pipe(T.PathParam()),
15
- startTime: Schema.String,
16
- endTime: Schema.String,
17
- },
18
- ).pipe(
12
+ export const GetMonitorHistoryInput = /*@__PURE__*/ Schema.Struct({
13
+ id: Schema.String.pipe(T.PathParam()),
14
+ startTime: Schema.String,
15
+ endTime: Schema.String,
16
+ }).pipe(
19
17
  T.Http({ method: "GET", path: "/v2/monitors/{id}/history" }),
20
18
  ) as unknown as Schema.Codec<GetMonitorHistoryInput>;
21
19
 
@@ -26,7 +24,7 @@ export type GetMonitorHistoryOutput = ReadonlyArray<{
26
24
  state: "open" | "closed";
27
25
  timestamp: string;
28
26
  }>;
29
- export const GetMonitorHistoryOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
27
+ export const GetMonitorHistoryOutput = /*@__PURE__*/ Schema.Array(
30
28
  Schema.Struct({
31
29
  checkId: Schema.String,
32
30
  name: Schema.String,
@@ -42,7 +40,7 @@ export const GetMonitorHistoryOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
42
40
  * @param startTime - Start time (ISO 8601 format) for filtering alert history.
43
41
  * @param endTime - End time (ISO 8601 format) for filtering alert history.
44
42
  */
45
- export const getMonitorHistory = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
43
+ export const getMonitorHistory = /*@__PURE__*/ API.make(() => ({
46
44
  inputSchema: GetMonitorHistoryInput,
47
45
  outputSchema: GetMonitorHistoryOutput,
48
46
  errors: [NotFound, UnprocessableEntity] as const,
@@ -4,9 +4,7 @@ import * as T from "../../traits.ts";
4
4
 
5
5
  // Input Schema
6
6
  export interface GetMonitorsInput {}
7
- export const GetMonitorsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
8
- {},
9
- ).pipe(
7
+ export const GetMonitorsInput = /*@__PURE__*/ Schema.Struct({}).pipe(
10
8
  T.Http({ method: "GET", path: "/v2/monitors" }),
11
9
  ) as unknown as Schema.Codec<GetMonitorsInput>;
12
10
 
@@ -45,7 +43,7 @@ export type GetMonitorsOutput = ReadonlyArray<{
45
43
  updatedAt?: string;
46
44
  id: string;
47
45
  }>;
48
- export const GetMonitorsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
46
+ export const GetMonitorsOutput = /*@__PURE__*/ Schema.Array(
49
47
  Schema.Struct({
50
48
  alertOnNoData: Schema.optional(Schema.Boolean),
51
49
  aplQuery: Schema.optional(Schema.String),
@@ -89,7 +87,7 @@ export const GetMonitorsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
89
87
  /**
90
88
  * Lists all configured monitors. Returns an array of monitor configurations including their IDs and current status.
91
89
  */
92
- export const getMonitors = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
90
+ export const getMonitors = /*@__PURE__*/ API.make(() => ({
93
91
  inputSchema: GetMonitorsInput,
94
92
  outputSchema: GetMonitorsOutput,
95
93
  }));
@@ -9,7 +9,7 @@ import * as Redacted from "effect/Redacted";
9
9
  export interface GetNotifierInput {
10
10
  id: string;
11
11
  }
12
- export const GetNotifierInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12
+ export const GetNotifierInput = /*@__PURE__*/ Schema.Struct({
13
13
  id: Schema.String.pipe(T.PathParam()),
14
14
  }).pipe(
15
15
  T.Http({ method: "GET", path: "/v2/notifiers/{id}" }),
@@ -40,7 +40,7 @@ export interface GetNotifierOutput {
40
40
  updatedAt?: string;
41
41
  id?: string;
42
42
  }
43
- export const GetNotifierOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
43
+ export const GetNotifierOutput = /*@__PURE__*/ Schema.Struct({
44
44
  createdAt: Schema.optional(Schema.String),
45
45
  createdBy: Schema.optional(Schema.String),
46
46
  disabledUntil: Schema.optional(Schema.String),
@@ -110,7 +110,7 @@ export const GetNotifierOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
110
110
  *
111
111
  * @param id - Unique identifier of the notifier (format: notify_*)
112
112
  */
113
- export const getNotifier = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
113
+ export const getNotifier = /*@__PURE__*/ API.make(() => ({
114
114
  inputSchema: GetNotifierInput,
115
115
  outputSchema: GetNotifierOutput,
116
116
  errors: [NotFound] as const,
@@ -6,9 +6,7 @@ import * as Redacted from "effect/Redacted";
6
6
 
7
7
  // Input Schema
8
8
  export interface GetNotifiersInput {}
9
- export const GetNotifiersInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
10
- {},
11
- ).pipe(
9
+ export const GetNotifiersInput = /*@__PURE__*/ Schema.Struct({}).pipe(
12
10
  T.Http({ method: "GET", path: "/v2/notifiers" }),
13
11
  ) as unknown as Schema.Codec<GetNotifiersInput>;
14
12
 
@@ -37,7 +35,7 @@ export type GetNotifiersOutput = ReadonlyArray<{
37
35
  updatedAt?: string;
38
36
  id?: string;
39
37
  }>;
40
- export const GetNotifiersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
38
+ export const GetNotifiersOutput = /*@__PURE__*/ Schema.Array(
41
39
  Schema.Struct({
42
40
  createdAt: Schema.optional(Schema.String),
43
41
  createdBy: Schema.optional(Schema.String),
@@ -107,7 +105,7 @@ export const GetNotifiersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
107
105
  /**
108
106
  * Lists all configured notifiers. Returns an array of notification configurations including their IDs and current status.
109
107
  */
110
- export const getNotifiers = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
108
+ export const getNotifiers = /*@__PURE__*/ API.make(() => ({
111
109
  inputSchema: GetNotifiersInput,
112
110
  outputSchema: GetNotifiersOutput,
113
111
  }));
@@ -7,7 +7,7 @@ import { NotFound } from "../../errors.ts";
7
7
  export interface GetOrgInput {
8
8
  id: string;
9
9
  }
10
- export const GetOrgInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
+ export const GetOrgInput = /*@__PURE__*/ Schema.Struct({
11
11
  id: Schema.String.pipe(T.PathParam()),
12
12
  }).pipe(
13
13
  T.Http({ method: "GET", path: "/v2/orgs/{id}" }),
@@ -69,7 +69,7 @@ export interface GetOrgOutput {
69
69
  primaryEmail: string;
70
70
  role?: string;
71
71
  }
72
- export const GetOrgOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
72
+ export const GetOrgOutput = /*@__PURE__*/ Schema.Struct({
73
73
  defaultEdgeDeployment: Schema.optional(Schema.String),
74
74
  firstFailedPayment: Schema.optional(Schema.String),
75
75
  id: Schema.String,
@@ -128,7 +128,7 @@ export const GetOrgOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
128
128
  }) as unknown as Schema.Codec<GetOrgOutput>;
129
129
 
130
130
  // The operation
131
- export const getOrg = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
131
+ export const getOrg = /*@__PURE__*/ API.make(() => ({
132
132
  inputSchema: GetOrgInput,
133
133
  outputSchema: GetOrgOutput,
134
134
  errors: [NotFound] as const,
@@ -4,7 +4,7 @@ import * as T from "../../traits.ts";
4
4
 
5
5
  // Input Schema
6
6
  export interface GetOrgsInput {}
7
- export const GetOrgsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
7
+ export const GetOrgsInput = /*@__PURE__*/ Schema.Struct({}).pipe(
8
8
  T.Http({ method: "GET", path: "/v2/orgs" }),
9
9
  ) as unknown as Schema.Codec<GetOrgsInput>;
10
10
 
@@ -64,7 +64,7 @@ export type GetOrgsOutput = ReadonlyArray<{
64
64
  primaryEmail: string;
65
65
  role?: string;
66
66
  }>;
67
- export const GetOrgsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
67
+ export const GetOrgsOutput = /*@__PURE__*/ Schema.Array(
68
68
  Schema.Struct({
69
69
  defaultEdgeDeployment: Schema.optional(Schema.String),
70
70
  firstFailedPayment: Schema.optional(Schema.String),
@@ -125,7 +125,7 @@ export const GetOrgsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
125
125
  ) as unknown as Schema.Codec<GetOrgsOutput>;
126
126
 
127
127
  // The operation
128
- export const getOrgs = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
128
+ export const getOrgs = /*@__PURE__*/ API.make(() => ({
129
129
  inputSchema: GetOrgsInput,
130
130
  outputSchema: GetOrgsOutput,
131
131
  }));
@@ -7,7 +7,7 @@ import { NotFound } from "../../errors.ts";
7
7
  export interface GetRoleByIdInput {
8
8
  id: string;
9
9
  }
10
- export const GetRoleByIdInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
+ export const GetRoleByIdInput = /*@__PURE__*/ Schema.Struct({
11
11
  id: Schema.String.pipe(T.PathParam()),
12
12
  }).pipe(
13
13
  T.Http({ method: "GET", path: "/v2/rbac/roles/{id}" }),
@@ -57,7 +57,7 @@ export interface GetRoleByIdOutput {
57
57
  >;
58
58
  id: string;
59
59
  }
60
- export const GetRoleByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
60
+ export const GetRoleByIdOutput = /*@__PURE__*/ Schema.Struct({
61
61
  datasetCapabilities: Schema.optional(
62
62
  Schema.Record(
63
63
  Schema.String,
@@ -151,7 +151,7 @@ export const GetRoleByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
151
151
  *
152
152
  * @param id - Unique identifier of the role to retrieve
153
153
  */
154
- export const getRoleById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
154
+ export const getRoleById = /*@__PURE__*/ API.make(() => ({
155
155
  inputSchema: GetRoleByIdInput,
156
156
  outputSchema: GetRoleByIdOutput,
157
157
  errors: [NotFound] as const,
@@ -7,7 +7,7 @@ import { NotFound } from "../../errors.ts";
7
7
  export interface GetStarredInput {
8
8
  id: string;
9
9
  }
10
- export const GetStarredInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
+ export const GetStarredInput = /*@__PURE__*/ Schema.Struct({
11
11
  id: Schema.String.pipe(T.PathParam()),
12
12
  }).pipe(
13
13
  T.Http({ method: "GET", path: "/v2/apl-starred-queries/{id}" }),
@@ -51,7 +51,7 @@ export interface GetStarredOutput {
51
51
  who: string;
52
52
  id: string;
53
53
  }
54
- export const GetStarredOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
54
+ export const GetStarredOutput = /*@__PURE__*/ Schema.Struct({
55
55
  dataset: Schema.optional(Schema.String),
56
56
  kind: Schema.Literals(["apl"]),
57
57
  metadata: Schema.Record(Schema.String, Schema.String),
@@ -110,7 +110,7 @@ export const GetStarredOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
110
110
  }) as unknown as Schema.Codec<GetStarredOutput>;
111
111
 
112
112
  // The operation
113
- export const getStarred = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
113
+ export const getStarred = /*@__PURE__*/ API.make(() => ({
114
114
  inputSchema: GetStarredInput,
115
115
  outputSchema: GetStarredOutput,
116
116
  errors: [NotFound] as const,
@@ -10,15 +10,13 @@ export interface GetStarredQueriesInput {
10
10
  who?: string;
11
11
  qs?: string;
12
12
  }
13
- export const GetStarredQueriesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
14
- {
15
- limit: Schema.optional(Schema.Number),
16
- offset: Schema.optional(Schema.Number),
17
- dataset: Schema.optional(Schema.String),
18
- who: Schema.optional(Schema.String),
19
- qs: Schema.optional(Schema.String),
20
- },
21
- ).pipe(
13
+ export const GetStarredQueriesInput = /*@__PURE__*/ Schema.Struct({
14
+ limit: Schema.optional(Schema.Number),
15
+ offset: Schema.optional(Schema.Number),
16
+ dataset: Schema.optional(Schema.String),
17
+ who: Schema.optional(Schema.String),
18
+ qs: Schema.optional(Schema.String),
19
+ }).pipe(
22
20
  T.Http({ method: "GET", path: "/v2/apl-starred-queries" }),
23
21
  ) as unknown as Schema.Codec<GetStarredQueriesInput>;
24
22
 
@@ -60,7 +58,7 @@ export type GetStarredQueriesOutput = ReadonlyArray<{
60
58
  who: string;
61
59
  id: string;
62
60
  }>;
63
- export const GetStarredQueriesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
61
+ export const GetStarredQueriesOutput = /*@__PURE__*/ Schema.Array(
64
62
  Schema.Struct({
65
63
  dataset: Schema.optional(Schema.String),
66
64
  kind: Schema.Literals(["apl"]),
@@ -130,7 +128,7 @@ export const GetStarredQueriesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
130
128
  - If the value of `who` is `team`, the request returns queries starred by the team apart from the authenticated user.For example, `&who=team`.
131
129
  - If the value of `who` is `all`, the request returns queries starred by all users in the team, including the authenticated user. For example, `&who=all`.
132
130
  */
133
- export const getStarredQueries = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
131
+ export const getStarredQueries = /*@__PURE__*/ API.make(() => ({
134
132
  inputSchema: GetStarredQueriesInput,
135
133
  outputSchema: GetStarredQueriesOutput,
136
134
  }));
@@ -7,7 +7,7 @@ import { NotFound } from "../../errors.ts";
7
7
  export interface GetUserInput {
8
8
  id: string;
9
9
  }
10
- export const GetUserInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
+ export const GetUserInput = /*@__PURE__*/ Schema.Struct({
11
11
  id: Schema.String.pipe(T.PathParam()),
12
12
  }).pipe(
13
13
  T.Http({ method: "GET", path: "/v2/users/{id}" }),
@@ -20,7 +20,7 @@ export interface GetUserOutput {
20
20
  name: string;
21
21
  role?: { id: string; name: string };
22
22
  }
23
- export const GetUserOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
23
+ export const GetUserOutput = /*@__PURE__*/ Schema.Struct({
24
24
  email: Schema.String,
25
25
  id: Schema.String,
26
26
  name: Schema.String,
@@ -36,7 +36,7 @@ export const GetUserOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
36
36
  /**
37
37
  * Get user by ID
38
38
  */
39
- export const getUser = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
39
+ export const getUser = /*@__PURE__*/ API.make(() => ({
40
40
  inputSchema: GetUserInput,
41
41
  outputSchema: GetUserOutput,
42
42
  errors: [NotFound] as const,
@@ -4,7 +4,7 @@ import * as T from "../../traits.ts";
4
4
 
5
5
  // Input Schema
6
6
  export interface GetUsersInput {}
7
- export const GetUsersInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
7
+ export const GetUsersInput = /*@__PURE__*/ Schema.Struct({}).pipe(
8
8
  T.Http({ method: "GET", path: "/v2/users" }),
9
9
  ) as unknown as Schema.Codec<GetUsersInput>;
10
10
 
@@ -15,7 +15,7 @@ export type GetUsersOutput = ReadonlyArray<{
15
15
  name: string;
16
16
  role?: { id: string; name: string };
17
17
  }>;
18
- export const GetUsersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
18
+ export const GetUsersOutput = /*@__PURE__*/ Schema.Array(
19
19
  Schema.Struct({
20
20
  email: Schema.String,
21
21
  id: Schema.String,
@@ -33,7 +33,7 @@ export const GetUsersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
33
33
  /**
34
34
  * Get users
35
35
  */
36
- export const getUsers = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
36
+ export const getUsers = /*@__PURE__*/ API.make(() => ({
37
37
  inputSchema: GetUsersInput,
38
38
  outputSchema: GetUsersOutput,
39
39
  }));
@@ -7,7 +7,7 @@ import { NotFound } from "../../errors.ts";
7
7
  export interface GetViewInput {
8
8
  id: string;
9
9
  }
10
- export const GetViewInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
+ export const GetViewInput = /*@__PURE__*/ Schema.Struct({
11
11
  id: Schema.String.pipe(T.PathParam()),
12
12
  }).pipe(
13
13
  T.Http({ method: "GET", path: "/v2/views/{id}" }),
@@ -22,7 +22,7 @@ export interface GetViewOutput {
22
22
  sharedByOrg?: string;
23
23
  sharedByOrgName?: string;
24
24
  }
25
- export const GetViewOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
25
+ export const GetViewOutput = /*@__PURE__*/ Schema.Struct({
26
26
  aplQuery: Schema.String,
27
27
  datasets: Schema.optional(Schema.Array(Schema.String)),
28
28
  description: Schema.optional(Schema.String),
@@ -32,7 +32,7 @@ export const GetViewOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
32
32
  }) as unknown as Schema.Codec<GetViewOutput>;
33
33
 
34
34
  // The operation
35
- export const getView = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
35
+ export const getView = /*@__PURE__*/ API.make(() => ({
36
36
  inputSchema: GetViewInput,
37
37
  outputSchema: GetViewOutput,
38
38
  errors: [NotFound] as const,
@@ -4,7 +4,7 @@ import * as T from "../../traits.ts";
4
4
 
5
5
  // Input Schema
6
6
  export interface GetViewsInput {}
7
- export const GetViewsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
7
+ export const GetViewsInput = /*@__PURE__*/ Schema.Struct({}).pipe(
8
8
  T.Http({ method: "GET", path: "/v2/views" }),
9
9
  ) as unknown as Schema.Codec<GetViewsInput>;
10
10
 
@@ -17,7 +17,7 @@ export type GetViewsOutput = ReadonlyArray<{
17
17
  sharedByOrg?: string;
18
18
  sharedByOrgName?: string;
19
19
  }>;
20
- export const GetViewsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
20
+ export const GetViewsOutput = /*@__PURE__*/ Schema.Array(
21
21
  Schema.Struct({
22
22
  aplQuery: Schema.String,
23
23
  datasets: Schema.optional(Schema.Array(Schema.String)),
@@ -29,7 +29,7 @@ export const GetViewsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
29
29
  ) as unknown as Schema.Codec<GetViewsOutput>;
30
30
 
31
31
  // The operation
32
- export const getViews = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
32
+ export const getViews = /*@__PURE__*/ API.make(() => ({
33
33
  inputSchema: GetViewsInput,
34
34
  outputSchema: GetViewsOutput,
35
35
  }));
@@ -7,7 +7,7 @@ import { NotFound } from "../../errors.ts";
7
7
  export interface GetVirtualFieldInput {
8
8
  id: string;
9
9
  }
10
- export const GetVirtualFieldInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
+ export const GetVirtualFieldInput = /*@__PURE__*/ Schema.Struct({
11
11
  id: Schema.String.pipe(T.PathParam()),
12
12
  }).pipe(
13
13
  T.Http({ method: "GET", path: "/v2/vfields/{id}" }),
@@ -23,7 +23,7 @@ export interface GetVirtualFieldOutput {
23
23
  unit?: string;
24
24
  id: string;
25
25
  }
26
- export const GetVirtualFieldOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
26
+ export const GetVirtualFieldOutput = /*@__PURE__*/ Schema.Struct({
27
27
  dataset: Schema.String,
28
28
  description: Schema.optional(Schema.String),
29
29
  expression: Schema.String,
@@ -34,7 +34,7 @@ export const GetVirtualFieldOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
34
34
  }) as unknown as Schema.Codec<GetVirtualFieldOutput>;
35
35
 
36
36
  // The operation
37
- export const getVirtualField = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
37
+ export const getVirtualField = /*@__PURE__*/ API.make(() => ({
38
38
  inputSchema: GetVirtualFieldInput,
39
39
  outputSchema: GetVirtualFieldOutput,
40
40
  errors: [NotFound] as const,
@@ -6,7 +6,7 @@ import * as T from "../../traits.ts";
6
6
  export interface GetVirtualFieldsInput {
7
7
  dataset: string;
8
8
  }
9
- export const GetVirtualFieldsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9
+ export const GetVirtualFieldsInput = /*@__PURE__*/ Schema.Struct({
10
10
  dataset: Schema.String,
11
11
  }).pipe(
12
12
  T.Http({ method: "GET", path: "/v2/vfields" }),
@@ -22,7 +22,7 @@ export type GetVirtualFieldsOutput = ReadonlyArray<{
22
22
  unit?: string;
23
23
  id: string;
24
24
  }>;
25
- export const GetVirtualFieldsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
25
+ export const GetVirtualFieldsOutput = /*@__PURE__*/ Schema.Array(
26
26
  Schema.Struct({
27
27
  dataset: Schema.String,
28
28
  description: Schema.optional(Schema.String),
@@ -35,7 +35,7 @@ export const GetVirtualFieldsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
35
35
  ) as unknown as Schema.Codec<GetVirtualFieldsOutput>;
36
36
 
37
37
  // The operation
38
- export const getVirtualFields = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
38
+ export const getVirtualFields = /*@__PURE__*/ API.make(() => ({
39
39
  inputSchema: GetVirtualFieldsInput,
40
40
  outputSchema: GetVirtualFieldsOutput,
41
41
  }));
@@ -7,7 +7,7 @@ export interface ListDashboardsInput {
7
7
  limit?: number;
8
8
  offset?: number;
9
9
  }
10
- export const ListDashboardsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
+ export const ListDashboardsInput = /*@__PURE__*/ Schema.Struct({
11
11
  limit: Schema.optional(Schema.Number),
12
12
  offset: Schema.optional(Schema.Number),
13
13
  }).pipe(
@@ -187,7 +187,7 @@ export type ListDashboardsOutput = ReadonlyArray<{
187
187
  updatedBy: string;
188
188
  version: string | number;
189
189
  }>;
190
- export const ListDashboardsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
190
+ export const ListDashboardsOutput = /*@__PURE__*/ Schema.Array(
191
191
  Schema.Struct({
192
192
  createdAt: Schema.String,
193
193
  createdBy: Schema.String,
@@ -248,7 +248,7 @@ export const ListDashboardsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
248
248
  *
249
249
  * List dashboards visible to the caller.
250
250
  */
251
- export const listDashboards = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
251
+ export const listDashboards = /*@__PURE__*/ API.make(() => ({
252
252
  inputSchema: ListDashboardsInput,
253
253
  outputSchema: ListDashboardsOutput,
254
254
  }));