@sixb/server 0.1.21 → 0.1.23
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/dist/artifacts/frame.d.ts +5 -0
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/auth/browser-origin.d.ts +5 -1
- package/dist/auth/browser-origin.d.ts.map +1 -1
- package/dist/auth/experience.d.ts +1 -0
- package/dist/auth/experience.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/responses.d.ts +1 -1
- package/dist/auth/responses.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +19 -3
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/index.js +10093 -7553
- package/dist/index.js.map +51 -39
- package/dist/models/display.d.ts +27 -0
- package/dist/models/display.d.ts.map +1 -1
- package/dist/openapi/components.d.ts +14 -0
- package/dist/openapi/components.d.ts.map +1 -0
- package/dist/openapi/tags.d.ts +14 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +5 -5
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agent-approval-gate.d.ts +27 -0
- package/dist/routes/agent-approval-gate.d.ts.map +1 -0
- package/dist/routes/agent-approvals.d.ts +599 -0
- package/dist/routes/agent-approvals.d.ts.map +1 -0
- package/dist/routes/agent-children.d.ts +318 -0
- package/dist/routes/agent-children.d.ts.map +1 -0
- package/dist/routes/agent-memory.d.ts +267 -0
- package/dist/routes/agent-memory.d.ts.map +1 -0
- package/dist/routes/agents.d.ts +999 -80
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/artifact-frames.d.ts +3 -3
- package/dist/routes/artifact-frames.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +790 -134
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +116 -10
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +50 -50
- package/dist/routes/connectors.d.ts +2 -2
- package/dist/routes/datasets.d.ts +20 -20
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/files.d.ts +14 -14
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +2 -2
- package/dist/routes/logs.d.ts +5 -5
- package/dist/routes/model-calls.d.ts +155 -0
- package/dist/routes/model-calls.d.ts.map +1 -0
- package/dist/routes/model-generations.d.ts +400 -0
- package/dist/routes/model-generations.d.ts.map +1 -0
- package/dist/routes/models.d.ts +434 -1
- package/dist/routes/models.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +71 -40
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +682 -0
- package/dist/routes/observed-agent-threads.d.ts.map +1 -0
- package/dist/routes/ontology.d.ts +66 -62
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +24 -24
- package/dist/routes/projections.d.ts +55 -55
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/share-grants.d.ts +9 -9
- package/dist/routes/syncs.d.ts +46 -46
- package/dist/routes/users.d.ts +117 -0
- package/dist/routes/users.d.ts.map +1 -0
- package/dist/routes/webhook-runs.d.ts +1 -1
- package/dist/routes/workflows.d.ts +118 -52
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +7 -2
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +6 -6
- package/dist/routes/ws/logs.d.ts +14 -14
- package/dist/schemas/actions.d.ts +15 -15
- package/dist/schemas/activity.d.ts +48 -28
- package/dist/schemas/activity.d.ts.map +1 -1
- package/dist/schemas/agent-approvals.d.ts +1091 -0
- package/dist/schemas/agent-approvals.d.ts.map +1 -0
- package/dist/schemas/agent-memory.d.ts +250 -0
- package/dist/schemas/agent-memory.d.ts.map +1 -0
- package/dist/schemas/agents.d.ts +5442 -369
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1290 -411
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/ai-limits.d.ts +10 -10
- package/dist/schemas/ai-usage.d.ts +12 -0
- package/dist/schemas/ai-usage.d.ts.map +1 -1
- package/dist/schemas/artifacts.d.ts +650 -98
- package/dist/schemas/artifacts.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +119 -46
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +22 -22
- package/dist/schemas/datasets.d.ts +98 -98
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +26 -26
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +24 -24
- package/dist/schemas/links.d.ts +2 -2
- package/dist/schemas/logs.d.ts +32 -32
- package/dist/schemas/models.d.ts +8889 -10
- package/dist/schemas/models.d.ts.map +1 -1
- package/dist/schemas/objects.d.ts +48 -12
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +127 -104
- package/dist/schemas/ontology.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +132 -132
- package/dist/schemas/projections.d.ts +314 -314
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/share-grants.d.ts +30 -30
- package/dist/schemas/syncs.d.ts +49 -49
- package/dist/schemas/users.d.ts +72 -0
- package/dist/schemas/users.d.ts.map +1 -0
- package/dist/schemas/webhook-runs.d.ts +6 -6
- package/dist/schemas/workflows.d.ts +701 -186
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/artifacts/frame.ts +6 -1
- package/src/auth/browser-origin.ts +8 -3
- package/src/auth/experience.ts +1 -1
- package/src/auth/guard.ts +2 -2
- package/src/auth/public-routes.ts +6 -0
- package/src/auth/responses.ts +7 -6
- package/src/auth/scope.ts +32 -3
- package/src/models/display.ts +61 -16
- package/src/openapi/components.ts +54 -0
- package/src/openapi/tags.ts +12 -0
- package/src/registerRoutes.ts +14 -0
- package/src/routes/agent-api-gateway.ts +115 -91
- package/src/routes/agent-approval-gate.ts +213 -0
- package/src/routes/agent-approvals.ts +299 -0
- package/src/routes/agent-children.ts +209 -0
- package/src/routes/agent-memory.ts +210 -0
- package/src/routes/agents.ts +363 -142
- package/src/routes/ai-accounting.ts +4 -0
- package/src/routes/artifact-frames.ts +14 -8
- package/src/routes/artifacts.ts +297 -22
- package/src/routes/auth.ts +306 -13
- package/src/routes/files.ts +6 -7
- package/src/routes/model-calls.ts +120 -0
- package/src/routes/model-generations.ts +245 -0
- package/src/routes/models.ts +116 -9
- package/src/routes/objects.ts +55 -61
- package/src/routes/observed-agent-threads.ts +253 -0
- package/src/routes/ontology.ts +1 -0
- package/src/routes/users.ts +73 -0
- package/src/routes/workflows.ts +6 -9
- package/src/routes/ws/agents.ts +10 -5
- package/src/schemas/activity.ts +2 -0
- package/src/schemas/agent-approvals.ts +129 -0
- package/src/schemas/agent-memory.ts +96 -0
- package/src/schemas/agents.ts +239 -0
- package/src/schemas/ai-accounting.ts +40 -4
- package/src/schemas/ai-usage.ts +10 -0
- package/src/schemas/artifacts.ts +91 -3
- package/src/schemas/auth.ts +25 -0
- package/src/schemas/models.ts +197 -1
- package/src/schemas/objects.ts +181 -0
- package/src/schemas/ontology.ts +1 -0
- package/src/schemas/users.ts +24 -0
- package/src/schemas/workflows.ts +2 -0
- package/src/server.ts +9 -10
- 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
|
}>;
|
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<["datasets" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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,
|
|
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"}
|
package/dist/schemas/files.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
90
|
+
expiresAt: string;
|
|
91
91
|
uploadId: string;
|
|
92
92
|
strategy: "direct-put";
|
|
93
93
|
method: "PUT";
|
|
94
|
-
|
|
94
|
+
url: string;
|
|
95
95
|
}, {
|
|
96
96
|
headers: Record<string, string>;
|
|
97
|
-
|
|
97
|
+
expiresAt: string;
|
|
98
98
|
uploadId: string;
|
|
99
99
|
strategy: "direct-put";
|
|
100
100
|
method: "PUT";
|
|
101
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
149
|
+
expiresAt: string;
|
|
150
150
|
uploadId: string;
|
|
151
151
|
strategy: "direct-put";
|
|
152
152
|
method: "PUT";
|
|
153
|
-
|
|
153
|
+
url: string;
|
|
154
154
|
}, {
|
|
155
155
|
headers: Record<string, string>;
|
|
156
|
-
|
|
156
|
+
expiresAt: string;
|
|
157
157
|
uploadId: string;
|
|
158
158
|
strategy: "direct-put";
|
|
159
159
|
method: "PUT";
|
|
160
|
-
|
|
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
|
-
|
|
188
|
+
expiresAt: string;
|
|
189
189
|
partNumber: number;
|
|
190
190
|
method: "PUT";
|
|
191
|
-
|
|
191
|
+
url: string;
|
|
192
192
|
}, {
|
|
193
193
|
headers: Record<string, string>;
|
|
194
|
-
|
|
194
|
+
expiresAt: string;
|
|
195
195
|
partNumber: number;
|
|
196
196
|
method: "PUT";
|
|
197
|
-
|
|
197
|
+
url: string;
|
|
198
198
|
}>;
|
|
199
199
|
export declare const FileUploadPartSchema: z.ZodObject<{
|
|
200
200
|
partNumber: z.ZodNumber;
|
package/dist/schemas/links.d.ts
CHANGED
|
@@ -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;
|