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