syllable-sdk 1.0.13-rc.5 → 1.0.13

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.
Files changed (81) hide show
  1. package/bin/mcp-server.js +398 -970
  2. package/bin/mcp-server.js.map +21 -21
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/lib/config.js.map +1 -1
  8. package/lib/encodings.d.ts.map +1 -1
  9. package/lib/encodings.js +3 -1
  10. package/lib/encodings.js.map +1 -1
  11. package/mcp-server/mcp-server.js +1 -1
  12. package/mcp-server/mcp-server.js.map +1 -1
  13. package/mcp-server/server.js +1 -1
  14. package/mcp-server/server.js.map +1 -1
  15. package/models/components/callaction.d.ts.map +1 -1
  16. package/models/components/callaction.js +18 -38
  17. package/models/components/callaction.js.map +1 -1
  18. package/models/components/conditionaltext.d.ts.map +1 -1
  19. package/models/components/conditionaltext.js +18 -38
  20. package/models/components/conditionaltext.js.map +1 -1
  21. package/models/components/conditionalvalue.d.ts.map +1 -1
  22. package/models/components/conditionalvalue.js +36 -80
  23. package/models/components/conditionalvalue.js.map +1 -1
  24. package/models/components/context.d.ts.map +1 -1
  25. package/models/components/context.js +48 -140
  26. package/models/components/context.js.map +1 -1
  27. package/models/components/eventtaskevents.d.ts.map +1 -1
  28. package/models/components/eventtaskevents.js +20 -60
  29. package/models/components/eventtaskevents.js.map +1 -1
  30. package/models/components/expressiontask.d.ts.map +1 -1
  31. package/models/components/expressiontask.js +18 -38
  32. package/models/components/expressiontask.js.map +1 -1
  33. package/models/components/expressiontaskevents.d.ts.map +1 -1
  34. package/models/components/expressiontaskevents.js +40 -120
  35. package/models/components/expressiontaskevents.js.map +1 -1
  36. package/models/components/incrementaction.d.ts.map +1 -1
  37. package/models/components/incrementaction.js +18 -38
  38. package/models/components/incrementaction.js.map +1 -1
  39. package/models/components/nextstep.d.ts.map +1 -1
  40. package/models/components/nextstep.js +18 -38
  41. package/models/components/nextstep.js.map +1 -1
  42. package/models/components/saveaction.d.ts.map +1 -1
  43. package/models/components/saveaction.js +18 -38
  44. package/models/components/saveaction.js.map +1 -1
  45. package/models/components/sayaction.d.ts.map +1 -1
  46. package/models/components/sayaction.js +18 -38
  47. package/models/components/sayaction.js.map +1 -1
  48. package/models/components/session.d.ts +5 -0
  49. package/models/components/session.d.ts.map +1 -1
  50. package/models/components/session.js +4 -0
  51. package/models/components/session.js.map +1 -1
  52. package/models/components/setvalueaction.d.ts.map +1 -1
  53. package/models/components/setvalueaction.js +36 -76
  54. package/models/components/setvalueaction.js.map +1 -1
  55. package/models/components/stepeventactions.d.ts.map +1 -1
  56. package/models/components/stepeventactions.js +60 -180
  57. package/models/components/stepeventactions.js.map +1 -1
  58. package/models/components/variable.d.ts.map +1 -1
  59. package/models/components/variable.js +18 -38
  60. package/models/components/variable.js.map +1 -1
  61. package/openapi.json +12 -0
  62. package/package.json +1 -1
  63. package/src/lib/config.ts +3 -3
  64. package/src/lib/encodings.ts +4 -3
  65. package/src/mcp-server/mcp-server.ts +1 -1
  66. package/src/mcp-server/server.ts +1 -1
  67. package/src/models/components/callaction.ts +18 -58
  68. package/src/models/components/conditionaltext.ts +18 -58
  69. package/src/models/components/conditionalvalue.ts +36 -118
  70. package/src/models/components/context.ts +48 -188
  71. package/src/models/components/eventtaskevents.ts +20 -92
  72. package/src/models/components/expressiontask.ts +18 -58
  73. package/src/models/components/expressiontaskevents.ts +40 -184
  74. package/src/models/components/incrementaction.ts +18 -58
  75. package/src/models/components/nextstep.ts +18 -58
  76. package/src/models/components/saveaction.ts +18 -58
  77. package/src/models/components/sayaction.ts +18 -58
  78. package/src/models/components/session.ts +9 -0
  79. package/src/models/components/setvalueaction.ts +36 -116
  80. package/src/models/components/stepeventactions.ts +60 -276
  81. package/src/models/components/variable.ts +18 -58
@@ -79,17 +79,11 @@ export const CallActionIf1$inboundSchema: z.ZodType<
79
79
  z.ZodTypeDef,
80
80
  unknown
81
81
  > = z.union([
82
- CelExpression$inboundSchema.and(
83
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
84
- ),
85
- JMESPathExpression$inboundSchema.and(
86
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
87
- type: v.type,
88
- })),
89
- ),
82
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
90
83
  JMESPathExpression$inboundSchema.and(
91
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
84
+ z.object({ type: z.literal("jmespath") }),
92
85
  ),
86
+ JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
93
87
  ]);
94
88
  /** @internal */
95
89
  export type CallActionIf1$Outbound =
@@ -103,17 +97,11 @@ export const CallActionIf1$outboundSchema: z.ZodType<
103
97
  z.ZodTypeDef,
104
98
  CallActionIf1
105
99
  > = z.union([
106
- CelExpression$outboundSchema.and(
107
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
108
- ),
100
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
109
101
  JMESPathExpression$outboundSchema.and(
110
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
111
- type: v.type,
112
- })),
113
- ),
114
- JMESPathExpression$outboundSchema.and(
115
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
102
+ z.object({ type: z.literal("jmespath") }),
116
103
  ),
104
+ JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
117
105
  ]);
118
106
 
119
107
  export function callActionIf1ToJSON(callActionIf1: CallActionIf1): string {
@@ -137,17 +125,11 @@ export const CallActionIf$inboundSchema: z.ZodType<
137
125
  > = z.union([
138
126
  CaseExpression$inboundSchema,
139
127
  z.union([
140
- CelExpression$inboundSchema.and(
141
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
142
- ),
128
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
143
129
  JMESPathExpression$inboundSchema.and(
144
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
145
- type: v.type,
146
- })),
147
- ),
148
- JMESPathExpression$inboundSchema.and(
149
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
130
+ z.object({ type: z.literal("jmespath") }),
150
131
  ),
132
+ JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
151
133
  ]),
152
134
  z.string(),
153
135
  ]);
@@ -167,17 +149,11 @@ export const CallActionIf$outboundSchema: z.ZodType<
167
149
  > = z.union([
168
150
  CaseExpression$outboundSchema,
169
151
  z.union([
170
- CelExpression$outboundSchema.and(
171
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
172
- ),
152
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
173
153
  JMESPathExpression$outboundSchema.and(
174
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
175
- type: v.type,
176
- })),
177
- ),
178
- JMESPathExpression$outboundSchema.and(
179
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
154
+ z.object({ type: z.literal("jmespath") }),
180
155
  ),
156
+ JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
181
157
  ]),
182
158
  z.string(),
183
159
  ]);
@@ -234,20 +210,12 @@ export const CallAction$inboundSchema: z.ZodType<
234
210
  z.union([
235
211
  CaseExpression$inboundSchema,
236
212
  z.union([
237
- CelExpression$inboundSchema.and(
238
- z.object({ type: z.literal("cel") }).transform((v) => ({
239
- type: v.type,
240
- })),
241
- ),
213
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
242
214
  JMESPathExpression$inboundSchema.and(
243
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
244
- type: v.type,
245
- })),
215
+ z.object({ type: z.literal("jmespath") }),
246
216
  ),
247
217
  JMESPathExpression$inboundSchema.and(
248
- z.object({ type: z.literal("jp") }).transform((v) => ({
249
- type: v.type,
250
- })),
218
+ z.object({ type: z.literal("jp") }),
251
219
  ),
252
220
  ]),
253
221
  z.string(),
@@ -288,20 +256,12 @@ export const CallAction$outboundSchema: z.ZodType<
288
256
  z.union([
289
257
  CaseExpression$outboundSchema,
290
258
  z.union([
291
- CelExpression$outboundSchema.and(
292
- z.object({ type: z.literal("cel") }).transform((v) => ({
293
- type: v.type,
294
- })),
295
- ),
259
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
296
260
  JMESPathExpression$outboundSchema.and(
297
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
298
- type: v.type,
299
- })),
261
+ z.object({ type: z.literal("jmespath") }),
300
262
  ),
301
263
  JMESPathExpression$outboundSchema.and(
302
- z.object({ type: z.literal("jp") }).transform((v) => ({
303
- type: v.type,
304
- })),
264
+ z.object({ type: z.literal("jp") }),
305
265
  ),
306
266
  ]),
307
267
  z.string(),
@@ -64,17 +64,11 @@ export const ConditionalTextIf1$inboundSchema: z.ZodType<
64
64
  z.ZodTypeDef,
65
65
  unknown
66
66
  > = z.union([
67
- CelExpression$inboundSchema.and(
68
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
69
- ),
70
- JMESPathExpression$inboundSchema.and(
71
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
72
- type: v.type,
73
- })),
74
- ),
67
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
75
68
  JMESPathExpression$inboundSchema.and(
76
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
69
+ z.object({ type: z.literal("jmespath") }),
77
70
  ),
71
+ JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
78
72
  ]);
79
73
  /** @internal */
80
74
  export type ConditionalTextIf1$Outbound =
@@ -88,17 +82,11 @@ export const ConditionalTextIf1$outboundSchema: z.ZodType<
88
82
  z.ZodTypeDef,
89
83
  ConditionalTextIf1
90
84
  > = z.union([
91
- CelExpression$outboundSchema.and(
92
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
93
- ),
85
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
94
86
  JMESPathExpression$outboundSchema.and(
95
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
96
- type: v.type,
97
- })),
98
- ),
99
- JMESPathExpression$outboundSchema.and(
100
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
87
+ z.object({ type: z.literal("jmespath") }),
101
88
  ),
89
+ JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
102
90
  ]);
103
91
 
104
92
  export function conditionalTextIf1ToJSON(
@@ -126,17 +114,11 @@ export const ConditionalTextIf$inboundSchema: z.ZodType<
126
114
  > = z.union([
127
115
  CaseExpression$inboundSchema,
128
116
  z.union([
129
- CelExpression$inboundSchema.and(
130
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
131
- ),
117
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
132
118
  JMESPathExpression$inboundSchema.and(
133
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
134
- type: v.type,
135
- })),
136
- ),
137
- JMESPathExpression$inboundSchema.and(
138
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
119
+ z.object({ type: z.literal("jmespath") }),
139
120
  ),
121
+ JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
140
122
  ]),
141
123
  z.string(),
142
124
  ]);
@@ -156,17 +138,11 @@ export const ConditionalTextIf$outboundSchema: z.ZodType<
156
138
  > = z.union([
157
139
  CaseExpression$outboundSchema,
158
140
  z.union([
159
- CelExpression$outboundSchema.and(
160
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
161
- ),
141
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
162
142
  JMESPathExpression$outboundSchema.and(
163
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
164
- type: v.type,
165
- })),
166
- ),
167
- JMESPathExpression$outboundSchema.and(
168
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
143
+ z.object({ type: z.literal("jmespath") }),
169
144
  ),
145
+ JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
170
146
  ]),
171
147
  z.string(),
172
148
  ]);
@@ -198,20 +174,12 @@ export const ConditionalText$inboundSchema: z.ZodType<
198
174
  z.union([
199
175
  CaseExpression$inboundSchema,
200
176
  z.union([
201
- CelExpression$inboundSchema.and(
202
- z.object({ type: z.literal("cel") }).transform((v) => ({
203
- type: v.type,
204
- })),
205
- ),
177
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
206
178
  JMESPathExpression$inboundSchema.and(
207
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
208
- type: v.type,
209
- })),
179
+ z.object({ type: z.literal("jmespath") }),
210
180
  ),
211
181
  JMESPathExpression$inboundSchema.and(
212
- z.object({ type: z.literal("jp") }).transform((v) => ({
213
- type: v.type,
214
- })),
182
+ z.object({ type: z.literal("jp") }),
215
183
  ),
216
184
  ]),
217
185
  z.string(),
@@ -242,20 +210,12 @@ export const ConditionalText$outboundSchema: z.ZodType<
242
210
  z.union([
243
211
  CaseExpression$outboundSchema,
244
212
  z.union([
245
- CelExpression$outboundSchema.and(
246
- z.object({ type: z.literal("cel") }).transform((v) => ({
247
- type: v.type,
248
- })),
249
- ),
213
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
250
214
  JMESPathExpression$outboundSchema.and(
251
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
252
- type: v.type,
253
- })),
215
+ z.object({ type: z.literal("jmespath") }),
254
216
  ),
255
217
  JMESPathExpression$outboundSchema.and(
256
- z.object({ type: z.literal("jp") }).transform((v) => ({
257
- type: v.type,
258
- })),
218
+ z.object({ type: z.literal("jp") }),
259
219
  ),
260
220
  ]),
261
221
  z.string(),
@@ -91,17 +91,11 @@ export const ValueFrom1$inboundSchema: z.ZodType<
91
91
  z.ZodTypeDef,
92
92
  unknown
93
93
  > = z.union([
94
- CelExpression$inboundSchema.and(
95
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
96
- ),
97
- JMESPathExpression$inboundSchema.and(
98
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
99
- type: v.type,
100
- })),
101
- ),
94
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
102
95
  JMESPathExpression$inboundSchema.and(
103
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
96
+ z.object({ type: z.literal("jmespath") }),
104
97
  ),
98
+ JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
105
99
  ]);
106
100
  /** @internal */
107
101
  export type ValueFrom1$Outbound =
@@ -115,17 +109,11 @@ export const ValueFrom1$outboundSchema: z.ZodType<
115
109
  z.ZodTypeDef,
116
110
  ValueFrom1
117
111
  > = z.union([
118
- CelExpression$outboundSchema.and(
119
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
120
- ),
112
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
121
113
  JMESPathExpression$outboundSchema.and(
122
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
123
- type: v.type,
124
- })),
125
- ),
126
- JMESPathExpression$outboundSchema.and(
127
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
114
+ z.object({ type: z.literal("jmespath") }),
128
115
  ),
116
+ JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
129
117
  ]);
130
118
 
131
119
  export function valueFrom1ToJSON(valueFrom1: ValueFrom1): string {
@@ -144,17 +132,11 @@ export function valueFrom1FromJSON(
144
132
  /** @internal */
145
133
  export const If1$inboundSchema: z.ZodType<If1, z.ZodTypeDef, unknown> = z.union(
146
134
  [
147
- CelExpression$inboundSchema.and(
148
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
149
- ),
135
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
150
136
  JMESPathExpression$inboundSchema.and(
151
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
152
- type: v.type,
153
- })),
154
- ),
155
- JMESPathExpression$inboundSchema.and(
156
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
137
+ z.object({ type: z.literal("jmespath") }),
157
138
  ),
139
+ JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
158
140
  ],
159
141
  );
160
142
  /** @internal */
@@ -166,17 +148,11 @@ export type If1$Outbound =
166
148
  /** @internal */
167
149
  export const If1$outboundSchema: z.ZodType<If1$Outbound, z.ZodTypeDef, If1> = z
168
150
  .union([
169
- CelExpression$outboundSchema.and(
170
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
171
- ),
151
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
172
152
  JMESPathExpression$outboundSchema.and(
173
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
174
- type: v.type,
175
- })),
176
- ),
177
- JMESPathExpression$outboundSchema.and(
178
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
153
+ z.object({ type: z.literal("jmespath") }),
179
154
  ),
155
+ JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
180
156
  ]);
181
157
 
182
158
  export function if1ToJSON(if1: If1): string {
@@ -196,17 +172,11 @@ export function if1FromJSON(
196
172
  export const If$inboundSchema: z.ZodType<If, z.ZodTypeDef, unknown> = z.union([
197
173
  z.lazy(() => CaseExpression$inboundSchema),
198
174
  z.union([
199
- CelExpression$inboundSchema.and(
200
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
201
- ),
175
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
202
176
  JMESPathExpression$inboundSchema.and(
203
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
204
- type: v.type,
205
- })),
206
- ),
207
- JMESPathExpression$inboundSchema.and(
208
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
177
+ z.object({ type: z.literal("jmespath") }),
209
178
  ),
179
+ JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
210
180
  ]),
211
181
  z.string(),
212
182
  ]);
@@ -223,20 +193,12 @@ export const If$outboundSchema: z.ZodType<If$Outbound, z.ZodTypeDef, If> = z
223
193
  .union([
224
194
  z.lazy(() => CaseExpression$outboundSchema),
225
195
  z.union([
226
- CelExpression$outboundSchema.and(
227
- z.object({ type: z.literal("cel") }).transform((v) => ({
228
- type: v.type,
229
- })),
230
- ),
196
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
231
197
  JMESPathExpression$outboundSchema.and(
232
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
233
- type: v.type,
234
- })),
198
+ z.object({ type: z.literal("jmespath") }),
235
199
  ),
236
200
  JMESPathExpression$outboundSchema.and(
237
- z.object({ type: z.literal("jp") }).transform((v) => ({
238
- type: v.type,
239
- })),
201
+ z.object({ type: z.literal("jp") }),
240
202
  ),
241
203
  ]),
242
204
  z.string(),
@@ -266,20 +228,12 @@ export const ConditionalValue$inboundSchema: z.ZodType<
266
228
  z.union([
267
229
  z.lazy(() => CaseExpression$inboundSchema),
268
230
  z.union([
269
- CelExpression$inboundSchema.and(
270
- z.object({ type: z.literal("cel") }).transform((v) => ({
271
- type: v.type,
272
- })),
273
- ),
231
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
274
232
  JMESPathExpression$inboundSchema.and(
275
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
276
- type: v.type,
277
- })),
233
+ z.object({ type: z.literal("jmespath") }),
278
234
  ),
279
235
  JMESPathExpression$inboundSchema.and(
280
- z.object({ type: z.literal("jp") }).transform((v) => ({
281
- type: v.type,
282
- })),
236
+ z.object({ type: z.literal("jp") }),
283
237
  ),
284
238
  ]),
285
239
  z.string(),
@@ -289,20 +243,12 @@ export const ConditionalValue$inboundSchema: z.ZodType<
289
243
  z.union([
290
244
  z.lazy(() => CaseExpression$inboundSchema),
291
245
  z.union([
292
- CelExpression$inboundSchema.and(
293
- z.object({ type: z.literal("cel") }).transform((v) => ({
294
- type: v.type,
295
- })),
296
- ),
246
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
297
247
  JMESPathExpression$inboundSchema.and(
298
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
299
- type: v.type,
300
- })),
248
+ z.object({ type: z.literal("jmespath") }),
301
249
  ),
302
250
  JMESPathExpression$inboundSchema.and(
303
- z.object({ type: z.literal("jp") }).transform((v) => ({
304
- type: v.type,
305
- })),
251
+ z.object({ type: z.literal("jp") }),
306
252
  ),
307
253
  ]),
308
254
  z.string(),
@@ -345,20 +291,12 @@ export const ConditionalValue$outboundSchema: z.ZodType<
345
291
  z.union([
346
292
  z.lazy(() => CaseExpression$outboundSchema),
347
293
  z.union([
348
- CelExpression$outboundSchema.and(
349
- z.object({ type: z.literal("cel") }).transform((v) => ({
350
- type: v.type,
351
- })),
352
- ),
294
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
353
295
  JMESPathExpression$outboundSchema.and(
354
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
355
- type: v.type,
356
- })),
296
+ z.object({ type: z.literal("jmespath") }),
357
297
  ),
358
298
  JMESPathExpression$outboundSchema.and(
359
- z.object({ type: z.literal("jp") }).transform((v) => ({
360
- type: v.type,
361
- })),
299
+ z.object({ type: z.literal("jp") }),
362
300
  ),
363
301
  ]),
364
302
  z.string(),
@@ -368,20 +306,12 @@ export const ConditionalValue$outboundSchema: z.ZodType<
368
306
  z.union([
369
307
  z.lazy(() => CaseExpression$outboundSchema),
370
308
  z.union([
371
- CelExpression$outboundSchema.and(
372
- z.object({ type: z.literal("cel") }).transform((v) => ({
373
- type: v.type,
374
- })),
375
- ),
309
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
376
310
  JMESPathExpression$outboundSchema.and(
377
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
378
- type: v.type,
379
- })),
311
+ z.object({ type: z.literal("jmespath") }),
380
312
  ),
381
313
  JMESPathExpression$outboundSchema.and(
382
- z.object({ type: z.literal("jp") }).transform((v) => ({
383
- type: v.type,
384
- })),
314
+ z.object({ type: z.literal("jp") }),
385
315
  ),
386
316
  ]),
387
317
  z.string(),
@@ -418,17 +348,11 @@ export const ValueFrom$inboundSchema: z.ZodType<
418
348
  > = z.union([
419
349
  z.lazy(() => CaseExpression$inboundSchema),
420
350
  z.union([
421
- CelExpression$inboundSchema.and(
422
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
423
- ),
424
- JMESPathExpression$inboundSchema.and(
425
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
426
- type: v.type,
427
- })),
428
- ),
351
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
429
352
  JMESPathExpression$inboundSchema.and(
430
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
353
+ z.object({ type: z.literal("jmespath") }),
431
354
  ),
355
+ JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
432
356
  ]),
433
357
  z.string(),
434
358
  ]);
@@ -448,17 +372,11 @@ export const ValueFrom$outboundSchema: z.ZodType<
448
372
  > = z.union([
449
373
  z.lazy(() => CaseExpression$outboundSchema),
450
374
  z.union([
451
- CelExpression$outboundSchema.and(
452
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
453
- ),
454
- JMESPathExpression$outboundSchema.and(
455
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
456
- type: v.type,
457
- })),
458
- ),
375
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
459
376
  JMESPathExpression$outboundSchema.and(
460
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
377
+ z.object({ type: z.literal("jmespath") }),
461
378
  ),
379
+ JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
462
380
  ]),
463
381
  z.string(),
464
382
  ]);