@sixb/server 0.1.20 → 0.1.22

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 (179) hide show
  1. package/dist/artifacts/frame.d.ts +18 -0
  2. package/dist/artifacts/frame.d.ts.map +1 -0
  3. package/dist/auth/browser-origin.d.ts +10 -1
  4. package/dist/auth/browser-origin.d.ts.map +1 -1
  5. package/dist/auth/experience.d.ts +1 -0
  6. package/dist/auth/experience.d.ts.map +1 -1
  7. package/dist/auth/public-routes.d.ts.map +1 -1
  8. package/dist/auth/responses.d.ts +1 -1
  9. package/dist/auth/responses.d.ts.map +1 -1
  10. package/dist/auth/scope.d.ts +19 -3
  11. package/dist/auth/scope.d.ts.map +1 -1
  12. package/dist/files/content.d.ts +2 -3
  13. package/dist/files/content.d.ts.map +1 -1
  14. package/dist/index.js +10636 -7071
  15. package/dist/index.js.map +56 -38
  16. package/dist/models/display.d.ts +27 -0
  17. package/dist/models/display.d.ts.map +1 -1
  18. package/dist/openapi/components.d.ts +14 -0
  19. package/dist/openapi/components.d.ts.map +1 -0
  20. package/dist/openapi/tags.d.ts +22 -2
  21. package/dist/openapi/tags.d.ts.map +1 -1
  22. package/dist/registerRoutes.d.ts +3 -0
  23. package/dist/registerRoutes.d.ts.map +1 -1
  24. package/dist/routes/actions.d.ts +5 -5
  25. package/dist/routes/activity.d.ts +35 -0
  26. package/dist/routes/activity.d.ts.map +1 -0
  27. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  28. package/dist/routes/agent-approval-gate.d.ts +27 -0
  29. package/dist/routes/agent-approval-gate.d.ts.map +1 -0
  30. package/dist/routes/agent-approvals.d.ts +599 -0
  31. package/dist/routes/agent-approvals.d.ts.map +1 -0
  32. package/dist/routes/agent-children.d.ts +318 -0
  33. package/dist/routes/agent-children.d.ts.map +1 -0
  34. package/dist/routes/agent-memory.d.ts +267 -0
  35. package/dist/routes/agent-memory.d.ts.map +1 -0
  36. package/dist/routes/agents.d.ts +1008 -98
  37. package/dist/routes/agents.d.ts.map +1 -1
  38. package/dist/routes/ai-accounting.d.ts.map +1 -1
  39. package/dist/routes/artifact-frames.d.ts +98 -0
  40. package/dist/routes/artifact-frames.d.ts.map +1 -0
  41. package/dist/routes/artifacts.d.ts +1508 -0
  42. package/dist/routes/artifacts.d.ts.map +1 -0
  43. package/dist/routes/auth.d.ts +117 -11
  44. package/dist/routes/auth.d.ts.map +1 -1
  45. package/dist/routes/connector-connection-runs.d.ts +84 -84
  46. package/dist/routes/connector-connections.d.ts +2 -2
  47. package/dist/routes/connectors.d.ts +2 -2
  48. package/dist/routes/datasets.d.ts +27 -27
  49. package/dist/routes/events.d.ts +5 -5
  50. package/dist/routes/files.d.ts +14 -14
  51. package/dist/routes/files.d.ts.map +1 -1
  52. package/dist/routes/links.d.ts +2 -2
  53. package/dist/routes/logs.d.ts +5 -5
  54. package/dist/routes/model-calls.d.ts +155 -0
  55. package/dist/routes/model-calls.d.ts.map +1 -0
  56. package/dist/routes/model-generations.d.ts +400 -0
  57. package/dist/routes/model-generations.d.ts.map +1 -0
  58. package/dist/routes/models.d.ts +434 -1
  59. package/dist/routes/models.d.ts.map +1 -1
  60. package/dist/routes/objects.d.ts +71 -40
  61. package/dist/routes/objects.d.ts.map +1 -1
  62. package/dist/routes/observed-agent-threads.d.ts +682 -0
  63. package/dist/routes/observed-agent-threads.d.ts.map +1 -0
  64. package/dist/routes/ontology.d.ts +66 -62
  65. package/dist/routes/ontology.d.ts.map +1 -1
  66. package/dist/routes/pipelines.d.ts +53 -53
  67. package/dist/routes/projections.d.ts +63 -63
  68. package/dist/routes/rules.d.ts +2 -2
  69. package/dist/routes/share-grants.d.ts +4 -4
  70. package/dist/routes/syncs.d.ts +18 -18
  71. package/dist/routes/users.d.ts +117 -0
  72. package/dist/routes/users.d.ts.map +1 -0
  73. package/dist/routes/webhook-runs.d.ts +1 -1
  74. package/dist/routes/workflows.d.ts +142 -76
  75. package/dist/routes/workflows.d.ts.map +1 -1
  76. package/dist/routes/ws/agents.d.ts +7 -2
  77. package/dist/routes/ws/agents.d.ts.map +1 -1
  78. package/dist/routes/ws/events.d.ts +6 -6
  79. package/dist/routes/ws/events.d.ts.map +1 -1
  80. package/dist/routes/ws/logs.d.ts +14 -14
  81. package/dist/routes/ws/subscription-hub.d.ts +8 -3
  82. package/dist/routes/ws/subscription-hub.d.ts.map +1 -1
  83. package/dist/schemas/actions.d.ts +15 -15
  84. package/dist/schemas/activity.d.ts +1298 -0
  85. package/dist/schemas/activity.d.ts.map +1 -0
  86. package/dist/schemas/agent-approvals.d.ts +1091 -0
  87. package/dist/schemas/agent-approvals.d.ts.map +1 -0
  88. package/dist/schemas/agent-memory.d.ts +250 -0
  89. package/dist/schemas/agent-memory.d.ts.map +1 -0
  90. package/dist/schemas/agents.d.ts +5485 -460
  91. package/dist/schemas/agents.d.ts.map +1 -1
  92. package/dist/schemas/ai-accounting.d.ts +1315 -436
  93. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  94. package/dist/schemas/ai-limits.d.ts +36 -36
  95. package/dist/schemas/ai-usage.d.ts +12 -0
  96. package/dist/schemas/ai-usage.d.ts.map +1 -1
  97. package/dist/schemas/artifacts.d.ts +1857 -0
  98. package/dist/schemas/artifacts.d.ts.map +1 -0
  99. package/dist/schemas/auth.d.ts +125 -52
  100. package/dist/schemas/auth.d.ts.map +1 -1
  101. package/dist/schemas/connectors.d.ts +42 -42
  102. package/dist/schemas/datasets.d.ts +108 -108
  103. package/dist/schemas/event-payloads.d.ts +6 -6
  104. package/dist/schemas/events.d.ts +32 -32
  105. package/dist/schemas/events.d.ts.map +1 -1
  106. package/dist/schemas/files.d.ts +24 -24
  107. package/dist/schemas/links.d.ts +2 -2
  108. package/dist/schemas/logs.d.ts +32 -32
  109. package/dist/schemas/models.d.ts +8889 -10
  110. package/dist/schemas/models.d.ts.map +1 -1
  111. package/dist/schemas/objects.d.ts +48 -12
  112. package/dist/schemas/objects.d.ts.map +1 -1
  113. package/dist/schemas/ontology.d.ts +127 -104
  114. package/dist/schemas/ontology.d.ts.map +1 -1
  115. package/dist/schemas/pipelines.d.ts +166 -166
  116. package/dist/schemas/projections.d.ts +346 -346
  117. package/dist/schemas/rules.d.ts +4 -4
  118. package/dist/schemas/share-grants.d.ts +14 -14
  119. package/dist/schemas/syncs.d.ts +40 -40
  120. package/dist/schemas/users.d.ts +72 -0
  121. package/dist/schemas/users.d.ts.map +1 -0
  122. package/dist/schemas/webhook-runs.d.ts +6 -6
  123. package/dist/schemas/workflows.d.ts +769 -254
  124. package/dist/schemas/workflows.d.ts.map +1 -1
  125. package/dist/server.d.ts +1 -0
  126. package/dist/server.d.ts.map +1 -1
  127. package/dist/utils/http.d.ts.map +1 -1
  128. package/package.json +7 -7
  129. package/src/artifacts/frame.ts +51 -0
  130. package/src/auth/browser-origin.ts +20 -5
  131. package/src/auth/experience.ts +1 -1
  132. package/src/auth/guard.ts +2 -2
  133. package/src/auth/public-routes.ts +16 -0
  134. package/src/auth/responses.ts +7 -6
  135. package/src/auth/scope.ts +32 -3
  136. package/src/files/content.ts +9 -13
  137. package/src/models/display.ts +61 -16
  138. package/src/openapi/components.ts +54 -0
  139. package/src/openapi/tags.ts +20 -0
  140. package/src/registerRoutes.ts +23 -0
  141. package/src/routes/activity.ts +327 -0
  142. package/src/routes/agent-api-gateway.ts +115 -91
  143. package/src/routes/agent-approval-gate.ts +213 -0
  144. package/src/routes/agent-approvals.ts +299 -0
  145. package/src/routes/agent-children.ts +209 -0
  146. package/src/routes/agent-memory.ts +210 -0
  147. package/src/routes/agents.ts +364 -143
  148. package/src/routes/ai-accounting.ts +4 -0
  149. package/src/routes/artifact-frames.ts +144 -0
  150. package/src/routes/artifacts.ts +717 -0
  151. package/src/routes/auth.ts +306 -13
  152. package/src/routes/file-downloads.ts +1 -3
  153. package/src/routes/files.ts +6 -7
  154. package/src/routes/model-calls.ts +120 -0
  155. package/src/routes/model-generations.ts +245 -0
  156. package/src/routes/models.ts +116 -9
  157. package/src/routes/objects.ts +55 -61
  158. package/src/routes/observed-agent-threads.ts +253 -0
  159. package/src/routes/ontology.ts +1 -0
  160. package/src/routes/users.ts +73 -0
  161. package/src/routes/workflows.ts +6 -9
  162. package/src/routes/ws/agents.ts +10 -5
  163. package/src/routes/ws/events.ts +3 -2
  164. package/src/routes/ws/subscription-hub.ts +53 -20
  165. package/src/schemas/activity.ts +287 -0
  166. package/src/schemas/agent-approvals.ts +129 -0
  167. package/src/schemas/agent-memory.ts +96 -0
  168. package/src/schemas/agents.ts +240 -2
  169. package/src/schemas/ai-accounting.ts +40 -4
  170. package/src/schemas/ai-usage.ts +10 -0
  171. package/src/schemas/artifacts.ts +246 -0
  172. package/src/schemas/auth.ts +25 -0
  173. package/src/schemas/models.ts +197 -1
  174. package/src/schemas/objects.ts +181 -0
  175. package/src/schemas/ontology.ts +1 -0
  176. package/src/schemas/users.ts +24 -0
  177. package/src/schemas/workflows.ts +2 -0
  178. package/src/server.ts +34 -19
  179. package/src/utils/http.ts +2 -0
@@ -32,25 +32,25 @@ export declare const DatasetRowsQuerySchema: z.ZodObject<{
32
32
  }, "strip", z.ZodTypeAny, {
33
33
  limit?: string | undefined;
34
34
  offset?: string | undefined;
35
- versionId?: string | undefined;
36
35
  columns?: string[] | undefined;
36
+ versionId?: string | undefined;
37
37
  }, {
38
38
  limit?: string | undefined;
39
39
  offset?: string | undefined;
40
- versionId?: string | undefined;
41
40
  columns?: unknown;
41
+ versionId?: string | undefined;
42
42
  }>;
43
43
  export declare const DatasetColumnSchema: z.ZodObject<{
44
44
  name: z.ZodString;
45
45
  type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
46
46
  nullable: z.ZodOptional<z.ZodBoolean>;
47
47
  }, "strip", z.ZodTypeAny, {
48
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
48
49
  name: string;
49
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
50
50
  nullable?: boolean | undefined;
51
51
  }, {
52
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
52
53
  name: string;
53
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
54
54
  nullable?: boolean | undefined;
55
55
  }>;
56
56
  export declare const DatasetSchema: z.ZodObject<{
@@ -59,24 +59,24 @@ export declare const DatasetSchema: z.ZodObject<{
59
59
  type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
60
60
  nullable: z.ZodOptional<z.ZodBoolean>;
61
61
  }, "strip", z.ZodTypeAny, {
62
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
62
63
  name: string;
63
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
64
64
  nullable?: boolean | undefined;
65
65
  }, {
66
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
66
67
  name: string;
67
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
68
68
  nullable?: boolean | undefined;
69
69
  }>, "many">;
70
70
  }, "strip", z.ZodTypeAny, {
71
71
  columns: {
72
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
72
73
  name: string;
73
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
74
74
  nullable?: boolean | undefined;
75
75
  }[];
76
76
  }, {
77
77
  columns: {
78
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
78
79
  name: string;
79
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
80
80
  nullable?: boolean | undefined;
81
81
  }[];
82
82
  }>;
@@ -92,24 +92,24 @@ export declare const DatasetDefinitionSchema: z.ZodObject<{
92
92
  type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
93
93
  nullable: z.ZodOptional<z.ZodBoolean>;
94
94
  }, "strip", z.ZodTypeAny, {
95
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
95
96
  name: string;
96
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
97
97
  nullable?: boolean | undefined;
98
98
  }, {
99
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
99
100
  name: string;
100
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
101
101
  nullable?: boolean | undefined;
102
102
  }>, "many">;
103
103
  }, "strip", z.ZodTypeAny, {
104
104
  columns: {
105
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
105
106
  name: string;
106
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
107
107
  nullable?: boolean | undefined;
108
108
  }[];
109
109
  }, {
110
110
  columns: {
111
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
111
112
  name: string;
112
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
113
113
  nullable?: boolean | undefined;
114
114
  }[];
115
115
  }>;
@@ -117,8 +117,8 @@ export declare const DatasetDefinitionSchema: z.ZodObject<{
117
117
  id: string;
118
118
  schema: {
119
119
  columns: {
120
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
120
121
  name: string;
121
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
122
122
  nullable?: boolean | undefined;
123
123
  }[];
124
124
  };
@@ -130,8 +130,8 @@ export declare const DatasetDefinitionSchema: z.ZodObject<{
130
130
  id: string;
131
131
  schema: {
132
132
  columns: {
133
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
133
134
  name: string;
134
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
135
135
  nullable?: boolean | undefined;
136
136
  }[];
137
137
  };
@@ -155,11 +155,11 @@ export declare const DatasetProducerSchema: z.ZodObject<{
155
155
  id: z.ZodOptional<z.ZodString>;
156
156
  runId: z.ZodOptional<z.ZodString>;
157
157
  }, "strip", z.ZodTypeAny, {
158
- kind: "sync" | "pipeline" | "ingest";
158
+ kind: "pipeline" | "sync" | "ingest";
159
159
  id?: string | undefined;
160
160
  runId?: string | undefined;
161
161
  }, {
162
- kind: "sync" | "pipeline" | "ingest";
162
+ kind: "pipeline" | "sync" | "ingest";
163
163
  id?: string | undefined;
164
164
  runId?: string | undefined;
165
165
  }>;
@@ -175,24 +175,24 @@ export declare const DatasetVersionSchema: z.ZodObject<{
175
175
  type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
176
176
  nullable: z.ZodOptional<z.ZodBoolean>;
177
177
  }, "strip", z.ZodTypeAny, {
178
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
178
179
  name: string;
179
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
180
180
  nullable?: boolean | undefined;
181
181
  }, {
182
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
182
183
  name: string;
183
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
184
184
  nullable?: boolean | undefined;
185
185
  }>, "many">;
186
186
  }, "strip", z.ZodTypeAny, {
187
187
  columns: {
188
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
188
189
  name: string;
189
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
190
190
  nullable?: boolean | undefined;
191
191
  }[];
192
192
  }, {
193
193
  columns: {
194
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
194
195
  name: string;
195
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
196
196
  nullable?: boolean | undefined;
197
197
  }[];
198
198
  }>;
@@ -201,11 +201,11 @@ export declare const DatasetVersionSchema: z.ZodObject<{
201
201
  id: z.ZodOptional<z.ZodString>;
202
202
  runId: z.ZodOptional<z.ZodString>;
203
203
  }, "strip", z.ZodTypeAny, {
204
- kind: "sync" | "pipeline" | "ingest";
204
+ kind: "pipeline" | "sync" | "ingest";
205
205
  id?: string | undefined;
206
206
  runId?: string | undefined;
207
207
  }, {
208
- kind: "sync" | "pipeline" | "ingest";
208
+ kind: "pipeline" | "sync" | "ingest";
209
209
  id?: string | undefined;
210
210
  runId?: string | undefined;
211
211
  }>>;
@@ -225,8 +225,8 @@ export declare const DatasetVersionSchema: z.ZodObject<{
225
225
  mode: "append" | "schema" | "merge" | "snapshot";
226
226
  schema: {
227
227
  columns: {
228
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
228
229
  name: string;
229
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
230
230
  nullable?: boolean | undefined;
231
231
  }[];
232
232
  };
@@ -234,23 +234,23 @@ export declare const DatasetVersionSchema: z.ZodObject<{
234
234
  datasetId: string;
235
235
  versionId: string;
236
236
  sizeBytes?: number | undefined;
237
+ inputs?: {
238
+ datasetId: string;
239
+ versionId: string;
240
+ }[] | undefined;
237
241
  parentVersionId?: string | undefined;
238
242
  producer?: {
239
- kind: "sync" | "pipeline" | "ingest";
243
+ kind: "pipeline" | "sync" | "ingest";
240
244
  id?: string | undefined;
241
245
  runId?: string | undefined;
242
246
  } | undefined;
243
- inputs?: {
244
- datasetId: string;
245
- versionId: string;
246
- }[] | undefined;
247
247
  rowCount?: number | undefined;
248
248
  }, {
249
249
  mode: "append" | "schema" | "merge" | "snapshot";
250
250
  schema: {
251
251
  columns: {
252
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
252
253
  name: string;
253
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
254
254
  nullable?: boolean | undefined;
255
255
  }[];
256
256
  };
@@ -258,16 +258,16 @@ export declare const DatasetVersionSchema: z.ZodObject<{
258
258
  datasetId: string;
259
259
  versionId: string;
260
260
  sizeBytes?: number | undefined;
261
+ inputs?: {
262
+ datasetId: string;
263
+ versionId: string;
264
+ }[] | undefined;
261
265
  parentVersionId?: string | undefined;
262
266
  producer?: {
263
- kind: "sync" | "pipeline" | "ingest";
267
+ kind: "pipeline" | "sync" | "ingest";
264
268
  id?: string | undefined;
265
269
  runId?: string | undefined;
266
270
  } | undefined;
267
- inputs?: {
268
- datasetId: string;
269
- versionId: string;
270
- }[] | undefined;
271
271
  rowCount?: number | undefined;
272
272
  }>;
273
273
  export declare const DatasetLatestVersionSummarySchema: z.ZodObject<{
@@ -301,24 +301,24 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
301
301
  type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
302
302
  nullable: z.ZodOptional<z.ZodBoolean>;
303
303
  }, "strip", z.ZodTypeAny, {
304
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
304
305
  name: string;
305
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
306
306
  nullable?: boolean | undefined;
307
307
  }, {
308
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
308
309
  name: string;
309
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
310
310
  nullable?: boolean | undefined;
311
311
  }>, "many">;
312
312
  }, "strip", z.ZodTypeAny, {
313
313
  columns: {
314
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
314
315
  name: string;
315
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
316
316
  nullable?: boolean | undefined;
317
317
  }[];
318
318
  }, {
319
319
  columns: {
320
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
320
321
  name: string;
321
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
322
322
  nullable?: boolean | undefined;
323
323
  }[];
324
324
  }>;
@@ -353,13 +353,11 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
353
353
  kind: "dataset";
354
354
  schema: {
355
355
  columns: {
356
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
356
357
  name: string;
357
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
358
358
  nullable?: boolean | undefined;
359
359
  }[];
360
360
  };
361
- syncIds: string[];
362
- materialized: boolean;
363
361
  latestVersion: {
364
362
  mode: "append" | "schema" | "merge" | "snapshot";
365
363
  createdAt: string;
@@ -367,6 +365,8 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
367
365
  versionId: string;
368
366
  rowCount?: number | undefined;
369
367
  } | null;
368
+ syncIds: string[];
369
+ materialized: boolean;
370
370
  sourcePipelineIds: string[];
371
371
  targetPipelineIds: string[];
372
372
  projectionIds: string[];
@@ -379,13 +379,11 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
379
379
  kind: "dataset";
380
380
  schema: {
381
381
  columns: {
382
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
382
383
  name: string;
383
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
384
384
  nullable?: boolean | undefined;
385
385
  }[];
386
386
  };
387
- syncIds: string[];
388
- materialized: boolean;
389
387
  latestVersion: {
390
388
  mode: "append" | "schema" | "merge" | "snapshot";
391
389
  createdAt: string;
@@ -393,6 +391,8 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
393
391
  versionId: string;
394
392
  rowCount?: number | undefined;
395
393
  } | null;
394
+ syncIds: string[];
395
+ materialized: boolean;
396
396
  sourcePipelineIds: string[];
397
397
  targetPipelineIds: string[];
398
398
  projectionIds: string[];
@@ -414,24 +414,24 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
414
414
  type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
415
415
  nullable: z.ZodOptional<z.ZodBoolean>;
416
416
  }, "strip", z.ZodTypeAny, {
417
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
417
418
  name: string;
418
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
419
419
  nullable?: boolean | undefined;
420
420
  }, {
421
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
421
422
  name: string;
422
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
423
423
  nullable?: boolean | undefined;
424
424
  }>, "many">;
425
425
  }, "strip", z.ZodTypeAny, {
426
426
  columns: {
427
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
427
428
  name: string;
428
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
429
429
  nullable?: boolean | undefined;
430
430
  }[];
431
431
  }, {
432
432
  columns: {
433
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
433
434
  name: string;
434
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
435
435
  nullable?: boolean | undefined;
436
436
  }[];
437
437
  }>;
@@ -440,11 +440,11 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
440
440
  id: z.ZodOptional<z.ZodString>;
441
441
  runId: z.ZodOptional<z.ZodString>;
442
442
  }, "strip", z.ZodTypeAny, {
443
- kind: "sync" | "pipeline" | "ingest";
443
+ kind: "pipeline" | "sync" | "ingest";
444
444
  id?: string | undefined;
445
445
  runId?: string | undefined;
446
446
  }, {
447
- kind: "sync" | "pipeline" | "ingest";
447
+ kind: "pipeline" | "sync" | "ingest";
448
448
  id?: string | undefined;
449
449
  runId?: string | undefined;
450
450
  }>>;
@@ -464,8 +464,8 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
464
464
  mode: "append" | "schema" | "merge" | "snapshot";
465
465
  schema: {
466
466
  columns: {
467
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
467
468
  name: string;
468
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
469
469
  nullable?: boolean | undefined;
470
470
  }[];
471
471
  };
@@ -473,23 +473,23 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
473
473
  datasetId: string;
474
474
  versionId: string;
475
475
  sizeBytes?: number | undefined;
476
+ inputs?: {
477
+ datasetId: string;
478
+ versionId: string;
479
+ }[] | undefined;
476
480
  parentVersionId?: string | undefined;
477
481
  producer?: {
478
- kind: "sync" | "pipeline" | "ingest";
482
+ kind: "pipeline" | "sync" | "ingest";
479
483
  id?: string | undefined;
480
484
  runId?: string | undefined;
481
485
  } | undefined;
482
- inputs?: {
483
- datasetId: string;
484
- versionId: string;
485
- }[] | undefined;
486
486
  rowCount?: number | undefined;
487
487
  }, {
488
488
  mode: "append" | "schema" | "merge" | "snapshot";
489
489
  schema: {
490
490
  columns: {
491
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
491
492
  name: string;
492
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
493
493
  nullable?: boolean | undefined;
494
494
  }[];
495
495
  };
@@ -497,16 +497,16 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
497
497
  datasetId: string;
498
498
  versionId: string;
499
499
  sizeBytes?: number | undefined;
500
+ inputs?: {
501
+ datasetId: string;
502
+ versionId: string;
503
+ }[] | undefined;
500
504
  parentVersionId?: string | undefined;
501
505
  producer?: {
502
- kind: "sync" | "pipeline" | "ingest";
506
+ kind: "pipeline" | "sync" | "ingest";
503
507
  id?: string | undefined;
504
508
  runId?: string | undefined;
505
509
  } | undefined;
506
- inputs?: {
507
- datasetId: string;
508
- versionId: string;
509
- }[] | undefined;
510
510
  rowCount?: number | undefined;
511
511
  }>, "many">;
512
512
  count: z.ZodNumber;
@@ -516,8 +516,8 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
516
516
  mode: "append" | "schema" | "merge" | "snapshot";
517
517
  schema: {
518
518
  columns: {
519
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
519
520
  name: string;
520
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
521
521
  nullable?: boolean | undefined;
522
522
  }[];
523
523
  };
@@ -525,16 +525,16 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
525
525
  datasetId: string;
526
526
  versionId: string;
527
527
  sizeBytes?: number | undefined;
528
+ inputs?: {
529
+ datasetId: string;
530
+ versionId: string;
531
+ }[] | undefined;
528
532
  parentVersionId?: string | undefined;
529
533
  producer?: {
530
- kind: "sync" | "pipeline" | "ingest";
534
+ kind: "pipeline" | "sync" | "ingest";
531
535
  id?: string | undefined;
532
536
  runId?: string | undefined;
533
537
  } | undefined;
534
- inputs?: {
535
- datasetId: string;
536
- versionId: string;
537
- }[] | undefined;
538
538
  rowCount?: number | undefined;
539
539
  }[];
540
540
  }, {
@@ -543,8 +543,8 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
543
543
  mode: "append" | "schema" | "merge" | "snapshot";
544
544
  schema: {
545
545
  columns: {
546
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
546
547
  name: string;
547
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
548
548
  nullable?: boolean | undefined;
549
549
  }[];
550
550
  };
@@ -552,16 +552,16 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
552
552
  datasetId: string;
553
553
  versionId: string;
554
554
  sizeBytes?: number | undefined;
555
+ inputs?: {
556
+ datasetId: string;
557
+ versionId: string;
558
+ }[] | undefined;
555
559
  parentVersionId?: string | undefined;
556
560
  producer?: {
557
- kind: "sync" | "pipeline" | "ingest";
561
+ kind: "pipeline" | "sync" | "ingest";
558
562
  id?: string | undefined;
559
563
  runId?: string | undefined;
560
564
  } | undefined;
561
- inputs?: {
562
- datasetId: string;
563
- versionId: string;
564
- }[] | undefined;
565
565
  rowCount?: number | undefined;
566
566
  }[];
567
567
  }>;
@@ -580,24 +580,24 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
580
580
  type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
581
581
  nullable: z.ZodOptional<z.ZodBoolean>;
582
582
  }, "strip", z.ZodTypeAny, {
583
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
583
584
  name: string;
584
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
585
585
  nullable?: boolean | undefined;
586
586
  }, {
587
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
587
588
  name: string;
588
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
589
589
  nullable?: boolean | undefined;
590
590
  }>, "many">;
591
591
  }, "strip", z.ZodTypeAny, {
592
592
  columns: {
593
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
593
594
  name: string;
594
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
595
595
  nullable?: boolean | undefined;
596
596
  }[];
597
597
  }, {
598
598
  columns: {
599
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
599
600
  name: string;
600
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
601
601
  nullable?: boolean | undefined;
602
602
  }[];
603
603
  }>;
@@ -606,11 +606,11 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
606
606
  id: z.ZodOptional<z.ZodString>;
607
607
  runId: z.ZodOptional<z.ZodString>;
608
608
  }, "strip", z.ZodTypeAny, {
609
- kind: "sync" | "pipeline" | "ingest";
609
+ kind: "pipeline" | "sync" | "ingest";
610
610
  id?: string | undefined;
611
611
  runId?: string | undefined;
612
612
  }, {
613
- kind: "sync" | "pipeline" | "ingest";
613
+ kind: "pipeline" | "sync" | "ingest";
614
614
  id?: string | undefined;
615
615
  runId?: string | undefined;
616
616
  }>>;
@@ -630,8 +630,8 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
630
630
  mode: "append" | "schema" | "merge" | "snapshot";
631
631
  schema: {
632
632
  columns: {
633
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
633
634
  name: string;
634
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
635
635
  nullable?: boolean | undefined;
636
636
  }[];
637
637
  };
@@ -639,23 +639,23 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
639
639
  datasetId: string;
640
640
  versionId: string;
641
641
  sizeBytes?: number | undefined;
642
+ inputs?: {
643
+ datasetId: string;
644
+ versionId: string;
645
+ }[] | undefined;
642
646
  parentVersionId?: string | undefined;
643
647
  producer?: {
644
- kind: "sync" | "pipeline" | "ingest";
648
+ kind: "pipeline" | "sync" | "ingest";
645
649
  id?: string | undefined;
646
650
  runId?: string | undefined;
647
651
  } | undefined;
648
- inputs?: {
649
- datasetId: string;
650
- versionId: string;
651
- }[] | undefined;
652
652
  rowCount?: number | undefined;
653
653
  }, {
654
654
  mode: "append" | "schema" | "merge" | "snapshot";
655
655
  schema: {
656
656
  columns: {
657
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
657
658
  name: string;
658
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
659
659
  nullable?: boolean | undefined;
660
660
  }[];
661
661
  };
@@ -663,16 +663,16 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
663
663
  datasetId: string;
664
664
  versionId: string;
665
665
  sizeBytes?: number | undefined;
666
+ inputs?: {
667
+ datasetId: string;
668
+ versionId: string;
669
+ }[] | undefined;
666
670
  parentVersionId?: string | undefined;
667
671
  producer?: {
668
- kind: "sync" | "pipeline" | "ingest";
672
+ kind: "pipeline" | "sync" | "ingest";
669
673
  id?: string | undefined;
670
674
  runId?: string | undefined;
671
675
  } | undefined;
672
- inputs?: {
673
- datasetId: string;
674
- versionId: string;
675
- }[] | undefined;
676
676
  rowCount?: number | undefined;
677
677
  }>;
678
678
  /** Returned columns. Redacted columns are left out. */
@@ -697,8 +697,8 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
697
697
  mode: "append" | "schema" | "merge" | "snapshot";
698
698
  schema: {
699
699
  columns: {
700
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
700
701
  name: string;
701
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
702
702
  nullable?: boolean | undefined;
703
703
  }[];
704
704
  };
@@ -706,25 +706,25 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
706
706
  datasetId: string;
707
707
  versionId: string;
708
708
  sizeBytes?: number | undefined;
709
+ inputs?: {
710
+ datasetId: string;
711
+ versionId: string;
712
+ }[] | undefined;
709
713
  parentVersionId?: string | undefined;
710
714
  producer?: {
711
- kind: "sync" | "pipeline" | "ingest";
715
+ kind: "pipeline" | "sync" | "ingest";
712
716
  id?: string | undefined;
713
717
  runId?: string | undefined;
714
718
  } | undefined;
715
- inputs?: {
716
- datasetId: string;
717
- versionId: string;
718
- }[] | undefined;
719
719
  rowCount?: number | undefined;
720
720
  };
721
721
  limit: number;
722
722
  offset: number;
723
723
  hasMore: boolean;
724
+ rows: Record<string, unknown>[];
725
+ columns: string[];
724
726
  datasetId: string;
725
727
  versionId: string;
726
- columns: string[];
727
- rows: Record<string, unknown>[];
728
728
  total?: number | undefined;
729
729
  redactions?: Record<string, {
730
730
  reason: "missing_clearance";
@@ -735,8 +735,8 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
735
735
  mode: "append" | "schema" | "merge" | "snapshot";
736
736
  schema: {
737
737
  columns: {
738
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
738
739
  name: string;
739
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
740
740
  nullable?: boolean | undefined;
741
741
  }[];
742
742
  };
@@ -744,25 +744,25 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
744
744
  datasetId: string;
745
745
  versionId: string;
746
746
  sizeBytes?: number | undefined;
747
+ inputs?: {
748
+ datasetId: string;
749
+ versionId: string;
750
+ }[] | undefined;
747
751
  parentVersionId?: string | undefined;
748
752
  producer?: {
749
- kind: "sync" | "pipeline" | "ingest";
753
+ kind: "pipeline" | "sync" | "ingest";
750
754
  id?: string | undefined;
751
755
  runId?: string | undefined;
752
756
  } | undefined;
753
- inputs?: {
754
- datasetId: string;
755
- versionId: string;
756
- }[] | undefined;
757
757
  rowCount?: number | undefined;
758
758
  };
759
759
  limit: number;
760
760
  offset: number;
761
761
  hasMore: boolean;
762
+ rows: Record<string, unknown>[];
763
+ columns: string[];
762
764
  datasetId: string;
763
765
  versionId: string;
764
- columns: string[];
765
- rows: Record<string, unknown>[];
766
766
  total?: number | undefined;
767
767
  redactions?: Record<string, {
768
768
  reason: "missing_clearance";