@sixb/server 0.1.2 → 0.1.4
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 +1 -1
- package/dist/auth/experience.d.ts +33 -0
- package/dist/auth/experience.d.ts.map +1 -0
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2122 -1391
- package/dist/index.js.map +24 -19
- package/dist/openapi/tags.d.ts +10 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/action-runs.d.ts +6 -6
- package/dist/routes/actions.d.ts +3 -3
- package/dist/routes/agents.d.ts +164 -77
- 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 +110 -53
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +56 -56
- package/dist/routes/connector-connections.d.ts +14 -14
- package/dist/routes/datasets.d.ts +12 -12
- package/dist/routes/events.d.ts +1 -1
- package/dist/routes/files.d.ts +8 -8
- package/dist/routes/links.d.ts +6 -57
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +3 -3
- package/dist/routes/models.d.ts +60 -0
- package/dist/routes/models.d.ts.map +1 -0
- package/dist/routes/objects.d.ts +51 -3
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +10 -10
- package/dist/routes/projections.d.ts +150 -136
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +38 -38
- package/dist/routes/telemetry.d.ts +7 -7
- package/dist/routes/webhook-runs.d.ts +2 -2
- package/dist/routes/workflows.d.ts +142 -57
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/schemas/actions.d.ts +16 -16
- package/dist/schemas/agents.d.ts +586 -142
- 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/auth.d.ts +96 -96
- package/dist/schemas/connectors.d.ts +35 -25
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +6 -6
- package/dist/schemas/links.d.ts +0 -41
- package/dist/schemas/links.d.ts.map +1 -1
- package/dist/schemas/logs.d.ts +22 -22
- package/dist/schemas/models.d.ts +50 -0
- package/dist/schemas/models.d.ts.map +1 -0
- package/dist/schemas/objects.d.ts +22 -0
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +20 -20
- package/dist/schemas/projections.d.ts +947 -806
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/status.d.ts +2 -2
- package/dist/schemas/syncs.d.ts +33 -33
- package/dist/schemas/webhook-runs.d.ts +12 -12
- package/dist/schemas/workflows.d.ts +833 -162
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +5 -0
- package/dist/server.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/auth/experience.ts +190 -0
- package/src/auth/public-routes.ts +7 -0
- package/src/index.ts +1 -0
- package/src/openapi/tags.ts +8 -0
- package/src/registerRoutes.ts +4 -0
- package/src/routes/agents.ts +22 -3
- package/src/routes/ai-accounting.ts +166 -0
- package/src/routes/auth.ts +188 -32
- package/src/routes/links.ts +2 -53
- package/src/routes/models.ts +31 -0
- package/src/routes/objects.ts +103 -0
- package/src/routes/projections.ts +18 -4
- package/src/routes/workflows.ts +16 -0
- package/src/schemas/agents.ts +19 -9
- package/src/schemas/ai-accounting.ts +182 -0
- package/src/schemas/connectors.ts +13 -3
- package/src/schemas/links.ts +0 -17
- package/src/schemas/models.ts +15 -0
- package/src/schemas/objects.ts +104 -0
- package/src/schemas/projections.ts +12 -3
- package/src/schemas/workflows.ts +8 -3
- package/src/server.ts +10 -0
|
@@ -77,12 +77,15 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
77
77
|
objectTypeId: string;
|
|
78
78
|
}>;
|
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
80
81
|
projectId: string;
|
|
81
82
|
id: string;
|
|
82
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
83
83
|
queuedAt: string;
|
|
84
|
-
attempt: number;
|
|
85
84
|
executionId: string;
|
|
85
|
+
attempt: number;
|
|
86
|
+
target: {
|
|
87
|
+
objectTypeId: string;
|
|
88
|
+
};
|
|
86
89
|
progress: {
|
|
87
90
|
sourceRowsRead: number;
|
|
88
91
|
sourceRowsSkipped: number;
|
|
@@ -100,19 +103,19 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
100
103
|
projectionKind: "object";
|
|
101
104
|
protocol: "replacement";
|
|
102
105
|
};
|
|
103
|
-
target: {
|
|
104
|
-
objectTypeId: string;
|
|
105
|
-
};
|
|
106
106
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
107
107
|
startedAt?: string | undefined;
|
|
108
108
|
finishedAt?: string | undefined;
|
|
109
109
|
}, {
|
|
110
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
110
111
|
projectId: string;
|
|
111
112
|
id: string;
|
|
112
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
113
113
|
queuedAt: string;
|
|
114
|
-
attempt: number;
|
|
115
114
|
executionId: string;
|
|
115
|
+
attempt: number;
|
|
116
|
+
target: {
|
|
117
|
+
objectTypeId: string;
|
|
118
|
+
};
|
|
116
119
|
progress: {
|
|
117
120
|
sourceRowsRead: number;
|
|
118
121
|
sourceRowsSkipped: number;
|
|
@@ -130,9 +133,6 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
130
133
|
projectionKind: "object";
|
|
131
134
|
protocol: "replacement";
|
|
132
135
|
};
|
|
133
|
-
target: {
|
|
134
|
-
objectTypeId: string;
|
|
135
|
-
};
|
|
136
136
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
137
137
|
startedAt?: string | undefined;
|
|
138
138
|
finishedAt?: string | undefined;
|
|
@@ -214,12 +214,16 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
214
214
|
sourceObjectTypeId: string;
|
|
215
215
|
}>;
|
|
216
216
|
}, "strip", z.ZodTypeAny, {
|
|
217
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
217
218
|
projectId: string;
|
|
218
219
|
id: string;
|
|
219
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
220
220
|
queuedAt: string;
|
|
221
|
-
attempt: number;
|
|
222
221
|
executionId: string;
|
|
222
|
+
attempt: number;
|
|
223
|
+
target: {
|
|
224
|
+
targetObjectTypeId: string;
|
|
225
|
+
sourceObjectTypeId: string;
|
|
226
|
+
};
|
|
223
227
|
progress: {
|
|
224
228
|
sourceRowsRead: number;
|
|
225
229
|
sourceRowsSkipped: number;
|
|
@@ -237,20 +241,20 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
237
241
|
projectionKind: "link";
|
|
238
242
|
protocol: "replacement";
|
|
239
243
|
};
|
|
240
|
-
target: {
|
|
241
|
-
targetObjectTypeId: string;
|
|
242
|
-
sourceObjectTypeId: string;
|
|
243
|
-
};
|
|
244
244
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
245
245
|
startedAt?: string | undefined;
|
|
246
246
|
finishedAt?: string | undefined;
|
|
247
247
|
}, {
|
|
248
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
248
249
|
projectId: string;
|
|
249
250
|
id: string;
|
|
250
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
251
251
|
queuedAt: string;
|
|
252
|
-
attempt: number;
|
|
253
252
|
executionId: string;
|
|
253
|
+
attempt: number;
|
|
254
|
+
target: {
|
|
255
|
+
targetObjectTypeId: string;
|
|
256
|
+
sourceObjectTypeId: string;
|
|
257
|
+
};
|
|
254
258
|
progress: {
|
|
255
259
|
sourceRowsRead: number;
|
|
256
260
|
sourceRowsSkipped: number;
|
|
@@ -268,10 +272,6 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
268
272
|
projectionKind: "link";
|
|
269
273
|
protocol: "replacement";
|
|
270
274
|
};
|
|
271
|
-
target: {
|
|
272
|
-
targetObjectTypeId: string;
|
|
273
|
-
sourceObjectTypeId: string;
|
|
274
|
-
};
|
|
275
275
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
276
276
|
startedAt?: string | undefined;
|
|
277
277
|
finishedAt?: string | undefined;
|
|
@@ -350,12 +350,15 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
350
350
|
objectTypeId: string;
|
|
351
351
|
}>;
|
|
352
352
|
}, "strip", z.ZodTypeAny, {
|
|
353
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
353
354
|
projectId: string;
|
|
354
355
|
id: string;
|
|
355
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
356
356
|
queuedAt: string;
|
|
357
|
-
attempt: number;
|
|
358
357
|
executionId: string;
|
|
358
|
+
attempt: number;
|
|
359
|
+
target: {
|
|
360
|
+
objectTypeId: string;
|
|
361
|
+
};
|
|
359
362
|
progress: {
|
|
360
363
|
sourceRowsRead: number;
|
|
361
364
|
sourceRowsSkipped: number;
|
|
@@ -373,19 +376,19 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
373
376
|
projectionKind: "telemetry";
|
|
374
377
|
protocol: "telemetry";
|
|
375
378
|
};
|
|
376
|
-
target: {
|
|
377
|
-
objectTypeId: string;
|
|
378
|
-
};
|
|
379
379
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
380
380
|
startedAt?: string | undefined;
|
|
381
381
|
finishedAt?: string | undefined;
|
|
382
382
|
}, {
|
|
383
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
383
384
|
projectId: string;
|
|
384
385
|
id: string;
|
|
385
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
386
386
|
queuedAt: string;
|
|
387
|
-
attempt: number;
|
|
388
387
|
executionId: string;
|
|
388
|
+
attempt: number;
|
|
389
|
+
target: {
|
|
390
|
+
objectTypeId: string;
|
|
391
|
+
};
|
|
389
392
|
progress: {
|
|
390
393
|
sourceRowsRead: number;
|
|
391
394
|
sourceRowsSkipped: number;
|
|
@@ -403,9 +406,6 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
403
406
|
projectionKind: "telemetry";
|
|
404
407
|
protocol: "telemetry";
|
|
405
408
|
};
|
|
406
|
-
target: {
|
|
407
|
-
objectTypeId: string;
|
|
408
|
-
};
|
|
409
409
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
410
410
|
startedAt?: string | undefined;
|
|
411
411
|
finishedAt?: string | undefined;
|
|
@@ -426,6 +426,22 @@ export declare const ForeignKeyDescriptorSchema: z.ZodObject<{
|
|
|
426
426
|
sourcePropertyId?: string | undefined;
|
|
427
427
|
sourceField?: string | undefined;
|
|
428
428
|
}>;
|
|
429
|
+
export declare const SourceEditConflictResolutionSchema: z.ZodUnion<[z.ZodObject<{
|
|
430
|
+
strategy: z.ZodLiteral<"editsWin">;
|
|
431
|
+
}, "strip", z.ZodTypeAny, {
|
|
432
|
+
strategy: "editsWin";
|
|
433
|
+
}, {
|
|
434
|
+
strategy: "editsWin";
|
|
435
|
+
}>, z.ZodObject<{
|
|
436
|
+
strategy: z.ZodLiteral<"mostRecent">;
|
|
437
|
+
sourceTimestamp: z.ZodString;
|
|
438
|
+
}, "strip", z.ZodTypeAny, {
|
|
439
|
+
strategy: "mostRecent";
|
|
440
|
+
sourceTimestamp: string;
|
|
441
|
+
}, {
|
|
442
|
+
strategy: "mostRecent";
|
|
443
|
+
sourceTimestamp: string;
|
|
444
|
+
}>]>;
|
|
429
445
|
export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
430
446
|
_tag: z.ZodLiteral<"ObjectProjectionDefinition">;
|
|
431
447
|
id: z.ZodString;
|
|
@@ -448,6 +464,22 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
448
464
|
sourcePropertyId?: string | undefined;
|
|
449
465
|
sourceField?: string | undefined;
|
|
450
466
|
}>>;
|
|
467
|
+
conflictResolution: z.ZodUnion<[z.ZodObject<{
|
|
468
|
+
strategy: z.ZodLiteral<"editsWin">;
|
|
469
|
+
}, "strip", z.ZodTypeAny, {
|
|
470
|
+
strategy: "editsWin";
|
|
471
|
+
}, {
|
|
472
|
+
strategy: "editsWin";
|
|
473
|
+
}>, z.ZodObject<{
|
|
474
|
+
strategy: z.ZodLiteral<"mostRecent">;
|
|
475
|
+
sourceTimestamp: z.ZodString;
|
|
476
|
+
}, "strip", z.ZodTypeAny, {
|
|
477
|
+
strategy: "mostRecent";
|
|
478
|
+
sourceTimestamp: string;
|
|
479
|
+
}, {
|
|
480
|
+
strategy: "mostRecent";
|
|
481
|
+
sourceTimestamp: string;
|
|
482
|
+
}>]>;
|
|
451
483
|
latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
452
484
|
id: z.ZodString;
|
|
453
485
|
projectId: z.ZodString;
|
|
@@ -523,12 +555,15 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
523
555
|
objectTypeId: string;
|
|
524
556
|
}>;
|
|
525
557
|
}, "strip", z.ZodTypeAny, {
|
|
558
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
526
559
|
projectId: string;
|
|
527
560
|
id: string;
|
|
528
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
529
561
|
queuedAt: string;
|
|
530
|
-
attempt: number;
|
|
531
562
|
executionId: string;
|
|
563
|
+
attempt: number;
|
|
564
|
+
target: {
|
|
565
|
+
objectTypeId: string;
|
|
566
|
+
};
|
|
532
567
|
progress: {
|
|
533
568
|
sourceRowsRead: number;
|
|
534
569
|
sourceRowsSkipped: number;
|
|
@@ -546,19 +581,19 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
546
581
|
projectionKind: "object";
|
|
547
582
|
protocol: "replacement";
|
|
548
583
|
};
|
|
549
|
-
target: {
|
|
550
|
-
objectTypeId: string;
|
|
551
|
-
};
|
|
552
584
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
553
585
|
startedAt?: string | undefined;
|
|
554
586
|
finishedAt?: string | undefined;
|
|
555
587
|
}, {
|
|
588
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
556
589
|
projectId: string;
|
|
557
590
|
id: string;
|
|
558
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
559
591
|
queuedAt: string;
|
|
560
|
-
attempt: number;
|
|
561
592
|
executionId: string;
|
|
593
|
+
attempt: number;
|
|
594
|
+
target: {
|
|
595
|
+
objectTypeId: string;
|
|
596
|
+
};
|
|
562
597
|
progress: {
|
|
563
598
|
sourceRowsRead: number;
|
|
564
599
|
sourceRowsSkipped: number;
|
|
@@ -576,9 +611,6 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
576
611
|
projectionKind: "object";
|
|
577
612
|
protocol: "replacement";
|
|
578
613
|
};
|
|
579
|
-
target: {
|
|
580
|
-
objectTypeId: string;
|
|
581
|
-
};
|
|
582
614
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
583
615
|
startedAt?: string | undefined;
|
|
584
616
|
finishedAt?: string | undefined;
|
|
@@ -660,12 +692,16 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
660
692
|
sourceObjectTypeId: string;
|
|
661
693
|
}>;
|
|
662
694
|
}, "strip", z.ZodTypeAny, {
|
|
695
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
663
696
|
projectId: string;
|
|
664
697
|
id: string;
|
|
665
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
666
698
|
queuedAt: string;
|
|
667
|
-
attempt: number;
|
|
668
699
|
executionId: string;
|
|
700
|
+
attempt: number;
|
|
701
|
+
target: {
|
|
702
|
+
targetObjectTypeId: string;
|
|
703
|
+
sourceObjectTypeId: string;
|
|
704
|
+
};
|
|
669
705
|
progress: {
|
|
670
706
|
sourceRowsRead: number;
|
|
671
707
|
sourceRowsSkipped: number;
|
|
@@ -683,20 +719,20 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
683
719
|
projectionKind: "link";
|
|
684
720
|
protocol: "replacement";
|
|
685
721
|
};
|
|
686
|
-
target: {
|
|
687
|
-
targetObjectTypeId: string;
|
|
688
|
-
sourceObjectTypeId: string;
|
|
689
|
-
};
|
|
690
722
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
691
723
|
startedAt?: string | undefined;
|
|
692
724
|
finishedAt?: string | undefined;
|
|
693
725
|
}, {
|
|
726
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
694
727
|
projectId: string;
|
|
695
728
|
id: string;
|
|
696
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
697
729
|
queuedAt: string;
|
|
698
|
-
attempt: number;
|
|
699
730
|
executionId: string;
|
|
731
|
+
attempt: number;
|
|
732
|
+
target: {
|
|
733
|
+
targetObjectTypeId: string;
|
|
734
|
+
sourceObjectTypeId: string;
|
|
735
|
+
};
|
|
700
736
|
progress: {
|
|
701
737
|
sourceRowsRead: number;
|
|
702
738
|
sourceRowsSkipped: number;
|
|
@@ -714,10 +750,6 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
714
750
|
projectionKind: "link";
|
|
715
751
|
protocol: "replacement";
|
|
716
752
|
};
|
|
717
|
-
target: {
|
|
718
|
-
targetObjectTypeId: string;
|
|
719
|
-
sourceObjectTypeId: string;
|
|
720
|
-
};
|
|
721
753
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
722
754
|
startedAt?: string | undefined;
|
|
723
755
|
finishedAt?: string | undefined;
|
|
@@ -796,12 +828,15 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
796
828
|
objectTypeId: string;
|
|
797
829
|
}>;
|
|
798
830
|
}, "strip", z.ZodTypeAny, {
|
|
831
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
799
832
|
projectId: string;
|
|
800
833
|
id: string;
|
|
801
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
802
834
|
queuedAt: string;
|
|
803
|
-
attempt: number;
|
|
804
835
|
executionId: string;
|
|
836
|
+
attempt: number;
|
|
837
|
+
target: {
|
|
838
|
+
objectTypeId: string;
|
|
839
|
+
};
|
|
805
840
|
progress: {
|
|
806
841
|
sourceRowsRead: number;
|
|
807
842
|
sourceRowsSkipped: number;
|
|
@@ -819,19 +854,19 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
819
854
|
projectionKind: "telemetry";
|
|
820
855
|
protocol: "telemetry";
|
|
821
856
|
};
|
|
822
|
-
target: {
|
|
823
|
-
objectTypeId: string;
|
|
824
|
-
};
|
|
825
857
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
826
858
|
startedAt?: string | undefined;
|
|
827
859
|
finishedAt?: string | undefined;
|
|
828
860
|
}, {
|
|
861
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
829
862
|
projectId: string;
|
|
830
863
|
id: string;
|
|
831
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
832
864
|
queuedAt: string;
|
|
833
|
-
attempt: number;
|
|
834
865
|
executionId: string;
|
|
866
|
+
attempt: number;
|
|
867
|
+
target: {
|
|
868
|
+
objectTypeId: string;
|
|
869
|
+
};
|
|
835
870
|
progress: {
|
|
836
871
|
sourceRowsRead: number;
|
|
837
872
|
sourceRowsSkipped: number;
|
|
@@ -849,9 +884,6 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
849
884
|
projectionKind: "telemetry";
|
|
850
885
|
protocol: "telemetry";
|
|
851
886
|
};
|
|
852
|
-
target: {
|
|
853
|
-
objectTypeId: string;
|
|
854
|
-
};
|
|
855
887
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
856
888
|
startedAt?: string | undefined;
|
|
857
889
|
finishedAt?: string | undefined;
|
|
@@ -868,12 +900,15 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
868
900
|
objectTypeId: string;
|
|
869
901
|
datasetId: string;
|
|
870
902
|
latestRun: {
|
|
903
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
871
904
|
projectId: string;
|
|
872
905
|
id: string;
|
|
873
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
874
906
|
queuedAt: string;
|
|
875
|
-
attempt: number;
|
|
876
907
|
executionId: string;
|
|
908
|
+
attempt: number;
|
|
909
|
+
target: {
|
|
910
|
+
objectTypeId: string;
|
|
911
|
+
};
|
|
877
912
|
progress: {
|
|
878
913
|
sourceRowsRead: number;
|
|
879
914
|
sourceRowsSkipped: number;
|
|
@@ -891,19 +926,20 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
891
926
|
projectionKind: "object";
|
|
892
927
|
protocol: "replacement";
|
|
893
928
|
};
|
|
894
|
-
target: {
|
|
895
|
-
objectTypeId: string;
|
|
896
|
-
};
|
|
897
929
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
898
930
|
startedAt?: string | undefined;
|
|
899
931
|
finishedAt?: string | undefined;
|
|
900
932
|
} | {
|
|
933
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
901
934
|
projectId: string;
|
|
902
935
|
id: string;
|
|
903
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
904
936
|
queuedAt: string;
|
|
905
|
-
attempt: number;
|
|
906
937
|
executionId: string;
|
|
938
|
+
attempt: number;
|
|
939
|
+
target: {
|
|
940
|
+
targetObjectTypeId: string;
|
|
941
|
+
sourceObjectTypeId: string;
|
|
942
|
+
};
|
|
907
943
|
progress: {
|
|
908
944
|
sourceRowsRead: number;
|
|
909
945
|
sourceRowsSkipped: number;
|
|
@@ -921,20 +957,19 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
921
957
|
projectionKind: "link";
|
|
922
958
|
protocol: "replacement";
|
|
923
959
|
};
|
|
924
|
-
target: {
|
|
925
|
-
targetObjectTypeId: string;
|
|
926
|
-
sourceObjectTypeId: string;
|
|
927
|
-
};
|
|
928
960
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
929
961
|
startedAt?: string | undefined;
|
|
930
962
|
finishedAt?: string | undefined;
|
|
931
963
|
} | {
|
|
964
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
932
965
|
projectId: string;
|
|
933
966
|
id: string;
|
|
934
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
935
967
|
queuedAt: string;
|
|
936
|
-
attempt: number;
|
|
937
968
|
executionId: string;
|
|
969
|
+
attempt: number;
|
|
970
|
+
target: {
|
|
971
|
+
objectTypeId: string;
|
|
972
|
+
};
|
|
938
973
|
progress: {
|
|
939
974
|
sourceRowsRead: number;
|
|
940
975
|
sourceRowsSkipped: number;
|
|
@@ -952,14 +987,17 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
952
987
|
projectionKind: "telemetry";
|
|
953
988
|
protocol: "telemetry";
|
|
954
989
|
};
|
|
955
|
-
target: {
|
|
956
|
-
objectTypeId: string;
|
|
957
|
-
};
|
|
958
990
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
959
991
|
startedAt?: string | undefined;
|
|
960
992
|
finishedAt?: string | undefined;
|
|
961
993
|
} | null;
|
|
962
994
|
_tag: "ObjectProjectionDefinition";
|
|
995
|
+
conflictResolution: {
|
|
996
|
+
strategy: "editsWin";
|
|
997
|
+
} | {
|
|
998
|
+
strategy: "mostRecent";
|
|
999
|
+
sourceTimestamp: string;
|
|
1000
|
+
};
|
|
963
1001
|
}, {
|
|
964
1002
|
id: string;
|
|
965
1003
|
links: Record<string, {
|
|
@@ -972,12 +1010,15 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
972
1010
|
objectTypeId: string;
|
|
973
1011
|
datasetId: string;
|
|
974
1012
|
latestRun: {
|
|
1013
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
975
1014
|
projectId: string;
|
|
976
1015
|
id: string;
|
|
977
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
978
1016
|
queuedAt: string;
|
|
979
|
-
attempt: number;
|
|
980
1017
|
executionId: string;
|
|
1018
|
+
attempt: number;
|
|
1019
|
+
target: {
|
|
1020
|
+
objectTypeId: string;
|
|
1021
|
+
};
|
|
981
1022
|
progress: {
|
|
982
1023
|
sourceRowsRead: number;
|
|
983
1024
|
sourceRowsSkipped: number;
|
|
@@ -995,19 +1036,20 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
995
1036
|
projectionKind: "object";
|
|
996
1037
|
protocol: "replacement";
|
|
997
1038
|
};
|
|
998
|
-
target: {
|
|
999
|
-
objectTypeId: string;
|
|
1000
|
-
};
|
|
1001
1039
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1002
1040
|
startedAt?: string | undefined;
|
|
1003
1041
|
finishedAt?: string | undefined;
|
|
1004
1042
|
} | {
|
|
1043
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1005
1044
|
projectId: string;
|
|
1006
1045
|
id: string;
|
|
1007
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1008
1046
|
queuedAt: string;
|
|
1009
|
-
attempt: number;
|
|
1010
1047
|
executionId: string;
|
|
1048
|
+
attempt: number;
|
|
1049
|
+
target: {
|
|
1050
|
+
targetObjectTypeId: string;
|
|
1051
|
+
sourceObjectTypeId: string;
|
|
1052
|
+
};
|
|
1011
1053
|
progress: {
|
|
1012
1054
|
sourceRowsRead: number;
|
|
1013
1055
|
sourceRowsSkipped: number;
|
|
@@ -1025,20 +1067,19 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
1025
1067
|
projectionKind: "link";
|
|
1026
1068
|
protocol: "replacement";
|
|
1027
1069
|
};
|
|
1028
|
-
target: {
|
|
1029
|
-
targetObjectTypeId: string;
|
|
1030
|
-
sourceObjectTypeId: string;
|
|
1031
|
-
};
|
|
1032
1070
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1033
1071
|
startedAt?: string | undefined;
|
|
1034
1072
|
finishedAt?: string | undefined;
|
|
1035
1073
|
} | {
|
|
1074
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1036
1075
|
projectId: string;
|
|
1037
1076
|
id: string;
|
|
1038
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1039
1077
|
queuedAt: string;
|
|
1040
|
-
attempt: number;
|
|
1041
1078
|
executionId: string;
|
|
1079
|
+
attempt: number;
|
|
1080
|
+
target: {
|
|
1081
|
+
objectTypeId: string;
|
|
1082
|
+
};
|
|
1042
1083
|
progress: {
|
|
1043
1084
|
sourceRowsRead: number;
|
|
1044
1085
|
sourceRowsSkipped: number;
|
|
@@ -1056,14 +1097,17 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
1056
1097
|
projectionKind: "telemetry";
|
|
1057
1098
|
protocol: "telemetry";
|
|
1058
1099
|
};
|
|
1059
|
-
target: {
|
|
1060
|
-
objectTypeId: string;
|
|
1061
|
-
};
|
|
1062
1100
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1063
1101
|
startedAt?: string | undefined;
|
|
1064
1102
|
finishedAt?: string | undefined;
|
|
1065
1103
|
} | null;
|
|
1066
1104
|
_tag: "ObjectProjectionDefinition";
|
|
1105
|
+
conflictResolution: {
|
|
1106
|
+
strategy: "editsWin";
|
|
1107
|
+
} | {
|
|
1108
|
+
strategy: "mostRecent";
|
|
1109
|
+
sourceTimestamp: string;
|
|
1110
|
+
};
|
|
1067
1111
|
}>;
|
|
1068
1112
|
export declare const LinkProjectionSchema: z.ZodObject<{
|
|
1069
1113
|
_tag: z.ZodLiteral<"LinkProjectionDefinition">;
|
|
@@ -1149,12 +1193,15 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1149
1193
|
objectTypeId: string;
|
|
1150
1194
|
}>;
|
|
1151
1195
|
}, "strip", z.ZodTypeAny, {
|
|
1196
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1152
1197
|
projectId: string;
|
|
1153
1198
|
id: string;
|
|
1154
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1155
1199
|
queuedAt: string;
|
|
1156
|
-
attempt: number;
|
|
1157
1200
|
executionId: string;
|
|
1201
|
+
attempt: number;
|
|
1202
|
+
target: {
|
|
1203
|
+
objectTypeId: string;
|
|
1204
|
+
};
|
|
1158
1205
|
progress: {
|
|
1159
1206
|
sourceRowsRead: number;
|
|
1160
1207
|
sourceRowsSkipped: number;
|
|
@@ -1172,19 +1219,19 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1172
1219
|
projectionKind: "object";
|
|
1173
1220
|
protocol: "replacement";
|
|
1174
1221
|
};
|
|
1175
|
-
target: {
|
|
1176
|
-
objectTypeId: string;
|
|
1177
|
-
};
|
|
1178
1222
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1179
1223
|
startedAt?: string | undefined;
|
|
1180
1224
|
finishedAt?: string | undefined;
|
|
1181
1225
|
}, {
|
|
1226
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1182
1227
|
projectId: string;
|
|
1183
1228
|
id: string;
|
|
1184
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1185
1229
|
queuedAt: string;
|
|
1186
|
-
attempt: number;
|
|
1187
1230
|
executionId: string;
|
|
1231
|
+
attempt: number;
|
|
1232
|
+
target: {
|
|
1233
|
+
objectTypeId: string;
|
|
1234
|
+
};
|
|
1188
1235
|
progress: {
|
|
1189
1236
|
sourceRowsRead: number;
|
|
1190
1237
|
sourceRowsSkipped: number;
|
|
@@ -1202,9 +1249,6 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1202
1249
|
projectionKind: "object";
|
|
1203
1250
|
protocol: "replacement";
|
|
1204
1251
|
};
|
|
1205
|
-
target: {
|
|
1206
|
-
objectTypeId: string;
|
|
1207
|
-
};
|
|
1208
1252
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1209
1253
|
startedAt?: string | undefined;
|
|
1210
1254
|
finishedAt?: string | undefined;
|
|
@@ -1286,12 +1330,16 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1286
1330
|
sourceObjectTypeId: string;
|
|
1287
1331
|
}>;
|
|
1288
1332
|
}, "strip", z.ZodTypeAny, {
|
|
1333
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1289
1334
|
projectId: string;
|
|
1290
1335
|
id: string;
|
|
1291
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1292
1336
|
queuedAt: string;
|
|
1293
|
-
attempt: number;
|
|
1294
1337
|
executionId: string;
|
|
1338
|
+
attempt: number;
|
|
1339
|
+
target: {
|
|
1340
|
+
targetObjectTypeId: string;
|
|
1341
|
+
sourceObjectTypeId: string;
|
|
1342
|
+
};
|
|
1295
1343
|
progress: {
|
|
1296
1344
|
sourceRowsRead: number;
|
|
1297
1345
|
sourceRowsSkipped: number;
|
|
@@ -1309,20 +1357,20 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1309
1357
|
projectionKind: "link";
|
|
1310
1358
|
protocol: "replacement";
|
|
1311
1359
|
};
|
|
1312
|
-
target: {
|
|
1313
|
-
targetObjectTypeId: string;
|
|
1314
|
-
sourceObjectTypeId: string;
|
|
1315
|
-
};
|
|
1316
1360
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1317
1361
|
startedAt?: string | undefined;
|
|
1318
1362
|
finishedAt?: string | undefined;
|
|
1319
1363
|
}, {
|
|
1364
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1320
1365
|
projectId: string;
|
|
1321
1366
|
id: string;
|
|
1322
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1323
1367
|
queuedAt: string;
|
|
1324
|
-
attempt: number;
|
|
1325
1368
|
executionId: string;
|
|
1369
|
+
attempt: number;
|
|
1370
|
+
target: {
|
|
1371
|
+
targetObjectTypeId: string;
|
|
1372
|
+
sourceObjectTypeId: string;
|
|
1373
|
+
};
|
|
1326
1374
|
progress: {
|
|
1327
1375
|
sourceRowsRead: number;
|
|
1328
1376
|
sourceRowsSkipped: number;
|
|
@@ -1340,10 +1388,6 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1340
1388
|
projectionKind: "link";
|
|
1341
1389
|
protocol: "replacement";
|
|
1342
1390
|
};
|
|
1343
|
-
target: {
|
|
1344
|
-
targetObjectTypeId: string;
|
|
1345
|
-
sourceObjectTypeId: string;
|
|
1346
|
-
};
|
|
1347
1391
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1348
1392
|
startedAt?: string | undefined;
|
|
1349
1393
|
finishedAt?: string | undefined;
|
|
@@ -1422,14 +1466,17 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1422
1466
|
objectTypeId: string;
|
|
1423
1467
|
}>;
|
|
1424
1468
|
}, "strip", z.ZodTypeAny, {
|
|
1469
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1425
1470
|
projectId: string;
|
|
1426
1471
|
id: string;
|
|
1427
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1428
1472
|
queuedAt: string;
|
|
1429
|
-
attempt: number;
|
|
1430
1473
|
executionId: string;
|
|
1431
|
-
|
|
1432
|
-
|
|
1474
|
+
attempt: number;
|
|
1475
|
+
target: {
|
|
1476
|
+
objectTypeId: string;
|
|
1477
|
+
};
|
|
1478
|
+
progress: {
|
|
1479
|
+
sourceRowsRead: number;
|
|
1433
1480
|
sourceRowsSkipped: number;
|
|
1434
1481
|
};
|
|
1435
1482
|
identity: {
|
|
@@ -1445,19 +1492,19 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1445
1492
|
projectionKind: "telemetry";
|
|
1446
1493
|
protocol: "telemetry";
|
|
1447
1494
|
};
|
|
1448
|
-
target: {
|
|
1449
|
-
objectTypeId: string;
|
|
1450
|
-
};
|
|
1451
1495
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1452
1496
|
startedAt?: string | undefined;
|
|
1453
1497
|
finishedAt?: string | undefined;
|
|
1454
1498
|
}, {
|
|
1499
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1455
1500
|
projectId: string;
|
|
1456
1501
|
id: string;
|
|
1457
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1458
1502
|
queuedAt: string;
|
|
1459
|
-
attempt: number;
|
|
1460
1503
|
executionId: string;
|
|
1504
|
+
attempt: number;
|
|
1505
|
+
target: {
|
|
1506
|
+
objectTypeId: string;
|
|
1507
|
+
};
|
|
1461
1508
|
progress: {
|
|
1462
1509
|
sourceRowsRead: number;
|
|
1463
1510
|
sourceRowsSkipped: number;
|
|
@@ -1475,9 +1522,6 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1475
1522
|
projectionKind: "telemetry";
|
|
1476
1523
|
protocol: "telemetry";
|
|
1477
1524
|
};
|
|
1478
|
-
target: {
|
|
1479
|
-
objectTypeId: string;
|
|
1480
|
-
};
|
|
1481
1525
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1482
1526
|
startedAt?: string | undefined;
|
|
1483
1527
|
finishedAt?: string | undefined;
|
|
@@ -1489,12 +1533,15 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1489
1533
|
linkId: string;
|
|
1490
1534
|
sourceObjectTypeId: string;
|
|
1491
1535
|
latestRun: {
|
|
1536
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1492
1537
|
projectId: string;
|
|
1493
1538
|
id: string;
|
|
1494
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1495
1539
|
queuedAt: string;
|
|
1496
|
-
attempt: number;
|
|
1497
1540
|
executionId: string;
|
|
1541
|
+
attempt: number;
|
|
1542
|
+
target: {
|
|
1543
|
+
objectTypeId: string;
|
|
1544
|
+
};
|
|
1498
1545
|
progress: {
|
|
1499
1546
|
sourceRowsRead: number;
|
|
1500
1547
|
sourceRowsSkipped: number;
|
|
@@ -1512,19 +1559,20 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1512
1559
|
projectionKind: "object";
|
|
1513
1560
|
protocol: "replacement";
|
|
1514
1561
|
};
|
|
1515
|
-
target: {
|
|
1516
|
-
objectTypeId: string;
|
|
1517
|
-
};
|
|
1518
1562
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1519
1563
|
startedAt?: string | undefined;
|
|
1520
1564
|
finishedAt?: string | undefined;
|
|
1521
1565
|
} | {
|
|
1566
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1522
1567
|
projectId: string;
|
|
1523
1568
|
id: string;
|
|
1524
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1525
1569
|
queuedAt: string;
|
|
1526
|
-
attempt: number;
|
|
1527
1570
|
executionId: string;
|
|
1571
|
+
attempt: number;
|
|
1572
|
+
target: {
|
|
1573
|
+
targetObjectTypeId: string;
|
|
1574
|
+
sourceObjectTypeId: string;
|
|
1575
|
+
};
|
|
1528
1576
|
progress: {
|
|
1529
1577
|
sourceRowsRead: number;
|
|
1530
1578
|
sourceRowsSkipped: number;
|
|
@@ -1542,20 +1590,19 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1542
1590
|
projectionKind: "link";
|
|
1543
1591
|
protocol: "replacement";
|
|
1544
1592
|
};
|
|
1545
|
-
target: {
|
|
1546
|
-
targetObjectTypeId: string;
|
|
1547
|
-
sourceObjectTypeId: string;
|
|
1548
|
-
};
|
|
1549
1593
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1550
1594
|
startedAt?: string | undefined;
|
|
1551
1595
|
finishedAt?: string | undefined;
|
|
1552
1596
|
} | {
|
|
1597
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1553
1598
|
projectId: string;
|
|
1554
1599
|
id: string;
|
|
1555
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1556
1600
|
queuedAt: string;
|
|
1557
|
-
attempt: number;
|
|
1558
1601
|
executionId: string;
|
|
1602
|
+
attempt: number;
|
|
1603
|
+
target: {
|
|
1604
|
+
objectTypeId: string;
|
|
1605
|
+
};
|
|
1559
1606
|
progress: {
|
|
1560
1607
|
sourceRowsRead: number;
|
|
1561
1608
|
sourceRowsSkipped: number;
|
|
@@ -1573,9 +1620,6 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1573
1620
|
projectionKind: "telemetry";
|
|
1574
1621
|
protocol: "telemetry";
|
|
1575
1622
|
};
|
|
1576
|
-
target: {
|
|
1577
|
-
objectTypeId: string;
|
|
1578
|
-
};
|
|
1579
1623
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1580
1624
|
startedAt?: string | undefined;
|
|
1581
1625
|
finishedAt?: string | undefined;
|
|
@@ -1590,12 +1634,15 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1590
1634
|
linkId: string;
|
|
1591
1635
|
sourceObjectTypeId: string;
|
|
1592
1636
|
latestRun: {
|
|
1637
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1593
1638
|
projectId: string;
|
|
1594
1639
|
id: string;
|
|
1595
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1596
1640
|
queuedAt: string;
|
|
1597
|
-
attempt: number;
|
|
1598
1641
|
executionId: string;
|
|
1642
|
+
attempt: number;
|
|
1643
|
+
target: {
|
|
1644
|
+
objectTypeId: string;
|
|
1645
|
+
};
|
|
1599
1646
|
progress: {
|
|
1600
1647
|
sourceRowsRead: number;
|
|
1601
1648
|
sourceRowsSkipped: number;
|
|
@@ -1613,19 +1660,20 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1613
1660
|
projectionKind: "object";
|
|
1614
1661
|
protocol: "replacement";
|
|
1615
1662
|
};
|
|
1616
|
-
target: {
|
|
1617
|
-
objectTypeId: string;
|
|
1618
|
-
};
|
|
1619
1663
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1620
1664
|
startedAt?: string | undefined;
|
|
1621
1665
|
finishedAt?: string | undefined;
|
|
1622
1666
|
} | {
|
|
1667
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1623
1668
|
projectId: string;
|
|
1624
1669
|
id: string;
|
|
1625
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1626
1670
|
queuedAt: string;
|
|
1627
|
-
attempt: number;
|
|
1628
1671
|
executionId: string;
|
|
1672
|
+
attempt: number;
|
|
1673
|
+
target: {
|
|
1674
|
+
targetObjectTypeId: string;
|
|
1675
|
+
sourceObjectTypeId: string;
|
|
1676
|
+
};
|
|
1629
1677
|
progress: {
|
|
1630
1678
|
sourceRowsRead: number;
|
|
1631
1679
|
sourceRowsSkipped: number;
|
|
@@ -1643,20 +1691,19 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1643
1691
|
projectionKind: "link";
|
|
1644
1692
|
protocol: "replacement";
|
|
1645
1693
|
};
|
|
1646
|
-
target: {
|
|
1647
|
-
targetObjectTypeId: string;
|
|
1648
|
-
sourceObjectTypeId: string;
|
|
1649
|
-
};
|
|
1650
1694
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1651
1695
|
startedAt?: string | undefined;
|
|
1652
1696
|
finishedAt?: string | undefined;
|
|
1653
1697
|
} | {
|
|
1698
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1654
1699
|
projectId: string;
|
|
1655
1700
|
id: string;
|
|
1656
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1657
1701
|
queuedAt: string;
|
|
1658
|
-
attempt: number;
|
|
1659
1702
|
executionId: string;
|
|
1703
|
+
attempt: number;
|
|
1704
|
+
target: {
|
|
1705
|
+
objectTypeId: string;
|
|
1706
|
+
};
|
|
1660
1707
|
progress: {
|
|
1661
1708
|
sourceRowsRead: number;
|
|
1662
1709
|
sourceRowsSkipped: number;
|
|
@@ -1674,9 +1721,6 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1674
1721
|
projectionKind: "telemetry";
|
|
1675
1722
|
protocol: "telemetry";
|
|
1676
1723
|
};
|
|
1677
|
-
target: {
|
|
1678
|
-
objectTypeId: string;
|
|
1679
|
-
};
|
|
1680
1724
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1681
1725
|
startedAt?: string | undefined;
|
|
1682
1726
|
finishedAt?: string | undefined;
|
|
@@ -1689,12 +1733,19 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
1689
1733
|
_tag: z.ZodLiteral<"TelemetryProjectionDefinition">;
|
|
1690
1734
|
id: z.ZodString;
|
|
1691
1735
|
objectTypeId: z.ZodString;
|
|
1692
|
-
propertyId: z.ZodString;
|
|
1693
1736
|
datasetId: z.ZodString;
|
|
1694
1737
|
objectIdField: z.ZodString;
|
|
1695
1738
|
atField: z.ZodString;
|
|
1696
|
-
|
|
1697
|
-
|
|
1739
|
+
properties: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1740
|
+
valueField: z.ZodString;
|
|
1741
|
+
unitField: z.ZodOptional<z.ZodString>;
|
|
1742
|
+
}, "strip", z.ZodTypeAny, {
|
|
1743
|
+
valueField: string;
|
|
1744
|
+
unitField?: string | undefined;
|
|
1745
|
+
}, {
|
|
1746
|
+
valueField: string;
|
|
1747
|
+
unitField?: string | undefined;
|
|
1748
|
+
}>>;
|
|
1698
1749
|
latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
1699
1750
|
id: z.ZodString;
|
|
1700
1751
|
projectId: z.ZodString;
|
|
@@ -1770,12 +1821,15 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
1770
1821
|
objectTypeId: string;
|
|
1771
1822
|
}>;
|
|
1772
1823
|
}, "strip", z.ZodTypeAny, {
|
|
1824
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1773
1825
|
projectId: string;
|
|
1774
1826
|
id: string;
|
|
1775
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1776
1827
|
queuedAt: string;
|
|
1777
|
-
attempt: number;
|
|
1778
1828
|
executionId: string;
|
|
1829
|
+
attempt: number;
|
|
1830
|
+
target: {
|
|
1831
|
+
objectTypeId: string;
|
|
1832
|
+
};
|
|
1779
1833
|
progress: {
|
|
1780
1834
|
sourceRowsRead: number;
|
|
1781
1835
|
sourceRowsSkipped: number;
|
|
@@ -1793,19 +1847,19 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
1793
1847
|
projectionKind: "object";
|
|
1794
1848
|
protocol: "replacement";
|
|
1795
1849
|
};
|
|
1796
|
-
target: {
|
|
1797
|
-
objectTypeId: string;
|
|
1798
|
-
};
|
|
1799
1850
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1800
1851
|
startedAt?: string | undefined;
|
|
1801
1852
|
finishedAt?: string | undefined;
|
|
1802
1853
|
}, {
|
|
1854
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1803
1855
|
projectId: string;
|
|
1804
1856
|
id: string;
|
|
1805
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1806
1857
|
queuedAt: string;
|
|
1807
|
-
attempt: number;
|
|
1808
1858
|
executionId: string;
|
|
1859
|
+
attempt: number;
|
|
1860
|
+
target: {
|
|
1861
|
+
objectTypeId: string;
|
|
1862
|
+
};
|
|
1809
1863
|
progress: {
|
|
1810
1864
|
sourceRowsRead: number;
|
|
1811
1865
|
sourceRowsSkipped: number;
|
|
@@ -1823,9 +1877,6 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
1823
1877
|
projectionKind: "object";
|
|
1824
1878
|
protocol: "replacement";
|
|
1825
1879
|
};
|
|
1826
|
-
target: {
|
|
1827
|
-
objectTypeId: string;
|
|
1828
|
-
};
|
|
1829
1880
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1830
1881
|
startedAt?: string | undefined;
|
|
1831
1882
|
finishedAt?: string | undefined;
|
|
@@ -1907,12 +1958,16 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
1907
1958
|
sourceObjectTypeId: string;
|
|
1908
1959
|
}>;
|
|
1909
1960
|
}, "strip", z.ZodTypeAny, {
|
|
1961
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1910
1962
|
projectId: string;
|
|
1911
1963
|
id: string;
|
|
1912
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1913
1964
|
queuedAt: string;
|
|
1914
|
-
attempt: number;
|
|
1915
1965
|
executionId: string;
|
|
1966
|
+
attempt: number;
|
|
1967
|
+
target: {
|
|
1968
|
+
targetObjectTypeId: string;
|
|
1969
|
+
sourceObjectTypeId: string;
|
|
1970
|
+
};
|
|
1916
1971
|
progress: {
|
|
1917
1972
|
sourceRowsRead: number;
|
|
1918
1973
|
sourceRowsSkipped: number;
|
|
@@ -1930,20 +1985,20 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
1930
1985
|
projectionKind: "link";
|
|
1931
1986
|
protocol: "replacement";
|
|
1932
1987
|
};
|
|
1933
|
-
target: {
|
|
1934
|
-
targetObjectTypeId: string;
|
|
1935
|
-
sourceObjectTypeId: string;
|
|
1936
|
-
};
|
|
1937
1988
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1938
1989
|
startedAt?: string | undefined;
|
|
1939
1990
|
finishedAt?: string | undefined;
|
|
1940
1991
|
}, {
|
|
1992
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1941
1993
|
projectId: string;
|
|
1942
1994
|
id: string;
|
|
1943
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1944
1995
|
queuedAt: string;
|
|
1945
|
-
attempt: number;
|
|
1946
1996
|
executionId: string;
|
|
1997
|
+
attempt: number;
|
|
1998
|
+
target: {
|
|
1999
|
+
targetObjectTypeId: string;
|
|
2000
|
+
sourceObjectTypeId: string;
|
|
2001
|
+
};
|
|
1947
2002
|
progress: {
|
|
1948
2003
|
sourceRowsRead: number;
|
|
1949
2004
|
sourceRowsSkipped: number;
|
|
@@ -1961,10 +2016,6 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
1961
2016
|
projectionKind: "link";
|
|
1962
2017
|
protocol: "replacement";
|
|
1963
2018
|
};
|
|
1964
|
-
target: {
|
|
1965
|
-
targetObjectTypeId: string;
|
|
1966
|
-
sourceObjectTypeId: string;
|
|
1967
|
-
};
|
|
1968
2019
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
1969
2020
|
startedAt?: string | undefined;
|
|
1970
2021
|
finishedAt?: string | undefined;
|
|
@@ -2043,12 +2094,15 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
2043
2094
|
objectTypeId: string;
|
|
2044
2095
|
}>;
|
|
2045
2096
|
}, "strip", z.ZodTypeAny, {
|
|
2097
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2046
2098
|
projectId: string;
|
|
2047
2099
|
id: string;
|
|
2048
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2049
2100
|
queuedAt: string;
|
|
2050
|
-
attempt: number;
|
|
2051
2101
|
executionId: string;
|
|
2102
|
+
attempt: number;
|
|
2103
|
+
target: {
|
|
2104
|
+
objectTypeId: string;
|
|
2105
|
+
};
|
|
2052
2106
|
progress: {
|
|
2053
2107
|
sourceRowsRead: number;
|
|
2054
2108
|
sourceRowsSkipped: number;
|
|
@@ -2066,19 +2120,19 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
2066
2120
|
projectionKind: "telemetry";
|
|
2067
2121
|
protocol: "telemetry";
|
|
2068
2122
|
};
|
|
2069
|
-
target: {
|
|
2070
|
-
objectTypeId: string;
|
|
2071
|
-
};
|
|
2072
2123
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2073
2124
|
startedAt?: string | undefined;
|
|
2074
2125
|
finishedAt?: string | undefined;
|
|
2075
2126
|
}, {
|
|
2127
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2076
2128
|
projectId: string;
|
|
2077
2129
|
id: string;
|
|
2078
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2079
2130
|
queuedAt: string;
|
|
2080
|
-
attempt: number;
|
|
2081
2131
|
executionId: string;
|
|
2132
|
+
attempt: number;
|
|
2133
|
+
target: {
|
|
2134
|
+
objectTypeId: string;
|
|
2135
|
+
};
|
|
2082
2136
|
progress: {
|
|
2083
2137
|
sourceRowsRead: number;
|
|
2084
2138
|
sourceRowsSkipped: number;
|
|
@@ -2096,25 +2150,28 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
2096
2150
|
projectionKind: "telemetry";
|
|
2097
2151
|
protocol: "telemetry";
|
|
2098
2152
|
};
|
|
2099
|
-
target: {
|
|
2100
|
-
objectTypeId: string;
|
|
2101
|
-
};
|
|
2102
2153
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2103
2154
|
startedAt?: string | undefined;
|
|
2104
2155
|
finishedAt?: string | undefined;
|
|
2105
2156
|
}>]>>;
|
|
2106
2157
|
}, "strip", z.ZodTypeAny, {
|
|
2107
2158
|
id: string;
|
|
2159
|
+
properties: Record<string, {
|
|
2160
|
+
valueField: string;
|
|
2161
|
+
unitField?: string | undefined;
|
|
2162
|
+
}>;
|
|
2108
2163
|
objectTypeId: string;
|
|
2109
2164
|
datasetId: string;
|
|
2110
|
-
propertyId: string;
|
|
2111
2165
|
latestRun: {
|
|
2166
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2112
2167
|
projectId: string;
|
|
2113
2168
|
id: string;
|
|
2114
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2115
2169
|
queuedAt: string;
|
|
2116
|
-
attempt: number;
|
|
2117
2170
|
executionId: string;
|
|
2171
|
+
attempt: number;
|
|
2172
|
+
target: {
|
|
2173
|
+
objectTypeId: string;
|
|
2174
|
+
};
|
|
2118
2175
|
progress: {
|
|
2119
2176
|
sourceRowsRead: number;
|
|
2120
2177
|
sourceRowsSkipped: number;
|
|
@@ -2132,19 +2189,20 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
2132
2189
|
projectionKind: "object";
|
|
2133
2190
|
protocol: "replacement";
|
|
2134
2191
|
};
|
|
2135
|
-
target: {
|
|
2136
|
-
objectTypeId: string;
|
|
2137
|
-
};
|
|
2138
2192
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2139
2193
|
startedAt?: string | undefined;
|
|
2140
2194
|
finishedAt?: string | undefined;
|
|
2141
2195
|
} | {
|
|
2196
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2142
2197
|
projectId: string;
|
|
2143
2198
|
id: string;
|
|
2144
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2145
2199
|
queuedAt: string;
|
|
2146
|
-
attempt: number;
|
|
2147
2200
|
executionId: string;
|
|
2201
|
+
attempt: number;
|
|
2202
|
+
target: {
|
|
2203
|
+
targetObjectTypeId: string;
|
|
2204
|
+
sourceObjectTypeId: string;
|
|
2205
|
+
};
|
|
2148
2206
|
progress: {
|
|
2149
2207
|
sourceRowsRead: number;
|
|
2150
2208
|
sourceRowsSkipped: number;
|
|
@@ -2162,20 +2220,19 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
2162
2220
|
projectionKind: "link";
|
|
2163
2221
|
protocol: "replacement";
|
|
2164
2222
|
};
|
|
2165
|
-
target: {
|
|
2166
|
-
targetObjectTypeId: string;
|
|
2167
|
-
sourceObjectTypeId: string;
|
|
2168
|
-
};
|
|
2169
2223
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2170
2224
|
startedAt?: string | undefined;
|
|
2171
2225
|
finishedAt?: string | undefined;
|
|
2172
2226
|
} | {
|
|
2227
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2173
2228
|
projectId: string;
|
|
2174
2229
|
id: string;
|
|
2175
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2176
2230
|
queuedAt: string;
|
|
2177
|
-
attempt: number;
|
|
2178
2231
|
executionId: string;
|
|
2232
|
+
attempt: number;
|
|
2233
|
+
target: {
|
|
2234
|
+
objectTypeId: string;
|
|
2235
|
+
};
|
|
2179
2236
|
progress: {
|
|
2180
2237
|
sourceRowsRead: number;
|
|
2181
2238
|
sourceRowsSkipped: number;
|
|
@@ -2193,9 +2250,6 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
2193
2250
|
projectionKind: "telemetry";
|
|
2194
2251
|
protocol: "telemetry";
|
|
2195
2252
|
};
|
|
2196
|
-
target: {
|
|
2197
|
-
objectTypeId: string;
|
|
2198
|
-
};
|
|
2199
2253
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2200
2254
|
startedAt?: string | undefined;
|
|
2201
2255
|
finishedAt?: string | undefined;
|
|
@@ -2203,20 +2257,24 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
2203
2257
|
_tag: "TelemetryProjectionDefinition";
|
|
2204
2258
|
objectIdField: string;
|
|
2205
2259
|
atField: string;
|
|
2206
|
-
valueField: string;
|
|
2207
|
-
unitField?: string | undefined;
|
|
2208
2260
|
}, {
|
|
2209
2261
|
id: string;
|
|
2262
|
+
properties: Record<string, {
|
|
2263
|
+
valueField: string;
|
|
2264
|
+
unitField?: string | undefined;
|
|
2265
|
+
}>;
|
|
2210
2266
|
objectTypeId: string;
|
|
2211
2267
|
datasetId: string;
|
|
2212
|
-
propertyId: string;
|
|
2213
2268
|
latestRun: {
|
|
2269
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2214
2270
|
projectId: string;
|
|
2215
2271
|
id: string;
|
|
2216
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2217
2272
|
queuedAt: string;
|
|
2218
|
-
attempt: number;
|
|
2219
2273
|
executionId: string;
|
|
2274
|
+
attempt: number;
|
|
2275
|
+
target: {
|
|
2276
|
+
objectTypeId: string;
|
|
2277
|
+
};
|
|
2220
2278
|
progress: {
|
|
2221
2279
|
sourceRowsRead: number;
|
|
2222
2280
|
sourceRowsSkipped: number;
|
|
@@ -2234,19 +2292,20 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
2234
2292
|
projectionKind: "object";
|
|
2235
2293
|
protocol: "replacement";
|
|
2236
2294
|
};
|
|
2237
|
-
target: {
|
|
2238
|
-
objectTypeId: string;
|
|
2239
|
-
};
|
|
2240
2295
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2241
2296
|
startedAt?: string | undefined;
|
|
2242
2297
|
finishedAt?: string | undefined;
|
|
2243
2298
|
} | {
|
|
2299
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2244
2300
|
projectId: string;
|
|
2245
2301
|
id: string;
|
|
2246
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2247
2302
|
queuedAt: string;
|
|
2248
|
-
attempt: number;
|
|
2249
2303
|
executionId: string;
|
|
2304
|
+
attempt: number;
|
|
2305
|
+
target: {
|
|
2306
|
+
targetObjectTypeId: string;
|
|
2307
|
+
sourceObjectTypeId: string;
|
|
2308
|
+
};
|
|
2250
2309
|
progress: {
|
|
2251
2310
|
sourceRowsRead: number;
|
|
2252
2311
|
sourceRowsSkipped: number;
|
|
@@ -2264,20 +2323,19 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
2264
2323
|
projectionKind: "link";
|
|
2265
2324
|
protocol: "replacement";
|
|
2266
2325
|
};
|
|
2267
|
-
target: {
|
|
2268
|
-
targetObjectTypeId: string;
|
|
2269
|
-
sourceObjectTypeId: string;
|
|
2270
|
-
};
|
|
2271
2326
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2272
2327
|
startedAt?: string | undefined;
|
|
2273
2328
|
finishedAt?: string | undefined;
|
|
2274
2329
|
} | {
|
|
2330
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2275
2331
|
projectId: string;
|
|
2276
2332
|
id: string;
|
|
2277
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2278
2333
|
queuedAt: string;
|
|
2279
|
-
attempt: number;
|
|
2280
2334
|
executionId: string;
|
|
2335
|
+
attempt: number;
|
|
2336
|
+
target: {
|
|
2337
|
+
objectTypeId: string;
|
|
2338
|
+
};
|
|
2281
2339
|
progress: {
|
|
2282
2340
|
sourceRowsRead: number;
|
|
2283
2341
|
sourceRowsSkipped: number;
|
|
@@ -2295,9 +2353,6 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
2295
2353
|
projectionKind: "telemetry";
|
|
2296
2354
|
protocol: "telemetry";
|
|
2297
2355
|
};
|
|
2298
|
-
target: {
|
|
2299
|
-
objectTypeId: string;
|
|
2300
|
-
};
|
|
2301
2356
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2302
2357
|
startedAt?: string | undefined;
|
|
2303
2358
|
finishedAt?: string | undefined;
|
|
@@ -2305,8 +2360,6 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
2305
2360
|
_tag: "TelemetryProjectionDefinition";
|
|
2306
2361
|
objectIdField: string;
|
|
2307
2362
|
atField: string;
|
|
2308
|
-
valueField: string;
|
|
2309
|
-
unitField?: string | undefined;
|
|
2310
2363
|
}>;
|
|
2311
2364
|
export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
2312
2365
|
objectProjections: z.ZodArray<z.ZodObject<{
|
|
@@ -2331,6 +2384,22 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2331
2384
|
sourcePropertyId?: string | undefined;
|
|
2332
2385
|
sourceField?: string | undefined;
|
|
2333
2386
|
}>>;
|
|
2387
|
+
conflictResolution: z.ZodUnion<[z.ZodObject<{
|
|
2388
|
+
strategy: z.ZodLiteral<"editsWin">;
|
|
2389
|
+
}, "strip", z.ZodTypeAny, {
|
|
2390
|
+
strategy: "editsWin";
|
|
2391
|
+
}, {
|
|
2392
|
+
strategy: "editsWin";
|
|
2393
|
+
}>, z.ZodObject<{
|
|
2394
|
+
strategy: z.ZodLiteral<"mostRecent">;
|
|
2395
|
+
sourceTimestamp: z.ZodString;
|
|
2396
|
+
}, "strip", z.ZodTypeAny, {
|
|
2397
|
+
strategy: "mostRecent";
|
|
2398
|
+
sourceTimestamp: string;
|
|
2399
|
+
}, {
|
|
2400
|
+
strategy: "mostRecent";
|
|
2401
|
+
sourceTimestamp: string;
|
|
2402
|
+
}>]>;
|
|
2334
2403
|
latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
2335
2404
|
id: z.ZodString;
|
|
2336
2405
|
projectId: z.ZodString;
|
|
@@ -2406,12 +2475,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2406
2475
|
objectTypeId: string;
|
|
2407
2476
|
}>;
|
|
2408
2477
|
}, "strip", z.ZodTypeAny, {
|
|
2478
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2409
2479
|
projectId: string;
|
|
2410
2480
|
id: string;
|
|
2411
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2412
2481
|
queuedAt: string;
|
|
2413
|
-
attempt: number;
|
|
2414
2482
|
executionId: string;
|
|
2483
|
+
attempt: number;
|
|
2484
|
+
target: {
|
|
2485
|
+
objectTypeId: string;
|
|
2486
|
+
};
|
|
2415
2487
|
progress: {
|
|
2416
2488
|
sourceRowsRead: number;
|
|
2417
2489
|
sourceRowsSkipped: number;
|
|
@@ -2429,19 +2501,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2429
2501
|
projectionKind: "object";
|
|
2430
2502
|
protocol: "replacement";
|
|
2431
2503
|
};
|
|
2432
|
-
target: {
|
|
2433
|
-
objectTypeId: string;
|
|
2434
|
-
};
|
|
2435
2504
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2436
2505
|
startedAt?: string | undefined;
|
|
2437
2506
|
finishedAt?: string | undefined;
|
|
2438
2507
|
}, {
|
|
2508
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2439
2509
|
projectId: string;
|
|
2440
2510
|
id: string;
|
|
2441
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2442
2511
|
queuedAt: string;
|
|
2443
|
-
attempt: number;
|
|
2444
2512
|
executionId: string;
|
|
2513
|
+
attempt: number;
|
|
2514
|
+
target: {
|
|
2515
|
+
objectTypeId: string;
|
|
2516
|
+
};
|
|
2445
2517
|
progress: {
|
|
2446
2518
|
sourceRowsRead: number;
|
|
2447
2519
|
sourceRowsSkipped: number;
|
|
@@ -2459,9 +2531,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2459
2531
|
projectionKind: "object";
|
|
2460
2532
|
protocol: "replacement";
|
|
2461
2533
|
};
|
|
2462
|
-
target: {
|
|
2463
|
-
objectTypeId: string;
|
|
2464
|
-
};
|
|
2465
2534
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2466
2535
|
startedAt?: string | undefined;
|
|
2467
2536
|
finishedAt?: string | undefined;
|
|
@@ -2543,14 +2612,18 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2543
2612
|
sourceObjectTypeId: string;
|
|
2544
2613
|
}>;
|
|
2545
2614
|
}, "strip", z.ZodTypeAny, {
|
|
2615
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2546
2616
|
projectId: string;
|
|
2547
2617
|
id: string;
|
|
2548
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2549
2618
|
queuedAt: string;
|
|
2550
|
-
attempt: number;
|
|
2551
2619
|
executionId: string;
|
|
2552
|
-
|
|
2553
|
-
|
|
2620
|
+
attempt: number;
|
|
2621
|
+
target: {
|
|
2622
|
+
targetObjectTypeId: string;
|
|
2623
|
+
sourceObjectTypeId: string;
|
|
2624
|
+
};
|
|
2625
|
+
progress: {
|
|
2626
|
+
sourceRowsRead: number;
|
|
2554
2627
|
sourceRowsSkipped: number;
|
|
2555
2628
|
};
|
|
2556
2629
|
identity: {
|
|
@@ -2566,20 +2639,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2566
2639
|
projectionKind: "link";
|
|
2567
2640
|
protocol: "replacement";
|
|
2568
2641
|
};
|
|
2569
|
-
target: {
|
|
2570
|
-
targetObjectTypeId: string;
|
|
2571
|
-
sourceObjectTypeId: string;
|
|
2572
|
-
};
|
|
2573
2642
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2574
2643
|
startedAt?: string | undefined;
|
|
2575
2644
|
finishedAt?: string | undefined;
|
|
2576
2645
|
}, {
|
|
2646
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2577
2647
|
projectId: string;
|
|
2578
2648
|
id: string;
|
|
2579
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2580
2649
|
queuedAt: string;
|
|
2581
|
-
attempt: number;
|
|
2582
2650
|
executionId: string;
|
|
2651
|
+
attempt: number;
|
|
2652
|
+
target: {
|
|
2653
|
+
targetObjectTypeId: string;
|
|
2654
|
+
sourceObjectTypeId: string;
|
|
2655
|
+
};
|
|
2583
2656
|
progress: {
|
|
2584
2657
|
sourceRowsRead: number;
|
|
2585
2658
|
sourceRowsSkipped: number;
|
|
@@ -2597,10 +2670,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2597
2670
|
projectionKind: "link";
|
|
2598
2671
|
protocol: "replacement";
|
|
2599
2672
|
};
|
|
2600
|
-
target: {
|
|
2601
|
-
targetObjectTypeId: string;
|
|
2602
|
-
sourceObjectTypeId: string;
|
|
2603
|
-
};
|
|
2604
2673
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2605
2674
|
startedAt?: string | undefined;
|
|
2606
2675
|
finishedAt?: string | undefined;
|
|
@@ -2679,12 +2748,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2679
2748
|
objectTypeId: string;
|
|
2680
2749
|
}>;
|
|
2681
2750
|
}, "strip", z.ZodTypeAny, {
|
|
2751
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2682
2752
|
projectId: string;
|
|
2683
2753
|
id: string;
|
|
2684
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2685
2754
|
queuedAt: string;
|
|
2686
|
-
attempt: number;
|
|
2687
2755
|
executionId: string;
|
|
2756
|
+
attempt: number;
|
|
2757
|
+
target: {
|
|
2758
|
+
objectTypeId: string;
|
|
2759
|
+
};
|
|
2688
2760
|
progress: {
|
|
2689
2761
|
sourceRowsRead: number;
|
|
2690
2762
|
sourceRowsSkipped: number;
|
|
@@ -2702,19 +2774,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2702
2774
|
projectionKind: "telemetry";
|
|
2703
2775
|
protocol: "telemetry";
|
|
2704
2776
|
};
|
|
2705
|
-
target: {
|
|
2706
|
-
objectTypeId: string;
|
|
2707
|
-
};
|
|
2708
2777
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2709
2778
|
startedAt?: string | undefined;
|
|
2710
2779
|
finishedAt?: string | undefined;
|
|
2711
2780
|
}, {
|
|
2781
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2712
2782
|
projectId: string;
|
|
2713
2783
|
id: string;
|
|
2714
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2715
2784
|
queuedAt: string;
|
|
2716
|
-
attempt: number;
|
|
2717
2785
|
executionId: string;
|
|
2786
|
+
attempt: number;
|
|
2787
|
+
target: {
|
|
2788
|
+
objectTypeId: string;
|
|
2789
|
+
};
|
|
2718
2790
|
progress: {
|
|
2719
2791
|
sourceRowsRead: number;
|
|
2720
2792
|
sourceRowsSkipped: number;
|
|
@@ -2732,9 +2804,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2732
2804
|
projectionKind: "telemetry";
|
|
2733
2805
|
protocol: "telemetry";
|
|
2734
2806
|
};
|
|
2735
|
-
target: {
|
|
2736
|
-
objectTypeId: string;
|
|
2737
|
-
};
|
|
2738
2807
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2739
2808
|
startedAt?: string | undefined;
|
|
2740
2809
|
finishedAt?: string | undefined;
|
|
@@ -2751,12 +2820,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2751
2820
|
objectTypeId: string;
|
|
2752
2821
|
datasetId: string;
|
|
2753
2822
|
latestRun: {
|
|
2823
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2754
2824
|
projectId: string;
|
|
2755
2825
|
id: string;
|
|
2756
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2757
2826
|
queuedAt: string;
|
|
2758
|
-
attempt: number;
|
|
2759
2827
|
executionId: string;
|
|
2828
|
+
attempt: number;
|
|
2829
|
+
target: {
|
|
2830
|
+
objectTypeId: string;
|
|
2831
|
+
};
|
|
2760
2832
|
progress: {
|
|
2761
2833
|
sourceRowsRead: number;
|
|
2762
2834
|
sourceRowsSkipped: number;
|
|
@@ -2774,19 +2846,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2774
2846
|
projectionKind: "object";
|
|
2775
2847
|
protocol: "replacement";
|
|
2776
2848
|
};
|
|
2777
|
-
target: {
|
|
2778
|
-
objectTypeId: string;
|
|
2779
|
-
};
|
|
2780
2849
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2781
2850
|
startedAt?: string | undefined;
|
|
2782
2851
|
finishedAt?: string | undefined;
|
|
2783
2852
|
} | {
|
|
2853
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2784
2854
|
projectId: string;
|
|
2785
2855
|
id: string;
|
|
2786
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2787
2856
|
queuedAt: string;
|
|
2788
|
-
attempt: number;
|
|
2789
2857
|
executionId: string;
|
|
2858
|
+
attempt: number;
|
|
2859
|
+
target: {
|
|
2860
|
+
targetObjectTypeId: string;
|
|
2861
|
+
sourceObjectTypeId: string;
|
|
2862
|
+
};
|
|
2790
2863
|
progress: {
|
|
2791
2864
|
sourceRowsRead: number;
|
|
2792
2865
|
sourceRowsSkipped: number;
|
|
@@ -2804,20 +2877,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2804
2877
|
projectionKind: "link";
|
|
2805
2878
|
protocol: "replacement";
|
|
2806
2879
|
};
|
|
2807
|
-
target: {
|
|
2808
|
-
targetObjectTypeId: string;
|
|
2809
|
-
sourceObjectTypeId: string;
|
|
2810
|
-
};
|
|
2811
2880
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2812
2881
|
startedAt?: string | undefined;
|
|
2813
2882
|
finishedAt?: string | undefined;
|
|
2814
2883
|
} | {
|
|
2884
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2815
2885
|
projectId: string;
|
|
2816
2886
|
id: string;
|
|
2817
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2818
2887
|
queuedAt: string;
|
|
2819
|
-
attempt: number;
|
|
2820
2888
|
executionId: string;
|
|
2889
|
+
attempt: number;
|
|
2890
|
+
target: {
|
|
2891
|
+
objectTypeId: string;
|
|
2892
|
+
};
|
|
2821
2893
|
progress: {
|
|
2822
2894
|
sourceRowsRead: number;
|
|
2823
2895
|
sourceRowsSkipped: number;
|
|
@@ -2835,14 +2907,17 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2835
2907
|
projectionKind: "telemetry";
|
|
2836
2908
|
protocol: "telemetry";
|
|
2837
2909
|
};
|
|
2838
|
-
target: {
|
|
2839
|
-
objectTypeId: string;
|
|
2840
|
-
};
|
|
2841
2910
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2842
2911
|
startedAt?: string | undefined;
|
|
2843
2912
|
finishedAt?: string | undefined;
|
|
2844
2913
|
} | null;
|
|
2845
2914
|
_tag: "ObjectProjectionDefinition";
|
|
2915
|
+
conflictResolution: {
|
|
2916
|
+
strategy: "editsWin";
|
|
2917
|
+
} | {
|
|
2918
|
+
strategy: "mostRecent";
|
|
2919
|
+
sourceTimestamp: string;
|
|
2920
|
+
};
|
|
2846
2921
|
}, {
|
|
2847
2922
|
id: string;
|
|
2848
2923
|
links: Record<string, {
|
|
@@ -2855,12 +2930,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2855
2930
|
objectTypeId: string;
|
|
2856
2931
|
datasetId: string;
|
|
2857
2932
|
latestRun: {
|
|
2933
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2858
2934
|
projectId: string;
|
|
2859
2935
|
id: string;
|
|
2860
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2861
2936
|
queuedAt: string;
|
|
2862
|
-
attempt: number;
|
|
2863
2937
|
executionId: string;
|
|
2938
|
+
attempt: number;
|
|
2939
|
+
target: {
|
|
2940
|
+
objectTypeId: string;
|
|
2941
|
+
};
|
|
2864
2942
|
progress: {
|
|
2865
2943
|
sourceRowsRead: number;
|
|
2866
2944
|
sourceRowsSkipped: number;
|
|
@@ -2878,19 +2956,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2878
2956
|
projectionKind: "object";
|
|
2879
2957
|
protocol: "replacement";
|
|
2880
2958
|
};
|
|
2881
|
-
target: {
|
|
2882
|
-
objectTypeId: string;
|
|
2883
|
-
};
|
|
2884
2959
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2885
2960
|
startedAt?: string | undefined;
|
|
2886
2961
|
finishedAt?: string | undefined;
|
|
2887
2962
|
} | {
|
|
2963
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2888
2964
|
projectId: string;
|
|
2889
2965
|
id: string;
|
|
2890
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2891
2966
|
queuedAt: string;
|
|
2892
|
-
attempt: number;
|
|
2893
2967
|
executionId: string;
|
|
2968
|
+
attempt: number;
|
|
2969
|
+
target: {
|
|
2970
|
+
targetObjectTypeId: string;
|
|
2971
|
+
sourceObjectTypeId: string;
|
|
2972
|
+
};
|
|
2894
2973
|
progress: {
|
|
2895
2974
|
sourceRowsRead: number;
|
|
2896
2975
|
sourceRowsSkipped: number;
|
|
@@ -2908,20 +2987,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2908
2987
|
projectionKind: "link";
|
|
2909
2988
|
protocol: "replacement";
|
|
2910
2989
|
};
|
|
2911
|
-
target: {
|
|
2912
|
-
targetObjectTypeId: string;
|
|
2913
|
-
sourceObjectTypeId: string;
|
|
2914
|
-
};
|
|
2915
2990
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2916
2991
|
startedAt?: string | undefined;
|
|
2917
2992
|
finishedAt?: string | undefined;
|
|
2918
2993
|
} | {
|
|
2994
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2919
2995
|
projectId: string;
|
|
2920
2996
|
id: string;
|
|
2921
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2922
2997
|
queuedAt: string;
|
|
2923
|
-
attempt: number;
|
|
2924
2998
|
executionId: string;
|
|
2999
|
+
attempt: number;
|
|
3000
|
+
target: {
|
|
3001
|
+
objectTypeId: string;
|
|
3002
|
+
};
|
|
2925
3003
|
progress: {
|
|
2926
3004
|
sourceRowsRead: number;
|
|
2927
3005
|
sourceRowsSkipped: number;
|
|
@@ -2939,14 +3017,17 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
2939
3017
|
projectionKind: "telemetry";
|
|
2940
3018
|
protocol: "telemetry";
|
|
2941
3019
|
};
|
|
2942
|
-
target: {
|
|
2943
|
-
objectTypeId: string;
|
|
2944
|
-
};
|
|
2945
3020
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
2946
3021
|
startedAt?: string | undefined;
|
|
2947
3022
|
finishedAt?: string | undefined;
|
|
2948
3023
|
} | null;
|
|
2949
3024
|
_tag: "ObjectProjectionDefinition";
|
|
3025
|
+
conflictResolution: {
|
|
3026
|
+
strategy: "editsWin";
|
|
3027
|
+
} | {
|
|
3028
|
+
strategy: "mostRecent";
|
|
3029
|
+
sourceTimestamp: string;
|
|
3030
|
+
};
|
|
2950
3031
|
}>, "many">;
|
|
2951
3032
|
linkProjections: z.ZodArray<z.ZodObject<{
|
|
2952
3033
|
_tag: z.ZodLiteral<"LinkProjectionDefinition">;
|
|
@@ -3032,12 +3113,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3032
3113
|
objectTypeId: string;
|
|
3033
3114
|
}>;
|
|
3034
3115
|
}, "strip", z.ZodTypeAny, {
|
|
3116
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3035
3117
|
projectId: string;
|
|
3036
3118
|
id: string;
|
|
3037
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3038
3119
|
queuedAt: string;
|
|
3039
|
-
attempt: number;
|
|
3040
3120
|
executionId: string;
|
|
3121
|
+
attempt: number;
|
|
3122
|
+
target: {
|
|
3123
|
+
objectTypeId: string;
|
|
3124
|
+
};
|
|
3041
3125
|
progress: {
|
|
3042
3126
|
sourceRowsRead: number;
|
|
3043
3127
|
sourceRowsSkipped: number;
|
|
@@ -3055,19 +3139,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3055
3139
|
projectionKind: "object";
|
|
3056
3140
|
protocol: "replacement";
|
|
3057
3141
|
};
|
|
3058
|
-
target: {
|
|
3059
|
-
objectTypeId: string;
|
|
3060
|
-
};
|
|
3061
3142
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3062
3143
|
startedAt?: string | undefined;
|
|
3063
3144
|
finishedAt?: string | undefined;
|
|
3064
3145
|
}, {
|
|
3146
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3065
3147
|
projectId: string;
|
|
3066
3148
|
id: string;
|
|
3067
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3068
3149
|
queuedAt: string;
|
|
3069
|
-
attempt: number;
|
|
3070
3150
|
executionId: string;
|
|
3151
|
+
attempt: number;
|
|
3152
|
+
target: {
|
|
3153
|
+
objectTypeId: string;
|
|
3154
|
+
};
|
|
3071
3155
|
progress: {
|
|
3072
3156
|
sourceRowsRead: number;
|
|
3073
3157
|
sourceRowsSkipped: number;
|
|
@@ -3085,9 +3169,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3085
3169
|
projectionKind: "object";
|
|
3086
3170
|
protocol: "replacement";
|
|
3087
3171
|
};
|
|
3088
|
-
target: {
|
|
3089
|
-
objectTypeId: string;
|
|
3090
|
-
};
|
|
3091
3172
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3092
3173
|
startedAt?: string | undefined;
|
|
3093
3174
|
finishedAt?: string | undefined;
|
|
@@ -3169,12 +3250,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3169
3250
|
sourceObjectTypeId: string;
|
|
3170
3251
|
}>;
|
|
3171
3252
|
}, "strip", z.ZodTypeAny, {
|
|
3253
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3172
3254
|
projectId: string;
|
|
3173
3255
|
id: string;
|
|
3174
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3175
3256
|
queuedAt: string;
|
|
3176
|
-
attempt: number;
|
|
3177
3257
|
executionId: string;
|
|
3258
|
+
attempt: number;
|
|
3259
|
+
target: {
|
|
3260
|
+
targetObjectTypeId: string;
|
|
3261
|
+
sourceObjectTypeId: string;
|
|
3262
|
+
};
|
|
3178
3263
|
progress: {
|
|
3179
3264
|
sourceRowsRead: number;
|
|
3180
3265
|
sourceRowsSkipped: number;
|
|
@@ -3192,20 +3277,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3192
3277
|
projectionKind: "link";
|
|
3193
3278
|
protocol: "replacement";
|
|
3194
3279
|
};
|
|
3195
|
-
target: {
|
|
3196
|
-
targetObjectTypeId: string;
|
|
3197
|
-
sourceObjectTypeId: string;
|
|
3198
|
-
};
|
|
3199
3280
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3200
3281
|
startedAt?: string | undefined;
|
|
3201
3282
|
finishedAt?: string | undefined;
|
|
3202
3283
|
}, {
|
|
3284
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3203
3285
|
projectId: string;
|
|
3204
3286
|
id: string;
|
|
3205
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3206
3287
|
queuedAt: string;
|
|
3207
|
-
attempt: number;
|
|
3208
3288
|
executionId: string;
|
|
3289
|
+
attempt: number;
|
|
3290
|
+
target: {
|
|
3291
|
+
targetObjectTypeId: string;
|
|
3292
|
+
sourceObjectTypeId: string;
|
|
3293
|
+
};
|
|
3209
3294
|
progress: {
|
|
3210
3295
|
sourceRowsRead: number;
|
|
3211
3296
|
sourceRowsSkipped: number;
|
|
@@ -3223,10 +3308,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3223
3308
|
projectionKind: "link";
|
|
3224
3309
|
protocol: "replacement";
|
|
3225
3310
|
};
|
|
3226
|
-
target: {
|
|
3227
|
-
targetObjectTypeId: string;
|
|
3228
|
-
sourceObjectTypeId: string;
|
|
3229
|
-
};
|
|
3230
3311
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3231
3312
|
startedAt?: string | undefined;
|
|
3232
3313
|
finishedAt?: string | undefined;
|
|
@@ -3305,12 +3386,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3305
3386
|
objectTypeId: string;
|
|
3306
3387
|
}>;
|
|
3307
3388
|
}, "strip", z.ZodTypeAny, {
|
|
3389
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3308
3390
|
projectId: string;
|
|
3309
3391
|
id: string;
|
|
3310
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3311
3392
|
queuedAt: string;
|
|
3312
|
-
attempt: number;
|
|
3313
3393
|
executionId: string;
|
|
3394
|
+
attempt: number;
|
|
3395
|
+
target: {
|
|
3396
|
+
objectTypeId: string;
|
|
3397
|
+
};
|
|
3314
3398
|
progress: {
|
|
3315
3399
|
sourceRowsRead: number;
|
|
3316
3400
|
sourceRowsSkipped: number;
|
|
@@ -3328,19 +3412,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3328
3412
|
projectionKind: "telemetry";
|
|
3329
3413
|
protocol: "telemetry";
|
|
3330
3414
|
};
|
|
3331
|
-
target: {
|
|
3332
|
-
objectTypeId: string;
|
|
3333
|
-
};
|
|
3334
3415
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3335
3416
|
startedAt?: string | undefined;
|
|
3336
3417
|
finishedAt?: string | undefined;
|
|
3337
3418
|
}, {
|
|
3419
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3338
3420
|
projectId: string;
|
|
3339
3421
|
id: string;
|
|
3340
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3341
3422
|
queuedAt: string;
|
|
3342
|
-
attempt: number;
|
|
3343
3423
|
executionId: string;
|
|
3424
|
+
attempt: number;
|
|
3425
|
+
target: {
|
|
3426
|
+
objectTypeId: string;
|
|
3427
|
+
};
|
|
3344
3428
|
progress: {
|
|
3345
3429
|
sourceRowsRead: number;
|
|
3346
3430
|
sourceRowsSkipped: number;
|
|
@@ -3358,9 +3442,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3358
3442
|
projectionKind: "telemetry";
|
|
3359
3443
|
protocol: "telemetry";
|
|
3360
3444
|
};
|
|
3361
|
-
target: {
|
|
3362
|
-
objectTypeId: string;
|
|
3363
|
-
};
|
|
3364
3445
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3365
3446
|
startedAt?: string | undefined;
|
|
3366
3447
|
finishedAt?: string | undefined;
|
|
@@ -3372,12 +3453,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3372
3453
|
linkId: string;
|
|
3373
3454
|
sourceObjectTypeId: string;
|
|
3374
3455
|
latestRun: {
|
|
3456
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3375
3457
|
projectId: string;
|
|
3376
3458
|
id: string;
|
|
3377
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3378
3459
|
queuedAt: string;
|
|
3379
|
-
attempt: number;
|
|
3380
3460
|
executionId: string;
|
|
3461
|
+
attempt: number;
|
|
3462
|
+
target: {
|
|
3463
|
+
objectTypeId: string;
|
|
3464
|
+
};
|
|
3381
3465
|
progress: {
|
|
3382
3466
|
sourceRowsRead: number;
|
|
3383
3467
|
sourceRowsSkipped: number;
|
|
@@ -3395,19 +3479,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3395
3479
|
projectionKind: "object";
|
|
3396
3480
|
protocol: "replacement";
|
|
3397
3481
|
};
|
|
3398
|
-
target: {
|
|
3399
|
-
objectTypeId: string;
|
|
3400
|
-
};
|
|
3401
3482
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3402
3483
|
startedAt?: string | undefined;
|
|
3403
3484
|
finishedAt?: string | undefined;
|
|
3404
3485
|
} | {
|
|
3486
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3405
3487
|
projectId: string;
|
|
3406
3488
|
id: string;
|
|
3407
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3408
3489
|
queuedAt: string;
|
|
3409
|
-
attempt: number;
|
|
3410
3490
|
executionId: string;
|
|
3491
|
+
attempt: number;
|
|
3492
|
+
target: {
|
|
3493
|
+
targetObjectTypeId: string;
|
|
3494
|
+
sourceObjectTypeId: string;
|
|
3495
|
+
};
|
|
3411
3496
|
progress: {
|
|
3412
3497
|
sourceRowsRead: number;
|
|
3413
3498
|
sourceRowsSkipped: number;
|
|
@@ -3425,20 +3510,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3425
3510
|
projectionKind: "link";
|
|
3426
3511
|
protocol: "replacement";
|
|
3427
3512
|
};
|
|
3428
|
-
target: {
|
|
3429
|
-
targetObjectTypeId: string;
|
|
3430
|
-
sourceObjectTypeId: string;
|
|
3431
|
-
};
|
|
3432
3513
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3433
3514
|
startedAt?: string | undefined;
|
|
3434
3515
|
finishedAt?: string | undefined;
|
|
3435
3516
|
} | {
|
|
3517
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3436
3518
|
projectId: string;
|
|
3437
3519
|
id: string;
|
|
3438
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3439
3520
|
queuedAt: string;
|
|
3440
|
-
attempt: number;
|
|
3441
3521
|
executionId: string;
|
|
3522
|
+
attempt: number;
|
|
3523
|
+
target: {
|
|
3524
|
+
objectTypeId: string;
|
|
3525
|
+
};
|
|
3442
3526
|
progress: {
|
|
3443
3527
|
sourceRowsRead: number;
|
|
3444
3528
|
sourceRowsSkipped: number;
|
|
@@ -3456,9 +3540,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3456
3540
|
projectionKind: "telemetry";
|
|
3457
3541
|
protocol: "telemetry";
|
|
3458
3542
|
};
|
|
3459
|
-
target: {
|
|
3460
|
-
objectTypeId: string;
|
|
3461
|
-
};
|
|
3462
3543
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3463
3544
|
startedAt?: string | undefined;
|
|
3464
3545
|
finishedAt?: string | undefined;
|
|
@@ -3473,12 +3554,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3473
3554
|
linkId: string;
|
|
3474
3555
|
sourceObjectTypeId: string;
|
|
3475
3556
|
latestRun: {
|
|
3557
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3476
3558
|
projectId: string;
|
|
3477
3559
|
id: string;
|
|
3478
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3479
3560
|
queuedAt: string;
|
|
3480
|
-
attempt: number;
|
|
3481
3561
|
executionId: string;
|
|
3562
|
+
attempt: number;
|
|
3563
|
+
target: {
|
|
3564
|
+
objectTypeId: string;
|
|
3565
|
+
};
|
|
3482
3566
|
progress: {
|
|
3483
3567
|
sourceRowsRead: number;
|
|
3484
3568
|
sourceRowsSkipped: number;
|
|
@@ -3496,19 +3580,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3496
3580
|
projectionKind: "object";
|
|
3497
3581
|
protocol: "replacement";
|
|
3498
3582
|
};
|
|
3499
|
-
target: {
|
|
3500
|
-
objectTypeId: string;
|
|
3501
|
-
};
|
|
3502
3583
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3503
3584
|
startedAt?: string | undefined;
|
|
3504
3585
|
finishedAt?: string | undefined;
|
|
3505
3586
|
} | {
|
|
3587
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3506
3588
|
projectId: string;
|
|
3507
3589
|
id: string;
|
|
3508
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3509
3590
|
queuedAt: string;
|
|
3510
|
-
attempt: number;
|
|
3511
3591
|
executionId: string;
|
|
3592
|
+
attempt: number;
|
|
3593
|
+
target: {
|
|
3594
|
+
targetObjectTypeId: string;
|
|
3595
|
+
sourceObjectTypeId: string;
|
|
3596
|
+
};
|
|
3512
3597
|
progress: {
|
|
3513
3598
|
sourceRowsRead: number;
|
|
3514
3599
|
sourceRowsSkipped: number;
|
|
@@ -3526,20 +3611,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3526
3611
|
projectionKind: "link";
|
|
3527
3612
|
protocol: "replacement";
|
|
3528
3613
|
};
|
|
3529
|
-
target: {
|
|
3530
|
-
targetObjectTypeId: string;
|
|
3531
|
-
sourceObjectTypeId: string;
|
|
3532
|
-
};
|
|
3533
3614
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3534
3615
|
startedAt?: string | undefined;
|
|
3535
3616
|
finishedAt?: string | undefined;
|
|
3536
3617
|
} | {
|
|
3618
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3537
3619
|
projectId: string;
|
|
3538
3620
|
id: string;
|
|
3539
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3540
3621
|
queuedAt: string;
|
|
3541
|
-
attempt: number;
|
|
3542
3622
|
executionId: string;
|
|
3623
|
+
attempt: number;
|
|
3624
|
+
target: {
|
|
3625
|
+
objectTypeId: string;
|
|
3626
|
+
};
|
|
3543
3627
|
progress: {
|
|
3544
3628
|
sourceRowsRead: number;
|
|
3545
3629
|
sourceRowsSkipped: number;
|
|
@@ -3557,9 +3641,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3557
3641
|
projectionKind: "telemetry";
|
|
3558
3642
|
protocol: "telemetry";
|
|
3559
3643
|
};
|
|
3560
|
-
target: {
|
|
3561
|
-
objectTypeId: string;
|
|
3562
|
-
};
|
|
3563
3644
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3564
3645
|
startedAt?: string | undefined;
|
|
3565
3646
|
finishedAt?: string | undefined;
|
|
@@ -3572,12 +3653,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3572
3653
|
_tag: z.ZodLiteral<"TelemetryProjectionDefinition">;
|
|
3573
3654
|
id: z.ZodString;
|
|
3574
3655
|
objectTypeId: z.ZodString;
|
|
3575
|
-
propertyId: z.ZodString;
|
|
3576
3656
|
datasetId: z.ZodString;
|
|
3577
3657
|
objectIdField: z.ZodString;
|
|
3578
3658
|
atField: z.ZodString;
|
|
3579
|
-
|
|
3580
|
-
|
|
3659
|
+
properties: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3660
|
+
valueField: z.ZodString;
|
|
3661
|
+
unitField: z.ZodOptional<z.ZodString>;
|
|
3662
|
+
}, "strip", z.ZodTypeAny, {
|
|
3663
|
+
valueField: string;
|
|
3664
|
+
unitField?: string | undefined;
|
|
3665
|
+
}, {
|
|
3666
|
+
valueField: string;
|
|
3667
|
+
unitField?: string | undefined;
|
|
3668
|
+
}>>;
|
|
3581
3669
|
latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
3582
3670
|
id: z.ZodString;
|
|
3583
3671
|
projectId: z.ZodString;
|
|
@@ -3653,12 +3741,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3653
3741
|
objectTypeId: string;
|
|
3654
3742
|
}>;
|
|
3655
3743
|
}, "strip", z.ZodTypeAny, {
|
|
3744
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3656
3745
|
projectId: string;
|
|
3657
3746
|
id: string;
|
|
3658
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3659
3747
|
queuedAt: string;
|
|
3660
|
-
attempt: number;
|
|
3661
3748
|
executionId: string;
|
|
3749
|
+
attempt: number;
|
|
3750
|
+
target: {
|
|
3751
|
+
objectTypeId: string;
|
|
3752
|
+
};
|
|
3662
3753
|
progress: {
|
|
3663
3754
|
sourceRowsRead: number;
|
|
3664
3755
|
sourceRowsSkipped: number;
|
|
@@ -3676,19 +3767,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3676
3767
|
projectionKind: "object";
|
|
3677
3768
|
protocol: "replacement";
|
|
3678
3769
|
};
|
|
3679
|
-
target: {
|
|
3680
|
-
objectTypeId: string;
|
|
3681
|
-
};
|
|
3682
3770
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3683
3771
|
startedAt?: string | undefined;
|
|
3684
3772
|
finishedAt?: string | undefined;
|
|
3685
3773
|
}, {
|
|
3774
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3686
3775
|
projectId: string;
|
|
3687
3776
|
id: string;
|
|
3688
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3689
3777
|
queuedAt: string;
|
|
3690
|
-
attempt: number;
|
|
3691
3778
|
executionId: string;
|
|
3779
|
+
attempt: number;
|
|
3780
|
+
target: {
|
|
3781
|
+
objectTypeId: string;
|
|
3782
|
+
};
|
|
3692
3783
|
progress: {
|
|
3693
3784
|
sourceRowsRead: number;
|
|
3694
3785
|
sourceRowsSkipped: number;
|
|
@@ -3706,9 +3797,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3706
3797
|
projectionKind: "object";
|
|
3707
3798
|
protocol: "replacement";
|
|
3708
3799
|
};
|
|
3709
|
-
target: {
|
|
3710
|
-
objectTypeId: string;
|
|
3711
|
-
};
|
|
3712
3800
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3713
3801
|
startedAt?: string | undefined;
|
|
3714
3802
|
finishedAt?: string | undefined;
|
|
@@ -3790,12 +3878,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3790
3878
|
sourceObjectTypeId: string;
|
|
3791
3879
|
}>;
|
|
3792
3880
|
}, "strip", z.ZodTypeAny, {
|
|
3881
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3793
3882
|
projectId: string;
|
|
3794
3883
|
id: string;
|
|
3795
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3796
3884
|
queuedAt: string;
|
|
3797
|
-
attempt: number;
|
|
3798
3885
|
executionId: string;
|
|
3886
|
+
attempt: number;
|
|
3887
|
+
target: {
|
|
3888
|
+
targetObjectTypeId: string;
|
|
3889
|
+
sourceObjectTypeId: string;
|
|
3890
|
+
};
|
|
3799
3891
|
progress: {
|
|
3800
3892
|
sourceRowsRead: number;
|
|
3801
3893
|
sourceRowsSkipped: number;
|
|
@@ -3813,20 +3905,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3813
3905
|
projectionKind: "link";
|
|
3814
3906
|
protocol: "replacement";
|
|
3815
3907
|
};
|
|
3816
|
-
target: {
|
|
3817
|
-
targetObjectTypeId: string;
|
|
3818
|
-
sourceObjectTypeId: string;
|
|
3819
|
-
};
|
|
3820
3908
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3821
3909
|
startedAt?: string | undefined;
|
|
3822
3910
|
finishedAt?: string | undefined;
|
|
3823
3911
|
}, {
|
|
3912
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3824
3913
|
projectId: string;
|
|
3825
3914
|
id: string;
|
|
3826
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3827
3915
|
queuedAt: string;
|
|
3828
|
-
attempt: number;
|
|
3829
3916
|
executionId: string;
|
|
3917
|
+
attempt: number;
|
|
3918
|
+
target: {
|
|
3919
|
+
targetObjectTypeId: string;
|
|
3920
|
+
sourceObjectTypeId: string;
|
|
3921
|
+
};
|
|
3830
3922
|
progress: {
|
|
3831
3923
|
sourceRowsRead: number;
|
|
3832
3924
|
sourceRowsSkipped: number;
|
|
@@ -3844,10 +3936,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3844
3936
|
projectionKind: "link";
|
|
3845
3937
|
protocol: "replacement";
|
|
3846
3938
|
};
|
|
3847
|
-
target: {
|
|
3848
|
-
targetObjectTypeId: string;
|
|
3849
|
-
sourceObjectTypeId: string;
|
|
3850
|
-
};
|
|
3851
3939
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3852
3940
|
startedAt?: string | undefined;
|
|
3853
3941
|
finishedAt?: string | undefined;
|
|
@@ -3926,12 +4014,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3926
4014
|
objectTypeId: string;
|
|
3927
4015
|
}>;
|
|
3928
4016
|
}, "strip", z.ZodTypeAny, {
|
|
4017
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3929
4018
|
projectId: string;
|
|
3930
4019
|
id: string;
|
|
3931
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3932
4020
|
queuedAt: string;
|
|
3933
|
-
attempt: number;
|
|
3934
4021
|
executionId: string;
|
|
4022
|
+
attempt: number;
|
|
4023
|
+
target: {
|
|
4024
|
+
objectTypeId: string;
|
|
4025
|
+
};
|
|
3935
4026
|
progress: {
|
|
3936
4027
|
sourceRowsRead: number;
|
|
3937
4028
|
sourceRowsSkipped: number;
|
|
@@ -3949,19 +4040,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3949
4040
|
projectionKind: "telemetry";
|
|
3950
4041
|
protocol: "telemetry";
|
|
3951
4042
|
};
|
|
3952
|
-
target: {
|
|
3953
|
-
objectTypeId: string;
|
|
3954
|
-
};
|
|
3955
4043
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3956
4044
|
startedAt?: string | undefined;
|
|
3957
4045
|
finishedAt?: string | undefined;
|
|
3958
4046
|
}, {
|
|
4047
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3959
4048
|
projectId: string;
|
|
3960
4049
|
id: string;
|
|
3961
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3962
4050
|
queuedAt: string;
|
|
3963
|
-
attempt: number;
|
|
3964
4051
|
executionId: string;
|
|
4052
|
+
attempt: number;
|
|
4053
|
+
target: {
|
|
4054
|
+
objectTypeId: string;
|
|
4055
|
+
};
|
|
3965
4056
|
progress: {
|
|
3966
4057
|
sourceRowsRead: number;
|
|
3967
4058
|
sourceRowsSkipped: number;
|
|
@@ -3979,25 +4070,28 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3979
4070
|
projectionKind: "telemetry";
|
|
3980
4071
|
protocol: "telemetry";
|
|
3981
4072
|
};
|
|
3982
|
-
target: {
|
|
3983
|
-
objectTypeId: string;
|
|
3984
|
-
};
|
|
3985
4073
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
3986
4074
|
startedAt?: string | undefined;
|
|
3987
4075
|
finishedAt?: string | undefined;
|
|
3988
4076
|
}>]>>;
|
|
3989
4077
|
}, "strip", z.ZodTypeAny, {
|
|
3990
4078
|
id: string;
|
|
4079
|
+
properties: Record<string, {
|
|
4080
|
+
valueField: string;
|
|
4081
|
+
unitField?: string | undefined;
|
|
4082
|
+
}>;
|
|
3991
4083
|
objectTypeId: string;
|
|
3992
4084
|
datasetId: string;
|
|
3993
|
-
propertyId: string;
|
|
3994
4085
|
latestRun: {
|
|
4086
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3995
4087
|
projectId: string;
|
|
3996
4088
|
id: string;
|
|
3997
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
3998
4089
|
queuedAt: string;
|
|
3999
|
-
attempt: number;
|
|
4000
4090
|
executionId: string;
|
|
4091
|
+
attempt: number;
|
|
4092
|
+
target: {
|
|
4093
|
+
objectTypeId: string;
|
|
4094
|
+
};
|
|
4001
4095
|
progress: {
|
|
4002
4096
|
sourceRowsRead: number;
|
|
4003
4097
|
sourceRowsSkipped: number;
|
|
@@ -4015,19 +4109,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4015
4109
|
projectionKind: "object";
|
|
4016
4110
|
protocol: "replacement";
|
|
4017
4111
|
};
|
|
4018
|
-
target: {
|
|
4019
|
-
objectTypeId: string;
|
|
4020
|
-
};
|
|
4021
4112
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4022
4113
|
startedAt?: string | undefined;
|
|
4023
4114
|
finishedAt?: string | undefined;
|
|
4024
4115
|
} | {
|
|
4116
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4025
4117
|
projectId: string;
|
|
4026
4118
|
id: string;
|
|
4027
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4028
4119
|
queuedAt: string;
|
|
4029
|
-
attempt: number;
|
|
4030
4120
|
executionId: string;
|
|
4121
|
+
attempt: number;
|
|
4122
|
+
target: {
|
|
4123
|
+
targetObjectTypeId: string;
|
|
4124
|
+
sourceObjectTypeId: string;
|
|
4125
|
+
};
|
|
4031
4126
|
progress: {
|
|
4032
4127
|
sourceRowsRead: number;
|
|
4033
4128
|
sourceRowsSkipped: number;
|
|
@@ -4045,20 +4140,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4045
4140
|
projectionKind: "link";
|
|
4046
4141
|
protocol: "replacement";
|
|
4047
4142
|
};
|
|
4048
|
-
target: {
|
|
4049
|
-
targetObjectTypeId: string;
|
|
4050
|
-
sourceObjectTypeId: string;
|
|
4051
|
-
};
|
|
4052
4143
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4053
4144
|
startedAt?: string | undefined;
|
|
4054
4145
|
finishedAt?: string | undefined;
|
|
4055
4146
|
} | {
|
|
4147
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4056
4148
|
projectId: string;
|
|
4057
4149
|
id: string;
|
|
4058
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4059
4150
|
queuedAt: string;
|
|
4060
|
-
attempt: number;
|
|
4061
4151
|
executionId: string;
|
|
4152
|
+
attempt: number;
|
|
4153
|
+
target: {
|
|
4154
|
+
objectTypeId: string;
|
|
4155
|
+
};
|
|
4062
4156
|
progress: {
|
|
4063
4157
|
sourceRowsRead: number;
|
|
4064
4158
|
sourceRowsSkipped: number;
|
|
@@ -4076,9 +4170,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4076
4170
|
projectionKind: "telemetry";
|
|
4077
4171
|
protocol: "telemetry";
|
|
4078
4172
|
};
|
|
4079
|
-
target: {
|
|
4080
|
-
objectTypeId: string;
|
|
4081
|
-
};
|
|
4082
4173
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4083
4174
|
startedAt?: string | undefined;
|
|
4084
4175
|
finishedAt?: string | undefined;
|
|
@@ -4086,20 +4177,24 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4086
4177
|
_tag: "TelemetryProjectionDefinition";
|
|
4087
4178
|
objectIdField: string;
|
|
4088
4179
|
atField: string;
|
|
4089
|
-
valueField: string;
|
|
4090
|
-
unitField?: string | undefined;
|
|
4091
4180
|
}, {
|
|
4092
4181
|
id: string;
|
|
4182
|
+
properties: Record<string, {
|
|
4183
|
+
valueField: string;
|
|
4184
|
+
unitField?: string | undefined;
|
|
4185
|
+
}>;
|
|
4093
4186
|
objectTypeId: string;
|
|
4094
4187
|
datasetId: string;
|
|
4095
|
-
propertyId: string;
|
|
4096
4188
|
latestRun: {
|
|
4189
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4097
4190
|
projectId: string;
|
|
4098
4191
|
id: string;
|
|
4099
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4100
4192
|
queuedAt: string;
|
|
4101
|
-
attempt: number;
|
|
4102
4193
|
executionId: string;
|
|
4194
|
+
attempt: number;
|
|
4195
|
+
target: {
|
|
4196
|
+
objectTypeId: string;
|
|
4197
|
+
};
|
|
4103
4198
|
progress: {
|
|
4104
4199
|
sourceRowsRead: number;
|
|
4105
4200
|
sourceRowsSkipped: number;
|
|
@@ -4117,19 +4212,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4117
4212
|
projectionKind: "object";
|
|
4118
4213
|
protocol: "replacement";
|
|
4119
4214
|
};
|
|
4120
|
-
target: {
|
|
4121
|
-
objectTypeId: string;
|
|
4122
|
-
};
|
|
4123
4215
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4124
4216
|
startedAt?: string | undefined;
|
|
4125
4217
|
finishedAt?: string | undefined;
|
|
4126
4218
|
} | {
|
|
4219
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4127
4220
|
projectId: string;
|
|
4128
4221
|
id: string;
|
|
4129
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4130
4222
|
queuedAt: string;
|
|
4131
|
-
attempt: number;
|
|
4132
4223
|
executionId: string;
|
|
4224
|
+
attempt: number;
|
|
4225
|
+
target: {
|
|
4226
|
+
targetObjectTypeId: string;
|
|
4227
|
+
sourceObjectTypeId: string;
|
|
4228
|
+
};
|
|
4133
4229
|
progress: {
|
|
4134
4230
|
sourceRowsRead: number;
|
|
4135
4231
|
sourceRowsSkipped: number;
|
|
@@ -4147,20 +4243,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4147
4243
|
projectionKind: "link";
|
|
4148
4244
|
protocol: "replacement";
|
|
4149
4245
|
};
|
|
4150
|
-
target: {
|
|
4151
|
-
targetObjectTypeId: string;
|
|
4152
|
-
sourceObjectTypeId: string;
|
|
4153
|
-
};
|
|
4154
4246
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4155
4247
|
startedAt?: string | undefined;
|
|
4156
4248
|
finishedAt?: string | undefined;
|
|
4157
4249
|
} | {
|
|
4250
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4158
4251
|
projectId: string;
|
|
4159
4252
|
id: string;
|
|
4160
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4161
4253
|
queuedAt: string;
|
|
4162
|
-
attempt: number;
|
|
4163
4254
|
executionId: string;
|
|
4255
|
+
attempt: number;
|
|
4256
|
+
target: {
|
|
4257
|
+
objectTypeId: string;
|
|
4258
|
+
};
|
|
4164
4259
|
progress: {
|
|
4165
4260
|
sourceRowsRead: number;
|
|
4166
4261
|
sourceRowsSkipped: number;
|
|
@@ -4178,9 +4273,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4178
4273
|
projectionKind: "telemetry";
|
|
4179
4274
|
protocol: "telemetry";
|
|
4180
4275
|
};
|
|
4181
|
-
target: {
|
|
4182
|
-
objectTypeId: string;
|
|
4183
|
-
};
|
|
4184
4276
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4185
4277
|
startedAt?: string | undefined;
|
|
4186
4278
|
finishedAt?: string | undefined;
|
|
@@ -4188,8 +4280,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4188
4280
|
_tag: "TelemetryProjectionDefinition";
|
|
4189
4281
|
objectIdField: string;
|
|
4190
4282
|
atField: string;
|
|
4191
|
-
valueField: string;
|
|
4192
|
-
unitField?: string | undefined;
|
|
4193
4283
|
}>, "many">;
|
|
4194
4284
|
}, "strip", z.ZodTypeAny, {
|
|
4195
4285
|
objectProjections: {
|
|
@@ -4204,12 +4294,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4204
4294
|
objectTypeId: string;
|
|
4205
4295
|
datasetId: string;
|
|
4206
4296
|
latestRun: {
|
|
4297
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4207
4298
|
projectId: string;
|
|
4208
4299
|
id: string;
|
|
4209
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4210
4300
|
queuedAt: string;
|
|
4211
|
-
attempt: number;
|
|
4212
4301
|
executionId: string;
|
|
4302
|
+
attempt: number;
|
|
4303
|
+
target: {
|
|
4304
|
+
objectTypeId: string;
|
|
4305
|
+
};
|
|
4213
4306
|
progress: {
|
|
4214
4307
|
sourceRowsRead: number;
|
|
4215
4308
|
sourceRowsSkipped: number;
|
|
@@ -4227,19 +4320,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4227
4320
|
projectionKind: "object";
|
|
4228
4321
|
protocol: "replacement";
|
|
4229
4322
|
};
|
|
4230
|
-
target: {
|
|
4231
|
-
objectTypeId: string;
|
|
4232
|
-
};
|
|
4233
4323
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4234
4324
|
startedAt?: string | undefined;
|
|
4235
4325
|
finishedAt?: string | undefined;
|
|
4236
4326
|
} | {
|
|
4327
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4237
4328
|
projectId: string;
|
|
4238
4329
|
id: string;
|
|
4239
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4240
4330
|
queuedAt: string;
|
|
4241
|
-
attempt: number;
|
|
4242
4331
|
executionId: string;
|
|
4332
|
+
attempt: number;
|
|
4333
|
+
target: {
|
|
4334
|
+
targetObjectTypeId: string;
|
|
4335
|
+
sourceObjectTypeId: string;
|
|
4336
|
+
};
|
|
4243
4337
|
progress: {
|
|
4244
4338
|
sourceRowsRead: number;
|
|
4245
4339
|
sourceRowsSkipped: number;
|
|
@@ -4257,20 +4351,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4257
4351
|
projectionKind: "link";
|
|
4258
4352
|
protocol: "replacement";
|
|
4259
4353
|
};
|
|
4260
|
-
target: {
|
|
4261
|
-
targetObjectTypeId: string;
|
|
4262
|
-
sourceObjectTypeId: string;
|
|
4263
|
-
};
|
|
4264
4354
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4265
4355
|
startedAt?: string | undefined;
|
|
4266
4356
|
finishedAt?: string | undefined;
|
|
4267
4357
|
} | {
|
|
4358
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4268
4359
|
projectId: string;
|
|
4269
4360
|
id: string;
|
|
4270
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4271
4361
|
queuedAt: string;
|
|
4272
|
-
attempt: number;
|
|
4273
4362
|
executionId: string;
|
|
4363
|
+
attempt: number;
|
|
4364
|
+
target: {
|
|
4365
|
+
objectTypeId: string;
|
|
4366
|
+
};
|
|
4274
4367
|
progress: {
|
|
4275
4368
|
sourceRowsRead: number;
|
|
4276
4369
|
sourceRowsSkipped: number;
|
|
@@ -4288,14 +4381,17 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4288
4381
|
projectionKind: "telemetry";
|
|
4289
4382
|
protocol: "telemetry";
|
|
4290
4383
|
};
|
|
4291
|
-
target: {
|
|
4292
|
-
objectTypeId: string;
|
|
4293
|
-
};
|
|
4294
4384
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4295
4385
|
startedAt?: string | undefined;
|
|
4296
4386
|
finishedAt?: string | undefined;
|
|
4297
4387
|
} | null;
|
|
4298
4388
|
_tag: "ObjectProjectionDefinition";
|
|
4389
|
+
conflictResolution: {
|
|
4390
|
+
strategy: "editsWin";
|
|
4391
|
+
} | {
|
|
4392
|
+
strategy: "mostRecent";
|
|
4393
|
+
sourceTimestamp: string;
|
|
4394
|
+
};
|
|
4299
4395
|
}[];
|
|
4300
4396
|
linkProjections: {
|
|
4301
4397
|
id: string;
|
|
@@ -4304,12 +4400,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4304
4400
|
linkId: string;
|
|
4305
4401
|
sourceObjectTypeId: string;
|
|
4306
4402
|
latestRun: {
|
|
4403
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4307
4404
|
projectId: string;
|
|
4308
4405
|
id: string;
|
|
4309
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4310
4406
|
queuedAt: string;
|
|
4311
|
-
attempt: number;
|
|
4312
4407
|
executionId: string;
|
|
4408
|
+
attempt: number;
|
|
4409
|
+
target: {
|
|
4410
|
+
objectTypeId: string;
|
|
4411
|
+
};
|
|
4313
4412
|
progress: {
|
|
4314
4413
|
sourceRowsRead: number;
|
|
4315
4414
|
sourceRowsSkipped: number;
|
|
@@ -4327,19 +4426,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4327
4426
|
projectionKind: "object";
|
|
4328
4427
|
protocol: "replacement";
|
|
4329
4428
|
};
|
|
4330
|
-
target: {
|
|
4331
|
-
objectTypeId: string;
|
|
4332
|
-
};
|
|
4333
4429
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4334
4430
|
startedAt?: string | undefined;
|
|
4335
4431
|
finishedAt?: string | undefined;
|
|
4336
4432
|
} | {
|
|
4433
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4337
4434
|
projectId: string;
|
|
4338
4435
|
id: string;
|
|
4339
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4340
4436
|
queuedAt: string;
|
|
4341
|
-
attempt: number;
|
|
4342
4437
|
executionId: string;
|
|
4438
|
+
attempt: number;
|
|
4439
|
+
target: {
|
|
4440
|
+
targetObjectTypeId: string;
|
|
4441
|
+
sourceObjectTypeId: string;
|
|
4442
|
+
};
|
|
4343
4443
|
progress: {
|
|
4344
4444
|
sourceRowsRead: number;
|
|
4345
4445
|
sourceRowsSkipped: number;
|
|
@@ -4357,20 +4457,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4357
4457
|
projectionKind: "link";
|
|
4358
4458
|
protocol: "replacement";
|
|
4359
4459
|
};
|
|
4360
|
-
target: {
|
|
4361
|
-
targetObjectTypeId: string;
|
|
4362
|
-
sourceObjectTypeId: string;
|
|
4363
|
-
};
|
|
4364
4460
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4365
4461
|
startedAt?: string | undefined;
|
|
4366
4462
|
finishedAt?: string | undefined;
|
|
4367
4463
|
} | {
|
|
4464
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4368
4465
|
projectId: string;
|
|
4369
4466
|
id: string;
|
|
4370
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4371
4467
|
queuedAt: string;
|
|
4372
|
-
attempt: number;
|
|
4373
4468
|
executionId: string;
|
|
4469
|
+
attempt: number;
|
|
4470
|
+
target: {
|
|
4471
|
+
objectTypeId: string;
|
|
4472
|
+
};
|
|
4374
4473
|
progress: {
|
|
4375
4474
|
sourceRowsRead: number;
|
|
4376
4475
|
sourceRowsSkipped: number;
|
|
@@ -4388,9 +4487,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4388
4487
|
projectionKind: "telemetry";
|
|
4389
4488
|
protocol: "telemetry";
|
|
4390
4489
|
};
|
|
4391
|
-
target: {
|
|
4392
|
-
objectTypeId: string;
|
|
4393
|
-
};
|
|
4394
4490
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4395
4491
|
startedAt?: string | undefined;
|
|
4396
4492
|
finishedAt?: string | undefined;
|
|
@@ -4401,16 +4497,22 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4401
4497
|
}[];
|
|
4402
4498
|
telemetryProjections: {
|
|
4403
4499
|
id: string;
|
|
4500
|
+
properties: Record<string, {
|
|
4501
|
+
valueField: string;
|
|
4502
|
+
unitField?: string | undefined;
|
|
4503
|
+
}>;
|
|
4404
4504
|
objectTypeId: string;
|
|
4405
4505
|
datasetId: string;
|
|
4406
|
-
propertyId: string;
|
|
4407
4506
|
latestRun: {
|
|
4507
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4408
4508
|
projectId: string;
|
|
4409
4509
|
id: string;
|
|
4410
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4411
4510
|
queuedAt: string;
|
|
4412
|
-
attempt: number;
|
|
4413
4511
|
executionId: string;
|
|
4512
|
+
attempt: number;
|
|
4513
|
+
target: {
|
|
4514
|
+
objectTypeId: string;
|
|
4515
|
+
};
|
|
4414
4516
|
progress: {
|
|
4415
4517
|
sourceRowsRead: number;
|
|
4416
4518
|
sourceRowsSkipped: number;
|
|
@@ -4428,19 +4530,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4428
4530
|
projectionKind: "object";
|
|
4429
4531
|
protocol: "replacement";
|
|
4430
4532
|
};
|
|
4431
|
-
target: {
|
|
4432
|
-
objectTypeId: string;
|
|
4433
|
-
};
|
|
4434
4533
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4435
4534
|
startedAt?: string | undefined;
|
|
4436
4535
|
finishedAt?: string | undefined;
|
|
4437
4536
|
} | {
|
|
4537
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4438
4538
|
projectId: string;
|
|
4439
4539
|
id: string;
|
|
4440
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4441
4540
|
queuedAt: string;
|
|
4442
|
-
attempt: number;
|
|
4443
4541
|
executionId: string;
|
|
4542
|
+
attempt: number;
|
|
4543
|
+
target: {
|
|
4544
|
+
targetObjectTypeId: string;
|
|
4545
|
+
sourceObjectTypeId: string;
|
|
4546
|
+
};
|
|
4444
4547
|
progress: {
|
|
4445
4548
|
sourceRowsRead: number;
|
|
4446
4549
|
sourceRowsSkipped: number;
|
|
@@ -4458,20 +4561,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4458
4561
|
projectionKind: "link";
|
|
4459
4562
|
protocol: "replacement";
|
|
4460
4563
|
};
|
|
4461
|
-
target: {
|
|
4462
|
-
targetObjectTypeId: string;
|
|
4463
|
-
sourceObjectTypeId: string;
|
|
4464
|
-
};
|
|
4465
4564
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4466
4565
|
startedAt?: string | undefined;
|
|
4467
4566
|
finishedAt?: string | undefined;
|
|
4468
4567
|
} | {
|
|
4568
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4469
4569
|
projectId: string;
|
|
4470
4570
|
id: string;
|
|
4471
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4472
4571
|
queuedAt: string;
|
|
4473
|
-
attempt: number;
|
|
4474
4572
|
executionId: string;
|
|
4573
|
+
attempt: number;
|
|
4574
|
+
target: {
|
|
4575
|
+
objectTypeId: string;
|
|
4576
|
+
};
|
|
4475
4577
|
progress: {
|
|
4476
4578
|
sourceRowsRead: number;
|
|
4477
4579
|
sourceRowsSkipped: number;
|
|
@@ -4489,9 +4591,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4489
4591
|
projectionKind: "telemetry";
|
|
4490
4592
|
protocol: "telemetry";
|
|
4491
4593
|
};
|
|
4492
|
-
target: {
|
|
4493
|
-
objectTypeId: string;
|
|
4494
|
-
};
|
|
4495
4594
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4496
4595
|
startedAt?: string | undefined;
|
|
4497
4596
|
finishedAt?: string | undefined;
|
|
@@ -4499,8 +4598,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4499
4598
|
_tag: "TelemetryProjectionDefinition";
|
|
4500
4599
|
objectIdField: string;
|
|
4501
4600
|
atField: string;
|
|
4502
|
-
valueField: string;
|
|
4503
|
-
unitField?: string | undefined;
|
|
4504
4601
|
}[];
|
|
4505
4602
|
}, {
|
|
4506
4603
|
objectProjections: {
|
|
@@ -4515,12 +4612,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4515
4612
|
objectTypeId: string;
|
|
4516
4613
|
datasetId: string;
|
|
4517
4614
|
latestRun: {
|
|
4615
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4518
4616
|
projectId: string;
|
|
4519
4617
|
id: string;
|
|
4520
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4521
4618
|
queuedAt: string;
|
|
4522
|
-
attempt: number;
|
|
4523
4619
|
executionId: string;
|
|
4620
|
+
attempt: number;
|
|
4621
|
+
target: {
|
|
4622
|
+
objectTypeId: string;
|
|
4623
|
+
};
|
|
4524
4624
|
progress: {
|
|
4525
4625
|
sourceRowsRead: number;
|
|
4526
4626
|
sourceRowsSkipped: number;
|
|
@@ -4538,19 +4638,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4538
4638
|
projectionKind: "object";
|
|
4539
4639
|
protocol: "replacement";
|
|
4540
4640
|
};
|
|
4541
|
-
target: {
|
|
4542
|
-
objectTypeId: string;
|
|
4543
|
-
};
|
|
4544
4641
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4545
4642
|
startedAt?: string | undefined;
|
|
4546
4643
|
finishedAt?: string | undefined;
|
|
4547
4644
|
} | {
|
|
4645
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4548
4646
|
projectId: string;
|
|
4549
4647
|
id: string;
|
|
4550
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4551
4648
|
queuedAt: string;
|
|
4552
|
-
attempt: number;
|
|
4553
4649
|
executionId: string;
|
|
4650
|
+
attempt: number;
|
|
4651
|
+
target: {
|
|
4652
|
+
targetObjectTypeId: string;
|
|
4653
|
+
sourceObjectTypeId: string;
|
|
4654
|
+
};
|
|
4554
4655
|
progress: {
|
|
4555
4656
|
sourceRowsRead: number;
|
|
4556
4657
|
sourceRowsSkipped: number;
|
|
@@ -4568,20 +4669,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4568
4669
|
projectionKind: "link";
|
|
4569
4670
|
protocol: "replacement";
|
|
4570
4671
|
};
|
|
4571
|
-
target: {
|
|
4572
|
-
targetObjectTypeId: string;
|
|
4573
|
-
sourceObjectTypeId: string;
|
|
4574
|
-
};
|
|
4575
4672
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4576
4673
|
startedAt?: string | undefined;
|
|
4577
4674
|
finishedAt?: string | undefined;
|
|
4578
4675
|
} | {
|
|
4676
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4579
4677
|
projectId: string;
|
|
4580
4678
|
id: string;
|
|
4581
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4582
4679
|
queuedAt: string;
|
|
4583
|
-
attempt: number;
|
|
4584
4680
|
executionId: string;
|
|
4681
|
+
attempt: number;
|
|
4682
|
+
target: {
|
|
4683
|
+
objectTypeId: string;
|
|
4684
|
+
};
|
|
4585
4685
|
progress: {
|
|
4586
4686
|
sourceRowsRead: number;
|
|
4587
4687
|
sourceRowsSkipped: number;
|
|
@@ -4599,14 +4699,17 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4599
4699
|
projectionKind: "telemetry";
|
|
4600
4700
|
protocol: "telemetry";
|
|
4601
4701
|
};
|
|
4602
|
-
target: {
|
|
4603
|
-
objectTypeId: string;
|
|
4604
|
-
};
|
|
4605
4702
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4606
4703
|
startedAt?: string | undefined;
|
|
4607
4704
|
finishedAt?: string | undefined;
|
|
4608
4705
|
} | null;
|
|
4609
4706
|
_tag: "ObjectProjectionDefinition";
|
|
4707
|
+
conflictResolution: {
|
|
4708
|
+
strategy: "editsWin";
|
|
4709
|
+
} | {
|
|
4710
|
+
strategy: "mostRecent";
|
|
4711
|
+
sourceTimestamp: string;
|
|
4712
|
+
};
|
|
4610
4713
|
}[];
|
|
4611
4714
|
linkProjections: {
|
|
4612
4715
|
id: string;
|
|
@@ -4615,12 +4718,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4615
4718
|
linkId: string;
|
|
4616
4719
|
sourceObjectTypeId: string;
|
|
4617
4720
|
latestRun: {
|
|
4721
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4618
4722
|
projectId: string;
|
|
4619
4723
|
id: string;
|
|
4620
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4621
4724
|
queuedAt: string;
|
|
4622
|
-
attempt: number;
|
|
4623
4725
|
executionId: string;
|
|
4726
|
+
attempt: number;
|
|
4727
|
+
target: {
|
|
4728
|
+
objectTypeId: string;
|
|
4729
|
+
};
|
|
4624
4730
|
progress: {
|
|
4625
4731
|
sourceRowsRead: number;
|
|
4626
4732
|
sourceRowsSkipped: number;
|
|
@@ -4638,19 +4744,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4638
4744
|
projectionKind: "object";
|
|
4639
4745
|
protocol: "replacement";
|
|
4640
4746
|
};
|
|
4641
|
-
target: {
|
|
4642
|
-
objectTypeId: string;
|
|
4643
|
-
};
|
|
4644
4747
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4645
4748
|
startedAt?: string | undefined;
|
|
4646
4749
|
finishedAt?: string | undefined;
|
|
4647
4750
|
} | {
|
|
4751
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4648
4752
|
projectId: string;
|
|
4649
4753
|
id: string;
|
|
4650
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4651
4754
|
queuedAt: string;
|
|
4652
|
-
attempt: number;
|
|
4653
4755
|
executionId: string;
|
|
4756
|
+
attempt: number;
|
|
4757
|
+
target: {
|
|
4758
|
+
targetObjectTypeId: string;
|
|
4759
|
+
sourceObjectTypeId: string;
|
|
4760
|
+
};
|
|
4654
4761
|
progress: {
|
|
4655
4762
|
sourceRowsRead: number;
|
|
4656
4763
|
sourceRowsSkipped: number;
|
|
@@ -4668,20 +4775,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4668
4775
|
projectionKind: "link";
|
|
4669
4776
|
protocol: "replacement";
|
|
4670
4777
|
};
|
|
4671
|
-
target: {
|
|
4672
|
-
targetObjectTypeId: string;
|
|
4673
|
-
sourceObjectTypeId: string;
|
|
4674
|
-
};
|
|
4675
4778
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4676
4779
|
startedAt?: string | undefined;
|
|
4677
4780
|
finishedAt?: string | undefined;
|
|
4678
4781
|
} | {
|
|
4782
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4679
4783
|
projectId: string;
|
|
4680
4784
|
id: string;
|
|
4681
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4682
4785
|
queuedAt: string;
|
|
4683
|
-
attempt: number;
|
|
4684
4786
|
executionId: string;
|
|
4787
|
+
attempt: number;
|
|
4788
|
+
target: {
|
|
4789
|
+
objectTypeId: string;
|
|
4790
|
+
};
|
|
4685
4791
|
progress: {
|
|
4686
4792
|
sourceRowsRead: number;
|
|
4687
4793
|
sourceRowsSkipped: number;
|
|
@@ -4699,9 +4805,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4699
4805
|
projectionKind: "telemetry";
|
|
4700
4806
|
protocol: "telemetry";
|
|
4701
4807
|
};
|
|
4702
|
-
target: {
|
|
4703
|
-
objectTypeId: string;
|
|
4704
|
-
};
|
|
4705
4808
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4706
4809
|
startedAt?: string | undefined;
|
|
4707
4810
|
finishedAt?: string | undefined;
|
|
@@ -4712,16 +4815,22 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4712
4815
|
}[];
|
|
4713
4816
|
telemetryProjections: {
|
|
4714
4817
|
id: string;
|
|
4818
|
+
properties: Record<string, {
|
|
4819
|
+
valueField: string;
|
|
4820
|
+
unitField?: string | undefined;
|
|
4821
|
+
}>;
|
|
4715
4822
|
objectTypeId: string;
|
|
4716
4823
|
datasetId: string;
|
|
4717
|
-
propertyId: string;
|
|
4718
4824
|
latestRun: {
|
|
4825
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4719
4826
|
projectId: string;
|
|
4720
4827
|
id: string;
|
|
4721
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4722
4828
|
queuedAt: string;
|
|
4723
|
-
attempt: number;
|
|
4724
4829
|
executionId: string;
|
|
4830
|
+
attempt: number;
|
|
4831
|
+
target: {
|
|
4832
|
+
objectTypeId: string;
|
|
4833
|
+
};
|
|
4725
4834
|
progress: {
|
|
4726
4835
|
sourceRowsRead: number;
|
|
4727
4836
|
sourceRowsSkipped: number;
|
|
@@ -4739,19 +4848,20 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4739
4848
|
projectionKind: "object";
|
|
4740
4849
|
protocol: "replacement";
|
|
4741
4850
|
};
|
|
4742
|
-
target: {
|
|
4743
|
-
objectTypeId: string;
|
|
4744
|
-
};
|
|
4745
4851
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4746
4852
|
startedAt?: string | undefined;
|
|
4747
4853
|
finishedAt?: string | undefined;
|
|
4748
4854
|
} | {
|
|
4855
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4749
4856
|
projectId: string;
|
|
4750
4857
|
id: string;
|
|
4751
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4752
4858
|
queuedAt: string;
|
|
4753
|
-
attempt: number;
|
|
4754
4859
|
executionId: string;
|
|
4860
|
+
attempt: number;
|
|
4861
|
+
target: {
|
|
4862
|
+
targetObjectTypeId: string;
|
|
4863
|
+
sourceObjectTypeId: string;
|
|
4864
|
+
};
|
|
4755
4865
|
progress: {
|
|
4756
4866
|
sourceRowsRead: number;
|
|
4757
4867
|
sourceRowsSkipped: number;
|
|
@@ -4769,20 +4879,19 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4769
4879
|
projectionKind: "link";
|
|
4770
4880
|
protocol: "replacement";
|
|
4771
4881
|
};
|
|
4772
|
-
target: {
|
|
4773
|
-
targetObjectTypeId: string;
|
|
4774
|
-
sourceObjectTypeId: string;
|
|
4775
|
-
};
|
|
4776
4882
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4777
4883
|
startedAt?: string | undefined;
|
|
4778
4884
|
finishedAt?: string | undefined;
|
|
4779
4885
|
} | {
|
|
4886
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4780
4887
|
projectId: string;
|
|
4781
4888
|
id: string;
|
|
4782
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4783
4889
|
queuedAt: string;
|
|
4784
|
-
attempt: number;
|
|
4785
4890
|
executionId: string;
|
|
4891
|
+
attempt: number;
|
|
4892
|
+
target: {
|
|
4893
|
+
objectTypeId: string;
|
|
4894
|
+
};
|
|
4786
4895
|
progress: {
|
|
4787
4896
|
sourceRowsRead: number;
|
|
4788
4897
|
sourceRowsSkipped: number;
|
|
@@ -4800,9 +4909,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4800
4909
|
projectionKind: "telemetry";
|
|
4801
4910
|
protocol: "telemetry";
|
|
4802
4911
|
};
|
|
4803
|
-
target: {
|
|
4804
|
-
objectTypeId: string;
|
|
4805
|
-
};
|
|
4806
4912
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4807
4913
|
startedAt?: string | undefined;
|
|
4808
4914
|
finishedAt?: string | undefined;
|
|
@@ -4810,8 +4916,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4810
4916
|
_tag: "TelemetryProjectionDefinition";
|
|
4811
4917
|
objectIdField: string;
|
|
4812
4918
|
atField: string;
|
|
4813
|
-
valueField: string;
|
|
4814
|
-
unitField?: string | undefined;
|
|
4815
4919
|
}[];
|
|
4816
4920
|
}>;
|
|
4817
4921
|
export declare const ProjectionParamsSchema: z.ZodObject<{
|
|
@@ -4843,6 +4947,22 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4843
4947
|
sourcePropertyId?: string | undefined;
|
|
4844
4948
|
sourceField?: string | undefined;
|
|
4845
4949
|
}>>;
|
|
4950
|
+
conflictResolution: z.ZodUnion<[z.ZodObject<{
|
|
4951
|
+
strategy: z.ZodLiteral<"editsWin">;
|
|
4952
|
+
}, "strip", z.ZodTypeAny, {
|
|
4953
|
+
strategy: "editsWin";
|
|
4954
|
+
}, {
|
|
4955
|
+
strategy: "editsWin";
|
|
4956
|
+
}>, z.ZodObject<{
|
|
4957
|
+
strategy: z.ZodLiteral<"mostRecent">;
|
|
4958
|
+
sourceTimestamp: z.ZodString;
|
|
4959
|
+
}, "strip", z.ZodTypeAny, {
|
|
4960
|
+
strategy: "mostRecent";
|
|
4961
|
+
sourceTimestamp: string;
|
|
4962
|
+
}, {
|
|
4963
|
+
strategy: "mostRecent";
|
|
4964
|
+
sourceTimestamp: string;
|
|
4965
|
+
}>]>;
|
|
4846
4966
|
latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
4847
4967
|
id: z.ZodString;
|
|
4848
4968
|
projectId: z.ZodString;
|
|
@@ -4918,12 +5038,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4918
5038
|
objectTypeId: string;
|
|
4919
5039
|
}>;
|
|
4920
5040
|
}, "strip", z.ZodTypeAny, {
|
|
5041
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4921
5042
|
projectId: string;
|
|
4922
5043
|
id: string;
|
|
4923
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4924
5044
|
queuedAt: string;
|
|
4925
|
-
attempt: number;
|
|
4926
5045
|
executionId: string;
|
|
5046
|
+
attempt: number;
|
|
5047
|
+
target: {
|
|
5048
|
+
objectTypeId: string;
|
|
5049
|
+
};
|
|
4927
5050
|
progress: {
|
|
4928
5051
|
sourceRowsRead: number;
|
|
4929
5052
|
sourceRowsSkipped: number;
|
|
@@ -4941,19 +5064,19 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4941
5064
|
projectionKind: "object";
|
|
4942
5065
|
protocol: "replacement";
|
|
4943
5066
|
};
|
|
4944
|
-
target: {
|
|
4945
|
-
objectTypeId: string;
|
|
4946
|
-
};
|
|
4947
5067
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4948
5068
|
startedAt?: string | undefined;
|
|
4949
5069
|
finishedAt?: string | undefined;
|
|
4950
5070
|
}, {
|
|
5071
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4951
5072
|
projectId: string;
|
|
4952
5073
|
id: string;
|
|
4953
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
4954
5074
|
queuedAt: string;
|
|
4955
|
-
attempt: number;
|
|
4956
5075
|
executionId: string;
|
|
5076
|
+
attempt: number;
|
|
5077
|
+
target: {
|
|
5078
|
+
objectTypeId: string;
|
|
5079
|
+
};
|
|
4957
5080
|
progress: {
|
|
4958
5081
|
sourceRowsRead: number;
|
|
4959
5082
|
sourceRowsSkipped: number;
|
|
@@ -4969,10 +5092,7 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4969
5092
|
projectionRevision: string;
|
|
4970
5093
|
ownershipHash: string;
|
|
4971
5094
|
projectionKind: "object";
|
|
4972
|
-
protocol: "replacement";
|
|
4973
|
-
};
|
|
4974
|
-
target: {
|
|
4975
|
-
objectTypeId: string;
|
|
5095
|
+
protocol: "replacement";
|
|
4976
5096
|
};
|
|
4977
5097
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
4978
5098
|
startedAt?: string | undefined;
|
|
@@ -5055,12 +5175,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5055
5175
|
sourceObjectTypeId: string;
|
|
5056
5176
|
}>;
|
|
5057
5177
|
}, "strip", z.ZodTypeAny, {
|
|
5178
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5058
5179
|
projectId: string;
|
|
5059
5180
|
id: string;
|
|
5060
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5061
5181
|
queuedAt: string;
|
|
5062
|
-
attempt: number;
|
|
5063
5182
|
executionId: string;
|
|
5183
|
+
attempt: number;
|
|
5184
|
+
target: {
|
|
5185
|
+
targetObjectTypeId: string;
|
|
5186
|
+
sourceObjectTypeId: string;
|
|
5187
|
+
};
|
|
5064
5188
|
progress: {
|
|
5065
5189
|
sourceRowsRead: number;
|
|
5066
5190
|
sourceRowsSkipped: number;
|
|
@@ -5078,20 +5202,20 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5078
5202
|
projectionKind: "link";
|
|
5079
5203
|
protocol: "replacement";
|
|
5080
5204
|
};
|
|
5081
|
-
target: {
|
|
5082
|
-
targetObjectTypeId: string;
|
|
5083
|
-
sourceObjectTypeId: string;
|
|
5084
|
-
};
|
|
5085
5205
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5086
5206
|
startedAt?: string | undefined;
|
|
5087
5207
|
finishedAt?: string | undefined;
|
|
5088
5208
|
}, {
|
|
5209
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5089
5210
|
projectId: string;
|
|
5090
5211
|
id: string;
|
|
5091
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5092
5212
|
queuedAt: string;
|
|
5093
|
-
attempt: number;
|
|
5094
5213
|
executionId: string;
|
|
5214
|
+
attempt: number;
|
|
5215
|
+
target: {
|
|
5216
|
+
targetObjectTypeId: string;
|
|
5217
|
+
sourceObjectTypeId: string;
|
|
5218
|
+
};
|
|
5095
5219
|
progress: {
|
|
5096
5220
|
sourceRowsRead: number;
|
|
5097
5221
|
sourceRowsSkipped: number;
|
|
@@ -5109,10 +5233,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5109
5233
|
projectionKind: "link";
|
|
5110
5234
|
protocol: "replacement";
|
|
5111
5235
|
};
|
|
5112
|
-
target: {
|
|
5113
|
-
targetObjectTypeId: string;
|
|
5114
|
-
sourceObjectTypeId: string;
|
|
5115
|
-
};
|
|
5116
5236
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5117
5237
|
startedAt?: string | undefined;
|
|
5118
5238
|
finishedAt?: string | undefined;
|
|
@@ -5191,12 +5311,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5191
5311
|
objectTypeId: string;
|
|
5192
5312
|
}>;
|
|
5193
5313
|
}, "strip", z.ZodTypeAny, {
|
|
5314
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5194
5315
|
projectId: string;
|
|
5195
5316
|
id: string;
|
|
5196
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5197
5317
|
queuedAt: string;
|
|
5198
|
-
attempt: number;
|
|
5199
5318
|
executionId: string;
|
|
5319
|
+
attempt: number;
|
|
5320
|
+
target: {
|
|
5321
|
+
objectTypeId: string;
|
|
5322
|
+
};
|
|
5200
5323
|
progress: {
|
|
5201
5324
|
sourceRowsRead: number;
|
|
5202
5325
|
sourceRowsSkipped: number;
|
|
@@ -5214,19 +5337,19 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5214
5337
|
projectionKind: "telemetry";
|
|
5215
5338
|
protocol: "telemetry";
|
|
5216
5339
|
};
|
|
5217
|
-
target: {
|
|
5218
|
-
objectTypeId: string;
|
|
5219
|
-
};
|
|
5220
5340
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5221
5341
|
startedAt?: string | undefined;
|
|
5222
5342
|
finishedAt?: string | undefined;
|
|
5223
5343
|
}, {
|
|
5344
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5224
5345
|
projectId: string;
|
|
5225
5346
|
id: string;
|
|
5226
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5227
5347
|
queuedAt: string;
|
|
5228
|
-
attempt: number;
|
|
5229
5348
|
executionId: string;
|
|
5349
|
+
attempt: number;
|
|
5350
|
+
target: {
|
|
5351
|
+
objectTypeId: string;
|
|
5352
|
+
};
|
|
5230
5353
|
progress: {
|
|
5231
5354
|
sourceRowsRead: number;
|
|
5232
5355
|
sourceRowsSkipped: number;
|
|
@@ -5244,9 +5367,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5244
5367
|
projectionKind: "telemetry";
|
|
5245
5368
|
protocol: "telemetry";
|
|
5246
5369
|
};
|
|
5247
|
-
target: {
|
|
5248
|
-
objectTypeId: string;
|
|
5249
|
-
};
|
|
5250
5370
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5251
5371
|
startedAt?: string | undefined;
|
|
5252
5372
|
finishedAt?: string | undefined;
|
|
@@ -5263,12 +5383,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5263
5383
|
objectTypeId: string;
|
|
5264
5384
|
datasetId: string;
|
|
5265
5385
|
latestRun: {
|
|
5386
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5266
5387
|
projectId: string;
|
|
5267
5388
|
id: string;
|
|
5268
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5269
5389
|
queuedAt: string;
|
|
5270
|
-
attempt: number;
|
|
5271
5390
|
executionId: string;
|
|
5391
|
+
attempt: number;
|
|
5392
|
+
target: {
|
|
5393
|
+
objectTypeId: string;
|
|
5394
|
+
};
|
|
5272
5395
|
progress: {
|
|
5273
5396
|
sourceRowsRead: number;
|
|
5274
5397
|
sourceRowsSkipped: number;
|
|
@@ -5286,19 +5409,20 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5286
5409
|
projectionKind: "object";
|
|
5287
5410
|
protocol: "replacement";
|
|
5288
5411
|
};
|
|
5289
|
-
target: {
|
|
5290
|
-
objectTypeId: string;
|
|
5291
|
-
};
|
|
5292
5412
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5293
5413
|
startedAt?: string | undefined;
|
|
5294
5414
|
finishedAt?: string | undefined;
|
|
5295
5415
|
} | {
|
|
5416
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5296
5417
|
projectId: string;
|
|
5297
5418
|
id: string;
|
|
5298
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5299
5419
|
queuedAt: string;
|
|
5300
|
-
attempt: number;
|
|
5301
5420
|
executionId: string;
|
|
5421
|
+
attempt: number;
|
|
5422
|
+
target: {
|
|
5423
|
+
targetObjectTypeId: string;
|
|
5424
|
+
sourceObjectTypeId: string;
|
|
5425
|
+
};
|
|
5302
5426
|
progress: {
|
|
5303
5427
|
sourceRowsRead: number;
|
|
5304
5428
|
sourceRowsSkipped: number;
|
|
@@ -5316,20 +5440,19 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5316
5440
|
projectionKind: "link";
|
|
5317
5441
|
protocol: "replacement";
|
|
5318
5442
|
};
|
|
5319
|
-
target: {
|
|
5320
|
-
targetObjectTypeId: string;
|
|
5321
|
-
sourceObjectTypeId: string;
|
|
5322
|
-
};
|
|
5323
5443
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5324
5444
|
startedAt?: string | undefined;
|
|
5325
5445
|
finishedAt?: string | undefined;
|
|
5326
5446
|
} | {
|
|
5447
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5327
5448
|
projectId: string;
|
|
5328
5449
|
id: string;
|
|
5329
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5330
5450
|
queuedAt: string;
|
|
5331
|
-
attempt: number;
|
|
5332
5451
|
executionId: string;
|
|
5452
|
+
attempt: number;
|
|
5453
|
+
target: {
|
|
5454
|
+
objectTypeId: string;
|
|
5455
|
+
};
|
|
5333
5456
|
progress: {
|
|
5334
5457
|
sourceRowsRead: number;
|
|
5335
5458
|
sourceRowsSkipped: number;
|
|
@@ -5347,14 +5470,17 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5347
5470
|
projectionKind: "telemetry";
|
|
5348
5471
|
protocol: "telemetry";
|
|
5349
5472
|
};
|
|
5350
|
-
target: {
|
|
5351
|
-
objectTypeId: string;
|
|
5352
|
-
};
|
|
5353
5473
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5354
5474
|
startedAt?: string | undefined;
|
|
5355
5475
|
finishedAt?: string | undefined;
|
|
5356
5476
|
} | null;
|
|
5357
5477
|
_tag: "ObjectProjectionDefinition";
|
|
5478
|
+
conflictResolution: {
|
|
5479
|
+
strategy: "editsWin";
|
|
5480
|
+
} | {
|
|
5481
|
+
strategy: "mostRecent";
|
|
5482
|
+
sourceTimestamp: string;
|
|
5483
|
+
};
|
|
5358
5484
|
}, {
|
|
5359
5485
|
id: string;
|
|
5360
5486
|
links: Record<string, {
|
|
@@ -5367,12 +5493,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5367
5493
|
objectTypeId: string;
|
|
5368
5494
|
datasetId: string;
|
|
5369
5495
|
latestRun: {
|
|
5496
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5370
5497
|
projectId: string;
|
|
5371
5498
|
id: string;
|
|
5372
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5373
5499
|
queuedAt: string;
|
|
5374
|
-
attempt: number;
|
|
5375
5500
|
executionId: string;
|
|
5501
|
+
attempt: number;
|
|
5502
|
+
target: {
|
|
5503
|
+
objectTypeId: string;
|
|
5504
|
+
};
|
|
5376
5505
|
progress: {
|
|
5377
5506
|
sourceRowsRead: number;
|
|
5378
5507
|
sourceRowsSkipped: number;
|
|
@@ -5390,19 +5519,20 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5390
5519
|
projectionKind: "object";
|
|
5391
5520
|
protocol: "replacement";
|
|
5392
5521
|
};
|
|
5393
|
-
target: {
|
|
5394
|
-
objectTypeId: string;
|
|
5395
|
-
};
|
|
5396
5522
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5397
5523
|
startedAt?: string | undefined;
|
|
5398
5524
|
finishedAt?: string | undefined;
|
|
5399
5525
|
} | {
|
|
5526
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5400
5527
|
projectId: string;
|
|
5401
5528
|
id: string;
|
|
5402
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5403
5529
|
queuedAt: string;
|
|
5404
|
-
attempt: number;
|
|
5405
5530
|
executionId: string;
|
|
5531
|
+
attempt: number;
|
|
5532
|
+
target: {
|
|
5533
|
+
targetObjectTypeId: string;
|
|
5534
|
+
sourceObjectTypeId: string;
|
|
5535
|
+
};
|
|
5406
5536
|
progress: {
|
|
5407
5537
|
sourceRowsRead: number;
|
|
5408
5538
|
sourceRowsSkipped: number;
|
|
@@ -5420,20 +5550,19 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5420
5550
|
projectionKind: "link";
|
|
5421
5551
|
protocol: "replacement";
|
|
5422
5552
|
};
|
|
5423
|
-
target: {
|
|
5424
|
-
targetObjectTypeId: string;
|
|
5425
|
-
sourceObjectTypeId: string;
|
|
5426
|
-
};
|
|
5427
5553
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5428
5554
|
startedAt?: string | undefined;
|
|
5429
5555
|
finishedAt?: string | undefined;
|
|
5430
5556
|
} | {
|
|
5557
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5431
5558
|
projectId: string;
|
|
5432
5559
|
id: string;
|
|
5433
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5434
5560
|
queuedAt: string;
|
|
5435
|
-
attempt: number;
|
|
5436
5561
|
executionId: string;
|
|
5562
|
+
attempt: number;
|
|
5563
|
+
target: {
|
|
5564
|
+
objectTypeId: string;
|
|
5565
|
+
};
|
|
5437
5566
|
progress: {
|
|
5438
5567
|
sourceRowsRead: number;
|
|
5439
5568
|
sourceRowsSkipped: number;
|
|
@@ -5451,14 +5580,17 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5451
5580
|
projectionKind: "telemetry";
|
|
5452
5581
|
protocol: "telemetry";
|
|
5453
5582
|
};
|
|
5454
|
-
target: {
|
|
5455
|
-
objectTypeId: string;
|
|
5456
|
-
};
|
|
5457
5583
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5458
5584
|
startedAt?: string | undefined;
|
|
5459
5585
|
finishedAt?: string | undefined;
|
|
5460
5586
|
} | null;
|
|
5461
5587
|
_tag: "ObjectProjectionDefinition";
|
|
5588
|
+
conflictResolution: {
|
|
5589
|
+
strategy: "editsWin";
|
|
5590
|
+
} | {
|
|
5591
|
+
strategy: "mostRecent";
|
|
5592
|
+
sourceTimestamp: string;
|
|
5593
|
+
};
|
|
5462
5594
|
}>, z.ZodObject<{
|
|
5463
5595
|
_tag: z.ZodLiteral<"LinkProjectionDefinition">;
|
|
5464
5596
|
id: z.ZodString;
|
|
@@ -5543,12 +5675,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5543
5675
|
objectTypeId: string;
|
|
5544
5676
|
}>;
|
|
5545
5677
|
}, "strip", z.ZodTypeAny, {
|
|
5678
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5546
5679
|
projectId: string;
|
|
5547
5680
|
id: string;
|
|
5548
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5549
5681
|
queuedAt: string;
|
|
5550
|
-
attempt: number;
|
|
5551
5682
|
executionId: string;
|
|
5683
|
+
attempt: number;
|
|
5684
|
+
target: {
|
|
5685
|
+
objectTypeId: string;
|
|
5686
|
+
};
|
|
5552
5687
|
progress: {
|
|
5553
5688
|
sourceRowsRead: number;
|
|
5554
5689
|
sourceRowsSkipped: number;
|
|
@@ -5566,19 +5701,19 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5566
5701
|
projectionKind: "object";
|
|
5567
5702
|
protocol: "replacement";
|
|
5568
5703
|
};
|
|
5569
|
-
target: {
|
|
5570
|
-
objectTypeId: string;
|
|
5571
|
-
};
|
|
5572
5704
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5573
5705
|
startedAt?: string | undefined;
|
|
5574
5706
|
finishedAt?: string | undefined;
|
|
5575
5707
|
}, {
|
|
5708
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5576
5709
|
projectId: string;
|
|
5577
5710
|
id: string;
|
|
5578
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5579
5711
|
queuedAt: string;
|
|
5580
|
-
attempt: number;
|
|
5581
5712
|
executionId: string;
|
|
5713
|
+
attempt: number;
|
|
5714
|
+
target: {
|
|
5715
|
+
objectTypeId: string;
|
|
5716
|
+
};
|
|
5582
5717
|
progress: {
|
|
5583
5718
|
sourceRowsRead: number;
|
|
5584
5719
|
sourceRowsSkipped: number;
|
|
@@ -5596,9 +5731,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5596
5731
|
projectionKind: "object";
|
|
5597
5732
|
protocol: "replacement";
|
|
5598
5733
|
};
|
|
5599
|
-
target: {
|
|
5600
|
-
objectTypeId: string;
|
|
5601
|
-
};
|
|
5602
5734
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5603
5735
|
startedAt?: string | undefined;
|
|
5604
5736
|
finishedAt?: string | undefined;
|
|
@@ -5680,12 +5812,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5680
5812
|
sourceObjectTypeId: string;
|
|
5681
5813
|
}>;
|
|
5682
5814
|
}, "strip", z.ZodTypeAny, {
|
|
5815
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5683
5816
|
projectId: string;
|
|
5684
5817
|
id: string;
|
|
5685
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5686
5818
|
queuedAt: string;
|
|
5687
|
-
attempt: number;
|
|
5688
5819
|
executionId: string;
|
|
5820
|
+
attempt: number;
|
|
5821
|
+
target: {
|
|
5822
|
+
targetObjectTypeId: string;
|
|
5823
|
+
sourceObjectTypeId: string;
|
|
5824
|
+
};
|
|
5689
5825
|
progress: {
|
|
5690
5826
|
sourceRowsRead: number;
|
|
5691
5827
|
sourceRowsSkipped: number;
|
|
@@ -5703,20 +5839,20 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5703
5839
|
projectionKind: "link";
|
|
5704
5840
|
protocol: "replacement";
|
|
5705
5841
|
};
|
|
5706
|
-
target: {
|
|
5707
|
-
targetObjectTypeId: string;
|
|
5708
|
-
sourceObjectTypeId: string;
|
|
5709
|
-
};
|
|
5710
5842
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5711
5843
|
startedAt?: string | undefined;
|
|
5712
5844
|
finishedAt?: string | undefined;
|
|
5713
5845
|
}, {
|
|
5846
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5714
5847
|
projectId: string;
|
|
5715
5848
|
id: string;
|
|
5716
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5717
5849
|
queuedAt: string;
|
|
5718
|
-
attempt: number;
|
|
5719
5850
|
executionId: string;
|
|
5851
|
+
attempt: number;
|
|
5852
|
+
target: {
|
|
5853
|
+
targetObjectTypeId: string;
|
|
5854
|
+
sourceObjectTypeId: string;
|
|
5855
|
+
};
|
|
5720
5856
|
progress: {
|
|
5721
5857
|
sourceRowsRead: number;
|
|
5722
5858
|
sourceRowsSkipped: number;
|
|
@@ -5734,10 +5870,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5734
5870
|
projectionKind: "link";
|
|
5735
5871
|
protocol: "replacement";
|
|
5736
5872
|
};
|
|
5737
|
-
target: {
|
|
5738
|
-
targetObjectTypeId: string;
|
|
5739
|
-
sourceObjectTypeId: string;
|
|
5740
|
-
};
|
|
5741
5873
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5742
5874
|
startedAt?: string | undefined;
|
|
5743
5875
|
finishedAt?: string | undefined;
|
|
@@ -5816,12 +5948,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5816
5948
|
objectTypeId: string;
|
|
5817
5949
|
}>;
|
|
5818
5950
|
}, "strip", z.ZodTypeAny, {
|
|
5951
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5819
5952
|
projectId: string;
|
|
5820
5953
|
id: string;
|
|
5821
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5822
5954
|
queuedAt: string;
|
|
5823
|
-
attempt: number;
|
|
5824
5955
|
executionId: string;
|
|
5956
|
+
attempt: number;
|
|
5957
|
+
target: {
|
|
5958
|
+
objectTypeId: string;
|
|
5959
|
+
};
|
|
5825
5960
|
progress: {
|
|
5826
5961
|
sourceRowsRead: number;
|
|
5827
5962
|
sourceRowsSkipped: number;
|
|
@@ -5839,19 +5974,19 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5839
5974
|
projectionKind: "telemetry";
|
|
5840
5975
|
protocol: "telemetry";
|
|
5841
5976
|
};
|
|
5842
|
-
target: {
|
|
5843
|
-
objectTypeId: string;
|
|
5844
|
-
};
|
|
5845
5977
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5846
5978
|
startedAt?: string | undefined;
|
|
5847
5979
|
finishedAt?: string | undefined;
|
|
5848
5980
|
}, {
|
|
5981
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5849
5982
|
projectId: string;
|
|
5850
5983
|
id: string;
|
|
5851
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5852
5984
|
queuedAt: string;
|
|
5853
|
-
attempt: number;
|
|
5854
5985
|
executionId: string;
|
|
5986
|
+
attempt: number;
|
|
5987
|
+
target: {
|
|
5988
|
+
objectTypeId: string;
|
|
5989
|
+
};
|
|
5855
5990
|
progress: {
|
|
5856
5991
|
sourceRowsRead: number;
|
|
5857
5992
|
sourceRowsSkipped: number;
|
|
@@ -5869,9 +6004,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5869
6004
|
projectionKind: "telemetry";
|
|
5870
6005
|
protocol: "telemetry";
|
|
5871
6006
|
};
|
|
5872
|
-
target: {
|
|
5873
|
-
objectTypeId: string;
|
|
5874
|
-
};
|
|
5875
6007
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5876
6008
|
startedAt?: string | undefined;
|
|
5877
6009
|
finishedAt?: string | undefined;
|
|
@@ -5883,12 +6015,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5883
6015
|
linkId: string;
|
|
5884
6016
|
sourceObjectTypeId: string;
|
|
5885
6017
|
latestRun: {
|
|
6018
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5886
6019
|
projectId: string;
|
|
5887
6020
|
id: string;
|
|
5888
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5889
6021
|
queuedAt: string;
|
|
5890
|
-
attempt: number;
|
|
5891
6022
|
executionId: string;
|
|
6023
|
+
attempt: number;
|
|
6024
|
+
target: {
|
|
6025
|
+
objectTypeId: string;
|
|
6026
|
+
};
|
|
5892
6027
|
progress: {
|
|
5893
6028
|
sourceRowsRead: number;
|
|
5894
6029
|
sourceRowsSkipped: number;
|
|
@@ -5906,19 +6041,20 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5906
6041
|
projectionKind: "object";
|
|
5907
6042
|
protocol: "replacement";
|
|
5908
6043
|
};
|
|
5909
|
-
target: {
|
|
5910
|
-
objectTypeId: string;
|
|
5911
|
-
};
|
|
5912
6044
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5913
6045
|
startedAt?: string | undefined;
|
|
5914
6046
|
finishedAt?: string | undefined;
|
|
5915
6047
|
} | {
|
|
6048
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5916
6049
|
projectId: string;
|
|
5917
6050
|
id: string;
|
|
5918
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5919
6051
|
queuedAt: string;
|
|
5920
|
-
attempt: number;
|
|
5921
6052
|
executionId: string;
|
|
6053
|
+
attempt: number;
|
|
6054
|
+
target: {
|
|
6055
|
+
targetObjectTypeId: string;
|
|
6056
|
+
sourceObjectTypeId: string;
|
|
6057
|
+
};
|
|
5922
6058
|
progress: {
|
|
5923
6059
|
sourceRowsRead: number;
|
|
5924
6060
|
sourceRowsSkipped: number;
|
|
@@ -5936,20 +6072,19 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5936
6072
|
projectionKind: "link";
|
|
5937
6073
|
protocol: "replacement";
|
|
5938
6074
|
};
|
|
5939
|
-
target: {
|
|
5940
|
-
targetObjectTypeId: string;
|
|
5941
|
-
sourceObjectTypeId: string;
|
|
5942
|
-
};
|
|
5943
6075
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5944
6076
|
startedAt?: string | undefined;
|
|
5945
6077
|
finishedAt?: string | undefined;
|
|
5946
6078
|
} | {
|
|
6079
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5947
6080
|
projectId: string;
|
|
5948
6081
|
id: string;
|
|
5949
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5950
6082
|
queuedAt: string;
|
|
5951
|
-
attempt: number;
|
|
5952
6083
|
executionId: string;
|
|
6084
|
+
attempt: number;
|
|
6085
|
+
target: {
|
|
6086
|
+
objectTypeId: string;
|
|
6087
|
+
};
|
|
5953
6088
|
progress: {
|
|
5954
6089
|
sourceRowsRead: number;
|
|
5955
6090
|
sourceRowsSkipped: number;
|
|
@@ -5967,9 +6102,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5967
6102
|
projectionKind: "telemetry";
|
|
5968
6103
|
protocol: "telemetry";
|
|
5969
6104
|
};
|
|
5970
|
-
target: {
|
|
5971
|
-
objectTypeId: string;
|
|
5972
|
-
};
|
|
5973
6105
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
5974
6106
|
startedAt?: string | undefined;
|
|
5975
6107
|
finishedAt?: string | undefined;
|
|
@@ -5984,12 +6116,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5984
6116
|
linkId: string;
|
|
5985
6117
|
sourceObjectTypeId: string;
|
|
5986
6118
|
latestRun: {
|
|
6119
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5987
6120
|
projectId: string;
|
|
5988
6121
|
id: string;
|
|
5989
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
5990
6122
|
queuedAt: string;
|
|
5991
|
-
attempt: number;
|
|
5992
6123
|
executionId: string;
|
|
6124
|
+
attempt: number;
|
|
6125
|
+
target: {
|
|
6126
|
+
objectTypeId: string;
|
|
6127
|
+
};
|
|
5993
6128
|
progress: {
|
|
5994
6129
|
sourceRowsRead: number;
|
|
5995
6130
|
sourceRowsSkipped: number;
|
|
@@ -6007,19 +6142,20 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6007
6142
|
projectionKind: "object";
|
|
6008
6143
|
protocol: "replacement";
|
|
6009
6144
|
};
|
|
6010
|
-
target: {
|
|
6011
|
-
objectTypeId: string;
|
|
6012
|
-
};
|
|
6013
6145
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6014
6146
|
startedAt?: string | undefined;
|
|
6015
6147
|
finishedAt?: string | undefined;
|
|
6016
6148
|
} | {
|
|
6149
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6017
6150
|
projectId: string;
|
|
6018
6151
|
id: string;
|
|
6019
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6020
6152
|
queuedAt: string;
|
|
6021
|
-
attempt: number;
|
|
6022
6153
|
executionId: string;
|
|
6154
|
+
attempt: number;
|
|
6155
|
+
target: {
|
|
6156
|
+
targetObjectTypeId: string;
|
|
6157
|
+
sourceObjectTypeId: string;
|
|
6158
|
+
};
|
|
6023
6159
|
progress: {
|
|
6024
6160
|
sourceRowsRead: number;
|
|
6025
6161
|
sourceRowsSkipped: number;
|
|
@@ -6037,20 +6173,19 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6037
6173
|
projectionKind: "link";
|
|
6038
6174
|
protocol: "replacement";
|
|
6039
6175
|
};
|
|
6040
|
-
target: {
|
|
6041
|
-
targetObjectTypeId: string;
|
|
6042
|
-
sourceObjectTypeId: string;
|
|
6043
|
-
};
|
|
6044
6176
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6045
6177
|
startedAt?: string | undefined;
|
|
6046
6178
|
finishedAt?: string | undefined;
|
|
6047
6179
|
} | {
|
|
6180
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6048
6181
|
projectId: string;
|
|
6049
6182
|
id: string;
|
|
6050
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6051
6183
|
queuedAt: string;
|
|
6052
|
-
attempt: number;
|
|
6053
6184
|
executionId: string;
|
|
6185
|
+
attempt: number;
|
|
6186
|
+
target: {
|
|
6187
|
+
objectTypeId: string;
|
|
6188
|
+
};
|
|
6054
6189
|
progress: {
|
|
6055
6190
|
sourceRowsRead: number;
|
|
6056
6191
|
sourceRowsSkipped: number;
|
|
@@ -6068,9 +6203,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6068
6203
|
projectionKind: "telemetry";
|
|
6069
6204
|
protocol: "telemetry";
|
|
6070
6205
|
};
|
|
6071
|
-
target: {
|
|
6072
|
-
objectTypeId: string;
|
|
6073
|
-
};
|
|
6074
6206
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6075
6207
|
startedAt?: string | undefined;
|
|
6076
6208
|
finishedAt?: string | undefined;
|
|
@@ -6082,12 +6214,19 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6082
6214
|
_tag: z.ZodLiteral<"TelemetryProjectionDefinition">;
|
|
6083
6215
|
id: z.ZodString;
|
|
6084
6216
|
objectTypeId: z.ZodString;
|
|
6085
|
-
propertyId: z.ZodString;
|
|
6086
6217
|
datasetId: z.ZodString;
|
|
6087
6218
|
objectIdField: z.ZodString;
|
|
6088
6219
|
atField: z.ZodString;
|
|
6089
|
-
|
|
6090
|
-
|
|
6220
|
+
properties: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6221
|
+
valueField: z.ZodString;
|
|
6222
|
+
unitField: z.ZodOptional<z.ZodString>;
|
|
6223
|
+
}, "strip", z.ZodTypeAny, {
|
|
6224
|
+
valueField: string;
|
|
6225
|
+
unitField?: string | undefined;
|
|
6226
|
+
}, {
|
|
6227
|
+
valueField: string;
|
|
6228
|
+
unitField?: string | undefined;
|
|
6229
|
+
}>>;
|
|
6091
6230
|
latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
6092
6231
|
id: z.ZodString;
|
|
6093
6232
|
projectId: z.ZodString;
|
|
@@ -6163,12 +6302,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6163
6302
|
objectTypeId: string;
|
|
6164
6303
|
}>;
|
|
6165
6304
|
}, "strip", z.ZodTypeAny, {
|
|
6305
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6166
6306
|
projectId: string;
|
|
6167
6307
|
id: string;
|
|
6168
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6169
6308
|
queuedAt: string;
|
|
6170
|
-
attempt: number;
|
|
6171
6309
|
executionId: string;
|
|
6310
|
+
attempt: number;
|
|
6311
|
+
target: {
|
|
6312
|
+
objectTypeId: string;
|
|
6313
|
+
};
|
|
6172
6314
|
progress: {
|
|
6173
6315
|
sourceRowsRead: number;
|
|
6174
6316
|
sourceRowsSkipped: number;
|
|
@@ -6186,19 +6328,19 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6186
6328
|
projectionKind: "object";
|
|
6187
6329
|
protocol: "replacement";
|
|
6188
6330
|
};
|
|
6189
|
-
target: {
|
|
6190
|
-
objectTypeId: string;
|
|
6191
|
-
};
|
|
6192
6331
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6193
6332
|
startedAt?: string | undefined;
|
|
6194
6333
|
finishedAt?: string | undefined;
|
|
6195
6334
|
}, {
|
|
6335
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6196
6336
|
projectId: string;
|
|
6197
6337
|
id: string;
|
|
6198
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6199
6338
|
queuedAt: string;
|
|
6200
|
-
attempt: number;
|
|
6201
6339
|
executionId: string;
|
|
6340
|
+
attempt: number;
|
|
6341
|
+
target: {
|
|
6342
|
+
objectTypeId: string;
|
|
6343
|
+
};
|
|
6202
6344
|
progress: {
|
|
6203
6345
|
sourceRowsRead: number;
|
|
6204
6346
|
sourceRowsSkipped: number;
|
|
@@ -6216,9 +6358,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6216
6358
|
projectionKind: "object";
|
|
6217
6359
|
protocol: "replacement";
|
|
6218
6360
|
};
|
|
6219
|
-
target: {
|
|
6220
|
-
objectTypeId: string;
|
|
6221
|
-
};
|
|
6222
6361
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6223
6362
|
startedAt?: string | undefined;
|
|
6224
6363
|
finishedAt?: string | undefined;
|
|
@@ -6300,12 +6439,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6300
6439
|
sourceObjectTypeId: string;
|
|
6301
6440
|
}>;
|
|
6302
6441
|
}, "strip", z.ZodTypeAny, {
|
|
6442
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6303
6443
|
projectId: string;
|
|
6304
6444
|
id: string;
|
|
6305
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6306
6445
|
queuedAt: string;
|
|
6307
|
-
attempt: number;
|
|
6308
6446
|
executionId: string;
|
|
6447
|
+
attempt: number;
|
|
6448
|
+
target: {
|
|
6449
|
+
targetObjectTypeId: string;
|
|
6450
|
+
sourceObjectTypeId: string;
|
|
6451
|
+
};
|
|
6309
6452
|
progress: {
|
|
6310
6453
|
sourceRowsRead: number;
|
|
6311
6454
|
sourceRowsSkipped: number;
|
|
@@ -6323,20 +6466,20 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6323
6466
|
projectionKind: "link";
|
|
6324
6467
|
protocol: "replacement";
|
|
6325
6468
|
};
|
|
6326
|
-
target: {
|
|
6327
|
-
targetObjectTypeId: string;
|
|
6328
|
-
sourceObjectTypeId: string;
|
|
6329
|
-
};
|
|
6330
6469
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6331
6470
|
startedAt?: string | undefined;
|
|
6332
6471
|
finishedAt?: string | undefined;
|
|
6333
6472
|
}, {
|
|
6473
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6334
6474
|
projectId: string;
|
|
6335
6475
|
id: string;
|
|
6336
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6337
6476
|
queuedAt: string;
|
|
6338
|
-
attempt: number;
|
|
6339
6477
|
executionId: string;
|
|
6478
|
+
attempt: number;
|
|
6479
|
+
target: {
|
|
6480
|
+
targetObjectTypeId: string;
|
|
6481
|
+
sourceObjectTypeId: string;
|
|
6482
|
+
};
|
|
6340
6483
|
progress: {
|
|
6341
6484
|
sourceRowsRead: number;
|
|
6342
6485
|
sourceRowsSkipped: number;
|
|
@@ -6354,10 +6497,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6354
6497
|
projectionKind: "link";
|
|
6355
6498
|
protocol: "replacement";
|
|
6356
6499
|
};
|
|
6357
|
-
target: {
|
|
6358
|
-
targetObjectTypeId: string;
|
|
6359
|
-
sourceObjectTypeId: string;
|
|
6360
|
-
};
|
|
6361
6500
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6362
6501
|
startedAt?: string | undefined;
|
|
6363
6502
|
finishedAt?: string | undefined;
|
|
@@ -6436,12 +6575,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6436
6575
|
objectTypeId: string;
|
|
6437
6576
|
}>;
|
|
6438
6577
|
}, "strip", z.ZodTypeAny, {
|
|
6578
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6439
6579
|
projectId: string;
|
|
6440
6580
|
id: string;
|
|
6441
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6442
6581
|
queuedAt: string;
|
|
6443
|
-
attempt: number;
|
|
6444
6582
|
executionId: string;
|
|
6583
|
+
attempt: number;
|
|
6584
|
+
target: {
|
|
6585
|
+
objectTypeId: string;
|
|
6586
|
+
};
|
|
6445
6587
|
progress: {
|
|
6446
6588
|
sourceRowsRead: number;
|
|
6447
6589
|
sourceRowsSkipped: number;
|
|
@@ -6459,19 +6601,19 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6459
6601
|
projectionKind: "telemetry";
|
|
6460
6602
|
protocol: "telemetry";
|
|
6461
6603
|
};
|
|
6462
|
-
target: {
|
|
6463
|
-
objectTypeId: string;
|
|
6464
|
-
};
|
|
6465
6604
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6466
6605
|
startedAt?: string | undefined;
|
|
6467
6606
|
finishedAt?: string | undefined;
|
|
6468
6607
|
}, {
|
|
6608
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6469
6609
|
projectId: string;
|
|
6470
6610
|
id: string;
|
|
6471
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6472
6611
|
queuedAt: string;
|
|
6473
|
-
attempt: number;
|
|
6474
6612
|
executionId: string;
|
|
6613
|
+
attempt: number;
|
|
6614
|
+
target: {
|
|
6615
|
+
objectTypeId: string;
|
|
6616
|
+
};
|
|
6475
6617
|
progress: {
|
|
6476
6618
|
sourceRowsRead: number;
|
|
6477
6619
|
sourceRowsSkipped: number;
|
|
@@ -6489,25 +6631,28 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6489
6631
|
projectionKind: "telemetry";
|
|
6490
6632
|
protocol: "telemetry";
|
|
6491
6633
|
};
|
|
6492
|
-
target: {
|
|
6493
|
-
objectTypeId: string;
|
|
6494
|
-
};
|
|
6495
6634
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6496
6635
|
startedAt?: string | undefined;
|
|
6497
6636
|
finishedAt?: string | undefined;
|
|
6498
6637
|
}>]>>;
|
|
6499
6638
|
}, "strip", z.ZodTypeAny, {
|
|
6500
6639
|
id: string;
|
|
6640
|
+
properties: Record<string, {
|
|
6641
|
+
valueField: string;
|
|
6642
|
+
unitField?: string | undefined;
|
|
6643
|
+
}>;
|
|
6501
6644
|
objectTypeId: string;
|
|
6502
6645
|
datasetId: string;
|
|
6503
|
-
propertyId: string;
|
|
6504
6646
|
latestRun: {
|
|
6647
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6505
6648
|
projectId: string;
|
|
6506
6649
|
id: string;
|
|
6507
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6508
6650
|
queuedAt: string;
|
|
6509
|
-
attempt: number;
|
|
6510
6651
|
executionId: string;
|
|
6652
|
+
attempt: number;
|
|
6653
|
+
target: {
|
|
6654
|
+
objectTypeId: string;
|
|
6655
|
+
};
|
|
6511
6656
|
progress: {
|
|
6512
6657
|
sourceRowsRead: number;
|
|
6513
6658
|
sourceRowsSkipped: number;
|
|
@@ -6525,19 +6670,20 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6525
6670
|
projectionKind: "object";
|
|
6526
6671
|
protocol: "replacement";
|
|
6527
6672
|
};
|
|
6528
|
-
target: {
|
|
6529
|
-
objectTypeId: string;
|
|
6530
|
-
};
|
|
6531
6673
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6532
6674
|
startedAt?: string | undefined;
|
|
6533
6675
|
finishedAt?: string | undefined;
|
|
6534
6676
|
} | {
|
|
6677
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6535
6678
|
projectId: string;
|
|
6536
6679
|
id: string;
|
|
6537
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6538
6680
|
queuedAt: string;
|
|
6539
|
-
attempt: number;
|
|
6540
6681
|
executionId: string;
|
|
6682
|
+
attempt: number;
|
|
6683
|
+
target: {
|
|
6684
|
+
targetObjectTypeId: string;
|
|
6685
|
+
sourceObjectTypeId: string;
|
|
6686
|
+
};
|
|
6541
6687
|
progress: {
|
|
6542
6688
|
sourceRowsRead: number;
|
|
6543
6689
|
sourceRowsSkipped: number;
|
|
@@ -6555,20 +6701,19 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6555
6701
|
projectionKind: "link";
|
|
6556
6702
|
protocol: "replacement";
|
|
6557
6703
|
};
|
|
6558
|
-
target: {
|
|
6559
|
-
targetObjectTypeId: string;
|
|
6560
|
-
sourceObjectTypeId: string;
|
|
6561
|
-
};
|
|
6562
6704
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6563
6705
|
startedAt?: string | undefined;
|
|
6564
6706
|
finishedAt?: string | undefined;
|
|
6565
6707
|
} | {
|
|
6708
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6566
6709
|
projectId: string;
|
|
6567
6710
|
id: string;
|
|
6568
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6569
6711
|
queuedAt: string;
|
|
6570
|
-
attempt: number;
|
|
6571
6712
|
executionId: string;
|
|
6713
|
+
attempt: number;
|
|
6714
|
+
target: {
|
|
6715
|
+
objectTypeId: string;
|
|
6716
|
+
};
|
|
6572
6717
|
progress: {
|
|
6573
6718
|
sourceRowsRead: number;
|
|
6574
6719
|
sourceRowsSkipped: number;
|
|
@@ -6586,9 +6731,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6586
6731
|
projectionKind: "telemetry";
|
|
6587
6732
|
protocol: "telemetry";
|
|
6588
6733
|
};
|
|
6589
|
-
target: {
|
|
6590
|
-
objectTypeId: string;
|
|
6591
|
-
};
|
|
6592
6734
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6593
6735
|
startedAt?: string | undefined;
|
|
6594
6736
|
finishedAt?: string | undefined;
|
|
@@ -6596,20 +6738,24 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6596
6738
|
_tag: "TelemetryProjectionDefinition";
|
|
6597
6739
|
objectIdField: string;
|
|
6598
6740
|
atField: string;
|
|
6599
|
-
valueField: string;
|
|
6600
|
-
unitField?: string | undefined;
|
|
6601
6741
|
}, {
|
|
6602
6742
|
id: string;
|
|
6743
|
+
properties: Record<string, {
|
|
6744
|
+
valueField: string;
|
|
6745
|
+
unitField?: string | undefined;
|
|
6746
|
+
}>;
|
|
6603
6747
|
objectTypeId: string;
|
|
6604
6748
|
datasetId: string;
|
|
6605
|
-
propertyId: string;
|
|
6606
6749
|
latestRun: {
|
|
6750
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6607
6751
|
projectId: string;
|
|
6608
6752
|
id: string;
|
|
6609
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6610
6753
|
queuedAt: string;
|
|
6611
|
-
attempt: number;
|
|
6612
6754
|
executionId: string;
|
|
6755
|
+
attempt: number;
|
|
6756
|
+
target: {
|
|
6757
|
+
objectTypeId: string;
|
|
6758
|
+
};
|
|
6613
6759
|
progress: {
|
|
6614
6760
|
sourceRowsRead: number;
|
|
6615
6761
|
sourceRowsSkipped: number;
|
|
@@ -6627,19 +6773,20 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6627
6773
|
projectionKind: "object";
|
|
6628
6774
|
protocol: "replacement";
|
|
6629
6775
|
};
|
|
6630
|
-
target: {
|
|
6631
|
-
objectTypeId: string;
|
|
6632
|
-
};
|
|
6633
6776
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6634
6777
|
startedAt?: string | undefined;
|
|
6635
6778
|
finishedAt?: string | undefined;
|
|
6636
6779
|
} | {
|
|
6780
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6637
6781
|
projectId: string;
|
|
6638
6782
|
id: string;
|
|
6639
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6640
6783
|
queuedAt: string;
|
|
6641
|
-
attempt: number;
|
|
6642
6784
|
executionId: string;
|
|
6785
|
+
attempt: number;
|
|
6786
|
+
target: {
|
|
6787
|
+
targetObjectTypeId: string;
|
|
6788
|
+
sourceObjectTypeId: string;
|
|
6789
|
+
};
|
|
6643
6790
|
progress: {
|
|
6644
6791
|
sourceRowsRead: number;
|
|
6645
6792
|
sourceRowsSkipped: number;
|
|
@@ -6657,20 +6804,19 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6657
6804
|
projectionKind: "link";
|
|
6658
6805
|
protocol: "replacement";
|
|
6659
6806
|
};
|
|
6660
|
-
target: {
|
|
6661
|
-
targetObjectTypeId: string;
|
|
6662
|
-
sourceObjectTypeId: string;
|
|
6663
|
-
};
|
|
6664
6807
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6665
6808
|
startedAt?: string | undefined;
|
|
6666
6809
|
finishedAt?: string | undefined;
|
|
6667
6810
|
} | {
|
|
6811
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6668
6812
|
projectId: string;
|
|
6669
6813
|
id: string;
|
|
6670
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6671
6814
|
queuedAt: string;
|
|
6672
|
-
attempt: number;
|
|
6673
6815
|
executionId: string;
|
|
6816
|
+
attempt: number;
|
|
6817
|
+
target: {
|
|
6818
|
+
objectTypeId: string;
|
|
6819
|
+
};
|
|
6674
6820
|
progress: {
|
|
6675
6821
|
sourceRowsRead: number;
|
|
6676
6822
|
sourceRowsSkipped: number;
|
|
@@ -6688,9 +6834,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6688
6834
|
projectionKind: "telemetry";
|
|
6689
6835
|
protocol: "telemetry";
|
|
6690
6836
|
};
|
|
6691
|
-
target: {
|
|
6692
|
-
objectTypeId: string;
|
|
6693
|
-
};
|
|
6694
6837
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6695
6838
|
startedAt?: string | undefined;
|
|
6696
6839
|
finishedAt?: string | undefined;
|
|
@@ -6698,8 +6841,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6698
6841
|
_tag: "TelemetryProjectionDefinition";
|
|
6699
6842
|
objectIdField: string;
|
|
6700
6843
|
atField: string;
|
|
6701
|
-
valueField: string;
|
|
6702
|
-
unitField?: string | undefined;
|
|
6703
6844
|
}>]>;
|
|
6704
6845
|
export declare const ProjectionRunParamsSchema: z.ZodObject<{
|
|
6705
6846
|
runId: z.ZodString;
|
|
@@ -6818,12 +6959,15 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
6818
6959
|
objectTypeId: string;
|
|
6819
6960
|
}>;
|
|
6820
6961
|
}, "strip", z.ZodTypeAny, {
|
|
6962
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6821
6963
|
projectId: string;
|
|
6822
6964
|
id: string;
|
|
6823
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6824
6965
|
queuedAt: string;
|
|
6825
|
-
attempt: number;
|
|
6826
6966
|
executionId: string;
|
|
6967
|
+
attempt: number;
|
|
6968
|
+
target: {
|
|
6969
|
+
objectTypeId: string;
|
|
6970
|
+
};
|
|
6827
6971
|
progress: {
|
|
6828
6972
|
sourceRowsRead: number;
|
|
6829
6973
|
sourceRowsSkipped: number;
|
|
@@ -6841,19 +6985,19 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
6841
6985
|
projectionKind: "object";
|
|
6842
6986
|
protocol: "replacement";
|
|
6843
6987
|
};
|
|
6844
|
-
target: {
|
|
6845
|
-
objectTypeId: string;
|
|
6846
|
-
};
|
|
6847
6988
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6848
6989
|
startedAt?: string | undefined;
|
|
6849
6990
|
finishedAt?: string | undefined;
|
|
6850
6991
|
}, {
|
|
6992
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6851
6993
|
projectId: string;
|
|
6852
6994
|
id: string;
|
|
6853
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6854
6995
|
queuedAt: string;
|
|
6855
|
-
attempt: number;
|
|
6856
6996
|
executionId: string;
|
|
6997
|
+
attempt: number;
|
|
6998
|
+
target: {
|
|
6999
|
+
objectTypeId: string;
|
|
7000
|
+
};
|
|
6857
7001
|
progress: {
|
|
6858
7002
|
sourceRowsRead: number;
|
|
6859
7003
|
sourceRowsSkipped: number;
|
|
@@ -6871,9 +7015,6 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
6871
7015
|
projectionKind: "object";
|
|
6872
7016
|
protocol: "replacement";
|
|
6873
7017
|
};
|
|
6874
|
-
target: {
|
|
6875
|
-
objectTypeId: string;
|
|
6876
|
-
};
|
|
6877
7018
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6878
7019
|
startedAt?: string | undefined;
|
|
6879
7020
|
finishedAt?: string | undefined;
|
|
@@ -6955,12 +7096,16 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
6955
7096
|
sourceObjectTypeId: string;
|
|
6956
7097
|
}>;
|
|
6957
7098
|
}, "strip", z.ZodTypeAny, {
|
|
7099
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6958
7100
|
projectId: string;
|
|
6959
7101
|
id: string;
|
|
6960
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6961
7102
|
queuedAt: string;
|
|
6962
|
-
attempt: number;
|
|
6963
7103
|
executionId: string;
|
|
7104
|
+
attempt: number;
|
|
7105
|
+
target: {
|
|
7106
|
+
targetObjectTypeId: string;
|
|
7107
|
+
sourceObjectTypeId: string;
|
|
7108
|
+
};
|
|
6964
7109
|
progress: {
|
|
6965
7110
|
sourceRowsRead: number;
|
|
6966
7111
|
sourceRowsSkipped: number;
|
|
@@ -6978,20 +7123,20 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
6978
7123
|
projectionKind: "link";
|
|
6979
7124
|
protocol: "replacement";
|
|
6980
7125
|
};
|
|
6981
|
-
target: {
|
|
6982
|
-
targetObjectTypeId: string;
|
|
6983
|
-
sourceObjectTypeId: string;
|
|
6984
|
-
};
|
|
6985
7126
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
6986
7127
|
startedAt?: string | undefined;
|
|
6987
7128
|
finishedAt?: string | undefined;
|
|
6988
7129
|
}, {
|
|
7130
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6989
7131
|
projectId: string;
|
|
6990
7132
|
id: string;
|
|
6991
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
6992
7133
|
queuedAt: string;
|
|
6993
|
-
attempt: number;
|
|
6994
7134
|
executionId: string;
|
|
7135
|
+
attempt: number;
|
|
7136
|
+
target: {
|
|
7137
|
+
targetObjectTypeId: string;
|
|
7138
|
+
sourceObjectTypeId: string;
|
|
7139
|
+
};
|
|
6995
7140
|
progress: {
|
|
6996
7141
|
sourceRowsRead: number;
|
|
6997
7142
|
sourceRowsSkipped: number;
|
|
@@ -7009,10 +7154,6 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
7009
7154
|
projectionKind: "link";
|
|
7010
7155
|
protocol: "replacement";
|
|
7011
7156
|
};
|
|
7012
|
-
target: {
|
|
7013
|
-
targetObjectTypeId: string;
|
|
7014
|
-
sourceObjectTypeId: string;
|
|
7015
|
-
};
|
|
7016
7157
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
7017
7158
|
startedAt?: string | undefined;
|
|
7018
7159
|
finishedAt?: string | undefined;
|
|
@@ -7091,12 +7232,15 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
7091
7232
|
objectTypeId: string;
|
|
7092
7233
|
}>;
|
|
7093
7234
|
}, "strip", z.ZodTypeAny, {
|
|
7235
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7094
7236
|
projectId: string;
|
|
7095
7237
|
id: string;
|
|
7096
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7097
7238
|
queuedAt: string;
|
|
7098
|
-
attempt: number;
|
|
7099
7239
|
executionId: string;
|
|
7240
|
+
attempt: number;
|
|
7241
|
+
target: {
|
|
7242
|
+
objectTypeId: string;
|
|
7243
|
+
};
|
|
7100
7244
|
progress: {
|
|
7101
7245
|
sourceRowsRead: number;
|
|
7102
7246
|
sourceRowsSkipped: number;
|
|
@@ -7114,19 +7258,19 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
7114
7258
|
projectionKind: "telemetry";
|
|
7115
7259
|
protocol: "telemetry";
|
|
7116
7260
|
};
|
|
7117
|
-
target: {
|
|
7118
|
-
objectTypeId: string;
|
|
7119
|
-
};
|
|
7120
7261
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
7121
7262
|
startedAt?: string | undefined;
|
|
7122
7263
|
finishedAt?: string | undefined;
|
|
7123
7264
|
}, {
|
|
7265
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7124
7266
|
projectId: string;
|
|
7125
7267
|
id: string;
|
|
7126
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7127
7268
|
queuedAt: string;
|
|
7128
|
-
attempt: number;
|
|
7129
7269
|
executionId: string;
|
|
7270
|
+
attempt: number;
|
|
7271
|
+
target: {
|
|
7272
|
+
objectTypeId: string;
|
|
7273
|
+
};
|
|
7130
7274
|
progress: {
|
|
7131
7275
|
sourceRowsRead: number;
|
|
7132
7276
|
sourceRowsSkipped: number;
|
|
@@ -7144,9 +7288,6 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
7144
7288
|
projectionKind: "telemetry";
|
|
7145
7289
|
protocol: "telemetry";
|
|
7146
7290
|
};
|
|
7147
|
-
target: {
|
|
7148
|
-
objectTypeId: string;
|
|
7149
|
-
};
|
|
7150
7291
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
7151
7292
|
startedAt?: string | undefined;
|
|
7152
7293
|
finishedAt?: string | undefined;
|
|
@@ -7155,12 +7296,15 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
7155
7296
|
total: z.ZodNumber;
|
|
7156
7297
|
}, "strip", z.ZodTypeAny, {
|
|
7157
7298
|
runs: ({
|
|
7299
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7158
7300
|
projectId: string;
|
|
7159
7301
|
id: string;
|
|
7160
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7161
7302
|
queuedAt: string;
|
|
7162
|
-
attempt: number;
|
|
7163
7303
|
executionId: string;
|
|
7304
|
+
attempt: number;
|
|
7305
|
+
target: {
|
|
7306
|
+
objectTypeId: string;
|
|
7307
|
+
};
|
|
7164
7308
|
progress: {
|
|
7165
7309
|
sourceRowsRead: number;
|
|
7166
7310
|
sourceRowsSkipped: number;
|
|
@@ -7178,19 +7322,20 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
7178
7322
|
projectionKind: "object";
|
|
7179
7323
|
protocol: "replacement";
|
|
7180
7324
|
};
|
|
7181
|
-
target: {
|
|
7182
|
-
objectTypeId: string;
|
|
7183
|
-
};
|
|
7184
7325
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
7185
7326
|
startedAt?: string | undefined;
|
|
7186
7327
|
finishedAt?: string | undefined;
|
|
7187
7328
|
} | {
|
|
7329
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7188
7330
|
projectId: string;
|
|
7189
7331
|
id: string;
|
|
7190
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7191
7332
|
queuedAt: string;
|
|
7192
|
-
attempt: number;
|
|
7193
7333
|
executionId: string;
|
|
7334
|
+
attempt: number;
|
|
7335
|
+
target: {
|
|
7336
|
+
targetObjectTypeId: string;
|
|
7337
|
+
sourceObjectTypeId: string;
|
|
7338
|
+
};
|
|
7194
7339
|
progress: {
|
|
7195
7340
|
sourceRowsRead: number;
|
|
7196
7341
|
sourceRowsSkipped: number;
|
|
@@ -7208,20 +7353,19 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
7208
7353
|
projectionKind: "link";
|
|
7209
7354
|
protocol: "replacement";
|
|
7210
7355
|
};
|
|
7211
|
-
target: {
|
|
7212
|
-
targetObjectTypeId: string;
|
|
7213
|
-
sourceObjectTypeId: string;
|
|
7214
|
-
};
|
|
7215
7356
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
7216
7357
|
startedAt?: string | undefined;
|
|
7217
7358
|
finishedAt?: string | undefined;
|
|
7218
7359
|
} | {
|
|
7360
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7219
7361
|
projectId: string;
|
|
7220
7362
|
id: string;
|
|
7221
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7222
7363
|
queuedAt: string;
|
|
7223
|
-
attempt: number;
|
|
7224
7364
|
executionId: string;
|
|
7365
|
+
attempt: number;
|
|
7366
|
+
target: {
|
|
7367
|
+
objectTypeId: string;
|
|
7368
|
+
};
|
|
7225
7369
|
progress: {
|
|
7226
7370
|
sourceRowsRead: number;
|
|
7227
7371
|
sourceRowsSkipped: number;
|
|
@@ -7239,9 +7383,6 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
7239
7383
|
projectionKind: "telemetry";
|
|
7240
7384
|
protocol: "telemetry";
|
|
7241
7385
|
};
|
|
7242
|
-
target: {
|
|
7243
|
-
objectTypeId: string;
|
|
7244
|
-
};
|
|
7245
7386
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
7246
7387
|
startedAt?: string | undefined;
|
|
7247
7388
|
finishedAt?: string | undefined;
|
|
@@ -7250,12 +7391,15 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
7250
7391
|
total: number;
|
|
7251
7392
|
}, {
|
|
7252
7393
|
runs: ({
|
|
7394
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7253
7395
|
projectId: string;
|
|
7254
7396
|
id: string;
|
|
7255
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7256
7397
|
queuedAt: string;
|
|
7257
|
-
attempt: number;
|
|
7258
7398
|
executionId: string;
|
|
7399
|
+
attempt: number;
|
|
7400
|
+
target: {
|
|
7401
|
+
objectTypeId: string;
|
|
7402
|
+
};
|
|
7259
7403
|
progress: {
|
|
7260
7404
|
sourceRowsRead: number;
|
|
7261
7405
|
sourceRowsSkipped: number;
|
|
@@ -7273,19 +7417,20 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
7273
7417
|
projectionKind: "object";
|
|
7274
7418
|
protocol: "replacement";
|
|
7275
7419
|
};
|
|
7276
|
-
target: {
|
|
7277
|
-
objectTypeId: string;
|
|
7278
|
-
};
|
|
7279
7420
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
7280
7421
|
startedAt?: string | undefined;
|
|
7281
7422
|
finishedAt?: string | undefined;
|
|
7282
7423
|
} | {
|
|
7424
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7283
7425
|
projectId: string;
|
|
7284
7426
|
id: string;
|
|
7285
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7286
7427
|
queuedAt: string;
|
|
7287
|
-
attempt: number;
|
|
7288
7428
|
executionId: string;
|
|
7429
|
+
attempt: number;
|
|
7430
|
+
target: {
|
|
7431
|
+
targetObjectTypeId: string;
|
|
7432
|
+
sourceObjectTypeId: string;
|
|
7433
|
+
};
|
|
7289
7434
|
progress: {
|
|
7290
7435
|
sourceRowsRead: number;
|
|
7291
7436
|
sourceRowsSkipped: number;
|
|
@@ -7303,20 +7448,19 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
7303
7448
|
projectionKind: "link";
|
|
7304
7449
|
protocol: "replacement";
|
|
7305
7450
|
};
|
|
7306
|
-
target: {
|
|
7307
|
-
targetObjectTypeId: string;
|
|
7308
|
-
sourceObjectTypeId: string;
|
|
7309
|
-
};
|
|
7310
7451
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
7311
7452
|
startedAt?: string | undefined;
|
|
7312
7453
|
finishedAt?: string | undefined;
|
|
7313
7454
|
} | {
|
|
7455
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7314
7456
|
projectId: string;
|
|
7315
7457
|
id: string;
|
|
7316
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
7317
7458
|
queuedAt: string;
|
|
7318
|
-
attempt: number;
|
|
7319
7459
|
executionId: string;
|
|
7460
|
+
attempt: number;
|
|
7461
|
+
target: {
|
|
7462
|
+
objectTypeId: string;
|
|
7463
|
+
};
|
|
7320
7464
|
progress: {
|
|
7321
7465
|
sourceRowsRead: number;
|
|
7322
7466
|
sourceRowsSkipped: number;
|
|
@@ -7334,9 +7478,6 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
|
|
|
7334
7478
|
projectionKind: "telemetry";
|
|
7335
7479
|
protocol: "telemetry";
|
|
7336
7480
|
};
|
|
7337
|
-
target: {
|
|
7338
|
-
objectTypeId: string;
|
|
7339
|
-
};
|
|
7340
7481
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
7341
7482
|
startedAt?: string | undefined;
|
|
7342
7483
|
finishedAt?: string | undefined;
|