chatbot-lex-design-builder 2.0.40 → 2.0.44

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 (129) hide show
  1. package/dist/cjs/workflows/lib/nodes/agent-node.d.ts +1 -1
  2. package/dist/cjs/workflows/lib/nodes/agent-node.js +4 -2
  3. package/dist/cjs/workflows/lib/nodes/agent-node.js.map +1 -1
  4. package/dist/cjs/workflows/lib/nodes/collector-node.d.ts +1 -1
  5. package/dist/cjs/workflows/lib/nodes/collector-node.js +4 -2
  6. package/dist/cjs/workflows/lib/nodes/collector-node.js.map +1 -1
  7. package/dist/cjs/workflows/lib/nodes/condition-node.d.ts +1 -1
  8. package/dist/cjs/workflows/lib/nodes/condition-node.js +4 -2
  9. package/dist/cjs/workflows/lib/nodes/condition-node.js.map +1 -1
  10. package/dist/cjs/workflows/lib/nodes/do-while-loop-node.d.ts +105 -3356
  11. package/dist/cjs/workflows/lib/nodes/do-while-loop-node.js +36 -33
  12. package/dist/cjs/workflows/lib/nodes/do-while-loop-node.js.map +1 -1
  13. package/dist/cjs/workflows/lib/nodes/export-to-flows.d.ts +2 -2
  14. package/dist/cjs/workflows/lib/nodes/export-to-flows.js +204 -80
  15. package/dist/cjs/workflows/lib/nodes/export-to-flows.js.map +1 -1
  16. package/dist/cjs/workflows/lib/nodes/flow-Input-node.d.ts +1 -1
  17. package/dist/cjs/workflows/lib/nodes/flow-Input-node.js +4 -2
  18. package/dist/cjs/workflows/lib/nodes/flow-Input-node.js.map +1 -1
  19. package/dist/cjs/workflows/lib/nodes/flow-output-node.d.ts +1 -1
  20. package/dist/cjs/workflows/lib/nodes/flow-output-node.js +4 -2
  21. package/dist/cjs/workflows/lib/nodes/flow-output-node.js.map +1 -1
  22. package/dist/cjs/workflows/lib/nodes/flow.d.ts +118 -1694
  23. package/dist/cjs/workflows/lib/nodes/graph.d.ts +118 -1694
  24. package/dist/cjs/workflows/lib/nodes/graph.js +4 -2
  25. package/dist/cjs/workflows/lib/nodes/graph.js.map +1 -1
  26. package/dist/cjs/workflows/lib/nodes/index.d.ts +2 -0
  27. package/dist/cjs/workflows/lib/nodes/index.js +2 -0
  28. package/dist/cjs/workflows/lib/nodes/index.js.map +1 -1
  29. package/dist/cjs/workflows/lib/nodes/inline-node.d.ts +1 -1
  30. package/dist/cjs/workflows/lib/nodes/inline-node.js +4 -2
  31. package/dist/cjs/workflows/lib/nodes/inline-node.js.map +1 -1
  32. package/dist/cjs/workflows/lib/nodes/iterator-node.d.ts +1 -1
  33. package/dist/cjs/workflows/lib/nodes/iterator-node.js +1 -1
  34. package/dist/cjs/workflows/lib/nodes/iterator-node.js.map +1 -1
  35. package/dist/cjs/workflows/lib/nodes/knowledge-base-node.d.ts +1 -1
  36. package/dist/cjs/workflows/lib/nodes/knowledge-base-node.js +4 -2
  37. package/dist/cjs/workflows/lib/nodes/knowledge-base-node.js.map +1 -1
  38. package/dist/cjs/workflows/lib/nodes/lamda-function-node.d.ts +1 -1
  39. package/dist/cjs/workflows/lib/nodes/lamda-function-node.js +4 -2
  40. package/dist/cjs/workflows/lib/nodes/lamda-function-node.js.map +1 -1
  41. package/dist/cjs/workflows/lib/nodes/lex-node.d.ts +1 -1
  42. package/dist/cjs/workflows/lib/nodes/lex-node.js +4 -2
  43. package/dist/cjs/workflows/lib/nodes/lex-node.js.map +1 -1
  44. package/dist/cjs/workflows/lib/nodes/loop-controller-node.d.ts +142 -0
  45. package/dist/cjs/workflows/lib/nodes/loop-controller-node.js +29 -0
  46. package/dist/cjs/workflows/lib/nodes/loop-controller-node.js.map +1 -0
  47. package/dist/cjs/workflows/lib/nodes/loop-input-node.d.ts +70 -0
  48. package/dist/cjs/workflows/lib/nodes/loop-input-node.js +16 -0
  49. package/dist/cjs/workflows/lib/nodes/loop-input-node.js.map +1 -0
  50. package/dist/cjs/workflows/lib/nodes/node-type.d.ts +3 -1
  51. package/dist/cjs/workflows/lib/nodes/node-type.js +2 -0
  52. package/dist/cjs/workflows/lib/nodes/node-type.js.map +1 -1
  53. package/dist/cjs/workflows/lib/nodes/node.d.ts +117 -1693
  54. package/dist/cjs/workflows/lib/nodes/node.js +5 -1
  55. package/dist/cjs/workflows/lib/nodes/node.js.map +1 -1
  56. package/dist/cjs/workflows/lib/nodes/prompts-node.d.ts +1 -1
  57. package/dist/cjs/workflows/lib/nodes/prompts-node.js +1 -1
  58. package/dist/cjs/workflows/lib/nodes/prompts-node.js.map +1 -1
  59. package/dist/cjs/workflows/lib/nodes/s3-retrieval-node.d.ts +1 -1
  60. package/dist/cjs/workflows/lib/nodes/s3-retrieval-node.js +4 -2
  61. package/dist/cjs/workflows/lib/nodes/s3-retrieval-node.js.map +1 -1
  62. package/dist/cjs/workflows/lib/nodes/s3-storage-node.d.ts +1 -1
  63. package/dist/cjs/workflows/lib/nodes/s3-storage-node.js +4 -2
  64. package/dist/cjs/workflows/lib/nodes/s3-storage-node.js.map +1 -1
  65. package/dist/esm/workflows/lib/nodes/agent-node.d.ts +1 -1
  66. package/dist/esm/workflows/lib/nodes/agent-node.js +4 -2
  67. package/dist/esm/workflows/lib/nodes/agent-node.js.map +1 -1
  68. package/dist/esm/workflows/lib/nodes/collector-node.d.ts +1 -1
  69. package/dist/esm/workflows/lib/nodes/collector-node.js +4 -2
  70. package/dist/esm/workflows/lib/nodes/collector-node.js.map +1 -1
  71. package/dist/esm/workflows/lib/nodes/condition-node.d.ts +1 -1
  72. package/dist/esm/workflows/lib/nodes/condition-node.js +4 -2
  73. package/dist/esm/workflows/lib/nodes/condition-node.js.map +1 -1
  74. package/dist/esm/workflows/lib/nodes/do-while-loop-node.d.ts +105 -3356
  75. package/dist/esm/workflows/lib/nodes/do-while-loop-node.js +35 -32
  76. package/dist/esm/workflows/lib/nodes/do-while-loop-node.js.map +1 -1
  77. package/dist/esm/workflows/lib/nodes/export-to-flows.d.ts +2 -2
  78. package/dist/esm/workflows/lib/nodes/export-to-flows.js +204 -80
  79. package/dist/esm/workflows/lib/nodes/export-to-flows.js.map +1 -1
  80. package/dist/esm/workflows/lib/nodes/flow-Input-node.d.ts +1 -1
  81. package/dist/esm/workflows/lib/nodes/flow-Input-node.js +4 -2
  82. package/dist/esm/workflows/lib/nodes/flow-Input-node.js.map +1 -1
  83. package/dist/esm/workflows/lib/nodes/flow-output-node.d.ts +1 -1
  84. package/dist/esm/workflows/lib/nodes/flow-output-node.js +4 -2
  85. package/dist/esm/workflows/lib/nodes/flow-output-node.js.map +1 -1
  86. package/dist/esm/workflows/lib/nodes/flow.d.ts +118 -1694
  87. package/dist/esm/workflows/lib/nodes/graph.d.ts +118 -1694
  88. package/dist/esm/workflows/lib/nodes/graph.js +4 -2
  89. package/dist/esm/workflows/lib/nodes/graph.js.map +1 -1
  90. package/dist/esm/workflows/lib/nodes/index.d.ts +2 -0
  91. package/dist/esm/workflows/lib/nodes/index.js +2 -0
  92. package/dist/esm/workflows/lib/nodes/index.js.map +1 -1
  93. package/dist/esm/workflows/lib/nodes/inline-node.d.ts +1 -1
  94. package/dist/esm/workflows/lib/nodes/inline-node.js +4 -2
  95. package/dist/esm/workflows/lib/nodes/inline-node.js.map +1 -1
  96. package/dist/esm/workflows/lib/nodes/iterator-node.d.ts +1 -1
  97. package/dist/esm/workflows/lib/nodes/iterator-node.js +1 -1
  98. package/dist/esm/workflows/lib/nodes/iterator-node.js.map +1 -1
  99. package/dist/esm/workflows/lib/nodes/knowledge-base-node.d.ts +1 -1
  100. package/dist/esm/workflows/lib/nodes/knowledge-base-node.js +4 -2
  101. package/dist/esm/workflows/lib/nodes/knowledge-base-node.js.map +1 -1
  102. package/dist/esm/workflows/lib/nodes/lamda-function-node.d.ts +1 -1
  103. package/dist/esm/workflows/lib/nodes/lamda-function-node.js +4 -2
  104. package/dist/esm/workflows/lib/nodes/lamda-function-node.js.map +1 -1
  105. package/dist/esm/workflows/lib/nodes/lex-node.d.ts +1 -1
  106. package/dist/esm/workflows/lib/nodes/lex-node.js +4 -2
  107. package/dist/esm/workflows/lib/nodes/lex-node.js.map +1 -1
  108. package/dist/esm/workflows/lib/nodes/loop-controller-node.d.ts +142 -0
  109. package/dist/esm/workflows/lib/nodes/loop-controller-node.js +23 -0
  110. package/dist/esm/workflows/lib/nodes/loop-controller-node.js.map +1 -0
  111. package/dist/esm/workflows/lib/nodes/loop-input-node.d.ts +70 -0
  112. package/dist/esm/workflows/lib/nodes/loop-input-node.js +10 -0
  113. package/dist/esm/workflows/lib/nodes/loop-input-node.js.map +1 -0
  114. package/dist/esm/workflows/lib/nodes/node-type.d.ts +3 -1
  115. package/dist/esm/workflows/lib/nodes/node-type.js +2 -0
  116. package/dist/esm/workflows/lib/nodes/node-type.js.map +1 -1
  117. package/dist/esm/workflows/lib/nodes/node.d.ts +117 -1693
  118. package/dist/esm/workflows/lib/nodes/node.js +5 -1
  119. package/dist/esm/workflows/lib/nodes/node.js.map +1 -1
  120. package/dist/esm/workflows/lib/nodes/prompts-node.d.ts +1 -1
  121. package/dist/esm/workflows/lib/nodes/prompts-node.js +1 -1
  122. package/dist/esm/workflows/lib/nodes/prompts-node.js.map +1 -1
  123. package/dist/esm/workflows/lib/nodes/s3-retrieval-node.d.ts +1 -1
  124. package/dist/esm/workflows/lib/nodes/s3-retrieval-node.js +4 -2
  125. package/dist/esm/workflows/lib/nodes/s3-retrieval-node.js.map +1 -1
  126. package/dist/esm/workflows/lib/nodes/s3-storage-node.d.ts +1 -1
  127. package/dist/esm/workflows/lib/nodes/s3-storage-node.js +4 -2
  128. package/dist/esm/workflows/lib/nodes/s3-storage-node.js.map +1 -1
  129. package/package.json +1 -1
@@ -33,7 +33,7 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
33
33
  name: z.ZodString;
34
34
  agentAliasArn: z.ZodString;
35
35
  }, z.core.$strip>;
36
- }, z.core.$strip>, z.ZodObject<{
36
+ }, z.core.$loose>, z.ZodObject<{
37
37
  type: z.ZodLiteral<import("./node-type").NodeType.collectorNode>;
38
38
  data: z.ZodObject<{
39
39
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -66,7 +66,7 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
66
66
  }, z.core.$strip>>>>>;
67
67
  name: z.ZodString;
68
68
  }, z.core.$strip>;
69
- }, z.core.$strip>, z.ZodObject<{
69
+ }, z.core.$loose>, z.ZodObject<{
70
70
  type: z.ZodLiteral<import("./node-type").NodeType.conditionNode>;
71
71
  data: z.ZodObject<{
72
72
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -103,7 +103,7 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
103
103
  expression: z.ZodString;
104
104
  }, z.core.$strip>>;
105
105
  }, z.core.$strip>;
106
- }, z.core.$strip>, z.ZodObject<{
106
+ }, z.core.$loose>, z.ZodObject<{
107
107
  type: z.ZodLiteral<import("./node-type").NodeType.doWhileLoopNode>;
108
108
  data: z.ZodObject<{
109
109
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -135,1688 +135,8 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
135
135
  enabled: z.ZodCatch<z.ZodBoolean>;
136
136
  }, z.core.$strip>>>>>;
137
137
  name: z.ZodString;
138
- definition: z.ZodObject<{
139
- Type: z.ZodObject<{
140
- inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
141
- expression: z.ZodString;
142
- name: z.ZodString;
143
- type: z.ZodEnum<{
144
- string: "string";
145
- number: "number";
146
- boolean: "boolean";
147
- object: "object";
148
- array: "array";
149
- }>;
150
- category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
151
- LoopCondition: "LoopCondition";
152
- ReturnValueToLoopStart: "ReturnValueToLoopStart";
153
- ExitLoop: "ExitLoop";
154
- }>>>>;
155
- enabled: z.ZodCatch<z.ZodBoolean>;
156
- }, z.core.$strip>>>>>;
157
- outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
158
- name: z.ZodString;
159
- type: z.ZodEnum<{
160
- string: "string";
161
- number: "number";
162
- boolean: "boolean";
163
- object: "object";
164
- array: "array";
165
- }>;
166
- enabled: z.ZodCatch<z.ZodBoolean>;
167
- }, z.core.$strip>>>>>;
168
- name: z.ZodString;
169
- source: z.ZodString;
170
- target: z.ZodString;
171
- type: z.ZodEnum<{
172
- Data: "Data";
173
- Conditional: "Conditional";
174
- }>;
175
- configuration: z.ZodObject<{
176
- type: z.ZodObject<{
177
- condition: z.ZodString;
178
- data: z.ZodObject<{
179
- sourceOutput: z.ZodString;
180
- targetInput: z.ZodString;
181
- }, z.core.$strip>;
182
- }, z.core.$strip>;
183
- }, z.core.$strip>;
184
- }, z.core.$strip>;
185
- nodes: z.ZodObject<{
186
- name: z.ZodString;
187
- type: typeof import("./node-type").NodeType;
188
- configuration: z.ZodUnion<readonly [z.ZodObject<{
189
- id: z.ZodString;
190
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.closingResponseNode>;
191
- data: z.ZodObject<{
192
- active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
193
- response: z.ZodCatch<z.ZodArray<z.ZodObject<{
194
- languageCode: z.ZodString;
195
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
196
- id: z.ZodString;
197
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
198
- title: z.ZodString;
199
- }, z.core.$strip>, z.ZodObject<{
200
- id: z.ZodString;
201
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
202
- title: z.ZodString;
203
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
204
- id: z.ZodString;
205
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
206
- label: z.ZodString;
207
- payload: z.ZodString;
208
- valueToShow: z.ZodString;
209
- }, z.core.$strip>, z.ZodObject<{
210
- id: z.ZodString;
211
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
212
- label: z.ZodString;
213
- url: z.ZodString;
214
- }, z.core.$strip>, z.ZodObject<{
215
- id: z.ZodString;
216
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
217
- label: z.ZodString;
218
- payload: z.ZodString;
219
- valueToShow: z.ZodString;
220
- }, z.core.$strip>]>>;
221
- }, z.core.$strip>, z.ZodObject<{
222
- id: z.ZodString;
223
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
224
- title: z.ZodString;
225
- }, z.core.$strip>, z.ZodObject<{
226
- id: z.ZodString;
227
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
228
- cards: z.ZodArray<z.ZodObject<{
229
- id: z.ZodString;
230
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
231
- body: z.ZodObject<{
232
- title: z.ZodString;
233
- description: z.ZodString;
234
- }, z.core.$strip>;
235
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
236
- id: z.ZodString;
237
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
238
- label: z.ZodString;
239
- payload: z.ZodString;
240
- valueToShow: z.ZodString;
241
- }, z.core.$strip>, z.ZodObject<{
242
- id: z.ZodString;
243
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
244
- label: z.ZodString;
245
- url: z.ZodString;
246
- }, z.core.$strip>]>>;
247
- }, z.core.$strip>>;
248
- }, z.core.$strip>, z.ZodObject<{
249
- id: z.ZodString;
250
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
251
- title: z.ZodString;
252
- subtitle: z.ZodString;
253
- fields: z.ZodArray<z.ZodObject<{
254
- id: z.ZodString;
255
- name: z.ZodString;
256
- type: z.ZodPrefault<z.ZodEnum<{
257
- time: "time";
258
- file: "file";
259
- url: "url";
260
- textarea: "textarea";
261
- text: "text";
262
- email: "email";
263
- tel: "tel";
264
- date: "date";
265
- "datetime-local": "datetime-local";
266
- password: "password";
267
- }>>;
268
- label: z.ZodCatch<z.ZodString>;
269
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
270
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
271
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
272
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
273
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
274
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
275
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
276
- }, z.core.$strip>>;
277
- submitButton: z.ZodObject<{
278
- label: z.ZodCatch<z.ZodString>;
279
- }, z.core.$strip>;
280
- }, z.core.$strip>, z.ZodObject<{
281
- id: z.ZodString;
282
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
283
- }, z.core.$strip>]>>>;
284
- }, z.core.$strip>>>;
285
- sessionAttributes: z.ZodCatch<z.ZodString>;
286
- }, z.core.$strip>;
287
- }, z.core.$strip>, z.ZodObject<{
288
- id: z.ZodString;
289
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.codeHookNode>;
290
- data: z.ZodObject<{
291
- label: z.ZodString;
292
- invocationLabel: z.ZodString;
293
- active: z.ZodNullable<z.ZodBoolean>;
294
- success: z.ZodCatch<z.ZodArray<z.ZodObject<{
295
- languageCode: z.ZodString;
296
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
297
- id: z.ZodString;
298
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
299
- title: z.ZodString;
300
- }, z.core.$strip>, z.ZodObject<{
301
- id: z.ZodString;
302
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
303
- title: z.ZodString;
304
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
305
- id: z.ZodString;
306
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
307
- label: z.ZodString;
308
- payload: z.ZodString;
309
- valueToShow: z.ZodString;
310
- }, z.core.$strip>, z.ZodObject<{
311
- id: z.ZodString;
312
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
313
- label: z.ZodString;
314
- url: z.ZodString;
315
- }, z.core.$strip>, z.ZodObject<{
316
- id: z.ZodString;
317
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
318
- label: z.ZodString;
319
- payload: z.ZodString;
320
- valueToShow: z.ZodString;
321
- }, z.core.$strip>]>>;
322
- }, z.core.$strip>, z.ZodObject<{
323
- id: z.ZodString;
324
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
325
- title: z.ZodString;
326
- }, z.core.$strip>, z.ZodObject<{
327
- id: z.ZodString;
328
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
329
- cards: z.ZodArray<z.ZodObject<{
330
- id: z.ZodString;
331
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
332
- body: z.ZodObject<{
333
- title: z.ZodString;
334
- description: z.ZodString;
335
- }, z.core.$strip>;
336
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
337
- id: z.ZodString;
338
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
339
- label: z.ZodString;
340
- payload: z.ZodString;
341
- valueToShow: z.ZodString;
342
- }, z.core.$strip>, z.ZodObject<{
343
- id: z.ZodString;
344
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
345
- label: z.ZodString;
346
- url: z.ZodString;
347
- }, z.core.$strip>]>>;
348
- }, z.core.$strip>>;
349
- }, z.core.$strip>, z.ZodObject<{
350
- id: z.ZodString;
351
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
352
- title: z.ZodString;
353
- subtitle: z.ZodString;
354
- fields: z.ZodArray<z.ZodObject<{
355
- id: z.ZodString;
356
- name: z.ZodString;
357
- type: z.ZodPrefault<z.ZodEnum<{
358
- time: "time";
359
- file: "file";
360
- url: "url";
361
- textarea: "textarea";
362
- text: "text";
363
- email: "email";
364
- tel: "tel";
365
- date: "date";
366
- "datetime-local": "datetime-local";
367
- password: "password";
368
- }>>;
369
- label: z.ZodCatch<z.ZodString>;
370
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
371
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
372
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
373
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
374
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
375
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
376
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
377
- }, z.core.$strip>>;
378
- submitButton: z.ZodObject<{
379
- label: z.ZodCatch<z.ZodString>;
380
- }, z.core.$strip>;
381
- }, z.core.$strip>, z.ZodObject<{
382
- id: z.ZodString;
383
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
384
- }, z.core.$strip>]>>>;
385
- }, z.core.$strip>>>;
386
- failure: z.ZodCatch<z.ZodArray<z.ZodObject<{
387
- languageCode: z.ZodString;
388
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
389
- id: z.ZodString;
390
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
391
- title: z.ZodString;
392
- }, z.core.$strip>, z.ZodObject<{
393
- id: z.ZodString;
394
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
395
- title: z.ZodString;
396
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
397
- id: z.ZodString;
398
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
399
- label: z.ZodString;
400
- payload: z.ZodString;
401
- valueToShow: z.ZodString;
402
- }, z.core.$strip>, z.ZodObject<{
403
- id: z.ZodString;
404
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
405
- label: z.ZodString;
406
- url: z.ZodString;
407
- }, z.core.$strip>, z.ZodObject<{
408
- id: z.ZodString;
409
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
410
- label: z.ZodString;
411
- payload: z.ZodString;
412
- valueToShow: z.ZodString;
413
- }, z.core.$strip>]>>;
414
- }, z.core.$strip>, z.ZodObject<{
415
- id: z.ZodString;
416
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
417
- title: z.ZodString;
418
- }, z.core.$strip>, z.ZodObject<{
419
- id: z.ZodString;
420
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
421
- cards: z.ZodArray<z.ZodObject<{
422
- id: z.ZodString;
423
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
424
- body: z.ZodObject<{
425
- title: z.ZodString;
426
- description: z.ZodString;
427
- }, z.core.$strip>;
428
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
429
- id: z.ZodString;
430
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
431
- label: z.ZodString;
432
- payload: z.ZodString;
433
- valueToShow: z.ZodString;
434
- }, z.core.$strip>, z.ZodObject<{
435
- id: z.ZodString;
436
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
437
- label: z.ZodString;
438
- url: z.ZodString;
439
- }, z.core.$strip>]>>;
440
- }, z.core.$strip>>;
441
- }, z.core.$strip>, z.ZodObject<{
442
- id: z.ZodString;
443
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
444
- title: z.ZodString;
445
- subtitle: z.ZodString;
446
- fields: z.ZodArray<z.ZodObject<{
447
- id: z.ZodString;
448
- name: z.ZodString;
449
- type: z.ZodPrefault<z.ZodEnum<{
450
- time: "time";
451
- file: "file";
452
- url: "url";
453
- textarea: "textarea";
454
- text: "text";
455
- email: "email";
456
- tel: "tel";
457
- date: "date";
458
- "datetime-local": "datetime-local";
459
- password: "password";
460
- }>>;
461
- label: z.ZodCatch<z.ZodString>;
462
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
463
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
464
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
465
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
466
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
467
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
468
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
469
- }, z.core.$strip>>;
470
- submitButton: z.ZodObject<{
471
- label: z.ZodCatch<z.ZodString>;
472
- }, z.core.$strip>;
473
- }, z.core.$strip>, z.ZodObject<{
474
- id: z.ZodString;
475
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
476
- }, z.core.$strip>]>>>;
477
- }, z.core.$strip>>>;
478
- timeout: z.ZodCatch<z.ZodArray<z.ZodObject<{
479
- languageCode: z.ZodString;
480
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
481
- id: z.ZodString;
482
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
483
- title: z.ZodString;
484
- }, z.core.$strip>, z.ZodObject<{
485
- id: z.ZodString;
486
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
487
- title: z.ZodString;
488
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
489
- id: z.ZodString;
490
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
491
- label: z.ZodString;
492
- payload: z.ZodString;
493
- valueToShow: z.ZodString;
494
- }, z.core.$strip>, z.ZodObject<{
495
- id: z.ZodString;
496
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
497
- label: z.ZodString;
498
- url: z.ZodString;
499
- }, z.core.$strip>, z.ZodObject<{
500
- id: z.ZodString;
501
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
502
- label: z.ZodString;
503
- payload: z.ZodString;
504
- valueToShow: z.ZodString;
505
- }, z.core.$strip>]>>;
506
- }, z.core.$strip>, z.ZodObject<{
507
- id: z.ZodString;
508
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
509
- title: z.ZodString;
510
- }, z.core.$strip>, z.ZodObject<{
511
- id: z.ZodString;
512
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
513
- cards: z.ZodArray<z.ZodObject<{
514
- id: z.ZodString;
515
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
516
- body: z.ZodObject<{
517
- title: z.ZodString;
518
- description: z.ZodString;
519
- }, z.core.$strip>;
520
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
521
- id: z.ZodString;
522
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
523
- label: z.ZodString;
524
- payload: z.ZodString;
525
- valueToShow: z.ZodString;
526
- }, z.core.$strip>, z.ZodObject<{
527
- id: z.ZodString;
528
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
529
- label: z.ZodString;
530
- url: z.ZodString;
531
- }, z.core.$strip>]>>;
532
- }, z.core.$strip>>;
533
- }, z.core.$strip>, z.ZodObject<{
534
- id: z.ZodString;
535
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
536
- title: z.ZodString;
537
- subtitle: z.ZodString;
538
- fields: z.ZodArray<z.ZodObject<{
539
- id: z.ZodString;
540
- name: z.ZodString;
541
- type: z.ZodPrefault<z.ZodEnum<{
542
- time: "time";
543
- file: "file";
544
- url: "url";
545
- textarea: "textarea";
546
- text: "text";
547
- email: "email";
548
- tel: "tel";
549
- date: "date";
550
- "datetime-local": "datetime-local";
551
- password: "password";
552
- }>>;
553
- label: z.ZodCatch<z.ZodString>;
554
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
555
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
556
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
557
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
558
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
559
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
560
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
561
- }, z.core.$strip>>;
562
- submitButton: z.ZodObject<{
563
- label: z.ZodCatch<z.ZodString>;
564
- }, z.core.$strip>;
565
- }, z.core.$strip>, z.ZodObject<{
566
- id: z.ZodString;
567
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
568
- }, z.core.$strip>]>>>;
569
- }, z.core.$strip>>>;
570
- webhookId: z.ZodString;
571
- merchantId: z.ZodCatch<z.ZodString>;
572
- sessionAttributes: z.ZodCatch<z.ZodString>;
573
- isInvocationLabelDisabled: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
574
- }, z.core.$strip>;
575
- }, z.core.$strip>, z.ZodObject<{
576
- id: z.ZodString;
577
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.conditionNode>;
578
- data: z.ZodObject<{
579
- response: z.ZodCatch<z.ZodArray<z.ZodObject<{
580
- languageCode: z.ZodString;
581
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
582
- id: z.ZodString;
583
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
584
- title: z.ZodString;
585
- }, z.core.$strip>, z.ZodObject<{
586
- id: z.ZodString;
587
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
588
- title: z.ZodString;
589
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
590
- id: z.ZodString;
591
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
592
- label: z.ZodString;
593
- payload: z.ZodString;
594
- valueToShow: z.ZodString;
595
- }, z.core.$strip>, z.ZodObject<{
596
- id: z.ZodString;
597
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
598
- label: z.ZodString;
599
- url: z.ZodString;
600
- }, z.core.$strip>, z.ZodObject<{
601
- id: z.ZodString;
602
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
603
- label: z.ZodString;
604
- payload: z.ZodString;
605
- valueToShow: z.ZodString;
606
- }, z.core.$strip>]>>;
607
- }, z.core.$strip>, z.ZodObject<{
608
- id: z.ZodString;
609
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
610
- title: z.ZodString;
611
- }, z.core.$strip>, z.ZodObject<{
612
- id: z.ZodString;
613
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
614
- cards: z.ZodArray<z.ZodObject<{
615
- id: z.ZodString;
616
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
617
- body: z.ZodObject<{
618
- title: z.ZodString;
619
- description: z.ZodString;
620
- }, z.core.$strip>;
621
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
622
- id: z.ZodString;
623
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
624
- label: z.ZodString;
625
- payload: z.ZodString;
626
- valueToShow: z.ZodString;
627
- }, z.core.$strip>, z.ZodObject<{
628
- id: z.ZodString;
629
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
630
- label: z.ZodString;
631
- url: z.ZodString;
632
- }, z.core.$strip>]>>;
633
- }, z.core.$strip>>;
634
- }, z.core.$strip>, z.ZodObject<{
635
- id: z.ZodString;
636
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
637
- title: z.ZodString;
638
- subtitle: z.ZodString;
639
- fields: z.ZodArray<z.ZodObject<{
640
- id: z.ZodString;
641
- name: z.ZodString;
642
- type: z.ZodPrefault<z.ZodEnum<{
643
- time: "time";
644
- file: "file";
645
- url: "url";
646
- textarea: "textarea";
647
- text: "text";
648
- email: "email";
649
- tel: "tel";
650
- date: "date";
651
- "datetime-local": "datetime-local";
652
- password: "password";
653
- }>>;
654
- label: z.ZodCatch<z.ZodString>;
655
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
656
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
657
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
658
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
659
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
660
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
661
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
662
- }, z.core.$strip>>;
663
- submitButton: z.ZodObject<{
664
- label: z.ZodCatch<z.ZodString>;
665
- }, z.core.$strip>;
666
- }, z.core.$strip>, z.ZodObject<{
667
- id: z.ZodString;
668
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
669
- }, z.core.$strip>]>>>;
670
- }, z.core.$strip>>>;
671
- branches: z.ZodArray<z.ZodObject<{
672
- id: z.ZodString;
673
- name: z.ZodString;
674
- expression: z.ZodString;
675
- response: z.ZodCatch<z.ZodArray<z.ZodObject<{
676
- languageCode: z.ZodString;
677
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
678
- id: z.ZodString;
679
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
680
- title: z.ZodString;
681
- }, z.core.$strip>, z.ZodObject<{
682
- id: z.ZodString;
683
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
684
- title: z.ZodString;
685
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
686
- id: z.ZodString;
687
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
688
- label: z.ZodString;
689
- payload: z.ZodString;
690
- valueToShow: z.ZodString;
691
- }, z.core.$strip>, z.ZodObject<{
692
- id: z.ZodString;
693
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
694
- label: z.ZodString;
695
- url: z.ZodString;
696
- }, z.core.$strip>, z.ZodObject<{
697
- id: z.ZodString;
698
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
699
- label: z.ZodString;
700
- payload: z.ZodString;
701
- valueToShow: z.ZodString;
702
- }, z.core.$strip>]>>;
703
- }, z.core.$strip>, z.ZodObject<{
704
- id: z.ZodString;
705
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
706
- title: z.ZodString;
707
- }, z.core.$strip>, z.ZodObject<{
708
- id: z.ZodString;
709
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
710
- cards: z.ZodArray<z.ZodObject<{
711
- id: z.ZodString;
712
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
713
- body: z.ZodObject<{
714
- title: z.ZodString;
715
- description: z.ZodString;
716
- }, z.core.$strip>;
717
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
718
- id: z.ZodString;
719
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
720
- label: z.ZodString;
721
- payload: z.ZodString;
722
- valueToShow: z.ZodString;
723
- }, z.core.$strip>, z.ZodObject<{
724
- id: z.ZodString;
725
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
726
- label: z.ZodString;
727
- url: z.ZodString;
728
- }, z.core.$strip>]>>;
729
- }, z.core.$strip>>;
730
- }, z.core.$strip>, z.ZodObject<{
731
- id: z.ZodString;
732
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
733
- title: z.ZodString;
734
- subtitle: z.ZodString;
735
- fields: z.ZodArray<z.ZodObject<{
736
- id: z.ZodString;
737
- name: z.ZodString;
738
- type: z.ZodPrefault<z.ZodEnum<{
739
- time: "time";
740
- file: "file";
741
- url: "url";
742
- textarea: "textarea";
743
- text: "text";
744
- email: "email";
745
- tel: "tel";
746
- date: "date";
747
- "datetime-local": "datetime-local";
748
- password: "password";
749
- }>>;
750
- label: z.ZodCatch<z.ZodString>;
751
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
752
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
753
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
754
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
755
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
756
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
757
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
758
- }, z.core.$strip>>;
759
- submitButton: z.ZodObject<{
760
- label: z.ZodCatch<z.ZodString>;
761
- }, z.core.$strip>;
762
- }, z.core.$strip>, z.ZodObject<{
763
- id: z.ZodString;
764
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
765
- }, z.core.$strip>]>>>;
766
- }, z.core.$strip>>>;
767
- }, z.core.$strip>>;
768
- sessionAttributes: z.ZodCatch<z.ZodString>;
769
- }, z.core.$strip>;
770
- }, z.core.$strip>, z.ZodObject<{
771
- id: z.ZodString;
772
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.confirmationNode>;
773
- data: z.ZodObject<{
774
- label: z.ZodString;
775
- prompt: z.ZodArray<z.ZodObject<{
776
- languageCode: z.ZodString;
777
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
778
- id: z.ZodString;
779
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
780
- title: z.ZodString;
781
- }, z.core.$strip>, z.ZodObject<{
782
- id: z.ZodString;
783
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
784
- title: z.ZodString;
785
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
786
- id: z.ZodString;
787
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
788
- label: z.ZodString;
789
- payload: z.ZodString;
790
- valueToShow: z.ZodString;
791
- }, z.core.$strip>, z.ZodObject<{
792
- id: z.ZodString;
793
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
794
- label: z.ZodString;
795
- url: z.ZodString;
796
- }, z.core.$strip>, z.ZodObject<{
797
- id: z.ZodString;
798
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
799
- label: z.ZodString;
800
- payload: z.ZodString;
801
- valueToShow: z.ZodString;
802
- }, z.core.$strip>]>>;
803
- }, z.core.$strip>, z.ZodObject<{
804
- id: z.ZodString;
805
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
806
- title: z.ZodString;
807
- }, z.core.$strip>, z.ZodObject<{
808
- id: z.ZodString;
809
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
810
- cards: z.ZodArray<z.ZodObject<{
811
- id: z.ZodString;
812
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
813
- body: z.ZodObject<{
814
- title: z.ZodString;
815
- description: z.ZodString;
816
- }, z.core.$strip>;
817
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
818
- id: z.ZodString;
819
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
820
- label: z.ZodString;
821
- payload: z.ZodString;
822
- valueToShow: z.ZodString;
823
- }, z.core.$strip>, z.ZodObject<{
824
- id: z.ZodString;
825
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
826
- label: z.ZodString;
827
- url: z.ZodString;
828
- }, z.core.$strip>]>>;
829
- }, z.core.$strip>>;
830
- }, z.core.$strip>, z.ZodObject<{
831
- id: z.ZodString;
832
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
833
- title: z.ZodString;
834
- subtitle: z.ZodString;
835
- fields: z.ZodArray<z.ZodObject<{
836
- id: z.ZodString;
837
- name: z.ZodString;
838
- type: z.ZodPrefault<z.ZodEnum<{
839
- time: "time";
840
- file: "file";
841
- url: "url";
842
- textarea: "textarea";
843
- text: "text";
844
- email: "email";
845
- tel: "tel";
846
- date: "date";
847
- "datetime-local": "datetime-local";
848
- password: "password";
849
- }>>;
850
- label: z.ZodCatch<z.ZodString>;
851
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
852
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
853
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
854
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
855
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
856
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
857
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
858
- }, z.core.$strip>>;
859
- submitButton: z.ZodObject<{
860
- label: z.ZodCatch<z.ZodString>;
861
- }, z.core.$strip>;
862
- }, z.core.$strip>, z.ZodObject<{
863
- id: z.ZodString;
864
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
865
- }, z.core.$strip>]>>>;
866
- }, z.core.$strip>>;
867
- success: z.ZodCatch<z.ZodArray<z.ZodObject<{
868
- languageCode: z.ZodString;
869
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
870
- id: z.ZodString;
871
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
872
- title: z.ZodString;
873
- }, z.core.$strip>, z.ZodObject<{
874
- id: z.ZodString;
875
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
876
- title: z.ZodString;
877
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
878
- id: z.ZodString;
879
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
880
- label: z.ZodString;
881
- payload: z.ZodString;
882
- valueToShow: z.ZodString;
883
- }, z.core.$strip>, z.ZodObject<{
884
- id: z.ZodString;
885
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
886
- label: z.ZodString;
887
- url: z.ZodString;
888
- }, z.core.$strip>, z.ZodObject<{
889
- id: z.ZodString;
890
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
891
- label: z.ZodString;
892
- payload: z.ZodString;
893
- valueToShow: z.ZodString;
894
- }, z.core.$strip>]>>;
895
- }, z.core.$strip>, z.ZodObject<{
896
- id: z.ZodString;
897
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
898
- title: z.ZodString;
899
- }, z.core.$strip>, z.ZodObject<{
900
- id: z.ZodString;
901
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
902
- cards: z.ZodArray<z.ZodObject<{
903
- id: z.ZodString;
904
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
905
- body: z.ZodObject<{
906
- title: z.ZodString;
907
- description: z.ZodString;
908
- }, z.core.$strip>;
909
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
910
- id: z.ZodString;
911
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
912
- label: z.ZodString;
913
- payload: z.ZodString;
914
- valueToShow: z.ZodString;
915
- }, z.core.$strip>, z.ZodObject<{
916
- id: z.ZodString;
917
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
918
- label: z.ZodString;
919
- url: z.ZodString;
920
- }, z.core.$strip>]>>;
921
- }, z.core.$strip>>;
922
- }, z.core.$strip>, z.ZodObject<{
923
- id: z.ZodString;
924
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
925
- title: z.ZodString;
926
- subtitle: z.ZodString;
927
- fields: z.ZodArray<z.ZodObject<{
928
- id: z.ZodString;
929
- name: z.ZodString;
930
- type: z.ZodPrefault<z.ZodEnum<{
931
- time: "time";
932
- file: "file";
933
- url: "url";
934
- textarea: "textarea";
935
- text: "text";
936
- email: "email";
937
- tel: "tel";
938
- date: "date";
939
- "datetime-local": "datetime-local";
940
- password: "password";
941
- }>>;
942
- label: z.ZodCatch<z.ZodString>;
943
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
944
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
945
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
946
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
947
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
948
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
949
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
950
- }, z.core.$strip>>;
951
- submitButton: z.ZodObject<{
952
- label: z.ZodCatch<z.ZodString>;
953
- }, z.core.$strip>;
954
- }, z.core.$strip>, z.ZodObject<{
955
- id: z.ZodString;
956
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
957
- }, z.core.$strip>]>>>;
958
- }, z.core.$strip>>>;
959
- failure: z.ZodCatch<z.ZodArray<z.ZodObject<{
960
- languageCode: z.ZodString;
961
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
962
- id: z.ZodString;
963
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
964
- title: z.ZodString;
965
- }, z.core.$strip>, z.ZodObject<{
966
- id: z.ZodString;
967
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
968
- title: z.ZodString;
969
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
970
- id: z.ZodString;
971
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
972
- label: z.ZodString;
973
- payload: z.ZodString;
974
- valueToShow: z.ZodString;
975
- }, z.core.$strip>, z.ZodObject<{
976
- id: z.ZodString;
977
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
978
- label: z.ZodString;
979
- url: z.ZodString;
980
- }, z.core.$strip>, z.ZodObject<{
981
- id: z.ZodString;
982
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
983
- label: z.ZodString;
984
- payload: z.ZodString;
985
- valueToShow: z.ZodString;
986
- }, z.core.$strip>]>>;
987
- }, z.core.$strip>, z.ZodObject<{
988
- id: z.ZodString;
989
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
990
- title: z.ZodString;
991
- }, z.core.$strip>, z.ZodObject<{
992
- id: z.ZodString;
993
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
994
- cards: z.ZodArray<z.ZodObject<{
995
- id: z.ZodString;
996
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
997
- body: z.ZodObject<{
998
- title: z.ZodString;
999
- description: z.ZodString;
1000
- }, z.core.$strip>;
1001
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1002
- id: z.ZodString;
1003
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1004
- label: z.ZodString;
1005
- payload: z.ZodString;
1006
- valueToShow: z.ZodString;
1007
- }, z.core.$strip>, z.ZodObject<{
1008
- id: z.ZodString;
1009
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1010
- label: z.ZodString;
1011
- url: z.ZodString;
1012
- }, z.core.$strip>]>>;
1013
- }, z.core.$strip>>;
1014
- }, z.core.$strip>, z.ZodObject<{
1015
- id: z.ZodString;
1016
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1017
- title: z.ZodString;
1018
- subtitle: z.ZodString;
1019
- fields: z.ZodArray<z.ZodObject<{
1020
- id: z.ZodString;
1021
- name: z.ZodString;
1022
- type: z.ZodPrefault<z.ZodEnum<{
1023
- time: "time";
1024
- file: "file";
1025
- url: "url";
1026
- textarea: "textarea";
1027
- text: "text";
1028
- email: "email";
1029
- tel: "tel";
1030
- date: "date";
1031
- "datetime-local": "datetime-local";
1032
- password: "password";
1033
- }>>;
1034
- label: z.ZodCatch<z.ZodString>;
1035
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1036
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1037
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1038
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1039
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1040
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1041
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1042
- }, z.core.$strip>>;
1043
- submitButton: z.ZodObject<{
1044
- label: z.ZodCatch<z.ZodString>;
1045
- }, z.core.$strip>;
1046
- }, z.core.$strip>, z.ZodObject<{
1047
- id: z.ZodString;
1048
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1049
- }, z.core.$strip>]>>>;
1050
- }, z.core.$strip>>>;
1051
- decline: z.ZodCatch<z.ZodArray<z.ZodObject<{
1052
- languageCode: z.ZodString;
1053
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1054
- id: z.ZodString;
1055
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1056
- title: z.ZodString;
1057
- }, z.core.$strip>, z.ZodObject<{
1058
- id: z.ZodString;
1059
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1060
- title: z.ZodString;
1061
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1062
- id: z.ZodString;
1063
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1064
- label: z.ZodString;
1065
- payload: z.ZodString;
1066
- valueToShow: z.ZodString;
1067
- }, z.core.$strip>, z.ZodObject<{
1068
- id: z.ZodString;
1069
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1070
- label: z.ZodString;
1071
- url: z.ZodString;
1072
- }, z.core.$strip>, z.ZodObject<{
1073
- id: z.ZodString;
1074
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1075
- label: z.ZodString;
1076
- payload: z.ZodString;
1077
- valueToShow: z.ZodString;
1078
- }, z.core.$strip>]>>;
1079
- }, z.core.$strip>, z.ZodObject<{
1080
- id: z.ZodString;
1081
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1082
- title: z.ZodString;
1083
- }, z.core.$strip>, z.ZodObject<{
1084
- id: z.ZodString;
1085
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1086
- cards: z.ZodArray<z.ZodObject<{
1087
- id: z.ZodString;
1088
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1089
- body: z.ZodObject<{
1090
- title: z.ZodString;
1091
- description: z.ZodString;
1092
- }, z.core.$strip>;
1093
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1094
- id: z.ZodString;
1095
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1096
- label: z.ZodString;
1097
- payload: z.ZodString;
1098
- valueToShow: z.ZodString;
1099
- }, z.core.$strip>, z.ZodObject<{
1100
- id: z.ZodString;
1101
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1102
- label: z.ZodString;
1103
- url: z.ZodString;
1104
- }, z.core.$strip>]>>;
1105
- }, z.core.$strip>>;
1106
- }, z.core.$strip>, z.ZodObject<{
1107
- id: z.ZodString;
1108
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1109
- title: z.ZodString;
1110
- subtitle: z.ZodString;
1111
- fields: z.ZodArray<z.ZodObject<{
1112
- id: z.ZodString;
1113
- name: z.ZodString;
1114
- type: z.ZodPrefault<z.ZodEnum<{
1115
- time: "time";
1116
- file: "file";
1117
- url: "url";
1118
- textarea: "textarea";
1119
- text: "text";
1120
- email: "email";
1121
- tel: "tel";
1122
- date: "date";
1123
- "datetime-local": "datetime-local";
1124
- password: "password";
1125
- }>>;
1126
- label: z.ZodCatch<z.ZodString>;
1127
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1128
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1129
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1130
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1131
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1132
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1133
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1134
- }, z.core.$strip>>;
1135
- submitButton: z.ZodObject<{
1136
- label: z.ZodCatch<z.ZodString>;
1137
- }, z.core.$strip>;
1138
- }, z.core.$strip>, z.ZodObject<{
1139
- id: z.ZodString;
1140
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1141
- }, z.core.$strip>]>>>;
1142
- }, z.core.$strip>>>;
1143
- sessionAttributes: z.ZodCatch<z.ZodString>;
1144
- }, z.core.$strip>;
1145
- }, z.core.$strip>, z.ZodObject<{
1146
- id: z.ZodString;
1147
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.endOfConversationNode>;
1148
- data: z.ZodObject<{
1149
- sessionAttributes: z.ZodCatch<z.ZodString>;
1150
- }, z.core.$strip>;
1151
- }, z.core.$strip>, z.ZodObject<{
1152
- id: z.ZodString;
1153
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.fullfillmentNode>;
1154
- data: z.ZodObject<{
1155
- label: z.ZodString;
1156
- invocationLabel: z.ZodString;
1157
- active: z.ZodNullable<z.ZodBoolean>;
1158
- success: z.ZodCatch<z.ZodArray<z.ZodObject<{
1159
- languageCode: z.ZodString;
1160
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1161
- id: z.ZodString;
1162
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1163
- title: z.ZodString;
1164
- }, z.core.$strip>, z.ZodObject<{
1165
- id: z.ZodString;
1166
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1167
- title: z.ZodString;
1168
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1169
- id: z.ZodString;
1170
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1171
- label: z.ZodString;
1172
- payload: z.ZodString;
1173
- valueToShow: z.ZodString;
1174
- }, z.core.$strip>, z.ZodObject<{
1175
- id: z.ZodString;
1176
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1177
- label: z.ZodString;
1178
- url: z.ZodString;
1179
- }, z.core.$strip>, z.ZodObject<{
1180
- id: z.ZodString;
1181
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1182
- label: z.ZodString;
1183
- payload: z.ZodString;
1184
- valueToShow: z.ZodString;
1185
- }, z.core.$strip>]>>;
1186
- }, z.core.$strip>, z.ZodObject<{
1187
- id: z.ZodString;
1188
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1189
- title: z.ZodString;
1190
- }, z.core.$strip>, z.ZodObject<{
1191
- id: z.ZodString;
1192
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1193
- cards: z.ZodArray<z.ZodObject<{
1194
- id: z.ZodString;
1195
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1196
- body: z.ZodObject<{
1197
- title: z.ZodString;
1198
- description: z.ZodString;
1199
- }, z.core.$strip>;
1200
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1201
- id: z.ZodString;
1202
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1203
- label: z.ZodString;
1204
- payload: z.ZodString;
1205
- valueToShow: z.ZodString;
1206
- }, z.core.$strip>, z.ZodObject<{
1207
- id: z.ZodString;
1208
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1209
- label: z.ZodString;
1210
- url: z.ZodString;
1211
- }, z.core.$strip>]>>;
1212
- }, z.core.$strip>>;
1213
- }, z.core.$strip>, z.ZodObject<{
1214
- id: z.ZodString;
1215
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1216
- title: z.ZodString;
1217
- subtitle: z.ZodString;
1218
- fields: z.ZodArray<z.ZodObject<{
1219
- id: z.ZodString;
1220
- name: z.ZodString;
1221
- type: z.ZodPrefault<z.ZodEnum<{
1222
- time: "time";
1223
- file: "file";
1224
- url: "url";
1225
- textarea: "textarea";
1226
- text: "text";
1227
- email: "email";
1228
- tel: "tel";
1229
- date: "date";
1230
- "datetime-local": "datetime-local";
1231
- password: "password";
1232
- }>>;
1233
- label: z.ZodCatch<z.ZodString>;
1234
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1235
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1236
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1237
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1238
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1239
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1240
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1241
- }, z.core.$strip>>;
1242
- submitButton: z.ZodObject<{
1243
- label: z.ZodCatch<z.ZodString>;
1244
- }, z.core.$strip>;
1245
- }, z.core.$strip>, z.ZodObject<{
1246
- id: z.ZodString;
1247
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1248
- }, z.core.$strip>]>>>;
1249
- }, z.core.$strip>>>;
1250
- failure: z.ZodCatch<z.ZodArray<z.ZodObject<{
1251
- languageCode: z.ZodString;
1252
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1253
- id: z.ZodString;
1254
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1255
- title: z.ZodString;
1256
- }, z.core.$strip>, z.ZodObject<{
1257
- id: z.ZodString;
1258
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1259
- title: z.ZodString;
1260
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1261
- id: z.ZodString;
1262
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1263
- label: z.ZodString;
1264
- payload: z.ZodString;
1265
- valueToShow: z.ZodString;
1266
- }, z.core.$strip>, z.ZodObject<{
1267
- id: z.ZodString;
1268
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1269
- label: z.ZodString;
1270
- url: z.ZodString;
1271
- }, z.core.$strip>, z.ZodObject<{
1272
- id: z.ZodString;
1273
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1274
- label: z.ZodString;
1275
- payload: z.ZodString;
1276
- valueToShow: z.ZodString;
1277
- }, z.core.$strip>]>>;
1278
- }, z.core.$strip>, z.ZodObject<{
1279
- id: z.ZodString;
1280
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1281
- title: z.ZodString;
1282
- }, z.core.$strip>, z.ZodObject<{
1283
- id: z.ZodString;
1284
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1285
- cards: z.ZodArray<z.ZodObject<{
1286
- id: z.ZodString;
1287
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1288
- body: z.ZodObject<{
1289
- title: z.ZodString;
1290
- description: z.ZodString;
1291
- }, z.core.$strip>;
1292
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1293
- id: z.ZodString;
1294
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1295
- label: z.ZodString;
1296
- payload: z.ZodString;
1297
- valueToShow: z.ZodString;
1298
- }, z.core.$strip>, z.ZodObject<{
1299
- id: z.ZodString;
1300
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1301
- label: z.ZodString;
1302
- url: z.ZodString;
1303
- }, z.core.$strip>]>>;
1304
- }, z.core.$strip>>;
1305
- }, z.core.$strip>, z.ZodObject<{
1306
- id: z.ZodString;
1307
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1308
- title: z.ZodString;
1309
- subtitle: z.ZodString;
1310
- fields: z.ZodArray<z.ZodObject<{
1311
- id: z.ZodString;
1312
- name: z.ZodString;
1313
- type: z.ZodPrefault<z.ZodEnum<{
1314
- time: "time";
1315
- file: "file";
1316
- url: "url";
1317
- textarea: "textarea";
1318
- text: "text";
1319
- email: "email";
1320
- tel: "tel";
1321
- date: "date";
1322
- "datetime-local": "datetime-local";
1323
- password: "password";
1324
- }>>;
1325
- label: z.ZodCatch<z.ZodString>;
1326
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1327
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1328
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1329
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1330
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1331
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1332
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1333
- }, z.core.$strip>>;
1334
- submitButton: z.ZodObject<{
1335
- label: z.ZodCatch<z.ZodString>;
1336
- }, z.core.$strip>;
1337
- }, z.core.$strip>, z.ZodObject<{
1338
- id: z.ZodString;
1339
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1340
- }, z.core.$strip>]>>>;
1341
- }, z.core.$strip>>>;
1342
- timeout: z.ZodCatch<z.ZodArray<z.ZodObject<{
1343
- languageCode: z.ZodString;
1344
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1345
- id: z.ZodString;
1346
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1347
- title: z.ZodString;
1348
- }, z.core.$strip>, z.ZodObject<{
1349
- id: z.ZodString;
1350
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1351
- title: z.ZodString;
1352
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1353
- id: z.ZodString;
1354
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1355
- label: z.ZodString;
1356
- payload: z.ZodString;
1357
- valueToShow: z.ZodString;
1358
- }, z.core.$strip>, z.ZodObject<{
1359
- id: z.ZodString;
1360
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1361
- label: z.ZodString;
1362
- url: z.ZodString;
1363
- }, z.core.$strip>, z.ZodObject<{
1364
- id: z.ZodString;
1365
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1366
- label: z.ZodString;
1367
- payload: z.ZodString;
1368
- valueToShow: z.ZodString;
1369
- }, z.core.$strip>]>>;
1370
- }, z.core.$strip>, z.ZodObject<{
1371
- id: z.ZodString;
1372
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1373
- title: z.ZodString;
1374
- }, z.core.$strip>, z.ZodObject<{
1375
- id: z.ZodString;
1376
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1377
- cards: z.ZodArray<z.ZodObject<{
1378
- id: z.ZodString;
1379
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1380
- body: z.ZodObject<{
1381
- title: z.ZodString;
1382
- description: z.ZodString;
1383
- }, z.core.$strip>;
1384
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1385
- id: z.ZodString;
1386
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1387
- label: z.ZodString;
1388
- payload: z.ZodString;
1389
- valueToShow: z.ZodString;
1390
- }, z.core.$strip>, z.ZodObject<{
1391
- id: z.ZodString;
1392
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1393
- label: z.ZodString;
1394
- url: z.ZodString;
1395
- }, z.core.$strip>]>>;
1396
- }, z.core.$strip>>;
1397
- }, z.core.$strip>, z.ZodObject<{
1398
- id: z.ZodString;
1399
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1400
- title: z.ZodString;
1401
- subtitle: z.ZodString;
1402
- fields: z.ZodArray<z.ZodObject<{
1403
- id: z.ZodString;
1404
- name: z.ZodString;
1405
- type: z.ZodPrefault<z.ZodEnum<{
1406
- time: "time";
1407
- file: "file";
1408
- url: "url";
1409
- textarea: "textarea";
1410
- text: "text";
1411
- email: "email";
1412
- tel: "tel";
1413
- date: "date";
1414
- "datetime-local": "datetime-local";
1415
- password: "password";
1416
- }>>;
1417
- label: z.ZodCatch<z.ZodString>;
1418
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1419
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1420
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1421
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1422
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1423
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1424
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1425
- }, z.core.$strip>>;
1426
- submitButton: z.ZodObject<{
1427
- label: z.ZodCatch<z.ZodString>;
1428
- }, z.core.$strip>;
1429
- }, z.core.$strip>, z.ZodObject<{
1430
- id: z.ZodString;
1431
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1432
- }, z.core.$strip>]>>>;
1433
- }, z.core.$strip>>>;
1434
- webhookId: z.ZodString;
1435
- merchantId: z.ZodCatch<z.ZodString>;
1436
- sessionAttributes: z.ZodCatch<z.ZodString>;
1437
- }, z.core.$strip>;
1438
- }, z.core.$strip>, z.ZodObject<{
1439
- id: z.ZodString;
1440
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.goToIntentNode>;
1441
- data: z.ZodObject<{
1442
- intentId: z.ZodString;
1443
- sessionAttributes: z.ZodCatch<z.ZodString>;
1444
- }, z.core.$strip>;
1445
- }, z.core.$strip>, z.ZodObject<{
1446
- id: z.ZodString;
1447
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.intentNode>;
1448
- data: z.ZodObject<{
1449
- label: z.ZodString;
1450
- name: z.ZodString;
1451
- description: z.ZodCatch<z.ZodString>;
1452
- utterances: z.ZodArray<z.ZodObject<{
1453
- languageCode: z.ZodString;
1454
- utterances: z.ZodCatch<z.ZodString>;
1455
- }, z.core.$strip>>;
1456
- isFallback: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
1457
- isNameDisabled: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
1458
- }, z.core.$strip>;
1459
- }, z.core.$strip>, z.ZodObject<{
1460
- id: z.ZodString;
1461
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.slotNode>;
1462
- data: z.ZodObject<{
1463
- name: z.ZodString;
1464
- description: z.ZodCatch<z.ZodString>;
1465
- defaultValue: z.ZodCatch<z.ZodString>;
1466
- required: z.ZodNullable<z.ZodBoolean>;
1467
- utterances: z.ZodArray<z.ZodObject<{
1468
- languageCode: z.ZodString;
1469
- utterances: z.ZodCatch<z.ZodString>;
1470
- }, z.core.$strip>>;
1471
- label: z.ZodString;
1472
- prompt: z.ZodArray<z.ZodObject<{
1473
- languageCode: z.ZodString;
1474
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1475
- id: z.ZodString;
1476
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1477
- title: z.ZodString;
1478
- }, z.core.$strip>, z.ZodObject<{
1479
- id: z.ZodString;
1480
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1481
- title: z.ZodString;
1482
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1483
- id: z.ZodString;
1484
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1485
- label: z.ZodString;
1486
- payload: z.ZodString;
1487
- valueToShow: z.ZodString;
1488
- }, z.core.$strip>, z.ZodObject<{
1489
- id: z.ZodString;
1490
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1491
- label: z.ZodString;
1492
- url: z.ZodString;
1493
- }, z.core.$strip>, z.ZodObject<{
1494
- id: z.ZodString;
1495
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1496
- label: z.ZodString;
1497
- payload: z.ZodString;
1498
- valueToShow: z.ZodString;
1499
- }, z.core.$strip>]>>;
1500
- }, z.core.$strip>, z.ZodObject<{
1501
- id: z.ZodString;
1502
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1503
- title: z.ZodString;
1504
- }, z.core.$strip>, z.ZodObject<{
1505
- id: z.ZodString;
1506
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1507
- cards: z.ZodArray<z.ZodObject<{
1508
- id: z.ZodString;
1509
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1510
- body: z.ZodObject<{
1511
- title: z.ZodString;
1512
- description: z.ZodString;
1513
- }, z.core.$strip>;
1514
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1515
- id: z.ZodString;
1516
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1517
- label: z.ZodString;
1518
- payload: z.ZodString;
1519
- valueToShow: z.ZodString;
1520
- }, z.core.$strip>, z.ZodObject<{
1521
- id: z.ZodString;
1522
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1523
- label: z.ZodString;
1524
- url: z.ZodString;
1525
- }, z.core.$strip>]>>;
1526
- }, z.core.$strip>>;
1527
- }, z.core.$strip>, z.ZodObject<{
1528
- id: z.ZodString;
1529
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1530
- title: z.ZodString;
1531
- subtitle: z.ZodString;
1532
- fields: z.ZodArray<z.ZodObject<{
1533
- id: z.ZodString;
1534
- name: z.ZodString;
1535
- type: z.ZodPrefault<z.ZodEnum<{
1536
- time: "time";
1537
- file: "file";
1538
- url: "url";
1539
- textarea: "textarea";
1540
- text: "text";
1541
- email: "email";
1542
- tel: "tel";
1543
- date: "date";
1544
- "datetime-local": "datetime-local";
1545
- password: "password";
1546
- }>>;
1547
- label: z.ZodCatch<z.ZodString>;
1548
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1549
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1550
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1551
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1552
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1553
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1554
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1555
- }, z.core.$strip>>;
1556
- submitButton: z.ZodObject<{
1557
- label: z.ZodCatch<z.ZodString>;
1558
- }, z.core.$strip>;
1559
- }, z.core.$strip>, z.ZodObject<{
1560
- id: z.ZodString;
1561
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1562
- }, z.core.$strip>]>>>;
1563
- }, z.core.$strip>>;
1564
- success: z.ZodCatch<z.ZodArray<z.ZodObject<{
1565
- languageCode: z.ZodString;
1566
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1567
- id: z.ZodString;
1568
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1569
- title: z.ZodString;
1570
- }, z.core.$strip>, z.ZodObject<{
1571
- id: z.ZodString;
1572
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1573
- title: z.ZodString;
1574
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1575
- id: z.ZodString;
1576
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1577
- label: z.ZodString;
1578
- payload: z.ZodString;
1579
- valueToShow: z.ZodString;
1580
- }, z.core.$strip>, z.ZodObject<{
1581
- id: z.ZodString;
1582
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1583
- label: z.ZodString;
1584
- url: z.ZodString;
1585
- }, z.core.$strip>, z.ZodObject<{
1586
- id: z.ZodString;
1587
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1588
- label: z.ZodString;
1589
- payload: z.ZodString;
1590
- valueToShow: z.ZodString;
1591
- }, z.core.$strip>]>>;
1592
- }, z.core.$strip>, z.ZodObject<{
1593
- id: z.ZodString;
1594
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1595
- title: z.ZodString;
1596
- }, z.core.$strip>, z.ZodObject<{
1597
- id: z.ZodString;
1598
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1599
- cards: z.ZodArray<z.ZodObject<{
1600
- id: z.ZodString;
1601
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1602
- body: z.ZodObject<{
1603
- title: z.ZodString;
1604
- description: z.ZodString;
1605
- }, z.core.$strip>;
1606
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1607
- id: z.ZodString;
1608
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1609
- label: z.ZodString;
1610
- payload: z.ZodString;
1611
- valueToShow: z.ZodString;
1612
- }, z.core.$strip>, z.ZodObject<{
1613
- id: z.ZodString;
1614
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1615
- label: z.ZodString;
1616
- url: z.ZodString;
1617
- }, z.core.$strip>]>>;
1618
- }, z.core.$strip>>;
1619
- }, z.core.$strip>, z.ZodObject<{
1620
- id: z.ZodString;
1621
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1622
- title: z.ZodString;
1623
- subtitle: z.ZodString;
1624
- fields: z.ZodArray<z.ZodObject<{
1625
- id: z.ZodString;
1626
- name: z.ZodString;
1627
- type: z.ZodPrefault<z.ZodEnum<{
1628
- time: "time";
1629
- file: "file";
1630
- url: "url";
1631
- textarea: "textarea";
1632
- text: "text";
1633
- email: "email";
1634
- tel: "tel";
1635
- date: "date";
1636
- "datetime-local": "datetime-local";
1637
- password: "password";
1638
- }>>;
1639
- label: z.ZodCatch<z.ZodString>;
1640
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1641
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1642
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1643
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1644
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1645
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1646
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1647
- }, z.core.$strip>>;
1648
- submitButton: z.ZodObject<{
1649
- label: z.ZodCatch<z.ZodString>;
1650
- }, z.core.$strip>;
1651
- }, z.core.$strip>, z.ZodObject<{
1652
- id: z.ZodString;
1653
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1654
- }, z.core.$strip>]>>>;
1655
- }, z.core.$strip>>>;
1656
- failure: z.ZodCatch<z.ZodArray<z.ZodObject<{
1657
- languageCode: z.ZodString;
1658
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1659
- id: z.ZodString;
1660
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1661
- title: z.ZodString;
1662
- }, z.core.$strip>, z.ZodObject<{
1663
- id: z.ZodString;
1664
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1665
- title: z.ZodString;
1666
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1667
- id: z.ZodString;
1668
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1669
- label: z.ZodString;
1670
- payload: z.ZodString;
1671
- valueToShow: z.ZodString;
1672
- }, z.core.$strip>, z.ZodObject<{
1673
- id: z.ZodString;
1674
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1675
- label: z.ZodString;
1676
- url: z.ZodString;
1677
- }, z.core.$strip>, z.ZodObject<{
1678
- id: z.ZodString;
1679
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1680
- label: z.ZodString;
1681
- payload: z.ZodString;
1682
- valueToShow: z.ZodString;
1683
- }, z.core.$strip>]>>;
1684
- }, z.core.$strip>, z.ZodObject<{
1685
- id: z.ZodString;
1686
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1687
- title: z.ZodString;
1688
- }, z.core.$strip>, z.ZodObject<{
1689
- id: z.ZodString;
1690
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1691
- cards: z.ZodArray<z.ZodObject<{
1692
- id: z.ZodString;
1693
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1694
- body: z.ZodObject<{
1695
- title: z.ZodString;
1696
- description: z.ZodString;
1697
- }, z.core.$strip>;
1698
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1699
- id: z.ZodString;
1700
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1701
- label: z.ZodString;
1702
- payload: z.ZodString;
1703
- valueToShow: z.ZodString;
1704
- }, z.core.$strip>, z.ZodObject<{
1705
- id: z.ZodString;
1706
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1707
- label: z.ZodString;
1708
- url: z.ZodString;
1709
- }, z.core.$strip>]>>;
1710
- }, z.core.$strip>>;
1711
- }, z.core.$strip>, z.ZodObject<{
1712
- id: z.ZodString;
1713
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1714
- title: z.ZodString;
1715
- subtitle: z.ZodString;
1716
- fields: z.ZodArray<z.ZodObject<{
1717
- id: z.ZodString;
1718
- name: z.ZodString;
1719
- type: z.ZodPrefault<z.ZodEnum<{
1720
- time: "time";
1721
- file: "file";
1722
- url: "url";
1723
- textarea: "textarea";
1724
- text: "text";
1725
- email: "email";
1726
- tel: "tel";
1727
- date: "date";
1728
- "datetime-local": "datetime-local";
1729
- password: "password";
1730
- }>>;
1731
- label: z.ZodCatch<z.ZodString>;
1732
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1733
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1734
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1735
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1736
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1737
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1738
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1739
- }, z.core.$strip>>;
1740
- submitButton: z.ZodObject<{
1741
- label: z.ZodCatch<z.ZodString>;
1742
- }, z.core.$strip>;
1743
- }, z.core.$strip>, z.ZodObject<{
1744
- id: z.ZodString;
1745
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1746
- }, z.core.$strip>]>>>;
1747
- }, z.core.$strip>>>;
1748
- type: z.ZodString;
1749
- sessionAttributes: z.ZodCatch<z.ZodString>;
1750
- isNameDisabled: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
1751
- isTypeDisabled: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
1752
- }, z.core.$strip>;
1753
- }, z.core.$strip>]>;
1754
- input: z.ZodObject<{
1755
- inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1756
- expression: z.ZodString;
1757
- name: z.ZodString;
1758
- type: z.ZodEnum<{
1759
- string: "string";
1760
- number: "number";
1761
- boolean: "boolean";
1762
- object: "object";
1763
- array: "array";
1764
- }>;
1765
- category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
1766
- LoopCondition: "LoopCondition";
1767
- ReturnValueToLoopStart: "ReturnValueToLoopStart";
1768
- ExitLoop: "ExitLoop";
1769
- }>>>>;
1770
- enabled: z.ZodCatch<z.ZodBoolean>;
1771
- }, z.core.$strip>>>>>;
1772
- outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1773
- name: z.ZodString;
1774
- type: z.ZodEnum<{
1775
- string: "string";
1776
- number: "number";
1777
- boolean: "boolean";
1778
- object: "object";
1779
- array: "array";
1780
- }>;
1781
- enabled: z.ZodCatch<z.ZodBoolean>;
1782
- }, z.core.$strip>>>>>;
1783
- name: z.ZodString;
1784
- }, z.core.$strip>;
1785
- output: z.ZodObject<{
1786
- inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1787
- expression: z.ZodString;
1788
- name: z.ZodString;
1789
- type: z.ZodEnum<{
1790
- string: "string";
1791
- number: "number";
1792
- boolean: "boolean";
1793
- object: "object";
1794
- array: "array";
1795
- }>;
1796
- category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
1797
- LoopCondition: "LoopCondition";
1798
- ReturnValueToLoopStart: "ReturnValueToLoopStart";
1799
- ExitLoop: "ExitLoop";
1800
- }>>>>;
1801
- enabled: z.ZodCatch<z.ZodBoolean>;
1802
- }, z.core.$strip>>>>>;
1803
- outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1804
- name: z.ZodString;
1805
- type: z.ZodEnum<{
1806
- string: "string";
1807
- number: "number";
1808
- boolean: "boolean";
1809
- object: "object";
1810
- array: "array";
1811
- }>;
1812
- enabled: z.ZodCatch<z.ZodBoolean>;
1813
- }, z.core.$strip>>>>>;
1814
- name: z.ZodString;
1815
- }, z.core.$strip>;
1816
- }, z.core.$strip>;
1817
- }, z.core.$strip>;
1818
138
  }, z.core.$strip>;
1819
- }, z.core.$strip>, z.ZodObject<{
139
+ }, z.core.$loose>, z.ZodObject<{
1820
140
  type: z.ZodLiteral<import("./node-type").NodeType.inputNode>;
1821
141
  data: z.ZodObject<{
1822
142
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1849,7 +169,7 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
1849
169
  }, z.core.$strip>>>>>;
1850
170
  name: z.ZodString;
1851
171
  }, z.core.$strip>;
1852
- }, z.core.$strip>, z.ZodObject<{
172
+ }, z.core.$loose>, z.ZodObject<{
1853
173
  type: z.ZodLiteral<import("./node-type").NodeType.outputNode>;
1854
174
  data: z.ZodObject<{
1855
175
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1882,7 +202,7 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
1882
202
  }, z.core.$strip>>>>>;
1883
203
  name: z.ZodString;
1884
204
  }, z.core.$strip>;
1885
- }, z.core.$strip>, z.ZodObject<{
205
+ }, z.core.$loose>, z.ZodObject<{
1886
206
  type: z.ZodLiteral<import("./node-type").NodeType.iteratorNode>;
1887
207
  data: z.ZodObject<{
1888
208
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1915,7 +235,7 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
1915
235
  }, z.core.$strip>>>>>;
1916
236
  name: z.ZodString;
1917
237
  }, z.core.$strip>;
1918
- }, z.core.$strip>, z.ZodObject<{
238
+ }, z.core.$loose>, z.ZodObject<{
1919
239
  type: z.ZodLiteral<import("./node-type").NodeType.knowledgeBaseNode>;
1920
240
  data: z.ZodObject<{
1921
241
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1996,7 +316,7 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
1996
316
  }, z.core.$strip>>>>;
1997
317
  }, z.core.$strip>>>>;
1998
318
  }, z.core.$strip>;
1999
- }, z.core.$strip>, z.ZodObject<{
319
+ }, z.core.$loose>, z.ZodObject<{
2000
320
  type: z.ZodLiteral<import("./node-type").NodeType.lamdaFunctionNode>;
2001
321
  data: z.ZodObject<{
2002
322
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2030,7 +350,7 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
2030
350
  name: z.ZodString;
2031
351
  lambdaArn: z.ZodString;
2032
352
  }, z.core.$strip>;
2033
- }, z.core.$strip>, z.ZodObject<{
353
+ }, z.core.$loose>, z.ZodObject<{
2034
354
  type: z.ZodLiteral<import("./node-type").NodeType.s3RetrievalNode>;
2035
355
  data: z.ZodObject<{
2036
356
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2070,7 +390,7 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
2070
390
  }, z.core.$strip>;
2071
391
  }, z.core.$strip>>>>;
2072
392
  }, z.core.$strip>;
2073
- }, z.core.$strip>, z.ZodObject<{
393
+ }, z.core.$loose>, z.ZodObject<{
2074
394
  type: z.ZodLiteral<import("./node-type").NodeType.s3StorageNode>;
2075
395
  data: z.ZodObject<{
2076
396
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2108,7 +428,7 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
2108
428
  }, z.core.$strip>;
2109
429
  }, z.core.$strip>;
2110
430
  }, z.core.$strip>;
2111
- }, z.core.$strip>, z.ZodObject<{
431
+ }, z.core.$loose>, z.ZodObject<{
2112
432
  type: z.ZodLiteral<import("./node-type").NodeType.promptNode>;
2113
433
  data: z.ZodObject<{
2114
434
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2153,7 +473,7 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
2153
473
  guardrailVersion: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
2154
474
  }, z.core.$strip>>>>;
2155
475
  }, z.core.$strip>;
2156
- }, z.core.$strip>, z.ZodObject<{
476
+ }, z.core.$loose>, z.ZodObject<{
2157
477
  type: z.ZodLiteral<import("./node-type").NodeType.lexNode>;
2158
478
  data: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
2159
479
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2188,7 +508,7 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
2188
508
  botAliasArn: z.ZodString;
2189
509
  localeId: z.ZodString;
2190
510
  }, z.core.$strip>>>>;
2191
- }, z.core.$strip>, z.ZodObject<{
511
+ }, z.core.$loose>, z.ZodObject<{
2192
512
  type: z.ZodLiteral<import("./node-type").NodeType.inlineNode>;
2193
513
  data: z.ZodObject<{
2194
514
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2221,5 +541,109 @@ export declare const NodeSchema: z.ZodUnion<readonly [z.ZodObject<{
2221
541
  }, z.core.$strip>>>>>;
2222
542
  name: z.ZodString;
2223
543
  }, z.core.$strip>;
544
+ }, z.core.$loose>, z.ZodObject<{
545
+ type: z.ZodLiteral<import("./node-type").NodeType.loopInputNode>;
546
+ data: z.ZodObject<{
547
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
548
+ expression: z.ZodString;
549
+ name: z.ZodString;
550
+ type: z.ZodEnum<{
551
+ string: "string";
552
+ number: "number";
553
+ boolean: "boolean";
554
+ object: "object";
555
+ array: "array";
556
+ }>;
557
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
558
+ LoopCondition: "LoopCondition";
559
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
560
+ ExitLoop: "ExitLoop";
561
+ }>>>>;
562
+ enabled: z.ZodCatch<z.ZodBoolean>;
563
+ }, z.core.$strip>>>>>;
564
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
565
+ name: z.ZodString;
566
+ type: z.ZodEnum<{
567
+ string: "string";
568
+ number: "number";
569
+ boolean: "boolean";
570
+ object: "object";
571
+ array: "array";
572
+ }>;
573
+ enabled: z.ZodCatch<z.ZodBoolean>;
574
+ }, z.core.$strip>>>>>;
575
+ name: z.ZodString;
576
+ }, z.core.$strip>;
577
+ parentId: z.ZodOptional<z.ZodString>;
578
+ }, z.core.$strip>, z.ZodObject<{
579
+ type: z.ZodLiteral<import("./node-type").NodeType.loopControllerNode>;
580
+ data: z.ZodObject<{
581
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
582
+ expression: z.ZodString;
583
+ name: z.ZodString;
584
+ type: z.ZodEnum<{
585
+ string: "string";
586
+ number: "number";
587
+ boolean: "boolean";
588
+ object: "object";
589
+ array: "array";
590
+ }>;
591
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
592
+ LoopCondition: "LoopCondition";
593
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
594
+ ExitLoop: "ExitLoop";
595
+ }>>>>;
596
+ enabled: z.ZodCatch<z.ZodBoolean>;
597
+ }, z.core.$strip>>>>>;
598
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
599
+ name: z.ZodString;
600
+ type: z.ZodEnum<{
601
+ string: "string";
602
+ number: "number";
603
+ boolean: "boolean";
604
+ object: "object";
605
+ array: "array";
606
+ }>;
607
+ enabled: z.ZodCatch<z.ZodBoolean>;
608
+ }, z.core.$strip>>>>>;
609
+ name: z.ZodString;
610
+ expression: z.ZodString;
611
+ maxIterations: z.ZodNumber;
612
+ returnValues: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
613
+ expression: z.ZodString;
614
+ name: z.ZodString;
615
+ type: z.ZodEnum<{
616
+ string: "string";
617
+ number: "number";
618
+ boolean: "boolean";
619
+ object: "object";
620
+ array: "array";
621
+ }>;
622
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
623
+ LoopCondition: "LoopCondition";
624
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
625
+ ExitLoop: "ExitLoop";
626
+ }>>>>;
627
+ enabled: z.ZodCatch<z.ZodBoolean>;
628
+ }, z.core.$strip>>>>>;
629
+ exitValues: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
630
+ expression: z.ZodString;
631
+ name: z.ZodString;
632
+ type: z.ZodEnum<{
633
+ string: "string";
634
+ number: "number";
635
+ boolean: "boolean";
636
+ object: "object";
637
+ array: "array";
638
+ }>;
639
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
640
+ LoopCondition: "LoopCondition";
641
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
642
+ ExitLoop: "ExitLoop";
643
+ }>>>>;
644
+ enabled: z.ZodCatch<z.ZodBoolean>;
645
+ }, z.core.$strip>>>>>;
646
+ }, z.core.$strip>;
647
+ parentId: z.ZodOptional<z.ZodString>;
2224
648
  }, z.core.$strip>]>;
2225
649
  export type Node = z.infer<typeof NodeSchema>;