@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
|
@@ -228,8 +228,8 @@ export declare const ConnectorConnectionSchema: z.ZodObject<{
|
|
|
228
228
|
}>;
|
|
229
229
|
status: z.ZodEnum<["connected", "needs_reauthorization", "disconnected"]>;
|
|
230
230
|
}, "strip", z.ZodTypeAny, {
|
|
231
|
-
id: string;
|
|
232
231
|
status: "connected" | "needs_reauthorization" | "disconnected";
|
|
232
|
+
id: string;
|
|
233
233
|
connectorId: string;
|
|
234
234
|
owner: {
|
|
235
235
|
type: "project";
|
|
@@ -242,8 +242,8 @@ export declare const ConnectorConnectionSchema: z.ZodObject<{
|
|
|
242
242
|
avatarUrl?: string | undefined;
|
|
243
243
|
};
|
|
244
244
|
}, {
|
|
245
|
-
id: string;
|
|
246
245
|
status: "connected" | "needs_reauthorization" | "disconnected";
|
|
246
|
+
id: string;
|
|
247
247
|
connectorId: string;
|
|
248
248
|
owner: {
|
|
249
249
|
type: "project";
|
|
@@ -275,8 +275,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
275
275
|
waitingFor: z.ZodLiteral<"provider_authorization">;
|
|
276
276
|
expiresAt: z.ZodString;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
id: string;
|
|
279
278
|
status: "waiting";
|
|
279
|
+
id: string;
|
|
280
280
|
kind: "connect" | "reauthorize";
|
|
281
281
|
expiresAt: string;
|
|
282
282
|
createdAt: string;
|
|
@@ -288,8 +288,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
288
288
|
slot: string;
|
|
289
289
|
waitingFor: "provider_authorization";
|
|
290
290
|
}, {
|
|
291
|
-
id: string;
|
|
292
291
|
status: "waiting";
|
|
292
|
+
id: string;
|
|
293
293
|
kind: "connect" | "reauthorize";
|
|
294
294
|
expiresAt: string;
|
|
295
295
|
createdAt: string;
|
|
@@ -317,8 +317,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
317
317
|
} & {
|
|
318
318
|
status: z.ZodLiteral<"running">;
|
|
319
319
|
}, "strip", z.ZodTypeAny, {
|
|
320
|
-
id: string;
|
|
321
320
|
status: "running";
|
|
321
|
+
id: string;
|
|
322
322
|
kind: "connect" | "reauthorize";
|
|
323
323
|
createdAt: string;
|
|
324
324
|
updatedAt: string;
|
|
@@ -328,8 +328,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
328
328
|
};
|
|
329
329
|
slot: string;
|
|
330
330
|
}, {
|
|
331
|
-
id: string;
|
|
332
331
|
status: "running";
|
|
332
|
+
id: string;
|
|
333
333
|
kind: "connect" | "reauthorize";
|
|
334
334
|
createdAt: string;
|
|
335
335
|
updatedAt: string;
|
|
@@ -373,8 +373,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
373
373
|
}>, "many">;
|
|
374
374
|
expiresAt: z.ZodString;
|
|
375
375
|
}, "strip", z.ZodTypeAny, {
|
|
376
|
-
id: string;
|
|
377
376
|
status: "waiting";
|
|
377
|
+
id: string;
|
|
378
378
|
kind: "connect" | "reauthorize";
|
|
379
379
|
expiresAt: string;
|
|
380
380
|
createdAt: string;
|
|
@@ -392,8 +392,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
392
392
|
avatarUrl?: string | undefined;
|
|
393
393
|
}[];
|
|
394
394
|
}, {
|
|
395
|
-
id: string;
|
|
396
395
|
status: "waiting";
|
|
396
|
+
id: string;
|
|
397
397
|
kind: "connect" | "reauthorize";
|
|
398
398
|
expiresAt: string;
|
|
399
399
|
createdAt: string;
|
|
@@ -455,8 +455,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
455
455
|
}>;
|
|
456
456
|
status: z.ZodEnum<["connected", "needs_reauthorization", "disconnected"]>;
|
|
457
457
|
}, "strip", z.ZodTypeAny, {
|
|
458
|
-
id: string;
|
|
459
458
|
status: "connected" | "needs_reauthorization" | "disconnected";
|
|
459
|
+
id: string;
|
|
460
460
|
connectorId: string;
|
|
461
461
|
owner: {
|
|
462
462
|
type: "project";
|
|
@@ -469,8 +469,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
469
469
|
avatarUrl?: string | undefined;
|
|
470
470
|
};
|
|
471
471
|
}, {
|
|
472
|
-
id: string;
|
|
473
472
|
status: "connected" | "needs_reauthorization" | "disconnected";
|
|
473
|
+
id: string;
|
|
474
474
|
connectorId: string;
|
|
475
475
|
owner: {
|
|
476
476
|
type: "project";
|
|
@@ -485,8 +485,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
485
485
|
}>, "many">;
|
|
486
486
|
finishedAt: z.ZodString;
|
|
487
487
|
}, "strip", z.ZodTypeAny, {
|
|
488
|
-
id: string;
|
|
489
488
|
status: "succeeded";
|
|
489
|
+
id: string;
|
|
490
490
|
kind: "connect" | "reauthorize";
|
|
491
491
|
finishedAt: string;
|
|
492
492
|
createdAt: string;
|
|
@@ -497,8 +497,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
497
497
|
};
|
|
498
498
|
slot: string;
|
|
499
499
|
connections: {
|
|
500
|
-
id: string;
|
|
501
500
|
status: "connected" | "needs_reauthorization" | "disconnected";
|
|
501
|
+
id: string;
|
|
502
502
|
connectorId: string;
|
|
503
503
|
owner: {
|
|
504
504
|
type: "project";
|
|
@@ -512,8 +512,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
512
512
|
};
|
|
513
513
|
}[];
|
|
514
514
|
}, {
|
|
515
|
-
id: string;
|
|
516
515
|
status: "succeeded";
|
|
516
|
+
id: string;
|
|
517
517
|
kind: "connect" | "reauthorize";
|
|
518
518
|
finishedAt: string;
|
|
519
519
|
createdAt: string;
|
|
@@ -524,8 +524,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
524
524
|
};
|
|
525
525
|
slot: string;
|
|
526
526
|
connections: {
|
|
527
|
-
id: string;
|
|
528
527
|
status: "connected" | "needs_reauthorization" | "disconnected";
|
|
528
|
+
id: string;
|
|
529
529
|
connectorId: string;
|
|
530
530
|
owner: {
|
|
531
531
|
type: "project";
|
|
@@ -557,10 +557,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
557
557
|
error: z.ZodType<ConnectorConnectionRunFailure, z.ZodTypeDef, ConnectorConnectionRunFailure>;
|
|
558
558
|
finishedAt: z.ZodString;
|
|
559
559
|
}, "strip", z.ZodTypeAny, {
|
|
560
|
-
|
|
560
|
+
error: ConnectorConnectionRunFailure;
|
|
561
561
|
status: "failed";
|
|
562
|
+
id: string;
|
|
562
563
|
kind: "connect" | "reauthorize";
|
|
563
|
-
error: ConnectorConnectionRunFailure;
|
|
564
564
|
finishedAt: string;
|
|
565
565
|
createdAt: string;
|
|
566
566
|
updatedAt: string;
|
|
@@ -570,10 +570,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
570
570
|
};
|
|
571
571
|
slot: string;
|
|
572
572
|
}, {
|
|
573
|
-
|
|
573
|
+
error: ConnectorConnectionRunFailure;
|
|
574
574
|
status: "failed";
|
|
575
|
+
id: string;
|
|
575
576
|
kind: "connect" | "reauthorize";
|
|
576
|
-
error: ConnectorConnectionRunFailure;
|
|
577
577
|
finishedAt: string;
|
|
578
578
|
createdAt: string;
|
|
579
579
|
updatedAt: string;
|
|
@@ -600,8 +600,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
600
600
|
status: z.ZodEnum<["cancelled", "expired"]>;
|
|
601
601
|
finishedAt: z.ZodString;
|
|
602
602
|
}, "strip", z.ZodTypeAny, {
|
|
603
|
-
id: string;
|
|
604
603
|
status: "cancelled" | "expired";
|
|
604
|
+
id: string;
|
|
605
605
|
kind: "connect" | "reauthorize";
|
|
606
606
|
finishedAt: string;
|
|
607
607
|
createdAt: string;
|
|
@@ -612,8 +612,8 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
612
612
|
};
|
|
613
613
|
slot: string;
|
|
614
614
|
}, {
|
|
615
|
-
id: string;
|
|
616
615
|
status: "cancelled" | "expired";
|
|
616
|
+
id: string;
|
|
617
617
|
kind: "connect" | "reauthorize";
|
|
618
618
|
finishedAt: string;
|
|
619
619
|
createdAt: string;
|
|
@@ -680,8 +680,8 @@ export declare const StartConnectorConnectionRunResponseSchema: z.ZodObject<{
|
|
|
680
680
|
}>;
|
|
681
681
|
status: z.ZodEnum<["connected", "needs_reauthorization", "disconnected"]>;
|
|
682
682
|
}, "strip", z.ZodTypeAny, {
|
|
683
|
-
id: string;
|
|
684
683
|
status: "connected" | "needs_reauthorization" | "disconnected";
|
|
684
|
+
id: string;
|
|
685
685
|
connectorId: string;
|
|
686
686
|
owner: {
|
|
687
687
|
type: "project";
|
|
@@ -694,8 +694,8 @@ export declare const StartConnectorConnectionRunResponseSchema: z.ZodObject<{
|
|
|
694
694
|
avatarUrl?: string | undefined;
|
|
695
695
|
};
|
|
696
696
|
}, {
|
|
697
|
-
id: string;
|
|
698
697
|
status: "connected" | "needs_reauthorization" | "disconnected";
|
|
698
|
+
id: string;
|
|
699
699
|
connectorId: string;
|
|
700
700
|
owner: {
|
|
701
701
|
type: "project";
|
|
@@ -712,8 +712,8 @@ export declare const StartConnectorConnectionRunResponseSchema: z.ZodObject<{
|
|
|
712
712
|
runId: string;
|
|
713
713
|
authorizationUrl: string;
|
|
714
714
|
affectedConnections: {
|
|
715
|
-
id: string;
|
|
716
715
|
status: "connected" | "needs_reauthorization" | "disconnected";
|
|
716
|
+
id: string;
|
|
717
717
|
connectorId: string;
|
|
718
718
|
owner: {
|
|
719
719
|
type: "project";
|
|
@@ -730,8 +730,8 @@ export declare const StartConnectorConnectionRunResponseSchema: z.ZodObject<{
|
|
|
730
730
|
runId: string;
|
|
731
731
|
authorizationUrl: string;
|
|
732
732
|
affectedConnections: {
|
|
733
|
-
id: string;
|
|
734
733
|
status: "connected" | "needs_reauthorization" | "disconnected";
|
|
734
|
+
id: string;
|
|
735
735
|
connectorId: string;
|
|
736
736
|
owner: {
|
|
737
737
|
type: "project";
|
|
@@ -755,7 +755,7 @@ export declare const SelectConnectorConnectionRunAccountBodySchema: z.ZodObject<
|
|
|
755
755
|
accountId: string;
|
|
756
756
|
replace?: boolean | undefined;
|
|
757
757
|
}>;
|
|
758
|
-
export declare const ConnectorOAuthCallbackQuerySchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
758
|
+
export declare const ConnectorOAuthCallbackQuerySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
759
759
|
state: z.ZodString;
|
|
760
760
|
code: z.ZodOptional<z.ZodString>;
|
|
761
761
|
auth_code: z.ZodOptional<z.ZodString>;
|
|
@@ -780,6 +780,16 @@ export declare const ConnectorOAuthCallbackQuerySchema: z.ZodEffects<z.ZodEffect
|
|
|
780
780
|
error?: string | undefined;
|
|
781
781
|
code?: string | undefined;
|
|
782
782
|
auth_code?: string | undefined;
|
|
783
|
+
}>, {
|
|
784
|
+
state: string;
|
|
785
|
+
error?: string | undefined;
|
|
786
|
+
code?: string | undefined;
|
|
787
|
+
auth_code?: string | undefined;
|
|
788
|
+
}, {
|
|
789
|
+
state: string;
|
|
790
|
+
error?: string | undefined;
|
|
791
|
+
code?: string | undefined;
|
|
792
|
+
auth_code?: string | undefined;
|
|
783
793
|
}>, {
|
|
784
794
|
code: string | undefined;
|
|
785
795
|
state: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectors.d.ts","sourceRoot":"","sources":["../../src/schemas/connectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,6BAA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;EAIpD,CAAA;AAEF,eAAO,MAAM,6CAA6C;;;;;;;;;EAGxD,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB0C,CAAA"}
|
|
@@ -254,6 +254,7 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
254
254
|
before: import("./common").JsonValue;
|
|
255
255
|
}>]>>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
+
sourceId: string;
|
|
257
258
|
propertyChanges: Record<string, {
|
|
258
259
|
operation: "created";
|
|
259
260
|
after: import("./common").JsonValue;
|
|
@@ -267,12 +268,12 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
267
268
|
before: import("./common").JsonValue;
|
|
268
269
|
}>;
|
|
269
270
|
sourceTypeId: string;
|
|
270
|
-
sourceId: string;
|
|
271
271
|
linkId: string;
|
|
272
272
|
targetTypeId: string;
|
|
273
273
|
targetId: string;
|
|
274
274
|
properties?: Record<string, import("./common").JsonValue> | undefined;
|
|
275
275
|
}, {
|
|
276
|
+
sourceId: string;
|
|
276
277
|
propertyChanges: Record<string, {
|
|
277
278
|
operation: "created";
|
|
278
279
|
after: import("./common").JsonValue;
|
|
@@ -286,7 +287,6 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
286
287
|
before: import("./common").JsonValue;
|
|
287
288
|
}>;
|
|
288
289
|
sourceTypeId: string;
|
|
289
|
-
sourceId: string;
|
|
290
290
|
linkId: string;
|
|
291
291
|
targetTypeId: string;
|
|
292
292
|
targetId: string;
|
|
@@ -335,6 +335,7 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
335
335
|
before: import("./common").JsonValue;
|
|
336
336
|
}>]>>;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
+
sourceId: string;
|
|
338
339
|
propertyChanges: Record<string, {
|
|
339
340
|
operation: "created";
|
|
340
341
|
after: import("./common").JsonValue;
|
|
@@ -348,12 +349,12 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
348
349
|
before: import("./common").JsonValue;
|
|
349
350
|
}>;
|
|
350
351
|
sourceTypeId: string;
|
|
351
|
-
sourceId: string;
|
|
352
352
|
linkId: string;
|
|
353
353
|
targetTypeId: string;
|
|
354
354
|
targetId: string;
|
|
355
355
|
properties?: Record<string, import("./common").JsonValue> | undefined;
|
|
356
356
|
}, {
|
|
357
|
+
sourceId: string;
|
|
357
358
|
propertyChanges: Record<string, {
|
|
358
359
|
operation: "created";
|
|
359
360
|
after: import("./common").JsonValue;
|
|
@@ -367,7 +368,6 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
367
368
|
before: import("./common").JsonValue;
|
|
368
369
|
}>;
|
|
369
370
|
sourceTypeId: string;
|
|
370
|
-
sourceId: string;
|
|
371
371
|
linkId: string;
|
|
372
372
|
targetTypeId: string;
|
|
373
373
|
targetId: string;
|
|
@@ -415,6 +415,7 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
415
415
|
before: import("./common").JsonValue;
|
|
416
416
|
}>]>>;
|
|
417
417
|
}, "strip", z.ZodTypeAny, {
|
|
418
|
+
sourceId: string;
|
|
418
419
|
propertyChanges: Record<string, {
|
|
419
420
|
operation: "created";
|
|
420
421
|
after: import("./common").JsonValue;
|
|
@@ -428,11 +429,11 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
428
429
|
before: import("./common").JsonValue;
|
|
429
430
|
}>;
|
|
430
431
|
sourceTypeId: string;
|
|
431
|
-
sourceId: string;
|
|
432
432
|
linkId: string;
|
|
433
433
|
targetTypeId: string;
|
|
434
434
|
targetId: string;
|
|
435
435
|
}, {
|
|
436
|
+
sourceId: string;
|
|
436
437
|
propertyChanges: Record<string, {
|
|
437
438
|
operation: "created";
|
|
438
439
|
after: import("./common").JsonValue;
|
|
@@ -446,7 +447,6 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
446
447
|
before: import("./common").JsonValue;
|
|
447
448
|
}>;
|
|
448
449
|
sourceTypeId: string;
|
|
449
|
-
sourceId: string;
|
|
450
450
|
linkId: string;
|
|
451
451
|
targetTypeId: string;
|
|
452
452
|
targetId: string;
|
package/dist/schemas/events.d.ts
CHANGED
|
@@ -252,11 +252,11 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
252
252
|
projectId: string;
|
|
253
253
|
id: string;
|
|
254
254
|
type: "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
255
|
+
occurredAt: string;
|
|
255
256
|
payload: Record<string, unknown>;
|
|
256
257
|
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
257
258
|
partitionKey: string;
|
|
258
259
|
schemaVersion: 1;
|
|
259
|
-
occurredAt: string;
|
|
260
260
|
cursor: string;
|
|
261
261
|
origin?: {
|
|
262
262
|
kind: "projection";
|
|
@@ -297,11 +297,11 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
297
297
|
projectId: string;
|
|
298
298
|
id: string;
|
|
299
299
|
type: "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
300
|
+
occurredAt: string;
|
|
300
301
|
payload: Record<string, unknown>;
|
|
301
302
|
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
302
303
|
partitionKey: string;
|
|
303
304
|
schemaVersion: 1;
|
|
304
|
-
occurredAt: string;
|
|
305
305
|
cursor: string;
|
|
306
306
|
origin?: {
|
|
307
307
|
kind: "projection";
|
|
@@ -471,11 +471,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
471
471
|
projectId: string;
|
|
472
472
|
id: string;
|
|
473
473
|
type: "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
474
|
+
occurredAt: string;
|
|
474
475
|
payload: Record<string, unknown>;
|
|
475
476
|
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
476
477
|
partitionKey: string;
|
|
477
478
|
schemaVersion: 1;
|
|
478
|
-
occurredAt: string;
|
|
479
479
|
cursor: string;
|
|
480
480
|
origin?: {
|
|
481
481
|
kind: "projection";
|
|
@@ -516,11 +516,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
516
516
|
projectId: string;
|
|
517
517
|
id: string;
|
|
518
518
|
type: "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
519
|
+
occurredAt: string;
|
|
519
520
|
payload: Record<string, unknown>;
|
|
520
521
|
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
521
522
|
partitionKey: string;
|
|
522
523
|
schemaVersion: 1;
|
|
523
|
-
occurredAt: string;
|
|
524
524
|
cursor: string;
|
|
525
525
|
origin?: {
|
|
526
526
|
kind: "projection";
|
|
@@ -563,11 +563,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
563
563
|
projectId: string;
|
|
564
564
|
id: string;
|
|
565
565
|
type: "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
566
|
+
occurredAt: string;
|
|
566
567
|
payload: Record<string, unknown>;
|
|
567
568
|
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
568
569
|
partitionKey: string;
|
|
569
570
|
schemaVersion: 1;
|
|
570
|
-
occurredAt: string;
|
|
571
571
|
cursor: string;
|
|
572
572
|
origin?: {
|
|
573
573
|
kind: "projection";
|
|
@@ -614,11 +614,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
614
614
|
projectId: string;
|
|
615
615
|
id: string;
|
|
616
616
|
type: "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
617
|
+
occurredAt: string;
|
|
617
618
|
payload: Record<string, unknown>;
|
|
618
619
|
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
619
620
|
partitionKey: string;
|
|
620
621
|
schemaVersion: 1;
|
|
621
|
-
occurredAt: string;
|
|
622
622
|
cursor: string;
|
|
623
623
|
origin?: {
|
|
624
624
|
kind: "projection";
|
package/dist/schemas/links.d.ts
CHANGED
|
@@ -23,16 +23,6 @@ export declare const LinkParamsSchema: z.ZodObject<{
|
|
|
23
23
|
linkId: string;
|
|
24
24
|
objectId: string;
|
|
25
25
|
}>;
|
|
26
|
-
export declare const LinkQuerySchema: z.ZodObject<{
|
|
27
|
-
linkId: z.ZodOptional<z.ZodString>;
|
|
28
|
-
direction: z.ZodDefault<z.ZodEnum<["outgoing", "incoming", "both"]>>;
|
|
29
|
-
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
direction: "outgoing" | "incoming" | "both";
|
|
31
|
-
linkId?: string | undefined;
|
|
32
|
-
}, {
|
|
33
|
-
linkId?: string | undefined;
|
|
34
|
-
direction?: "outgoing" | "incoming" | "both" | undefined;
|
|
35
|
-
}>;
|
|
36
26
|
export declare const RemoveLinkQuerySchema: z.ZodObject<{
|
|
37
27
|
targetTypeId: z.ZodString;
|
|
38
28
|
targetId: z.ZodString;
|
|
@@ -56,35 +46,4 @@ export declare const UpsertLinkBodySchema: z.ZodObject<{
|
|
|
56
46
|
targetId: string;
|
|
57
47
|
properties?: Record<string, unknown> | undefined;
|
|
58
48
|
}>;
|
|
59
|
-
export declare const ObjectLinkSchema: z.ZodObject<{
|
|
60
|
-
projectId: z.ZodString;
|
|
61
|
-
sourceTypeId: z.ZodString;
|
|
62
|
-
sourceId: z.ZodString;
|
|
63
|
-
linkId: z.ZodString;
|
|
64
|
-
targetTypeId: z.ZodString;
|
|
65
|
-
targetId: z.ZodString;
|
|
66
|
-
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
67
|
-
createdAt: z.ZodString;
|
|
68
|
-
updatedAt: z.ZodString;
|
|
69
|
-
}, "strip", z.ZodTypeAny, {
|
|
70
|
-
projectId: string;
|
|
71
|
-
createdAt: string;
|
|
72
|
-
updatedAt: string;
|
|
73
|
-
sourceTypeId: string;
|
|
74
|
-
sourceId: string;
|
|
75
|
-
linkId: string;
|
|
76
|
-
targetTypeId: string;
|
|
77
|
-
targetId: string;
|
|
78
|
-
properties?: Record<string, unknown> | undefined;
|
|
79
|
-
}, {
|
|
80
|
-
projectId: string;
|
|
81
|
-
createdAt: string;
|
|
82
|
-
updatedAt: string;
|
|
83
|
-
sourceTypeId: string;
|
|
84
|
-
sourceId: string;
|
|
85
|
-
linkId: string;
|
|
86
|
-
targetTypeId: string;
|
|
87
|
-
targetId: string;
|
|
88
|
-
properties?: Record<string, unknown> | undefined;
|
|
89
|
-
}>;
|
|
90
49
|
//# sourceMappingURL=links.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../src/schemas/links.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;EAE3B,CAAA;AAEF,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../src/schemas/links.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;EAE3B,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;EAGhC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAA"}
|
package/dist/schemas/logs.d.ts
CHANGED
|
@@ -15,36 +15,36 @@ export declare const LogsQuerySchema: z.ZodEffects<z.ZodObject<{
|
|
|
15
15
|
beforeCursor: z.ZodOptional<z.ZodString>;
|
|
16
16
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
kind?: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action" |
|
|
18
|
+
kind?: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action" | undefined;
|
|
19
19
|
runId?: string | undefined;
|
|
20
20
|
limit?: number | undefined;
|
|
21
21
|
afterCursor?: string | undefined;
|
|
22
|
-
direction?: "forward" | "backward" | undefined;
|
|
23
22
|
level?: "error" | "debug" | "info" | "warn" | undefined;
|
|
23
|
+
direction?: "forward" | "backward" | undefined;
|
|
24
24
|
beforeCursor?: string | undefined;
|
|
25
25
|
}, {
|
|
26
|
-
kind?: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action" |
|
|
26
|
+
kind?: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action" | undefined;
|
|
27
27
|
runId?: string | undefined;
|
|
28
28
|
limit?: number | undefined;
|
|
29
29
|
afterCursor?: string | undefined;
|
|
30
|
-
direction?: "forward" | "backward" | undefined;
|
|
31
30
|
level?: "error" | "debug" | "info" | "warn" | undefined;
|
|
31
|
+
direction?: "forward" | "backward" | undefined;
|
|
32
32
|
beforeCursor?: string | undefined;
|
|
33
33
|
}>, {
|
|
34
|
-
kind?: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action" |
|
|
34
|
+
kind?: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action" | undefined;
|
|
35
35
|
runId?: string | undefined;
|
|
36
36
|
limit?: number | undefined;
|
|
37
37
|
afterCursor?: string | undefined;
|
|
38
|
-
direction?: "forward" | "backward" | undefined;
|
|
39
38
|
level?: "error" | "debug" | "info" | "warn" | undefined;
|
|
39
|
+
direction?: "forward" | "backward" | undefined;
|
|
40
40
|
beforeCursor?: string | undefined;
|
|
41
41
|
}, {
|
|
42
|
-
kind?: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action" |
|
|
42
|
+
kind?: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action" | undefined;
|
|
43
43
|
runId?: string | undefined;
|
|
44
44
|
limit?: number | undefined;
|
|
45
45
|
afterCursor?: string | undefined;
|
|
46
|
-
direction?: "forward" | "backward" | undefined;
|
|
47
46
|
level?: "error" | "debug" | "info" | "warn" | undefined;
|
|
47
|
+
direction?: "forward" | "backward" | undefined;
|
|
48
48
|
beforeCursor?: string | undefined;
|
|
49
49
|
}>;
|
|
50
50
|
export declare const LogLineSchema: z.ZodObject<{
|
|
@@ -58,10 +58,10 @@ export declare const LogLineSchema: z.ZodObject<{
|
|
|
58
58
|
id: z.ZodString;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
60
|
id: string;
|
|
61
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
61
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
62
62
|
}, {
|
|
63
63
|
id: string;
|
|
64
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
64
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
65
65
|
}>;
|
|
66
66
|
stepId: z.ZodOptional<z.ZodString>;
|
|
67
67
|
phase: z.ZodOptional<z.ZodString>;
|
|
@@ -69,7 +69,7 @@ export declare const LogLineSchema: z.ZodObject<{
|
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
70
|
run: {
|
|
71
71
|
id: string;
|
|
72
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
72
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
73
73
|
};
|
|
74
74
|
phase?: string | undefined;
|
|
75
75
|
attempt?: number | undefined;
|
|
@@ -77,7 +77,7 @@ export declare const LogLineSchema: z.ZodObject<{
|
|
|
77
77
|
}, {
|
|
78
78
|
run: {
|
|
79
79
|
id: string;
|
|
80
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
80
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
81
81
|
};
|
|
82
82
|
phase?: string | undefined;
|
|
83
83
|
attempt?: number | undefined;
|
|
@@ -90,7 +90,7 @@ export declare const LogLineSchema: z.ZodObject<{
|
|
|
90
90
|
context: {
|
|
91
91
|
run: {
|
|
92
92
|
id: string;
|
|
93
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
93
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
94
94
|
};
|
|
95
95
|
phase?: string | undefined;
|
|
96
96
|
attempt?: number | undefined;
|
|
@@ -105,7 +105,7 @@ export declare const LogLineSchema: z.ZodObject<{
|
|
|
105
105
|
context: {
|
|
106
106
|
run: {
|
|
107
107
|
id: string;
|
|
108
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
108
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
109
109
|
};
|
|
110
110
|
phase?: string | undefined;
|
|
111
111
|
attempt?: number | undefined;
|
|
@@ -128,10 +128,10 @@ export declare const LogsResponseSchema: z.ZodObject<{
|
|
|
128
128
|
id: z.ZodString;
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
130
130
|
id: string;
|
|
131
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
131
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
132
132
|
}, {
|
|
133
133
|
id: string;
|
|
134
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
134
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
135
135
|
}>;
|
|
136
136
|
stepId: z.ZodOptional<z.ZodString>;
|
|
137
137
|
phase: z.ZodOptional<z.ZodString>;
|
|
@@ -139,7 +139,7 @@ export declare const LogsResponseSchema: z.ZodObject<{
|
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
140
|
run: {
|
|
141
141
|
id: string;
|
|
142
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
142
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
143
143
|
};
|
|
144
144
|
phase?: string | undefined;
|
|
145
145
|
attempt?: number | undefined;
|
|
@@ -147,7 +147,7 @@ export declare const LogsResponseSchema: z.ZodObject<{
|
|
|
147
147
|
}, {
|
|
148
148
|
run: {
|
|
149
149
|
id: string;
|
|
150
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
150
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
151
151
|
};
|
|
152
152
|
phase?: string | undefined;
|
|
153
153
|
attempt?: number | undefined;
|
|
@@ -160,7 +160,7 @@ export declare const LogsResponseSchema: z.ZodObject<{
|
|
|
160
160
|
context: {
|
|
161
161
|
run: {
|
|
162
162
|
id: string;
|
|
163
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
163
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
164
164
|
};
|
|
165
165
|
phase?: string | undefined;
|
|
166
166
|
attempt?: number | undefined;
|
|
@@ -175,7 +175,7 @@ export declare const LogsResponseSchema: z.ZodObject<{
|
|
|
175
175
|
context: {
|
|
176
176
|
run: {
|
|
177
177
|
id: string;
|
|
178
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
178
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
179
179
|
};
|
|
180
180
|
phase?: string | undefined;
|
|
181
181
|
attempt?: number | undefined;
|
|
@@ -196,7 +196,7 @@ export declare const LogsResponseSchema: z.ZodObject<{
|
|
|
196
196
|
context: {
|
|
197
197
|
run: {
|
|
198
198
|
id: string;
|
|
199
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
199
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
200
200
|
};
|
|
201
201
|
phase?: string | undefined;
|
|
202
202
|
attempt?: number | undefined;
|
|
@@ -216,7 +216,7 @@ export declare const LogsResponseSchema: z.ZodObject<{
|
|
|
216
216
|
context: {
|
|
217
217
|
run: {
|
|
218
218
|
id: string;
|
|
219
|
-
kind: "workflow" | "webhook" | "sync" | "pipeline" | "projection" | "action"
|
|
219
|
+
kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
|
|
220
220
|
};
|
|
221
221
|
phase?: string | undefined;
|
|
222
222
|
attempt?: number | undefined;
|