@sixb/server 0.1.21 → 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 (165) hide show
  1. package/dist/artifacts/frame.d.ts +5 -0
  2. package/dist/artifacts/frame.d.ts.map +1 -1
  3. package/dist/auth/browser-origin.d.ts +5 -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/index.js +10093 -7553
  13. package/dist/index.js.map +51 -39
  14. package/dist/models/display.d.ts +27 -0
  15. package/dist/models/display.d.ts.map +1 -1
  16. package/dist/openapi/components.d.ts +14 -0
  17. package/dist/openapi/components.d.ts.map +1 -0
  18. package/dist/openapi/tags.d.ts +14 -2
  19. package/dist/openapi/tags.d.ts.map +1 -1
  20. package/dist/registerRoutes.d.ts.map +1 -1
  21. package/dist/routes/actions.d.ts +5 -5
  22. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  23. package/dist/routes/agent-approval-gate.d.ts +27 -0
  24. package/dist/routes/agent-approval-gate.d.ts.map +1 -0
  25. package/dist/routes/agent-approvals.d.ts +599 -0
  26. package/dist/routes/agent-approvals.d.ts.map +1 -0
  27. package/dist/routes/agent-children.d.ts +318 -0
  28. package/dist/routes/agent-children.d.ts.map +1 -0
  29. package/dist/routes/agent-memory.d.ts +267 -0
  30. package/dist/routes/agent-memory.d.ts.map +1 -0
  31. package/dist/routes/agents.d.ts +999 -80
  32. package/dist/routes/agents.d.ts.map +1 -1
  33. package/dist/routes/ai-accounting.d.ts.map +1 -1
  34. package/dist/routes/artifact-frames.d.ts +3 -3
  35. package/dist/routes/artifact-frames.d.ts.map +1 -1
  36. package/dist/routes/artifacts.d.ts +790 -134
  37. package/dist/routes/artifacts.d.ts.map +1 -1
  38. package/dist/routes/auth.d.ts +116 -10
  39. package/dist/routes/auth.d.ts.map +1 -1
  40. package/dist/routes/connector-connection-runs.d.ts +50 -50
  41. package/dist/routes/connectors.d.ts +2 -2
  42. package/dist/routes/datasets.d.ts +20 -20
  43. package/dist/routes/events.d.ts +4 -4
  44. package/dist/routes/files.d.ts +14 -14
  45. package/dist/routes/files.d.ts.map +1 -1
  46. package/dist/routes/links.d.ts +2 -2
  47. package/dist/routes/logs.d.ts +5 -5
  48. package/dist/routes/model-calls.d.ts +155 -0
  49. package/dist/routes/model-calls.d.ts.map +1 -0
  50. package/dist/routes/model-generations.d.ts +400 -0
  51. package/dist/routes/model-generations.d.ts.map +1 -0
  52. package/dist/routes/models.d.ts +434 -1
  53. package/dist/routes/models.d.ts.map +1 -1
  54. package/dist/routes/objects.d.ts +71 -40
  55. package/dist/routes/objects.d.ts.map +1 -1
  56. package/dist/routes/observed-agent-threads.d.ts +682 -0
  57. package/dist/routes/observed-agent-threads.d.ts.map +1 -0
  58. package/dist/routes/ontology.d.ts +66 -62
  59. package/dist/routes/ontology.d.ts.map +1 -1
  60. package/dist/routes/pipelines.d.ts +24 -24
  61. package/dist/routes/projections.d.ts +55 -55
  62. package/dist/routes/rules.d.ts +2 -2
  63. package/dist/routes/share-grants.d.ts +9 -9
  64. package/dist/routes/syncs.d.ts +46 -46
  65. package/dist/routes/users.d.ts +117 -0
  66. package/dist/routes/users.d.ts.map +1 -0
  67. package/dist/routes/webhook-runs.d.ts +1 -1
  68. package/dist/routes/workflows.d.ts +118 -52
  69. package/dist/routes/workflows.d.ts.map +1 -1
  70. package/dist/routes/ws/agents.d.ts +7 -2
  71. package/dist/routes/ws/agents.d.ts.map +1 -1
  72. package/dist/routes/ws/events.d.ts +6 -6
  73. package/dist/routes/ws/logs.d.ts +14 -14
  74. package/dist/schemas/actions.d.ts +15 -15
  75. package/dist/schemas/activity.d.ts +48 -28
  76. package/dist/schemas/activity.d.ts.map +1 -1
  77. package/dist/schemas/agent-approvals.d.ts +1091 -0
  78. package/dist/schemas/agent-approvals.d.ts.map +1 -0
  79. package/dist/schemas/agent-memory.d.ts +250 -0
  80. package/dist/schemas/agent-memory.d.ts.map +1 -0
  81. package/dist/schemas/agents.d.ts +5442 -369
  82. package/dist/schemas/agents.d.ts.map +1 -1
  83. package/dist/schemas/ai-accounting.d.ts +1290 -411
  84. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  85. package/dist/schemas/ai-limits.d.ts +10 -10
  86. package/dist/schemas/ai-usage.d.ts +12 -0
  87. package/dist/schemas/ai-usage.d.ts.map +1 -1
  88. package/dist/schemas/artifacts.d.ts +650 -98
  89. package/dist/schemas/artifacts.d.ts.map +1 -1
  90. package/dist/schemas/auth.d.ts +119 -46
  91. package/dist/schemas/auth.d.ts.map +1 -1
  92. package/dist/schemas/connectors.d.ts +22 -22
  93. package/dist/schemas/datasets.d.ts +98 -98
  94. package/dist/schemas/event-payloads.d.ts +6 -6
  95. package/dist/schemas/events.d.ts +26 -26
  96. package/dist/schemas/events.d.ts.map +1 -1
  97. package/dist/schemas/files.d.ts +24 -24
  98. package/dist/schemas/links.d.ts +2 -2
  99. package/dist/schemas/logs.d.ts +32 -32
  100. package/dist/schemas/models.d.ts +8889 -10
  101. package/dist/schemas/models.d.ts.map +1 -1
  102. package/dist/schemas/objects.d.ts +48 -12
  103. package/dist/schemas/objects.d.ts.map +1 -1
  104. package/dist/schemas/ontology.d.ts +127 -104
  105. package/dist/schemas/ontology.d.ts.map +1 -1
  106. package/dist/schemas/pipelines.d.ts +132 -132
  107. package/dist/schemas/projections.d.ts +314 -314
  108. package/dist/schemas/rules.d.ts +4 -4
  109. package/dist/schemas/share-grants.d.ts +30 -30
  110. package/dist/schemas/syncs.d.ts +49 -49
  111. package/dist/schemas/users.d.ts +72 -0
  112. package/dist/schemas/users.d.ts.map +1 -0
  113. package/dist/schemas/webhook-runs.d.ts +6 -6
  114. package/dist/schemas/workflows.d.ts +701 -186
  115. package/dist/schemas/workflows.d.ts.map +1 -1
  116. package/dist/server.d.ts +1 -0
  117. package/dist/server.d.ts.map +1 -1
  118. package/dist/utils/http.d.ts.map +1 -1
  119. package/package.json +7 -7
  120. package/src/artifacts/frame.ts +6 -1
  121. package/src/auth/browser-origin.ts +8 -3
  122. package/src/auth/experience.ts +1 -1
  123. package/src/auth/guard.ts +2 -2
  124. package/src/auth/public-routes.ts +6 -0
  125. package/src/auth/responses.ts +7 -6
  126. package/src/auth/scope.ts +32 -3
  127. package/src/models/display.ts +61 -16
  128. package/src/openapi/components.ts +54 -0
  129. package/src/openapi/tags.ts +12 -0
  130. package/src/registerRoutes.ts +14 -0
  131. package/src/routes/agent-api-gateway.ts +115 -91
  132. package/src/routes/agent-approval-gate.ts +213 -0
  133. package/src/routes/agent-approvals.ts +299 -0
  134. package/src/routes/agent-children.ts +209 -0
  135. package/src/routes/agent-memory.ts +210 -0
  136. package/src/routes/agents.ts +363 -142
  137. package/src/routes/ai-accounting.ts +4 -0
  138. package/src/routes/artifact-frames.ts +14 -8
  139. package/src/routes/artifacts.ts +297 -22
  140. package/src/routes/auth.ts +306 -13
  141. package/src/routes/files.ts +6 -7
  142. package/src/routes/model-calls.ts +120 -0
  143. package/src/routes/model-generations.ts +245 -0
  144. package/src/routes/models.ts +116 -9
  145. package/src/routes/objects.ts +55 -61
  146. package/src/routes/observed-agent-threads.ts +253 -0
  147. package/src/routes/ontology.ts +1 -0
  148. package/src/routes/users.ts +73 -0
  149. package/src/routes/workflows.ts +6 -9
  150. package/src/routes/ws/agents.ts +10 -5
  151. package/src/schemas/activity.ts +2 -0
  152. package/src/schemas/agent-approvals.ts +129 -0
  153. package/src/schemas/agent-memory.ts +96 -0
  154. package/src/schemas/agents.ts +239 -0
  155. package/src/schemas/ai-accounting.ts +40 -4
  156. package/src/schemas/ai-usage.ts +10 -0
  157. package/src/schemas/artifacts.ts +91 -3
  158. package/src/schemas/auth.ts +25 -0
  159. package/src/schemas/models.ts +197 -1
  160. package/src/schemas/objects.ts +181 -0
  161. package/src/schemas/ontology.ts +1 -0
  162. package/src/schemas/users.ts +24 -0
  163. package/src/schemas/workflows.ts +2 -0
  164. package/src/server.ts +9 -10
  165. package/src/utils/http.ts +2 -0
@@ -294,6 +294,7 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
294
294
  }>]>>;
295
295
  }, "strip", z.ZodTypeAny, {
296
296
  sourceId: string;
297
+ linkId: string;
297
298
  propertyChanges: Record<string, {
298
299
  operation: "created";
299
300
  after: import("./common").JsonValue;
@@ -307,12 +308,12 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
307
308
  before: import("./common").JsonValue;
308
309
  }>;
309
310
  sourceTypeId: string;
310
- linkId: string;
311
311
  targetTypeId: string;
312
312
  targetId: string;
313
313
  properties?: Record<string, import("./common").JsonValue> | undefined;
314
314
  }, {
315
315
  sourceId: string;
316
+ linkId: string;
316
317
  propertyChanges: Record<string, {
317
318
  operation: "created";
318
319
  after: import("./common").JsonValue;
@@ -326,7 +327,6 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
326
327
  before: import("./common").JsonValue;
327
328
  }>;
328
329
  sourceTypeId: string;
329
- linkId: string;
330
330
  targetTypeId: string;
331
331
  targetId: string;
332
332
  properties?: Record<string, import("./common").JsonValue> | undefined;
@@ -375,6 +375,7 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
375
375
  }>]>>;
376
376
  }, "strip", z.ZodTypeAny, {
377
377
  sourceId: string;
378
+ linkId: string;
378
379
  propertyChanges: Record<string, {
379
380
  operation: "created";
380
381
  after: import("./common").JsonValue;
@@ -388,12 +389,12 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
388
389
  before: import("./common").JsonValue;
389
390
  }>;
390
391
  sourceTypeId: string;
391
- linkId: string;
392
392
  targetTypeId: string;
393
393
  targetId: string;
394
394
  properties?: Record<string, import("./common").JsonValue> | undefined;
395
395
  }, {
396
396
  sourceId: string;
397
+ linkId: string;
397
398
  propertyChanges: Record<string, {
398
399
  operation: "created";
399
400
  after: import("./common").JsonValue;
@@ -407,7 +408,6 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
407
408
  before: import("./common").JsonValue;
408
409
  }>;
409
410
  sourceTypeId: string;
410
- linkId: string;
411
411
  targetTypeId: string;
412
412
  targetId: string;
413
413
  properties?: Record<string, import("./common").JsonValue> | undefined;
@@ -455,6 +455,7 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
455
455
  }>]>>;
456
456
  }, "strip", z.ZodTypeAny, {
457
457
  sourceId: string;
458
+ linkId: string;
458
459
  propertyChanges: Record<string, {
459
460
  operation: "created";
460
461
  after: import("./common").JsonValue;
@@ -468,11 +469,11 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
468
469
  before: import("./common").JsonValue;
469
470
  }>;
470
471
  sourceTypeId: string;
471
- linkId: string;
472
472
  targetTypeId: string;
473
473
  targetId: string;
474
474
  }, {
475
475
  sourceId: string;
476
+ linkId: string;
476
477
  propertyChanges: Record<string, {
477
478
  operation: "created";
478
479
  after: import("./common").JsonValue;
@@ -486,7 +487,6 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
486
487
  before: import("./common").JsonValue;
487
488
  }>;
488
489
  sourceTypeId: string;
489
- linkId: string;
490
490
  targetTypeId: string;
491
491
  targetId: string;
492
492
  }>;
@@ -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" | "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")[]]>;
5
+ export declare const EventTopicSchema: z.ZodEnum<["objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links", ...("objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links")[]]>;
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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated", ...("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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated")[]]>;
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" | "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")[]]>>;
109
+ topic: z.ZodOptional<z.ZodEnum<["objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links", ...("objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links")[]]>>;
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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated", ...("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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated")[]]>>;
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" | "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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated" | undefined;
115
115
  limit?: string | undefined;
116
- topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules" | undefined;
116
+ topic?: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links" | undefined;
117
117
  afterCursor?: string | undefined;
118
118
  }, {
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;
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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated" | undefined;
120
120
  limit?: string | undefined;
121
- topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules" | undefined;
121
+ topic?: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links" | undefined;
122
122
  afterCursor?: string | undefined;
123
123
  }>;
124
124
  /** Mirrors the core `EventExecutor`: the workload that made an ontology change. */
@@ -138,12 +138,12 @@ export declare const EventExecutorSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
138
138
  runId: z.ZodString;
139
139
  }, "strip", z.ZodTypeAny, {
140
140
  id: string;
141
- kind: "workflow" | "action" | "webhook" | "sync" | "pipeline" | "projection" | "rule";
141
+ kind: "workflow" | "action" | "pipeline" | "webhook" | "sync" | "projection" | "rule";
142
142
  type: "primitive";
143
143
  runId: string;
144
144
  }, {
145
145
  id: string;
146
- kind: "workflow" | "action" | "webhook" | "sync" | "pipeline" | "projection" | "rule";
146
+ kind: "workflow" | "action" | "pipeline" | "webhook" | "sync" | "projection" | "rule";
147
147
  type: "primitive";
148
148
  runId: string;
149
149
  }>, z.ZodObject<{
@@ -309,17 +309,17 @@ 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<["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")[]]>;
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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated", ...("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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated")[]]>;
313
+ topic: z.ZodEnum<["objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links", ...("objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links")[]]>;
314
314
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
315
315
  }, "strip", z.ZodTypeAny, {
316
316
  projectId: string;
317
317
  id: string;
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";
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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated";
319
319
  occurredAt: string;
320
320
  cursor: string;
321
321
  payload: Record<string, unknown>;
322
- topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
322
+ topic: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links";
323
323
  partitionKey: string;
324
324
  schemaVersion: 1;
325
325
  origin?: {
@@ -356,11 +356,11 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
356
356
  }, {
357
357
  projectId: string;
358
358
  id: string;
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";
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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated";
360
360
  occurredAt: string;
361
361
  cursor: string;
362
362
  payload: Record<string, unknown>;
363
- topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
363
+ topic: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links";
364
364
  partitionKey: string;
365
365
  schemaVersion: 1;
366
366
  origin?: {
@@ -510,17 +510,17 @@ 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<["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")[]]>;
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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated", ...("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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated")[]]>;
514
+ topic: z.ZodEnum<["objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links", ...("objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links")[]]>;
515
515
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
516
516
  }, "strip", z.ZodTypeAny, {
517
517
  projectId: string;
518
518
  id: string;
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";
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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated";
520
520
  occurredAt: string;
521
521
  cursor: string;
522
522
  payload: Record<string, unknown>;
523
- topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
523
+ topic: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links";
524
524
  partitionKey: string;
525
525
  schemaVersion: 1;
526
526
  origin?: {
@@ -557,11 +557,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
557
557
  }, {
558
558
  projectId: string;
559
559
  id: string;
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";
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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated";
561
561
  occurredAt: string;
562
562
  cursor: string;
563
563
  payload: Record<string, unknown>;
564
- topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
564
+ topic: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links";
565
565
  partitionKey: string;
566
566
  schemaVersion: 1;
567
567
  origin?: {
@@ -603,11 +603,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
603
603
  } | {
604
604
  projectId: string;
605
605
  id: string;
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";
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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated";
607
607
  occurredAt: string;
608
608
  cursor: string;
609
609
  payload: Record<string, unknown>;
610
- topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
610
+ topic: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links";
611
611
  partitionKey: string;
612
612
  schemaVersion: 1;
613
613
  origin?: {
@@ -650,11 +650,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
650
650
  } | {
651
651
  projectId: string;
652
652
  id: string;
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";
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" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated";
654
654
  occurredAt: string;
655
655
  cursor: string;
656
656
  payload: Record<string, unknown>;
657
- topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
657
+ topic: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links";
658
658
  partitionKey: string;
659
659
  schemaVersion: 1;
660
660
  origin?: {
@@ -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,gPAAuB,CAAA;AACpD,eAAO,MAAM,eAAe,45CAAsB,CAAA;AASlD,iFAAiF;AACjF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAe5B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;EAK5B,CAAA;AAqBF,mFAAmF;AACnF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgB9B,CAAA;AA0CF,KAAK,iBAAiB,GAAG,CAAC,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAA;AAK9D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAoE,CAAA;AAE5F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAA"}
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,oQAAuB,CAAA;AACpD,eAAO,MAAM,eAAe,gmDAAsB,CAAA;AASlD,iFAAiF;AACjF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAe5B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;EAK5B,CAAA;AAqBF,mFAAmF;AACnF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgB9B,CAAA;AA0CF,KAAK,iBAAiB,GAAG,CAAC,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAA;AAK9D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAoE,CAAA;AAE5F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAA"}
@@ -66,17 +66,17 @@ export declare const ServerFileUploadSchema: z.ZodObject<{
66
66
  url: z.ZodString;
67
67
  expiresAt: z.ZodString;
68
68
  }, "strip", z.ZodTypeAny, {
69
- url: string;
69
+ expiresAt: string;
70
70
  uploadId: string;
71
71
  strategy: "server";
72
72
  method: "PUT";
73
- expiresAt: string;
74
- }, {
75
73
  url: string;
74
+ }, {
75
+ expiresAt: string;
76
76
  uploadId: string;
77
77
  strategy: "server";
78
78
  method: "PUT";
79
- expiresAt: string;
79
+ url: string;
80
80
  }>;
81
81
  export declare const DirectPutFileUploadSchema: z.ZodObject<{
82
82
  strategy: z.ZodLiteral<"direct-put">;
@@ -87,18 +87,18 @@ export declare const DirectPutFileUploadSchema: z.ZodObject<{
87
87
  expiresAt: z.ZodString;
88
88
  }, "strip", z.ZodTypeAny, {
89
89
  headers: Record<string, string>;
90
- url: string;
90
+ expiresAt: string;
91
91
  uploadId: string;
92
92
  strategy: "direct-put";
93
93
  method: "PUT";
94
- expiresAt: string;
94
+ url: string;
95
95
  }, {
96
96
  headers: Record<string, string>;
97
- url: string;
97
+ expiresAt: string;
98
98
  uploadId: string;
99
99
  strategy: "direct-put";
100
100
  method: "PUT";
101
- expiresAt: string;
101
+ url: string;
102
102
  }>;
103
103
  export declare const MultipartFileUploadSchema: z.ZodObject<{
104
104
  strategy: z.ZodLiteral<"multipart">;
@@ -107,15 +107,15 @@ export declare const MultipartFileUploadSchema: z.ZodObject<{
107
107
  partSizeBytes: z.ZodNumber;
108
108
  expiresAt: z.ZodString;
109
109
  }, "strip", z.ZodTypeAny, {
110
+ expiresAt: string;
110
111
  uploadId: string;
111
112
  strategy: "multipart";
112
- expiresAt: string;
113
113
  partReceipt: "none" | "etag";
114
114
  partSizeBytes: number;
115
115
  }, {
116
+ expiresAt: string;
116
117
  uploadId: string;
117
118
  strategy: "multipart";
118
- expiresAt: string;
119
119
  partReceipt: "none" | "etag";
120
120
  partSizeBytes: number;
121
121
  }>;
@@ -126,17 +126,17 @@ export declare const CreateFileUploadResponseSchema: z.ZodDiscriminatedUnion<"st
126
126
  url: z.ZodString;
127
127
  expiresAt: z.ZodString;
128
128
  }, "strip", z.ZodTypeAny, {
129
- url: string;
129
+ expiresAt: string;
130
130
  uploadId: string;
131
131
  strategy: "server";
132
132
  method: "PUT";
133
- expiresAt: string;
134
- }, {
135
133
  url: string;
134
+ }, {
135
+ expiresAt: string;
136
136
  uploadId: string;
137
137
  strategy: "server";
138
138
  method: "PUT";
139
- expiresAt: string;
139
+ url: string;
140
140
  }>, z.ZodObject<{
141
141
  strategy: z.ZodLiteral<"direct-put">;
142
142
  uploadId: z.ZodString;
@@ -146,18 +146,18 @@ export declare const CreateFileUploadResponseSchema: z.ZodDiscriminatedUnion<"st
146
146
  expiresAt: z.ZodString;
147
147
  }, "strip", z.ZodTypeAny, {
148
148
  headers: Record<string, string>;
149
- url: string;
149
+ expiresAt: string;
150
150
  uploadId: string;
151
151
  strategy: "direct-put";
152
152
  method: "PUT";
153
- expiresAt: string;
153
+ url: string;
154
154
  }, {
155
155
  headers: Record<string, string>;
156
- url: string;
156
+ expiresAt: string;
157
157
  uploadId: string;
158
158
  strategy: "direct-put";
159
159
  method: "PUT";
160
- expiresAt: string;
160
+ url: string;
161
161
  }>, z.ZodObject<{
162
162
  strategy: z.ZodLiteral<"multipart">;
163
163
  partReceipt: z.ZodEnum<["etag", "none"]>;
@@ -165,15 +165,15 @@ export declare const CreateFileUploadResponseSchema: z.ZodDiscriminatedUnion<"st
165
165
  partSizeBytes: z.ZodNumber;
166
166
  expiresAt: z.ZodString;
167
167
  }, "strip", z.ZodTypeAny, {
168
+ expiresAt: string;
168
169
  uploadId: string;
169
170
  strategy: "multipart";
170
- expiresAt: string;
171
171
  partReceipt: "none" | "etag";
172
172
  partSizeBytes: number;
173
173
  }, {
174
+ expiresAt: string;
174
175
  uploadId: string;
175
176
  strategy: "multipart";
176
- expiresAt: string;
177
177
  partReceipt: "none" | "etag";
178
178
  partSizeBytes: number;
179
179
  }>]>;
@@ -185,16 +185,16 @@ export declare const SignedFileUploadPartSchema: z.ZodObject<{
185
185
  expiresAt: z.ZodString;
186
186
  }, "strip", z.ZodTypeAny, {
187
187
  headers: Record<string, string>;
188
- url: string;
188
+ expiresAt: string;
189
189
  partNumber: number;
190
190
  method: "PUT";
191
- expiresAt: string;
191
+ url: string;
192
192
  }, {
193
193
  headers: Record<string, string>;
194
- url: string;
194
+ expiresAt: string;
195
195
  partNumber: number;
196
196
  method: "PUT";
197
- expiresAt: string;
197
+ url: string;
198
198
  }>;
199
199
  export declare const FileUploadPartSchema: z.ZodObject<{
200
200
  partNumber: z.ZodNumber;
@@ -16,12 +16,12 @@ export declare const LinkParamsSchema: z.ZodObject<{
16
16
  linkId: z.ZodString;
17
17
  }, "strip", z.ZodTypeAny, {
18
18
  objectTypeId: string;
19
- linkId: string;
20
19
  objectId: string;
20
+ linkId: string;
21
21
  }, {
22
22
  objectTypeId: string;
23
- linkId: string;
24
23
  objectId: string;
24
+ linkId: string;
25
25
  }>;
26
26
  export declare const RemoveLinkQuerySchema: z.ZodObject<{
27
27
  targetTypeId: z.ZodString;