@mastra/server 1.0.0-beta.5 → 1.0.0-beta.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/CHANGELOG.md +112 -0
- package/dist/{chunk-LGG3N3AV.js → chunk-3SFLFUKY.js} +4 -4
- package/dist/{chunk-LGG3N3AV.js.map → chunk-3SFLFUKY.js.map} +1 -1
- package/dist/{chunk-G7BPNX2V.js → chunk-6YWE7UPT.js} +16 -3
- package/dist/chunk-6YWE7UPT.js.map +1 -0
- package/dist/{chunk-CBDUTSTI.js → chunk-7N3PD4SV.js} +16 -12
- package/dist/chunk-7N3PD4SV.js.map +1 -0
- package/dist/{chunk-PDVJ2TTM.cjs → chunk-C3D3X2L5.cjs} +11 -9
- package/dist/chunk-C3D3X2L5.cjs.map +1 -0
- package/dist/{chunk-UCRV7PD3.js → chunk-C4J473OZ.js} +50 -37
- package/dist/chunk-C4J473OZ.js.map +1 -0
- package/dist/{chunk-RCCWKKI3.js → chunk-CT5VG7NT.js} +7 -5
- package/dist/chunk-CT5VG7NT.js.map +1 -0
- package/dist/{chunk-S6DFGBDD.cjs → chunk-DHWPHLGF.cjs} +23 -23
- package/dist/{chunk-S6DFGBDD.cjs.map → chunk-DHWPHLGF.cjs.map} +1 -1
- package/dist/{chunk-ZPZSAJAR.js → chunk-DRUNNM4C.js} +4 -4
- package/dist/{chunk-ZPZSAJAR.js.map → chunk-DRUNNM4C.js.map} +1 -1
- package/dist/{chunk-65Q7HO3Q.cjs → chunk-ESZ6V5WB.cjs} +45 -36
- package/dist/chunk-ESZ6V5WB.cjs.map +1 -0
- package/dist/{chunk-MH3A7RDQ.cjs → chunk-F4H7J6YV.cjs} +82 -71
- package/dist/chunk-F4H7J6YV.cjs.map +1 -0
- package/dist/{chunk-R6ZTXNN2.cjs → chunk-FMTSLS25.cjs} +120 -107
- package/dist/chunk-FMTSLS25.cjs.map +1 -0
- package/dist/{chunk-A6MQQTHN.js → chunk-FYY54HZC.js} +4 -4
- package/dist/{chunk-A6MQQTHN.js.map → chunk-FYY54HZC.js.map} +1 -1
- package/dist/{chunk-4O2QGUW3.js → chunk-GFF2I6UD.js} +4 -4
- package/dist/{chunk-4O2QGUW3.js.map → chunk-GFF2I6UD.js.map} +1 -1
- package/dist/{chunk-SAQSK4AG.cjs → chunk-H2RMXG2Q.cjs} +2 -2
- package/dist/{chunk-SAQSK4AG.cjs.map → chunk-H2RMXG2Q.cjs.map} +1 -1
- package/dist/{chunk-PKRHEXX7.js → chunk-HT4LP3BO.js} +19 -18
- package/dist/chunk-HT4LP3BO.js.map +1 -0
- package/dist/{chunk-Z7R7CFVF.cjs → chunk-I6LR6CPC.cjs} +10 -10
- package/dist/{chunk-Z7R7CFVF.cjs.map → chunk-I6LR6CPC.cjs.map} +1 -1
- package/dist/chunk-LBSJWPXK.cjs +312 -0
- package/dist/chunk-LBSJWPXK.cjs.map +1 -0
- package/dist/{chunk-2NW6POYK.cjs → chunk-MCYD5LW7.cjs} +19 -18
- package/dist/chunk-MCYD5LW7.cjs.map +1 -0
- package/dist/chunk-OL6U27XK.js +24488 -0
- package/dist/chunk-OL6U27XK.js.map +1 -0
- package/dist/{chunk-UZ6CYAOG.cjs → chunk-PUSD37LD.cjs} +16 -3
- package/dist/chunk-PUSD37LD.cjs.map +1 -0
- package/dist/{chunk-YLQHE2S5.js → chunk-QNVYGEJ4.js} +6 -6
- package/dist/{chunk-YLQHE2S5.js.map → chunk-QNVYGEJ4.js.map} +1 -1
- package/dist/{chunk-AUQBEMDP.cjs → chunk-S3TIWWQL.cjs} +12 -12
- package/dist/{chunk-AUQBEMDP.cjs.map → chunk-S3TIWWQL.cjs.map} +1 -1
- package/dist/{chunk-LZDCXQMX.js → chunk-SXVANU23.js} +2 -2
- package/dist/{chunk-LZDCXQMX.js.map → chunk-SXVANU23.js.map} +1 -1
- package/dist/{chunk-6KNI7VIX.js → chunk-TKL4TD2V.js} +29 -18
- package/dist/chunk-TKL4TD2V.js.map +1 -0
- package/dist/chunk-TWZCZKUD.cjs +24530 -0
- package/dist/chunk-TWZCZKUD.cjs.map +1 -0
- package/dist/{chunk-QVHQZUGJ.cjs → chunk-TYZ6ZISQ.cjs} +11 -11
- package/dist/{chunk-QVHQZUGJ.cjs.map → chunk-TYZ6ZISQ.cjs.map} +1 -1
- package/dist/{chunk-4JMHKKV3.cjs → chunk-US6Y5RLR.cjs} +41 -37
- package/dist/chunk-US6Y5RLR.cjs.map +1 -0
- package/dist/{chunk-FCHN5M25.js → chunk-UTIOKR5C.js} +16 -7
- package/dist/chunk-UTIOKR5C.js.map +1 -0
- package/dist/{chunk-R4M3BSUG.js → chunk-WE4USCF3.js} +3 -3
- package/dist/{chunk-R4M3BSUG.js.map → chunk-WE4USCF3.js.map} +1 -1
- package/dist/{chunk-IMK7366C.cjs → chunk-X43DWDXB.cjs} +12 -12
- package/dist/{chunk-IMK7366C.cjs.map → chunk-X43DWDXB.cjs.map} +1 -1
- package/dist/{chunk-MWQQRVQC.cjs → chunk-X4QMPCTP.cjs} +7 -7
- package/dist/{chunk-MWQQRVQC.cjs.map → chunk-X4QMPCTP.cjs.map} +1 -1
- package/dist/chunk-XNKZPXCY.js +302 -0
- package/dist/chunk-XNKZPXCY.js.map +1 -0
- package/dist/server/auth/defaults.d.ts +3 -0
- package/dist/server/auth/defaults.d.ts.map +1 -0
- package/dist/server/auth/helpers.d.ts +14 -0
- package/dist/server/auth/helpers.d.ts.map +1 -0
- package/dist/server/auth/index.cjs +137 -0
- package/dist/server/auth/index.cjs.map +1 -0
- package/dist/server/auth/index.d.ts +3 -0
- package/dist/server/auth/index.d.ts.map +1 -0
- package/dist/server/auth/index.js +127 -0
- package/dist/server/auth/index.js.map +1 -0
- package/dist/server/handlers/a2a.cjs +9 -9
- package/dist/server/handlers/a2a.d.ts.map +1 -1
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +19 -19
- package/dist/server/handlers/agent-builder.d.ts +24 -25
- package/dist/server/handlers/agent-builder.d.ts.map +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agents.cjs +23 -23
- package/dist/server/handlers/agents.d.ts +4 -2
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/logs.cjs +4 -4
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/mcp.cjs +40 -0
- package/dist/server/handlers/mcp.cjs.map +1 -0
- package/dist/server/handlers/mcp.d.ts +110 -0
- package/dist/server/handlers/mcp.d.ts.map +1 -0
- package/dist/server/handlers/mcp.js +3 -0
- package/dist/server/handlers/mcp.js.map +1 -0
- package/dist/server/handlers/memory.cjs +24 -24
- package/dist/server/handlers/memory.d.ts +2 -2
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/observability.cjs +9 -9
- package/dist/server/handlers/observability.js +1 -1
- package/dist/server/handlers/scores.cjs +7 -7
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/tools.cjs +6 -6
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/vector.cjs +13 -13
- package/dist/server/handlers/vector.d.ts +2 -2
- package/dist/server/handlers/vector.js +1 -1
- package/dist/server/handlers/voice.cjs +8 -8
- package/dist/server/handlers/voice.d.ts.map +1 -1
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +26 -26
- package/dist/server/handlers/workflows.d.ts +294 -292
- package/dist/server/handlers/workflows.d.ts.map +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +36 -31
- package/dist/server/handlers.d.ts +1 -0
- package/dist/server/handlers.d.ts.map +1 -1
- package/dist/server/handlers.js +12 -11
- package/dist/server/schemas/agent-builder.d.ts +9 -0
- package/dist/server/schemas/agent-builder.d.ts.map +1 -1
- package/dist/server/schemas/common.d.ts +29 -15
- package/dist/server/schemas/common.d.ts.map +1 -1
- package/dist/server/schemas/mcp.d.ts +299 -0
- package/dist/server/schemas/mcp.d.ts.map +1 -0
- package/dist/server/schemas/memory.d.ts +4 -4
- package/dist/server/schemas/memory.d.ts.map +1 -1
- package/dist/server/schemas/vectors.d.ts +2 -2
- package/dist/server/schemas/workflows.d.ts +22 -28
- package/dist/server/schemas/workflows.d.ts.map +1 -1
- package/dist/server/server-adapter/index.cjs +286 -144
- package/dist/server/server-adapter/index.cjs.map +1 -1
- package/dist/server/server-adapter/index.d.ts +50 -7
- package/dist/server/server-adapter/index.d.ts.map +1 -1
- package/dist/server/server-adapter/index.js +168 -27
- package/dist/server/server-adapter/index.js.map +1 -1
- package/dist/server/server-adapter/redact.d.ts +26 -0
- package/dist/server/server-adapter/redact.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/index.d.ts +11 -2
- package/dist/server/server-adapter/routes/index.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/mcp.d.ts +9 -0
- package/dist/server/server-adapter/routes/mcp.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/route-builder.d.ts +3 -3
- package/dist/server/server-adapter/routes/route-builder.d.ts.map +1 -1
- package/dist/server/utils.d.ts +1 -1
- package/dist/server/utils.d.ts.map +1 -1
- package/package.json +14 -4
- package/dist/chunk-2NW6POYK.cjs.map +0 -1
- package/dist/chunk-4JMHKKV3.cjs.map +0 -1
- package/dist/chunk-65Q7HO3Q.cjs.map +0 -1
- package/dist/chunk-6KNI7VIX.js.map +0 -1
- package/dist/chunk-CBDUTSTI.js.map +0 -1
- package/dist/chunk-EI2GXZE2.js +0 -23497
- package/dist/chunk-EI2GXZE2.js.map +0 -1
- package/dist/chunk-FCHN5M25.js.map +0 -1
- package/dist/chunk-G7BPNX2V.js.map +0 -1
- package/dist/chunk-MH3A7RDQ.cjs.map +0 -1
- package/dist/chunk-P6BEEW5J.cjs +0 -23539
- package/dist/chunk-P6BEEW5J.cjs.map +0 -1
- package/dist/chunk-PDVJ2TTM.cjs.map +0 -1
- package/dist/chunk-PKRHEXX7.js.map +0 -1
- package/dist/chunk-R6ZTXNN2.cjs.map +0 -1
- package/dist/chunk-RCCWKKI3.js.map +0 -1
- package/dist/chunk-UCRV7PD3.js.map +0 -1
- package/dist/chunk-UZ6CYAOG.cjs.map +0 -1
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
1
2
|
import type { Context } from '../types.js';
|
|
2
3
|
export interface WorkflowContext extends Context {
|
|
3
4
|
workflowId?: string;
|
|
4
5
|
runId?: string;
|
|
5
6
|
}
|
|
6
|
-
export declare const LIST_WORKFLOWS_ROUTE: import("../server-adapter").ServerRoute<{
|
|
7
|
+
export declare const LIST_WORKFLOWS_ROUTE: import("../server-adapter").ServerRoute<{
|
|
8
|
+
partial?: string | undefined;
|
|
9
|
+
}, Record<string, {
|
|
7
10
|
steps: Record<string, {
|
|
8
11
|
id: string;
|
|
9
12
|
description?: string | undefined;
|
|
@@ -41,53 +44,37 @@ export declare const GET_WORKFLOW_BY_ID_ROUTE: import("../server-adapter").Serve
|
|
|
41
44
|
inputSchema?: string | undefined;
|
|
42
45
|
outputSchema?: string | undefined;
|
|
43
46
|
}, "json">;
|
|
44
|
-
export declare const LIST_WORKFLOW_RUNS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
45
|
-
workflowId:
|
|
46
|
-
}, "strip",
|
|
47
|
+
export declare const LIST_WORKFLOW_RUNS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
48
|
+
workflowId: z.ZodString;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
50
|
workflowId: string;
|
|
48
51
|
}, {
|
|
49
52
|
workflowId: string;
|
|
50
|
-
}>,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
}>, z.ZodObject<{
|
|
54
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
perPage: z.ZodOptional<z.ZodNumber>;
|
|
56
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
53
58
|
} & {
|
|
54
|
-
fromDate:
|
|
55
|
-
toDate:
|
|
56
|
-
resourceId:
|
|
57
|
-
status:
|
|
58
|
-
}, "strip",
|
|
59
|
-
limit: number;
|
|
60
|
-
offset: number;
|
|
59
|
+
fromDate: z.ZodOptional<z.ZodDate>;
|
|
60
|
+
toDate: z.ZodOptional<z.ZodDate>;
|
|
61
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
62
|
+
status: z.ZodOptional<z.ZodEnum<["running", "waiting", "suspended", "success", "failed", "canceled", "pending", "bailed"]>>;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
61
64
|
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | undefined;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
toDate?: Date | undefined;
|
|
65
|
-
}, {
|
|
66
|
-
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | undefined;
|
|
67
|
-
limit?: number | undefined;
|
|
65
|
+
page?: number | undefined;
|
|
66
|
+
perPage?: number | undefined;
|
|
68
67
|
offset?: number | undefined;
|
|
69
|
-
resourceId?: string | undefined;
|
|
70
|
-
fromDate?: Date | undefined;
|
|
71
|
-
toDate?: Date | undefined;
|
|
72
|
-
}> | import("zod").ZodObject<{
|
|
73
|
-
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
74
|
-
offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
75
|
-
} & {
|
|
76
|
-
fromDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
77
|
-
toDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
78
|
-
resourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
79
|
-
status: import("zod").ZodOptional<import("zod").ZodEnum<["running", "waiting", "suspended", "success", "failed", "canceled", "pending", "bailed"]>>;
|
|
80
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
81
|
-
offset: number;
|
|
82
|
-
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | undefined;
|
|
83
68
|
limit?: number | undefined;
|
|
84
69
|
resourceId?: string | undefined;
|
|
85
70
|
fromDate?: Date | undefined;
|
|
86
71
|
toDate?: Date | undefined;
|
|
87
72
|
}, {
|
|
88
73
|
status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | undefined;
|
|
89
|
-
|
|
74
|
+
page?: number | undefined;
|
|
75
|
+
perPage?: number | undefined;
|
|
90
76
|
offset?: number | undefined;
|
|
77
|
+
limit?: number | undefined;
|
|
91
78
|
resourceId?: string | undefined;
|
|
92
79
|
fromDate?: Date | undefined;
|
|
93
80
|
toDate?: Date | undefined;
|
|
@@ -113,42 +100,43 @@ export declare const GET_WORKFLOW_RUN_BY_ID_ROUTE: import("../server-adapter").S
|
|
|
113
100
|
updatedAt: Date;
|
|
114
101
|
resourceId?: string | undefined;
|
|
115
102
|
}, "json">;
|
|
116
|
-
export declare const CREATE_WORKFLOW_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
117
|
-
workflowId:
|
|
118
|
-
}, "strip",
|
|
103
|
+
export declare const CREATE_WORKFLOW_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
104
|
+
workflowId: z.ZodString;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
106
|
workflowId: string;
|
|
120
107
|
}, {
|
|
121
108
|
workflowId: string;
|
|
122
|
-
}>,
|
|
123
|
-
runId:
|
|
124
|
-
}, "strip",
|
|
109
|
+
}>, z.ZodObject<{
|
|
110
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
112
|
runId?: string | undefined;
|
|
126
113
|
}, {
|
|
127
114
|
runId?: string | undefined;
|
|
128
115
|
}>, undefined>, {
|
|
129
116
|
runId: string;
|
|
130
117
|
}, "json">;
|
|
131
|
-
export declare const STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
132
|
-
workflowId:
|
|
133
|
-
}, "strip",
|
|
118
|
+
export declare const STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
119
|
+
workflowId: z.ZodString;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
134
121
|
workflowId: string;
|
|
135
122
|
}, {
|
|
136
123
|
workflowId: string;
|
|
137
|
-
}>,
|
|
138
|
-
runId:
|
|
139
|
-
}, "strip",
|
|
124
|
+
}>, z.ZodObject<{
|
|
125
|
+
runId: z.ZodString;
|
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
|
140
127
|
runId: string;
|
|
141
128
|
}, {
|
|
142
129
|
runId: string;
|
|
143
|
-
}>,
|
|
144
|
-
inputData:
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
130
|
+
}>, z.ZodObject<{
|
|
131
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
132
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
133
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
134
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
135
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
136
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
137
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
138
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
139
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
140
|
metadata?: Record<string, unknown> | undefined;
|
|
153
141
|
requestContextKeys?: string[] | undefined;
|
|
154
142
|
traceId?: string | undefined;
|
|
@@ -160,9 +148,10 @@ export declare const STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRo
|
|
|
160
148
|
parentSpanId?: string | undefined;
|
|
161
149
|
}>>;
|
|
162
150
|
} & {
|
|
163
|
-
closeOnSuspend:
|
|
164
|
-
}, "strip",
|
|
151
|
+
closeOnSuspend: z.ZodOptional<z.ZodBoolean>;
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
165
153
|
inputData?: unknown;
|
|
154
|
+
initialState?: unknown;
|
|
166
155
|
requestContext?: Record<string, unknown> | undefined;
|
|
167
156
|
tracingOptions?: {
|
|
168
157
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -173,6 +162,7 @@ export declare const STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRo
|
|
|
173
162
|
closeOnSuspend?: boolean | undefined;
|
|
174
163
|
}, {
|
|
175
164
|
inputData?: unknown;
|
|
165
|
+
initialState?: unknown;
|
|
176
166
|
requestContext?: Record<string, unknown> | undefined;
|
|
177
167
|
tracingOptions?: {
|
|
178
168
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -182,27 +172,28 @@ export declare const STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRo
|
|
|
182
172
|
} | undefined;
|
|
183
173
|
closeOnSuspend?: boolean | undefined;
|
|
184
174
|
}>>, unknown, "stream">;
|
|
185
|
-
export declare const STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
186
|
-
workflowId:
|
|
187
|
-
}, "strip",
|
|
175
|
+
export declare const STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
176
|
+
workflowId: z.ZodString;
|
|
177
|
+
}, "strip", z.ZodTypeAny, {
|
|
188
178
|
workflowId: string;
|
|
189
179
|
}, {
|
|
190
180
|
workflowId: string;
|
|
191
|
-
}>,
|
|
192
|
-
runId:
|
|
193
|
-
}, "strip",
|
|
181
|
+
}>, z.ZodObject<{
|
|
182
|
+
runId: z.ZodString;
|
|
183
|
+
}, "strip", z.ZodTypeAny, {
|
|
194
184
|
runId: string;
|
|
195
185
|
}, {
|
|
196
186
|
runId: string;
|
|
197
|
-
}>,
|
|
198
|
-
inputData:
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
187
|
+
}>, z.ZodObject<{
|
|
188
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
189
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
190
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
191
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
192
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
193
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
194
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
195
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
196
|
+
}, "strip", z.ZodTypeAny, {
|
|
206
197
|
metadata?: Record<string, unknown> | undefined;
|
|
207
198
|
requestContextKeys?: string[] | undefined;
|
|
208
199
|
traceId?: string | undefined;
|
|
@@ -214,9 +205,10 @@ export declare const STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").Se
|
|
|
214
205
|
parentSpanId?: string | undefined;
|
|
215
206
|
}>>;
|
|
216
207
|
} & {
|
|
217
|
-
closeOnSuspend:
|
|
218
|
-
}, "strip",
|
|
208
|
+
closeOnSuspend: z.ZodOptional<z.ZodBoolean>;
|
|
209
|
+
}, "strip", z.ZodTypeAny, {
|
|
219
210
|
inputData?: unknown;
|
|
211
|
+
initialState?: unknown;
|
|
220
212
|
requestContext?: Record<string, unknown> | undefined;
|
|
221
213
|
tracingOptions?: {
|
|
222
214
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -227,6 +219,7 @@ export declare const STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").Se
|
|
|
227
219
|
closeOnSuspend?: boolean | undefined;
|
|
228
220
|
}, {
|
|
229
221
|
inputData?: unknown;
|
|
222
|
+
initialState?: unknown;
|
|
230
223
|
requestContext?: Record<string, unknown> | undefined;
|
|
231
224
|
tracingOptions?: {
|
|
232
225
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -236,28 +229,28 @@ export declare const STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").Se
|
|
|
236
229
|
} | undefined;
|
|
237
230
|
closeOnSuspend?: boolean | undefined;
|
|
238
231
|
}>>, unknown, "stream">;
|
|
239
|
-
export declare const RESUME_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
240
|
-
workflowId:
|
|
241
|
-
}, "strip",
|
|
232
|
+
export declare const RESUME_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
233
|
+
workflowId: z.ZodString;
|
|
234
|
+
}, "strip", z.ZodTypeAny, {
|
|
242
235
|
workflowId: string;
|
|
243
236
|
}, {
|
|
244
237
|
workflowId: string;
|
|
245
|
-
}>,
|
|
246
|
-
runId:
|
|
247
|
-
}, "strip",
|
|
238
|
+
}>, z.ZodObject<{
|
|
239
|
+
runId: z.ZodString;
|
|
240
|
+
}, "strip", z.ZodTypeAny, {
|
|
248
241
|
runId: string;
|
|
249
242
|
}, {
|
|
250
243
|
runId: string;
|
|
251
|
-
}>,
|
|
252
|
-
step:
|
|
253
|
-
resumeData:
|
|
254
|
-
requestContext:
|
|
255
|
-
tracingOptions:
|
|
256
|
-
metadata:
|
|
257
|
-
requestContextKeys:
|
|
258
|
-
traceId:
|
|
259
|
-
parentSpanId:
|
|
260
|
-
}, "strip",
|
|
244
|
+
}>, z.ZodObject<{
|
|
245
|
+
step: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
246
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
247
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
248
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
249
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
250
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
251
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
252
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
|
261
254
|
metadata?: Record<string, unknown> | undefined;
|
|
262
255
|
requestContextKeys?: string[] | undefined;
|
|
263
256
|
traceId?: string | undefined;
|
|
@@ -268,7 +261,7 @@ export declare const RESUME_STREAM_WORKFLOW_ROUTE: import("../server-adapter").S
|
|
|
268
261
|
traceId?: string | undefined;
|
|
269
262
|
parentSpanId?: string | undefined;
|
|
270
263
|
}>>;
|
|
271
|
-
}, "strip",
|
|
264
|
+
}, "strip", z.ZodTypeAny, {
|
|
272
265
|
step?: string | string[] | undefined;
|
|
273
266
|
requestContext?: Record<string, unknown> | undefined;
|
|
274
267
|
tracingOptions?: {
|
|
@@ -297,27 +290,28 @@ export declare const GET_WORKFLOW_RUN_EXECUTION_RESULT_ROUTE: import("../server-
|
|
|
297
290
|
error?: unknown;
|
|
298
291
|
result?: unknown;
|
|
299
292
|
}, "json">;
|
|
300
|
-
export declare const START_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
301
|
-
workflowId:
|
|
302
|
-
}, "strip",
|
|
293
|
+
export declare const START_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
294
|
+
workflowId: z.ZodString;
|
|
295
|
+
}, "strip", z.ZodTypeAny, {
|
|
303
296
|
workflowId: string;
|
|
304
297
|
}, {
|
|
305
298
|
workflowId: string;
|
|
306
|
-
}>,
|
|
307
|
-
runId:
|
|
308
|
-
}, "strip",
|
|
299
|
+
}>, z.ZodObject<{
|
|
300
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
301
|
+
}, "strip", z.ZodTypeAny, {
|
|
309
302
|
runId?: string | undefined;
|
|
310
303
|
}, {
|
|
311
304
|
runId?: string | undefined;
|
|
312
|
-
}>,
|
|
313
|
-
inputData:
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
305
|
+
}>, z.ZodObject<{
|
|
306
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
307
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
308
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
309
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
310
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
311
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
312
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
313
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
314
|
+
}, "strip", z.ZodTypeAny, {
|
|
321
315
|
metadata?: Record<string, unknown> | undefined;
|
|
322
316
|
requestContextKeys?: string[] | undefined;
|
|
323
317
|
traceId?: string | undefined;
|
|
@@ -328,8 +322,9 @@ export declare const START_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").Ser
|
|
|
328
322
|
traceId?: string | undefined;
|
|
329
323
|
parentSpanId?: string | undefined;
|
|
330
324
|
}>>;
|
|
331
|
-
}, "strip",
|
|
325
|
+
}, "strip", z.ZodTypeAny, {
|
|
332
326
|
inputData?: unknown;
|
|
327
|
+
initialState?: unknown;
|
|
333
328
|
requestContext?: Record<string, unknown> | undefined;
|
|
334
329
|
tracingOptions?: {
|
|
335
330
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -339,6 +334,7 @@ export declare const START_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").Ser
|
|
|
339
334
|
} | undefined;
|
|
340
335
|
}, {
|
|
341
336
|
inputData?: unknown;
|
|
337
|
+
initialState?: unknown;
|
|
342
338
|
requestContext?: Record<string, unknown> | undefined;
|
|
343
339
|
tracingOptions?: {
|
|
344
340
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -351,27 +347,28 @@ export declare const START_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").Ser
|
|
|
351
347
|
error?: unknown;
|
|
352
348
|
result?: unknown;
|
|
353
349
|
}, "json">;
|
|
354
|
-
export declare const START_WORKFLOW_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
355
|
-
workflowId:
|
|
356
|
-
}, "strip",
|
|
350
|
+
export declare const START_WORKFLOW_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
351
|
+
workflowId: z.ZodString;
|
|
352
|
+
}, "strip", z.ZodTypeAny, {
|
|
357
353
|
workflowId: string;
|
|
358
354
|
}, {
|
|
359
355
|
workflowId: string;
|
|
360
|
-
}>,
|
|
361
|
-
runId:
|
|
362
|
-
}, "strip",
|
|
356
|
+
}>, z.ZodObject<{
|
|
357
|
+
runId: z.ZodString;
|
|
358
|
+
}, "strip", z.ZodTypeAny, {
|
|
363
359
|
runId: string;
|
|
364
360
|
}, {
|
|
365
361
|
runId: string;
|
|
366
|
-
}>,
|
|
367
|
-
inputData:
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
362
|
+
}>, z.ZodObject<{
|
|
363
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
364
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
365
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
366
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
367
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
368
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
369
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
370
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
371
|
+
}, "strip", z.ZodTypeAny, {
|
|
375
372
|
metadata?: Record<string, unknown> | undefined;
|
|
376
373
|
requestContextKeys?: string[] | undefined;
|
|
377
374
|
traceId?: string | undefined;
|
|
@@ -382,8 +379,9 @@ export declare const START_WORKFLOW_RUN_ROUTE: import("../server-adapter").Serve
|
|
|
382
379
|
traceId?: string | undefined;
|
|
383
380
|
parentSpanId?: string | undefined;
|
|
384
381
|
}>>;
|
|
385
|
-
}, "strip",
|
|
382
|
+
}, "strip", z.ZodTypeAny, {
|
|
386
383
|
inputData?: unknown;
|
|
384
|
+
initialState?: unknown;
|
|
387
385
|
requestContext?: Record<string, unknown> | undefined;
|
|
388
386
|
tracingOptions?: {
|
|
389
387
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -393,6 +391,7 @@ export declare const START_WORKFLOW_RUN_ROUTE: import("../server-adapter").Serve
|
|
|
393
391
|
} | undefined;
|
|
394
392
|
}, {
|
|
395
393
|
inputData?: unknown;
|
|
394
|
+
initialState?: unknown;
|
|
396
395
|
requestContext?: Record<string, unknown> | undefined;
|
|
397
396
|
tracingOptions?: {
|
|
398
397
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -403,54 +402,54 @@ export declare const START_WORKFLOW_RUN_ROUTE: import("../server-adapter").Serve
|
|
|
403
402
|
}>>, {
|
|
404
403
|
message: string;
|
|
405
404
|
}, "json">;
|
|
406
|
-
export declare const OBSERVE_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
407
|
-
workflowId:
|
|
408
|
-
}, "strip",
|
|
405
|
+
export declare const OBSERVE_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
406
|
+
workflowId: z.ZodString;
|
|
407
|
+
}, "strip", z.ZodTypeAny, {
|
|
409
408
|
workflowId: string;
|
|
410
409
|
}, {
|
|
411
410
|
workflowId: string;
|
|
412
|
-
}>,
|
|
413
|
-
runId:
|
|
414
|
-
}, "strip",
|
|
411
|
+
}>, z.ZodObject<{
|
|
412
|
+
runId: z.ZodString;
|
|
413
|
+
}, "strip", z.ZodTypeAny, {
|
|
415
414
|
runId: string;
|
|
416
415
|
}, {
|
|
417
416
|
runId: string;
|
|
418
417
|
}>, undefined>, any, "stream">;
|
|
419
|
-
export declare const OBSERVE_STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
420
|
-
workflowId:
|
|
421
|
-
}, "strip",
|
|
418
|
+
export declare const OBSERVE_STREAM_VNEXT_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
419
|
+
workflowId: z.ZodString;
|
|
420
|
+
}, "strip", z.ZodTypeAny, {
|
|
422
421
|
workflowId: string;
|
|
423
422
|
}, {
|
|
424
423
|
workflowId: string;
|
|
425
|
-
}>,
|
|
426
|
-
runId:
|
|
427
|
-
}, "strip",
|
|
424
|
+
}>, z.ZodObject<{
|
|
425
|
+
runId: z.ZodString;
|
|
426
|
+
}, "strip", z.ZodTypeAny, {
|
|
428
427
|
runId: string;
|
|
429
428
|
}, {
|
|
430
429
|
runId: string;
|
|
431
430
|
}>, undefined>, any, "stream">;
|
|
432
|
-
export declare const RESUME_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
433
|
-
workflowId:
|
|
434
|
-
}, "strip",
|
|
431
|
+
export declare const RESUME_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
432
|
+
workflowId: z.ZodString;
|
|
433
|
+
}, "strip", z.ZodTypeAny, {
|
|
435
434
|
workflowId: string;
|
|
436
435
|
}, {
|
|
437
436
|
workflowId: string;
|
|
438
|
-
}>,
|
|
439
|
-
runId:
|
|
440
|
-
}, "strip",
|
|
437
|
+
}>, z.ZodObject<{
|
|
438
|
+
runId: z.ZodString;
|
|
439
|
+
}, "strip", z.ZodTypeAny, {
|
|
441
440
|
runId: string;
|
|
442
441
|
}, {
|
|
443
442
|
runId: string;
|
|
444
|
-
}>,
|
|
445
|
-
step:
|
|
446
|
-
resumeData:
|
|
447
|
-
requestContext:
|
|
448
|
-
tracingOptions:
|
|
449
|
-
metadata:
|
|
450
|
-
requestContextKeys:
|
|
451
|
-
traceId:
|
|
452
|
-
parentSpanId:
|
|
453
|
-
}, "strip",
|
|
443
|
+
}>, z.ZodObject<{
|
|
444
|
+
step: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
445
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
446
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
447
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
448
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
449
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
450
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
451
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
454
453
|
metadata?: Record<string, unknown> | undefined;
|
|
455
454
|
requestContextKeys?: string[] | undefined;
|
|
456
455
|
traceId?: string | undefined;
|
|
@@ -461,7 +460,7 @@ export declare const RESUME_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").Se
|
|
|
461
460
|
traceId?: string | undefined;
|
|
462
461
|
parentSpanId?: string | undefined;
|
|
463
462
|
}>>;
|
|
464
|
-
}, "strip",
|
|
463
|
+
}, "strip", z.ZodTypeAny, {
|
|
465
464
|
step?: string | string[] | undefined;
|
|
466
465
|
requestContext?: Record<string, unknown> | undefined;
|
|
467
466
|
tracingOptions?: {
|
|
@@ -486,28 +485,28 @@ export declare const RESUME_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").Se
|
|
|
486
485
|
error?: unknown;
|
|
487
486
|
result?: unknown;
|
|
488
487
|
}, "json">;
|
|
489
|
-
export declare const RESUME_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
490
|
-
workflowId:
|
|
491
|
-
}, "strip",
|
|
488
|
+
export declare const RESUME_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
489
|
+
workflowId: z.ZodString;
|
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
|
492
491
|
workflowId: string;
|
|
493
492
|
}, {
|
|
494
493
|
workflowId: string;
|
|
495
|
-
}>,
|
|
496
|
-
runId:
|
|
497
|
-
}, "strip",
|
|
494
|
+
}>, z.ZodObject<{
|
|
495
|
+
runId: z.ZodString;
|
|
496
|
+
}, "strip", z.ZodTypeAny, {
|
|
498
497
|
runId: string;
|
|
499
498
|
}, {
|
|
500
499
|
runId: string;
|
|
501
|
-
}>,
|
|
502
|
-
step:
|
|
503
|
-
resumeData:
|
|
504
|
-
requestContext:
|
|
505
|
-
tracingOptions:
|
|
506
|
-
metadata:
|
|
507
|
-
requestContextKeys:
|
|
508
|
-
traceId:
|
|
509
|
-
parentSpanId:
|
|
510
|
-
}, "strip",
|
|
500
|
+
}>, z.ZodObject<{
|
|
501
|
+
step: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
502
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
503
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
504
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
505
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
506
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
507
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
508
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
509
|
+
}, "strip", z.ZodTypeAny, {
|
|
511
510
|
metadata?: Record<string, unknown> | undefined;
|
|
512
511
|
requestContextKeys?: string[] | undefined;
|
|
513
512
|
traceId?: string | undefined;
|
|
@@ -518,7 +517,7 @@ export declare const RESUME_WORKFLOW_ROUTE: import("../server-adapter").ServerRo
|
|
|
518
517
|
traceId?: string | undefined;
|
|
519
518
|
parentSpanId?: string | undefined;
|
|
520
519
|
}>>;
|
|
521
|
-
}, "strip",
|
|
520
|
+
}, "strip", z.ZodTypeAny, {
|
|
522
521
|
step?: string | string[] | undefined;
|
|
523
522
|
requestContext?: Record<string, unknown> | undefined;
|
|
524
523
|
tracingOptions?: {
|
|
@@ -541,26 +540,26 @@ export declare const RESUME_WORKFLOW_ROUTE: import("../server-adapter").ServerRo
|
|
|
541
540
|
}>>, {
|
|
542
541
|
message: string;
|
|
543
542
|
}, "json">;
|
|
544
|
-
export declare const RESTART_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
545
|
-
workflowId:
|
|
546
|
-
}, "strip",
|
|
543
|
+
export declare const RESTART_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
544
|
+
workflowId: z.ZodString;
|
|
545
|
+
}, "strip", z.ZodTypeAny, {
|
|
547
546
|
workflowId: string;
|
|
548
547
|
}, {
|
|
549
548
|
workflowId: string;
|
|
550
|
-
}>,
|
|
551
|
-
runId:
|
|
552
|
-
}, "strip",
|
|
549
|
+
}>, z.ZodObject<{
|
|
550
|
+
runId: z.ZodString;
|
|
551
|
+
}, "strip", z.ZodTypeAny, {
|
|
553
552
|
runId: string;
|
|
554
553
|
}, {
|
|
555
554
|
runId: string;
|
|
556
|
-
}>,
|
|
557
|
-
requestContext:
|
|
558
|
-
tracingOptions:
|
|
559
|
-
metadata:
|
|
560
|
-
requestContextKeys:
|
|
561
|
-
traceId:
|
|
562
|
-
parentSpanId:
|
|
563
|
-
}, "strip",
|
|
555
|
+
}>, z.ZodObject<{
|
|
556
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
557
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
558
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
559
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
560
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
561
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
562
|
+
}, "strip", z.ZodTypeAny, {
|
|
564
563
|
metadata?: Record<string, unknown> | undefined;
|
|
565
564
|
requestContextKeys?: string[] | undefined;
|
|
566
565
|
traceId?: string | undefined;
|
|
@@ -571,7 +570,7 @@ export declare const RESTART_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").S
|
|
|
571
570
|
traceId?: string | undefined;
|
|
572
571
|
parentSpanId?: string | undefined;
|
|
573
572
|
}>>;
|
|
574
|
-
}, "strip",
|
|
573
|
+
}, "strip", z.ZodTypeAny, {
|
|
575
574
|
requestContext?: Record<string, unknown> | undefined;
|
|
576
575
|
tracingOptions?: {
|
|
577
576
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -592,26 +591,26 @@ export declare const RESTART_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").S
|
|
|
592
591
|
error?: unknown;
|
|
593
592
|
result?: unknown;
|
|
594
593
|
}, "json">;
|
|
595
|
-
export declare const RESTART_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
596
|
-
workflowId:
|
|
597
|
-
}, "strip",
|
|
594
|
+
export declare const RESTART_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
595
|
+
workflowId: z.ZodString;
|
|
596
|
+
}, "strip", z.ZodTypeAny, {
|
|
598
597
|
workflowId: string;
|
|
599
598
|
}, {
|
|
600
599
|
workflowId: string;
|
|
601
|
-
}>,
|
|
602
|
-
runId:
|
|
603
|
-
}, "strip",
|
|
600
|
+
}>, z.ZodObject<{
|
|
601
|
+
runId: z.ZodString;
|
|
602
|
+
}, "strip", z.ZodTypeAny, {
|
|
604
603
|
runId: string;
|
|
605
604
|
}, {
|
|
606
605
|
runId: string;
|
|
607
|
-
}>,
|
|
608
|
-
requestContext:
|
|
609
|
-
tracingOptions:
|
|
610
|
-
metadata:
|
|
611
|
-
requestContextKeys:
|
|
612
|
-
traceId:
|
|
613
|
-
parentSpanId:
|
|
614
|
-
}, "strip",
|
|
606
|
+
}>, z.ZodObject<{
|
|
607
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
608
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
609
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
610
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
611
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
612
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
613
|
+
}, "strip", z.ZodTypeAny, {
|
|
615
614
|
metadata?: Record<string, unknown> | undefined;
|
|
616
615
|
requestContextKeys?: string[] | undefined;
|
|
617
616
|
traceId?: string | undefined;
|
|
@@ -622,7 +621,7 @@ export declare const RESTART_WORKFLOW_ROUTE: import("../server-adapter").ServerR
|
|
|
622
621
|
traceId?: string | undefined;
|
|
623
622
|
parentSpanId?: string | undefined;
|
|
624
623
|
}>>;
|
|
625
|
-
}, "strip",
|
|
624
|
+
}, "strip", z.ZodTypeAny, {
|
|
626
625
|
requestContext?: Record<string, unknown> | undefined;
|
|
627
626
|
tracingOptions?: {
|
|
628
627
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -651,32 +650,32 @@ export declare const RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE: import("../server-a
|
|
|
651
650
|
}, {
|
|
652
651
|
message: string;
|
|
653
652
|
}, "json">;
|
|
654
|
-
export declare const TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
655
|
-
workflowId:
|
|
656
|
-
}, "strip",
|
|
653
|
+
export declare const TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
654
|
+
workflowId: z.ZodString;
|
|
655
|
+
}, "strip", z.ZodTypeAny, {
|
|
657
656
|
workflowId: string;
|
|
658
657
|
}, {
|
|
659
658
|
workflowId: string;
|
|
660
|
-
}>,
|
|
661
|
-
runId:
|
|
662
|
-
}, "strip",
|
|
659
|
+
}>, z.ZodObject<{
|
|
660
|
+
runId: z.ZodString;
|
|
661
|
+
}, "strip", z.ZodTypeAny, {
|
|
663
662
|
runId: string;
|
|
664
663
|
}, {
|
|
665
664
|
runId: string;
|
|
666
|
-
}>,
|
|
667
|
-
inputData:
|
|
668
|
-
resumeData:
|
|
669
|
-
initialState:
|
|
670
|
-
step:
|
|
671
|
-
context:
|
|
672
|
-
nestedStepsContext:
|
|
673
|
-
requestContext:
|
|
674
|
-
tracingOptions:
|
|
675
|
-
metadata:
|
|
676
|
-
requestContextKeys:
|
|
677
|
-
traceId:
|
|
678
|
-
parentSpanId:
|
|
679
|
-
}, "strip",
|
|
665
|
+
}>, z.ZodObject<{
|
|
666
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
667
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
668
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
669
|
+
step: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
670
|
+
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
671
|
+
nestedStepsContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
672
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
673
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
674
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
675
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
676
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
677
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
678
|
+
}, "strip", z.ZodTypeAny, {
|
|
680
679
|
metadata?: Record<string, unknown> | undefined;
|
|
681
680
|
requestContextKeys?: string[] | undefined;
|
|
682
681
|
traceId?: string | undefined;
|
|
@@ -687,10 +686,11 @@ export declare const TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE: import("../server-adapter
|
|
|
687
686
|
traceId?: string | undefined;
|
|
688
687
|
parentSpanId?: string | undefined;
|
|
689
688
|
}>>;
|
|
690
|
-
}, "strip",
|
|
689
|
+
}, "strip", z.ZodTypeAny, {
|
|
691
690
|
step: string | string[];
|
|
692
691
|
context?: Record<string, any> | undefined;
|
|
693
692
|
inputData?: unknown;
|
|
693
|
+
initialState?: unknown;
|
|
694
694
|
requestContext?: Record<string, unknown> | undefined;
|
|
695
695
|
tracingOptions?: {
|
|
696
696
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -699,12 +699,12 @@ export declare const TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE: import("../server-adapter
|
|
|
699
699
|
parentSpanId?: string | undefined;
|
|
700
700
|
} | undefined;
|
|
701
701
|
resumeData?: unknown;
|
|
702
|
-
initialState?: unknown;
|
|
703
702
|
nestedStepsContext?: Record<string, Record<string, any>> | undefined;
|
|
704
703
|
}, {
|
|
705
704
|
step: string | string[];
|
|
706
705
|
context?: Record<string, any> | undefined;
|
|
707
706
|
inputData?: unknown;
|
|
707
|
+
initialState?: unknown;
|
|
708
708
|
requestContext?: Record<string, unknown> | undefined;
|
|
709
709
|
tracingOptions?: {
|
|
710
710
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -713,39 +713,38 @@ export declare const TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE: import("../server-adapter
|
|
|
713
713
|
parentSpanId?: string | undefined;
|
|
714
714
|
} | undefined;
|
|
715
715
|
resumeData?: unknown;
|
|
716
|
-
initialState?: unknown;
|
|
717
716
|
nestedStepsContext?: Record<string, Record<string, any>> | undefined;
|
|
718
717
|
}>>, {
|
|
719
718
|
status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed";
|
|
720
719
|
error?: unknown;
|
|
721
720
|
result?: unknown;
|
|
722
721
|
}, "json">;
|
|
723
|
-
export declare const TIME_TRAVEL_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
724
|
-
workflowId:
|
|
725
|
-
}, "strip",
|
|
722
|
+
export declare const TIME_TRAVEL_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
723
|
+
workflowId: z.ZodString;
|
|
724
|
+
}, "strip", z.ZodTypeAny, {
|
|
726
725
|
workflowId: string;
|
|
727
726
|
}, {
|
|
728
727
|
workflowId: string;
|
|
729
|
-
}>,
|
|
730
|
-
runId:
|
|
731
|
-
}, "strip",
|
|
728
|
+
}>, z.ZodObject<{
|
|
729
|
+
runId: z.ZodString;
|
|
730
|
+
}, "strip", z.ZodTypeAny, {
|
|
732
731
|
runId: string;
|
|
733
732
|
}, {
|
|
734
733
|
runId: string;
|
|
735
|
-
}>,
|
|
736
|
-
inputData:
|
|
737
|
-
resumeData:
|
|
738
|
-
initialState:
|
|
739
|
-
step:
|
|
740
|
-
context:
|
|
741
|
-
nestedStepsContext:
|
|
742
|
-
requestContext:
|
|
743
|
-
tracingOptions:
|
|
744
|
-
metadata:
|
|
745
|
-
requestContextKeys:
|
|
746
|
-
traceId:
|
|
747
|
-
parentSpanId:
|
|
748
|
-
}, "strip",
|
|
734
|
+
}>, z.ZodObject<{
|
|
735
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
736
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
737
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
738
|
+
step: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
739
|
+
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
740
|
+
nestedStepsContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
741
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
742
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
743
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
744
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
745
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
746
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
747
|
+
}, "strip", z.ZodTypeAny, {
|
|
749
748
|
metadata?: Record<string, unknown> | undefined;
|
|
750
749
|
requestContextKeys?: string[] | undefined;
|
|
751
750
|
traceId?: string | undefined;
|
|
@@ -756,10 +755,11 @@ export declare const TIME_TRAVEL_WORKFLOW_ROUTE: import("../server-adapter").Ser
|
|
|
756
755
|
traceId?: string | undefined;
|
|
757
756
|
parentSpanId?: string | undefined;
|
|
758
757
|
}>>;
|
|
759
|
-
}, "strip",
|
|
758
|
+
}, "strip", z.ZodTypeAny, {
|
|
760
759
|
step: string | string[];
|
|
761
760
|
context?: Record<string, any> | undefined;
|
|
762
761
|
inputData?: unknown;
|
|
762
|
+
initialState?: unknown;
|
|
763
763
|
requestContext?: Record<string, unknown> | undefined;
|
|
764
764
|
tracingOptions?: {
|
|
765
765
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -768,12 +768,12 @@ export declare const TIME_TRAVEL_WORKFLOW_ROUTE: import("../server-adapter").Ser
|
|
|
768
768
|
parentSpanId?: string | undefined;
|
|
769
769
|
} | undefined;
|
|
770
770
|
resumeData?: unknown;
|
|
771
|
-
initialState?: unknown;
|
|
772
771
|
nestedStepsContext?: Record<string, Record<string, any>> | undefined;
|
|
773
772
|
}, {
|
|
774
773
|
step: string | string[];
|
|
775
774
|
context?: Record<string, any> | undefined;
|
|
776
775
|
inputData?: unknown;
|
|
776
|
+
initialState?: unknown;
|
|
777
777
|
requestContext?: Record<string, unknown> | undefined;
|
|
778
778
|
tracingOptions?: {
|
|
779
779
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -782,37 +782,36 @@ export declare const TIME_TRAVEL_WORKFLOW_ROUTE: import("../server-adapter").Ser
|
|
|
782
782
|
parentSpanId?: string | undefined;
|
|
783
783
|
} | undefined;
|
|
784
784
|
resumeData?: unknown;
|
|
785
|
-
initialState?: unknown;
|
|
786
785
|
nestedStepsContext?: Record<string, Record<string, any>> | undefined;
|
|
787
786
|
}>>, {
|
|
788
787
|
message: string;
|
|
789
788
|
}, "json">;
|
|
790
|
-
export declare const TIME_TRAVEL_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
791
|
-
workflowId:
|
|
792
|
-
}, "strip",
|
|
789
|
+
export declare const TIME_TRAVEL_STREAM_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
790
|
+
workflowId: z.ZodString;
|
|
791
|
+
}, "strip", z.ZodTypeAny, {
|
|
793
792
|
workflowId: string;
|
|
794
793
|
}, {
|
|
795
794
|
workflowId: string;
|
|
796
|
-
}>,
|
|
797
|
-
runId:
|
|
798
|
-
}, "strip",
|
|
795
|
+
}>, z.ZodObject<{
|
|
796
|
+
runId: z.ZodString;
|
|
797
|
+
}, "strip", z.ZodTypeAny, {
|
|
799
798
|
runId: string;
|
|
800
799
|
}, {
|
|
801
800
|
runId: string;
|
|
802
|
-
}>,
|
|
803
|
-
inputData:
|
|
804
|
-
resumeData:
|
|
805
|
-
initialState:
|
|
806
|
-
step:
|
|
807
|
-
context:
|
|
808
|
-
nestedStepsContext:
|
|
809
|
-
requestContext:
|
|
810
|
-
tracingOptions:
|
|
811
|
-
metadata:
|
|
812
|
-
requestContextKeys:
|
|
813
|
-
traceId:
|
|
814
|
-
parentSpanId:
|
|
815
|
-
}, "strip",
|
|
801
|
+
}>, z.ZodObject<{
|
|
802
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
803
|
+
resumeData: z.ZodOptional<z.ZodUnknown>;
|
|
804
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
805
|
+
step: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
806
|
+
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
807
|
+
nestedStepsContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
808
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
809
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
810
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
811
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
812
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
813
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
814
|
+
}, "strip", z.ZodTypeAny, {
|
|
816
815
|
metadata?: Record<string, unknown> | undefined;
|
|
817
816
|
requestContextKeys?: string[] | undefined;
|
|
818
817
|
traceId?: string | undefined;
|
|
@@ -823,10 +822,11 @@ export declare const TIME_TRAVEL_STREAM_WORKFLOW_ROUTE: import("../server-adapte
|
|
|
823
822
|
traceId?: string | undefined;
|
|
824
823
|
parentSpanId?: string | undefined;
|
|
825
824
|
}>>;
|
|
826
|
-
}, "strip",
|
|
825
|
+
}, "strip", z.ZodTypeAny, {
|
|
827
826
|
step: string | string[];
|
|
828
827
|
context?: Record<string, any> | undefined;
|
|
829
828
|
inputData?: unknown;
|
|
829
|
+
initialState?: unknown;
|
|
830
830
|
requestContext?: Record<string, unknown> | undefined;
|
|
831
831
|
tracingOptions?: {
|
|
832
832
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -835,12 +835,12 @@ export declare const TIME_TRAVEL_STREAM_WORKFLOW_ROUTE: import("../server-adapte
|
|
|
835
835
|
parentSpanId?: string | undefined;
|
|
836
836
|
} | undefined;
|
|
837
837
|
resumeData?: unknown;
|
|
838
|
-
initialState?: unknown;
|
|
839
838
|
nestedStepsContext?: Record<string, Record<string, any>> | undefined;
|
|
840
839
|
}, {
|
|
841
840
|
step: string | string[];
|
|
842
841
|
context?: Record<string, any> | undefined;
|
|
843
842
|
inputData?: unknown;
|
|
843
|
+
initialState?: unknown;
|
|
844
844
|
requestContext?: Record<string, unknown> | undefined;
|
|
845
845
|
tracingOptions?: {
|
|
846
846
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -849,7 +849,6 @@ export declare const TIME_TRAVEL_STREAM_WORKFLOW_ROUTE: import("../server-adapte
|
|
|
849
849
|
parentSpanId?: string | undefined;
|
|
850
850
|
} | undefined;
|
|
851
851
|
resumeData?: unknown;
|
|
852
|
-
initialState?: unknown;
|
|
853
852
|
nestedStepsContext?: Record<string, Record<string, any>> | undefined;
|
|
854
853
|
}>>, unknown, "stream">;
|
|
855
854
|
export declare const CANCEL_WORKFLOW_RUN_ROUTE: import("../server-adapter").ServerRoute<{
|
|
@@ -858,27 +857,28 @@ export declare const CANCEL_WORKFLOW_RUN_ROUTE: import("../server-adapter").Serv
|
|
|
858
857
|
}, {
|
|
859
858
|
message: string;
|
|
860
859
|
}, "json">;
|
|
861
|
-
export declare const STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
862
|
-
workflowId:
|
|
863
|
-
}, "strip",
|
|
860
|
+
export declare const STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
861
|
+
workflowId: z.ZodString;
|
|
862
|
+
}, "strip", z.ZodTypeAny, {
|
|
864
863
|
workflowId: string;
|
|
865
864
|
}, {
|
|
866
865
|
workflowId: string;
|
|
867
|
-
}>,
|
|
868
|
-
runId:
|
|
869
|
-
}, "strip",
|
|
866
|
+
}>, z.ZodObject<{
|
|
867
|
+
runId: z.ZodString;
|
|
868
|
+
}, "strip", z.ZodTypeAny, {
|
|
870
869
|
runId: string;
|
|
871
870
|
}, {
|
|
872
871
|
runId: string;
|
|
873
|
-
}>,
|
|
874
|
-
inputData:
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
872
|
+
}>, z.ZodObject<{
|
|
873
|
+
inputData: z.ZodOptional<z.ZodUnknown>;
|
|
874
|
+
initialState: z.ZodOptional<z.ZodUnknown>;
|
|
875
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
876
|
+
tracingOptions: z.ZodOptional<z.ZodObject<{
|
|
877
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
878
|
+
requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
879
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
880
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
881
|
+
}, "strip", z.ZodTypeAny, {
|
|
882
882
|
metadata?: Record<string, unknown> | undefined;
|
|
883
883
|
requestContextKeys?: string[] | undefined;
|
|
884
884
|
traceId?: string | undefined;
|
|
@@ -890,9 +890,10 @@ export declare const STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").S
|
|
|
890
890
|
parentSpanId?: string | undefined;
|
|
891
891
|
}>>;
|
|
892
892
|
} & {
|
|
893
|
-
closeOnSuspend:
|
|
894
|
-
}, "strip",
|
|
893
|
+
closeOnSuspend: z.ZodOptional<z.ZodBoolean>;
|
|
894
|
+
}, "strip", z.ZodTypeAny, {
|
|
895
895
|
inputData?: unknown;
|
|
896
|
+
initialState?: unknown;
|
|
896
897
|
requestContext?: Record<string, unknown> | undefined;
|
|
897
898
|
tracingOptions?: {
|
|
898
899
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -903,6 +904,7 @@ export declare const STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").S
|
|
|
903
904
|
closeOnSuspend?: boolean | undefined;
|
|
904
905
|
}, {
|
|
905
906
|
inputData?: unknown;
|
|
907
|
+
initialState?: unknown;
|
|
906
908
|
requestContext?: Record<string, unknown> | undefined;
|
|
907
909
|
tracingOptions?: {
|
|
908
910
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -912,15 +914,15 @@ export declare const STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").S
|
|
|
912
914
|
} | undefined;
|
|
913
915
|
closeOnSuspend?: boolean | undefined;
|
|
914
916
|
}>>, any, "stream">;
|
|
915
|
-
export declare const OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<
|
|
916
|
-
workflowId:
|
|
917
|
-
}, "strip",
|
|
917
|
+
export declare const OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
|
|
918
|
+
workflowId: z.ZodString;
|
|
919
|
+
}, "strip", z.ZodTypeAny, {
|
|
918
920
|
workflowId: string;
|
|
919
921
|
}, {
|
|
920
922
|
workflowId: string;
|
|
921
|
-
}>,
|
|
922
|
-
runId:
|
|
923
|
-
}, "strip",
|
|
923
|
+
}>, z.ZodObject<{
|
|
924
|
+
runId: z.ZodString;
|
|
925
|
+
}, "strip", z.ZodTypeAny, {
|
|
924
926
|
runId: string;
|
|
925
927
|
}, {
|
|
926
928
|
runId: string;
|