@sixb/server 0.1.17 → 0.1.19

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 (110) hide show
  1. package/README.md +3 -3
  2. package/dist/actions/serialize.d.ts +7 -0
  3. package/dist/actions/serialize.d.ts.map +1 -0
  4. package/dist/auth/experience.d.ts +5 -1
  5. package/dist/auth/experience.d.ts.map +1 -1
  6. package/dist/files/content.d.ts +0 -1
  7. package/dist/files/content.d.ts.map +1 -1
  8. package/dist/index.js +812 -769
  9. package/dist/index.js.map +32 -31
  10. package/dist/routes/action-runs.d.ts +11 -13
  11. package/dist/routes/action-runs.d.ts.map +1 -1
  12. package/dist/routes/actions.d.ts +44 -13
  13. package/dist/routes/actions.d.ts.map +1 -1
  14. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  15. package/dist/routes/agents.d.ts +67 -47
  16. package/dist/routes/agents.d.ts.map +1 -1
  17. package/dist/routes/auth.d.ts +3 -2
  18. package/dist/routes/auth.d.ts.map +1 -1
  19. package/dist/routes/connector-connection-runs.d.ts +21 -21
  20. package/dist/routes/connector-connections.d.ts +8 -8
  21. package/dist/routes/connectors.d.ts +2 -2
  22. package/dist/routes/datasets.d.ts +9 -6
  23. package/dist/routes/datasets.d.ts.map +1 -1
  24. package/dist/routes/events.d.ts +4 -4
  25. package/dist/routes/files.d.ts +15 -12
  26. package/dist/routes/files.d.ts.map +1 -1
  27. package/dist/routes/models.d.ts +1 -0
  28. package/dist/routes/models.d.ts.map +1 -1
  29. package/dist/routes/objects.d.ts +21 -4
  30. package/dist/routes/objects.d.ts.map +1 -1
  31. package/dist/routes/ontology.d.ts +6 -6
  32. package/dist/routes/pipelines.d.ts +16 -16
  33. package/dist/routes/project.d.ts +2 -0
  34. package/dist/routes/project.d.ts.map +1 -1
  35. package/dist/routes/projections.d.ts +49 -49
  36. package/dist/routes/syncs.d.ts +10 -10
  37. package/dist/routes/webhook-runs.d.ts +2 -2
  38. package/dist/routes/workflows.d.ts +51 -48
  39. package/dist/routes/workflows.d.ts.map +1 -1
  40. package/dist/routes/ws/events.d.ts +6 -9
  41. package/dist/routes/ws/events.d.ts.map +1 -1
  42. package/dist/routes/ws/subscription-hub.d.ts +5 -0
  43. package/dist/routes/ws/subscription-hub.d.ts.map +1 -1
  44. package/dist/schemas/actions.d.ts +100 -84
  45. package/dist/schemas/actions.d.ts.map +1 -1
  46. package/dist/schemas/agents.d.ts +242 -143
  47. package/dist/schemas/agents.d.ts.map +1 -1
  48. package/dist/schemas/ai-accounting.d.ts +10 -10
  49. package/dist/schemas/ai-limits.d.ts +10 -10
  50. package/dist/schemas/auth.d.ts +7 -0
  51. package/dist/schemas/auth.d.ts.map +1 -1
  52. package/dist/schemas/common.d.ts +8 -0
  53. package/dist/schemas/common.d.ts.map +1 -1
  54. package/dist/schemas/connectors.d.ts +8 -8
  55. package/dist/schemas/datasets.d.ts +58 -43
  56. package/dist/schemas/datasets.d.ts.map +1 -1
  57. package/dist/schemas/event-payloads.d.ts +39 -0
  58. package/dist/schemas/event-payloads.d.ts.map +1 -1
  59. package/dist/schemas/events.d.ts +24 -24
  60. package/dist/schemas/events.d.ts.map +1 -1
  61. package/dist/schemas/files.d.ts +5 -5
  62. package/dist/schemas/files.d.ts.map +1 -1
  63. package/dist/schemas/models.d.ts +10 -0
  64. package/dist/schemas/models.d.ts.map +1 -1
  65. package/dist/schemas/objects.d.ts +32 -0
  66. package/dist/schemas/objects.d.ts.map +1 -1
  67. package/dist/schemas/ontology.d.ts +40 -40
  68. package/dist/schemas/pipelines.d.ts +92 -92
  69. package/dist/schemas/project.d.ts +8 -0
  70. package/dist/schemas/project.d.ts.map +1 -1
  71. package/dist/schemas/projections.d.ts +290 -290
  72. package/dist/schemas/syncs.d.ts +34 -34
  73. package/dist/schemas/webhook-runs.d.ts +8 -8
  74. package/dist/schemas/workflows.d.ts +177 -160
  75. package/dist/schemas/workflows.d.ts.map +1 -1
  76. package/dist/server.d.ts +1 -0
  77. package/dist/server.d.ts.map +1 -1
  78. package/dist/utils/http.d.ts.map +1 -1
  79. package/dist/utils/request-body.d.ts +20 -6
  80. package/dist/utils/request-body.d.ts.map +1 -1
  81. package/package.json +6 -5
  82. package/src/actions/serialize.ts +55 -0
  83. package/src/auth/experience.ts +20 -2
  84. package/src/files/content.ts +43 -88
  85. package/src/routes/action-runs.ts +1 -54
  86. package/src/routes/actions.ts +26 -8
  87. package/src/routes/agent-api-gateway.ts +18 -42
  88. package/src/routes/agents.ts +29 -9
  89. package/src/routes/auth.ts +84 -19
  90. package/src/routes/datasets.ts +12 -43
  91. package/src/routes/files.ts +18 -64
  92. package/src/routes/models.ts +3 -0
  93. package/src/routes/objects.ts +12 -2
  94. package/src/routes/project.ts +2 -1
  95. package/src/routes/workflows.ts +5 -0
  96. package/src/routes/ws/events.ts +7 -15
  97. package/src/routes/ws/subscription-hub.ts +20 -5
  98. package/src/schemas/actions.ts +21 -18
  99. package/src/schemas/agents.ts +28 -3
  100. package/src/schemas/auth.ts +5 -0
  101. package/src/schemas/common.ts +3 -0
  102. package/src/schemas/datasets.ts +23 -1
  103. package/src/schemas/event-payloads.ts +3 -1
  104. package/src/schemas/files.ts +7 -1
  105. package/src/schemas/models.ts +2 -0
  106. package/src/schemas/objects.ts +13 -0
  107. package/src/schemas/project.ts +4 -0
  108. package/src/server.ts +23 -4
  109. package/src/utils/http.ts +2 -0
  110. package/src/utils/request-body.ts +55 -6
@@ -2,8 +2,8 @@ import type { DomainEvent } from "@sixb/core";
2
2
  import { z } from "zod";
3
3
  export declare const EVENT_TOPICS: readonly [DomainEvent["topic"], ...DomainEvent["topic"][]];
4
4
  export declare const EVENT_TYPES: readonly [DomainEvent["type"], ...DomainEvent["type"][]];
5
- export declare const EventTopicSchema: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules")[]]>;
6
- export declare const EventTypeSchema: z.ZodEnum<["object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "action.requested" | "action.completed" | "action.failed" | "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", ...("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "action.requested" | "action.completed" | "action.failed" | "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")[]]>;
5
+ export declare const EventTopicSchema: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules")[]]>;
6
+ export declare const EventTypeSchema: z.ZodEnum<["object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "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", ...("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "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")[]]>;
7
7
  /** Mirrors the Materializer's commit origin: which ingress produced the fact. */
8
8
  export declare const EventOriginSchema: z.ZodUnion<[z.ZodObject<{
9
9
  kind: z.ZodLiteral<"action">;
@@ -106,19 +106,19 @@ export declare const EventOriginSchema: z.ZodUnion<[z.ZodObject<{
106
106
  };
107
107
  }>]>;
108
108
  export declare const EventsQuerySchema: z.ZodObject<{
109
- topic: z.ZodOptional<z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules")[]]>>;
110
- type: z.ZodOptional<z.ZodEnum<["object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "action.requested" | "action.completed" | "action.failed" | "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", ...("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "action.requested" | "action.completed" | "action.failed" | "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")[]]>>;
109
+ topic: z.ZodOptional<z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules")[]]>>;
110
+ type: z.ZodOptional<z.ZodEnum<["object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "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", ...("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "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")[]]>>;
111
111
  afterCursor: z.ZodOptional<z.ZodString>;
112
112
  limit: z.ZodOptional<z.ZodString>;
113
113
  }, "strip", z.ZodTypeAny, {
114
- type?: "object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "action.requested" | "action.completed" | "action.failed" | "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" | undefined;
114
+ type?: "object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "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" | undefined;
115
115
  limit?: string | undefined;
116
- topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules" | undefined;
116
+ topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules" | undefined;
117
117
  afterCursor?: string | undefined;
118
118
  }, {
119
- type?: "object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "action.requested" | "action.completed" | "action.failed" | "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" | undefined;
119
+ type?: "object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "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" | undefined;
120
120
  limit?: string | undefined;
121
- topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules" | undefined;
121
+ topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules" | undefined;
122
122
  afterCursor?: string | undefined;
123
123
  }>;
124
124
  /** Mirrors the core `EventExecutor`: the workload that made an ontology change. */
@@ -309,16 +309,16 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
309
309
  }>]>>;
310
310
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
311
311
  } & {
312
- type: z.ZodEnum<["action.requested" | "action.completed" | "action.failed" | "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", ...("action.requested" | "action.completed" | "action.failed" | "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")[]]>;
313
- topic: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules")[]]>;
312
+ type: z.ZodEnum<["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", ...("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")[]]>;
313
+ topic: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules")[]]>;
314
314
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
315
315
  }, "strip", z.ZodTypeAny, {
316
316
  projectId: string;
317
317
  id: string;
318
- type: "action.requested" | "action.completed" | "action.failed" | "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";
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
320
  payload: Record<string, unknown>;
321
- topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
321
+ topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
322
322
  partitionKey: string;
323
323
  schemaVersion: 1;
324
324
  cursor: string;
@@ -356,10 +356,10 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
356
356
  }, {
357
357
  projectId: string;
358
358
  id: string;
359
- type: "action.requested" | "action.completed" | "action.failed" | "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";
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
361
  payload: Record<string, unknown>;
362
- topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
362
+ topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
363
363
  partitionKey: string;
364
364
  schemaVersion: 1;
365
365
  cursor: string;
@@ -510,16 +510,16 @@ export declare const EventsResponseSchema: z.ZodObject<{
510
510
  }>]>>;
511
511
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
512
512
  } & {
513
- type: z.ZodEnum<["action.requested" | "action.completed" | "action.failed" | "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", ...("action.requested" | "action.completed" | "action.failed" | "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")[]]>;
514
- topic: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules")[]]>;
513
+ type: z.ZodEnum<["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", ...("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")[]]>;
514
+ topic: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules")[]]>;
515
515
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
516
516
  }, "strip", z.ZodTypeAny, {
517
517
  projectId: string;
518
518
  id: string;
519
- type: "action.requested" | "action.completed" | "action.failed" | "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";
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
521
  payload: Record<string, unknown>;
522
- topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
522
+ topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
523
523
  partitionKey: string;
524
524
  schemaVersion: 1;
525
525
  cursor: string;
@@ -557,10 +557,10 @@ export declare const EventsResponseSchema: z.ZodObject<{
557
557
  }, {
558
558
  projectId: string;
559
559
  id: string;
560
- type: "action.requested" | "action.completed" | "action.failed" | "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";
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
562
  payload: Record<string, unknown>;
563
- topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
563
+ topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
564
564
  partitionKey: string;
565
565
  schemaVersion: 1;
566
566
  cursor: string;
@@ -603,10 +603,10 @@ export declare const EventsResponseSchema: z.ZodObject<{
603
603
  } | {
604
604
  projectId: string;
605
605
  id: string;
606
- type: "action.requested" | "action.completed" | "action.failed" | "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";
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
608
  payload: Record<string, unknown>;
609
- topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
609
+ topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
610
610
  partitionKey: string;
611
611
  schemaVersion: 1;
612
612
  cursor: string;
@@ -650,10 +650,10 @@ export declare const EventsResponseSchema: z.ZodObject<{
650
650
  } | {
651
651
  projectId: string;
652
652
  id: string;
653
- type: "action.requested" | "action.completed" | "action.failed" | "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";
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
655
  payload: Record<string, unknown>;
656
- topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
656
+ topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
657
657
  partitionKey: string;
658
658
  schemaVersion: 1;
659
659
  cursor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/schemas/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAwB,MAAM,YAAY,CAAA;AAOnE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,YAAY,EAAwB,SAAS,CACxD,WAAW,CAAC,OAAO,CAAC,EACpB,GAAG,WAAW,CAAC,OAAO,CAAC,EAAE,CAC1B,CAAA;AACD,eAAO,MAAM,WAAW,EAAuB,SAAS,CACtD,WAAW,CAAC,MAAM,CAAC,EACnB,GAAG,WAAW,CAAC,MAAM,CAAC,EAAE,CACzB,CAAA;AAED,eAAO,MAAM,gBAAgB,wQAAuB,CAAA;AACpD,eAAO,MAAM,eAAe,ohDAAsB,CAAA;AASlD,iFAAiF;AACjF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAe5B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;E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;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAA"}
@@ -24,7 +24,7 @@ export declare const FileRefSchema: z.ZodObject<{
24
24
  }>;
25
25
  export declare const CreateFileUploadBodySchema: z.ZodObject<{
26
26
  fileName: z.ZodOptional<z.ZodString>;
27
- mediaType: z.ZodOptional<z.ZodString>;
27
+ mediaType: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
28
28
  sizeBytes: z.ZodOptional<z.ZodNumber>;
29
29
  digest: z.ZodOptional<z.ZodString>;
30
30
  logicalPath: z.ZodOptional<z.ZodString>;
@@ -110,13 +110,13 @@ export declare const MultipartFileUploadSchema: z.ZodObject<{
110
110
  uploadId: string;
111
111
  strategy: "multipart";
112
112
  expiresAt: string;
113
- partReceipt: "etag" | "none";
113
+ partReceipt: "none" | "etag";
114
114
  partSizeBytes: number;
115
115
  }, {
116
116
  uploadId: string;
117
117
  strategy: "multipart";
118
118
  expiresAt: string;
119
- partReceipt: "etag" | "none";
119
+ partReceipt: "none" | "etag";
120
120
  partSizeBytes: number;
121
121
  }>;
122
122
  export declare const CreateFileUploadResponseSchema: z.ZodDiscriminatedUnion<"strategy", [z.ZodObject<{
@@ -168,13 +168,13 @@ export declare const CreateFileUploadResponseSchema: z.ZodDiscriminatedUnion<"st
168
168
  uploadId: string;
169
169
  strategy: "multipart";
170
170
  expiresAt: string;
171
- partReceipt: "etag" | "none";
171
+ partReceipt: "none" | "etag";
172
172
  partSizeBytes: number;
173
173
  }, {
174
174
  uploadId: string;
175
175
  strategy: "multipart";
176
176
  expiresAt: string;
177
- partReceipt: "etag" | "none";
177
+ partReceipt: "none" | "etag";
178
178
  partSizeBytes: number;
179
179
  }>]>;
180
180
  export declare const SignedFileUploadPartSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/schemas/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAA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,yBAAyB;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAMpC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIzC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;EAMrC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIvC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAUjC,CAAA"}
@@ -57,6 +57,8 @@ export declare const LanguageModelSchema: z.ZodObject<{
57
57
  contextWindowTokens?: number | undefined;
58
58
  }>;
59
59
  reasoningLevels: z.ZodArray<z.ZodEnum<["provider-default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]>, "many">;
60
+ /** Reasoning the project applies when a request selects this model without choosing one. */
61
+ defaultReasoning: z.ZodOptional<z.ZodEnum<["provider-default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]>>;
60
62
  }, "strip", z.ZodTypeAny, {
61
63
  name: string;
62
64
  capabilities: {
@@ -78,6 +80,7 @@ export declare const LanguageModelSchema: z.ZodObject<{
78
80
  reasoningLevels: ("none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[];
79
81
  description?: string | undefined;
80
82
  via?: string | undefined;
83
+ defaultReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
81
84
  }, {
82
85
  name: string;
83
86
  capabilities: {
@@ -99,6 +102,7 @@ export declare const LanguageModelSchema: z.ZodObject<{
99
102
  reasoningLevels: ("none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[];
100
103
  description?: string | undefined;
101
104
  via?: string | undefined;
105
+ defaultReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
102
106
  }>;
103
107
  export declare const ModelCatalogSchema: z.ZodObject<{
104
108
  language: z.ZodArray<z.ZodObject<{
@@ -149,6 +153,8 @@ export declare const ModelCatalogSchema: z.ZodObject<{
149
153
  contextWindowTokens?: number | undefined;
150
154
  }>;
151
155
  reasoningLevels: z.ZodArray<z.ZodEnum<["provider-default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]>, "many">;
156
+ /** Reasoning the project applies when a request selects this model without choosing one. */
157
+ defaultReasoning: z.ZodOptional<z.ZodEnum<["provider-default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]>>;
152
158
  }, "strip", z.ZodTypeAny, {
153
159
  name: string;
154
160
  capabilities: {
@@ -170,6 +176,7 @@ export declare const ModelCatalogSchema: z.ZodObject<{
170
176
  reasoningLevels: ("none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[];
171
177
  description?: string | undefined;
172
178
  via?: string | undefined;
179
+ defaultReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
173
180
  }, {
174
181
  name: string;
175
182
  capabilities: {
@@ -191,6 +198,7 @@ export declare const ModelCatalogSchema: z.ZodObject<{
191
198
  reasoningLevels: ("none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[];
192
199
  description?: string | undefined;
193
200
  via?: string | undefined;
201
+ defaultReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
194
202
  }>, "many">;
195
203
  }, "strip", z.ZodTypeAny, {
196
204
  language: {
@@ -214,6 +222,7 @@ export declare const ModelCatalogSchema: z.ZodObject<{
214
222
  reasoningLevels: ("none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[];
215
223
  description?: string | undefined;
216
224
  via?: string | undefined;
225
+ defaultReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
217
226
  }[];
218
227
  }, {
219
228
  language: {
@@ -237,6 +246,7 @@ export declare const ModelCatalogSchema: z.ZodObject<{
237
246
  reasoningLevels: ("none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[];
238
247
  description?: string | undefined;
239
248
  via?: string | undefined;
249
+ defaultReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
240
250
  }[];
241
251
  }>;
242
252
  export declare const ModelReasoningLevelSchema: z.ZodEnum<["provider-default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]>;
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/schemas/models.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;IAC9B;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBH,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;QAxB7B;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBH,CAAA;AAEF,eAAO,MAAM,yBAAyB,6FAAiC,CAAA;AAEvE,eAAO,MAAM,oBAAoB;;;;;;IAG/B,CAAA"}
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/schemas/models.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;IAC9B;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmBH,4FAA4F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE5F,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;QA1B7B;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAmBH,4FAA4F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM5F,CAAA;AAEF,eAAO,MAAM,yBAAyB,6FAAiC,CAAA;AAEvE,eAAO,MAAM,oBAAoB;;;;;;IAG/B,CAAA"}
@@ -247,6 +247,13 @@ export declare const TwinObjectSchema: z.ZodObject<{
247
247
  primaryId: z.ZodString;
248
248
  objectTypeId: z.ZodString;
249
249
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
250
+ redactions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
251
+ reason: z.ZodLiteral<"missing_clearance">;
252
+ }, "strip", z.ZodTypeAny, {
253
+ reason: "missing_clearance";
254
+ }, {
255
+ reason: "missing_clearance";
256
+ }>>>;
250
257
  createdAt: z.ZodString;
251
258
  updatedAt: z.ZodString;
252
259
  }, "strip", z.ZodTypeAny, {
@@ -255,6 +262,9 @@ export declare const TwinObjectSchema: z.ZodObject<{
255
262
  primaryId: string;
256
263
  createdAt: string;
257
264
  updatedAt: string;
265
+ redactions?: Record<string, {
266
+ reason: "missing_clearance";
267
+ }> | undefined;
258
268
  score?: number | undefined;
259
269
  }, {
260
270
  properties: Record<string, unknown>;
@@ -262,6 +272,9 @@ export declare const TwinObjectSchema: z.ZodObject<{
262
272
  primaryId: string;
263
273
  createdAt: string;
264
274
  updatedAt: string;
275
+ redactions?: Record<string, {
276
+ reason: "missing_clearance";
277
+ }> | undefined;
265
278
  score?: number | undefined;
266
279
  }>;
267
280
  export declare const ObjectListResponseSchema: z.ZodObject<{
@@ -270,6 +283,13 @@ export declare const ObjectListResponseSchema: z.ZodObject<{
270
283
  primaryId: z.ZodString;
271
284
  objectTypeId: z.ZodString;
272
285
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
286
+ redactions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
287
+ reason: z.ZodLiteral<"missing_clearance">;
288
+ }, "strip", z.ZodTypeAny, {
289
+ reason: "missing_clearance";
290
+ }, {
291
+ reason: "missing_clearance";
292
+ }>>>;
273
293
  createdAt: z.ZodString;
274
294
  updatedAt: z.ZodString;
275
295
  }, "strip", z.ZodTypeAny, {
@@ -278,6 +298,9 @@ export declare const ObjectListResponseSchema: z.ZodObject<{
278
298
  primaryId: string;
279
299
  createdAt: string;
280
300
  updatedAt: string;
301
+ redactions?: Record<string, {
302
+ reason: "missing_clearance";
303
+ }> | undefined;
281
304
  score?: number | undefined;
282
305
  }, {
283
306
  properties: Record<string, unknown>;
@@ -285,6 +308,9 @@ export declare const ObjectListResponseSchema: z.ZodObject<{
285
308
  primaryId: string;
286
309
  createdAt: string;
287
310
  updatedAt: string;
311
+ redactions?: Record<string, {
312
+ reason: "missing_clearance";
313
+ }> | undefined;
288
314
  score?: number | undefined;
289
315
  }>, "many">;
290
316
  hasMore: z.ZodBoolean;
@@ -296,6 +322,9 @@ export declare const ObjectListResponseSchema: z.ZodObject<{
296
322
  primaryId: string;
297
323
  createdAt: string;
298
324
  updatedAt: string;
325
+ redactions?: Record<string, {
326
+ reason: "missing_clearance";
327
+ }> | undefined;
299
328
  score?: number | undefined;
300
329
  }[];
301
330
  hasMore: boolean;
@@ -307,6 +336,9 @@ export declare const ObjectListResponseSchema: z.ZodObject<{
307
336
  primaryId: string;
308
337
  createdAt: string;
309
338
  updatedAt: string;
339
+ redactions?: Record<string, {
340
+ reason: "missing_clearance";
341
+ }> | undefined;
310
342
  score?: number | undefined;
311
343
  }[];
312
344
  hasMore: boolean;
@@ -1 +1 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