@sixb/server 0.1.20 → 0.1.21

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 (70) hide show
  1. package/dist/artifacts/frame.d.ts +13 -0
  2. package/dist/artifacts/frame.d.ts.map +1 -0
  3. package/dist/auth/browser-origin.d.ts +5 -0
  4. package/dist/auth/browser-origin.d.ts.map +1 -1
  5. package/dist/auth/public-routes.d.ts.map +1 -1
  6. package/dist/files/content.d.ts +2 -3
  7. package/dist/files/content.d.ts.map +1 -1
  8. package/dist/index.js +3427 -2402
  9. package/dist/index.js.map +23 -17
  10. package/dist/openapi/tags.d.ts +10 -2
  11. package/dist/openapi/tags.d.ts.map +1 -1
  12. package/dist/registerRoutes.d.ts +3 -0
  13. package/dist/registerRoutes.d.ts.map +1 -1
  14. package/dist/routes/activity.d.ts +35 -0
  15. package/dist/routes/activity.d.ts.map +1 -0
  16. package/dist/routes/agents.d.ts +18 -27
  17. package/dist/routes/agents.d.ts.map +1 -1
  18. package/dist/routes/artifact-frames.d.ts +98 -0
  19. package/dist/routes/artifact-frames.d.ts.map +1 -0
  20. package/dist/routes/artifacts.d.ts +852 -0
  21. package/dist/routes/artifacts.d.ts.map +1 -0
  22. package/dist/routes/auth.d.ts +1 -1
  23. package/dist/routes/connector-connection-runs.d.ts +59 -59
  24. package/dist/routes/connector-connections.d.ts +2 -2
  25. package/dist/routes/datasets.d.ts +7 -7
  26. package/dist/routes/events.d.ts +1 -1
  27. package/dist/routes/pipelines.d.ts +31 -31
  28. package/dist/routes/projections.d.ts +10 -10
  29. package/dist/routes/share-grants.d.ts +5 -5
  30. package/dist/routes/syncs.d.ts +38 -38
  31. package/dist/routes/workflows.d.ts +30 -30
  32. package/dist/routes/ws/events.d.ts.map +1 -1
  33. package/dist/routes/ws/subscription-hub.d.ts +8 -3
  34. package/dist/routes/ws/subscription-hub.d.ts.map +1 -1
  35. package/dist/schemas/activity.d.ts +1278 -0
  36. package/dist/schemas/activity.d.ts.map +1 -0
  37. package/dist/schemas/agents.d.ts +96 -144
  38. package/dist/schemas/agents.d.ts.map +1 -1
  39. package/dist/schemas/ai-accounting.d.ts +24 -24
  40. package/dist/schemas/ai-limits.d.ts +26 -26
  41. package/dist/schemas/artifacts.d.ts +1305 -0
  42. package/dist/schemas/artifacts.d.ts.map +1 -0
  43. package/dist/schemas/auth.d.ts +6 -6
  44. package/dist/schemas/connectors.d.ts +30 -30
  45. package/dist/schemas/datasets.d.ts +10 -10
  46. package/dist/schemas/events.d.ts +6 -6
  47. package/dist/schemas/pipelines.d.ts +35 -35
  48. package/dist/schemas/projections.d.ts +40 -40
  49. package/dist/schemas/share-grants.d.ts +16 -16
  50. package/dist/schemas/syncs.d.ts +36 -36
  51. package/dist/schemas/workflows.d.ts +84 -84
  52. package/dist/server.d.ts.map +1 -1
  53. package/package.json +4 -4
  54. package/src/artifacts/frame.ts +46 -0
  55. package/src/auth/browser-origin.ts +12 -2
  56. package/src/auth/public-routes.ts +10 -0
  57. package/src/files/content.ts +9 -13
  58. package/src/openapi/tags.ts +8 -0
  59. package/src/registerRoutes.ts +9 -0
  60. package/src/routes/activity.ts +327 -0
  61. package/src/routes/agents.ts +1 -1
  62. package/src/routes/artifact-frames.ts +138 -0
  63. package/src/routes/artifacts.ts +442 -0
  64. package/src/routes/file-downloads.ts +1 -3
  65. package/src/routes/ws/events.ts +3 -2
  66. package/src/routes/ws/subscription-hub.ts +53 -20
  67. package/src/schemas/activity.ts +285 -0
  68. package/src/schemas/agents.ts +1 -2
  69. package/src/schemas/artifacts.ts +158 -0
  70. package/src/server.ts +25 -9
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../../src/schemas/artifacts.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmEvB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWhC,CAAA;AAUF,eAAO,MAAM,oBAAoB;;;;;;EAA8C,CAAA;AAE/E,eAAO,MAAM,2BAA2B;;;;;;;;;;EAKtC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAWzB,CAAA;AAEX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIrC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGjC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS3B,CAAA;AAEX,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;EAAyC,CAAA;AAElF,eAAO,MAAM,2BAA2B;;;;;;;;;EAOtC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;EAOtC,CAAA"}
@@ -2219,8 +2219,8 @@ export declare const AuthSessionSummarySchema: z.ZodObject<{
2219
2219
  expiresAt: string;
2220
2220
  createdAt: string;
2221
2221
  current: boolean;
2222
- clientName?: string | undefined;
2223
2222
  lastSeenAt?: string | undefined;
2223
+ clientName?: string | undefined;
2224
2224
  userAgent?: string | undefined;
2225
2225
  ipAddress?: string | undefined;
2226
2226
  }, {
@@ -2228,8 +2228,8 @@ export declare const AuthSessionSummarySchema: z.ZodObject<{
2228
2228
  expiresAt: string;
2229
2229
  createdAt: string;
2230
2230
  current: boolean;
2231
- clientName?: string | undefined;
2232
2231
  lastSeenAt?: string | undefined;
2232
+ clientName?: string | undefined;
2233
2233
  userAgent?: string | undefined;
2234
2234
  ipAddress?: string | undefined;
2235
2235
  }>;
@@ -2249,8 +2249,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
2249
2249
  expiresAt: string;
2250
2250
  createdAt: string;
2251
2251
  current: boolean;
2252
- clientName?: string | undefined;
2253
2252
  lastSeenAt?: string | undefined;
2253
+ clientName?: string | undefined;
2254
2254
  userAgent?: string | undefined;
2255
2255
  ipAddress?: string | undefined;
2256
2256
  }, {
@@ -2258,8 +2258,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
2258
2258
  expiresAt: string;
2259
2259
  createdAt: string;
2260
2260
  current: boolean;
2261
- clientName?: string | undefined;
2262
2261
  lastSeenAt?: string | undefined;
2262
+ clientName?: string | undefined;
2263
2263
  userAgent?: string | undefined;
2264
2264
  ipAddress?: string | undefined;
2265
2265
  }>, "many">;
@@ -2269,8 +2269,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
2269
2269
  expiresAt: string;
2270
2270
  createdAt: string;
2271
2271
  current: boolean;
2272
- clientName?: string | undefined;
2273
2272
  lastSeenAt?: string | undefined;
2273
+ clientName?: string | undefined;
2274
2274
  userAgent?: string | undefined;
2275
2275
  ipAddress?: string | undefined;
2276
2276
  }[];
@@ -2280,8 +2280,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
2280
2280
  expiresAt: string;
2281
2281
  createdAt: string;
2282
2282
  current: boolean;
2283
- clientName?: string | undefined;
2284
2283
  lastSeenAt?: string | undefined;
2284
+ clientName?: string | undefined;
2285
2285
  userAgent?: string | undefined;
2286
2286
  ipAddress?: string | undefined;
2287
2287
  }[];
@@ -230,10 +230,10 @@ export declare const ConnectorConnectionSchema: z.ZodObject<{
230
230
  }, "strip", z.ZodTypeAny, {
231
231
  status: "connected" | "needs_reauthorization" | "disconnected";
232
232
  id: string;
233
- connectorId: string;
234
233
  owner: {
235
234
  type: "project";
236
235
  };
236
+ connectorId: string;
237
237
  slot: string;
238
238
  account: {
239
239
  id: string;
@@ -244,10 +244,10 @@ export declare const ConnectorConnectionSchema: z.ZodObject<{
244
244
  }, {
245
245
  status: "connected" | "needs_reauthorization" | "disconnected";
246
246
  id: string;
247
- connectorId: string;
248
247
  owner: {
249
248
  type: "project";
250
249
  };
250
+ connectorId: string;
251
251
  slot: string;
252
252
  account: {
253
253
  id: string;
@@ -281,10 +281,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
281
281
  expiresAt: string;
282
282
  createdAt: string;
283
283
  updatedAt: string;
284
- connectorId: string;
285
284
  owner: {
286
285
  type: "project";
287
286
  };
287
+ connectorId: string;
288
288
  slot: string;
289
289
  waitingFor: "provider_authorization";
290
290
  }, {
@@ -294,10 +294,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
294
294
  expiresAt: string;
295
295
  createdAt: string;
296
296
  updatedAt: string;
297
- connectorId: string;
298
297
  owner: {
299
298
  type: "project";
300
299
  };
300
+ connectorId: string;
301
301
  slot: string;
302
302
  waitingFor: "provider_authorization";
303
303
  }>, z.ZodObject<{
@@ -322,10 +322,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
322
322
  kind: "connect" | "reauthorize";
323
323
  createdAt: string;
324
324
  updatedAt: string;
325
- connectorId: string;
326
325
  owner: {
327
326
  type: "project";
328
327
  };
328
+ connectorId: string;
329
329
  slot: string;
330
330
  }, {
331
331
  status: "running";
@@ -333,10 +333,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
333
333
  kind: "connect" | "reauthorize";
334
334
  createdAt: string;
335
335
  updatedAt: string;
336
- connectorId: string;
337
336
  owner: {
338
337
  type: "project";
339
338
  };
339
+ connectorId: string;
340
340
  slot: string;
341
341
  }>, z.ZodObject<{
342
342
  id: z.ZodString;
@@ -377,10 +377,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
377
377
  kind: "connect" | "reauthorize";
378
378
  createdAt: string;
379
379
  updatedAt: string;
380
- connectorId: string;
381
380
  owner: {
382
381
  type: "project";
383
382
  };
383
+ connectorId: string;
384
384
  slot: string;
385
385
  waitingFor: "account_selection";
386
386
  accounts: {
@@ -395,10 +395,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
395
395
  kind: "connect" | "reauthorize";
396
396
  createdAt: string;
397
397
  updatedAt: string;
398
- connectorId: string;
399
398
  owner: {
400
399
  type: "project";
401
400
  };
401
+ connectorId: string;
402
402
  slot: string;
403
403
  waitingFor: "account_selection";
404
404
  accounts: {
@@ -454,10 +454,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
454
454
  }, "strip", z.ZodTypeAny, {
455
455
  status: "connected" | "needs_reauthorization" | "disconnected";
456
456
  id: string;
457
- connectorId: string;
458
457
  owner: {
459
458
  type: "project";
460
459
  };
460
+ connectorId: string;
461
461
  slot: string;
462
462
  account: {
463
463
  id: string;
@@ -468,10 +468,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
468
468
  }, {
469
469
  status: "connected" | "needs_reauthorization" | "disconnected";
470
470
  id: string;
471
- connectorId: string;
472
471
  owner: {
473
472
  type: "project";
474
473
  };
474
+ connectorId: string;
475
475
  slot: string;
476
476
  account: {
477
477
  id: string;
@@ -488,18 +488,13 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
488
488
  finishedAt: string;
489
489
  createdAt: string;
490
490
  updatedAt: string;
491
- connectorId: string;
492
- owner: {
493
- type: "project";
494
- };
495
- slot: string;
496
491
  connections: {
497
492
  status: "connected" | "needs_reauthorization" | "disconnected";
498
493
  id: string;
499
- connectorId: string;
500
494
  owner: {
501
495
  type: "project";
502
496
  };
497
+ connectorId: string;
503
498
  slot: string;
504
499
  account: {
505
500
  id: string;
@@ -508,6 +503,11 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
508
503
  avatarUrl?: string | undefined;
509
504
  };
510
505
  }[];
506
+ owner: {
507
+ type: "project";
508
+ };
509
+ connectorId: string;
510
+ slot: string;
511
511
  }, {
512
512
  status: "succeeded";
513
513
  id: string;
@@ -515,18 +515,13 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
515
515
  finishedAt: string;
516
516
  createdAt: string;
517
517
  updatedAt: string;
518
- connectorId: string;
519
- owner: {
520
- type: "project";
521
- };
522
- slot: string;
523
518
  connections: {
524
519
  status: "connected" | "needs_reauthorization" | "disconnected";
525
520
  id: string;
526
- connectorId: string;
527
521
  owner: {
528
522
  type: "project";
529
523
  };
524
+ connectorId: string;
530
525
  slot: string;
531
526
  account: {
532
527
  id: string;
@@ -535,6 +530,11 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
535
530
  avatarUrl?: string | undefined;
536
531
  };
537
532
  }[];
533
+ owner: {
534
+ type: "project";
535
+ };
536
+ connectorId: string;
537
+ slot: string;
538
538
  }>, z.ZodObject<{
539
539
  id: z.ZodString;
540
540
  connectorId: z.ZodString;
@@ -561,10 +561,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
561
561
  finishedAt: string;
562
562
  createdAt: string;
563
563
  updatedAt: string;
564
- connectorId: string;
565
564
  owner: {
566
565
  type: "project";
567
566
  };
567
+ connectorId: string;
568
568
  slot: string;
569
569
  }, {
570
570
  error: ConnectorConnectionRunFailure;
@@ -574,10 +574,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
574
574
  finishedAt: string;
575
575
  createdAt: string;
576
576
  updatedAt: string;
577
- connectorId: string;
578
577
  owner: {
579
578
  type: "project";
580
579
  };
580
+ connectorId: string;
581
581
  slot: string;
582
582
  }>, z.ZodObject<{
583
583
  id: z.ZodString;
@@ -603,10 +603,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
603
603
  finishedAt: string;
604
604
  createdAt: string;
605
605
  updatedAt: string;
606
- connectorId: string;
607
606
  owner: {
608
607
  type: "project";
609
608
  };
609
+ connectorId: string;
610
610
  slot: string;
611
611
  }, {
612
612
  status: "expired" | "cancelled";
@@ -615,10 +615,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
615
615
  finishedAt: string;
616
616
  createdAt: string;
617
617
  updatedAt: string;
618
- connectorId: string;
619
618
  owner: {
620
619
  type: "project";
621
620
  };
621
+ connectorId: string;
622
622
  slot: string;
623
623
  }>]>;
624
624
  export declare const StartConnectorConnectionRunBodySchema: z.ZodObject<{
@@ -679,10 +679,10 @@ export declare const StartConnectorConnectionRunResponseSchema: z.ZodObject<{
679
679
  }, "strip", z.ZodTypeAny, {
680
680
  status: "connected" | "needs_reauthorization" | "disconnected";
681
681
  id: string;
682
- connectorId: string;
683
682
  owner: {
684
683
  type: "project";
685
684
  };
685
+ connectorId: string;
686
686
  slot: string;
687
687
  account: {
688
688
  id: string;
@@ -693,10 +693,10 @@ export declare const StartConnectorConnectionRunResponseSchema: z.ZodObject<{
693
693
  }, {
694
694
  status: "connected" | "needs_reauthorization" | "disconnected";
695
695
  id: string;
696
- connectorId: string;
697
696
  owner: {
698
697
  type: "project";
699
698
  };
699
+ connectorId: string;
700
700
  slot: string;
701
701
  account: {
702
702
  id: string;
@@ -711,10 +711,10 @@ export declare const StartConnectorConnectionRunResponseSchema: z.ZodObject<{
711
711
  affectedConnections: {
712
712
  status: "connected" | "needs_reauthorization" | "disconnected";
713
713
  id: string;
714
- connectorId: string;
715
714
  owner: {
716
715
  type: "project";
717
716
  };
717
+ connectorId: string;
718
718
  slot: string;
719
719
  account: {
720
720
  id: string;
@@ -729,10 +729,10 @@ export declare const StartConnectorConnectionRunResponseSchema: z.ZodObject<{
729
729
  affectedConnections: {
730
730
  status: "connected" | "needs_reauthorization" | "disconnected";
731
731
  id: string;
732
- connectorId: string;
733
732
  owner: {
734
733
  type: "project";
735
734
  };
735
+ connectorId: string;
736
736
  slot: string;
737
737
  account: {
738
738
  id: string;
@@ -32,13 +32,13 @@ 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;
@@ -358,8 +358,6 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
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[];
@@ -384,8 +384,6 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
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[];
@@ -721,10 +721,10 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
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";
@@ -759,10 +759,10 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
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";
@@ -317,11 +317,11 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
317
317
  id: string;
318
318
  type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
319
319
  occurredAt: string;
320
+ cursor: string;
320
321
  payload: Record<string, unknown>;
321
322
  topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
322
323
  partitionKey: string;
323
324
  schemaVersion: 1;
324
- cursor: string;
325
325
  origin?: {
326
326
  kind: "projection";
327
327
  datasetId: string;
@@ -358,11 +358,11 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
358
358
  id: string;
359
359
  type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
360
360
  occurredAt: string;
361
+ cursor: string;
361
362
  payload: Record<string, unknown>;
362
363
  topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
363
364
  partitionKey: string;
364
365
  schemaVersion: 1;
365
- cursor: string;
366
366
  origin?: {
367
367
  kind: "projection";
368
368
  datasetId: string;
@@ -518,11 +518,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
518
518
  id: string;
519
519
  type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
520
520
  occurredAt: string;
521
+ cursor: string;
521
522
  payload: Record<string, unknown>;
522
523
  topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
523
524
  partitionKey: string;
524
525
  schemaVersion: 1;
525
- cursor: string;
526
526
  origin?: {
527
527
  kind: "projection";
528
528
  datasetId: string;
@@ -559,11 +559,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
559
559
  id: string;
560
560
  type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
561
561
  occurredAt: string;
562
+ cursor: string;
562
563
  payload: Record<string, unknown>;
563
564
  topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
564
565
  partitionKey: string;
565
566
  schemaVersion: 1;
566
- cursor: string;
567
567
  origin?: {
568
568
  kind: "projection";
569
569
  datasetId: string;
@@ -605,11 +605,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
605
605
  id: string;
606
606
  type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
607
607
  occurredAt: string;
608
+ cursor: string;
608
609
  payload: Record<string, unknown>;
609
610
  topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
610
611
  partitionKey: string;
611
612
  schemaVersion: 1;
612
- cursor: string;
613
613
  origin?: {
614
614
  kind: "projection";
615
615
  datasetId: string;
@@ -652,11 +652,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
652
652
  id: string;
653
653
  type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
654
654
  occurredAt: string;
655
+ cursor: string;
655
656
  payload: Record<string, unknown>;
656
657
  topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
657
658
  partitionKey: string;
658
659
  schemaVersion: 1;
659
- cursor: string;
660
660
  origin?: {
661
661
  kind: "projection";
662
662
  datasetId: string;