@sixb/server 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +6 -2
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/files/content.d.ts +8 -0
- package/dist/files/content.d.ts.map +1 -1
- package/dist/index.js +2507 -1573
- package/dist/index.js.map +22 -20
- package/dist/models/display.d.ts +22 -0
- package/dist/models/display.d.ts.map +1 -0
- package/dist/routes/action-runs.d.ts +2 -0
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +1 -0
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +99 -89
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +139 -15
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/events.d.ts +3 -3
- package/dist/routes/files.d.ts +1 -0
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/models.d.ts +18 -1
- package/dist/routes/models.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +3 -1
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +2 -1
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/rules.d.ts +1 -1
- package/dist/routes/syncs.d.ts +1 -0
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +57 -54
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +4 -4
- package/dist/schemas/agents.d.ts +378 -215
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1847 -295
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/ai-limits.d.ts +2210 -0
- package/dist/schemas/ai-limits.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +202 -72
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/events.d.ts +6 -6
- package/dist/schemas/files.d.ts +3 -0
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/models.d.ts +214 -14
- package/dist/schemas/models.d.ts.map +1 -1
- package/dist/schemas/objects.d.ts +4 -4
- package/dist/schemas/pipelines.d.ts +6 -6
- package/dist/schemas/rules.d.ts +6 -6
- package/dist/schemas/workflows.d.ts +196 -206
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/utils/http.d.ts +8 -4
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/auth/public-routes.ts +18 -0
- package/src/auth/scope.ts +3 -2
- package/src/files/content.ts +39 -6
- package/src/models/display.ts +91 -0
- package/src/routes/agent-api-gateway.ts +137 -38
- package/src/routes/agents.ts +58 -83
- package/src/routes/ai-accounting.ts +414 -23
- package/src/routes/auth.ts +297 -2
- package/src/routes/models.ts +12 -4
- package/src/routes/workflows.ts +3 -5
- package/src/routes/ws/agents.ts +17 -6
- package/src/schemas/agents.ts +40 -49
- package/src/schemas/ai-accounting.ts +88 -19
- package/src/schemas/ai-limits.ts +116 -0
- package/src/schemas/auth.ts +39 -0
- package/src/schemas/files.ts +1 -0
- package/src/schemas/models.ts +33 -5
- package/src/schemas/workflows.ts +0 -2
- package/src/utils/http.ts +33 -2
|
@@ -70,9 +70,9 @@ export declare const WorkflowInterventionsQuerySchema: z.ZodObject<{
|
|
|
70
70
|
workflowId?: string | undefined;
|
|
71
71
|
nodeRunId?: string | undefined;
|
|
72
72
|
workflowRunId?: string | undefined;
|
|
73
|
+
interventionId?: string | undefined;
|
|
73
74
|
nodeId?: string | undefined;
|
|
74
75
|
nodeKey?: string | undefined;
|
|
75
|
-
interventionId?: string | undefined;
|
|
76
76
|
requestedAfter?: string | undefined;
|
|
77
77
|
requestedBefore?: string | undefined;
|
|
78
78
|
}, {
|
|
@@ -83,9 +83,9 @@ export declare const WorkflowInterventionsQuerySchema: z.ZodObject<{
|
|
|
83
83
|
workflowId?: string | undefined;
|
|
84
84
|
nodeRunId?: string | undefined;
|
|
85
85
|
workflowRunId?: string | undefined;
|
|
86
|
+
interventionId?: string | undefined;
|
|
86
87
|
nodeId?: string | undefined;
|
|
87
88
|
nodeKey?: string | undefined;
|
|
88
|
-
interventionId?: string | undefined;
|
|
89
89
|
requestedAfter?: string | undefined;
|
|
90
90
|
requestedBefore?: string | undefined;
|
|
91
91
|
}>;
|
|
@@ -123,7 +123,7 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
123
123
|
queuedAt: z.ZodOptional<z.ZodString>;
|
|
124
124
|
startedAt: z.ZodString;
|
|
125
125
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
126
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
126
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
127
127
|
requestedBy: z.ZodObject<{
|
|
128
128
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
129
129
|
principalId: z.ZodString;
|
|
@@ -144,7 +144,7 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
144
144
|
principalType: "user" | "serviceAccount" | "system";
|
|
145
145
|
principalId: string;
|
|
146
146
|
};
|
|
147
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
147
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
148
148
|
queuedAt?: string | undefined;
|
|
149
149
|
finishedAt?: string | undefined;
|
|
150
150
|
}, {
|
|
@@ -157,7 +157,7 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
157
157
|
principalType: "user" | "serviceAccount" | "system";
|
|
158
158
|
principalId: string;
|
|
159
159
|
};
|
|
160
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
160
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
161
161
|
queuedAt?: string | undefined;
|
|
162
162
|
finishedAt?: string | undefined;
|
|
163
163
|
}>;
|
|
@@ -169,7 +169,7 @@ export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
|
169
169
|
queuedAt: z.ZodOptional<z.ZodString>;
|
|
170
170
|
startedAt: z.ZodString;
|
|
171
171
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
172
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
172
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
173
173
|
requestedBy: z.ZodObject<{
|
|
174
174
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
175
175
|
principalId: z.ZodString;
|
|
@@ -188,13 +188,13 @@ export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
|
188
188
|
projectId: string;
|
|
189
189
|
id: string;
|
|
190
190
|
startedAt: string;
|
|
191
|
-
workflowId: string;
|
|
192
191
|
input: Record<string, import("./common").JsonValue>;
|
|
192
|
+
workflowId: string;
|
|
193
193
|
requestedBy: {
|
|
194
194
|
principalType: "user" | "serviceAccount" | "system";
|
|
195
195
|
principalId: string;
|
|
196
196
|
};
|
|
197
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
197
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
198
198
|
queuedAt?: string | undefined;
|
|
199
199
|
finishedAt?: string | undefined;
|
|
200
200
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
@@ -203,19 +203,18 @@ export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
|
203
203
|
projectId: string;
|
|
204
204
|
id: string;
|
|
205
205
|
startedAt: string;
|
|
206
|
-
workflowId: string;
|
|
207
206
|
input: Record<string, import("./common").JsonValue>;
|
|
207
|
+
workflowId: string;
|
|
208
208
|
requestedBy: {
|
|
209
209
|
principalType: "user" | "serviceAccount" | "system";
|
|
210
210
|
principalId: string;
|
|
211
211
|
};
|
|
212
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
212
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
213
213
|
queuedAt?: string | undefined;
|
|
214
214
|
finishedAt?: string | undefined;
|
|
215
215
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
216
216
|
}>;
|
|
217
217
|
export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
218
|
-
agentId: z.ZodString;
|
|
219
218
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
220
219
|
attempt: z.ZodNumber;
|
|
221
220
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -286,7 +285,6 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
286
285
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
287
286
|
}, "strip", z.ZodTypeAny, {
|
|
288
287
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
289
|
-
agentId: string;
|
|
290
288
|
attempt: number;
|
|
291
289
|
startedAt?: string | undefined;
|
|
292
290
|
completedAt?: string | undefined;
|
|
@@ -314,7 +312,6 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
314
312
|
finishReason?: string | undefined;
|
|
315
313
|
}, {
|
|
316
314
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
317
|
-
agentId: string;
|
|
318
315
|
attempt: number;
|
|
319
316
|
startedAt?: string | undefined;
|
|
320
317
|
completedAt?: string | undefined;
|
|
@@ -343,7 +340,6 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
343
340
|
}>;
|
|
344
341
|
export declare const WorkflowAgentFailurePhaseSchema: z.ZodEnum<["agent-loop", "structured-finalizer"]>;
|
|
345
342
|
export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
346
|
-
agentId: z.ZodString;
|
|
347
343
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
348
344
|
attempt: z.ZodNumber;
|
|
349
345
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -492,6 +488,18 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
492
488
|
logicalPath?: string | undefined;
|
|
493
489
|
};
|
|
494
490
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
491
|
+
}>, z.ZodObject<{
|
|
492
|
+
type: z.ZodLiteral<"provider-state">;
|
|
493
|
+
providerId: z.ZodString;
|
|
494
|
+
data: z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>;
|
|
495
|
+
}, "strip", z.ZodTypeAny, {
|
|
496
|
+
type: "provider-state";
|
|
497
|
+
providerId: string;
|
|
498
|
+
data: import("./common").JsonValue;
|
|
499
|
+
}, {
|
|
500
|
+
type: "provider-state";
|
|
501
|
+
providerId: string;
|
|
502
|
+
data: import("./common").JsonValue;
|
|
495
503
|
}>, z.ZodObject<{
|
|
496
504
|
context: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
497
505
|
kind: z.ZodLiteral<"object">;
|
|
@@ -585,9 +593,9 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
585
593
|
}, "strip", z.ZodTypeAny, {
|
|
586
594
|
type: "tool-call";
|
|
587
595
|
output: import("./common").JsonValue;
|
|
596
|
+
input: import("./common").JsonValue;
|
|
588
597
|
toolCallId: string;
|
|
589
598
|
toolName: string;
|
|
590
|
-
input: import("./common").JsonValue;
|
|
591
599
|
state: "output-available";
|
|
592
600
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
593
601
|
dynamic?: boolean | undefined;
|
|
@@ -595,9 +603,9 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
595
603
|
}, {
|
|
596
604
|
type: "tool-call";
|
|
597
605
|
output: import("./common").JsonValue;
|
|
606
|
+
input: import("./common").JsonValue;
|
|
598
607
|
toolCallId: string;
|
|
599
608
|
toolName: string;
|
|
600
|
-
input: import("./common").JsonValue;
|
|
601
609
|
state: "output-available";
|
|
602
610
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
603
611
|
dynamic?: boolean | undefined;
|
|
@@ -615,9 +623,9 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
615
623
|
errorText: z.ZodString;
|
|
616
624
|
}, "strip", z.ZodTypeAny, {
|
|
617
625
|
type: "tool-call";
|
|
626
|
+
input: import("./common").JsonValue;
|
|
618
627
|
toolCallId: string;
|
|
619
628
|
toolName: string;
|
|
620
|
-
input: import("./common").JsonValue;
|
|
621
629
|
state: "output-error";
|
|
622
630
|
errorText: string;
|
|
623
631
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
@@ -625,9 +633,9 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
625
633
|
providerExecuted?: boolean | undefined;
|
|
626
634
|
}, {
|
|
627
635
|
type: "tool-call";
|
|
636
|
+
input: import("./common").JsonValue;
|
|
628
637
|
toolCallId: string;
|
|
629
638
|
toolName: string;
|
|
630
|
-
input: import("./common").JsonValue;
|
|
631
639
|
state: "output-error";
|
|
632
640
|
errorText: string;
|
|
633
641
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
@@ -636,16 +644,15 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
636
644
|
}>]>, "many">>;
|
|
637
645
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>, "many">>;
|
|
638
646
|
failurePhase: z.ZodOptional<z.ZodEnum<["agent-loop", "structured-finalizer"]>>;
|
|
639
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
647
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
640
648
|
createdAt: z.ZodString;
|
|
641
649
|
}, "strip", z.ZodTypeAny, {
|
|
642
650
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
643
|
-
agentId: string;
|
|
644
651
|
attempt: number;
|
|
645
652
|
nodeRunId: string;
|
|
646
653
|
createdAt: string;
|
|
647
654
|
prompt: string;
|
|
648
|
-
error?: SixbFailure<"agent.execution_failed" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
655
|
+
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
649
656
|
startedAt?: string | undefined;
|
|
650
657
|
completedAt?: string | undefined;
|
|
651
658
|
modelId?: string | undefined;
|
|
@@ -708,21 +715,25 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
708
715
|
logicalPath?: string | undefined;
|
|
709
716
|
};
|
|
710
717
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
718
|
+
} | {
|
|
719
|
+
type: "provider-state";
|
|
720
|
+
providerId: string;
|
|
721
|
+
data: import("./common").JsonValue;
|
|
711
722
|
} | {
|
|
712
723
|
type: "tool-call";
|
|
713
724
|
output: import("./common").JsonValue;
|
|
725
|
+
input: import("./common").JsonValue;
|
|
714
726
|
toolCallId: string;
|
|
715
727
|
toolName: string;
|
|
716
|
-
input: import("./common").JsonValue;
|
|
717
728
|
state: "output-available";
|
|
718
729
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
719
730
|
dynamic?: boolean | undefined;
|
|
720
731
|
providerExecuted?: boolean | undefined;
|
|
721
732
|
} | {
|
|
722
733
|
type: "tool-call";
|
|
734
|
+
input: import("./common").JsonValue;
|
|
723
735
|
toolCallId: string;
|
|
724
736
|
toolName: string;
|
|
725
|
-
input: import("./common").JsonValue;
|
|
726
737
|
state: "output-error";
|
|
727
738
|
errorText: string;
|
|
728
739
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
@@ -732,12 +743,11 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
732
743
|
failurePhase?: "agent-loop" | "structured-finalizer" | undefined;
|
|
733
744
|
}, {
|
|
734
745
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
735
|
-
agentId: string;
|
|
736
746
|
attempt: number;
|
|
737
747
|
nodeRunId: string;
|
|
738
748
|
createdAt: string;
|
|
739
749
|
prompt: string;
|
|
740
|
-
error?: SixbFailure<"agent.execution_failed" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
750
|
+
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
741
751
|
startedAt?: string | undefined;
|
|
742
752
|
completedAt?: string | undefined;
|
|
743
753
|
modelId?: string | undefined;
|
|
@@ -800,21 +810,25 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
800
810
|
logicalPath?: string | undefined;
|
|
801
811
|
};
|
|
802
812
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
813
|
+
} | {
|
|
814
|
+
type: "provider-state";
|
|
815
|
+
providerId: string;
|
|
816
|
+
data: import("./common").JsonValue;
|
|
803
817
|
} | {
|
|
804
818
|
type: "tool-call";
|
|
805
819
|
output: import("./common").JsonValue;
|
|
820
|
+
input: import("./common").JsonValue;
|
|
806
821
|
toolCallId: string;
|
|
807
822
|
toolName: string;
|
|
808
|
-
input: import("./common").JsonValue;
|
|
809
823
|
state: "output-available";
|
|
810
824
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
811
825
|
dynamic?: boolean | undefined;
|
|
812
826
|
providerExecuted?: boolean | undefined;
|
|
813
827
|
} | {
|
|
814
828
|
type: "tool-call";
|
|
829
|
+
input: import("./common").JsonValue;
|
|
815
830
|
toolCallId: string;
|
|
816
831
|
toolName: string;
|
|
817
|
-
input: import("./common").JsonValue;
|
|
818
832
|
state: "output-error";
|
|
819
833
|
errorText: string;
|
|
820
834
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
@@ -837,9 +851,8 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
837
851
|
startedAt: z.ZodString;
|
|
838
852
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
839
853
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
840
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
854
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
841
855
|
agentExecution: z.ZodOptional<z.ZodObject<{
|
|
842
|
-
agentId: z.ZodString;
|
|
843
856
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
844
857
|
attempt: z.ZodNumber;
|
|
845
858
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -910,7 +923,6 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
910
923
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
911
924
|
}, "strip", z.ZodTypeAny, {
|
|
912
925
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
913
|
-
agentId: string;
|
|
914
926
|
attempt: number;
|
|
915
927
|
startedAt?: string | undefined;
|
|
916
928
|
completedAt?: string | undefined;
|
|
@@ -938,7 +950,6 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
938
950
|
finishReason?: string | undefined;
|
|
939
951
|
}, {
|
|
940
952
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
941
|
-
agentId: string;
|
|
942
953
|
attempt: number;
|
|
943
954
|
startedAt?: string | undefined;
|
|
944
955
|
completedAt?: string | undefined;
|
|
@@ -970,17 +981,16 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
970
981
|
projectId: string;
|
|
971
982
|
id: string;
|
|
972
983
|
startedAt: string;
|
|
984
|
+
input: Record<string, import("./common").JsonValue>;
|
|
973
985
|
workflowId: string;
|
|
974
986
|
workflowRunId: string;
|
|
975
|
-
input: Record<string, import("./common").JsonValue>;
|
|
976
|
-
nodeIndex: number;
|
|
977
|
-
nodeType: "agent" | "action" | "step" | "intervention";
|
|
978
987
|
nodeId: string;
|
|
979
988
|
nodeKey: string;
|
|
980
|
-
|
|
989
|
+
nodeIndex: number;
|
|
990
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
991
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
981
992
|
agentExecution?: {
|
|
982
993
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
983
|
-
agentId: string;
|
|
984
994
|
attempt: number;
|
|
985
995
|
startedAt?: string | undefined;
|
|
986
996
|
completedAt?: string | undefined;
|
|
@@ -1014,17 +1024,16 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1014
1024
|
projectId: string;
|
|
1015
1025
|
id: string;
|
|
1016
1026
|
startedAt: string;
|
|
1027
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1017
1028
|
workflowId: string;
|
|
1018
1029
|
workflowRunId: string;
|
|
1019
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1020
|
-
nodeIndex: number;
|
|
1021
|
-
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1022
1030
|
nodeId: string;
|
|
1023
1031
|
nodeKey: string;
|
|
1024
|
-
|
|
1032
|
+
nodeIndex: number;
|
|
1033
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1034
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1025
1035
|
agentExecution?: {
|
|
1026
1036
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1027
|
-
agentId: string;
|
|
1028
1037
|
attempt: number;
|
|
1029
1038
|
startedAt?: string | undefined;
|
|
1030
1039
|
completedAt?: string | undefined;
|
|
@@ -1097,56 +1106,56 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
1097
1106
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1098
1107
|
projectId: string;
|
|
1099
1108
|
id: string;
|
|
1109
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1100
1110
|
workflowId: string;
|
|
1101
1111
|
nodeRunId: string;
|
|
1102
1112
|
workflowRunId: string;
|
|
1103
|
-
|
|
1104
|
-
nodeIndex: number;
|
|
1113
|
+
interventionId: string;
|
|
1105
1114
|
nodeId: string;
|
|
1106
1115
|
nodeKey: string;
|
|
1107
|
-
|
|
1108
|
-
requestedAt: string;
|
|
1116
|
+
nodeIndex: number;
|
|
1109
1117
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1118
|
+
requestedAt: string;
|
|
1110
1119
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1111
1120
|
expiresAt?: string | undefined;
|
|
1112
1121
|
submittedAt?: string | undefined;
|
|
1113
|
-
cancelledAt?: string | undefined;
|
|
1114
|
-
expiredAt?: string | undefined;
|
|
1115
1122
|
submittedBy?: {
|
|
1116
1123
|
principalType: "user" | "serviceAccount" | "system";
|
|
1117
1124
|
principalId: string;
|
|
1118
1125
|
} | undefined;
|
|
1126
|
+
cancelledAt?: string | undefined;
|
|
1119
1127
|
cancelledBy?: {
|
|
1120
1128
|
principalType: "user" | "serviceAccount" | "system";
|
|
1121
1129
|
principalId: string;
|
|
1122
1130
|
} | undefined;
|
|
1131
|
+
expiredAt?: string | undefined;
|
|
1123
1132
|
}, {
|
|
1124
1133
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1125
1134
|
projectId: string;
|
|
1126
1135
|
id: string;
|
|
1136
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1127
1137
|
workflowId: string;
|
|
1128
1138
|
nodeRunId: string;
|
|
1129
1139
|
workflowRunId: string;
|
|
1130
|
-
|
|
1131
|
-
nodeIndex: number;
|
|
1140
|
+
interventionId: string;
|
|
1132
1141
|
nodeId: string;
|
|
1133
1142
|
nodeKey: string;
|
|
1134
|
-
|
|
1135
|
-
requestedAt: string;
|
|
1143
|
+
nodeIndex: number;
|
|
1136
1144
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1145
|
+
requestedAt: string;
|
|
1137
1146
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1138
1147
|
expiresAt?: string | undefined;
|
|
1139
1148
|
submittedAt?: string | undefined;
|
|
1140
|
-
cancelledAt?: string | undefined;
|
|
1141
|
-
expiredAt?: string | undefined;
|
|
1142
1149
|
submittedBy?: {
|
|
1143
1150
|
principalType: "user" | "serviceAccount" | "system";
|
|
1144
1151
|
principalId: string;
|
|
1145
1152
|
} | undefined;
|
|
1153
|
+
cancelledAt?: string | undefined;
|
|
1146
1154
|
cancelledBy?: {
|
|
1147
1155
|
principalType: "user" | "serviceAccount" | "system";
|
|
1148
1156
|
principalId: string;
|
|
1149
1157
|
} | undefined;
|
|
1158
|
+
expiredAt?: string | undefined;
|
|
1150
1159
|
}>;
|
|
1151
1160
|
export declare const WorkflowSchema: z.ZodObject<{
|
|
1152
1161
|
id: z.ZodString;
|
|
@@ -1222,7 +1231,6 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1222
1231
|
type: z.ZodLiteral<"agent">;
|
|
1223
1232
|
id: z.ZodString;
|
|
1224
1233
|
key: z.ZodString;
|
|
1225
|
-
agentId: z.ZodString;
|
|
1226
1234
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1227
1235
|
output: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1228
1236
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1230,14 +1238,12 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1230
1238
|
type: "agent";
|
|
1231
1239
|
output: Record<string, import("./common").JsonValue>;
|
|
1232
1240
|
key: string;
|
|
1233
|
-
agentId: string;
|
|
1234
1241
|
input: Record<string, import("./common").JsonValue>;
|
|
1235
1242
|
}, {
|
|
1236
1243
|
id: string;
|
|
1237
1244
|
type: "agent";
|
|
1238
1245
|
output: Record<string, import("./common").JsonValue>;
|
|
1239
1246
|
key: string;
|
|
1240
|
-
agentId: string;
|
|
1241
1247
|
input: Record<string, import("./common").JsonValue>;
|
|
1242
1248
|
}>]>, "many">;
|
|
1243
1249
|
latestRun: z.ZodNullable<z.ZodObject<{
|
|
@@ -1248,7 +1254,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1248
1254
|
queuedAt: z.ZodOptional<z.ZodString>;
|
|
1249
1255
|
startedAt: z.ZodString;
|
|
1250
1256
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1251
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1257
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1252
1258
|
requestedBy: z.ZodObject<{
|
|
1253
1259
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1254
1260
|
principalId: z.ZodString;
|
|
@@ -1269,7 +1275,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1269
1275
|
principalType: "user" | "serviceAccount" | "system";
|
|
1270
1276
|
principalId: string;
|
|
1271
1277
|
};
|
|
1272
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1278
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1273
1279
|
queuedAt?: string | undefined;
|
|
1274
1280
|
finishedAt?: string | undefined;
|
|
1275
1281
|
}, {
|
|
@@ -1282,7 +1288,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1282
1288
|
principalType: "user" | "serviceAccount" | "system";
|
|
1283
1289
|
principalId: string;
|
|
1284
1290
|
};
|
|
1285
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1291
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1286
1292
|
queuedAt?: string | undefined;
|
|
1287
1293
|
finishedAt?: string | undefined;
|
|
1288
1294
|
}>>;
|
|
@@ -1317,7 +1323,6 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1317
1323
|
type: "agent";
|
|
1318
1324
|
output: Record<string, import("./common").JsonValue>;
|
|
1319
1325
|
key: string;
|
|
1320
|
-
agentId: string;
|
|
1321
1326
|
input: Record<string, import("./common").JsonValue>;
|
|
1322
1327
|
})[];
|
|
1323
1328
|
latestRun: {
|
|
@@ -1330,7 +1335,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1330
1335
|
principalType: "user" | "serviceAccount" | "system";
|
|
1331
1336
|
principalId: string;
|
|
1332
1337
|
};
|
|
1333
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1338
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1334
1339
|
queuedAt?: string | undefined;
|
|
1335
1340
|
finishedAt?: string | undefined;
|
|
1336
1341
|
} | null;
|
|
@@ -1365,7 +1370,6 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1365
1370
|
type: "agent";
|
|
1366
1371
|
output: Record<string, import("./common").JsonValue>;
|
|
1367
1372
|
key: string;
|
|
1368
|
-
agentId: string;
|
|
1369
1373
|
input: Record<string, import("./common").JsonValue>;
|
|
1370
1374
|
})[];
|
|
1371
1375
|
latestRun: {
|
|
@@ -1378,7 +1382,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1378
1382
|
principalType: "user" | "serviceAccount" | "system";
|
|
1379
1383
|
principalId: string;
|
|
1380
1384
|
};
|
|
1381
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1385
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1382
1386
|
queuedAt?: string | undefined;
|
|
1383
1387
|
finishedAt?: string | undefined;
|
|
1384
1388
|
} | null;
|
|
@@ -1392,7 +1396,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1392
1396
|
queuedAt: z.ZodOptional<z.ZodString>;
|
|
1393
1397
|
startedAt: z.ZodString;
|
|
1394
1398
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1395
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1399
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1396
1400
|
requestedBy: z.ZodObject<{
|
|
1397
1401
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1398
1402
|
principalId: z.ZodString;
|
|
@@ -1413,7 +1417,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1413
1417
|
principalType: "user" | "serviceAccount" | "system";
|
|
1414
1418
|
principalId: string;
|
|
1415
1419
|
};
|
|
1416
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1420
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1417
1421
|
queuedAt?: string | undefined;
|
|
1418
1422
|
finishedAt?: string | undefined;
|
|
1419
1423
|
}, {
|
|
@@ -1426,7 +1430,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1426
1430
|
principalType: "user" | "serviceAccount" | "system";
|
|
1427
1431
|
principalId: string;
|
|
1428
1432
|
};
|
|
1429
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1433
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1430
1434
|
queuedAt?: string | undefined;
|
|
1431
1435
|
finishedAt?: string | undefined;
|
|
1432
1436
|
}>, "many">;
|
|
@@ -1443,7 +1447,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1443
1447
|
principalType: "user" | "serviceAccount" | "system";
|
|
1444
1448
|
principalId: string;
|
|
1445
1449
|
};
|
|
1446
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1450
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1447
1451
|
queuedAt?: string | undefined;
|
|
1448
1452
|
finishedAt?: string | undefined;
|
|
1449
1453
|
}[];
|
|
@@ -1460,7 +1464,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1460
1464
|
principalType: "user" | "serviceAccount" | "system";
|
|
1461
1465
|
principalId: string;
|
|
1462
1466
|
};
|
|
1463
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1467
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1464
1468
|
queuedAt?: string | undefined;
|
|
1465
1469
|
finishedAt?: string | undefined;
|
|
1466
1470
|
}[];
|
|
@@ -1476,7 +1480,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1476
1480
|
queuedAt: z.ZodOptional<z.ZodString>;
|
|
1477
1481
|
startedAt: z.ZodString;
|
|
1478
1482
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1479
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1483
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1480
1484
|
requestedBy: z.ZodObject<{
|
|
1481
1485
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1482
1486
|
principalId: z.ZodString;
|
|
@@ -1495,13 +1499,13 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1495
1499
|
projectId: string;
|
|
1496
1500
|
id: string;
|
|
1497
1501
|
startedAt: string;
|
|
1498
|
-
workflowId: string;
|
|
1499
1502
|
input: Record<string, import("./common").JsonValue>;
|
|
1503
|
+
workflowId: string;
|
|
1500
1504
|
requestedBy: {
|
|
1501
1505
|
principalType: "user" | "serviceAccount" | "system";
|
|
1502
1506
|
principalId: string;
|
|
1503
1507
|
};
|
|
1504
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1508
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1505
1509
|
queuedAt?: string | undefined;
|
|
1506
1510
|
finishedAt?: string | undefined;
|
|
1507
1511
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
@@ -1510,13 +1514,13 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1510
1514
|
projectId: string;
|
|
1511
1515
|
id: string;
|
|
1512
1516
|
startedAt: string;
|
|
1513
|
-
workflowId: string;
|
|
1514
1517
|
input: Record<string, import("./common").JsonValue>;
|
|
1518
|
+
workflowId: string;
|
|
1515
1519
|
requestedBy: {
|
|
1516
1520
|
principalType: "user" | "serviceAccount" | "system";
|
|
1517
1521
|
principalId: string;
|
|
1518
1522
|
};
|
|
1519
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1523
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1520
1524
|
queuedAt?: string | undefined;
|
|
1521
1525
|
finishedAt?: string | undefined;
|
|
1522
1526
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
@@ -1535,9 +1539,8 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1535
1539
|
startedAt: z.ZodString;
|
|
1536
1540
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1537
1541
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1538
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1542
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1539
1543
|
agentExecution: z.ZodOptional<z.ZodObject<{
|
|
1540
|
-
agentId: z.ZodString;
|
|
1541
1544
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
1542
1545
|
attempt: z.ZodNumber;
|
|
1543
1546
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -1608,7 +1611,6 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1608
1611
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
1609
1612
|
}, "strip", z.ZodTypeAny, {
|
|
1610
1613
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1611
|
-
agentId: string;
|
|
1612
1614
|
attempt: number;
|
|
1613
1615
|
startedAt?: string | undefined;
|
|
1614
1616
|
completedAt?: string | undefined;
|
|
@@ -1636,7 +1638,6 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1636
1638
|
finishReason?: string | undefined;
|
|
1637
1639
|
}, {
|
|
1638
1640
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1639
|
-
agentId: string;
|
|
1640
1641
|
attempt: number;
|
|
1641
1642
|
startedAt?: string | undefined;
|
|
1642
1643
|
completedAt?: string | undefined;
|
|
@@ -1668,17 +1669,16 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1668
1669
|
projectId: string;
|
|
1669
1670
|
id: string;
|
|
1670
1671
|
startedAt: string;
|
|
1672
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1671
1673
|
workflowId: string;
|
|
1672
1674
|
workflowRunId: string;
|
|
1673
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1674
|
-
nodeIndex: number;
|
|
1675
|
-
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1676
1675
|
nodeId: string;
|
|
1677
1676
|
nodeKey: string;
|
|
1678
|
-
|
|
1677
|
+
nodeIndex: number;
|
|
1678
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1679
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1679
1680
|
agentExecution?: {
|
|
1680
1681
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1681
|
-
agentId: string;
|
|
1682
1682
|
attempt: number;
|
|
1683
1683
|
startedAt?: string | undefined;
|
|
1684
1684
|
completedAt?: string | undefined;
|
|
@@ -1712,17 +1712,16 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1712
1712
|
projectId: string;
|
|
1713
1713
|
id: string;
|
|
1714
1714
|
startedAt: string;
|
|
1715
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1715
1716
|
workflowId: string;
|
|
1716
1717
|
workflowRunId: string;
|
|
1717
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1718
|
-
nodeIndex: number;
|
|
1719
|
-
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1720
1718
|
nodeId: string;
|
|
1721
1719
|
nodeKey: string;
|
|
1722
|
-
|
|
1720
|
+
nodeIndex: number;
|
|
1721
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1722
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1723
1723
|
agentExecution?: {
|
|
1724
1724
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1725
|
-
agentId: string;
|
|
1726
1725
|
attempt: number;
|
|
1727
1726
|
startedAt?: string | undefined;
|
|
1728
1727
|
completedAt?: string | undefined;
|
|
@@ -1758,13 +1757,13 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1758
1757
|
projectId: string;
|
|
1759
1758
|
id: string;
|
|
1760
1759
|
startedAt: string;
|
|
1761
|
-
workflowId: string;
|
|
1762
1760
|
input: Record<string, import("./common").JsonValue>;
|
|
1761
|
+
workflowId: string;
|
|
1763
1762
|
requestedBy: {
|
|
1764
1763
|
principalType: "user" | "serviceAccount" | "system";
|
|
1765
1764
|
principalId: string;
|
|
1766
1765
|
};
|
|
1767
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1766
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1768
1767
|
queuedAt?: string | undefined;
|
|
1769
1768
|
finishedAt?: string | undefined;
|
|
1770
1769
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
@@ -1774,17 +1773,16 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1774
1773
|
projectId: string;
|
|
1775
1774
|
id: string;
|
|
1776
1775
|
startedAt: string;
|
|
1776
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1777
1777
|
workflowId: string;
|
|
1778
1778
|
workflowRunId: string;
|
|
1779
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1780
|
-
nodeIndex: number;
|
|
1781
|
-
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1782
1779
|
nodeId: string;
|
|
1783
1780
|
nodeKey: string;
|
|
1784
|
-
|
|
1781
|
+
nodeIndex: number;
|
|
1782
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1783
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1785
1784
|
agentExecution?: {
|
|
1786
1785
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1787
|
-
agentId: string;
|
|
1788
1786
|
attempt: number;
|
|
1789
1787
|
startedAt?: string | undefined;
|
|
1790
1788
|
completedAt?: string | undefined;
|
|
@@ -1820,13 +1818,13 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1820
1818
|
projectId: string;
|
|
1821
1819
|
id: string;
|
|
1822
1820
|
startedAt: string;
|
|
1823
|
-
workflowId: string;
|
|
1824
1821
|
input: Record<string, import("./common").JsonValue>;
|
|
1822
|
+
workflowId: string;
|
|
1825
1823
|
requestedBy: {
|
|
1826
1824
|
principalType: "user" | "serviceAccount" | "system";
|
|
1827
1825
|
principalId: string;
|
|
1828
1826
|
};
|
|
1829
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1827
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1830
1828
|
queuedAt?: string | undefined;
|
|
1831
1829
|
finishedAt?: string | undefined;
|
|
1832
1830
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
@@ -1836,17 +1834,16 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1836
1834
|
projectId: string;
|
|
1837
1835
|
id: string;
|
|
1838
1836
|
startedAt: string;
|
|
1837
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1839
1838
|
workflowId: string;
|
|
1840
1839
|
workflowRunId: string;
|
|
1841
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1842
|
-
nodeIndex: number;
|
|
1843
|
-
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1844
1840
|
nodeId: string;
|
|
1845
1841
|
nodeKey: string;
|
|
1846
|
-
|
|
1842
|
+
nodeIndex: number;
|
|
1843
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1844
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1847
1845
|
agentExecution?: {
|
|
1848
1846
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1849
|
-
agentId: string;
|
|
1850
1847
|
attempt: number;
|
|
1851
1848
|
startedAt?: string | undefined;
|
|
1852
1849
|
completedAt?: string | undefined;
|
|
@@ -1886,7 +1883,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1886
1883
|
queuedAt: z.ZodOptional<z.ZodString>;
|
|
1887
1884
|
startedAt: z.ZodString;
|
|
1888
1885
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1889
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1886
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1890
1887
|
requestedBy: z.ZodObject<{
|
|
1891
1888
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1892
1889
|
principalId: z.ZodString;
|
|
@@ -1905,13 +1902,13 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1905
1902
|
projectId: string;
|
|
1906
1903
|
id: string;
|
|
1907
1904
|
startedAt: string;
|
|
1908
|
-
workflowId: string;
|
|
1909
1905
|
input: Record<string, import("./common").JsonValue>;
|
|
1906
|
+
workflowId: string;
|
|
1910
1907
|
requestedBy: {
|
|
1911
1908
|
principalType: "user" | "serviceAccount" | "system";
|
|
1912
1909
|
principalId: string;
|
|
1913
1910
|
};
|
|
1914
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1911
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1915
1912
|
queuedAt?: string | undefined;
|
|
1916
1913
|
finishedAt?: string | undefined;
|
|
1917
1914
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
@@ -1920,13 +1917,13 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1920
1917
|
projectId: string;
|
|
1921
1918
|
id: string;
|
|
1922
1919
|
startedAt: string;
|
|
1923
|
-
workflowId: string;
|
|
1924
1920
|
input: Record<string, import("./common").JsonValue>;
|
|
1921
|
+
workflowId: string;
|
|
1925
1922
|
requestedBy: {
|
|
1926
1923
|
principalType: "user" | "serviceAccount" | "system";
|
|
1927
1924
|
principalId: string;
|
|
1928
1925
|
};
|
|
1929
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1926
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1930
1927
|
queuedAt?: string | undefined;
|
|
1931
1928
|
finishedAt?: string | undefined;
|
|
1932
1929
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
@@ -1945,9 +1942,8 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1945
1942
|
startedAt: z.ZodString;
|
|
1946
1943
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1947
1944
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1948
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1945
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1949
1946
|
agentExecution: z.ZodOptional<z.ZodObject<{
|
|
1950
|
-
agentId: z.ZodString;
|
|
1951
1947
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
1952
1948
|
attempt: z.ZodNumber;
|
|
1953
1949
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -2018,7 +2014,6 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2018
2014
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
2019
2015
|
}, "strip", z.ZodTypeAny, {
|
|
2020
2016
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2021
|
-
agentId: string;
|
|
2022
2017
|
attempt: number;
|
|
2023
2018
|
startedAt?: string | undefined;
|
|
2024
2019
|
completedAt?: string | undefined;
|
|
@@ -2046,7 +2041,6 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2046
2041
|
finishReason?: string | undefined;
|
|
2047
2042
|
}, {
|
|
2048
2043
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2049
|
-
agentId: string;
|
|
2050
2044
|
attempt: number;
|
|
2051
2045
|
startedAt?: string | undefined;
|
|
2052
2046
|
completedAt?: string | undefined;
|
|
@@ -2078,17 +2072,16 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2078
2072
|
projectId: string;
|
|
2079
2073
|
id: string;
|
|
2080
2074
|
startedAt: string;
|
|
2075
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2081
2076
|
workflowId: string;
|
|
2082
2077
|
workflowRunId: string;
|
|
2083
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2084
|
-
nodeIndex: number;
|
|
2085
|
-
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2086
2078
|
nodeId: string;
|
|
2087
2079
|
nodeKey: string;
|
|
2088
|
-
|
|
2080
|
+
nodeIndex: number;
|
|
2081
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2082
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2089
2083
|
agentExecution?: {
|
|
2090
2084
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2091
|
-
agentId: string;
|
|
2092
2085
|
attempt: number;
|
|
2093
2086
|
startedAt?: string | undefined;
|
|
2094
2087
|
completedAt?: string | undefined;
|
|
@@ -2122,17 +2115,16 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2122
2115
|
projectId: string;
|
|
2123
2116
|
id: string;
|
|
2124
2117
|
startedAt: string;
|
|
2118
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2125
2119
|
workflowId: string;
|
|
2126
2120
|
workflowRunId: string;
|
|
2127
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2128
|
-
nodeIndex: number;
|
|
2129
|
-
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2130
2121
|
nodeId: string;
|
|
2131
2122
|
nodeKey: string;
|
|
2132
|
-
|
|
2123
|
+
nodeIndex: number;
|
|
2124
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2125
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2133
2126
|
agentExecution?: {
|
|
2134
2127
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2135
|
-
agentId: string;
|
|
2136
2128
|
attempt: number;
|
|
2137
2129
|
startedAt?: string | undefined;
|
|
2138
2130
|
completedAt?: string | undefined;
|
|
@@ -2168,13 +2160,13 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2168
2160
|
projectId: string;
|
|
2169
2161
|
id: string;
|
|
2170
2162
|
startedAt: string;
|
|
2171
|
-
workflowId: string;
|
|
2172
2163
|
input: Record<string, import("./common").JsonValue>;
|
|
2164
|
+
workflowId: string;
|
|
2173
2165
|
requestedBy: {
|
|
2174
2166
|
principalType: "user" | "serviceAccount" | "system";
|
|
2175
2167
|
principalId: string;
|
|
2176
2168
|
};
|
|
2177
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2169
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2178
2170
|
queuedAt?: string | undefined;
|
|
2179
2171
|
finishedAt?: string | undefined;
|
|
2180
2172
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
@@ -2184,17 +2176,16 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2184
2176
|
projectId: string;
|
|
2185
2177
|
id: string;
|
|
2186
2178
|
startedAt: string;
|
|
2179
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2187
2180
|
workflowId: string;
|
|
2188
2181
|
workflowRunId: string;
|
|
2189
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2190
|
-
nodeIndex: number;
|
|
2191
|
-
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2192
2182
|
nodeId: string;
|
|
2193
2183
|
nodeKey: string;
|
|
2194
|
-
|
|
2184
|
+
nodeIndex: number;
|
|
2185
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2186
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2195
2187
|
agentExecution?: {
|
|
2196
2188
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2197
|
-
agentId: string;
|
|
2198
2189
|
attempt: number;
|
|
2199
2190
|
startedAt?: string | undefined;
|
|
2200
2191
|
completedAt?: string | undefined;
|
|
@@ -2230,13 +2221,13 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2230
2221
|
projectId: string;
|
|
2231
2222
|
id: string;
|
|
2232
2223
|
startedAt: string;
|
|
2233
|
-
workflowId: string;
|
|
2234
2224
|
input: Record<string, import("./common").JsonValue>;
|
|
2225
|
+
workflowId: string;
|
|
2235
2226
|
requestedBy: {
|
|
2236
2227
|
principalType: "user" | "serviceAccount" | "system";
|
|
2237
2228
|
principalId: string;
|
|
2238
2229
|
};
|
|
2239
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2230
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2240
2231
|
queuedAt?: string | undefined;
|
|
2241
2232
|
finishedAt?: string | undefined;
|
|
2242
2233
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
@@ -2246,17 +2237,16 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2246
2237
|
projectId: string;
|
|
2247
2238
|
id: string;
|
|
2248
2239
|
startedAt: string;
|
|
2240
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2249
2241
|
workflowId: string;
|
|
2250
2242
|
workflowRunId: string;
|
|
2251
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2252
|
-
nodeIndex: number;
|
|
2253
|
-
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2254
2243
|
nodeId: string;
|
|
2255
2244
|
nodeKey: string;
|
|
2256
|
-
|
|
2245
|
+
nodeIndex: number;
|
|
2246
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2247
|
+
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2257
2248
|
agentExecution?: {
|
|
2258
2249
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2259
|
-
agentId: string;
|
|
2260
2250
|
attempt: number;
|
|
2261
2251
|
startedAt?: string | undefined;
|
|
2262
2252
|
completedAt?: string | undefined;
|
|
@@ -2331,56 +2321,56 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2331
2321
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2332
2322
|
projectId: string;
|
|
2333
2323
|
id: string;
|
|
2324
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2334
2325
|
workflowId: string;
|
|
2335
2326
|
nodeRunId: string;
|
|
2336
2327
|
workflowRunId: string;
|
|
2337
|
-
|
|
2338
|
-
nodeIndex: number;
|
|
2328
|
+
interventionId: string;
|
|
2339
2329
|
nodeId: string;
|
|
2340
2330
|
nodeKey: string;
|
|
2341
|
-
|
|
2342
|
-
requestedAt: string;
|
|
2331
|
+
nodeIndex: number;
|
|
2343
2332
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2333
|
+
requestedAt: string;
|
|
2344
2334
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2345
2335
|
expiresAt?: string | undefined;
|
|
2346
2336
|
submittedAt?: string | undefined;
|
|
2347
|
-
cancelledAt?: string | undefined;
|
|
2348
|
-
expiredAt?: string | undefined;
|
|
2349
2337
|
submittedBy?: {
|
|
2350
2338
|
principalType: "user" | "serviceAccount" | "system";
|
|
2351
2339
|
principalId: string;
|
|
2352
2340
|
} | undefined;
|
|
2341
|
+
cancelledAt?: string | undefined;
|
|
2353
2342
|
cancelledBy?: {
|
|
2354
2343
|
principalType: "user" | "serviceAccount" | "system";
|
|
2355
2344
|
principalId: string;
|
|
2356
2345
|
} | undefined;
|
|
2346
|
+
expiredAt?: string | undefined;
|
|
2357
2347
|
}, {
|
|
2358
2348
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2359
2349
|
projectId: string;
|
|
2360
2350
|
id: string;
|
|
2351
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2361
2352
|
workflowId: string;
|
|
2362
2353
|
nodeRunId: string;
|
|
2363
2354
|
workflowRunId: string;
|
|
2364
|
-
|
|
2365
|
-
nodeIndex: number;
|
|
2355
|
+
interventionId: string;
|
|
2366
2356
|
nodeId: string;
|
|
2367
2357
|
nodeKey: string;
|
|
2368
|
-
|
|
2369
|
-
requestedAt: string;
|
|
2358
|
+
nodeIndex: number;
|
|
2370
2359
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2360
|
+
requestedAt: string;
|
|
2371
2361
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2372
2362
|
expiresAt?: string | undefined;
|
|
2373
2363
|
submittedAt?: string | undefined;
|
|
2374
|
-
cancelledAt?: string | undefined;
|
|
2375
|
-
expiredAt?: string | undefined;
|
|
2376
2364
|
submittedBy?: {
|
|
2377
2365
|
principalType: "user" | "serviceAccount" | "system";
|
|
2378
2366
|
principalId: string;
|
|
2379
2367
|
} | undefined;
|
|
2368
|
+
cancelledAt?: string | undefined;
|
|
2380
2369
|
cancelledBy?: {
|
|
2381
2370
|
principalType: "user" | "serviceAccount" | "system";
|
|
2382
2371
|
principalId: string;
|
|
2383
2372
|
} | undefined;
|
|
2373
|
+
expiredAt?: string | undefined;
|
|
2384
2374
|
}>, "many">;
|
|
2385
2375
|
hasMore: z.ZodBoolean;
|
|
2386
2376
|
total: z.ZodNumber;
|
|
@@ -2391,29 +2381,29 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2391
2381
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2392
2382
|
projectId: string;
|
|
2393
2383
|
id: string;
|
|
2384
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2394
2385
|
workflowId: string;
|
|
2395
2386
|
nodeRunId: string;
|
|
2396
2387
|
workflowRunId: string;
|
|
2397
|
-
|
|
2398
|
-
nodeIndex: number;
|
|
2388
|
+
interventionId: string;
|
|
2399
2389
|
nodeId: string;
|
|
2400
2390
|
nodeKey: string;
|
|
2401
|
-
|
|
2402
|
-
requestedAt: string;
|
|
2391
|
+
nodeIndex: number;
|
|
2403
2392
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2393
|
+
requestedAt: string;
|
|
2404
2394
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2405
2395
|
expiresAt?: string | undefined;
|
|
2406
2396
|
submittedAt?: string | undefined;
|
|
2407
|
-
cancelledAt?: string | undefined;
|
|
2408
|
-
expiredAt?: string | undefined;
|
|
2409
2397
|
submittedBy?: {
|
|
2410
2398
|
principalType: "user" | "serviceAccount" | "system";
|
|
2411
2399
|
principalId: string;
|
|
2412
2400
|
} | undefined;
|
|
2401
|
+
cancelledAt?: string | undefined;
|
|
2413
2402
|
cancelledBy?: {
|
|
2414
2403
|
principalType: "user" | "serviceAccount" | "system";
|
|
2415
2404
|
principalId: string;
|
|
2416
2405
|
} | undefined;
|
|
2406
|
+
expiredAt?: string | undefined;
|
|
2417
2407
|
}[];
|
|
2418
2408
|
}, {
|
|
2419
2409
|
hasMore: boolean;
|
|
@@ -2422,29 +2412,29 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2422
2412
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2423
2413
|
projectId: string;
|
|
2424
2414
|
id: string;
|
|
2415
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2425
2416
|
workflowId: string;
|
|
2426
2417
|
nodeRunId: string;
|
|
2427
2418
|
workflowRunId: string;
|
|
2428
|
-
|
|
2429
|
-
nodeIndex: number;
|
|
2419
|
+
interventionId: string;
|
|
2430
2420
|
nodeId: string;
|
|
2431
2421
|
nodeKey: string;
|
|
2432
|
-
|
|
2433
|
-
requestedAt: string;
|
|
2422
|
+
nodeIndex: number;
|
|
2434
2423
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2424
|
+
requestedAt: string;
|
|
2435
2425
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2436
2426
|
expiresAt?: string | undefined;
|
|
2437
2427
|
submittedAt?: string | undefined;
|
|
2438
|
-
cancelledAt?: string | undefined;
|
|
2439
|
-
expiredAt?: string | undefined;
|
|
2440
2428
|
submittedBy?: {
|
|
2441
2429
|
principalType: "user" | "serviceAccount" | "system";
|
|
2442
2430
|
principalId: string;
|
|
2443
2431
|
} | undefined;
|
|
2432
|
+
cancelledAt?: string | undefined;
|
|
2444
2433
|
cancelledBy?: {
|
|
2445
2434
|
principalType: "user" | "serviceAccount" | "system";
|
|
2446
2435
|
principalId: string;
|
|
2447
2436
|
} | undefined;
|
|
2437
|
+
expiredAt?: string | undefined;
|
|
2448
2438
|
}[];
|
|
2449
2439
|
}>;
|
|
2450
2440
|
export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
@@ -2491,56 +2481,56 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2491
2481
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2492
2482
|
projectId: string;
|
|
2493
2483
|
id: string;
|
|
2484
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2494
2485
|
workflowId: string;
|
|
2495
2486
|
nodeRunId: string;
|
|
2496
2487
|
workflowRunId: string;
|
|
2497
|
-
|
|
2498
|
-
nodeIndex: number;
|
|
2488
|
+
interventionId: string;
|
|
2499
2489
|
nodeId: string;
|
|
2500
2490
|
nodeKey: string;
|
|
2501
|
-
|
|
2502
|
-
requestedAt: string;
|
|
2491
|
+
nodeIndex: number;
|
|
2503
2492
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2493
|
+
requestedAt: string;
|
|
2504
2494
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2505
2495
|
expiresAt?: string | undefined;
|
|
2506
2496
|
submittedAt?: string | undefined;
|
|
2507
|
-
cancelledAt?: string | undefined;
|
|
2508
|
-
expiredAt?: string | undefined;
|
|
2509
2497
|
submittedBy?: {
|
|
2510
2498
|
principalType: "user" | "serviceAccount" | "system";
|
|
2511
2499
|
principalId: string;
|
|
2512
2500
|
} | undefined;
|
|
2501
|
+
cancelledAt?: string | undefined;
|
|
2513
2502
|
cancelledBy?: {
|
|
2514
2503
|
principalType: "user" | "serviceAccount" | "system";
|
|
2515
2504
|
principalId: string;
|
|
2516
2505
|
} | undefined;
|
|
2506
|
+
expiredAt?: string | undefined;
|
|
2517
2507
|
}, {
|
|
2518
2508
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2519
2509
|
projectId: string;
|
|
2520
2510
|
id: string;
|
|
2511
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2521
2512
|
workflowId: string;
|
|
2522
2513
|
nodeRunId: string;
|
|
2523
2514
|
workflowRunId: string;
|
|
2524
|
-
|
|
2525
|
-
nodeIndex: number;
|
|
2515
|
+
interventionId: string;
|
|
2526
2516
|
nodeId: string;
|
|
2527
2517
|
nodeKey: string;
|
|
2528
|
-
|
|
2529
|
-
requestedAt: string;
|
|
2518
|
+
nodeIndex: number;
|
|
2530
2519
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2520
|
+
requestedAt: string;
|
|
2531
2521
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2532
2522
|
expiresAt?: string | undefined;
|
|
2533
2523
|
submittedAt?: string | undefined;
|
|
2534
|
-
cancelledAt?: string | undefined;
|
|
2535
|
-
expiredAt?: string | undefined;
|
|
2536
2524
|
submittedBy?: {
|
|
2537
2525
|
principalType: "user" | "serviceAccount" | "system";
|
|
2538
2526
|
principalId: string;
|
|
2539
2527
|
} | undefined;
|
|
2528
|
+
cancelledAt?: string | undefined;
|
|
2540
2529
|
cancelledBy?: {
|
|
2541
2530
|
principalType: "user" | "serviceAccount" | "system";
|
|
2542
2531
|
principalId: string;
|
|
2543
2532
|
} | undefined;
|
|
2533
|
+
expiredAt?: string | undefined;
|
|
2544
2534
|
}>;
|
|
2545
2535
|
jobId: z.ZodString;
|
|
2546
2536
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2549,29 +2539,29 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2549
2539
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2550
2540
|
projectId: string;
|
|
2551
2541
|
id: string;
|
|
2542
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2552
2543
|
workflowId: string;
|
|
2553
2544
|
nodeRunId: string;
|
|
2554
2545
|
workflowRunId: string;
|
|
2555
|
-
|
|
2556
|
-
nodeIndex: number;
|
|
2546
|
+
interventionId: string;
|
|
2557
2547
|
nodeId: string;
|
|
2558
2548
|
nodeKey: string;
|
|
2559
|
-
|
|
2560
|
-
requestedAt: string;
|
|
2549
|
+
nodeIndex: number;
|
|
2561
2550
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2551
|
+
requestedAt: string;
|
|
2562
2552
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2563
2553
|
expiresAt?: string | undefined;
|
|
2564
2554
|
submittedAt?: string | undefined;
|
|
2565
|
-
cancelledAt?: string | undefined;
|
|
2566
|
-
expiredAt?: string | undefined;
|
|
2567
2555
|
submittedBy?: {
|
|
2568
2556
|
principalType: "user" | "serviceAccount" | "system";
|
|
2569
2557
|
principalId: string;
|
|
2570
2558
|
} | undefined;
|
|
2559
|
+
cancelledAt?: string | undefined;
|
|
2571
2560
|
cancelledBy?: {
|
|
2572
2561
|
principalType: "user" | "serviceAccount" | "system";
|
|
2573
2562
|
principalId: string;
|
|
2574
2563
|
} | undefined;
|
|
2564
|
+
expiredAt?: string | undefined;
|
|
2575
2565
|
};
|
|
2576
2566
|
}, {
|
|
2577
2567
|
jobId: string;
|
|
@@ -2579,29 +2569,29 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2579
2569
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2580
2570
|
projectId: string;
|
|
2581
2571
|
id: string;
|
|
2572
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2582
2573
|
workflowId: string;
|
|
2583
2574
|
nodeRunId: string;
|
|
2584
2575
|
workflowRunId: string;
|
|
2585
|
-
|
|
2586
|
-
nodeIndex: number;
|
|
2576
|
+
interventionId: string;
|
|
2587
2577
|
nodeId: string;
|
|
2588
2578
|
nodeKey: string;
|
|
2589
|
-
|
|
2590
|
-
requestedAt: string;
|
|
2579
|
+
nodeIndex: number;
|
|
2591
2580
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2581
|
+
requestedAt: string;
|
|
2592
2582
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2593
2583
|
expiresAt?: string | undefined;
|
|
2594
2584
|
submittedAt?: string | undefined;
|
|
2595
|
-
cancelledAt?: string | undefined;
|
|
2596
|
-
expiredAt?: string | undefined;
|
|
2597
2585
|
submittedBy?: {
|
|
2598
2586
|
principalType: "user" | "serviceAccount" | "system";
|
|
2599
2587
|
principalId: string;
|
|
2600
2588
|
} | undefined;
|
|
2589
|
+
cancelledAt?: string | undefined;
|
|
2601
2590
|
cancelledBy?: {
|
|
2602
2591
|
principalType: "user" | "serviceAccount" | "system";
|
|
2603
2592
|
principalId: string;
|
|
2604
2593
|
} | undefined;
|
|
2594
|
+
expiredAt?: string | undefined;
|
|
2605
2595
|
};
|
|
2606
2596
|
}>;
|
|
2607
2597
|
export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
@@ -2648,114 +2638,114 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2648
2638
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2649
2639
|
projectId: string;
|
|
2650
2640
|
id: string;
|
|
2641
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2651
2642
|
workflowId: string;
|
|
2652
2643
|
nodeRunId: string;
|
|
2653
2644
|
workflowRunId: string;
|
|
2654
|
-
|
|
2655
|
-
nodeIndex: number;
|
|
2645
|
+
interventionId: string;
|
|
2656
2646
|
nodeId: string;
|
|
2657
2647
|
nodeKey: string;
|
|
2658
|
-
|
|
2659
|
-
requestedAt: string;
|
|
2648
|
+
nodeIndex: number;
|
|
2660
2649
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2650
|
+
requestedAt: string;
|
|
2661
2651
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2662
2652
|
expiresAt?: string | undefined;
|
|
2663
2653
|
submittedAt?: string | undefined;
|
|
2664
|
-
cancelledAt?: string | undefined;
|
|
2665
|
-
expiredAt?: string | undefined;
|
|
2666
2654
|
submittedBy?: {
|
|
2667
2655
|
principalType: "user" | "serviceAccount" | "system";
|
|
2668
2656
|
principalId: string;
|
|
2669
2657
|
} | undefined;
|
|
2658
|
+
cancelledAt?: string | undefined;
|
|
2670
2659
|
cancelledBy?: {
|
|
2671
2660
|
principalType: "user" | "serviceAccount" | "system";
|
|
2672
2661
|
principalId: string;
|
|
2673
2662
|
} | undefined;
|
|
2663
|
+
expiredAt?: string | undefined;
|
|
2674
2664
|
}, {
|
|
2675
2665
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2676
2666
|
projectId: string;
|
|
2677
2667
|
id: string;
|
|
2668
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2678
2669
|
workflowId: string;
|
|
2679
2670
|
nodeRunId: string;
|
|
2680
2671
|
workflowRunId: string;
|
|
2681
|
-
|
|
2682
|
-
nodeIndex: number;
|
|
2672
|
+
interventionId: string;
|
|
2683
2673
|
nodeId: string;
|
|
2684
2674
|
nodeKey: string;
|
|
2685
|
-
|
|
2686
|
-
requestedAt: string;
|
|
2675
|
+
nodeIndex: number;
|
|
2687
2676
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2677
|
+
requestedAt: string;
|
|
2688
2678
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2689
2679
|
expiresAt?: string | undefined;
|
|
2690
2680
|
submittedAt?: string | undefined;
|
|
2691
|
-
cancelledAt?: string | undefined;
|
|
2692
|
-
expiredAt?: string | undefined;
|
|
2693
2681
|
submittedBy?: {
|
|
2694
2682
|
principalType: "user" | "serviceAccount" | "system";
|
|
2695
2683
|
principalId: string;
|
|
2696
2684
|
} | undefined;
|
|
2685
|
+
cancelledAt?: string | undefined;
|
|
2697
2686
|
cancelledBy?: {
|
|
2698
2687
|
principalType: "user" | "serviceAccount" | "system";
|
|
2699
2688
|
principalId: string;
|
|
2700
2689
|
} | undefined;
|
|
2690
|
+
expiredAt?: string | undefined;
|
|
2701
2691
|
}>;
|
|
2702
2692
|
}, "strip", z.ZodTypeAny, {
|
|
2703
2693
|
intervention: {
|
|
2704
2694
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2705
2695
|
projectId: string;
|
|
2706
2696
|
id: string;
|
|
2697
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2707
2698
|
workflowId: string;
|
|
2708
2699
|
nodeRunId: string;
|
|
2709
2700
|
workflowRunId: string;
|
|
2710
|
-
|
|
2711
|
-
nodeIndex: number;
|
|
2701
|
+
interventionId: string;
|
|
2712
2702
|
nodeId: string;
|
|
2713
2703
|
nodeKey: string;
|
|
2714
|
-
|
|
2715
|
-
requestedAt: string;
|
|
2704
|
+
nodeIndex: number;
|
|
2716
2705
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2706
|
+
requestedAt: string;
|
|
2717
2707
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2718
2708
|
expiresAt?: string | undefined;
|
|
2719
2709
|
submittedAt?: string | undefined;
|
|
2720
|
-
cancelledAt?: string | undefined;
|
|
2721
|
-
expiredAt?: string | undefined;
|
|
2722
2710
|
submittedBy?: {
|
|
2723
2711
|
principalType: "user" | "serviceAccount" | "system";
|
|
2724
2712
|
principalId: string;
|
|
2725
2713
|
} | undefined;
|
|
2714
|
+
cancelledAt?: string | undefined;
|
|
2726
2715
|
cancelledBy?: {
|
|
2727
2716
|
principalType: "user" | "serviceAccount" | "system";
|
|
2728
2717
|
principalId: string;
|
|
2729
2718
|
} | undefined;
|
|
2719
|
+
expiredAt?: string | undefined;
|
|
2730
2720
|
};
|
|
2731
2721
|
}, {
|
|
2732
2722
|
intervention: {
|
|
2733
2723
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2734
2724
|
projectId: string;
|
|
2735
2725
|
id: string;
|
|
2726
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2736
2727
|
workflowId: string;
|
|
2737
2728
|
nodeRunId: string;
|
|
2738
2729
|
workflowRunId: string;
|
|
2739
|
-
|
|
2740
|
-
nodeIndex: number;
|
|
2730
|
+
interventionId: string;
|
|
2741
2731
|
nodeId: string;
|
|
2742
2732
|
nodeKey: string;
|
|
2743
|
-
|
|
2744
|
-
requestedAt: string;
|
|
2733
|
+
nodeIndex: number;
|
|
2745
2734
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2735
|
+
requestedAt: string;
|
|
2746
2736
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2747
2737
|
expiresAt?: string | undefined;
|
|
2748
2738
|
submittedAt?: string | undefined;
|
|
2749
|
-
cancelledAt?: string | undefined;
|
|
2750
|
-
expiredAt?: string | undefined;
|
|
2751
2739
|
submittedBy?: {
|
|
2752
2740
|
principalType: "user" | "serviceAccount" | "system";
|
|
2753
2741
|
principalId: string;
|
|
2754
2742
|
} | undefined;
|
|
2743
|
+
cancelledAt?: string | undefined;
|
|
2755
2744
|
cancelledBy?: {
|
|
2756
2745
|
principalType: "user" | "serviceAccount" | "system";
|
|
2757
2746
|
principalId: string;
|
|
2758
2747
|
} | undefined;
|
|
2748
|
+
expiredAt?: string | undefined;
|
|
2759
2749
|
};
|
|
2760
2750
|
}>;
|
|
2761
2751
|
export declare const RequestWorkflowRunResponseSchema: z.ZodObject<{
|