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