@sixb/server 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +123 -0
  3. package/dist/auth/access-token-boundary.d.ts +23 -0
  4. package/dist/auth/access-token-boundary.d.ts.map +1 -0
  5. package/dist/auth/application-access.d.ts +4 -0
  6. package/dist/auth/application-access.d.ts.map +1 -0
  7. package/dist/auth/browser-origin.d.ts +62 -0
  8. package/dist/auth/browser-origin.d.ts.map +1 -0
  9. package/dist/auth/csrf.d.ts +2 -0
  10. package/dist/auth/csrf.d.ts.map +1 -0
  11. package/dist/auth/guard.d.ts +35 -0
  12. package/dist/auth/guard.d.ts.map +1 -0
  13. package/dist/auth/public-routes.d.ts +8 -0
  14. package/dist/auth/public-routes.d.ts.map +1 -0
  15. package/dist/auth/responses.d.ts +11 -0
  16. package/dist/auth/responses.d.ts.map +1 -0
  17. package/dist/auth/return-to.d.ts +3 -0
  18. package/dist/auth/return-to.d.ts.map +1 -0
  19. package/dist/auth/scope.d.ts +43 -0
  20. package/dist/auth/scope.d.ts.map +1 -0
  21. package/dist/auth/session-activity.d.ts +4 -0
  22. package/dist/auth/session-activity.d.ts.map +1 -0
  23. package/dist/auth/session-cookies.d.ts +12 -0
  24. package/dist/auth/session-cookies.d.ts.map +1 -0
  25. package/dist/files/content.d.ts +141 -0
  26. package/dist/files/content.d.ts.map +1 -0
  27. package/dist/index.d.ts +3 -0
  28. package/dist/index.d.ts.map +1 -0
  29. package/dist/index.js +11522 -0
  30. package/dist/index.js.map +78 -0
  31. package/dist/openapi/security.d.ts +26 -0
  32. package/dist/openapi/security.d.ts.map +1 -0
  33. package/dist/openapi/tags.d.ts +151 -0
  34. package/dist/openapi/tags.d.ts.map +1 -0
  35. package/dist/registerRoutes.d.ts +31 -0
  36. package/dist/registerRoutes.d.ts.map +1 -0
  37. package/dist/routes/action-runs.d.ts +244 -0
  38. package/dist/routes/action-runs.d.ts.map +1 -0
  39. package/dist/routes/actions.d.ts +183 -0
  40. package/dist/routes/actions.d.ts.map +1 -0
  41. package/dist/routes/agent-api-gateway.d.ts +4 -0
  42. package/dist/routes/agent-api-gateway.d.ts.map +1 -0
  43. package/dist/routes/agents.d.ts +1061 -0
  44. package/dist/routes/agents.d.ts.map +1 -0
  45. package/dist/routes/auth.d.ts +1366 -0
  46. package/dist/routes/auth.d.ts.map +1 -0
  47. package/dist/routes/connectors.d.ts +108 -0
  48. package/dist/routes/connectors.d.ts.map +1 -0
  49. package/dist/routes/datasets.d.ts +339 -0
  50. package/dist/routes/datasets.d.ts.map +1 -0
  51. package/dist/routes/events.d.ts +116 -0
  52. package/dist/routes/events.d.ts.map +1 -0
  53. package/dist/routes/files.d.ts +340 -0
  54. package/dist/routes/files.d.ts.map +1 -0
  55. package/dist/routes/links.d.ts +175 -0
  56. package/dist/routes/links.d.ts.map +1 -0
  57. package/dist/routes/logs.d.ts +88 -0
  58. package/dist/routes/logs.d.ts.map +1 -0
  59. package/dist/routes/objects.d.ts +450 -0
  60. package/dist/routes/objects.d.ts.map +1 -0
  61. package/dist/routes/ontology.d.ts +240 -0
  62. package/dist/routes/ontology.d.ts.map +1 -0
  63. package/dist/routes/pipelines.d.ts +399 -0
  64. package/dist/routes/pipelines.d.ts.map +1 -0
  65. package/dist/routes/project.d.ts +56 -0
  66. package/dist/routes/project.d.ts.map +1 -0
  67. package/dist/routes/projections.d.ts +916 -0
  68. package/dist/routes/projections.d.ts.map +1 -0
  69. package/dist/routes/rules.d.ts +165 -0
  70. package/dist/routes/rules.d.ts.map +1 -0
  71. package/dist/routes/status.d.ts +81 -0
  72. package/dist/routes/status.d.ts.map +1 -0
  73. package/dist/routes/syncs.d.ts +294 -0
  74. package/dist/routes/syncs.d.ts.map +1 -0
  75. package/dist/routes/telemetry.d.ts +241 -0
  76. package/dist/routes/telemetry.d.ts.map +1 -0
  77. package/dist/routes/webhook-runs.d.ts +89 -0
  78. package/dist/routes/webhook-runs.d.ts.map +1 -0
  79. package/dist/routes/webhooks.d.ts +60 -0
  80. package/dist/routes/webhooks.d.ts.map +1 -0
  81. package/dist/routes/workflows.d.ts +973 -0
  82. package/dist/routes/workflows.d.ts.map +1 -0
  83. package/dist/routes/ws/agents.d.ts +99 -0
  84. package/dist/routes/ws/agents.d.ts.map +1 -0
  85. package/dist/routes/ws/events.d.ts +89 -0
  86. package/dist/routes/ws/events.d.ts.map +1 -0
  87. package/dist/routes/ws/index.d.ts +31 -0
  88. package/dist/routes/ws/index.d.ts.map +1 -0
  89. package/dist/routes/ws/log-subscription-hub.d.ts +47 -0
  90. package/dist/routes/ws/log-subscription-hub.d.ts.map +1 -0
  91. package/dist/routes/ws/logs.d.ts +110 -0
  92. package/dist/routes/ws/logs.d.ts.map +1 -0
  93. package/dist/schemas/actions.d.ts +644 -0
  94. package/dist/schemas/actions.d.ts.map +1 -0
  95. package/dist/schemas/agents.d.ts +3157 -0
  96. package/dist/schemas/agents.d.ts.map +1 -0
  97. package/dist/schemas/auth.d.ts +2023 -0
  98. package/dist/schemas/auth.d.ts.map +1 -0
  99. package/dist/schemas/common.d.ts +30 -0
  100. package/dist/schemas/common.d.ts.map +1 -0
  101. package/dist/schemas/connectors.d.ts +82 -0
  102. package/dist/schemas/connectors.d.ts.map +1 -0
  103. package/dist/schemas/datasets.d.ts +744 -0
  104. package/dist/schemas/datasets.d.ts.map +1 -0
  105. package/dist/schemas/event-payloads.d.ts +477 -0
  106. package/dist/schemas/event-payloads.d.ts.map +1 -0
  107. package/dist/schemas/events.d.ts +665 -0
  108. package/dist/schemas/events.d.ts.map +1 -0
  109. package/dist/schemas/files.d.ts +241 -0
  110. package/dist/schemas/files.d.ts.map +1 -0
  111. package/dist/schemas/links.d.ts +90 -0
  112. package/dist/schemas/links.d.ts.map +1 -0
  113. package/dist/schemas/logs.d.ts +231 -0
  114. package/dist/schemas/logs.d.ts.map +1 -0
  115. package/dist/schemas/objects.d.ts +288 -0
  116. package/dist/schemas/objects.d.ts.map +1 -0
  117. package/dist/schemas/ontology.d.ts +778 -0
  118. package/dist/schemas/ontology.d.ts.map +1 -0
  119. package/dist/schemas/pipelines.d.ts +1373 -0
  120. package/dist/schemas/pipelines.d.ts.map +1 -0
  121. package/dist/schemas/project.d.ts +9 -0
  122. package/dist/schemas/project.d.ts.map +1 -0
  123. package/dist/schemas/projections.d.ts +6992 -0
  124. package/dist/schemas/projections.d.ts.map +1 -0
  125. package/dist/schemas/rules.d.ts +204 -0
  126. package/dist/schemas/rules.d.ts.map +1 -0
  127. package/dist/schemas/status.d.ts +189 -0
  128. package/dist/schemas/status.d.ts.map +1 -0
  129. package/dist/schemas/syncs.d.ts +538 -0
  130. package/dist/schemas/syncs.d.ts.map +1 -0
  131. package/dist/schemas/telemetry.d.ts +265 -0
  132. package/dist/schemas/telemetry.d.ts.map +1 -0
  133. package/dist/schemas/webhook-runs.d.ts +169 -0
  134. package/dist/schemas/webhook-runs.d.ts.map +1 -0
  135. package/dist/schemas/workflows.d.ts +1720 -0
  136. package/dist/schemas/workflows.d.ts.map +1 -0
  137. package/dist/server.d.ts +64 -0
  138. package/dist/server.d.ts.map +1 -0
  139. package/dist/tsconfig.json +5 -0
  140. package/dist/utils/http.d.ts +23 -0
  141. package/dist/utils/http.d.ts.map +1 -0
  142. package/dist/utils/request-body.d.ts +15 -0
  143. package/dist/utils/request-body.d.ts.map +1 -0
  144. package/dist/utils/ws.d.ts +10 -0
  145. package/dist/utils/ws.d.ts.map +1 -0
  146. package/package.json +68 -0
  147. package/src/auth/access-token-boundary.ts +68 -0
  148. package/src/auth/application-access.ts +16 -0
  149. package/src/auth/browser-origin.ts +367 -0
  150. package/src/auth/csrf.ts +1 -0
  151. package/src/auth/guard.ts +169 -0
  152. package/src/auth/public-routes.ts +87 -0
  153. package/src/auth/responses.ts +54 -0
  154. package/src/auth/return-to.ts +21 -0
  155. package/src/auth/scope.ts +64 -0
  156. package/src/auth/session-activity.ts +19 -0
  157. package/src/auth/session-cookies.ts +43 -0
  158. package/src/files/content.ts +419 -0
  159. package/src/index.ts +2 -0
  160. package/src/openapi/security.ts +37 -0
  161. package/src/openapi/tags.ts +151 -0
  162. package/src/registerRoutes.ts +49 -0
  163. package/src/routes/action-runs.ts +238 -0
  164. package/src/routes/actions.ts +126 -0
  165. package/src/routes/agent-api-gateway.ts +260 -0
  166. package/src/routes/agents.ts +943 -0
  167. package/src/routes/auth.ts +2233 -0
  168. package/src/routes/connectors.ts +69 -0
  169. package/src/routes/datasets.ts +402 -0
  170. package/src/routes/events.ts +55 -0
  171. package/src/routes/files.ts +675 -0
  172. package/src/routes/links.ts +143 -0
  173. package/src/routes/logs.ts +65 -0
  174. package/src/routes/objects.ts +838 -0
  175. package/src/routes/ontology.ts +138 -0
  176. package/src/routes/pipelines.ts +332 -0
  177. package/src/routes/project.ts +16 -0
  178. package/src/routes/projections.ts +251 -0
  179. package/src/routes/rules.ts +124 -0
  180. package/src/routes/status.ts +53 -0
  181. package/src/routes/syncs.ts +243 -0
  182. package/src/routes/telemetry.ts +207 -0
  183. package/src/routes/webhook-runs.ts +81 -0
  184. package/src/routes/webhooks.ts +508 -0
  185. package/src/routes/workflows.ts +1333 -0
  186. package/src/routes/ws/agents.ts +301 -0
  187. package/src/routes/ws/events.ts +278 -0
  188. package/src/routes/ws/index.ts +12 -0
  189. package/src/routes/ws/log-subscription-hub.ts +375 -0
  190. package/src/routes/ws/logs.ts +117 -0
  191. package/src/schemas/actions.ts +123 -0
  192. package/src/schemas/agents.ts +293 -0
  193. package/src/schemas/auth.ts +317 -0
  194. package/src/schemas/common.ts +60 -0
  195. package/src/schemas/connectors.ts +21 -0
  196. package/src/schemas/datasets.ts +107 -0
  197. package/src/schemas/event-payloads.ts +79 -0
  198. package/src/schemas/events.ts +117 -0
  199. package/src/schemas/files.ts +82 -0
  200. package/src/schemas/links.ts +38 -0
  201. package/src/schemas/logs.ts +76 -0
  202. package/src/schemas/objects.ts +759 -0
  203. package/src/schemas/ontology.ts +77 -0
  204. package/src/schemas/pipelines.ts +150 -0
  205. package/src/schemas/project.ts +5 -0
  206. package/src/schemas/projections.ts +144 -0
  207. package/src/schemas/rules.ts +98 -0
  208. package/src/schemas/status.ts +51 -0
  209. package/src/schemas/syncs.ts +83 -0
  210. package/src/schemas/telemetry.ts +59 -0
  211. package/src/schemas/webhook-runs.ts +40 -0
  212. package/src/schemas/workflows.ts +229 -0
  213. package/src/server.ts +383 -0
  214. package/src/utils/http.ts +108 -0
  215. package/src/utils/request-body.ts +62 -0
  216. package/src/utils/ws.ts +59 -0
@@ -0,0 +1,665 @@
1
+ import type { DomainEvent } from "@sixb/core";
2
+ import { z } from "zod";
3
+ export declare const EVENT_TOPICS: readonly [DomainEvent["topic"], ...DomainEvent["topic"][]];
4
+ export declare const EVENT_TYPES: readonly [DomainEvent["type"], ...DomainEvent["type"][]];
5
+ export declare const EventTopicSchema: z.ZodEnum<["objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets", ...("objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets")[]]>;
6
+ export declare const EventTypeSchema: z.ZodEnum<["object.created" | "action.requested" | "object.updated" | "object.deleted" | "telemetry.appended" | "link.created" | "link.updated" | "link.deleted" | "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" | "action.requested" | "object.updated" | "object.deleted" | "telemetry.appended" | "link.created" | "link.updated" | "link.deleted" | "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")[]]>;
7
+ /** Mirrors the Materializer's commit origin: which ingress produced the fact. */
8
+ export declare const EventOriginSchema: z.ZodUnion<[z.ZodObject<{
9
+ kind: z.ZodLiteral<"action">;
10
+ actionId: z.ZodString;
11
+ runId: z.ZodString;
12
+ }, "strip", z.ZodTypeAny, {
13
+ kind: "action";
14
+ actionId: string;
15
+ runId: string;
16
+ }, {
17
+ kind: "action";
18
+ actionId: string;
19
+ runId: string;
20
+ }>, z.ZodObject<{
21
+ kind: z.ZodLiteral<"runtime">;
22
+ requestId: z.ZodString;
23
+ }, "strip", z.ZodTypeAny, {
24
+ kind: "runtime";
25
+ requestId: string;
26
+ }, {
27
+ kind: "runtime";
28
+ requestId: string;
29
+ }>, z.ZodObject<{
30
+ kind: z.ZodLiteral<"projection">;
31
+ projectionId: z.ZodString;
32
+ projectionRunId: z.ZodString;
33
+ datasetId: z.ZodString;
34
+ datasetVersionId: z.ZodString;
35
+ }, "strip", z.ZodTypeAny, {
36
+ kind: "projection";
37
+ datasetId: string;
38
+ projectionId: string;
39
+ projectionRunId: string;
40
+ datasetVersionId: string;
41
+ }, {
42
+ kind: "projection";
43
+ datasetId: string;
44
+ projectionId: string;
45
+ projectionRunId: string;
46
+ datasetVersionId: string;
47
+ }>, z.ZodObject<{
48
+ kind: z.ZodLiteral<"telemetry">;
49
+ source: z.ZodUnion<[z.ZodObject<{
50
+ kind: z.ZodLiteral<"runtime">;
51
+ requestId: z.ZodString;
52
+ }, "strip", z.ZodTypeAny, {
53
+ kind: "runtime";
54
+ requestId: string;
55
+ }, {
56
+ kind: "runtime";
57
+ requestId: string;
58
+ }>, z.ZodObject<{
59
+ kind: z.ZodLiteral<"projection">;
60
+ projectionId: z.ZodString;
61
+ projectionRunId: z.ZodString;
62
+ datasetId: z.ZodString;
63
+ datasetVersionId: z.ZodString;
64
+ } & {
65
+ batchOrdinal: z.ZodNumber;
66
+ }, "strip", z.ZodTypeAny, {
67
+ kind: "projection";
68
+ datasetId: string;
69
+ projectionId: string;
70
+ projectionRunId: string;
71
+ datasetVersionId: string;
72
+ batchOrdinal: number;
73
+ }, {
74
+ kind: "projection";
75
+ datasetId: string;
76
+ projectionId: string;
77
+ projectionRunId: string;
78
+ datasetVersionId: string;
79
+ batchOrdinal: number;
80
+ }>]>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ kind: "telemetry";
83
+ source: {
84
+ kind: "runtime";
85
+ requestId: string;
86
+ } | {
87
+ kind: "projection";
88
+ datasetId: string;
89
+ projectionId: string;
90
+ projectionRunId: string;
91
+ datasetVersionId: string;
92
+ batchOrdinal: number;
93
+ };
94
+ }, {
95
+ kind: "telemetry";
96
+ source: {
97
+ kind: "runtime";
98
+ requestId: string;
99
+ } | {
100
+ kind: "projection";
101
+ datasetId: string;
102
+ projectionId: string;
103
+ projectionRunId: string;
104
+ datasetVersionId: string;
105
+ batchOrdinal: number;
106
+ };
107
+ }>]>;
108
+ export declare const EventsQuerySchema: z.ZodObject<{
109
+ topic: z.ZodOptional<z.ZodEnum<["objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets", ...("objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets")[]]>>;
110
+ type: z.ZodOptional<z.ZodEnum<["object.created" | "action.requested" | "object.updated" | "object.deleted" | "telemetry.appended" | "link.created" | "link.updated" | "link.deleted" | "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" | "action.requested" | "object.updated" | "object.deleted" | "telemetry.appended" | "link.created" | "link.updated" | "link.deleted" | "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")[]]>>;
111
+ afterCursor: z.ZodOptional<z.ZodString>;
112
+ limit: z.ZodOptional<z.ZodString>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ limit?: string | undefined;
115
+ type?: "object.created" | "action.requested" | "object.updated" | "object.deleted" | "telemetry.appended" | "link.created" | "link.updated" | "link.deleted" | "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;
116
+ topic?: "objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets" | undefined;
117
+ afterCursor?: string | undefined;
118
+ }, {
119
+ limit?: string | undefined;
120
+ type?: "object.created" | "action.requested" | "object.updated" | "object.deleted" | "telemetry.appended" | "link.created" | "link.updated" | "link.deleted" | "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;
121
+ topic?: "objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets" | undefined;
122
+ afterCursor?: string | undefined;
123
+ }>;
124
+ type EventSchemaOption = z.ZodDiscriminatedUnionOption<"type">;
125
+ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [EventSchemaOption, EventSchemaOption, ...EventSchemaOption[]]>, z.ZodObject<{
126
+ id: z.ZodString;
127
+ cursor: z.ZodString;
128
+ schemaVersion: z.ZodLiteral<1>;
129
+ projectId: z.ZodString;
130
+ occurredAt: z.ZodString;
131
+ actor: z.ZodOptional<z.ZodObject<{
132
+ type: z.ZodEnum<["user", "service", "system"]>;
133
+ id: z.ZodString;
134
+ }, "strip", z.ZodTypeAny, {
135
+ type: "user" | "system" | "service";
136
+ id: string;
137
+ }, {
138
+ type: "user" | "system" | "service";
139
+ id: string;
140
+ }>>;
141
+ partitionKey: z.ZodString;
142
+ } & {
143
+ correlationId: z.ZodOptional<z.ZodString>;
144
+ causationId: z.ZodOptional<z.ZodString>;
145
+ idempotencyKey: z.ZodOptional<z.ZodString>;
146
+ origin: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
147
+ kind: z.ZodLiteral<"action">;
148
+ actionId: z.ZodString;
149
+ runId: z.ZodString;
150
+ }, "strip", z.ZodTypeAny, {
151
+ kind: "action";
152
+ actionId: string;
153
+ runId: string;
154
+ }, {
155
+ kind: "action";
156
+ actionId: string;
157
+ runId: string;
158
+ }>, z.ZodObject<{
159
+ kind: z.ZodLiteral<"runtime">;
160
+ requestId: z.ZodString;
161
+ }, "strip", z.ZodTypeAny, {
162
+ kind: "runtime";
163
+ requestId: string;
164
+ }, {
165
+ kind: "runtime";
166
+ requestId: string;
167
+ }>, z.ZodObject<{
168
+ kind: z.ZodLiteral<"projection">;
169
+ projectionId: z.ZodString;
170
+ projectionRunId: z.ZodString;
171
+ datasetId: z.ZodString;
172
+ datasetVersionId: z.ZodString;
173
+ }, "strip", z.ZodTypeAny, {
174
+ kind: "projection";
175
+ datasetId: string;
176
+ projectionId: string;
177
+ projectionRunId: string;
178
+ datasetVersionId: string;
179
+ }, {
180
+ kind: "projection";
181
+ datasetId: string;
182
+ projectionId: string;
183
+ projectionRunId: string;
184
+ datasetVersionId: string;
185
+ }>, z.ZodObject<{
186
+ kind: z.ZodLiteral<"telemetry">;
187
+ source: z.ZodUnion<[z.ZodObject<{
188
+ kind: z.ZodLiteral<"runtime">;
189
+ requestId: z.ZodString;
190
+ }, "strip", z.ZodTypeAny, {
191
+ kind: "runtime";
192
+ requestId: string;
193
+ }, {
194
+ kind: "runtime";
195
+ requestId: string;
196
+ }>, z.ZodObject<{
197
+ kind: z.ZodLiteral<"projection">;
198
+ projectionId: z.ZodString;
199
+ projectionRunId: z.ZodString;
200
+ datasetId: z.ZodString;
201
+ datasetVersionId: z.ZodString;
202
+ } & {
203
+ batchOrdinal: z.ZodNumber;
204
+ }, "strip", z.ZodTypeAny, {
205
+ kind: "projection";
206
+ datasetId: string;
207
+ projectionId: string;
208
+ projectionRunId: string;
209
+ datasetVersionId: string;
210
+ batchOrdinal: number;
211
+ }, {
212
+ kind: "projection";
213
+ datasetId: string;
214
+ projectionId: string;
215
+ projectionRunId: string;
216
+ datasetVersionId: string;
217
+ batchOrdinal: number;
218
+ }>]>;
219
+ }, "strip", z.ZodTypeAny, {
220
+ kind: "telemetry";
221
+ source: {
222
+ kind: "runtime";
223
+ requestId: string;
224
+ } | {
225
+ kind: "projection";
226
+ datasetId: string;
227
+ projectionId: string;
228
+ projectionRunId: string;
229
+ datasetVersionId: string;
230
+ batchOrdinal: number;
231
+ };
232
+ }, {
233
+ kind: "telemetry";
234
+ source: {
235
+ kind: "runtime";
236
+ requestId: string;
237
+ } | {
238
+ kind: "projection";
239
+ datasetId: string;
240
+ projectionId: string;
241
+ projectionRunId: string;
242
+ datasetVersionId: string;
243
+ batchOrdinal: number;
244
+ };
245
+ }>]>>;
246
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
247
+ } & {
248
+ 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")[]]>;
249
+ topic: z.ZodEnum<["objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets", ...("objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets")[]]>;
250
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
251
+ }, "strip", z.ZodTypeAny, {
252
+ projectId: string;
253
+ 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";
254
+ id: string;
255
+ payload: Record<string, unknown>;
256
+ topic: "objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets";
257
+ partitionKey: string;
258
+ schemaVersion: 1;
259
+ occurredAt: string;
260
+ cursor: string;
261
+ origin?: {
262
+ kind: "projection";
263
+ datasetId: string;
264
+ projectionId: string;
265
+ projectionRunId: string;
266
+ datasetVersionId: string;
267
+ } | {
268
+ kind: "action";
269
+ actionId: string;
270
+ runId: string;
271
+ } | {
272
+ kind: "runtime";
273
+ requestId: string;
274
+ } | {
275
+ kind: "telemetry";
276
+ source: {
277
+ kind: "runtime";
278
+ requestId: string;
279
+ } | {
280
+ kind: "projection";
281
+ datasetId: string;
282
+ projectionId: string;
283
+ projectionRunId: string;
284
+ datasetVersionId: string;
285
+ batchOrdinal: number;
286
+ };
287
+ } | undefined;
288
+ metadata?: Record<string, import("./common").JsonValue> | undefined;
289
+ correlationId?: string | undefined;
290
+ causationId?: string | undefined;
291
+ idempotencyKey?: string | undefined;
292
+ actor?: {
293
+ type: "user" | "system" | "service";
294
+ id: string;
295
+ } | undefined;
296
+ }, {
297
+ projectId: string;
298
+ 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";
299
+ id: string;
300
+ payload: Record<string, unknown>;
301
+ topic: "objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets";
302
+ partitionKey: string;
303
+ schemaVersion: 1;
304
+ occurredAt: string;
305
+ cursor: string;
306
+ origin?: {
307
+ kind: "projection";
308
+ datasetId: string;
309
+ projectionId: string;
310
+ projectionRunId: string;
311
+ datasetVersionId: string;
312
+ } | {
313
+ kind: "action";
314
+ actionId: string;
315
+ runId: string;
316
+ } | {
317
+ kind: "runtime";
318
+ requestId: string;
319
+ } | {
320
+ kind: "telemetry";
321
+ source: {
322
+ kind: "runtime";
323
+ requestId: string;
324
+ } | {
325
+ kind: "projection";
326
+ datasetId: string;
327
+ projectionId: string;
328
+ projectionRunId: string;
329
+ datasetVersionId: string;
330
+ batchOrdinal: number;
331
+ };
332
+ } | undefined;
333
+ metadata?: Record<string, import("./common").JsonValue> | undefined;
334
+ correlationId?: string | undefined;
335
+ causationId?: string | undefined;
336
+ idempotencyKey?: string | undefined;
337
+ actor?: {
338
+ type: "user" | "system" | "service";
339
+ id: string;
340
+ } | undefined;
341
+ }>]>;
342
+ export declare const EventsResponseSchema: z.ZodObject<{
343
+ count: z.ZodNumber;
344
+ events: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [EventSchemaOption, EventSchemaOption, ...EventSchemaOption[]]>, z.ZodObject<{
345
+ id: z.ZodString;
346
+ cursor: z.ZodString;
347
+ schemaVersion: z.ZodLiteral<1>;
348
+ projectId: z.ZodString;
349
+ occurredAt: z.ZodString;
350
+ actor: z.ZodOptional<z.ZodObject<{
351
+ type: z.ZodEnum<["user", "service", "system"]>;
352
+ id: z.ZodString;
353
+ }, "strip", z.ZodTypeAny, {
354
+ type: "user" | "system" | "service";
355
+ id: string;
356
+ }, {
357
+ type: "user" | "system" | "service";
358
+ id: string;
359
+ }>>;
360
+ partitionKey: z.ZodString;
361
+ } & {
362
+ correlationId: z.ZodOptional<z.ZodString>;
363
+ causationId: z.ZodOptional<z.ZodString>;
364
+ idempotencyKey: z.ZodOptional<z.ZodString>;
365
+ origin: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
366
+ kind: z.ZodLiteral<"action">;
367
+ actionId: z.ZodString;
368
+ runId: z.ZodString;
369
+ }, "strip", z.ZodTypeAny, {
370
+ kind: "action";
371
+ actionId: string;
372
+ runId: string;
373
+ }, {
374
+ kind: "action";
375
+ actionId: string;
376
+ runId: string;
377
+ }>, z.ZodObject<{
378
+ kind: z.ZodLiteral<"runtime">;
379
+ requestId: z.ZodString;
380
+ }, "strip", z.ZodTypeAny, {
381
+ kind: "runtime";
382
+ requestId: string;
383
+ }, {
384
+ kind: "runtime";
385
+ requestId: string;
386
+ }>, z.ZodObject<{
387
+ kind: z.ZodLiteral<"projection">;
388
+ projectionId: z.ZodString;
389
+ projectionRunId: z.ZodString;
390
+ datasetId: z.ZodString;
391
+ datasetVersionId: z.ZodString;
392
+ }, "strip", z.ZodTypeAny, {
393
+ kind: "projection";
394
+ datasetId: string;
395
+ projectionId: string;
396
+ projectionRunId: string;
397
+ datasetVersionId: string;
398
+ }, {
399
+ kind: "projection";
400
+ datasetId: string;
401
+ projectionId: string;
402
+ projectionRunId: string;
403
+ datasetVersionId: string;
404
+ }>, z.ZodObject<{
405
+ kind: z.ZodLiteral<"telemetry">;
406
+ source: z.ZodUnion<[z.ZodObject<{
407
+ kind: z.ZodLiteral<"runtime">;
408
+ requestId: z.ZodString;
409
+ }, "strip", z.ZodTypeAny, {
410
+ kind: "runtime";
411
+ requestId: string;
412
+ }, {
413
+ kind: "runtime";
414
+ requestId: string;
415
+ }>, z.ZodObject<{
416
+ kind: z.ZodLiteral<"projection">;
417
+ projectionId: z.ZodString;
418
+ projectionRunId: z.ZodString;
419
+ datasetId: z.ZodString;
420
+ datasetVersionId: z.ZodString;
421
+ } & {
422
+ batchOrdinal: z.ZodNumber;
423
+ }, "strip", z.ZodTypeAny, {
424
+ kind: "projection";
425
+ datasetId: string;
426
+ projectionId: string;
427
+ projectionRunId: string;
428
+ datasetVersionId: string;
429
+ batchOrdinal: number;
430
+ }, {
431
+ kind: "projection";
432
+ datasetId: string;
433
+ projectionId: string;
434
+ projectionRunId: string;
435
+ datasetVersionId: string;
436
+ batchOrdinal: number;
437
+ }>]>;
438
+ }, "strip", z.ZodTypeAny, {
439
+ kind: "telemetry";
440
+ source: {
441
+ kind: "runtime";
442
+ requestId: string;
443
+ } | {
444
+ kind: "projection";
445
+ datasetId: string;
446
+ projectionId: string;
447
+ projectionRunId: string;
448
+ datasetVersionId: string;
449
+ batchOrdinal: number;
450
+ };
451
+ }, {
452
+ kind: "telemetry";
453
+ source: {
454
+ kind: "runtime";
455
+ requestId: string;
456
+ } | {
457
+ kind: "projection";
458
+ datasetId: string;
459
+ projectionId: string;
460
+ projectionRunId: string;
461
+ datasetVersionId: string;
462
+ batchOrdinal: number;
463
+ };
464
+ }>]>>;
465
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
466
+ } & {
467
+ 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")[]]>;
468
+ topic: z.ZodEnum<["objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets", ...("objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets")[]]>;
469
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
470
+ }, "strip", z.ZodTypeAny, {
471
+ projectId: string;
472
+ 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";
473
+ id: string;
474
+ payload: Record<string, unknown>;
475
+ topic: "objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets";
476
+ partitionKey: string;
477
+ schemaVersion: 1;
478
+ occurredAt: string;
479
+ cursor: string;
480
+ origin?: {
481
+ kind: "projection";
482
+ datasetId: string;
483
+ projectionId: string;
484
+ projectionRunId: string;
485
+ datasetVersionId: string;
486
+ } | {
487
+ kind: "action";
488
+ actionId: string;
489
+ runId: string;
490
+ } | {
491
+ kind: "runtime";
492
+ requestId: string;
493
+ } | {
494
+ kind: "telemetry";
495
+ source: {
496
+ kind: "runtime";
497
+ requestId: string;
498
+ } | {
499
+ kind: "projection";
500
+ datasetId: string;
501
+ projectionId: string;
502
+ projectionRunId: string;
503
+ datasetVersionId: string;
504
+ batchOrdinal: number;
505
+ };
506
+ } | undefined;
507
+ metadata?: Record<string, import("./common").JsonValue> | undefined;
508
+ correlationId?: string | undefined;
509
+ causationId?: string | undefined;
510
+ idempotencyKey?: string | undefined;
511
+ actor?: {
512
+ type: "user" | "system" | "service";
513
+ id: string;
514
+ } | undefined;
515
+ }, {
516
+ projectId: string;
517
+ 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";
518
+ id: string;
519
+ payload: Record<string, unknown>;
520
+ topic: "objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets";
521
+ partitionKey: string;
522
+ schemaVersion: 1;
523
+ occurredAt: string;
524
+ cursor: string;
525
+ origin?: {
526
+ kind: "projection";
527
+ datasetId: string;
528
+ projectionId: string;
529
+ projectionRunId: string;
530
+ datasetVersionId: string;
531
+ } | {
532
+ kind: "action";
533
+ actionId: string;
534
+ runId: string;
535
+ } | {
536
+ kind: "runtime";
537
+ requestId: string;
538
+ } | {
539
+ kind: "telemetry";
540
+ source: {
541
+ kind: "runtime";
542
+ requestId: string;
543
+ } | {
544
+ kind: "projection";
545
+ datasetId: string;
546
+ projectionId: string;
547
+ projectionRunId: string;
548
+ datasetVersionId: string;
549
+ batchOrdinal: number;
550
+ };
551
+ } | undefined;
552
+ metadata?: Record<string, import("./common").JsonValue> | undefined;
553
+ correlationId?: string | undefined;
554
+ causationId?: string | undefined;
555
+ idempotencyKey?: string | undefined;
556
+ actor?: {
557
+ type: "user" | "system" | "service";
558
+ id: string;
559
+ } | undefined;
560
+ }>]>, "many">;
561
+ }, "strip", z.ZodTypeAny, {
562
+ count: number;
563
+ events: ({
564
+ projectId: string;
565
+ 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";
566
+ id: string;
567
+ payload: Record<string, unknown>;
568
+ topic: "objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets";
569
+ partitionKey: string;
570
+ schemaVersion: 1;
571
+ occurredAt: string;
572
+ cursor: string;
573
+ origin?: {
574
+ kind: "projection";
575
+ datasetId: string;
576
+ projectionId: string;
577
+ projectionRunId: string;
578
+ datasetVersionId: string;
579
+ } | {
580
+ kind: "action";
581
+ actionId: string;
582
+ runId: string;
583
+ } | {
584
+ kind: "runtime";
585
+ requestId: string;
586
+ } | {
587
+ kind: "telemetry";
588
+ source: {
589
+ kind: "runtime";
590
+ requestId: string;
591
+ } | {
592
+ kind: "projection";
593
+ datasetId: string;
594
+ projectionId: string;
595
+ projectionRunId: string;
596
+ datasetVersionId: string;
597
+ batchOrdinal: number;
598
+ };
599
+ } | undefined;
600
+ metadata?: Record<string, import("./common").JsonValue> | undefined;
601
+ correlationId?: string | undefined;
602
+ causationId?: string | undefined;
603
+ idempotencyKey?: string | undefined;
604
+ actor?: {
605
+ type: "user" | "system" | "service";
606
+ id: string;
607
+ } | undefined;
608
+ } | {
609
+ [x: string]: any;
610
+ type?: unknown;
611
+ })[];
612
+ }, {
613
+ count: number;
614
+ events: ({
615
+ projectId: string;
616
+ 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";
617
+ id: string;
618
+ payload: Record<string, unknown>;
619
+ topic: "objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets";
620
+ partitionKey: string;
621
+ schemaVersion: 1;
622
+ occurredAt: string;
623
+ cursor: string;
624
+ origin?: {
625
+ kind: "projection";
626
+ datasetId: string;
627
+ projectionId: string;
628
+ projectionRunId: string;
629
+ datasetVersionId: string;
630
+ } | {
631
+ kind: "action";
632
+ actionId: string;
633
+ runId: string;
634
+ } | {
635
+ kind: "runtime";
636
+ requestId: string;
637
+ } | {
638
+ kind: "telemetry";
639
+ source: {
640
+ kind: "runtime";
641
+ requestId: string;
642
+ } | {
643
+ kind: "projection";
644
+ datasetId: string;
645
+ projectionId: string;
646
+ projectionRunId: string;
647
+ datasetVersionId: string;
648
+ batchOrdinal: number;
649
+ };
650
+ } | undefined;
651
+ metadata?: Record<string, import("./common").JsonValue> | undefined;
652
+ correlationId?: string | undefined;
653
+ causationId?: string | undefined;
654
+ idempotencyKey?: string | undefined;
655
+ actor?: {
656
+ type: "user" | "system" | "service";
657
+ id: string;
658
+ } | undefined;
659
+ } | {
660
+ [x: string]: any;
661
+ type?: unknown;
662
+ })[];
663
+ }>;
664
+ export {};
665
+ //# sourceMappingURL=events.d.ts.map