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