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.
Files changed (121) hide show
  1. package/bin/mcp-server.js +295 -269
  2. package/bin/mcp-server.js.map +26 -26
  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/encodings.d.ts +1 -0
  8. package/lib/encodings.d.ts.map +1 -1
  9. package/lib/encodings.js +9 -0
  10. package/lib/encodings.js.map +1 -1
  11. package/mcp-server/mcp-server.js +1 -1
  12. package/mcp-server/server.js +1 -1
  13. package/models/components/callaction.d.ts +7 -19
  14. package/models/components/callaction.d.ts.map +1 -1
  15. package/models/components/callaction.js +8 -8
  16. package/models/components/callaction.js.map +1 -1
  17. package/models/components/celexpression.d.ts +1 -1
  18. package/models/components/celexpression.d.ts.map +1 -1
  19. package/models/components/celexpression.js +2 -2
  20. package/models/components/celexpression.js.map +1 -1
  21. package/models/components/conditionaltext.d.ts +6 -18
  22. package/models/components/conditionaltext.d.ts.map +1 -1
  23. package/models/components/conditionaltext.js +6 -6
  24. package/models/components/conditionaltext.js.map +1 -1
  25. package/models/components/conditionalvalue.d.ts +12 -36
  26. package/models/components/conditionalvalue.d.ts.map +1 -1
  27. package/models/components/conditionalvalue.js +12 -12
  28. package/models/components/conditionalvalue.js.map +1 -1
  29. package/models/components/context.d.ts +8 -104
  30. package/models/components/context.d.ts.map +1 -1
  31. package/models/components/context.js +48 -48
  32. package/models/components/context.js.map +1 -1
  33. package/models/components/eventtask.d.ts +1 -1
  34. package/models/components/eventtask.d.ts.map +1 -1
  35. package/models/components/eventtask.js +2 -2
  36. package/models/components/eventtask.js.map +1 -1
  37. package/models/components/eventtaskevents.d.ts +4 -44
  38. package/models/components/eventtaskevents.d.ts.map +1 -1
  39. package/models/components/eventtaskevents.js +20 -20
  40. package/models/components/eventtaskevents.js.map +1 -1
  41. package/models/components/expressiontask.d.ts +7 -19
  42. package/models/components/expressiontask.d.ts.map +1 -1
  43. package/models/components/expressiontask.js +8 -8
  44. package/models/components/expressiontask.js.map +1 -1
  45. package/models/components/expressiontaskevents.d.ts +8 -88
  46. package/models/components/expressiontaskevents.d.ts.map +1 -1
  47. package/models/components/expressiontaskevents.js +40 -40
  48. package/models/components/expressiontaskevents.js.map +1 -1
  49. package/models/components/incrementaction.d.ts +7 -19
  50. package/models/components/incrementaction.d.ts.map +1 -1
  51. package/models/components/incrementaction.js +8 -8
  52. package/models/components/incrementaction.js.map +1 -1
  53. package/models/components/loadtoolfromfiletask.d.ts +1 -1
  54. package/models/components/loadtoolfromfiletask.d.ts.map +1 -1
  55. package/models/components/loadtoolfromfiletask.js +2 -2
  56. package/models/components/loadtoolfromfiletask.js.map +1 -1
  57. package/models/components/nextstep.d.ts +6 -18
  58. package/models/components/nextstep.d.ts.map +1 -1
  59. package/models/components/nextstep.js +6 -6
  60. package/models/components/nextstep.js.map +1 -1
  61. package/models/components/saveaction.d.ts +7 -19
  62. package/models/components/saveaction.d.ts.map +1 -1
  63. package/models/components/saveaction.js +8 -8
  64. package/models/components/saveaction.js.map +1 -1
  65. package/models/components/sayaction.d.ts +7 -19
  66. package/models/components/sayaction.d.ts.map +1 -1
  67. package/models/components/sayaction.js +8 -8
  68. package/models/components/sayaction.js.map +1 -1
  69. package/models/components/setvalueaction.d.ts +13 -37
  70. package/models/components/setvalueaction.d.ts.map +1 -1
  71. package/models/components/setvalueaction.js +14 -14
  72. package/models/components/setvalueaction.js.map +1 -1
  73. package/models/components/step.d.ts +1 -1
  74. package/models/components/stepeventactions.d.ts +27 -133
  75. package/models/components/stepeventactions.d.ts.map +1 -1
  76. package/models/components/stepeventactions.js +91 -61
  77. package/models/components/stepeventactions.js.map +1 -1
  78. package/models/components/stepstask.d.ts +1 -1
  79. package/models/components/stepstask.d.ts.map +1 -1
  80. package/models/components/stepstask.js +2 -2
  81. package/models/components/stepstask.js.map +1 -1
  82. package/models/components/toolparametertransformcondition.d.ts +1 -1
  83. package/models/components/toolparametertransformcondition.d.ts.map +1 -1
  84. package/models/components/toolparametertransformcondition.js +2 -2
  85. package/models/components/toolparametertransformcondition.js.map +1 -1
  86. package/models/components/variable.d.ts +6 -18
  87. package/models/components/variable.d.ts.map +1 -1
  88. package/models/components/variable.js +6 -6
  89. package/models/components/variable.js.map +1 -1
  90. package/openapi.json +67 -34
  91. package/package.json +1 -1
  92. package/src/lib/config.ts +3 -3
  93. package/src/lib/encodings.ts +13 -0
  94. package/src/mcp-server/mcp-server.ts +1 -1
  95. package/src/mcp-server/server.ts +1 -1
  96. package/src/models/components/callaction.ts +15 -15
  97. package/src/models/components/celexpression.ts +3 -3
  98. package/src/models/components/conditionaltext.ts +12 -12
  99. package/src/models/components/conditionalvalue.ts +24 -24
  100. package/src/models/components/context.ts +87 -149
  101. package/src/models/components/eventtask.ts +3 -3
  102. package/src/models/components/eventtaskevents.ts +36 -48
  103. package/src/models/components/expressiontask.ts +15 -15
  104. package/src/models/components/expressiontaskevents.ts +72 -96
  105. package/src/models/components/incrementaction.ts +15 -15
  106. package/src/models/components/loadtoolfromfiletask.ts +3 -3
  107. package/src/models/components/nextstep.ts +12 -12
  108. package/src/models/components/saveaction.ts +15 -15
  109. package/src/models/components/sayaction.ts +15 -15
  110. package/src/models/components/setvalueaction.ts +27 -27
  111. package/src/models/components/step.ts +1 -1
  112. package/src/models/components/stepeventactions.ts +182 -145
  113. package/src/models/components/stepstask.ts +3 -3
  114. package/src/models/components/toolparametertransformcondition.ts +3 -3
  115. package/src/models/components/variable.ts +12 -12
  116. package/src/types/unrecognized.ts +9 -1
  117. package/tsconfig.json +1 -2
  118. package/types/unrecognized.d.ts +7 -1
  119. package/types/unrecognized.d.ts.map +1 -1
  120. package/types/unrecognized.js +9 -1
  121. package/types/unrecognized.js.map +1 -1
@@ -27,7 +27,7 @@ import {
27
27
  } from "./jmespathexpression.js";
28
28
 
29
29
  export type CallActionIf1 =
30
- | (CelExpression & { type: "cel" })
30
+ | CelExpression
31
31
  | (JMESPathExpression & { type: "jmespath" })
32
32
  | (JMESPathExpression & { type: "jp" });
33
33
 
@@ -36,7 +36,7 @@ export type CallActionIf1 =
36
36
  */
37
37
  export type CallActionIf =
38
38
  | CaseExpression
39
- | (CelExpression & { type: "cel" })
39
+ | CelExpression
40
40
  | (JMESPathExpression & { type: "jmespath" })
41
41
  | (JMESPathExpression & { type: "jp" })
42
42
  | string;
@@ -52,13 +52,13 @@ export type CallAction = {
52
52
  */
53
53
  if?:
54
54
  | CaseExpression
55
- | (CelExpression & { type: "cel" })
55
+ | CelExpression
56
56
  | (JMESPathExpression & { type: "jmespath" })
57
57
  | (JMESPathExpression & { type: "jp" })
58
58
  | string
59
59
  | null
60
60
  | undefined;
61
- action?: "call" | undefined;
61
+ action: "call";
62
62
  /**
63
63
  * The name of the tool to call.
64
64
  */
@@ -79,7 +79,7 @@ export const CallActionIf1$inboundSchema: z.ZodType<
79
79
  z.ZodTypeDef,
80
80
  unknown
81
81
  > = z.union([
82
- CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
82
+ CelExpression$inboundSchema,
83
83
  JMESPathExpression$inboundSchema.and(
84
84
  z.object({ type: z.literal("jmespath") }),
85
85
  ),
@@ -87,7 +87,7 @@ export const CallActionIf1$inboundSchema: z.ZodType<
87
87
  ]);
88
88
  /** @internal */
89
89
  export type CallActionIf1$Outbound =
90
- | (CelExpression$Outbound & { type: "cel" })
90
+ | CelExpression$Outbound
91
91
  | (JMESPathExpression$Outbound & { type: "jmespath" })
92
92
  | (JMESPathExpression$Outbound & { type: "jp" });
93
93
 
@@ -97,7 +97,7 @@ export const CallActionIf1$outboundSchema: z.ZodType<
97
97
  z.ZodTypeDef,
98
98
  CallActionIf1
99
99
  > = z.union([
100
- CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
100
+ CelExpression$outboundSchema,
101
101
  JMESPathExpression$outboundSchema.and(
102
102
  z.object({ type: z.literal("jmespath") }),
103
103
  ),
@@ -125,7 +125,7 @@ export const CallActionIf$inboundSchema: z.ZodType<
125
125
  > = z.union([
126
126
  CaseExpression$inboundSchema,
127
127
  z.union([
128
- CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
128
+ CelExpression$inboundSchema,
129
129
  JMESPathExpression$inboundSchema.and(
130
130
  z.object({ type: z.literal("jmespath") }),
131
131
  ),
@@ -136,7 +136,7 @@ export const CallActionIf$inboundSchema: z.ZodType<
136
136
  /** @internal */
137
137
  export type CallActionIf$Outbound =
138
138
  | CaseExpression$Outbound
139
- | (CelExpression$Outbound & { type: "cel" })
139
+ | CelExpression$Outbound
140
140
  | (JMESPathExpression$Outbound & { type: "jmespath" })
141
141
  | (JMESPathExpression$Outbound & { type: "jp" })
142
142
  | string;
@@ -149,7 +149,7 @@ export const CallActionIf$outboundSchema: z.ZodType<
149
149
  > = z.union([
150
150
  CaseExpression$outboundSchema,
151
151
  z.union([
152
- CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
152
+ CelExpression$outboundSchema,
153
153
  JMESPathExpression$outboundSchema.and(
154
154
  z.object({ type: z.literal("jmespath") }),
155
155
  ),
@@ -210,7 +210,7 @@ export const CallAction$inboundSchema: z.ZodType<
210
210
  z.union([
211
211
  CaseExpression$inboundSchema,
212
212
  z.union([
213
- CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
213
+ CelExpression$inboundSchema,
214
214
  JMESPathExpression$inboundSchema.and(
215
215
  z.object({ type: z.literal("jmespath") }),
216
216
  ),
@@ -221,7 +221,7 @@ export const CallAction$inboundSchema: z.ZodType<
221
221
  z.string(),
222
222
  ]),
223
223
  ).optional(),
224
- action: z.literal("call").default("call"),
224
+ action: z.literal("call"),
225
225
  name: z.string(),
226
226
  arguments: z.nullable(z.record(z.any())).optional(),
227
227
  auto_populate: z.union([z.boolean(), z.string()]).optional(),
@@ -234,7 +234,7 @@ export const CallAction$inboundSchema: z.ZodType<
234
234
  export type CallAction$Outbound = {
235
235
  if?:
236
236
  | CaseExpression$Outbound
237
- | (CelExpression$Outbound & { type: "cel" })
237
+ | CelExpression$Outbound
238
238
  | (JMESPathExpression$Outbound & { type: "jmespath" })
239
239
  | (JMESPathExpression$Outbound & { type: "jp" })
240
240
  | string
@@ -256,7 +256,7 @@ export const CallAction$outboundSchema: z.ZodType<
256
256
  z.union([
257
257
  CaseExpression$outboundSchema,
258
258
  z.union([
259
- CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
259
+ CelExpression$outboundSchema,
260
260
  JMESPathExpression$outboundSchema.and(
261
261
  z.object({ type: z.literal("jmespath") }),
262
262
  ),
@@ -267,7 +267,7 @@ export const CallAction$outboundSchema: z.ZodType<
267
267
  z.string(),
268
268
  ]),
269
269
  ).optional(),
270
- action: z.literal("call").default("call" as const),
270
+ action: z.literal("call"),
271
271
  name: z.string(),
272
272
  arguments: z.nullable(z.record(z.any())).optional(),
273
273
  autoPopulate: z.union([z.boolean(), z.string()]).optional(),
@@ -18,7 +18,7 @@ export type CelExpression = {
18
18
  /**
19
19
  * Google Common Expression Language.
20
20
  */
21
- type?: "cel" | undefined;
21
+ type: "cel";
22
22
  };
23
23
 
24
24
  /** @internal */
@@ -28,7 +28,7 @@ export const CelExpression$inboundSchema: z.ZodType<
28
28
  unknown
29
29
  > = z.object({
30
30
  expression: z.string(),
31
- type: z.literal("cel").default("cel"),
31
+ type: z.literal("cel"),
32
32
  });
33
33
  /** @internal */
34
34
  export type CelExpression$Outbound = {
@@ -43,7 +43,7 @@ export const CelExpression$outboundSchema: z.ZodType<
43
43
  CelExpression
44
44
  > = z.object({
45
45
  expression: z.string(),
46
- type: z.literal("cel").default("cel" as const),
46
+ type: z.literal("cel"),
47
47
  });
48
48
 
49
49
  export function celExpressionToJSON(celExpression: CelExpression): string {
@@ -26,7 +26,7 @@ import {
26
26
  } from "./jmespathexpression.js";
27
27
 
28
28
  export type ConditionalTextIf1 =
29
- | (CelExpression & { type: "cel" })
29
+ | CelExpression
30
30
  | (JMESPathExpression & { type: "jmespath" })
31
31
  | (JMESPathExpression & { type: "jp" });
32
32
 
@@ -35,7 +35,7 @@ export type ConditionalTextIf1 =
35
35
  */
36
36
  export type ConditionalTextIf =
37
37
  | CaseExpression
38
- | (CelExpression & { type: "cel" })
38
+ | CelExpression
39
39
  | (JMESPathExpression & { type: "jmespath" })
40
40
  | (JMESPathExpression & { type: "jp" })
41
41
  | string;
@@ -46,7 +46,7 @@ export type ConditionalText = {
46
46
  */
47
47
  if?:
48
48
  | CaseExpression
49
- | (CelExpression & { type: "cel" })
49
+ | CelExpression
50
50
  | (JMESPathExpression & { type: "jmespath" })
51
51
  | (JMESPathExpression & { type: "jp" })
52
52
  | string
@@ -64,7 +64,7 @@ export const ConditionalTextIf1$inboundSchema: z.ZodType<
64
64
  z.ZodTypeDef,
65
65
  unknown
66
66
  > = z.union([
67
- CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
67
+ CelExpression$inboundSchema,
68
68
  JMESPathExpression$inboundSchema.and(
69
69
  z.object({ type: z.literal("jmespath") }),
70
70
  ),
@@ -72,7 +72,7 @@ export const ConditionalTextIf1$inboundSchema: z.ZodType<
72
72
  ]);
73
73
  /** @internal */
74
74
  export type ConditionalTextIf1$Outbound =
75
- | (CelExpression$Outbound & { type: "cel" })
75
+ | CelExpression$Outbound
76
76
  | (JMESPathExpression$Outbound & { type: "jmespath" })
77
77
  | (JMESPathExpression$Outbound & { type: "jp" });
78
78
 
@@ -82,7 +82,7 @@ export const ConditionalTextIf1$outboundSchema: z.ZodType<
82
82
  z.ZodTypeDef,
83
83
  ConditionalTextIf1
84
84
  > = z.union([
85
- CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
85
+ CelExpression$outboundSchema,
86
86
  JMESPathExpression$outboundSchema.and(
87
87
  z.object({ type: z.literal("jmespath") }),
88
88
  ),
@@ -114,7 +114,7 @@ export const ConditionalTextIf$inboundSchema: z.ZodType<
114
114
  > = z.union([
115
115
  CaseExpression$inboundSchema,
116
116
  z.union([
117
- CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
117
+ CelExpression$inboundSchema,
118
118
  JMESPathExpression$inboundSchema.and(
119
119
  z.object({ type: z.literal("jmespath") }),
120
120
  ),
@@ -125,7 +125,7 @@ export const ConditionalTextIf$inboundSchema: z.ZodType<
125
125
  /** @internal */
126
126
  export type ConditionalTextIf$Outbound =
127
127
  | CaseExpression$Outbound
128
- | (CelExpression$Outbound & { type: "cel" })
128
+ | CelExpression$Outbound
129
129
  | (JMESPathExpression$Outbound & { type: "jmespath" })
130
130
  | (JMESPathExpression$Outbound & { type: "jp" })
131
131
  | string;
@@ -138,7 +138,7 @@ export const ConditionalTextIf$outboundSchema: z.ZodType<
138
138
  > = z.union([
139
139
  CaseExpression$outboundSchema,
140
140
  z.union([
141
- CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
141
+ CelExpression$outboundSchema,
142
142
  JMESPathExpression$outboundSchema.and(
143
143
  z.object({ type: z.literal("jmespath") }),
144
144
  ),
@@ -174,7 +174,7 @@ export const ConditionalText$inboundSchema: z.ZodType<
174
174
  z.union([
175
175
  CaseExpression$inboundSchema,
176
176
  z.union([
177
- CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
177
+ CelExpression$inboundSchema,
178
178
  JMESPathExpression$inboundSchema.and(
179
179
  z.object({ type: z.literal("jmespath") }),
180
180
  ),
@@ -191,7 +191,7 @@ export const ConditionalText$inboundSchema: z.ZodType<
191
191
  export type ConditionalText$Outbound = {
192
192
  if?:
193
193
  | CaseExpression$Outbound
194
- | (CelExpression$Outbound & { type: "cel" })
194
+ | CelExpression$Outbound
195
195
  | (JMESPathExpression$Outbound & { type: "jmespath" })
196
196
  | (JMESPathExpression$Outbound & { type: "jp" })
197
197
  | string
@@ -210,7 +210,7 @@ export const ConditionalText$outboundSchema: z.ZodType<
210
210
  z.union([
211
211
  CaseExpression$outboundSchema,
212
212
  z.union([
213
- CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
213
+ CelExpression$outboundSchema,
214
214
  JMESPathExpression$outboundSchema.and(
215
215
  z.object({ type: z.literal("jmespath") }),
216
216
  ),
@@ -27,12 +27,12 @@ import {
27
27
  } from "./jmespathexpression.js";
28
28
 
29
29
  export type ValueFrom1 =
30
- | (CelExpression & { type: "cel" })
30
+ | CelExpression
31
31
  | (JMESPathExpression & { type: "jmespath" })
32
32
  | (JMESPathExpression & { type: "jp" });
33
33
 
34
34
  export type If1 =
35
- | (CelExpression & { type: "cel" })
35
+ | CelExpression
36
36
  | (JMESPathExpression & { type: "jmespath" })
37
37
  | (JMESPathExpression & { type: "jp" });
38
38
 
@@ -41,7 +41,7 @@ export type If1 =
41
41
  */
42
42
  export type If =
43
43
  | CaseExpression
44
- | (CelExpression & { type: "cel" })
44
+ | CelExpression
45
45
  | (JMESPathExpression & { type: "jmespath" })
46
46
  | (JMESPathExpression & { type: "jp" })
47
47
  | string;
@@ -56,7 +56,7 @@ export type ConditionalValue = {
56
56
  */
57
57
  valueFrom?:
58
58
  | CaseExpression
59
- | (CelExpression & { type: "cel" })
59
+ | CelExpression
60
60
  | (JMESPathExpression & { type: "jmespath" })
61
61
  | (JMESPathExpression & { type: "jp" })
62
62
  | string
@@ -67,7 +67,7 @@ export type ConditionalValue = {
67
67
  */
68
68
  if?:
69
69
  | CaseExpression
70
- | (CelExpression & { type: "cel" })
70
+ | CelExpression
71
71
  | (JMESPathExpression & { type: "jmespath" })
72
72
  | (JMESPathExpression & { type: "jp" })
73
73
  | string
@@ -80,7 +80,7 @@ export type ConditionalValue = {
80
80
  */
81
81
  export type ValueFrom =
82
82
  | CaseExpression
83
- | (CelExpression & { type: "cel" })
83
+ | CelExpression
84
84
  | (JMESPathExpression & { type: "jmespath" })
85
85
  | (JMESPathExpression & { type: "jp" })
86
86
  | string;
@@ -91,7 +91,7 @@ export const ValueFrom1$inboundSchema: z.ZodType<
91
91
  z.ZodTypeDef,
92
92
  unknown
93
93
  > = z.union([
94
- CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
94
+ CelExpression$inboundSchema,
95
95
  JMESPathExpression$inboundSchema.and(
96
96
  z.object({ type: z.literal("jmespath") }),
97
97
  ),
@@ -99,7 +99,7 @@ export const ValueFrom1$inboundSchema: z.ZodType<
99
99
  ]);
100
100
  /** @internal */
101
101
  export type ValueFrom1$Outbound =
102
- | (CelExpression$Outbound & { type: "cel" })
102
+ | CelExpression$Outbound
103
103
  | (JMESPathExpression$Outbound & { type: "jmespath" })
104
104
  | (JMESPathExpression$Outbound & { type: "jp" });
105
105
 
@@ -109,7 +109,7 @@ export const ValueFrom1$outboundSchema: z.ZodType<
109
109
  z.ZodTypeDef,
110
110
  ValueFrom1
111
111
  > = z.union([
112
- CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
112
+ CelExpression$outboundSchema,
113
113
  JMESPathExpression$outboundSchema.and(
114
114
  z.object({ type: z.literal("jmespath") }),
115
115
  ),
@@ -132,7 +132,7 @@ export function valueFrom1FromJSON(
132
132
  /** @internal */
133
133
  export const If1$inboundSchema: z.ZodType<If1, z.ZodTypeDef, unknown> = z.union(
134
134
  [
135
- CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
135
+ CelExpression$inboundSchema,
136
136
  JMESPathExpression$inboundSchema.and(
137
137
  z.object({ type: z.literal("jmespath") }),
138
138
  ),
@@ -141,14 +141,14 @@ export const If1$inboundSchema: z.ZodType<If1, z.ZodTypeDef, unknown> = z.union(
141
141
  );
142
142
  /** @internal */
143
143
  export type If1$Outbound =
144
- | (CelExpression$Outbound & { type: "cel" })
144
+ | CelExpression$Outbound
145
145
  | (JMESPathExpression$Outbound & { type: "jmespath" })
146
146
  | (JMESPathExpression$Outbound & { type: "jp" });
147
147
 
148
148
  /** @internal */
149
149
  export const If1$outboundSchema: z.ZodType<If1$Outbound, z.ZodTypeDef, If1> = z
150
150
  .union([
151
- CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
151
+ CelExpression$outboundSchema,
152
152
  JMESPathExpression$outboundSchema.and(
153
153
  z.object({ type: z.literal("jmespath") }),
154
154
  ),
@@ -172,7 +172,7 @@ export function if1FromJSON(
172
172
  export const If$inboundSchema: z.ZodType<If, z.ZodTypeDef, unknown> = z.union([
173
173
  z.lazy(() => CaseExpression$inboundSchema),
174
174
  z.union([
175
- CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
175
+ CelExpression$inboundSchema,
176
176
  JMESPathExpression$inboundSchema.and(
177
177
  z.object({ type: z.literal("jmespath") }),
178
178
  ),
@@ -183,7 +183,7 @@ export const If$inboundSchema: z.ZodType<If, z.ZodTypeDef, unknown> = z.union([
183
183
  /** @internal */
184
184
  export type If$Outbound =
185
185
  | CaseExpression$Outbound
186
- | (CelExpression$Outbound & { type: "cel" })
186
+ | CelExpression$Outbound
187
187
  | (JMESPathExpression$Outbound & { type: "jmespath" })
188
188
  | (JMESPathExpression$Outbound & { type: "jp" })
189
189
  | string;
@@ -193,7 +193,7 @@ export const If$outboundSchema: z.ZodType<If$Outbound, z.ZodTypeDef, If> = z
193
193
  .union([
194
194
  z.lazy(() => CaseExpression$outboundSchema),
195
195
  z.union([
196
- CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
196
+ CelExpression$outboundSchema,
197
197
  JMESPathExpression$outboundSchema.and(
198
198
  z.object({ type: z.literal("jmespath") }),
199
199
  ),
@@ -228,7 +228,7 @@ export const ConditionalValue$inboundSchema: z.ZodType<
228
228
  z.union([
229
229
  z.lazy(() => CaseExpression$inboundSchema),
230
230
  z.union([
231
- CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
231
+ CelExpression$inboundSchema,
232
232
  JMESPathExpression$inboundSchema.and(
233
233
  z.object({ type: z.literal("jmespath") }),
234
234
  ),
@@ -243,7 +243,7 @@ export const ConditionalValue$inboundSchema: z.ZodType<
243
243
  z.union([
244
244
  z.lazy(() => CaseExpression$inboundSchema),
245
245
  z.union([
246
- CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
246
+ CelExpression$inboundSchema,
247
247
  JMESPathExpression$inboundSchema.and(
248
248
  z.object({ type: z.literal("jmespath") }),
249
249
  ),
@@ -264,7 +264,7 @@ export type ConditionalValue$Outbound = {
264
264
  value?: any | null | undefined;
265
265
  value_from?:
266
266
  | CaseExpression$Outbound
267
- | (CelExpression$Outbound & { type: "cel" })
267
+ | CelExpression$Outbound
268
268
  | (JMESPathExpression$Outbound & { type: "jmespath" })
269
269
  | (JMESPathExpression$Outbound & { type: "jp" })
270
270
  | string
@@ -272,7 +272,7 @@ export type ConditionalValue$Outbound = {
272
272
  | undefined;
273
273
  if?:
274
274
  | CaseExpression$Outbound
275
- | (CelExpression$Outbound & { type: "cel" })
275
+ | CelExpression$Outbound
276
276
  | (JMESPathExpression$Outbound & { type: "jmespath" })
277
277
  | (JMESPathExpression$Outbound & { type: "jp" })
278
278
  | string
@@ -291,7 +291,7 @@ export const ConditionalValue$outboundSchema: z.ZodType<
291
291
  z.union([
292
292
  z.lazy(() => CaseExpression$outboundSchema),
293
293
  z.union([
294
- CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
294
+ CelExpression$outboundSchema,
295
295
  JMESPathExpression$outboundSchema.and(
296
296
  z.object({ type: z.literal("jmespath") }),
297
297
  ),
@@ -306,7 +306,7 @@ export const ConditionalValue$outboundSchema: z.ZodType<
306
306
  z.union([
307
307
  z.lazy(() => CaseExpression$outboundSchema),
308
308
  z.union([
309
- CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
309
+ CelExpression$outboundSchema,
310
310
  JMESPathExpression$outboundSchema.and(
311
311
  z.object({ type: z.literal("jmespath") }),
312
312
  ),
@@ -348,7 +348,7 @@ export const ValueFrom$inboundSchema: z.ZodType<
348
348
  > = z.union([
349
349
  z.lazy(() => CaseExpression$inboundSchema),
350
350
  z.union([
351
- CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
351
+ CelExpression$inboundSchema,
352
352
  JMESPathExpression$inboundSchema.and(
353
353
  z.object({ type: z.literal("jmespath") }),
354
354
  ),
@@ -359,7 +359,7 @@ export const ValueFrom$inboundSchema: z.ZodType<
359
359
  /** @internal */
360
360
  export type ValueFrom$Outbound =
361
361
  | CaseExpression$Outbound
362
- | (CelExpression$Outbound & { type: "cel" })
362
+ | CelExpression$Outbound
363
363
  | (JMESPathExpression$Outbound & { type: "jmespath" })
364
364
  | (JMESPathExpression$Outbound & { type: "jp" })
365
365
  | string;
@@ -372,7 +372,7 @@ export const ValueFrom$outboundSchema: z.ZodType<
372
372
  > = z.union([
373
373
  z.lazy(() => CaseExpression$outboundSchema),
374
374
  z.union([
375
- CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
375
+ CelExpression$outboundSchema,
376
376
  JMESPathExpression$outboundSchema.and(
377
377
  z.object({ type: z.literal("jmespath") }),
378
378
  ),