@sixb/server 0.1.1 → 0.1.3
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.
- package/README.md +3 -3
- package/dist/auth/application-access.d.ts +2 -2
- package/dist/auth/application-access.d.ts.map +1 -1
- package/dist/auth/connector-callback-cookie.d.ts +12 -0
- package/dist/auth/connector-callback-cookie.d.ts.map +1 -0
- package/dist/auth/experience.d.ts +33 -0
- package/dist/auth/experience.d.ts.map +1 -0
- package/dist/auth/guard.d.ts +3 -3
- package/dist/auth/guard.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +13 -27
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/auth/session-cookies.d.ts +2 -2
- package/dist/auth/session-cookies.d.ts.map +1 -1
- package/dist/connectors/http.d.ts +16 -0
- package/dist/connectors/http.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3903 -2760
- package/dist/index.js.map +58 -50
- package/dist/openapi/tags.d.ts +15 -3
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts +6 -2
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/action-runs.d.ts +21 -31
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +12 -11
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts +2 -2
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +230 -159
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts +31 -0
- package/dist/routes/ai-accounting.d.ts.map +1 -0
- package/dist/routes/auth.d.ts +149 -92
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +794 -0
- package/dist/routes/connector-connection-runs.d.ts.map +1 -0
- package/dist/routes/connector-connections.d.ts +219 -0
- package/dist/routes/connector-connections.d.ts.map +1 -0
- package/dist/routes/connectors.d.ts +10 -4
- package/dist/routes/connectors.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +16 -12
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +9 -9
- package/dist/routes/events.d.ts.map +1 -1
- package/dist/routes/files.d.ts +19 -18
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +11 -11
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +5 -5
- package/dist/routes/logs.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +37 -37
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +50 -50
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +28 -38
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/project.d.ts +2 -2
- package/dist/routes/project.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +145 -85
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/rules.d.ts +6 -6
- package/dist/routes/rules.d.ts.map +1 -1
- package/dist/routes/status.d.ts +2 -2
- package/dist/routes/status.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +23 -28
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +9 -9
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/webhook-runs.d.ts +9 -9
- package/dist/routes/webhook-runs.d.ts.map +1 -1
- package/dist/routes/webhooks.d.ts +2 -2
- package/dist/routes/webhooks.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +177 -66
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +11 -5
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +8 -8
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/log-subscription-hub.d.ts +6 -3
- package/dist/routes/ws/log-subscription-hub.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/routes/ws/logs.d.ts.map +1 -1
- package/dist/schemas/actions.d.ts +89 -194
- package/dist/schemas/actions.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +791 -471
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +2393 -0
- package/dist/schemas/ai-accounting.d.ts.map +1 -0
- package/dist/schemas/ai-usage.d.ts +34 -0
- package/dist/schemas/ai-usage.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +102 -102
- package/dist/schemas/common.d.ts +37 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +713 -2
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +2 -2
- package/dist/schemas/event-payloads.d.ts +12 -12
- package/dist/schemas/events.d.ts +40 -40
- package/dist/schemas/links.d.ts +2 -2
- package/dist/schemas/logs.d.ts +22 -22
- package/dist/schemas/objects.d.ts +10 -10
- package/dist/schemas/ontology.d.ts +118 -118
- package/dist/schemas/pipelines.d.ts +89 -184
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +1030 -563
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/rules.d.ts +6 -6
- package/dist/schemas/syncs.d.ts +65 -108
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/webhook-runs.d.ts +41 -41
- package/dist/schemas/webhook-runs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +1189 -185
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +11 -6
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts +2 -0
- package/dist/utils/http.d.ts.map +1 -1
- package/dist/utils/ws.d.ts +4 -3
- package/dist/utils/ws.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/auth/access-token-boundary.ts +4 -4
- package/src/auth/application-access.ts +8 -9
- package/src/auth/connector-callback-cookie.ts +95 -0
- package/src/auth/experience.ts +190 -0
- package/src/auth/guard.ts +11 -11
- package/src/auth/public-routes.ts +20 -0
- package/src/auth/scope.ts +26 -36
- package/src/auth/session-cookies.ts +3 -3
- package/src/connectors/http.ts +110 -0
- package/src/index.ts +1 -0
- package/src/openapi/tags.ts +13 -1
- package/src/registerRoutes.ts +36 -23
- package/src/routes/action-runs.ts +39 -39
- package/src/routes/actions.ts +7 -13
- package/src/routes/agent-api-gateway.ts +41 -38
- package/src/routes/agents.ts +90 -200
- package/src/routes/ai-accounting.ts +166 -0
- package/src/routes/auth.ts +274 -122
- package/src/routes/connector-connection-runs.ts +346 -0
- package/src/routes/connector-connections.ts +135 -0
- package/src/routes/connectors.ts +24 -12
- package/src/routes/datasets.ts +55 -54
- package/src/routes/events.ts +5 -5
- package/src/routes/files.ts +22 -30
- package/src/routes/links.ts +31 -35
- package/src/routes/logs.ts +6 -11
- package/src/routes/objects.ts +51 -114
- package/src/routes/ontology.ts +27 -38
- package/src/routes/pipelines.ts +28 -62
- package/src/routes/project.ts +3 -3
- package/src/routes/projections.ts +44 -42
- package/src/routes/rules.ts +11 -25
- package/src/routes/status.ts +5 -5
- package/src/routes/syncs.ts +19 -45
- package/src/routes/telemetry.ts +18 -29
- package/src/routes/webhook-runs.ts +5 -5
- package/src/routes/webhooks.ts +259 -341
- package/src/routes/workflows.ts +242 -248
- package/src/routes/ws/agents.ts +196 -66
- package/src/routes/ws/events.ts +11 -10
- package/src/routes/ws/log-subscription-hub.ts +6 -12
- package/src/routes/ws/logs.ts +13 -5
- package/src/schemas/actions.ts +58 -25
- package/src/schemas/agents.ts +23 -23
- package/src/schemas/ai-accounting.ts +182 -0
- package/src/schemas/ai-usage.ts +16 -0
- package/src/schemas/common.ts +24 -0
- package/src/schemas/connectors.ts +164 -0
- package/src/schemas/pipelines.ts +23 -15
- package/src/schemas/projections.ts +23 -3
- package/src/schemas/syncs.ts +13 -8
- package/src/schemas/webhook-runs.ts +10 -5
- package/src/schemas/workflows.ts +23 -8
- package/src/server.ts +75 -26
- package/src/utils/http.ts +34 -6
- package/src/utils/ws.ts +10 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectors.d.ts","sourceRoot":"","sources":["../../src/schemas/connectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"connectors.d.ts","sourceRoot":"","sources":["../../src/schemas/connectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,6BAA6B,EACnC,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,0BAA0B,yaAc7B,CAAA;AACV,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAA;AAEhF,eAAO,MAAM,iCAAiC;;;;;;;;;;EAG5C,CAAA;AACF,eAAO,MAAM,+BAA+B;;;;;;;;;;EAE1C,CAAA;AACF,eAAO,MAAM,+BAA+B;;;;;;;;;;EAM1C,CAAA;AACF,eAAO,MAAM,oCAAoC;;;;;;;;;;EAE/C,CAAA;AACF,eAAO,MAAM,iCAAiC;;;;;;;;;;EAG5C,CAAA;AACF,eAAO,MAAM,kCAAkC;;;;;;;;;;EAG7C,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;EAE1C,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;EAE7C,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAOjC,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM1B,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAKjC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAA;AAeF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6BvC,CAAA;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;EAGhD,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;EAE3C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;;EAElD,CAAA;AAEF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIpD,CAAA;AAEF,eAAO,MAAM,6CAA6C;;;;;;;;;EAGxD,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU0C,CAAA"}
|
|
@@ -345,8 +345,8 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
345
345
|
targetPipelineIds: z.ZodArray<z.ZodString, "many">;
|
|
346
346
|
projectionIds: z.ZodArray<z.ZodString, "many">;
|
|
347
347
|
}, "strip", z.ZodTypeAny, {
|
|
348
|
-
kind: "dataset";
|
|
349
348
|
id: string;
|
|
349
|
+
kind: "dataset";
|
|
350
350
|
schema: {
|
|
351
351
|
columns: {
|
|
352
352
|
name: string;
|
|
@@ -370,8 +370,8 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
370
370
|
primaryKey?: string | string[] | undefined;
|
|
371
371
|
partitionBy?: string[] | undefined;
|
|
372
372
|
}, {
|
|
373
|
-
kind: "dataset";
|
|
374
373
|
id: string;
|
|
374
|
+
kind: "dataset";
|
|
375
375
|
schema: {
|
|
376
376
|
columns: {
|
|
377
377
|
name: string;
|
|
@@ -40,8 +40,8 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
40
40
|
before: import("./common").JsonValue;
|
|
41
41
|
}>]>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
objectTypeId: string;
|
|
44
43
|
properties: Record<string, import("./common").JsonValue>;
|
|
44
|
+
objectTypeId: string;
|
|
45
45
|
primaryId: string;
|
|
46
46
|
propertyChanges: Record<string, {
|
|
47
47
|
operation: "created";
|
|
@@ -56,8 +56,8 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
56
56
|
before: import("./common").JsonValue;
|
|
57
57
|
}>;
|
|
58
58
|
}, {
|
|
59
|
-
objectTypeId: string;
|
|
60
59
|
properties: Record<string, import("./common").JsonValue>;
|
|
60
|
+
objectTypeId: string;
|
|
61
61
|
primaryId: string;
|
|
62
62
|
propertyChanges: Record<string, {
|
|
63
63
|
operation: "created";
|
|
@@ -111,8 +111,8 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
111
111
|
before: import("./common").JsonValue;
|
|
112
112
|
}>]>>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
objectTypeId: string;
|
|
115
114
|
properties: Record<string, import("./common").JsonValue>;
|
|
115
|
+
objectTypeId: string;
|
|
116
116
|
primaryId: string;
|
|
117
117
|
propertyChanges: Record<string, {
|
|
118
118
|
operation: "created";
|
|
@@ -127,8 +127,8 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
127
127
|
before: import("./common").JsonValue;
|
|
128
128
|
}>;
|
|
129
129
|
}, {
|
|
130
|
-
objectTypeId: string;
|
|
131
130
|
properties: Record<string, import("./common").JsonValue>;
|
|
131
|
+
objectTypeId: string;
|
|
132
132
|
primaryId: string;
|
|
133
133
|
propertyChanges: Record<string, {
|
|
134
134
|
operation: "created";
|
|
@@ -254,6 +254,7 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
254
254
|
before: import("./common").JsonValue;
|
|
255
255
|
}>]>>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
+
sourceId: string;
|
|
257
258
|
propertyChanges: Record<string, {
|
|
258
259
|
operation: "created";
|
|
259
260
|
after: import("./common").JsonValue;
|
|
@@ -267,12 +268,12 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
267
268
|
before: import("./common").JsonValue;
|
|
268
269
|
}>;
|
|
269
270
|
sourceTypeId: string;
|
|
270
|
-
sourceId: string;
|
|
271
271
|
linkId: string;
|
|
272
272
|
targetTypeId: string;
|
|
273
273
|
targetId: string;
|
|
274
274
|
properties?: Record<string, import("./common").JsonValue> | undefined;
|
|
275
275
|
}, {
|
|
276
|
+
sourceId: string;
|
|
276
277
|
propertyChanges: Record<string, {
|
|
277
278
|
operation: "created";
|
|
278
279
|
after: import("./common").JsonValue;
|
|
@@ -286,7 +287,6 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
286
287
|
before: import("./common").JsonValue;
|
|
287
288
|
}>;
|
|
288
289
|
sourceTypeId: string;
|
|
289
|
-
sourceId: string;
|
|
290
290
|
linkId: string;
|
|
291
291
|
targetTypeId: string;
|
|
292
292
|
targetId: string;
|
|
@@ -335,6 +335,7 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
335
335
|
before: import("./common").JsonValue;
|
|
336
336
|
}>]>>;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
+
sourceId: string;
|
|
338
339
|
propertyChanges: Record<string, {
|
|
339
340
|
operation: "created";
|
|
340
341
|
after: import("./common").JsonValue;
|
|
@@ -348,12 +349,12 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
348
349
|
before: import("./common").JsonValue;
|
|
349
350
|
}>;
|
|
350
351
|
sourceTypeId: string;
|
|
351
|
-
sourceId: string;
|
|
352
352
|
linkId: string;
|
|
353
353
|
targetTypeId: string;
|
|
354
354
|
targetId: string;
|
|
355
355
|
properties?: Record<string, import("./common").JsonValue> | undefined;
|
|
356
356
|
}, {
|
|
357
|
+
sourceId: string;
|
|
357
358
|
propertyChanges: Record<string, {
|
|
358
359
|
operation: "created";
|
|
359
360
|
after: import("./common").JsonValue;
|
|
@@ -367,7 +368,6 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
367
368
|
before: import("./common").JsonValue;
|
|
368
369
|
}>;
|
|
369
370
|
sourceTypeId: string;
|
|
370
|
-
sourceId: string;
|
|
371
371
|
linkId: string;
|
|
372
372
|
targetTypeId: string;
|
|
373
373
|
targetId: string;
|
|
@@ -415,6 +415,7 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
415
415
|
before: import("./common").JsonValue;
|
|
416
416
|
}>]>>;
|
|
417
417
|
}, "strip", z.ZodTypeAny, {
|
|
418
|
+
sourceId: string;
|
|
418
419
|
propertyChanges: Record<string, {
|
|
419
420
|
operation: "created";
|
|
420
421
|
after: import("./common").JsonValue;
|
|
@@ -428,11 +429,11 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
428
429
|
before: import("./common").JsonValue;
|
|
429
430
|
}>;
|
|
430
431
|
sourceTypeId: string;
|
|
431
|
-
sourceId: string;
|
|
432
432
|
linkId: string;
|
|
433
433
|
targetTypeId: string;
|
|
434
434
|
targetId: string;
|
|
435
435
|
}, {
|
|
436
|
+
sourceId: string;
|
|
436
437
|
propertyChanges: Record<string, {
|
|
437
438
|
operation: "created";
|
|
438
439
|
after: import("./common").JsonValue;
|
|
@@ -446,7 +447,6 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
446
447
|
before: import("./common").JsonValue;
|
|
447
448
|
}>;
|
|
448
449
|
sourceTypeId: string;
|
|
449
|
-
sourceId: string;
|
|
450
450
|
linkId: string;
|
|
451
451
|
targetTypeId: string;
|
|
452
452
|
targetId: string;
|
|
@@ -460,15 +460,15 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
460
460
|
at: z.ZodString;
|
|
461
461
|
}, "strip", z.ZodTypeAny, {
|
|
462
462
|
at: string;
|
|
463
|
-
objectTypeId: string;
|
|
464
463
|
value: import("./common").JsonValue;
|
|
464
|
+
objectTypeId: string;
|
|
465
465
|
objectId: string;
|
|
466
466
|
propertyId: string;
|
|
467
467
|
unit?: string | undefined;
|
|
468
468
|
}, {
|
|
469
469
|
at: string;
|
|
470
|
-
objectTypeId: string;
|
|
471
470
|
value: import("./common").JsonValue;
|
|
471
|
+
objectTypeId: string;
|
|
472
472
|
objectId: string;
|
|
473
473
|
propertyId: string;
|
|
474
474
|
unit?: string | undefined;
|
package/dist/schemas/events.d.ts
CHANGED
|
@@ -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<["
|
|
6
|
-
export declare const EventTypeSchema: z.ZodEnum<["object.created" | "
|
|
5
|
+
export declare const EventTopicSchema: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules")[]]>;
|
|
6
|
+
export declare const EventTypeSchema: z.ZodEnum<["object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed", ...("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed")[]]>;
|
|
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<["
|
|
110
|
-
type: z.ZodOptional<z.ZodEnum<["object.created" | "
|
|
109
|
+
topic: z.ZodOptional<z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules")[]]>>;
|
|
110
|
+
type: z.ZodOptional<z.ZodEnum<["object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed", ...("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed")[]]>>;
|
|
111
111
|
afterCursor: z.ZodOptional<z.ZodString>;
|
|
112
112
|
limit: z.ZodOptional<z.ZodString>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
+
type?: "object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | undefined;
|
|
114
115
|
limit?: string | undefined;
|
|
115
|
-
|
|
116
|
-
topic?: "objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets" | undefined;
|
|
116
|
+
topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules" | undefined;
|
|
117
117
|
afterCursor?: string | undefined;
|
|
118
118
|
}, {
|
|
119
|
+
type?: "object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | undefined;
|
|
119
120
|
limit?: string | undefined;
|
|
120
|
-
|
|
121
|
-
topic?: "objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets" | undefined;
|
|
121
|
+
topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules" | undefined;
|
|
122
122
|
afterCursor?: string | undefined;
|
|
123
123
|
}>;
|
|
124
124
|
type EventSchemaOption = z.ZodDiscriminatedUnionOption<"type">;
|
|
@@ -132,11 +132,11 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
132
132
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
133
133
|
id: z.ZodString;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
type: "user" | "serviceAccount" | "system";
|
|
136
135
|
id: string;
|
|
137
|
-
}, {
|
|
138
136
|
type: "user" | "serviceAccount" | "system";
|
|
137
|
+
}, {
|
|
139
138
|
id: string;
|
|
139
|
+
type: "user" | "serviceAccount" | "system";
|
|
140
140
|
}>>;
|
|
141
141
|
partitionKey: z.ZodString;
|
|
142
142
|
} & {
|
|
@@ -246,17 +246,17 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
246
246
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
247
247
|
} & {
|
|
248
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<["
|
|
249
|
+
topic: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules")[]]>;
|
|
250
250
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
251
251
|
}, "strip", z.ZodTypeAny, {
|
|
252
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
253
|
id: string;
|
|
254
|
+
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";
|
|
255
|
+
occurredAt: string;
|
|
255
256
|
payload: Record<string, unknown>;
|
|
256
|
-
topic: "
|
|
257
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
257
258
|
partitionKey: string;
|
|
258
259
|
schemaVersion: 1;
|
|
259
|
-
occurredAt: string;
|
|
260
260
|
cursor: string;
|
|
261
261
|
origin?: {
|
|
262
262
|
kind: "projection";
|
|
@@ -290,18 +290,18 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
290
290
|
causationId?: string | undefined;
|
|
291
291
|
idempotencyKey?: string | undefined;
|
|
292
292
|
actor?: {
|
|
293
|
-
type: "user" | "serviceAccount" | "system";
|
|
294
293
|
id: string;
|
|
294
|
+
type: "user" | "serviceAccount" | "system";
|
|
295
295
|
} | undefined;
|
|
296
296
|
}, {
|
|
297
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
298
|
id: string;
|
|
299
|
+
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";
|
|
300
|
+
occurredAt: string;
|
|
300
301
|
payload: Record<string, unknown>;
|
|
301
|
-
topic: "
|
|
302
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
302
303
|
partitionKey: string;
|
|
303
304
|
schemaVersion: 1;
|
|
304
|
-
occurredAt: string;
|
|
305
305
|
cursor: string;
|
|
306
306
|
origin?: {
|
|
307
307
|
kind: "projection";
|
|
@@ -335,8 +335,8 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
335
335
|
causationId?: string | undefined;
|
|
336
336
|
idempotencyKey?: string | undefined;
|
|
337
337
|
actor?: {
|
|
338
|
-
type: "user" | "serviceAccount" | "system";
|
|
339
338
|
id: string;
|
|
339
|
+
type: "user" | "serviceAccount" | "system";
|
|
340
340
|
} | undefined;
|
|
341
341
|
}>]>;
|
|
342
342
|
export declare const EventsResponseSchema: z.ZodObject<{
|
|
@@ -351,11 +351,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
351
351
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
352
352
|
id: z.ZodString;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
type: "user" | "serviceAccount" | "system";
|
|
355
354
|
id: string;
|
|
356
|
-
}, {
|
|
357
355
|
type: "user" | "serviceAccount" | "system";
|
|
356
|
+
}, {
|
|
358
357
|
id: string;
|
|
358
|
+
type: "user" | "serviceAccount" | "system";
|
|
359
359
|
}>>;
|
|
360
360
|
partitionKey: z.ZodString;
|
|
361
361
|
} & {
|
|
@@ -465,17 +465,17 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
465
465
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
466
466
|
} & {
|
|
467
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<["
|
|
468
|
+
topic: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules")[]]>;
|
|
469
469
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
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
472
|
id: string;
|
|
473
|
+
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";
|
|
474
|
+
occurredAt: string;
|
|
474
475
|
payload: Record<string, unknown>;
|
|
475
|
-
topic: "
|
|
476
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
476
477
|
partitionKey: string;
|
|
477
478
|
schemaVersion: 1;
|
|
478
|
-
occurredAt: string;
|
|
479
479
|
cursor: string;
|
|
480
480
|
origin?: {
|
|
481
481
|
kind: "projection";
|
|
@@ -509,18 +509,18 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
509
509
|
causationId?: string | undefined;
|
|
510
510
|
idempotencyKey?: string | undefined;
|
|
511
511
|
actor?: {
|
|
512
|
-
type: "user" | "serviceAccount" | "system";
|
|
513
512
|
id: string;
|
|
513
|
+
type: "user" | "serviceAccount" | "system";
|
|
514
514
|
} | undefined;
|
|
515
515
|
}, {
|
|
516
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
517
|
id: string;
|
|
518
|
+
type: "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
519
|
+
occurredAt: string;
|
|
519
520
|
payload: Record<string, unknown>;
|
|
520
|
-
topic: "
|
|
521
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
521
522
|
partitionKey: string;
|
|
522
523
|
schemaVersion: 1;
|
|
523
|
-
occurredAt: string;
|
|
524
524
|
cursor: string;
|
|
525
525
|
origin?: {
|
|
526
526
|
kind: "projection";
|
|
@@ -554,21 +554,20 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
554
554
|
causationId?: string | undefined;
|
|
555
555
|
idempotencyKey?: string | undefined;
|
|
556
556
|
actor?: {
|
|
557
|
-
type: "user" | "serviceAccount" | "system";
|
|
558
557
|
id: string;
|
|
558
|
+
type: "user" | "serviceAccount" | "system";
|
|
559
559
|
} | undefined;
|
|
560
560
|
}>]>, "many">;
|
|
561
561
|
}, "strip", z.ZodTypeAny, {
|
|
562
|
-
count: number;
|
|
563
562
|
events: ({
|
|
564
563
|
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
564
|
id: 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
|
+
occurredAt: string;
|
|
567
567
|
payload: Record<string, unknown>;
|
|
568
|
-
topic: "
|
|
568
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
569
569
|
partitionKey: string;
|
|
570
570
|
schemaVersion: 1;
|
|
571
|
-
occurredAt: string;
|
|
572
571
|
cursor: string;
|
|
573
572
|
origin?: {
|
|
574
573
|
kind: "projection";
|
|
@@ -602,24 +601,24 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
602
601
|
causationId?: string | undefined;
|
|
603
602
|
idempotencyKey?: string | undefined;
|
|
604
603
|
actor?: {
|
|
605
|
-
type: "user" | "serviceAccount" | "system";
|
|
606
604
|
id: string;
|
|
605
|
+
type: "user" | "serviceAccount" | "system";
|
|
607
606
|
} | undefined;
|
|
608
607
|
} | {
|
|
609
608
|
[x: string]: any;
|
|
610
609
|
type?: unknown;
|
|
611
610
|
})[];
|
|
612
|
-
}, {
|
|
613
611
|
count: number;
|
|
612
|
+
}, {
|
|
614
613
|
events: ({
|
|
615
614
|
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
615
|
id: 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
|
+
occurredAt: string;
|
|
618
618
|
payload: Record<string, unknown>;
|
|
619
|
-
topic: "
|
|
619
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
620
620
|
partitionKey: string;
|
|
621
621
|
schemaVersion: 1;
|
|
622
|
-
occurredAt: string;
|
|
623
622
|
cursor: string;
|
|
624
623
|
origin?: {
|
|
625
624
|
kind: "projection";
|
|
@@ -653,13 +652,14 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
653
652
|
causationId?: string | undefined;
|
|
654
653
|
idempotencyKey?: string | undefined;
|
|
655
654
|
actor?: {
|
|
656
|
-
type: "user" | "serviceAccount" | "system";
|
|
657
655
|
id: string;
|
|
656
|
+
type: "user" | "serviceAccount" | "system";
|
|
658
657
|
} | undefined;
|
|
659
658
|
} | {
|
|
660
659
|
[x: string]: any;
|
|
661
660
|
type?: unknown;
|
|
662
661
|
})[];
|
|
662
|
+
count: number;
|
|
663
663
|
}>;
|
|
664
664
|
export {};
|
|
665
665
|
//# sourceMappingURL=events.d.ts.map
|
package/dist/schemas/links.d.ts
CHANGED
|
@@ -68,20 +68,20 @@ export declare const ObjectLinkSchema: z.ZodObject<{
|
|
|
68
68
|
updatedAt: z.ZodString;
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
70
|
projectId: string;
|
|
71
|
+
sourceId: string;
|
|
71
72
|
createdAt: string;
|
|
72
73
|
updatedAt: string;
|
|
73
74
|
sourceTypeId: string;
|
|
74
|
-
sourceId: string;
|
|
75
75
|
linkId: string;
|
|
76
76
|
targetTypeId: string;
|
|
77
77
|
targetId: string;
|
|
78
78
|
properties?: Record<string, unknown> | undefined;
|
|
79
79
|
}, {
|
|
80
80
|
projectId: string;
|
|
81
|
+
sourceId: string;
|
|
81
82
|
createdAt: string;
|
|
82
83
|
updatedAt: string;
|
|
83
84
|
sourceTypeId: string;
|
|
84
|
-
sourceId: string;
|
|
85
85
|
linkId: string;
|
|
86
86
|
targetTypeId: string;
|
|
87
87
|
targetId: string;
|