chatbot-lex-design-builder 2.0.25 → 2.0.27

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 (163) hide show
  1. package/dist/cjs/index.d.ts +2 -1
  2. package/dist/cjs/index.js +3 -1
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/workflows/lib/index.d.ts +1 -0
  5. package/dist/cjs/workflows/lib/index.js +28 -0
  6. package/dist/cjs/workflows/lib/index.js.map +1 -0
  7. package/dist/cjs/workflows/lib/nodes/agent-node.d.ts +71 -0
  8. package/dist/cjs/workflows/lib/nodes/agent-node.js +17 -0
  9. package/dist/cjs/workflows/lib/nodes/agent-node.js.map +1 -0
  10. package/dist/cjs/workflows/lib/nodes/base-node.d.ts +33 -0
  11. package/dist/cjs/workflows/lib/nodes/base-node.js +15 -0
  12. package/dist/cjs/workflows/lib/nodes/base-node.js.map +1 -0
  13. package/dist/cjs/workflows/lib/nodes/category-type.d.ts +7 -0
  14. package/dist/cjs/workflows/lib/nodes/category-type.js +13 -0
  15. package/dist/cjs/workflows/lib/nodes/category-type.js.map +1 -0
  16. package/dist/cjs/workflows/lib/nodes/collector-node.d.ts +69 -0
  17. package/dist/cjs/workflows/lib/nodes/collector-node.js +15 -0
  18. package/dist/cjs/workflows/lib/nodes/collector-node.js.map +1 -0
  19. package/dist/cjs/workflows/lib/nodes/condition-node.d.ts +83 -0
  20. package/dist/cjs/workflows/lib/nodes/condition-node.js +21 -0
  21. package/dist/cjs/workflows/lib/nodes/condition-node.js.map +1 -0
  22. package/dist/cjs/workflows/lib/nodes/data-type.d.ts +9 -0
  23. package/dist/cjs/workflows/lib/nodes/data-type.js +9 -0
  24. package/dist/cjs/workflows/lib/nodes/data-type.js.map +1 -0
  25. package/dist/cjs/workflows/lib/nodes/do-while-loop-node.d.ts +3429 -0
  26. package/dist/cjs/workflows/lib/nodes/do-while-loop-node.js +45 -0
  27. package/dist/cjs/workflows/lib/nodes/do-while-loop-node.js.map +1 -0
  28. package/dist/cjs/workflows/lib/nodes/export-to-flows.d.ts +6 -0
  29. package/dist/cjs/workflows/lib/nodes/export-to-flows.js +323 -0
  30. package/dist/cjs/workflows/lib/nodes/export-to-flows.js.map +1 -0
  31. package/dist/cjs/workflows/lib/nodes/flow-Input-node.d.ts +69 -0
  32. package/dist/cjs/workflows/lib/nodes/flow-Input-node.js +15 -0
  33. package/dist/cjs/workflows/lib/nodes/flow-Input-node.js.map +1 -0
  34. package/dist/cjs/workflows/lib/nodes/flow-input-type.d.ts +19 -0
  35. package/dist/cjs/workflows/lib/nodes/flow-input-type.js +17 -0
  36. package/dist/cjs/workflows/lib/nodes/flow-input-type.js.map +1 -0
  37. package/dist/cjs/workflows/lib/nodes/flow-output-node.d.ts +69 -0
  38. package/dist/cjs/workflows/lib/nodes/flow-output-node.js +15 -0
  39. package/dist/cjs/workflows/lib/nodes/flow-output-node.js.map +1 -0
  40. package/dist/cjs/workflows/lib/nodes/flow-output-type.d.ts +13 -0
  41. package/dist/cjs/workflows/lib/nodes/flow-output-type.js +14 -0
  42. package/dist/cjs/workflows/lib/nodes/flow-output-type.js.map +1 -0
  43. package/dist/cjs/workflows/lib/nodes/flow.d.ts +2237 -0
  44. package/dist/cjs/workflows/lib/nodes/flow.js +13 -0
  45. package/dist/cjs/workflows/lib/nodes/flow.js.map +1 -0
  46. package/dist/cjs/workflows/lib/nodes/graph.d.ts +2234 -0
  47. package/dist/cjs/workflows/lib/nodes/graph.js +11 -0
  48. package/dist/cjs/workflows/lib/nodes/graph.js.map +1 -0
  49. package/dist/cjs/workflows/lib/nodes/index.d.ts +24 -0
  50. package/dist/cjs/workflows/lib/nodes/index.js +41 -0
  51. package/dist/cjs/workflows/lib/nodes/index.js.map +1 -0
  52. package/dist/cjs/workflows/lib/nodes/inline-node.d.ts +69 -0
  53. package/dist/cjs/workflows/lib/nodes/inline-node.js +15 -0
  54. package/dist/cjs/workflows/lib/nodes/inline-node.js.map +1 -0
  55. package/dist/cjs/workflows/lib/nodes/iterator-node.d.ts +69 -0
  56. package/dist/cjs/workflows/lib/nodes/iterator-node.js +15 -0
  57. package/dist/cjs/workflows/lib/nodes/iterator-node.js.map +1 -0
  58. package/dist/cjs/workflows/lib/nodes/knowledge-base-node.d.ts +170 -0
  59. package/dist/cjs/workflows/lib/nodes/knowledge-base-node.js +86 -0
  60. package/dist/cjs/workflows/lib/nodes/knowledge-base-node.js.map +1 -0
  61. package/dist/cjs/workflows/lib/nodes/lamda-function-node.d.ts +71 -0
  62. package/dist/cjs/workflows/lib/nodes/lamda-function-node.js +17 -0
  63. package/dist/cjs/workflows/lib/nodes/lamda-function-node.js.map +1 -0
  64. package/dist/cjs/workflows/lib/nodes/lex-node.d.ts +73 -0
  65. package/dist/cjs/workflows/lib/nodes/lex-node.js +18 -0
  66. package/dist/cjs/workflows/lib/nodes/lex-node.js.map +1 -0
  67. package/dist/cjs/workflows/lib/nodes/node-type.d.ts +16 -0
  68. package/dist/cjs/workflows/lib/nodes/node-type.js +21 -0
  69. package/dist/cjs/workflows/lib/nodes/node-type.js.map +1 -0
  70. package/dist/cjs/workflows/lib/nodes/node.d.ts +2225 -0
  71. package/dist/cjs/workflows/lib/nodes/node.js +38 -0
  72. package/dist/cjs/workflows/lib/nodes/node.js.map +1 -0
  73. package/dist/cjs/workflows/lib/nodes/prompts-node.d.ts +105 -0
  74. package/dist/cjs/workflows/lib/nodes/prompts-node.js +94 -0
  75. package/dist/cjs/workflows/lib/nodes/prompts-node.js.map +1 -0
  76. package/dist/cjs/workflows/lib/nodes/s3-retrieval-node.d.ts +83 -0
  77. package/dist/cjs/workflows/lib/nodes/s3-retrieval-node.js +26 -0
  78. package/dist/cjs/workflows/lib/nodes/s3-retrieval-node.js.map +1 -0
  79. package/dist/cjs/workflows/lib/nodes/s3-storage-node.d.ts +79 -0
  80. package/dist/cjs/workflows/lib/nodes/s3-storage-node.js +21 -0
  81. package/dist/cjs/workflows/lib/nodes/s3-storage-node.js.map +1 -0
  82. package/dist/esm/index.d.ts +2 -1
  83. package/dist/esm/index.js +2 -1
  84. package/dist/esm/index.js.map +1 -1
  85. package/dist/esm/workflows/lib/index.d.ts +1 -0
  86. package/dist/esm/workflows/lib/index.js +3 -0
  87. package/dist/esm/workflows/lib/index.js.map +1 -0
  88. package/dist/esm/workflows/lib/nodes/agent-node.d.ts +71 -0
  89. package/dist/esm/workflows/lib/nodes/agent-node.js +11 -0
  90. package/dist/esm/workflows/lib/nodes/agent-node.js.map +1 -0
  91. package/dist/esm/workflows/lib/nodes/base-node.d.ts +33 -0
  92. package/dist/esm/workflows/lib/nodes/base-node.js +9 -0
  93. package/dist/esm/workflows/lib/nodes/base-node.js.map +1 -0
  94. package/dist/esm/workflows/lib/nodes/category-type.d.ts +7 -0
  95. package/dist/esm/workflows/lib/nodes/category-type.js +7 -0
  96. package/dist/esm/workflows/lib/nodes/category-type.js.map +1 -0
  97. package/dist/esm/workflows/lib/nodes/collector-node.d.ts +69 -0
  98. package/dist/esm/workflows/lib/nodes/collector-node.js +9 -0
  99. package/dist/esm/workflows/lib/nodes/collector-node.js.map +1 -0
  100. package/dist/esm/workflows/lib/nodes/condition-node.d.ts +83 -0
  101. package/dist/esm/workflows/lib/nodes/condition-node.js +15 -0
  102. package/dist/esm/workflows/lib/nodes/condition-node.js.map +1 -0
  103. package/dist/esm/workflows/lib/nodes/data-type.d.ts +9 -0
  104. package/dist/esm/workflows/lib/nodes/data-type.js +3 -0
  105. package/dist/esm/workflows/lib/nodes/data-type.js.map +1 -0
  106. package/dist/esm/workflows/lib/nodes/do-while-loop-node.d.ts +3429 -0
  107. package/dist/esm/workflows/lib/nodes/do-while-loop-node.js +39 -0
  108. package/dist/esm/workflows/lib/nodes/do-while-loop-node.js.map +1 -0
  109. package/dist/esm/workflows/lib/nodes/export-to-flows.d.ts +6 -0
  110. package/dist/esm/workflows/lib/nodes/export-to-flows.js +320 -0
  111. package/dist/esm/workflows/lib/nodes/export-to-flows.js.map +1 -0
  112. package/dist/esm/workflows/lib/nodes/flow-Input-node.d.ts +69 -0
  113. package/dist/esm/workflows/lib/nodes/flow-Input-node.js +9 -0
  114. package/dist/esm/workflows/lib/nodes/flow-Input-node.js.map +1 -0
  115. package/dist/esm/workflows/lib/nodes/flow-input-type.d.ts +19 -0
  116. package/dist/esm/workflows/lib/nodes/flow-input-type.js +11 -0
  117. package/dist/esm/workflows/lib/nodes/flow-input-type.js.map +1 -0
  118. package/dist/esm/workflows/lib/nodes/flow-output-node.d.ts +69 -0
  119. package/dist/esm/workflows/lib/nodes/flow-output-node.js +9 -0
  120. package/dist/esm/workflows/lib/nodes/flow-output-node.js.map +1 -0
  121. package/dist/esm/workflows/lib/nodes/flow-output-type.d.ts +13 -0
  122. package/dist/esm/workflows/lib/nodes/flow-output-type.js +8 -0
  123. package/dist/esm/workflows/lib/nodes/flow-output-type.js.map +1 -0
  124. package/dist/esm/workflows/lib/nodes/flow.d.ts +2237 -0
  125. package/dist/esm/workflows/lib/nodes/flow.js +7 -0
  126. package/dist/esm/workflows/lib/nodes/flow.js.map +1 -0
  127. package/dist/esm/workflows/lib/nodes/graph.d.ts +2234 -0
  128. package/dist/esm/workflows/lib/nodes/graph.js +8 -0
  129. package/dist/esm/workflows/lib/nodes/graph.js.map +1 -0
  130. package/dist/esm/workflows/lib/nodes/index.d.ts +24 -0
  131. package/dist/esm/workflows/lib/nodes/index.js +25 -0
  132. package/dist/esm/workflows/lib/nodes/index.js.map +1 -0
  133. package/dist/esm/workflows/lib/nodes/inline-node.d.ts +69 -0
  134. package/dist/esm/workflows/lib/nodes/inline-node.js +9 -0
  135. package/dist/esm/workflows/lib/nodes/inline-node.js.map +1 -0
  136. package/dist/esm/workflows/lib/nodes/iterator-node.d.ts +69 -0
  137. package/dist/esm/workflows/lib/nodes/iterator-node.js +9 -0
  138. package/dist/esm/workflows/lib/nodes/iterator-node.js.map +1 -0
  139. package/dist/esm/workflows/lib/nodes/knowledge-base-node.d.ts +170 -0
  140. package/dist/esm/workflows/lib/nodes/knowledge-base-node.js +80 -0
  141. package/dist/esm/workflows/lib/nodes/knowledge-base-node.js.map +1 -0
  142. package/dist/esm/workflows/lib/nodes/lamda-function-node.d.ts +71 -0
  143. package/dist/esm/workflows/lib/nodes/lamda-function-node.js +11 -0
  144. package/dist/esm/workflows/lib/nodes/lamda-function-node.js.map +1 -0
  145. package/dist/esm/workflows/lib/nodes/lex-node.d.ts +73 -0
  146. package/dist/esm/workflows/lib/nodes/lex-node.js +12 -0
  147. package/dist/esm/workflows/lib/nodes/lex-node.js.map +1 -0
  148. package/dist/esm/workflows/lib/nodes/node-type.d.ts +16 -0
  149. package/dist/esm/workflows/lib/nodes/node-type.js +18 -0
  150. package/dist/esm/workflows/lib/nodes/node-type.js.map +1 -0
  151. package/dist/esm/workflows/lib/nodes/node.d.ts +2225 -0
  152. package/dist/esm/workflows/lib/nodes/node.js +32 -0
  153. package/dist/esm/workflows/lib/nodes/node.js.map +1 -0
  154. package/dist/esm/workflows/lib/nodes/prompts-node.d.ts +105 -0
  155. package/dist/esm/workflows/lib/nodes/prompts-node.js +88 -0
  156. package/dist/esm/workflows/lib/nodes/prompts-node.js.map +1 -0
  157. package/dist/esm/workflows/lib/nodes/s3-retrieval-node.d.ts +83 -0
  158. package/dist/esm/workflows/lib/nodes/s3-retrieval-node.js +20 -0
  159. package/dist/esm/workflows/lib/nodes/s3-retrieval-node.js.map +1 -0
  160. package/dist/esm/workflows/lib/nodes/s3-storage-node.d.ts +79 -0
  161. package/dist/esm/workflows/lib/nodes/s3-storage-node.js +15 -0
  162. package/dist/esm/workflows/lib/nodes/s3-storage-node.js.map +1 -0
  163. package/package.json +1 -1
@@ -0,0 +1,2237 @@
1
+ import z from "zod";
2
+ export declare const WorkflowFileSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ graph: z.ZodObject<{
5
+ nodes: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
6
+ type: z.ZodLiteral<import("./node-type").NodeType.agentNode>;
7
+ data: z.ZodObject<{
8
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
9
+ expression: z.ZodString;
10
+ name: z.ZodString;
11
+ type: z.ZodEnum<{
12
+ string: "string";
13
+ number: "number";
14
+ boolean: "boolean";
15
+ object: "object";
16
+ array: "array";
17
+ }>;
18
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
19
+ LoopCondition: "LoopCondition";
20
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
21
+ ExitLoop: "ExitLoop";
22
+ }>>>>;
23
+ enabled: z.ZodCatch<z.ZodBoolean>;
24
+ }, z.core.$strip>>>>>;
25
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
26
+ name: z.ZodString;
27
+ type: z.ZodEnum<{
28
+ string: "string";
29
+ number: "number";
30
+ boolean: "boolean";
31
+ object: "object";
32
+ array: "array";
33
+ }>;
34
+ enabled: z.ZodCatch<z.ZodBoolean>;
35
+ }, z.core.$strip>>>>>;
36
+ name: z.ZodString;
37
+ agentAliasArn: z.ZodString;
38
+ }, z.core.$strip>;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ type: z.ZodLiteral<import("./node-type").NodeType.collectorNode>;
41
+ data: z.ZodObject<{
42
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
43
+ expression: z.ZodString;
44
+ name: z.ZodString;
45
+ type: z.ZodEnum<{
46
+ string: "string";
47
+ number: "number";
48
+ boolean: "boolean";
49
+ object: "object";
50
+ array: "array";
51
+ }>;
52
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
53
+ LoopCondition: "LoopCondition";
54
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
55
+ ExitLoop: "ExitLoop";
56
+ }>>>>;
57
+ enabled: z.ZodCatch<z.ZodBoolean>;
58
+ }, z.core.$strip>>>>>;
59
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
60
+ name: z.ZodString;
61
+ type: z.ZodEnum<{
62
+ string: "string";
63
+ number: "number";
64
+ boolean: "boolean";
65
+ object: "object";
66
+ array: "array";
67
+ }>;
68
+ enabled: z.ZodCatch<z.ZodBoolean>;
69
+ }, z.core.$strip>>>>>;
70
+ name: z.ZodString;
71
+ }, z.core.$strip>;
72
+ }, z.core.$strip>, z.ZodObject<{
73
+ type: z.ZodLiteral<import("./node-type").NodeType.conditionNode>;
74
+ data: z.ZodObject<{
75
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
76
+ expression: z.ZodString;
77
+ name: z.ZodString;
78
+ type: z.ZodEnum<{
79
+ string: "string";
80
+ number: "number";
81
+ boolean: "boolean";
82
+ object: "object";
83
+ array: "array";
84
+ }>;
85
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
86
+ LoopCondition: "LoopCondition";
87
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
88
+ ExitLoop: "ExitLoop";
89
+ }>>>>;
90
+ enabled: z.ZodCatch<z.ZodBoolean>;
91
+ }, z.core.$strip>>>>>;
92
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
93
+ name: z.ZodString;
94
+ type: z.ZodEnum<{
95
+ string: "string";
96
+ number: "number";
97
+ boolean: "boolean";
98
+ object: "object";
99
+ array: "array";
100
+ }>;
101
+ enabled: z.ZodCatch<z.ZodBoolean>;
102
+ }, z.core.$strip>>>>>;
103
+ name: z.ZodString;
104
+ conditions: z.ZodArray<z.ZodObject<{
105
+ name: z.ZodString;
106
+ expression: z.ZodString;
107
+ }, z.core.$strip>>;
108
+ }, z.core.$strip>;
109
+ }, z.core.$strip>, z.ZodObject<{
110
+ type: z.ZodLiteral<import("./node-type").NodeType.doWhileLoopNode>;
111
+ data: z.ZodObject<{
112
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
113
+ expression: z.ZodString;
114
+ name: z.ZodString;
115
+ type: z.ZodEnum<{
116
+ string: "string";
117
+ number: "number";
118
+ boolean: "boolean";
119
+ object: "object";
120
+ array: "array";
121
+ }>;
122
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
123
+ LoopCondition: "LoopCondition";
124
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
125
+ ExitLoop: "ExitLoop";
126
+ }>>>>;
127
+ enabled: z.ZodCatch<z.ZodBoolean>;
128
+ }, z.core.$strip>>>>>;
129
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
130
+ name: z.ZodString;
131
+ type: z.ZodEnum<{
132
+ string: "string";
133
+ number: "number";
134
+ boolean: "boolean";
135
+ object: "object";
136
+ array: "array";
137
+ }>;
138
+ enabled: z.ZodCatch<z.ZodBoolean>;
139
+ }, z.core.$strip>>>>>;
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
+ }, z.core.$strip>;
1822
+ }, z.core.$strip>, z.ZodObject<{
1823
+ type: z.ZodLiteral<import("./node-type").NodeType.inputNode>;
1824
+ data: z.ZodObject<{
1825
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1826
+ expression: z.ZodString;
1827
+ name: z.ZodString;
1828
+ type: z.ZodEnum<{
1829
+ string: "string";
1830
+ number: "number";
1831
+ boolean: "boolean";
1832
+ object: "object";
1833
+ array: "array";
1834
+ }>;
1835
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
1836
+ LoopCondition: "LoopCondition";
1837
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
1838
+ ExitLoop: "ExitLoop";
1839
+ }>>>>;
1840
+ enabled: z.ZodCatch<z.ZodBoolean>;
1841
+ }, z.core.$strip>>>>>;
1842
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1843
+ name: z.ZodString;
1844
+ type: z.ZodEnum<{
1845
+ string: "string";
1846
+ number: "number";
1847
+ boolean: "boolean";
1848
+ object: "object";
1849
+ array: "array";
1850
+ }>;
1851
+ enabled: z.ZodCatch<z.ZodBoolean>;
1852
+ }, z.core.$strip>>>>>;
1853
+ name: z.ZodString;
1854
+ }, z.core.$strip>;
1855
+ }, z.core.$strip>, z.ZodObject<{
1856
+ type: z.ZodLiteral<import("./node-type").NodeType.outputNode>;
1857
+ data: z.ZodObject<{
1858
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1859
+ expression: z.ZodString;
1860
+ name: z.ZodString;
1861
+ type: z.ZodEnum<{
1862
+ string: "string";
1863
+ number: "number";
1864
+ boolean: "boolean";
1865
+ object: "object";
1866
+ array: "array";
1867
+ }>;
1868
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
1869
+ LoopCondition: "LoopCondition";
1870
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
1871
+ ExitLoop: "ExitLoop";
1872
+ }>>>>;
1873
+ enabled: z.ZodCatch<z.ZodBoolean>;
1874
+ }, z.core.$strip>>>>>;
1875
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1876
+ name: z.ZodString;
1877
+ type: z.ZodEnum<{
1878
+ string: "string";
1879
+ number: "number";
1880
+ boolean: "boolean";
1881
+ object: "object";
1882
+ array: "array";
1883
+ }>;
1884
+ enabled: z.ZodCatch<z.ZodBoolean>;
1885
+ }, z.core.$strip>>>>>;
1886
+ name: z.ZodString;
1887
+ }, z.core.$strip>;
1888
+ }, z.core.$strip>, z.ZodObject<{
1889
+ type: z.ZodLiteral<import("./node-type").NodeType.iteratorNode>;
1890
+ data: z.ZodObject<{
1891
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1892
+ expression: z.ZodString;
1893
+ name: z.ZodString;
1894
+ type: z.ZodEnum<{
1895
+ string: "string";
1896
+ number: "number";
1897
+ boolean: "boolean";
1898
+ object: "object";
1899
+ array: "array";
1900
+ }>;
1901
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
1902
+ LoopCondition: "LoopCondition";
1903
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
1904
+ ExitLoop: "ExitLoop";
1905
+ }>>>>;
1906
+ enabled: z.ZodCatch<z.ZodBoolean>;
1907
+ }, z.core.$strip>>>>>;
1908
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1909
+ name: z.ZodString;
1910
+ type: z.ZodEnum<{
1911
+ string: "string";
1912
+ number: "number";
1913
+ boolean: "boolean";
1914
+ object: "object";
1915
+ array: "array";
1916
+ }>;
1917
+ enabled: z.ZodCatch<z.ZodBoolean>;
1918
+ }, z.core.$strip>>>>>;
1919
+ name: z.ZodString;
1920
+ }, z.core.$strip>;
1921
+ }, z.core.$strip>, z.ZodObject<{
1922
+ type: z.ZodLiteral<import("./node-type").NodeType.knowledgeBaseNode>;
1923
+ data: z.ZodObject<{
1924
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1925
+ expression: z.ZodString;
1926
+ name: z.ZodString;
1927
+ type: z.ZodEnum<{
1928
+ string: "string";
1929
+ number: "number";
1930
+ boolean: "boolean";
1931
+ object: "object";
1932
+ array: "array";
1933
+ }>;
1934
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
1935
+ LoopCondition: "LoopCondition";
1936
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
1937
+ ExitLoop: "ExitLoop";
1938
+ }>>>>;
1939
+ enabled: z.ZodCatch<z.ZodBoolean>;
1940
+ }, z.core.$strip>>>>>;
1941
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1942
+ name: z.ZodString;
1943
+ type: z.ZodEnum<{
1944
+ string: "string";
1945
+ number: "number";
1946
+ boolean: "boolean";
1947
+ object: "object";
1948
+ array: "array";
1949
+ }>;
1950
+ enabled: z.ZodCatch<z.ZodBoolean>;
1951
+ }, z.core.$strip>>>>>;
1952
+ name: z.ZodString;
1953
+ knowledgeBaseId: z.ZodString;
1954
+ guardrailConfiguration: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
1955
+ guardrailIdentifier: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1956
+ guardrailVersion: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1957
+ }, z.core.$strip>>>>;
1958
+ inferenceConfiguration: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
1959
+ text: z.ZodObject<{
1960
+ maxTokens: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1961
+ stopSequences: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>>;
1962
+ temperature: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1963
+ topP: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1964
+ }, z.core.$strip>;
1965
+ }, z.core.$strip>>>>;
1966
+ modelId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1967
+ numberOfResults: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1968
+ orchestrationConfiguration: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
1969
+ additionalModelRequestFields: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1970
+ inferenceConfig: z.ZodObject<{
1971
+ text: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
1972
+ maxTokens: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1973
+ stopSequences: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>>;
1974
+ temperature: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1975
+ topP: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1976
+ }, z.core.$strip>>>>;
1977
+ }, z.core.$strip>;
1978
+ }, z.core.$strip>>>>;
1979
+ promptTemplate: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
1980
+ type: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1981
+ }, z.core.$strip>>>>;
1982
+ rerankingConfiguration: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
1983
+ bedrockRerankingConfiguration: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
1984
+ modelConfiguration: z.ZodObject<{
1985
+ modelArn: z.ZodString;
1986
+ additionalModelRequestFields: z.ZodString;
1987
+ }, z.core.$strip>;
1988
+ MetadataConfiguration: z.ZodObject<{
1989
+ selectionMode: z.ZodEnum<{
1990
+ SELECTIVE: "SELECTIVE";
1991
+ ALL: "ALL";
1992
+ }>;
1993
+ selectiveModeConfiguration: z.ZodObject<{
1994
+ fieldsToExclude: z.ZodObject<{
1995
+ fieldName: z.ZodString;
1996
+ }, z.core.$strip>;
1997
+ }, z.core.$strip>;
1998
+ }, z.core.$strip>;
1999
+ }, z.core.$strip>>>>;
2000
+ }, z.core.$strip>>>>;
2001
+ }, z.core.$strip>;
2002
+ }, z.core.$strip>, z.ZodObject<{
2003
+ type: z.ZodLiteral<import("./node-type").NodeType.lamdaFunctionNode>;
2004
+ data: z.ZodObject<{
2005
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2006
+ expression: z.ZodString;
2007
+ name: z.ZodString;
2008
+ type: z.ZodEnum<{
2009
+ string: "string";
2010
+ number: "number";
2011
+ boolean: "boolean";
2012
+ object: "object";
2013
+ array: "array";
2014
+ }>;
2015
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
2016
+ LoopCondition: "LoopCondition";
2017
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
2018
+ ExitLoop: "ExitLoop";
2019
+ }>>>>;
2020
+ enabled: z.ZodCatch<z.ZodBoolean>;
2021
+ }, z.core.$strip>>>>>;
2022
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2023
+ name: z.ZodString;
2024
+ type: z.ZodEnum<{
2025
+ string: "string";
2026
+ number: "number";
2027
+ boolean: "boolean";
2028
+ object: "object";
2029
+ array: "array";
2030
+ }>;
2031
+ enabled: z.ZodCatch<z.ZodBoolean>;
2032
+ }, z.core.$strip>>>>>;
2033
+ name: z.ZodString;
2034
+ lambdaArn: z.ZodString;
2035
+ }, z.core.$strip>;
2036
+ }, z.core.$strip>, z.ZodObject<{
2037
+ type: z.ZodLiteral<import("./node-type").NodeType.s3RetrievalNode>;
2038
+ data: z.ZodObject<{
2039
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2040
+ expression: z.ZodString;
2041
+ name: z.ZodString;
2042
+ type: z.ZodEnum<{
2043
+ string: "string";
2044
+ number: "number";
2045
+ boolean: "boolean";
2046
+ object: "object";
2047
+ array: "array";
2048
+ }>;
2049
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
2050
+ LoopCondition: "LoopCondition";
2051
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
2052
+ ExitLoop: "ExitLoop";
2053
+ }>>>>;
2054
+ enabled: z.ZodCatch<z.ZodBoolean>;
2055
+ }, z.core.$strip>>>>>;
2056
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2057
+ name: z.ZodString;
2058
+ type: z.ZodEnum<{
2059
+ string: "string";
2060
+ number: "number";
2061
+ boolean: "boolean";
2062
+ object: "object";
2063
+ array: "array";
2064
+ }>;
2065
+ enabled: z.ZodCatch<z.ZodBoolean>;
2066
+ }, z.core.$strip>>>>>;
2067
+ name: z.ZodString;
2068
+ retrieval: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
2069
+ serviceConfiguration: z.ZodObject<{
2070
+ s3: z.ZodObject<{
2071
+ bucketName: z.ZodString;
2072
+ }, z.core.$strip>;
2073
+ }, z.core.$strip>;
2074
+ }, z.core.$strip>>>>;
2075
+ }, z.core.$strip>;
2076
+ }, z.core.$strip>, z.ZodObject<{
2077
+ type: z.ZodLiteral<import("./node-type").NodeType.s3StorageNode>;
2078
+ data: z.ZodObject<{
2079
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2080
+ expression: z.ZodString;
2081
+ name: z.ZodString;
2082
+ type: z.ZodEnum<{
2083
+ string: "string";
2084
+ number: "number";
2085
+ boolean: "boolean";
2086
+ object: "object";
2087
+ array: "array";
2088
+ }>;
2089
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
2090
+ LoopCondition: "LoopCondition";
2091
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
2092
+ ExitLoop: "ExitLoop";
2093
+ }>>>>;
2094
+ enabled: z.ZodCatch<z.ZodBoolean>;
2095
+ }, z.core.$strip>>>>>;
2096
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2097
+ name: z.ZodString;
2098
+ type: z.ZodEnum<{
2099
+ string: "string";
2100
+ number: "number";
2101
+ boolean: "boolean";
2102
+ object: "object";
2103
+ array: "array";
2104
+ }>;
2105
+ enabled: z.ZodCatch<z.ZodBoolean>;
2106
+ }, z.core.$strip>>>>>;
2107
+ name: z.ZodString;
2108
+ serviceConfiguration: z.ZodObject<{
2109
+ s3: z.ZodObject<{
2110
+ bucketName: z.ZodString;
2111
+ }, z.core.$strip>;
2112
+ }, z.core.$strip>;
2113
+ }, z.core.$strip>;
2114
+ }, z.core.$strip>, z.ZodObject<{
2115
+ type: z.ZodLiteral<import("./node-type").NodeType.promptNode>;
2116
+ data: z.ZodObject<{
2117
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2118
+ expression: z.ZodString;
2119
+ name: z.ZodString;
2120
+ type: z.ZodEnum<{
2121
+ string: "string";
2122
+ number: "number";
2123
+ boolean: "boolean";
2124
+ object: "object";
2125
+ array: "array";
2126
+ }>;
2127
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
2128
+ LoopCondition: "LoopCondition";
2129
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
2130
+ ExitLoop: "ExitLoop";
2131
+ }>>>>;
2132
+ enabled: z.ZodCatch<z.ZodBoolean>;
2133
+ }, z.core.$strip>>>>>;
2134
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2135
+ name: z.ZodString;
2136
+ type: z.ZodEnum<{
2137
+ string: "string";
2138
+ number: "number";
2139
+ boolean: "boolean";
2140
+ object: "object";
2141
+ array: "array";
2142
+ }>;
2143
+ enabled: z.ZodCatch<z.ZodBoolean>;
2144
+ }, z.core.$strip>>>>>;
2145
+ name: z.ZodString;
2146
+ sourceConfiguration: z.ZodUnion<readonly [z.ZodObject<{
2147
+ type: z.ZodLiteral<"inline">;
2148
+ modelId: z.ZodString;
2149
+ text: z.ZodCatch<z.ZodString>;
2150
+ }, z.core.$strip>, z.ZodObject<{
2151
+ type: z.ZodLiteral<"resource">;
2152
+ promptArn: z.ZodString;
2153
+ }, z.core.$strip>]>;
2154
+ guardrailConfiguration: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
2155
+ guardrailIdentifier: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
2156
+ guardrailVersion: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
2157
+ }, z.core.$strip>>>>;
2158
+ }, z.core.$strip>;
2159
+ }, z.core.$strip>, z.ZodObject<{
2160
+ type: z.ZodLiteral<import("./node-type").NodeType.lexNode>;
2161
+ data: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
2162
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2163
+ expression: z.ZodString;
2164
+ name: z.ZodString;
2165
+ type: z.ZodEnum<{
2166
+ string: "string";
2167
+ number: "number";
2168
+ boolean: "boolean";
2169
+ object: "object";
2170
+ array: "array";
2171
+ }>;
2172
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
2173
+ LoopCondition: "LoopCondition";
2174
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
2175
+ ExitLoop: "ExitLoop";
2176
+ }>>>>;
2177
+ enabled: z.ZodCatch<z.ZodBoolean>;
2178
+ }, z.core.$strip>>>>>;
2179
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2180
+ name: z.ZodString;
2181
+ type: z.ZodEnum<{
2182
+ string: "string";
2183
+ number: "number";
2184
+ boolean: "boolean";
2185
+ object: "object";
2186
+ array: "array";
2187
+ }>;
2188
+ enabled: z.ZodCatch<z.ZodBoolean>;
2189
+ }, z.core.$strip>>>>>;
2190
+ name: z.ZodString;
2191
+ botAliasArn: z.ZodString;
2192
+ localeId: z.ZodString;
2193
+ }, z.core.$strip>>>>;
2194
+ }, z.core.$strip>, z.ZodObject<{
2195
+ type: z.ZodLiteral<import("./node-type").NodeType.inlineNode>;
2196
+ data: z.ZodObject<{
2197
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2198
+ expression: z.ZodString;
2199
+ name: z.ZodString;
2200
+ type: z.ZodEnum<{
2201
+ string: "string";
2202
+ number: "number";
2203
+ boolean: "boolean";
2204
+ object: "object";
2205
+ array: "array";
2206
+ }>;
2207
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
2208
+ LoopCondition: "LoopCondition";
2209
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
2210
+ ExitLoop: "ExitLoop";
2211
+ }>>>>;
2212
+ enabled: z.ZodCatch<z.ZodBoolean>;
2213
+ }, z.core.$strip>>>>>;
2214
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2215
+ name: z.ZodString;
2216
+ type: z.ZodEnum<{
2217
+ string: "string";
2218
+ number: "number";
2219
+ boolean: "boolean";
2220
+ object: "object";
2221
+ array: "array";
2222
+ }>;
2223
+ enabled: z.ZodCatch<z.ZodBoolean>;
2224
+ }, z.core.$strip>>>>>;
2225
+ name: z.ZodString;
2226
+ }, z.core.$strip>;
2227
+ }, z.core.$strip>]>>;
2228
+ edges: z.ZodArray<z.ZodObject<{
2229
+ source: z.ZodString;
2230
+ sourceHandle: z.ZodString;
2231
+ target: z.ZodString;
2232
+ targetHandle: z.ZodString;
2233
+ id: z.ZodString;
2234
+ }, z.core.$strip>>;
2235
+ }, z.core.$strip>;
2236
+ }, z.core.$strip>;
2237
+ export type WorkflowFile = z.infer<typeof WorkflowFileSchema>;