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