syllable-sdk 1.0.14-rc.1 → 1.0.14-rc.3
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/bin/mcp-server.js +295 -269
- package/bin/mcp-server.js.map +26 -26
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +9 -0
- package/lib/encodings.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/callaction.d.ts +7 -19
- package/models/components/callaction.d.ts.map +1 -1
- package/models/components/callaction.js +8 -8
- package/models/components/callaction.js.map +1 -1
- package/models/components/celexpression.d.ts +1 -1
- package/models/components/celexpression.d.ts.map +1 -1
- package/models/components/celexpression.js +2 -2
- package/models/components/celexpression.js.map +1 -1
- package/models/components/conditionaltext.d.ts +6 -18
- package/models/components/conditionaltext.d.ts.map +1 -1
- package/models/components/conditionaltext.js +6 -6
- package/models/components/conditionaltext.js.map +1 -1
- package/models/components/conditionalvalue.d.ts +12 -36
- package/models/components/conditionalvalue.d.ts.map +1 -1
- package/models/components/conditionalvalue.js +12 -12
- package/models/components/conditionalvalue.js.map +1 -1
- package/models/components/context.d.ts +8 -104
- package/models/components/context.d.ts.map +1 -1
- package/models/components/context.js +48 -48
- package/models/components/context.js.map +1 -1
- package/models/components/eventtask.d.ts +1 -1
- package/models/components/eventtask.d.ts.map +1 -1
- package/models/components/eventtask.js +2 -2
- package/models/components/eventtask.js.map +1 -1
- package/models/components/eventtaskevents.d.ts +4 -44
- package/models/components/eventtaskevents.d.ts.map +1 -1
- package/models/components/eventtaskevents.js +20 -20
- package/models/components/eventtaskevents.js.map +1 -1
- package/models/components/expressiontask.d.ts +7 -19
- package/models/components/expressiontask.d.ts.map +1 -1
- package/models/components/expressiontask.js +8 -8
- package/models/components/expressiontask.js.map +1 -1
- package/models/components/expressiontaskevents.d.ts +8 -88
- package/models/components/expressiontaskevents.d.ts.map +1 -1
- package/models/components/expressiontaskevents.js +40 -40
- package/models/components/expressiontaskevents.js.map +1 -1
- package/models/components/incrementaction.d.ts +7 -19
- package/models/components/incrementaction.d.ts.map +1 -1
- package/models/components/incrementaction.js +8 -8
- package/models/components/incrementaction.js.map +1 -1
- package/models/components/loadtoolfromfiletask.d.ts +1 -1
- package/models/components/loadtoolfromfiletask.d.ts.map +1 -1
- package/models/components/loadtoolfromfiletask.js +2 -2
- package/models/components/loadtoolfromfiletask.js.map +1 -1
- package/models/components/nextstep.d.ts +6 -18
- package/models/components/nextstep.d.ts.map +1 -1
- package/models/components/nextstep.js +6 -6
- package/models/components/nextstep.js.map +1 -1
- package/models/components/saveaction.d.ts +7 -19
- package/models/components/saveaction.d.ts.map +1 -1
- package/models/components/saveaction.js +8 -8
- package/models/components/saveaction.js.map +1 -1
- package/models/components/sayaction.d.ts +7 -19
- package/models/components/sayaction.d.ts.map +1 -1
- package/models/components/sayaction.js +8 -8
- package/models/components/sayaction.js.map +1 -1
- package/models/components/setvalueaction.d.ts +13 -37
- package/models/components/setvalueaction.d.ts.map +1 -1
- package/models/components/setvalueaction.js +14 -14
- package/models/components/setvalueaction.js.map +1 -1
- package/models/components/step.d.ts +1 -1
- package/models/components/stepeventactions.d.ts +27 -133
- package/models/components/stepeventactions.d.ts.map +1 -1
- package/models/components/stepeventactions.js +91 -61
- package/models/components/stepeventactions.js.map +1 -1
- package/models/components/stepstask.d.ts +1 -1
- package/models/components/stepstask.d.ts.map +1 -1
- package/models/components/stepstask.js +2 -2
- package/models/components/stepstask.js.map +1 -1
- package/models/components/toolparametertransformcondition.d.ts +1 -1
- package/models/components/toolparametertransformcondition.d.ts.map +1 -1
- package/models/components/toolparametertransformcondition.js +2 -2
- package/models/components/toolparametertransformcondition.js.map +1 -1
- package/models/components/variable.d.ts +6 -18
- package/models/components/variable.d.ts.map +1 -1
- package/models/components/variable.js +6 -6
- package/models/components/variable.js.map +1 -1
- package/openapi.json +67 -34
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +13 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/callaction.ts +15 -15
- package/src/models/components/celexpression.ts +3 -3
- package/src/models/components/conditionaltext.ts +12 -12
- package/src/models/components/conditionalvalue.ts +24 -24
- package/src/models/components/context.ts +87 -149
- package/src/models/components/eventtask.ts +3 -3
- package/src/models/components/eventtaskevents.ts +36 -48
- package/src/models/components/expressiontask.ts +15 -15
- package/src/models/components/expressiontaskevents.ts +72 -96
- package/src/models/components/incrementaction.ts +15 -15
- package/src/models/components/loadtoolfromfiletask.ts +3 -3
- package/src/models/components/nextstep.ts +12 -12
- package/src/models/components/saveaction.ts +15 -15
- package/src/models/components/sayaction.ts +15 -15
- package/src/models/components/setvalueaction.ts +27 -27
- package/src/models/components/step.ts +1 -1
- package/src/models/components/stepeventactions.ts +182 -145
- package/src/models/components/stepstask.ts +3 -3
- package/src/models/components/toolparametertransformcondition.ts +3 -3
- package/src/models/components/variable.ts +12 -12
- package/src/types/unrecognized.ts +9 -1
- package/tsconfig.json +1 -2
- package/types/unrecognized.d.ts +7 -1
- package/types/unrecognized.d.ts.map +1 -1
- package/types/unrecognized.js +9 -1
- package/types/unrecognized.js.map +1 -1
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./jmespathexpression.js";
|
|
28
28
|
|
|
29
29
|
export type SayActionIf1 =
|
|
30
|
-
|
|
|
30
|
+
| CelExpression
|
|
31
31
|
| (JMESPathExpression & { type: "jmespath" })
|
|
32
32
|
| (JMESPathExpression & { type: "jp" });
|
|
33
33
|
|
|
@@ -36,7 +36,7 @@ export type SayActionIf1 =
|
|
|
36
36
|
*/
|
|
37
37
|
export type SayActionIf =
|
|
38
38
|
| CaseExpression
|
|
39
|
-
|
|
|
39
|
+
| CelExpression
|
|
40
40
|
| (JMESPathExpression & { type: "jmespath" })
|
|
41
41
|
| (JMESPathExpression & { type: "jp" })
|
|
42
42
|
| string;
|
|
@@ -59,7 +59,7 @@ export type SayAction = {
|
|
|
59
59
|
*/
|
|
60
60
|
if?:
|
|
61
61
|
| CaseExpression
|
|
62
|
-
|
|
|
62
|
+
| CelExpression
|
|
63
63
|
| (JMESPathExpression & { type: "jmespath" })
|
|
64
64
|
| (JMESPathExpression & { type: "jp" })
|
|
65
65
|
| string
|
|
@@ -69,7 +69,7 @@ export type SayAction = {
|
|
|
69
69
|
* Text to apply if the condition is true.
|
|
70
70
|
*/
|
|
71
71
|
text: string;
|
|
72
|
-
action
|
|
72
|
+
action: "say";
|
|
73
73
|
/**
|
|
74
74
|
* The role of the message.
|
|
75
75
|
*/
|
|
@@ -82,7 +82,7 @@ export const SayActionIf1$inboundSchema: z.ZodType<
|
|
|
82
82
|
z.ZodTypeDef,
|
|
83
83
|
unknown
|
|
84
84
|
> = z.union([
|
|
85
|
-
CelExpression$inboundSchema
|
|
85
|
+
CelExpression$inboundSchema,
|
|
86
86
|
JMESPathExpression$inboundSchema.and(
|
|
87
87
|
z.object({ type: z.literal("jmespath") }),
|
|
88
88
|
),
|
|
@@ -90,7 +90,7 @@ export const SayActionIf1$inboundSchema: z.ZodType<
|
|
|
90
90
|
]);
|
|
91
91
|
/** @internal */
|
|
92
92
|
export type SayActionIf1$Outbound =
|
|
93
|
-
|
|
|
93
|
+
| CelExpression$Outbound
|
|
94
94
|
| (JMESPathExpression$Outbound & { type: "jmespath" })
|
|
95
95
|
| (JMESPathExpression$Outbound & { type: "jp" });
|
|
96
96
|
|
|
@@ -100,7 +100,7 @@ export const SayActionIf1$outboundSchema: z.ZodType<
|
|
|
100
100
|
z.ZodTypeDef,
|
|
101
101
|
SayActionIf1
|
|
102
102
|
> = z.union([
|
|
103
|
-
CelExpression$outboundSchema
|
|
103
|
+
CelExpression$outboundSchema,
|
|
104
104
|
JMESPathExpression$outboundSchema.and(
|
|
105
105
|
z.object({ type: z.literal("jmespath") }),
|
|
106
106
|
),
|
|
@@ -128,7 +128,7 @@ export const SayActionIf$inboundSchema: z.ZodType<
|
|
|
128
128
|
> = z.union([
|
|
129
129
|
CaseExpression$inboundSchema,
|
|
130
130
|
z.union([
|
|
131
|
-
CelExpression$inboundSchema
|
|
131
|
+
CelExpression$inboundSchema,
|
|
132
132
|
JMESPathExpression$inboundSchema.and(
|
|
133
133
|
z.object({ type: z.literal("jmespath") }),
|
|
134
134
|
),
|
|
@@ -139,7 +139,7 @@ export const SayActionIf$inboundSchema: z.ZodType<
|
|
|
139
139
|
/** @internal */
|
|
140
140
|
export type SayActionIf$Outbound =
|
|
141
141
|
| CaseExpression$Outbound
|
|
142
|
-
|
|
|
142
|
+
| CelExpression$Outbound
|
|
143
143
|
| (JMESPathExpression$Outbound & { type: "jmespath" })
|
|
144
144
|
| (JMESPathExpression$Outbound & { type: "jp" })
|
|
145
145
|
| string;
|
|
@@ -152,7 +152,7 @@ export const SayActionIf$outboundSchema: z.ZodType<
|
|
|
152
152
|
> = z.union([
|
|
153
153
|
CaseExpression$outboundSchema,
|
|
154
154
|
z.union([
|
|
155
|
-
CelExpression$outboundSchema
|
|
155
|
+
CelExpression$outboundSchema,
|
|
156
156
|
JMESPathExpression$outboundSchema.and(
|
|
157
157
|
z.object({ type: z.literal("jmespath") }),
|
|
158
158
|
),
|
|
@@ -192,7 +192,7 @@ export const SayAction$inboundSchema: z.ZodType<
|
|
|
192
192
|
z.union([
|
|
193
193
|
CaseExpression$inboundSchema,
|
|
194
194
|
z.union([
|
|
195
|
-
CelExpression$inboundSchema
|
|
195
|
+
CelExpression$inboundSchema,
|
|
196
196
|
JMESPathExpression$inboundSchema.and(
|
|
197
197
|
z.object({ type: z.literal("jmespath") }),
|
|
198
198
|
),
|
|
@@ -204,14 +204,14 @@ export const SayAction$inboundSchema: z.ZodType<
|
|
|
204
204
|
]),
|
|
205
205
|
).optional(),
|
|
206
206
|
text: z.string(),
|
|
207
|
-
action: z.literal("say")
|
|
207
|
+
action: z.literal("say"),
|
|
208
208
|
role: Role$inboundSchema.default("assistant"),
|
|
209
209
|
});
|
|
210
210
|
/** @internal */
|
|
211
211
|
export type SayAction$Outbound = {
|
|
212
212
|
if?:
|
|
213
213
|
| CaseExpression$Outbound
|
|
214
|
-
|
|
|
214
|
+
| CelExpression$Outbound
|
|
215
215
|
| (JMESPathExpression$Outbound & { type: "jmespath" })
|
|
216
216
|
| (JMESPathExpression$Outbound & { type: "jp" })
|
|
217
217
|
| string
|
|
@@ -232,7 +232,7 @@ export const SayAction$outboundSchema: z.ZodType<
|
|
|
232
232
|
z.union([
|
|
233
233
|
CaseExpression$outboundSchema,
|
|
234
234
|
z.union([
|
|
235
|
-
CelExpression$outboundSchema
|
|
235
|
+
CelExpression$outboundSchema,
|
|
236
236
|
JMESPathExpression$outboundSchema.and(
|
|
237
237
|
z.object({ type: z.literal("jmespath") }),
|
|
238
238
|
),
|
|
@@ -244,7 +244,7 @@ export const SayAction$outboundSchema: z.ZodType<
|
|
|
244
244
|
]),
|
|
245
245
|
).optional(),
|
|
246
246
|
text: z.string(),
|
|
247
|
-
action: z.literal("say")
|
|
247
|
+
action: z.literal("say"),
|
|
248
248
|
role: Role$outboundSchema.default("assistant"),
|
|
249
249
|
});
|
|
250
250
|
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./jmespathexpression.js";
|
|
28
28
|
|
|
29
29
|
export type SetValueActionValueFrom1 =
|
|
30
|
-
|
|
|
30
|
+
| CelExpression
|
|
31
31
|
| (JMESPathExpression & { type: "jmespath" })
|
|
32
32
|
| (JMESPathExpression & { type: "jp" });
|
|
33
33
|
|
|
@@ -36,13 +36,13 @@ export type SetValueActionValueFrom1 =
|
|
|
36
36
|
*/
|
|
37
37
|
export type SetValueActionValueFrom =
|
|
38
38
|
| CaseExpression
|
|
39
|
-
|
|
|
39
|
+
| CelExpression
|
|
40
40
|
| (JMESPathExpression & { type: "jmespath" })
|
|
41
41
|
| (JMESPathExpression & { type: "jp" })
|
|
42
42
|
| string;
|
|
43
43
|
|
|
44
44
|
export type SetValueActionIf1 =
|
|
45
|
-
|
|
|
45
|
+
| CelExpression
|
|
46
46
|
| (JMESPathExpression & { type: "jmespath" })
|
|
47
47
|
| (JMESPathExpression & { type: "jp" });
|
|
48
48
|
|
|
@@ -51,7 +51,7 @@ export type SetValueActionIf1 =
|
|
|
51
51
|
*/
|
|
52
52
|
export type SetValueActionIf =
|
|
53
53
|
| CaseExpression
|
|
54
|
-
|
|
|
54
|
+
| CelExpression
|
|
55
55
|
| (JMESPathExpression & { type: "jmespath" })
|
|
56
56
|
| (JMESPathExpression & { type: "jp" })
|
|
57
57
|
| string;
|
|
@@ -66,7 +66,7 @@ export type SetValueAction = {
|
|
|
66
66
|
*/
|
|
67
67
|
valueFrom?:
|
|
68
68
|
| CaseExpression
|
|
69
|
-
|
|
|
69
|
+
| CelExpression
|
|
70
70
|
| (JMESPathExpression & { type: "jmespath" })
|
|
71
71
|
| (JMESPathExpression & { type: "jp" })
|
|
72
72
|
| string
|
|
@@ -77,13 +77,13 @@ export type SetValueAction = {
|
|
|
77
77
|
*/
|
|
78
78
|
if?:
|
|
79
79
|
| CaseExpression
|
|
80
|
-
|
|
|
80
|
+
| CelExpression
|
|
81
81
|
| (JMESPathExpression & { type: "jmespath" })
|
|
82
82
|
| (JMESPathExpression & { type: "jp" })
|
|
83
83
|
| string
|
|
84
84
|
| null
|
|
85
85
|
| undefined;
|
|
86
|
-
action
|
|
86
|
+
action: "set";
|
|
87
87
|
/**
|
|
88
88
|
* Destination path to mutate (e.g. output.foo).
|
|
89
89
|
*/
|
|
@@ -96,7 +96,7 @@ export const SetValueActionValueFrom1$inboundSchema: z.ZodType<
|
|
|
96
96
|
z.ZodTypeDef,
|
|
97
97
|
unknown
|
|
98
98
|
> = z.union([
|
|
99
|
-
CelExpression$inboundSchema
|
|
99
|
+
CelExpression$inboundSchema,
|
|
100
100
|
JMESPathExpression$inboundSchema.and(
|
|
101
101
|
z.object({ type: z.literal("jmespath") }),
|
|
102
102
|
),
|
|
@@ -104,7 +104,7 @@ export const SetValueActionValueFrom1$inboundSchema: z.ZodType<
|
|
|
104
104
|
]);
|
|
105
105
|
/** @internal */
|
|
106
106
|
export type SetValueActionValueFrom1$Outbound =
|
|
107
|
-
|
|
|
107
|
+
| CelExpression$Outbound
|
|
108
108
|
| (JMESPathExpression$Outbound & { type: "jmespath" })
|
|
109
109
|
| (JMESPathExpression$Outbound & { type: "jp" });
|
|
110
110
|
|
|
@@ -114,7 +114,7 @@ export const SetValueActionValueFrom1$outboundSchema: z.ZodType<
|
|
|
114
114
|
z.ZodTypeDef,
|
|
115
115
|
SetValueActionValueFrom1
|
|
116
116
|
> = z.union([
|
|
117
|
-
CelExpression$outboundSchema
|
|
117
|
+
CelExpression$outboundSchema,
|
|
118
118
|
JMESPathExpression$outboundSchema.and(
|
|
119
119
|
z.object({ type: z.literal("jmespath") }),
|
|
120
120
|
),
|
|
@@ -146,7 +146,7 @@ export const SetValueActionValueFrom$inboundSchema: z.ZodType<
|
|
|
146
146
|
> = z.union([
|
|
147
147
|
CaseExpression$inboundSchema,
|
|
148
148
|
z.union([
|
|
149
|
-
CelExpression$inboundSchema
|
|
149
|
+
CelExpression$inboundSchema,
|
|
150
150
|
JMESPathExpression$inboundSchema.and(
|
|
151
151
|
z.object({ type: z.literal("jmespath") }),
|
|
152
152
|
),
|
|
@@ -157,7 +157,7 @@ export const SetValueActionValueFrom$inboundSchema: z.ZodType<
|
|
|
157
157
|
/** @internal */
|
|
158
158
|
export type SetValueActionValueFrom$Outbound =
|
|
159
159
|
| CaseExpression$Outbound
|
|
160
|
-
|
|
|
160
|
+
| CelExpression$Outbound
|
|
161
161
|
| (JMESPathExpression$Outbound & { type: "jmespath" })
|
|
162
162
|
| (JMESPathExpression$Outbound & { type: "jp" })
|
|
163
163
|
| string;
|
|
@@ -170,7 +170,7 @@ export const SetValueActionValueFrom$outboundSchema: z.ZodType<
|
|
|
170
170
|
> = z.union([
|
|
171
171
|
CaseExpression$outboundSchema,
|
|
172
172
|
z.union([
|
|
173
|
-
CelExpression$outboundSchema
|
|
173
|
+
CelExpression$outboundSchema,
|
|
174
174
|
JMESPathExpression$outboundSchema.and(
|
|
175
175
|
z.object({ type: z.literal("jmespath") }),
|
|
176
176
|
),
|
|
@@ -202,7 +202,7 @@ export const SetValueActionIf1$inboundSchema: z.ZodType<
|
|
|
202
202
|
z.ZodTypeDef,
|
|
203
203
|
unknown
|
|
204
204
|
> = z.union([
|
|
205
|
-
CelExpression$inboundSchema
|
|
205
|
+
CelExpression$inboundSchema,
|
|
206
206
|
JMESPathExpression$inboundSchema.and(
|
|
207
207
|
z.object({ type: z.literal("jmespath") }),
|
|
208
208
|
),
|
|
@@ -210,7 +210,7 @@ export const SetValueActionIf1$inboundSchema: z.ZodType<
|
|
|
210
210
|
]);
|
|
211
211
|
/** @internal */
|
|
212
212
|
export type SetValueActionIf1$Outbound =
|
|
213
|
-
|
|
|
213
|
+
| CelExpression$Outbound
|
|
214
214
|
| (JMESPathExpression$Outbound & { type: "jmespath" })
|
|
215
215
|
| (JMESPathExpression$Outbound & { type: "jp" });
|
|
216
216
|
|
|
@@ -220,7 +220,7 @@ export const SetValueActionIf1$outboundSchema: z.ZodType<
|
|
|
220
220
|
z.ZodTypeDef,
|
|
221
221
|
SetValueActionIf1
|
|
222
222
|
> = z.union([
|
|
223
|
-
CelExpression$outboundSchema
|
|
223
|
+
CelExpression$outboundSchema,
|
|
224
224
|
JMESPathExpression$outboundSchema.and(
|
|
225
225
|
z.object({ type: z.literal("jmespath") }),
|
|
226
226
|
),
|
|
@@ -252,7 +252,7 @@ export const SetValueActionIf$inboundSchema: z.ZodType<
|
|
|
252
252
|
> = z.union([
|
|
253
253
|
CaseExpression$inboundSchema,
|
|
254
254
|
z.union([
|
|
255
|
-
CelExpression$inboundSchema
|
|
255
|
+
CelExpression$inboundSchema,
|
|
256
256
|
JMESPathExpression$inboundSchema.and(
|
|
257
257
|
z.object({ type: z.literal("jmespath") }),
|
|
258
258
|
),
|
|
@@ -263,7 +263,7 @@ export const SetValueActionIf$inboundSchema: z.ZodType<
|
|
|
263
263
|
/** @internal */
|
|
264
264
|
export type SetValueActionIf$Outbound =
|
|
265
265
|
| CaseExpression$Outbound
|
|
266
|
-
|
|
|
266
|
+
| CelExpression$Outbound
|
|
267
267
|
| (JMESPathExpression$Outbound & { type: "jmespath" })
|
|
268
268
|
| (JMESPathExpression$Outbound & { type: "jp" })
|
|
269
269
|
| string;
|
|
@@ -276,7 +276,7 @@ export const SetValueActionIf$outboundSchema: z.ZodType<
|
|
|
276
276
|
> = z.union([
|
|
277
277
|
CaseExpression$outboundSchema,
|
|
278
278
|
z.union([
|
|
279
|
-
CelExpression$outboundSchema
|
|
279
|
+
CelExpression$outboundSchema,
|
|
280
280
|
JMESPathExpression$outboundSchema.and(
|
|
281
281
|
z.object({ type: z.literal("jmespath") }),
|
|
282
282
|
),
|
|
@@ -313,7 +313,7 @@ export const SetValueAction$inboundSchema: z.ZodType<
|
|
|
313
313
|
z.union([
|
|
314
314
|
CaseExpression$inboundSchema,
|
|
315
315
|
z.union([
|
|
316
|
-
CelExpression$inboundSchema
|
|
316
|
+
CelExpression$inboundSchema,
|
|
317
317
|
JMESPathExpression$inboundSchema.and(
|
|
318
318
|
z.object({ type: z.literal("jmespath") }),
|
|
319
319
|
),
|
|
@@ -328,7 +328,7 @@ export const SetValueAction$inboundSchema: z.ZodType<
|
|
|
328
328
|
z.union([
|
|
329
329
|
CaseExpression$inboundSchema,
|
|
330
330
|
z.union([
|
|
331
|
-
CelExpression$inboundSchema
|
|
331
|
+
CelExpression$inboundSchema,
|
|
332
332
|
JMESPathExpression$inboundSchema.and(
|
|
333
333
|
z.object({ type: z.literal("jmespath") }),
|
|
334
334
|
),
|
|
@@ -339,7 +339,7 @@ export const SetValueAction$inboundSchema: z.ZodType<
|
|
|
339
339
|
z.string(),
|
|
340
340
|
]),
|
|
341
341
|
).optional(),
|
|
342
|
-
action: z.literal("set")
|
|
342
|
+
action: z.literal("set"),
|
|
343
343
|
name: z.string(),
|
|
344
344
|
}).transform((v) => {
|
|
345
345
|
return remap$(v, {
|
|
@@ -351,7 +351,7 @@ export type SetValueAction$Outbound = {
|
|
|
351
351
|
value?: any | null | undefined;
|
|
352
352
|
value_from?:
|
|
353
353
|
| CaseExpression$Outbound
|
|
354
|
-
|
|
|
354
|
+
| CelExpression$Outbound
|
|
355
355
|
| (JMESPathExpression$Outbound & { type: "jmespath" })
|
|
356
356
|
| (JMESPathExpression$Outbound & { type: "jp" })
|
|
357
357
|
| string
|
|
@@ -359,7 +359,7 @@ export type SetValueAction$Outbound = {
|
|
|
359
359
|
| undefined;
|
|
360
360
|
if?:
|
|
361
361
|
| CaseExpression$Outbound
|
|
362
|
-
|
|
|
362
|
+
| CelExpression$Outbound
|
|
363
363
|
| (JMESPathExpression$Outbound & { type: "jmespath" })
|
|
364
364
|
| (JMESPathExpression$Outbound & { type: "jp" })
|
|
365
365
|
| string
|
|
@@ -380,7 +380,7 @@ export const SetValueAction$outboundSchema: z.ZodType<
|
|
|
380
380
|
z.union([
|
|
381
381
|
CaseExpression$outboundSchema,
|
|
382
382
|
z.union([
|
|
383
|
-
CelExpression$outboundSchema
|
|
383
|
+
CelExpression$outboundSchema,
|
|
384
384
|
JMESPathExpression$outboundSchema.and(
|
|
385
385
|
z.object({ type: z.literal("jmespath") }),
|
|
386
386
|
),
|
|
@@ -395,7 +395,7 @@ export const SetValueAction$outboundSchema: z.ZodType<
|
|
|
395
395
|
z.union([
|
|
396
396
|
CaseExpression$outboundSchema,
|
|
397
397
|
z.union([
|
|
398
|
-
CelExpression$outboundSchema
|
|
398
|
+
CelExpression$outboundSchema,
|
|
399
399
|
JMESPathExpression$outboundSchema.and(
|
|
400
400
|
z.object({ type: z.literal("jmespath") }),
|
|
401
401
|
),
|
|
@@ -406,7 +406,7 @@ export const SetValueAction$outboundSchema: z.ZodType<
|
|
|
406
406
|
z.string(),
|
|
407
407
|
]),
|
|
408
408
|
).optional(),
|
|
409
|
-
action: z.literal("set")
|
|
409
|
+
action: z.literal("set"),
|
|
410
410
|
name: z.string(),
|
|
411
411
|
}).transform((v) => {
|
|
412
412
|
return remap$(v, {
|
|
@@ -63,7 +63,7 @@ export type Step = {
|
|
|
63
63
|
*/
|
|
64
64
|
inputs?: Array<InputParameter> | undefined;
|
|
65
65
|
/**
|
|
66
|
-
* Actions to perform when events occur (enter, submit).
|
|
66
|
+
* Actions to perform when events occur (enter, presubmit, submit).
|
|
67
67
|
*/
|
|
68
68
|
on?: StepEventActions | undefined;
|
|
69
69
|
/**
|