chatbot-lex-design-builder 2.0.41 → 2.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/dist/cjs/workflows/lib/nodes/agent-node.d.ts +1 -1
  2. package/dist/cjs/workflows/lib/nodes/agent-node.js +4 -2
  3. package/dist/cjs/workflows/lib/nodes/agent-node.js.map +1 -1
  4. package/dist/cjs/workflows/lib/nodes/collector-node.d.ts +1 -1
  5. package/dist/cjs/workflows/lib/nodes/collector-node.js +4 -2
  6. package/dist/cjs/workflows/lib/nodes/collector-node.js.map +1 -1
  7. package/dist/cjs/workflows/lib/nodes/condition-node.d.ts +1 -1
  8. package/dist/cjs/workflows/lib/nodes/condition-node.js +4 -2
  9. package/dist/cjs/workflows/lib/nodes/condition-node.js.map +1 -1
  10. package/dist/cjs/workflows/lib/nodes/do-while-loop-node.d.ts +105 -3356
  11. package/dist/cjs/workflows/lib/nodes/do-while-loop-node.js +36 -33
  12. package/dist/cjs/workflows/lib/nodes/do-while-loop-node.js.map +1 -1
  13. package/dist/cjs/workflows/lib/nodes/export-to-flows.js +200 -76
  14. package/dist/cjs/workflows/lib/nodes/export-to-flows.js.map +1 -1
  15. package/dist/cjs/workflows/lib/nodes/flow-Input-node.d.ts +1 -1
  16. package/dist/cjs/workflows/lib/nodes/flow-Input-node.js +4 -2
  17. package/dist/cjs/workflows/lib/nodes/flow-Input-node.js.map +1 -1
  18. package/dist/cjs/workflows/lib/nodes/flow-output-node.d.ts +1 -1
  19. package/dist/cjs/workflows/lib/nodes/flow-output-node.js +4 -2
  20. package/dist/cjs/workflows/lib/nodes/flow-output-node.js.map +1 -1
  21. package/dist/cjs/workflows/lib/nodes/flow.d.ts +118 -1694
  22. package/dist/cjs/workflows/lib/nodes/graph.d.ts +118 -1694
  23. package/dist/cjs/workflows/lib/nodes/graph.js +4 -2
  24. package/dist/cjs/workflows/lib/nodes/graph.js.map +1 -1
  25. package/dist/cjs/workflows/lib/nodes/index.d.ts +2 -0
  26. package/dist/cjs/workflows/lib/nodes/index.js +2 -0
  27. package/dist/cjs/workflows/lib/nodes/index.js.map +1 -1
  28. package/dist/cjs/workflows/lib/nodes/inline-node.d.ts +1 -1
  29. package/dist/cjs/workflows/lib/nodes/inline-node.js +4 -2
  30. package/dist/cjs/workflows/lib/nodes/inline-node.js.map +1 -1
  31. package/dist/cjs/workflows/lib/nodes/iterator-node.d.ts +1 -1
  32. package/dist/cjs/workflows/lib/nodes/iterator-node.js +1 -1
  33. package/dist/cjs/workflows/lib/nodes/iterator-node.js.map +1 -1
  34. package/dist/cjs/workflows/lib/nodes/knowledge-base-node.d.ts +1 -1
  35. package/dist/cjs/workflows/lib/nodes/knowledge-base-node.js +4 -2
  36. package/dist/cjs/workflows/lib/nodes/knowledge-base-node.js.map +1 -1
  37. package/dist/cjs/workflows/lib/nodes/lamda-function-node.d.ts +1 -1
  38. package/dist/cjs/workflows/lib/nodes/lamda-function-node.js +4 -2
  39. package/dist/cjs/workflows/lib/nodes/lamda-function-node.js.map +1 -1
  40. package/dist/cjs/workflows/lib/nodes/lex-node.d.ts +1 -1
  41. package/dist/cjs/workflows/lib/nodes/lex-node.js +4 -2
  42. package/dist/cjs/workflows/lib/nodes/lex-node.js.map +1 -1
  43. package/dist/cjs/workflows/lib/nodes/loop-controller-node.d.ts +142 -0
  44. package/dist/cjs/workflows/lib/nodes/loop-controller-node.js +29 -0
  45. package/dist/cjs/workflows/lib/nodes/loop-controller-node.js.map +1 -0
  46. package/dist/cjs/workflows/lib/nodes/loop-input-node.d.ts +70 -0
  47. package/dist/cjs/workflows/lib/nodes/loop-input-node.js +16 -0
  48. package/dist/cjs/workflows/lib/nodes/loop-input-node.js.map +1 -0
  49. package/dist/cjs/workflows/lib/nodes/node-type.d.ts +3 -1
  50. package/dist/cjs/workflows/lib/nodes/node-type.js +2 -0
  51. package/dist/cjs/workflows/lib/nodes/node-type.js.map +1 -1
  52. package/dist/cjs/workflows/lib/nodes/node.d.ts +117 -1693
  53. package/dist/cjs/workflows/lib/nodes/node.js +5 -1
  54. package/dist/cjs/workflows/lib/nodes/node.js.map +1 -1
  55. package/dist/cjs/workflows/lib/nodes/prompts-node.d.ts +1 -1
  56. package/dist/cjs/workflows/lib/nodes/prompts-node.js +1 -1
  57. package/dist/cjs/workflows/lib/nodes/prompts-node.js.map +1 -1
  58. package/dist/cjs/workflows/lib/nodes/s3-retrieval-node.d.ts +1 -1
  59. package/dist/cjs/workflows/lib/nodes/s3-retrieval-node.js +4 -2
  60. package/dist/cjs/workflows/lib/nodes/s3-retrieval-node.js.map +1 -1
  61. package/dist/cjs/workflows/lib/nodes/s3-storage-node.d.ts +1 -1
  62. package/dist/cjs/workflows/lib/nodes/s3-storage-node.js +4 -2
  63. package/dist/cjs/workflows/lib/nodes/s3-storage-node.js.map +1 -1
  64. package/dist/esm/workflows/lib/nodes/agent-node.d.ts +1 -1
  65. package/dist/esm/workflows/lib/nodes/agent-node.js +4 -2
  66. package/dist/esm/workflows/lib/nodes/agent-node.js.map +1 -1
  67. package/dist/esm/workflows/lib/nodes/collector-node.d.ts +1 -1
  68. package/dist/esm/workflows/lib/nodes/collector-node.js +4 -2
  69. package/dist/esm/workflows/lib/nodes/collector-node.js.map +1 -1
  70. package/dist/esm/workflows/lib/nodes/condition-node.d.ts +1 -1
  71. package/dist/esm/workflows/lib/nodes/condition-node.js +4 -2
  72. package/dist/esm/workflows/lib/nodes/condition-node.js.map +1 -1
  73. package/dist/esm/workflows/lib/nodes/do-while-loop-node.d.ts +105 -3356
  74. package/dist/esm/workflows/lib/nodes/do-while-loop-node.js +35 -32
  75. package/dist/esm/workflows/lib/nodes/do-while-loop-node.js.map +1 -1
  76. package/dist/esm/workflows/lib/nodes/export-to-flows.js +200 -76
  77. package/dist/esm/workflows/lib/nodes/export-to-flows.js.map +1 -1
  78. package/dist/esm/workflows/lib/nodes/flow-Input-node.d.ts +1 -1
  79. package/dist/esm/workflows/lib/nodes/flow-Input-node.js +4 -2
  80. package/dist/esm/workflows/lib/nodes/flow-Input-node.js.map +1 -1
  81. package/dist/esm/workflows/lib/nodes/flow-output-node.d.ts +1 -1
  82. package/dist/esm/workflows/lib/nodes/flow-output-node.js +4 -2
  83. package/dist/esm/workflows/lib/nodes/flow-output-node.js.map +1 -1
  84. package/dist/esm/workflows/lib/nodes/flow.d.ts +118 -1694
  85. package/dist/esm/workflows/lib/nodes/graph.d.ts +118 -1694
  86. package/dist/esm/workflows/lib/nodes/graph.js +4 -2
  87. package/dist/esm/workflows/lib/nodes/graph.js.map +1 -1
  88. package/dist/esm/workflows/lib/nodes/index.d.ts +2 -0
  89. package/dist/esm/workflows/lib/nodes/index.js +2 -0
  90. package/dist/esm/workflows/lib/nodes/index.js.map +1 -1
  91. package/dist/esm/workflows/lib/nodes/inline-node.d.ts +1 -1
  92. package/dist/esm/workflows/lib/nodes/inline-node.js +4 -2
  93. package/dist/esm/workflows/lib/nodes/inline-node.js.map +1 -1
  94. package/dist/esm/workflows/lib/nodes/iterator-node.d.ts +1 -1
  95. package/dist/esm/workflows/lib/nodes/iterator-node.js +1 -1
  96. package/dist/esm/workflows/lib/nodes/iterator-node.js.map +1 -1
  97. package/dist/esm/workflows/lib/nodes/knowledge-base-node.d.ts +1 -1
  98. package/dist/esm/workflows/lib/nodes/knowledge-base-node.js +4 -2
  99. package/dist/esm/workflows/lib/nodes/knowledge-base-node.js.map +1 -1
  100. package/dist/esm/workflows/lib/nodes/lamda-function-node.d.ts +1 -1
  101. package/dist/esm/workflows/lib/nodes/lamda-function-node.js +4 -2
  102. package/dist/esm/workflows/lib/nodes/lamda-function-node.js.map +1 -1
  103. package/dist/esm/workflows/lib/nodes/lex-node.d.ts +1 -1
  104. package/dist/esm/workflows/lib/nodes/lex-node.js +4 -2
  105. package/dist/esm/workflows/lib/nodes/lex-node.js.map +1 -1
  106. package/dist/esm/workflows/lib/nodes/loop-controller-node.d.ts +142 -0
  107. package/dist/esm/workflows/lib/nodes/loop-controller-node.js +23 -0
  108. package/dist/esm/workflows/lib/nodes/loop-controller-node.js.map +1 -0
  109. package/dist/esm/workflows/lib/nodes/loop-input-node.d.ts +70 -0
  110. package/dist/esm/workflows/lib/nodes/loop-input-node.js +10 -0
  111. package/dist/esm/workflows/lib/nodes/loop-input-node.js.map +1 -0
  112. package/dist/esm/workflows/lib/nodes/node-type.d.ts +3 -1
  113. package/dist/esm/workflows/lib/nodes/node-type.js +2 -0
  114. package/dist/esm/workflows/lib/nodes/node-type.js.map +1 -1
  115. package/dist/esm/workflows/lib/nodes/node.d.ts +117 -1693
  116. package/dist/esm/workflows/lib/nodes/node.js +5 -1
  117. package/dist/esm/workflows/lib/nodes/node.js.map +1 -1
  118. package/dist/esm/workflows/lib/nodes/prompts-node.d.ts +1 -1
  119. package/dist/esm/workflows/lib/nodes/prompts-node.js +1 -1
  120. package/dist/esm/workflows/lib/nodes/prompts-node.js.map +1 -1
  121. package/dist/esm/workflows/lib/nodes/s3-retrieval-node.d.ts +1 -1
  122. package/dist/esm/workflows/lib/nodes/s3-retrieval-node.js +4 -2
  123. package/dist/esm/workflows/lib/nodes/s3-retrieval-node.js.map +1 -1
  124. package/dist/esm/workflows/lib/nodes/s3-storage-node.d.ts +1 -1
  125. package/dist/esm/workflows/lib/nodes/s3-storage-node.js +4 -2
  126. package/dist/esm/workflows/lib/nodes/s3-storage-node.js.map +1 -1
  127. package/package.json +1 -1
@@ -1,37 +1,9 @@
1
1
  import z from "zod";
2
2
  import { NodeType } from "./node-type";
3
- export declare const DoWhileLoopDataSchema: z.ZodObject<{
4
- inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
5
- expression: z.ZodString;
6
- name: z.ZodString;
7
- type: z.ZodEnum<{
8
- string: "string";
9
- number: "number";
10
- boolean: "boolean";
11
- object: "object";
12
- array: "array";
13
- }>;
14
- category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
15
- LoopCondition: "LoopCondition";
16
- ReturnValueToLoopStart: "ReturnValueToLoopStart";
17
- ExitLoop: "ExitLoop";
18
- }>>>>;
19
- enabled: z.ZodCatch<z.ZodBoolean>;
20
- }, z.core.$strip>>>>>;
21
- outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
22
- name: z.ZodString;
23
- type: z.ZodEnum<{
24
- string: "string";
25
- number: "number";
26
- boolean: "boolean";
27
- object: "object";
28
- array: "array";
29
- }>;
30
- enabled: z.ZodCatch<z.ZodBoolean>;
31
- }, z.core.$strip>>>>>;
32
- name: z.ZodString;
33
- definition: z.ZodObject<{
34
- Type: z.ZodObject<{
3
+ export declare const DefinitionSchema: z.ZodObject<{
4
+ loopInput: z.ZodObject<{
5
+ type: z.ZodLiteral<NodeType.loopInputNode>;
6
+ data: z.ZodObject<{
35
7
  inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
36
8
  expression: z.ZodString;
37
9
  name: z.ZodString;
@@ -61,1656 +33,113 @@ export declare const DoWhileLoopDataSchema: z.ZodObject<{
61
33
  enabled: z.ZodCatch<z.ZodBoolean>;
62
34
  }, z.core.$strip>>>>>;
63
35
  name: z.ZodString;
64
- source: z.ZodString;
65
- target: z.ZodString;
66
- type: z.ZodEnum<{
67
- Data: "Data";
68
- Conditional: "Conditional";
69
- }>;
70
- configuration: z.ZodObject<{
71
- type: z.ZodObject<{
72
- condition: z.ZodString;
73
- data: z.ZodObject<{
74
- sourceOutput: z.ZodString;
75
- targetInput: z.ZodString;
76
- }, z.core.$strip>;
77
- }, z.core.$strip>;
78
- }, z.core.$strip>;
79
36
  }, z.core.$strip>;
80
- nodes: z.ZodObject<{
37
+ parentId: z.ZodOptional<z.ZodString>;
38
+ }, z.core.$strip>;
39
+ loopController: z.ZodObject<{
40
+ type: z.ZodLiteral<NodeType.loopControllerNode>;
41
+ data: z.ZodObject<{
42
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
43
+ expression: z.ZodString;
44
+ name: z.ZodString;
45
+ type: z.ZodEnum<{
46
+ string: "string";
47
+ number: "number";
48
+ boolean: "boolean";
49
+ object: "object";
50
+ array: "array";
51
+ }>;
52
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
53
+ LoopCondition: "LoopCondition";
54
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
55
+ ExitLoop: "ExitLoop";
56
+ }>>>>;
57
+ enabled: z.ZodCatch<z.ZodBoolean>;
58
+ }, z.core.$strip>>>>>;
59
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
60
+ name: z.ZodString;
61
+ type: z.ZodEnum<{
62
+ string: "string";
63
+ number: "number";
64
+ boolean: "boolean";
65
+ object: "object";
66
+ array: "array";
67
+ }>;
68
+ enabled: z.ZodCatch<z.ZodBoolean>;
69
+ }, z.core.$strip>>>>>;
81
70
  name: z.ZodString;
82
- type: typeof NodeType;
83
- configuration: z.ZodUnion<readonly [z.ZodObject<{
84
- id: z.ZodString;
85
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.closingResponseNode>;
86
- data: z.ZodObject<{
87
- active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
88
- response: z.ZodCatch<z.ZodArray<z.ZodObject<{
89
- languageCode: z.ZodString;
90
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
91
- id: z.ZodString;
92
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
93
- title: z.ZodString;
94
- }, z.core.$strip>, z.ZodObject<{
95
- id: z.ZodString;
96
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
97
- title: z.ZodString;
98
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
99
- id: z.ZodString;
100
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
101
- label: z.ZodString;
102
- payload: z.ZodString;
103
- valueToShow: z.ZodString;
104
- }, z.core.$strip>, z.ZodObject<{
105
- id: z.ZodString;
106
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
107
- label: z.ZodString;
108
- url: z.ZodString;
109
- }, z.core.$strip>, z.ZodObject<{
110
- id: z.ZodString;
111
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
112
- label: z.ZodString;
113
- payload: z.ZodString;
114
- valueToShow: z.ZodString;
115
- }, z.core.$strip>]>>;
116
- }, z.core.$strip>, z.ZodObject<{
117
- id: z.ZodString;
118
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
119
- title: z.ZodString;
120
- }, z.core.$strip>, z.ZodObject<{
121
- id: z.ZodString;
122
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
123
- cards: z.ZodArray<z.ZodObject<{
124
- id: z.ZodString;
125
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
- body: z.ZodObject<{
127
- title: z.ZodString;
128
- description: z.ZodString;
129
- }, z.core.$strip>;
130
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
131
- id: z.ZodString;
132
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
133
- label: z.ZodString;
134
- payload: z.ZodString;
135
- valueToShow: z.ZodString;
136
- }, z.core.$strip>, z.ZodObject<{
137
- id: z.ZodString;
138
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
139
- label: z.ZodString;
140
- url: z.ZodString;
141
- }, z.core.$strip>]>>;
142
- }, z.core.$strip>>;
143
- }, z.core.$strip>, z.ZodObject<{
144
- id: z.ZodString;
145
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
146
- title: z.ZodString;
147
- subtitle: z.ZodString;
148
- fields: z.ZodArray<z.ZodObject<{
149
- id: z.ZodString;
150
- name: z.ZodString;
151
- type: z.ZodPrefault<z.ZodEnum<{
152
- time: "time";
153
- file: "file";
154
- url: "url";
155
- textarea: "textarea";
156
- text: "text";
157
- email: "email";
158
- tel: "tel";
159
- date: "date";
160
- "datetime-local": "datetime-local";
161
- password: "password";
162
- }>>;
163
- label: z.ZodCatch<z.ZodString>;
164
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
165
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
166
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
167
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
168
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
169
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
170
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
171
- }, z.core.$strip>>;
172
- submitButton: z.ZodObject<{
173
- label: z.ZodCatch<z.ZodString>;
174
- }, z.core.$strip>;
175
- }, z.core.$strip>, z.ZodObject<{
176
- id: z.ZodString;
177
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
178
- }, z.core.$strip>]>>>;
179
- }, z.core.$strip>>>;
180
- sessionAttributes: z.ZodCatch<z.ZodString>;
181
- }, z.core.$strip>;
182
- }, z.core.$strip>, z.ZodObject<{
183
- id: z.ZodString;
184
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.codeHookNode>;
185
- data: z.ZodObject<{
186
- label: z.ZodString;
187
- invocationLabel: z.ZodString;
188
- active: z.ZodNullable<z.ZodBoolean>;
189
- success: z.ZodCatch<z.ZodArray<z.ZodObject<{
190
- languageCode: z.ZodString;
191
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
192
- id: z.ZodString;
193
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
194
- title: z.ZodString;
195
- }, z.core.$strip>, z.ZodObject<{
196
- id: z.ZodString;
197
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
198
- title: z.ZodString;
199
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
200
- id: z.ZodString;
201
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
202
- label: z.ZodString;
203
- payload: z.ZodString;
204
- valueToShow: z.ZodString;
205
- }, z.core.$strip>, z.ZodObject<{
206
- id: z.ZodString;
207
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
208
- label: z.ZodString;
209
- url: z.ZodString;
210
- }, z.core.$strip>, z.ZodObject<{
211
- id: z.ZodString;
212
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
213
- label: z.ZodString;
214
- payload: z.ZodString;
215
- valueToShow: z.ZodString;
216
- }, z.core.$strip>]>>;
217
- }, z.core.$strip>, z.ZodObject<{
218
- id: z.ZodString;
219
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
220
- title: z.ZodString;
221
- }, z.core.$strip>, z.ZodObject<{
222
- id: z.ZodString;
223
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
224
- cards: z.ZodArray<z.ZodObject<{
225
- id: z.ZodString;
226
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
227
- body: z.ZodObject<{
228
- title: z.ZodString;
229
- description: z.ZodString;
230
- }, z.core.$strip>;
231
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
232
- id: z.ZodString;
233
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
234
- label: z.ZodString;
235
- payload: z.ZodString;
236
- valueToShow: z.ZodString;
237
- }, z.core.$strip>, z.ZodObject<{
238
- id: z.ZodString;
239
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
240
- label: z.ZodString;
241
- url: z.ZodString;
242
- }, z.core.$strip>]>>;
243
- }, z.core.$strip>>;
244
- }, z.core.$strip>, z.ZodObject<{
245
- id: z.ZodString;
246
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
247
- title: z.ZodString;
248
- subtitle: z.ZodString;
249
- fields: z.ZodArray<z.ZodObject<{
250
- id: z.ZodString;
251
- name: z.ZodString;
252
- type: z.ZodPrefault<z.ZodEnum<{
253
- time: "time";
254
- file: "file";
255
- url: "url";
256
- textarea: "textarea";
257
- text: "text";
258
- email: "email";
259
- tel: "tel";
260
- date: "date";
261
- "datetime-local": "datetime-local";
262
- password: "password";
263
- }>>;
264
- label: z.ZodCatch<z.ZodString>;
265
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
266
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
267
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
268
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
269
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
270
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
271
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
272
- }, z.core.$strip>>;
273
- submitButton: z.ZodObject<{
274
- label: z.ZodCatch<z.ZodString>;
275
- }, z.core.$strip>;
276
- }, z.core.$strip>, z.ZodObject<{
277
- id: z.ZodString;
278
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
279
- }, z.core.$strip>]>>>;
280
- }, z.core.$strip>>>;
281
- failure: z.ZodCatch<z.ZodArray<z.ZodObject<{
282
- languageCode: z.ZodString;
283
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
284
- id: z.ZodString;
285
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
286
- title: z.ZodString;
287
- }, z.core.$strip>, z.ZodObject<{
288
- id: z.ZodString;
289
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
290
- title: z.ZodString;
291
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
292
- id: z.ZodString;
293
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
294
- label: z.ZodString;
295
- payload: z.ZodString;
296
- valueToShow: z.ZodString;
297
- }, z.core.$strip>, z.ZodObject<{
298
- id: z.ZodString;
299
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
300
- label: z.ZodString;
301
- url: z.ZodString;
302
- }, z.core.$strip>, z.ZodObject<{
303
- id: z.ZodString;
304
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
305
- label: z.ZodString;
306
- payload: z.ZodString;
307
- valueToShow: z.ZodString;
308
- }, z.core.$strip>]>>;
309
- }, z.core.$strip>, z.ZodObject<{
310
- id: z.ZodString;
311
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
312
- title: z.ZodString;
313
- }, z.core.$strip>, z.ZodObject<{
314
- id: z.ZodString;
315
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
316
- cards: z.ZodArray<z.ZodObject<{
317
- id: z.ZodString;
318
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
319
- body: z.ZodObject<{
320
- title: z.ZodString;
321
- description: z.ZodString;
322
- }, z.core.$strip>;
323
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
324
- id: z.ZodString;
325
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
326
- label: z.ZodString;
327
- payload: z.ZodString;
328
- valueToShow: z.ZodString;
329
- }, z.core.$strip>, z.ZodObject<{
330
- id: z.ZodString;
331
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
332
- label: z.ZodString;
333
- url: z.ZodString;
334
- }, z.core.$strip>]>>;
335
- }, z.core.$strip>>;
336
- }, z.core.$strip>, z.ZodObject<{
337
- id: z.ZodString;
338
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
339
- title: z.ZodString;
340
- subtitle: z.ZodString;
341
- fields: z.ZodArray<z.ZodObject<{
342
- id: z.ZodString;
343
- name: z.ZodString;
344
- type: z.ZodPrefault<z.ZodEnum<{
345
- time: "time";
346
- file: "file";
347
- url: "url";
348
- textarea: "textarea";
349
- text: "text";
350
- email: "email";
351
- tel: "tel";
352
- date: "date";
353
- "datetime-local": "datetime-local";
354
- password: "password";
355
- }>>;
356
- label: z.ZodCatch<z.ZodString>;
357
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
358
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
359
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
360
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
361
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
362
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
363
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
364
- }, z.core.$strip>>;
365
- submitButton: z.ZodObject<{
366
- label: z.ZodCatch<z.ZodString>;
367
- }, z.core.$strip>;
368
- }, z.core.$strip>, z.ZodObject<{
369
- id: z.ZodString;
370
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
371
- }, z.core.$strip>]>>>;
372
- }, z.core.$strip>>>;
373
- timeout: z.ZodCatch<z.ZodArray<z.ZodObject<{
374
- languageCode: z.ZodString;
375
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
376
- id: z.ZodString;
377
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
378
- title: z.ZodString;
379
- }, z.core.$strip>, z.ZodObject<{
380
- id: z.ZodString;
381
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
382
- title: z.ZodString;
383
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
384
- id: z.ZodString;
385
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
386
- label: z.ZodString;
387
- payload: z.ZodString;
388
- valueToShow: z.ZodString;
389
- }, z.core.$strip>, z.ZodObject<{
390
- id: z.ZodString;
391
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
392
- label: z.ZodString;
393
- url: z.ZodString;
394
- }, z.core.$strip>, z.ZodObject<{
395
- id: z.ZodString;
396
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
397
- label: z.ZodString;
398
- payload: z.ZodString;
399
- valueToShow: z.ZodString;
400
- }, z.core.$strip>]>>;
401
- }, z.core.$strip>, z.ZodObject<{
402
- id: z.ZodString;
403
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
404
- title: z.ZodString;
405
- }, z.core.$strip>, z.ZodObject<{
406
- id: z.ZodString;
407
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
408
- cards: z.ZodArray<z.ZodObject<{
409
- id: z.ZodString;
410
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
411
- body: z.ZodObject<{
412
- title: z.ZodString;
413
- description: z.ZodString;
414
- }, z.core.$strip>;
415
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
416
- id: z.ZodString;
417
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
418
- label: z.ZodString;
419
- payload: z.ZodString;
420
- valueToShow: z.ZodString;
421
- }, z.core.$strip>, z.ZodObject<{
422
- id: z.ZodString;
423
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
424
- label: z.ZodString;
425
- url: z.ZodString;
426
- }, z.core.$strip>]>>;
427
- }, z.core.$strip>>;
428
- }, z.core.$strip>, z.ZodObject<{
429
- id: z.ZodString;
430
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
431
- title: z.ZodString;
432
- subtitle: z.ZodString;
433
- fields: z.ZodArray<z.ZodObject<{
434
- id: z.ZodString;
435
- name: z.ZodString;
436
- type: z.ZodPrefault<z.ZodEnum<{
437
- time: "time";
438
- file: "file";
439
- url: "url";
440
- textarea: "textarea";
441
- text: "text";
442
- email: "email";
443
- tel: "tel";
444
- date: "date";
445
- "datetime-local": "datetime-local";
446
- password: "password";
447
- }>>;
448
- label: z.ZodCatch<z.ZodString>;
449
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
450
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
451
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
452
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
453
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
454
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
455
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
456
- }, z.core.$strip>>;
457
- submitButton: z.ZodObject<{
458
- label: z.ZodCatch<z.ZodString>;
459
- }, z.core.$strip>;
460
- }, z.core.$strip>, z.ZodObject<{
461
- id: z.ZodString;
462
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
463
- }, z.core.$strip>]>>>;
464
- }, z.core.$strip>>>;
465
- webhookId: z.ZodString;
466
- merchantId: z.ZodCatch<z.ZodString>;
467
- sessionAttributes: z.ZodCatch<z.ZodString>;
468
- isInvocationLabelDisabled: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
469
- }, z.core.$strip>;
470
- }, z.core.$strip>, z.ZodObject<{
471
- id: z.ZodString;
472
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.conditionNode>;
473
- data: z.ZodObject<{
474
- response: z.ZodCatch<z.ZodArray<z.ZodObject<{
475
- languageCode: z.ZodString;
476
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
477
- id: z.ZodString;
478
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
479
- title: z.ZodString;
480
- }, z.core.$strip>, z.ZodObject<{
481
- id: z.ZodString;
482
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
483
- title: z.ZodString;
484
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
485
- id: z.ZodString;
486
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
487
- label: z.ZodString;
488
- payload: z.ZodString;
489
- valueToShow: z.ZodString;
490
- }, z.core.$strip>, z.ZodObject<{
491
- id: z.ZodString;
492
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
493
- label: z.ZodString;
494
- url: z.ZodString;
495
- }, z.core.$strip>, z.ZodObject<{
496
- id: z.ZodString;
497
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
498
- label: z.ZodString;
499
- payload: z.ZodString;
500
- valueToShow: z.ZodString;
501
- }, z.core.$strip>]>>;
502
- }, z.core.$strip>, z.ZodObject<{
503
- id: z.ZodString;
504
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
505
- title: z.ZodString;
506
- }, z.core.$strip>, z.ZodObject<{
507
- id: z.ZodString;
508
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
509
- cards: z.ZodArray<z.ZodObject<{
510
- id: z.ZodString;
511
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
512
- body: z.ZodObject<{
513
- title: z.ZodString;
514
- description: z.ZodString;
515
- }, z.core.$strip>;
516
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
517
- id: z.ZodString;
518
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
519
- label: z.ZodString;
520
- payload: z.ZodString;
521
- valueToShow: z.ZodString;
522
- }, z.core.$strip>, z.ZodObject<{
523
- id: z.ZodString;
524
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
525
- label: z.ZodString;
526
- url: z.ZodString;
527
- }, z.core.$strip>]>>;
528
- }, z.core.$strip>>;
529
- }, z.core.$strip>, z.ZodObject<{
530
- id: z.ZodString;
531
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
532
- title: z.ZodString;
533
- subtitle: z.ZodString;
534
- fields: z.ZodArray<z.ZodObject<{
535
- id: z.ZodString;
536
- name: z.ZodString;
537
- type: z.ZodPrefault<z.ZodEnum<{
538
- time: "time";
539
- file: "file";
540
- url: "url";
541
- textarea: "textarea";
542
- text: "text";
543
- email: "email";
544
- tel: "tel";
545
- date: "date";
546
- "datetime-local": "datetime-local";
547
- password: "password";
548
- }>>;
549
- label: z.ZodCatch<z.ZodString>;
550
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
551
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
552
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
553
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
554
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
555
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
556
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
557
- }, z.core.$strip>>;
558
- submitButton: z.ZodObject<{
559
- label: z.ZodCatch<z.ZodString>;
560
- }, z.core.$strip>;
561
- }, z.core.$strip>, z.ZodObject<{
562
- id: z.ZodString;
563
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
564
- }, z.core.$strip>]>>>;
565
- }, z.core.$strip>>>;
566
- branches: z.ZodArray<z.ZodObject<{
567
- id: z.ZodString;
568
- name: z.ZodString;
569
- expression: z.ZodString;
570
- response: z.ZodCatch<z.ZodArray<z.ZodObject<{
571
- languageCode: z.ZodString;
572
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
573
- id: z.ZodString;
574
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
575
- title: z.ZodString;
576
- }, z.core.$strip>, z.ZodObject<{
577
- id: z.ZodString;
578
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
579
- title: z.ZodString;
580
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
581
- id: z.ZodString;
582
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
583
- label: z.ZodString;
584
- payload: z.ZodString;
585
- valueToShow: z.ZodString;
586
- }, z.core.$strip>, z.ZodObject<{
587
- id: z.ZodString;
588
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
589
- label: z.ZodString;
590
- url: z.ZodString;
591
- }, z.core.$strip>, z.ZodObject<{
592
- id: z.ZodString;
593
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
594
- label: z.ZodString;
595
- payload: z.ZodString;
596
- valueToShow: z.ZodString;
597
- }, z.core.$strip>]>>;
598
- }, z.core.$strip>, z.ZodObject<{
599
- id: z.ZodString;
600
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
601
- title: z.ZodString;
602
- }, z.core.$strip>, z.ZodObject<{
603
- id: z.ZodString;
604
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
605
- cards: z.ZodArray<z.ZodObject<{
606
- id: z.ZodString;
607
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
608
- body: z.ZodObject<{
609
- title: z.ZodString;
610
- description: z.ZodString;
611
- }, z.core.$strip>;
612
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
613
- id: z.ZodString;
614
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
615
- label: z.ZodString;
616
- payload: z.ZodString;
617
- valueToShow: z.ZodString;
618
- }, z.core.$strip>, z.ZodObject<{
619
- id: z.ZodString;
620
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
621
- label: z.ZodString;
622
- url: z.ZodString;
623
- }, z.core.$strip>]>>;
624
- }, z.core.$strip>>;
625
- }, z.core.$strip>, z.ZodObject<{
626
- id: z.ZodString;
627
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
628
- title: z.ZodString;
629
- subtitle: z.ZodString;
630
- fields: z.ZodArray<z.ZodObject<{
631
- id: z.ZodString;
632
- name: z.ZodString;
633
- type: z.ZodPrefault<z.ZodEnum<{
634
- time: "time";
635
- file: "file";
636
- url: "url";
637
- textarea: "textarea";
638
- text: "text";
639
- email: "email";
640
- tel: "tel";
641
- date: "date";
642
- "datetime-local": "datetime-local";
643
- password: "password";
644
- }>>;
645
- label: z.ZodCatch<z.ZodString>;
646
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
647
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
648
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
649
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
650
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
651
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
652
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
653
- }, z.core.$strip>>;
654
- submitButton: z.ZodObject<{
655
- label: z.ZodCatch<z.ZodString>;
656
- }, z.core.$strip>;
657
- }, z.core.$strip>, z.ZodObject<{
658
- id: z.ZodString;
659
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
660
- }, z.core.$strip>]>>>;
661
- }, z.core.$strip>>>;
662
- }, z.core.$strip>>;
663
- sessionAttributes: z.ZodCatch<z.ZodString>;
664
- }, z.core.$strip>;
665
- }, z.core.$strip>, z.ZodObject<{
666
- id: z.ZodString;
667
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.confirmationNode>;
668
- data: z.ZodObject<{
669
- label: z.ZodString;
670
- prompt: z.ZodArray<z.ZodObject<{
671
- languageCode: z.ZodString;
672
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
673
- id: z.ZodString;
674
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
675
- title: z.ZodString;
676
- }, z.core.$strip>, z.ZodObject<{
677
- id: z.ZodString;
678
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
679
- title: z.ZodString;
680
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
681
- id: z.ZodString;
682
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
683
- label: z.ZodString;
684
- payload: z.ZodString;
685
- valueToShow: z.ZodString;
686
- }, z.core.$strip>, z.ZodObject<{
687
- id: z.ZodString;
688
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
689
- label: z.ZodString;
690
- url: z.ZodString;
691
- }, z.core.$strip>, z.ZodObject<{
692
- id: z.ZodString;
693
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
694
- label: z.ZodString;
695
- payload: z.ZodString;
696
- valueToShow: z.ZodString;
697
- }, z.core.$strip>]>>;
698
- }, z.core.$strip>, z.ZodObject<{
699
- id: z.ZodString;
700
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
701
- title: z.ZodString;
702
- }, z.core.$strip>, z.ZodObject<{
703
- id: z.ZodString;
704
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
705
- cards: z.ZodArray<z.ZodObject<{
706
- id: z.ZodString;
707
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
708
- body: z.ZodObject<{
709
- title: z.ZodString;
710
- description: z.ZodString;
711
- }, z.core.$strip>;
712
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
713
- id: z.ZodString;
714
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
715
- label: z.ZodString;
716
- payload: z.ZodString;
717
- valueToShow: z.ZodString;
718
- }, z.core.$strip>, z.ZodObject<{
719
- id: z.ZodString;
720
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
721
- label: z.ZodString;
722
- url: z.ZodString;
723
- }, z.core.$strip>]>>;
724
- }, z.core.$strip>>;
725
- }, z.core.$strip>, z.ZodObject<{
726
- id: z.ZodString;
727
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
728
- title: z.ZodString;
729
- subtitle: z.ZodString;
730
- fields: z.ZodArray<z.ZodObject<{
731
- id: z.ZodString;
732
- name: z.ZodString;
733
- type: z.ZodPrefault<z.ZodEnum<{
734
- time: "time";
735
- file: "file";
736
- url: "url";
737
- textarea: "textarea";
738
- text: "text";
739
- email: "email";
740
- tel: "tel";
741
- date: "date";
742
- "datetime-local": "datetime-local";
743
- password: "password";
744
- }>>;
745
- label: z.ZodCatch<z.ZodString>;
746
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
747
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
748
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
749
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
750
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
751
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
752
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
753
- }, z.core.$strip>>;
754
- submitButton: z.ZodObject<{
755
- label: z.ZodCatch<z.ZodString>;
756
- }, z.core.$strip>;
757
- }, z.core.$strip>, z.ZodObject<{
758
- id: z.ZodString;
759
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
760
- }, z.core.$strip>]>>>;
761
- }, z.core.$strip>>;
762
- success: z.ZodCatch<z.ZodArray<z.ZodObject<{
763
- languageCode: z.ZodString;
764
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
765
- id: z.ZodString;
766
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
767
- title: z.ZodString;
768
- }, z.core.$strip>, z.ZodObject<{
769
- id: z.ZodString;
770
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
771
- title: z.ZodString;
772
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
773
- id: z.ZodString;
774
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
775
- label: z.ZodString;
776
- payload: z.ZodString;
777
- valueToShow: z.ZodString;
778
- }, z.core.$strip>, z.ZodObject<{
779
- id: z.ZodString;
780
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
781
- label: z.ZodString;
782
- url: z.ZodString;
783
- }, z.core.$strip>, z.ZodObject<{
784
- id: z.ZodString;
785
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
786
- label: z.ZodString;
787
- payload: z.ZodString;
788
- valueToShow: z.ZodString;
789
- }, z.core.$strip>]>>;
790
- }, z.core.$strip>, z.ZodObject<{
791
- id: z.ZodString;
792
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
793
- title: z.ZodString;
794
- }, z.core.$strip>, z.ZodObject<{
795
- id: z.ZodString;
796
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
797
- cards: z.ZodArray<z.ZodObject<{
798
- id: z.ZodString;
799
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
800
- body: z.ZodObject<{
801
- title: z.ZodString;
802
- description: z.ZodString;
803
- }, z.core.$strip>;
804
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
805
- id: z.ZodString;
806
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
807
- label: z.ZodString;
808
- payload: z.ZodString;
809
- valueToShow: z.ZodString;
810
- }, z.core.$strip>, z.ZodObject<{
811
- id: z.ZodString;
812
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
813
- label: z.ZodString;
814
- url: z.ZodString;
815
- }, z.core.$strip>]>>;
816
- }, z.core.$strip>>;
817
- }, z.core.$strip>, z.ZodObject<{
818
- id: z.ZodString;
819
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
820
- title: z.ZodString;
821
- subtitle: z.ZodString;
822
- fields: z.ZodArray<z.ZodObject<{
823
- id: z.ZodString;
824
- name: z.ZodString;
825
- type: z.ZodPrefault<z.ZodEnum<{
826
- time: "time";
827
- file: "file";
828
- url: "url";
829
- textarea: "textarea";
830
- text: "text";
831
- email: "email";
832
- tel: "tel";
833
- date: "date";
834
- "datetime-local": "datetime-local";
835
- password: "password";
836
- }>>;
837
- label: z.ZodCatch<z.ZodString>;
838
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
839
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
840
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
841
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
842
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
843
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
844
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
845
- }, z.core.$strip>>;
846
- submitButton: z.ZodObject<{
847
- label: z.ZodCatch<z.ZodString>;
848
- }, z.core.$strip>;
849
- }, z.core.$strip>, z.ZodObject<{
850
- id: z.ZodString;
851
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
852
- }, z.core.$strip>]>>>;
853
- }, z.core.$strip>>>;
854
- failure: z.ZodCatch<z.ZodArray<z.ZodObject<{
855
- languageCode: z.ZodString;
856
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
857
- id: z.ZodString;
858
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
859
- title: z.ZodString;
860
- }, z.core.$strip>, z.ZodObject<{
861
- id: z.ZodString;
862
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
863
- title: z.ZodString;
864
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
865
- id: z.ZodString;
866
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
867
- label: z.ZodString;
868
- payload: z.ZodString;
869
- valueToShow: z.ZodString;
870
- }, z.core.$strip>, z.ZodObject<{
871
- id: z.ZodString;
872
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
873
- label: z.ZodString;
874
- url: z.ZodString;
875
- }, z.core.$strip>, z.ZodObject<{
876
- id: z.ZodString;
877
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
878
- label: z.ZodString;
879
- payload: z.ZodString;
880
- valueToShow: z.ZodString;
881
- }, z.core.$strip>]>>;
882
- }, z.core.$strip>, z.ZodObject<{
883
- id: z.ZodString;
884
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
885
- title: z.ZodString;
886
- }, z.core.$strip>, z.ZodObject<{
887
- id: z.ZodString;
888
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
889
- cards: z.ZodArray<z.ZodObject<{
890
- id: z.ZodString;
891
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
892
- body: z.ZodObject<{
893
- title: z.ZodString;
894
- description: z.ZodString;
895
- }, z.core.$strip>;
896
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
897
- id: z.ZodString;
898
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
899
- label: z.ZodString;
900
- payload: z.ZodString;
901
- valueToShow: z.ZodString;
902
- }, z.core.$strip>, z.ZodObject<{
903
- id: z.ZodString;
904
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
905
- label: z.ZodString;
906
- url: z.ZodString;
907
- }, z.core.$strip>]>>;
908
- }, z.core.$strip>>;
909
- }, z.core.$strip>, z.ZodObject<{
910
- id: z.ZodString;
911
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
912
- title: z.ZodString;
913
- subtitle: z.ZodString;
914
- fields: z.ZodArray<z.ZodObject<{
915
- id: z.ZodString;
916
- name: z.ZodString;
917
- type: z.ZodPrefault<z.ZodEnum<{
918
- time: "time";
919
- file: "file";
920
- url: "url";
921
- textarea: "textarea";
922
- text: "text";
923
- email: "email";
924
- tel: "tel";
925
- date: "date";
926
- "datetime-local": "datetime-local";
927
- password: "password";
928
- }>>;
929
- label: z.ZodCatch<z.ZodString>;
930
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
931
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
932
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
933
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
934
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
935
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
936
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
937
- }, z.core.$strip>>;
938
- submitButton: z.ZodObject<{
939
- label: z.ZodCatch<z.ZodString>;
940
- }, z.core.$strip>;
941
- }, z.core.$strip>, z.ZodObject<{
942
- id: z.ZodString;
943
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
944
- }, z.core.$strip>]>>>;
945
- }, z.core.$strip>>>;
946
- decline: z.ZodCatch<z.ZodArray<z.ZodObject<{
947
- languageCode: z.ZodString;
948
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
949
- id: z.ZodString;
950
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
951
- title: z.ZodString;
952
- }, z.core.$strip>, z.ZodObject<{
953
- id: z.ZodString;
954
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
955
- title: z.ZodString;
956
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
957
- id: z.ZodString;
958
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
959
- label: z.ZodString;
960
- payload: z.ZodString;
961
- valueToShow: z.ZodString;
962
- }, z.core.$strip>, z.ZodObject<{
963
- id: z.ZodString;
964
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
965
- label: z.ZodString;
966
- url: z.ZodString;
967
- }, z.core.$strip>, z.ZodObject<{
968
- id: z.ZodString;
969
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
970
- label: z.ZodString;
971
- payload: z.ZodString;
972
- valueToShow: z.ZodString;
973
- }, z.core.$strip>]>>;
974
- }, z.core.$strip>, z.ZodObject<{
975
- id: z.ZodString;
976
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
977
- title: z.ZodString;
978
- }, z.core.$strip>, z.ZodObject<{
979
- id: z.ZodString;
980
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
981
- cards: z.ZodArray<z.ZodObject<{
982
- id: z.ZodString;
983
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
984
- body: z.ZodObject<{
985
- title: z.ZodString;
986
- description: z.ZodString;
987
- }, z.core.$strip>;
988
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
989
- id: z.ZodString;
990
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
991
- label: z.ZodString;
992
- payload: z.ZodString;
993
- valueToShow: z.ZodString;
994
- }, z.core.$strip>, z.ZodObject<{
995
- id: z.ZodString;
996
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
997
- label: z.ZodString;
998
- url: z.ZodString;
999
- }, z.core.$strip>]>>;
1000
- }, z.core.$strip>>;
1001
- }, z.core.$strip>, z.ZodObject<{
1002
- id: z.ZodString;
1003
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1004
- title: z.ZodString;
1005
- subtitle: z.ZodString;
1006
- fields: z.ZodArray<z.ZodObject<{
1007
- id: z.ZodString;
1008
- name: z.ZodString;
1009
- type: z.ZodPrefault<z.ZodEnum<{
1010
- time: "time";
1011
- file: "file";
1012
- url: "url";
1013
- textarea: "textarea";
1014
- text: "text";
1015
- email: "email";
1016
- tel: "tel";
1017
- date: "date";
1018
- "datetime-local": "datetime-local";
1019
- password: "password";
1020
- }>>;
1021
- label: z.ZodCatch<z.ZodString>;
1022
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1023
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1024
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1025
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1026
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1027
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1028
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1029
- }, z.core.$strip>>;
1030
- submitButton: z.ZodObject<{
1031
- label: z.ZodCatch<z.ZodString>;
1032
- }, z.core.$strip>;
1033
- }, z.core.$strip>, z.ZodObject<{
1034
- id: z.ZodString;
1035
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1036
- }, z.core.$strip>]>>>;
1037
- }, z.core.$strip>>>;
1038
- sessionAttributes: z.ZodCatch<z.ZodString>;
1039
- }, z.core.$strip>;
1040
- }, z.core.$strip>, z.ZodObject<{
1041
- id: z.ZodString;
1042
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.endOfConversationNode>;
1043
- data: z.ZodObject<{
1044
- sessionAttributes: z.ZodCatch<z.ZodString>;
1045
- }, z.core.$strip>;
1046
- }, z.core.$strip>, z.ZodObject<{
1047
- id: z.ZodString;
1048
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.fullfillmentNode>;
1049
- data: z.ZodObject<{
1050
- label: z.ZodString;
1051
- invocationLabel: z.ZodString;
1052
- active: z.ZodNullable<z.ZodBoolean>;
1053
- success: z.ZodCatch<z.ZodArray<z.ZodObject<{
1054
- languageCode: z.ZodString;
1055
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1056
- id: z.ZodString;
1057
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1058
- title: z.ZodString;
1059
- }, z.core.$strip>, z.ZodObject<{
1060
- id: z.ZodString;
1061
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1062
- title: z.ZodString;
1063
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1064
- id: z.ZodString;
1065
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1066
- label: z.ZodString;
1067
- payload: z.ZodString;
1068
- valueToShow: z.ZodString;
1069
- }, z.core.$strip>, z.ZodObject<{
1070
- id: z.ZodString;
1071
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1072
- label: z.ZodString;
1073
- url: z.ZodString;
1074
- }, z.core.$strip>, z.ZodObject<{
1075
- id: z.ZodString;
1076
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1077
- label: z.ZodString;
1078
- payload: z.ZodString;
1079
- valueToShow: z.ZodString;
1080
- }, z.core.$strip>]>>;
1081
- }, z.core.$strip>, z.ZodObject<{
1082
- id: z.ZodString;
1083
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1084
- title: z.ZodString;
1085
- }, z.core.$strip>, z.ZodObject<{
1086
- id: z.ZodString;
1087
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1088
- cards: z.ZodArray<z.ZodObject<{
1089
- id: z.ZodString;
1090
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1091
- body: z.ZodObject<{
1092
- title: z.ZodString;
1093
- description: z.ZodString;
1094
- }, z.core.$strip>;
1095
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1096
- id: z.ZodString;
1097
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1098
- label: z.ZodString;
1099
- payload: z.ZodString;
1100
- valueToShow: z.ZodString;
1101
- }, z.core.$strip>, z.ZodObject<{
1102
- id: z.ZodString;
1103
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1104
- label: z.ZodString;
1105
- url: z.ZodString;
1106
- }, z.core.$strip>]>>;
1107
- }, z.core.$strip>>;
1108
- }, z.core.$strip>, z.ZodObject<{
1109
- id: z.ZodString;
1110
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1111
- title: z.ZodString;
1112
- subtitle: z.ZodString;
1113
- fields: z.ZodArray<z.ZodObject<{
1114
- id: z.ZodString;
1115
- name: z.ZodString;
1116
- type: z.ZodPrefault<z.ZodEnum<{
1117
- time: "time";
1118
- file: "file";
1119
- url: "url";
1120
- textarea: "textarea";
1121
- text: "text";
1122
- email: "email";
1123
- tel: "tel";
1124
- date: "date";
1125
- "datetime-local": "datetime-local";
1126
- password: "password";
1127
- }>>;
1128
- label: z.ZodCatch<z.ZodString>;
1129
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1130
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1131
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1132
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1133
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1134
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1135
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1136
- }, z.core.$strip>>;
1137
- submitButton: z.ZodObject<{
1138
- label: z.ZodCatch<z.ZodString>;
1139
- }, z.core.$strip>;
1140
- }, z.core.$strip>, z.ZodObject<{
1141
- id: z.ZodString;
1142
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1143
- }, z.core.$strip>]>>>;
1144
- }, z.core.$strip>>>;
1145
- failure: z.ZodCatch<z.ZodArray<z.ZodObject<{
1146
- languageCode: z.ZodString;
1147
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1148
- id: z.ZodString;
1149
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1150
- title: z.ZodString;
1151
- }, z.core.$strip>, z.ZodObject<{
1152
- id: z.ZodString;
1153
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1154
- title: z.ZodString;
1155
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1156
- id: z.ZodString;
1157
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1158
- label: z.ZodString;
1159
- payload: z.ZodString;
1160
- valueToShow: z.ZodString;
1161
- }, z.core.$strip>, z.ZodObject<{
1162
- id: z.ZodString;
1163
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1164
- label: z.ZodString;
1165
- url: z.ZodString;
1166
- }, z.core.$strip>, z.ZodObject<{
1167
- id: z.ZodString;
1168
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1169
- label: z.ZodString;
1170
- payload: z.ZodString;
1171
- valueToShow: z.ZodString;
1172
- }, z.core.$strip>]>>;
1173
- }, z.core.$strip>, z.ZodObject<{
1174
- id: z.ZodString;
1175
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1176
- title: z.ZodString;
1177
- }, z.core.$strip>, z.ZodObject<{
1178
- id: z.ZodString;
1179
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1180
- cards: z.ZodArray<z.ZodObject<{
1181
- id: z.ZodString;
1182
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1183
- body: z.ZodObject<{
1184
- title: z.ZodString;
1185
- description: z.ZodString;
1186
- }, z.core.$strip>;
1187
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1188
- id: z.ZodString;
1189
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1190
- label: z.ZodString;
1191
- payload: z.ZodString;
1192
- valueToShow: z.ZodString;
1193
- }, z.core.$strip>, z.ZodObject<{
1194
- id: z.ZodString;
1195
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1196
- label: z.ZodString;
1197
- url: z.ZodString;
1198
- }, z.core.$strip>]>>;
1199
- }, z.core.$strip>>;
1200
- }, z.core.$strip>, z.ZodObject<{
1201
- id: z.ZodString;
1202
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1203
- title: z.ZodString;
1204
- subtitle: z.ZodString;
1205
- fields: z.ZodArray<z.ZodObject<{
1206
- id: z.ZodString;
1207
- name: z.ZodString;
1208
- type: z.ZodPrefault<z.ZodEnum<{
1209
- time: "time";
1210
- file: "file";
1211
- url: "url";
1212
- textarea: "textarea";
1213
- text: "text";
1214
- email: "email";
1215
- tel: "tel";
1216
- date: "date";
1217
- "datetime-local": "datetime-local";
1218
- password: "password";
1219
- }>>;
1220
- label: z.ZodCatch<z.ZodString>;
1221
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1222
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1223
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1224
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1225
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1226
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1227
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1228
- }, z.core.$strip>>;
1229
- submitButton: z.ZodObject<{
1230
- label: z.ZodCatch<z.ZodString>;
1231
- }, z.core.$strip>;
1232
- }, z.core.$strip>, z.ZodObject<{
1233
- id: z.ZodString;
1234
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1235
- }, z.core.$strip>]>>>;
1236
- }, z.core.$strip>>>;
1237
- timeout: z.ZodCatch<z.ZodArray<z.ZodObject<{
1238
- languageCode: z.ZodString;
1239
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1240
- id: z.ZodString;
1241
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1242
- title: z.ZodString;
1243
- }, z.core.$strip>, z.ZodObject<{
1244
- id: z.ZodString;
1245
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1246
- title: z.ZodString;
1247
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1248
- id: z.ZodString;
1249
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1250
- label: z.ZodString;
1251
- payload: z.ZodString;
1252
- valueToShow: z.ZodString;
1253
- }, z.core.$strip>, z.ZodObject<{
1254
- id: z.ZodString;
1255
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1256
- label: z.ZodString;
1257
- url: z.ZodString;
1258
- }, z.core.$strip>, z.ZodObject<{
1259
- id: z.ZodString;
1260
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1261
- label: z.ZodString;
1262
- payload: z.ZodString;
1263
- valueToShow: z.ZodString;
1264
- }, z.core.$strip>]>>;
1265
- }, z.core.$strip>, z.ZodObject<{
1266
- id: z.ZodString;
1267
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1268
- title: z.ZodString;
1269
- }, z.core.$strip>, z.ZodObject<{
1270
- id: z.ZodString;
1271
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1272
- cards: z.ZodArray<z.ZodObject<{
1273
- id: z.ZodString;
1274
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1275
- body: z.ZodObject<{
1276
- title: z.ZodString;
1277
- description: z.ZodString;
1278
- }, z.core.$strip>;
1279
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1280
- id: z.ZodString;
1281
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1282
- label: z.ZodString;
1283
- payload: z.ZodString;
1284
- valueToShow: z.ZodString;
1285
- }, z.core.$strip>, z.ZodObject<{
1286
- id: z.ZodString;
1287
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1288
- label: z.ZodString;
1289
- url: z.ZodString;
1290
- }, z.core.$strip>]>>;
1291
- }, z.core.$strip>>;
1292
- }, z.core.$strip>, z.ZodObject<{
1293
- id: z.ZodString;
1294
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1295
- title: z.ZodString;
1296
- subtitle: z.ZodString;
1297
- fields: z.ZodArray<z.ZodObject<{
1298
- id: z.ZodString;
1299
- name: z.ZodString;
1300
- type: z.ZodPrefault<z.ZodEnum<{
1301
- time: "time";
1302
- file: "file";
1303
- url: "url";
1304
- textarea: "textarea";
1305
- text: "text";
1306
- email: "email";
1307
- tel: "tel";
1308
- date: "date";
1309
- "datetime-local": "datetime-local";
1310
- password: "password";
1311
- }>>;
1312
- label: z.ZodCatch<z.ZodString>;
1313
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1314
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1315
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1316
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1317
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1318
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1319
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1320
- }, z.core.$strip>>;
1321
- submitButton: z.ZodObject<{
1322
- label: z.ZodCatch<z.ZodString>;
1323
- }, z.core.$strip>;
1324
- }, z.core.$strip>, z.ZodObject<{
1325
- id: z.ZodString;
1326
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1327
- }, z.core.$strip>]>>>;
1328
- }, z.core.$strip>>>;
1329
- webhookId: z.ZodString;
1330
- merchantId: z.ZodCatch<z.ZodString>;
1331
- sessionAttributes: z.ZodCatch<z.ZodString>;
1332
- }, z.core.$strip>;
1333
- }, z.core.$strip>, z.ZodObject<{
1334
- id: z.ZodString;
1335
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.goToIntentNode>;
1336
- data: z.ZodObject<{
1337
- intentId: z.ZodString;
1338
- sessionAttributes: z.ZodCatch<z.ZodString>;
1339
- }, z.core.$strip>;
1340
- }, z.core.$strip>, z.ZodObject<{
1341
- id: z.ZodString;
1342
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.intentNode>;
1343
- data: z.ZodObject<{
1344
- label: z.ZodString;
1345
- name: z.ZodString;
1346
- description: z.ZodCatch<z.ZodString>;
1347
- utterances: z.ZodArray<z.ZodObject<{
1348
- languageCode: z.ZodString;
1349
- utterances: z.ZodCatch<z.ZodString>;
1350
- }, z.core.$strip>>;
1351
- isFallback: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
1352
- isNameDisabled: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
1353
- }, z.core.$strip>;
1354
- }, z.core.$strip>, z.ZodObject<{
1355
- id: z.ZodString;
1356
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.slotNode>;
1357
- data: z.ZodObject<{
1358
- name: z.ZodString;
1359
- description: z.ZodCatch<z.ZodString>;
1360
- defaultValue: z.ZodCatch<z.ZodString>;
1361
- required: z.ZodNullable<z.ZodBoolean>;
1362
- utterances: z.ZodArray<z.ZodObject<{
1363
- languageCode: z.ZodString;
1364
- utterances: z.ZodCatch<z.ZodString>;
1365
- }, z.core.$strip>>;
1366
- label: z.ZodString;
1367
- prompt: z.ZodArray<z.ZodObject<{
1368
- languageCode: z.ZodString;
1369
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1370
- id: z.ZodString;
1371
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1372
- title: z.ZodString;
1373
- }, z.core.$strip>, z.ZodObject<{
1374
- id: z.ZodString;
1375
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1376
- title: z.ZodString;
1377
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1378
- id: z.ZodString;
1379
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1380
- label: z.ZodString;
1381
- payload: z.ZodString;
1382
- valueToShow: z.ZodString;
1383
- }, z.core.$strip>, z.ZodObject<{
1384
- id: z.ZodString;
1385
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1386
- label: z.ZodString;
1387
- url: z.ZodString;
1388
- }, z.core.$strip>, z.ZodObject<{
1389
- id: z.ZodString;
1390
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1391
- label: z.ZodString;
1392
- payload: z.ZodString;
1393
- valueToShow: z.ZodString;
1394
- }, z.core.$strip>]>>;
1395
- }, z.core.$strip>, z.ZodObject<{
1396
- id: z.ZodString;
1397
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1398
- title: z.ZodString;
1399
- }, z.core.$strip>, z.ZodObject<{
1400
- id: z.ZodString;
1401
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1402
- cards: z.ZodArray<z.ZodObject<{
1403
- id: z.ZodString;
1404
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1405
- body: z.ZodObject<{
1406
- title: z.ZodString;
1407
- description: z.ZodString;
1408
- }, z.core.$strip>;
1409
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1410
- id: z.ZodString;
1411
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1412
- label: z.ZodString;
1413
- payload: z.ZodString;
1414
- valueToShow: z.ZodString;
1415
- }, z.core.$strip>, z.ZodObject<{
1416
- id: z.ZodString;
1417
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1418
- label: z.ZodString;
1419
- url: z.ZodString;
1420
- }, z.core.$strip>]>>;
1421
- }, z.core.$strip>>;
1422
- }, z.core.$strip>, z.ZodObject<{
1423
- id: z.ZodString;
1424
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1425
- title: z.ZodString;
1426
- subtitle: z.ZodString;
1427
- fields: z.ZodArray<z.ZodObject<{
1428
- id: z.ZodString;
1429
- name: z.ZodString;
1430
- type: z.ZodPrefault<z.ZodEnum<{
1431
- time: "time";
1432
- file: "file";
1433
- url: "url";
1434
- textarea: "textarea";
1435
- text: "text";
1436
- email: "email";
1437
- tel: "tel";
1438
- date: "date";
1439
- "datetime-local": "datetime-local";
1440
- password: "password";
1441
- }>>;
1442
- label: z.ZodCatch<z.ZodString>;
1443
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1444
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1445
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1446
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1447
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1448
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1449
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1450
- }, z.core.$strip>>;
1451
- submitButton: z.ZodObject<{
1452
- label: z.ZodCatch<z.ZodString>;
1453
- }, z.core.$strip>;
1454
- }, z.core.$strip>, z.ZodObject<{
1455
- id: z.ZodString;
1456
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1457
- }, z.core.$strip>]>>>;
1458
- }, z.core.$strip>>;
1459
- success: z.ZodCatch<z.ZodArray<z.ZodObject<{
1460
- languageCode: z.ZodString;
1461
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1462
- id: z.ZodString;
1463
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1464
- title: z.ZodString;
1465
- }, z.core.$strip>, z.ZodObject<{
1466
- id: z.ZodString;
1467
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1468
- title: z.ZodString;
1469
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1470
- id: z.ZodString;
1471
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1472
- label: z.ZodString;
1473
- payload: z.ZodString;
1474
- valueToShow: z.ZodString;
1475
- }, z.core.$strip>, z.ZodObject<{
1476
- id: z.ZodString;
1477
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1478
- label: z.ZodString;
1479
- url: z.ZodString;
1480
- }, z.core.$strip>, z.ZodObject<{
1481
- id: z.ZodString;
1482
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1483
- label: z.ZodString;
1484
- payload: z.ZodString;
1485
- valueToShow: z.ZodString;
1486
- }, z.core.$strip>]>>;
1487
- }, z.core.$strip>, z.ZodObject<{
1488
- id: z.ZodString;
1489
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1490
- title: z.ZodString;
1491
- }, z.core.$strip>, z.ZodObject<{
1492
- id: z.ZodString;
1493
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1494
- cards: z.ZodArray<z.ZodObject<{
1495
- id: z.ZodString;
1496
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1497
- body: z.ZodObject<{
1498
- title: z.ZodString;
1499
- description: z.ZodString;
1500
- }, z.core.$strip>;
1501
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1502
- id: z.ZodString;
1503
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1504
- label: z.ZodString;
1505
- payload: z.ZodString;
1506
- valueToShow: z.ZodString;
1507
- }, z.core.$strip>, z.ZodObject<{
1508
- id: z.ZodString;
1509
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1510
- label: z.ZodString;
1511
- url: z.ZodString;
1512
- }, z.core.$strip>]>>;
1513
- }, z.core.$strip>>;
1514
- }, z.core.$strip>, z.ZodObject<{
1515
- id: z.ZodString;
1516
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1517
- title: z.ZodString;
1518
- subtitle: z.ZodString;
1519
- fields: z.ZodArray<z.ZodObject<{
1520
- id: z.ZodString;
1521
- name: z.ZodString;
1522
- type: z.ZodPrefault<z.ZodEnum<{
1523
- time: "time";
1524
- file: "file";
1525
- url: "url";
1526
- textarea: "textarea";
1527
- text: "text";
1528
- email: "email";
1529
- tel: "tel";
1530
- date: "date";
1531
- "datetime-local": "datetime-local";
1532
- password: "password";
1533
- }>>;
1534
- label: z.ZodCatch<z.ZodString>;
1535
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1536
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1537
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1538
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1539
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1540
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1541
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1542
- }, z.core.$strip>>;
1543
- submitButton: z.ZodObject<{
1544
- label: z.ZodCatch<z.ZodString>;
1545
- }, z.core.$strip>;
1546
- }, z.core.$strip>, z.ZodObject<{
1547
- id: z.ZodString;
1548
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1549
- }, z.core.$strip>]>>>;
1550
- }, z.core.$strip>>>;
1551
- failure: z.ZodCatch<z.ZodArray<z.ZodObject<{
1552
- languageCode: z.ZodString;
1553
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1554
- id: z.ZodString;
1555
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1556
- title: z.ZodString;
1557
- }, z.core.$strip>, z.ZodObject<{
1558
- id: z.ZodString;
1559
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1560
- title: z.ZodString;
1561
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1562
- id: z.ZodString;
1563
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1564
- label: z.ZodString;
1565
- payload: z.ZodString;
1566
- valueToShow: z.ZodString;
1567
- }, z.core.$strip>, z.ZodObject<{
1568
- id: z.ZodString;
1569
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1570
- label: z.ZodString;
1571
- url: z.ZodString;
1572
- }, z.core.$strip>, z.ZodObject<{
1573
- id: z.ZodString;
1574
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1575
- label: z.ZodString;
1576
- payload: z.ZodString;
1577
- valueToShow: z.ZodString;
1578
- }, z.core.$strip>]>>;
1579
- }, z.core.$strip>, z.ZodObject<{
1580
- id: z.ZodString;
1581
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1582
- title: z.ZodString;
1583
- }, z.core.$strip>, z.ZodObject<{
1584
- id: z.ZodString;
1585
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1586
- cards: z.ZodArray<z.ZodObject<{
1587
- id: z.ZodString;
1588
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1589
- body: z.ZodObject<{
1590
- title: z.ZodString;
1591
- description: z.ZodString;
1592
- }, z.core.$strip>;
1593
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1594
- id: z.ZodString;
1595
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1596
- label: z.ZodString;
1597
- payload: z.ZodString;
1598
- valueToShow: z.ZodString;
1599
- }, z.core.$strip>, z.ZodObject<{
1600
- id: z.ZodString;
1601
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1602
- label: z.ZodString;
1603
- url: z.ZodString;
1604
- }, z.core.$strip>]>>;
1605
- }, z.core.$strip>>;
1606
- }, z.core.$strip>, z.ZodObject<{
1607
- id: z.ZodString;
1608
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1609
- title: z.ZodString;
1610
- subtitle: z.ZodString;
1611
- fields: z.ZodArray<z.ZodObject<{
1612
- id: z.ZodString;
1613
- name: z.ZodString;
1614
- type: z.ZodPrefault<z.ZodEnum<{
1615
- time: "time";
1616
- file: "file";
1617
- url: "url";
1618
- textarea: "textarea";
1619
- text: "text";
1620
- email: "email";
1621
- tel: "tel";
1622
- date: "date";
1623
- "datetime-local": "datetime-local";
1624
- password: "password";
1625
- }>>;
1626
- label: z.ZodCatch<z.ZodString>;
1627
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1628
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1629
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1630
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1631
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1632
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1633
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1634
- }, z.core.$strip>>;
1635
- submitButton: z.ZodObject<{
1636
- label: z.ZodCatch<z.ZodString>;
1637
- }, z.core.$strip>;
1638
- }, z.core.$strip>, z.ZodObject<{
1639
- id: z.ZodString;
1640
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1641
- }, z.core.$strip>]>>>;
1642
- }, z.core.$strip>>>;
1643
- type: z.ZodString;
1644
- sessionAttributes: z.ZodCatch<z.ZodString>;
1645
- isNameDisabled: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
1646
- isTypeDisabled: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
1647
- }, z.core.$strip>;
1648
- }, z.core.$strip>]>;
1649
- input: z.ZodObject<{
1650
- inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1651
- expression: z.ZodString;
1652
- name: z.ZodString;
1653
- type: z.ZodEnum<{
1654
- string: "string";
1655
- number: "number";
1656
- boolean: "boolean";
1657
- object: "object";
1658
- array: "array";
1659
- }>;
1660
- category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
1661
- LoopCondition: "LoopCondition";
1662
- ReturnValueToLoopStart: "ReturnValueToLoopStart";
1663
- ExitLoop: "ExitLoop";
1664
- }>>>>;
1665
- enabled: z.ZodCatch<z.ZodBoolean>;
1666
- }, z.core.$strip>>>>>;
1667
- outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1668
- name: z.ZodString;
1669
- type: z.ZodEnum<{
1670
- string: "string";
1671
- number: "number";
1672
- boolean: "boolean";
1673
- object: "object";
1674
- array: "array";
1675
- }>;
1676
- enabled: z.ZodCatch<z.ZodBoolean>;
1677
- }, z.core.$strip>>>>>;
71
+ expression: z.ZodString;
72
+ maxIterations: z.ZodNumber;
73
+ returnValues: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
74
+ expression: z.ZodString;
1678
75
  name: z.ZodString;
1679
- }, z.core.$strip>;
1680
- output: z.ZodObject<{
1681
- inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1682
- expression: z.ZodString;
1683
- name: z.ZodString;
1684
- type: z.ZodEnum<{
1685
- string: "string";
1686
- number: "number";
1687
- boolean: "boolean";
1688
- object: "object";
1689
- array: "array";
1690
- }>;
1691
- category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
1692
- LoopCondition: "LoopCondition";
1693
- ReturnValueToLoopStart: "ReturnValueToLoopStart";
1694
- ExitLoop: "ExitLoop";
1695
- }>>>>;
1696
- enabled: z.ZodCatch<z.ZodBoolean>;
1697
- }, z.core.$strip>>>>>;
1698
- outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1699
- name: z.ZodString;
1700
- type: z.ZodEnum<{
1701
- string: "string";
1702
- number: "number";
1703
- boolean: "boolean";
1704
- object: "object";
1705
- array: "array";
1706
- }>;
1707
- enabled: z.ZodCatch<z.ZodBoolean>;
1708
- }, z.core.$strip>>>>>;
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
+ exitValues: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
91
+ expression: z.ZodString;
1709
92
  name: z.ZodString;
1710
- }, z.core.$strip>;
93
+ type: z.ZodEnum<{
94
+ string: "string";
95
+ number: "number";
96
+ boolean: "boolean";
97
+ object: "object";
98
+ array: "array";
99
+ }>;
100
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
101
+ LoopCondition: "LoopCondition";
102
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
103
+ ExitLoop: "ExitLoop";
104
+ }>>>>;
105
+ enabled: z.ZodCatch<z.ZodBoolean>;
106
+ }, z.core.$strip>>>>>;
1711
107
  }, z.core.$strip>;
108
+ parentId: z.ZodOptional<z.ZodString>;
1712
109
  }, z.core.$strip>;
1713
110
  }, z.core.$strip>;
111
+ export type Definition = z.infer<typeof DefinitionSchema>;
112
+ export declare const DoWhileLoopDataSchema: z.ZodObject<{
113
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
114
+ expression: z.ZodString;
115
+ name: z.ZodString;
116
+ type: z.ZodEnum<{
117
+ string: "string";
118
+ number: "number";
119
+ boolean: "boolean";
120
+ object: "object";
121
+ array: "array";
122
+ }>;
123
+ category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
124
+ LoopCondition: "LoopCondition";
125
+ ReturnValueToLoopStart: "ReturnValueToLoopStart";
126
+ ExitLoop: "ExitLoop";
127
+ }>>>>;
128
+ enabled: z.ZodCatch<z.ZodBoolean>;
129
+ }, z.core.$strip>>>>>;
130
+ outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
131
+ name: z.ZodString;
132
+ type: z.ZodEnum<{
133
+ string: "string";
134
+ number: "number";
135
+ boolean: "boolean";
136
+ object: "object";
137
+ array: "array";
138
+ }>;
139
+ enabled: z.ZodCatch<z.ZodBoolean>;
140
+ }, z.core.$strip>>>>>;
141
+ name: z.ZodString;
142
+ }, z.core.$strip>;
1714
143
  export type DoWhileLoopData = z.infer<typeof DoWhileLoopDataSchema>;
1715
144
  export declare const DoWhileLoopNodeSchema: z.ZodObject<{
1716
145
  type: z.ZodLiteral<NodeType.doWhileLoopNode>;
@@ -1744,1686 +173,6 @@ export declare const DoWhileLoopNodeSchema: z.ZodObject<{
1744
173
  enabled: z.ZodCatch<z.ZodBoolean>;
1745
174
  }, z.core.$strip>>>>>;
1746
175
  name: z.ZodString;
1747
- definition: z.ZodObject<{
1748
- Type: z.ZodObject<{
1749
- inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1750
- expression: z.ZodString;
1751
- name: z.ZodString;
1752
- type: z.ZodEnum<{
1753
- string: "string";
1754
- number: "number";
1755
- boolean: "boolean";
1756
- object: "object";
1757
- array: "array";
1758
- }>;
1759
- category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
1760
- LoopCondition: "LoopCondition";
1761
- ReturnValueToLoopStart: "ReturnValueToLoopStart";
1762
- ExitLoop: "ExitLoop";
1763
- }>>>>;
1764
- enabled: z.ZodCatch<z.ZodBoolean>;
1765
- }, z.core.$strip>>>>>;
1766
- outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1767
- name: z.ZodString;
1768
- type: z.ZodEnum<{
1769
- string: "string";
1770
- number: "number";
1771
- boolean: "boolean";
1772
- object: "object";
1773
- array: "array";
1774
- }>;
1775
- enabled: z.ZodCatch<z.ZodBoolean>;
1776
- }, z.core.$strip>>>>>;
1777
- name: z.ZodString;
1778
- source: z.ZodString;
1779
- target: z.ZodString;
1780
- type: z.ZodEnum<{
1781
- Data: "Data";
1782
- Conditional: "Conditional";
1783
- }>;
1784
- configuration: z.ZodObject<{
1785
- type: z.ZodObject<{
1786
- condition: z.ZodString;
1787
- data: z.ZodObject<{
1788
- sourceOutput: z.ZodString;
1789
- targetInput: z.ZodString;
1790
- }, z.core.$strip>;
1791
- }, z.core.$strip>;
1792
- }, z.core.$strip>;
1793
- }, z.core.$strip>;
1794
- nodes: z.ZodObject<{
1795
- name: z.ZodString;
1796
- type: typeof NodeType;
1797
- configuration: z.ZodUnion<readonly [z.ZodObject<{
1798
- id: z.ZodString;
1799
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.closingResponseNode>;
1800
- data: z.ZodObject<{
1801
- active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1802
- response: z.ZodCatch<z.ZodArray<z.ZodObject<{
1803
- languageCode: z.ZodString;
1804
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1805
- id: z.ZodString;
1806
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1807
- title: z.ZodString;
1808
- }, z.core.$strip>, z.ZodObject<{
1809
- id: z.ZodString;
1810
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1811
- title: z.ZodString;
1812
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1813
- id: z.ZodString;
1814
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1815
- label: z.ZodString;
1816
- payload: z.ZodString;
1817
- valueToShow: z.ZodString;
1818
- }, z.core.$strip>, z.ZodObject<{
1819
- id: z.ZodString;
1820
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1821
- label: z.ZodString;
1822
- url: z.ZodString;
1823
- }, z.core.$strip>, z.ZodObject<{
1824
- id: z.ZodString;
1825
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1826
- label: z.ZodString;
1827
- payload: z.ZodString;
1828
- valueToShow: z.ZodString;
1829
- }, z.core.$strip>]>>;
1830
- }, z.core.$strip>, z.ZodObject<{
1831
- id: z.ZodString;
1832
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1833
- title: z.ZodString;
1834
- }, z.core.$strip>, z.ZodObject<{
1835
- id: z.ZodString;
1836
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1837
- cards: z.ZodArray<z.ZodObject<{
1838
- id: z.ZodString;
1839
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1840
- body: z.ZodObject<{
1841
- title: z.ZodString;
1842
- description: z.ZodString;
1843
- }, z.core.$strip>;
1844
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1845
- id: z.ZodString;
1846
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1847
- label: z.ZodString;
1848
- payload: z.ZodString;
1849
- valueToShow: z.ZodString;
1850
- }, z.core.$strip>, z.ZodObject<{
1851
- id: z.ZodString;
1852
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1853
- label: z.ZodString;
1854
- url: z.ZodString;
1855
- }, z.core.$strip>]>>;
1856
- }, z.core.$strip>>;
1857
- }, z.core.$strip>, z.ZodObject<{
1858
- id: z.ZodString;
1859
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1860
- title: z.ZodString;
1861
- subtitle: z.ZodString;
1862
- fields: z.ZodArray<z.ZodObject<{
1863
- id: z.ZodString;
1864
- name: z.ZodString;
1865
- type: z.ZodPrefault<z.ZodEnum<{
1866
- time: "time";
1867
- file: "file";
1868
- url: "url";
1869
- textarea: "textarea";
1870
- text: "text";
1871
- email: "email";
1872
- tel: "tel";
1873
- date: "date";
1874
- "datetime-local": "datetime-local";
1875
- password: "password";
1876
- }>>;
1877
- label: z.ZodCatch<z.ZodString>;
1878
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1879
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1880
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1881
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1882
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1883
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1884
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1885
- }, z.core.$strip>>;
1886
- submitButton: z.ZodObject<{
1887
- label: z.ZodCatch<z.ZodString>;
1888
- }, z.core.$strip>;
1889
- }, z.core.$strip>, z.ZodObject<{
1890
- id: z.ZodString;
1891
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1892
- }, z.core.$strip>]>>>;
1893
- }, z.core.$strip>>>;
1894
- sessionAttributes: z.ZodCatch<z.ZodString>;
1895
- }, z.core.$strip>;
1896
- }, z.core.$strip>, z.ZodObject<{
1897
- id: z.ZodString;
1898
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.codeHookNode>;
1899
- data: z.ZodObject<{
1900
- label: z.ZodString;
1901
- invocationLabel: z.ZodString;
1902
- active: z.ZodNullable<z.ZodBoolean>;
1903
- success: z.ZodCatch<z.ZodArray<z.ZodObject<{
1904
- languageCode: z.ZodString;
1905
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1906
- id: z.ZodString;
1907
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
1908
- title: z.ZodString;
1909
- }, z.core.$strip>, z.ZodObject<{
1910
- id: z.ZodString;
1911
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
1912
- title: z.ZodString;
1913
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1914
- id: z.ZodString;
1915
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
1916
- label: z.ZodString;
1917
- payload: z.ZodString;
1918
- valueToShow: z.ZodString;
1919
- }, z.core.$strip>, z.ZodObject<{
1920
- id: z.ZodString;
1921
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
1922
- label: z.ZodString;
1923
- url: z.ZodString;
1924
- }, z.core.$strip>, z.ZodObject<{
1925
- id: z.ZodString;
1926
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
1927
- label: z.ZodString;
1928
- payload: z.ZodString;
1929
- valueToShow: z.ZodString;
1930
- }, z.core.$strip>]>>;
1931
- }, z.core.$strip>, z.ZodObject<{
1932
- id: z.ZodString;
1933
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
1934
- title: z.ZodString;
1935
- }, z.core.$strip>, z.ZodObject<{
1936
- id: z.ZodString;
1937
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
1938
- cards: z.ZodArray<z.ZodObject<{
1939
- id: z.ZodString;
1940
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1941
- body: z.ZodObject<{
1942
- title: z.ZodString;
1943
- description: z.ZodString;
1944
- }, z.core.$strip>;
1945
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1946
- id: z.ZodString;
1947
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
1948
- label: z.ZodString;
1949
- payload: z.ZodString;
1950
- valueToShow: z.ZodString;
1951
- }, z.core.$strip>, z.ZodObject<{
1952
- id: z.ZodString;
1953
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
1954
- label: z.ZodString;
1955
- url: z.ZodString;
1956
- }, z.core.$strip>]>>;
1957
- }, z.core.$strip>>;
1958
- }, z.core.$strip>, z.ZodObject<{
1959
- id: z.ZodString;
1960
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
1961
- title: z.ZodString;
1962
- subtitle: z.ZodString;
1963
- fields: z.ZodArray<z.ZodObject<{
1964
- id: z.ZodString;
1965
- name: z.ZodString;
1966
- type: z.ZodPrefault<z.ZodEnum<{
1967
- time: "time";
1968
- file: "file";
1969
- url: "url";
1970
- textarea: "textarea";
1971
- text: "text";
1972
- email: "email";
1973
- tel: "tel";
1974
- date: "date";
1975
- "datetime-local": "datetime-local";
1976
- password: "password";
1977
- }>>;
1978
- label: z.ZodCatch<z.ZodString>;
1979
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1980
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1981
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1982
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
1983
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1984
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1985
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
1986
- }, z.core.$strip>>;
1987
- submitButton: z.ZodObject<{
1988
- label: z.ZodCatch<z.ZodString>;
1989
- }, z.core.$strip>;
1990
- }, z.core.$strip>, z.ZodObject<{
1991
- id: z.ZodString;
1992
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
1993
- }, z.core.$strip>]>>>;
1994
- }, z.core.$strip>>>;
1995
- failure: z.ZodCatch<z.ZodArray<z.ZodObject<{
1996
- languageCode: z.ZodString;
1997
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1998
- id: z.ZodString;
1999
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
2000
- title: z.ZodString;
2001
- }, z.core.$strip>, z.ZodObject<{
2002
- id: z.ZodString;
2003
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
2004
- title: z.ZodString;
2005
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2006
- id: z.ZodString;
2007
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
2008
- label: z.ZodString;
2009
- payload: z.ZodString;
2010
- valueToShow: z.ZodString;
2011
- }, z.core.$strip>, z.ZodObject<{
2012
- id: z.ZodString;
2013
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
2014
- label: z.ZodString;
2015
- url: z.ZodString;
2016
- }, z.core.$strip>, z.ZodObject<{
2017
- id: z.ZodString;
2018
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
2019
- label: z.ZodString;
2020
- payload: z.ZodString;
2021
- valueToShow: z.ZodString;
2022
- }, z.core.$strip>]>>;
2023
- }, z.core.$strip>, z.ZodObject<{
2024
- id: z.ZodString;
2025
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
2026
- title: z.ZodString;
2027
- }, z.core.$strip>, z.ZodObject<{
2028
- id: z.ZodString;
2029
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
2030
- cards: z.ZodArray<z.ZodObject<{
2031
- id: z.ZodString;
2032
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2033
- body: z.ZodObject<{
2034
- title: z.ZodString;
2035
- description: z.ZodString;
2036
- }, z.core.$strip>;
2037
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2038
- id: z.ZodString;
2039
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
2040
- label: z.ZodString;
2041
- payload: z.ZodString;
2042
- valueToShow: z.ZodString;
2043
- }, z.core.$strip>, z.ZodObject<{
2044
- id: z.ZodString;
2045
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
2046
- label: z.ZodString;
2047
- url: z.ZodString;
2048
- }, z.core.$strip>]>>;
2049
- }, z.core.$strip>>;
2050
- }, z.core.$strip>, z.ZodObject<{
2051
- id: z.ZodString;
2052
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
2053
- title: z.ZodString;
2054
- subtitle: z.ZodString;
2055
- fields: z.ZodArray<z.ZodObject<{
2056
- id: z.ZodString;
2057
- name: z.ZodString;
2058
- type: z.ZodPrefault<z.ZodEnum<{
2059
- time: "time";
2060
- file: "file";
2061
- url: "url";
2062
- textarea: "textarea";
2063
- text: "text";
2064
- email: "email";
2065
- tel: "tel";
2066
- date: "date";
2067
- "datetime-local": "datetime-local";
2068
- password: "password";
2069
- }>>;
2070
- label: z.ZodCatch<z.ZodString>;
2071
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2072
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2073
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2074
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2075
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2076
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2077
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2078
- }, z.core.$strip>>;
2079
- submitButton: z.ZodObject<{
2080
- label: z.ZodCatch<z.ZodString>;
2081
- }, z.core.$strip>;
2082
- }, z.core.$strip>, z.ZodObject<{
2083
- id: z.ZodString;
2084
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
2085
- }, z.core.$strip>]>>>;
2086
- }, z.core.$strip>>>;
2087
- timeout: z.ZodCatch<z.ZodArray<z.ZodObject<{
2088
- languageCode: z.ZodString;
2089
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2090
- id: z.ZodString;
2091
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
2092
- title: z.ZodString;
2093
- }, z.core.$strip>, z.ZodObject<{
2094
- id: z.ZodString;
2095
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
2096
- title: z.ZodString;
2097
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2098
- id: z.ZodString;
2099
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
2100
- label: z.ZodString;
2101
- payload: z.ZodString;
2102
- valueToShow: z.ZodString;
2103
- }, z.core.$strip>, z.ZodObject<{
2104
- id: z.ZodString;
2105
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
2106
- label: z.ZodString;
2107
- url: z.ZodString;
2108
- }, z.core.$strip>, z.ZodObject<{
2109
- id: z.ZodString;
2110
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
2111
- label: z.ZodString;
2112
- payload: z.ZodString;
2113
- valueToShow: z.ZodString;
2114
- }, z.core.$strip>]>>;
2115
- }, z.core.$strip>, z.ZodObject<{
2116
- id: z.ZodString;
2117
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
2118
- title: z.ZodString;
2119
- }, z.core.$strip>, z.ZodObject<{
2120
- id: z.ZodString;
2121
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
2122
- cards: z.ZodArray<z.ZodObject<{
2123
- id: z.ZodString;
2124
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2125
- body: z.ZodObject<{
2126
- title: z.ZodString;
2127
- description: z.ZodString;
2128
- }, z.core.$strip>;
2129
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2130
- id: z.ZodString;
2131
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
2132
- label: z.ZodString;
2133
- payload: z.ZodString;
2134
- valueToShow: z.ZodString;
2135
- }, z.core.$strip>, z.ZodObject<{
2136
- id: z.ZodString;
2137
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
2138
- label: z.ZodString;
2139
- url: z.ZodString;
2140
- }, z.core.$strip>]>>;
2141
- }, z.core.$strip>>;
2142
- }, z.core.$strip>, z.ZodObject<{
2143
- id: z.ZodString;
2144
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
2145
- title: z.ZodString;
2146
- subtitle: z.ZodString;
2147
- fields: z.ZodArray<z.ZodObject<{
2148
- id: z.ZodString;
2149
- name: z.ZodString;
2150
- type: z.ZodPrefault<z.ZodEnum<{
2151
- time: "time";
2152
- file: "file";
2153
- url: "url";
2154
- textarea: "textarea";
2155
- text: "text";
2156
- email: "email";
2157
- tel: "tel";
2158
- date: "date";
2159
- "datetime-local": "datetime-local";
2160
- password: "password";
2161
- }>>;
2162
- label: z.ZodCatch<z.ZodString>;
2163
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2164
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2165
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2166
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2167
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2168
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2169
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2170
- }, z.core.$strip>>;
2171
- submitButton: z.ZodObject<{
2172
- label: z.ZodCatch<z.ZodString>;
2173
- }, z.core.$strip>;
2174
- }, z.core.$strip>, z.ZodObject<{
2175
- id: z.ZodString;
2176
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
2177
- }, z.core.$strip>]>>>;
2178
- }, z.core.$strip>>>;
2179
- webhookId: z.ZodString;
2180
- merchantId: z.ZodCatch<z.ZodString>;
2181
- sessionAttributes: z.ZodCatch<z.ZodString>;
2182
- isInvocationLabelDisabled: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
2183
- }, z.core.$strip>;
2184
- }, z.core.$strip>, z.ZodObject<{
2185
- id: z.ZodString;
2186
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.conditionNode>;
2187
- data: z.ZodObject<{
2188
- response: z.ZodCatch<z.ZodArray<z.ZodObject<{
2189
- languageCode: z.ZodString;
2190
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2191
- id: z.ZodString;
2192
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
2193
- title: z.ZodString;
2194
- }, z.core.$strip>, z.ZodObject<{
2195
- id: z.ZodString;
2196
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
2197
- title: z.ZodString;
2198
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2199
- id: z.ZodString;
2200
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
2201
- label: z.ZodString;
2202
- payload: z.ZodString;
2203
- valueToShow: z.ZodString;
2204
- }, z.core.$strip>, z.ZodObject<{
2205
- id: z.ZodString;
2206
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
2207
- label: z.ZodString;
2208
- url: z.ZodString;
2209
- }, z.core.$strip>, z.ZodObject<{
2210
- id: z.ZodString;
2211
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
2212
- label: z.ZodString;
2213
- payload: z.ZodString;
2214
- valueToShow: z.ZodString;
2215
- }, z.core.$strip>]>>;
2216
- }, z.core.$strip>, z.ZodObject<{
2217
- id: z.ZodString;
2218
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
2219
- title: z.ZodString;
2220
- }, z.core.$strip>, z.ZodObject<{
2221
- id: z.ZodString;
2222
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
2223
- cards: z.ZodArray<z.ZodObject<{
2224
- id: z.ZodString;
2225
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2226
- body: z.ZodObject<{
2227
- title: z.ZodString;
2228
- description: z.ZodString;
2229
- }, z.core.$strip>;
2230
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2231
- id: z.ZodString;
2232
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
2233
- label: z.ZodString;
2234
- payload: z.ZodString;
2235
- valueToShow: z.ZodString;
2236
- }, z.core.$strip>, z.ZodObject<{
2237
- id: z.ZodString;
2238
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
2239
- label: z.ZodString;
2240
- url: z.ZodString;
2241
- }, z.core.$strip>]>>;
2242
- }, z.core.$strip>>;
2243
- }, z.core.$strip>, z.ZodObject<{
2244
- id: z.ZodString;
2245
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
2246
- title: z.ZodString;
2247
- subtitle: z.ZodString;
2248
- fields: z.ZodArray<z.ZodObject<{
2249
- id: z.ZodString;
2250
- name: z.ZodString;
2251
- type: z.ZodPrefault<z.ZodEnum<{
2252
- time: "time";
2253
- file: "file";
2254
- url: "url";
2255
- textarea: "textarea";
2256
- text: "text";
2257
- email: "email";
2258
- tel: "tel";
2259
- date: "date";
2260
- "datetime-local": "datetime-local";
2261
- password: "password";
2262
- }>>;
2263
- label: z.ZodCatch<z.ZodString>;
2264
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2265
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2266
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2267
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2268
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2269
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2270
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2271
- }, z.core.$strip>>;
2272
- submitButton: z.ZodObject<{
2273
- label: z.ZodCatch<z.ZodString>;
2274
- }, z.core.$strip>;
2275
- }, z.core.$strip>, z.ZodObject<{
2276
- id: z.ZodString;
2277
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
2278
- }, z.core.$strip>]>>>;
2279
- }, z.core.$strip>>>;
2280
- branches: z.ZodArray<z.ZodObject<{
2281
- id: z.ZodString;
2282
- name: z.ZodString;
2283
- expression: z.ZodString;
2284
- response: z.ZodCatch<z.ZodArray<z.ZodObject<{
2285
- languageCode: z.ZodString;
2286
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2287
- id: z.ZodString;
2288
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
2289
- title: z.ZodString;
2290
- }, z.core.$strip>, z.ZodObject<{
2291
- id: z.ZodString;
2292
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
2293
- title: z.ZodString;
2294
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2295
- id: z.ZodString;
2296
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
2297
- label: z.ZodString;
2298
- payload: z.ZodString;
2299
- valueToShow: z.ZodString;
2300
- }, z.core.$strip>, z.ZodObject<{
2301
- id: z.ZodString;
2302
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
2303
- label: z.ZodString;
2304
- url: z.ZodString;
2305
- }, z.core.$strip>, z.ZodObject<{
2306
- id: z.ZodString;
2307
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
2308
- label: z.ZodString;
2309
- payload: z.ZodString;
2310
- valueToShow: z.ZodString;
2311
- }, z.core.$strip>]>>;
2312
- }, z.core.$strip>, z.ZodObject<{
2313
- id: z.ZodString;
2314
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
2315
- title: z.ZodString;
2316
- }, z.core.$strip>, z.ZodObject<{
2317
- id: z.ZodString;
2318
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
2319
- cards: z.ZodArray<z.ZodObject<{
2320
- id: z.ZodString;
2321
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2322
- body: z.ZodObject<{
2323
- title: z.ZodString;
2324
- description: z.ZodString;
2325
- }, z.core.$strip>;
2326
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2327
- id: z.ZodString;
2328
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
2329
- label: z.ZodString;
2330
- payload: z.ZodString;
2331
- valueToShow: z.ZodString;
2332
- }, z.core.$strip>, z.ZodObject<{
2333
- id: z.ZodString;
2334
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
2335
- label: z.ZodString;
2336
- url: z.ZodString;
2337
- }, z.core.$strip>]>>;
2338
- }, z.core.$strip>>;
2339
- }, z.core.$strip>, z.ZodObject<{
2340
- id: z.ZodString;
2341
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
2342
- title: z.ZodString;
2343
- subtitle: z.ZodString;
2344
- fields: z.ZodArray<z.ZodObject<{
2345
- id: z.ZodString;
2346
- name: z.ZodString;
2347
- type: z.ZodPrefault<z.ZodEnum<{
2348
- time: "time";
2349
- file: "file";
2350
- url: "url";
2351
- textarea: "textarea";
2352
- text: "text";
2353
- email: "email";
2354
- tel: "tel";
2355
- date: "date";
2356
- "datetime-local": "datetime-local";
2357
- password: "password";
2358
- }>>;
2359
- label: z.ZodCatch<z.ZodString>;
2360
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2361
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2362
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2363
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2364
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2365
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2366
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2367
- }, z.core.$strip>>;
2368
- submitButton: z.ZodObject<{
2369
- label: z.ZodCatch<z.ZodString>;
2370
- }, z.core.$strip>;
2371
- }, z.core.$strip>, z.ZodObject<{
2372
- id: z.ZodString;
2373
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
2374
- }, z.core.$strip>]>>>;
2375
- }, z.core.$strip>>>;
2376
- }, z.core.$strip>>;
2377
- sessionAttributes: z.ZodCatch<z.ZodString>;
2378
- }, z.core.$strip>;
2379
- }, z.core.$strip>, z.ZodObject<{
2380
- id: z.ZodString;
2381
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.confirmationNode>;
2382
- data: z.ZodObject<{
2383
- label: z.ZodString;
2384
- prompt: z.ZodArray<z.ZodObject<{
2385
- languageCode: z.ZodString;
2386
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2387
- id: z.ZodString;
2388
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
2389
- title: z.ZodString;
2390
- }, z.core.$strip>, z.ZodObject<{
2391
- id: z.ZodString;
2392
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
2393
- title: z.ZodString;
2394
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2395
- id: z.ZodString;
2396
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
2397
- label: z.ZodString;
2398
- payload: z.ZodString;
2399
- valueToShow: z.ZodString;
2400
- }, z.core.$strip>, z.ZodObject<{
2401
- id: z.ZodString;
2402
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
2403
- label: z.ZodString;
2404
- url: z.ZodString;
2405
- }, z.core.$strip>, z.ZodObject<{
2406
- id: z.ZodString;
2407
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
2408
- label: z.ZodString;
2409
- payload: z.ZodString;
2410
- valueToShow: z.ZodString;
2411
- }, z.core.$strip>]>>;
2412
- }, z.core.$strip>, z.ZodObject<{
2413
- id: z.ZodString;
2414
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
2415
- title: z.ZodString;
2416
- }, z.core.$strip>, z.ZodObject<{
2417
- id: z.ZodString;
2418
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
2419
- cards: z.ZodArray<z.ZodObject<{
2420
- id: z.ZodString;
2421
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2422
- body: z.ZodObject<{
2423
- title: z.ZodString;
2424
- description: z.ZodString;
2425
- }, z.core.$strip>;
2426
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2427
- id: z.ZodString;
2428
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
2429
- label: z.ZodString;
2430
- payload: z.ZodString;
2431
- valueToShow: z.ZodString;
2432
- }, z.core.$strip>, z.ZodObject<{
2433
- id: z.ZodString;
2434
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
2435
- label: z.ZodString;
2436
- url: z.ZodString;
2437
- }, z.core.$strip>]>>;
2438
- }, z.core.$strip>>;
2439
- }, z.core.$strip>, z.ZodObject<{
2440
- id: z.ZodString;
2441
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
2442
- title: z.ZodString;
2443
- subtitle: z.ZodString;
2444
- fields: z.ZodArray<z.ZodObject<{
2445
- id: z.ZodString;
2446
- name: z.ZodString;
2447
- type: z.ZodPrefault<z.ZodEnum<{
2448
- time: "time";
2449
- file: "file";
2450
- url: "url";
2451
- textarea: "textarea";
2452
- text: "text";
2453
- email: "email";
2454
- tel: "tel";
2455
- date: "date";
2456
- "datetime-local": "datetime-local";
2457
- password: "password";
2458
- }>>;
2459
- label: z.ZodCatch<z.ZodString>;
2460
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2461
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2462
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2463
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2464
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2465
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2466
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2467
- }, z.core.$strip>>;
2468
- submitButton: z.ZodObject<{
2469
- label: z.ZodCatch<z.ZodString>;
2470
- }, z.core.$strip>;
2471
- }, z.core.$strip>, z.ZodObject<{
2472
- id: z.ZodString;
2473
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
2474
- }, z.core.$strip>]>>>;
2475
- }, z.core.$strip>>;
2476
- success: z.ZodCatch<z.ZodArray<z.ZodObject<{
2477
- languageCode: z.ZodString;
2478
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2479
- id: z.ZodString;
2480
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
2481
- title: z.ZodString;
2482
- }, z.core.$strip>, z.ZodObject<{
2483
- id: z.ZodString;
2484
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
2485
- title: z.ZodString;
2486
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2487
- id: z.ZodString;
2488
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
2489
- label: z.ZodString;
2490
- payload: z.ZodString;
2491
- valueToShow: z.ZodString;
2492
- }, z.core.$strip>, z.ZodObject<{
2493
- id: z.ZodString;
2494
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
2495
- label: z.ZodString;
2496
- url: z.ZodString;
2497
- }, z.core.$strip>, z.ZodObject<{
2498
- id: z.ZodString;
2499
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
2500
- label: z.ZodString;
2501
- payload: z.ZodString;
2502
- valueToShow: z.ZodString;
2503
- }, z.core.$strip>]>>;
2504
- }, z.core.$strip>, z.ZodObject<{
2505
- id: z.ZodString;
2506
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
2507
- title: z.ZodString;
2508
- }, z.core.$strip>, z.ZodObject<{
2509
- id: z.ZodString;
2510
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
2511
- cards: z.ZodArray<z.ZodObject<{
2512
- id: z.ZodString;
2513
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2514
- body: z.ZodObject<{
2515
- title: z.ZodString;
2516
- description: z.ZodString;
2517
- }, z.core.$strip>;
2518
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2519
- id: z.ZodString;
2520
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
2521
- label: z.ZodString;
2522
- payload: z.ZodString;
2523
- valueToShow: z.ZodString;
2524
- }, z.core.$strip>, z.ZodObject<{
2525
- id: z.ZodString;
2526
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
2527
- label: z.ZodString;
2528
- url: z.ZodString;
2529
- }, z.core.$strip>]>>;
2530
- }, z.core.$strip>>;
2531
- }, z.core.$strip>, z.ZodObject<{
2532
- id: z.ZodString;
2533
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
2534
- title: z.ZodString;
2535
- subtitle: z.ZodString;
2536
- fields: z.ZodArray<z.ZodObject<{
2537
- id: z.ZodString;
2538
- name: z.ZodString;
2539
- type: z.ZodPrefault<z.ZodEnum<{
2540
- time: "time";
2541
- file: "file";
2542
- url: "url";
2543
- textarea: "textarea";
2544
- text: "text";
2545
- email: "email";
2546
- tel: "tel";
2547
- date: "date";
2548
- "datetime-local": "datetime-local";
2549
- password: "password";
2550
- }>>;
2551
- label: z.ZodCatch<z.ZodString>;
2552
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2553
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2554
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2555
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2556
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2557
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2558
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2559
- }, z.core.$strip>>;
2560
- submitButton: z.ZodObject<{
2561
- label: z.ZodCatch<z.ZodString>;
2562
- }, z.core.$strip>;
2563
- }, z.core.$strip>, z.ZodObject<{
2564
- id: z.ZodString;
2565
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
2566
- }, z.core.$strip>]>>>;
2567
- }, z.core.$strip>>>;
2568
- failure: z.ZodCatch<z.ZodArray<z.ZodObject<{
2569
- languageCode: z.ZodString;
2570
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2571
- id: z.ZodString;
2572
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
2573
- title: z.ZodString;
2574
- }, z.core.$strip>, z.ZodObject<{
2575
- id: z.ZodString;
2576
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
2577
- title: z.ZodString;
2578
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2579
- id: z.ZodString;
2580
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
2581
- label: z.ZodString;
2582
- payload: z.ZodString;
2583
- valueToShow: z.ZodString;
2584
- }, z.core.$strip>, z.ZodObject<{
2585
- id: z.ZodString;
2586
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
2587
- label: z.ZodString;
2588
- url: z.ZodString;
2589
- }, z.core.$strip>, z.ZodObject<{
2590
- id: z.ZodString;
2591
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
2592
- label: z.ZodString;
2593
- payload: z.ZodString;
2594
- valueToShow: z.ZodString;
2595
- }, z.core.$strip>]>>;
2596
- }, z.core.$strip>, z.ZodObject<{
2597
- id: z.ZodString;
2598
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
2599
- title: z.ZodString;
2600
- }, z.core.$strip>, z.ZodObject<{
2601
- id: z.ZodString;
2602
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
2603
- cards: z.ZodArray<z.ZodObject<{
2604
- id: z.ZodString;
2605
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2606
- body: z.ZodObject<{
2607
- title: z.ZodString;
2608
- description: z.ZodString;
2609
- }, z.core.$strip>;
2610
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2611
- id: z.ZodString;
2612
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
2613
- label: z.ZodString;
2614
- payload: z.ZodString;
2615
- valueToShow: z.ZodString;
2616
- }, z.core.$strip>, z.ZodObject<{
2617
- id: z.ZodString;
2618
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
2619
- label: z.ZodString;
2620
- url: z.ZodString;
2621
- }, z.core.$strip>]>>;
2622
- }, z.core.$strip>>;
2623
- }, z.core.$strip>, z.ZodObject<{
2624
- id: z.ZodString;
2625
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
2626
- title: z.ZodString;
2627
- subtitle: z.ZodString;
2628
- fields: z.ZodArray<z.ZodObject<{
2629
- id: z.ZodString;
2630
- name: z.ZodString;
2631
- type: z.ZodPrefault<z.ZodEnum<{
2632
- time: "time";
2633
- file: "file";
2634
- url: "url";
2635
- textarea: "textarea";
2636
- text: "text";
2637
- email: "email";
2638
- tel: "tel";
2639
- date: "date";
2640
- "datetime-local": "datetime-local";
2641
- password: "password";
2642
- }>>;
2643
- label: z.ZodCatch<z.ZodString>;
2644
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2645
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2646
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2647
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2648
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2649
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2650
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2651
- }, z.core.$strip>>;
2652
- submitButton: z.ZodObject<{
2653
- label: z.ZodCatch<z.ZodString>;
2654
- }, z.core.$strip>;
2655
- }, z.core.$strip>, z.ZodObject<{
2656
- id: z.ZodString;
2657
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
2658
- }, z.core.$strip>]>>>;
2659
- }, z.core.$strip>>>;
2660
- decline: z.ZodCatch<z.ZodArray<z.ZodObject<{
2661
- languageCode: z.ZodString;
2662
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2663
- id: z.ZodString;
2664
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
2665
- title: z.ZodString;
2666
- }, z.core.$strip>, z.ZodObject<{
2667
- id: z.ZodString;
2668
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
2669
- title: z.ZodString;
2670
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2671
- id: z.ZodString;
2672
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
2673
- label: z.ZodString;
2674
- payload: z.ZodString;
2675
- valueToShow: z.ZodString;
2676
- }, z.core.$strip>, z.ZodObject<{
2677
- id: z.ZodString;
2678
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
2679
- label: z.ZodString;
2680
- url: z.ZodString;
2681
- }, z.core.$strip>, z.ZodObject<{
2682
- id: z.ZodString;
2683
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
2684
- label: z.ZodString;
2685
- payload: z.ZodString;
2686
- valueToShow: z.ZodString;
2687
- }, z.core.$strip>]>>;
2688
- }, z.core.$strip>, z.ZodObject<{
2689
- id: z.ZodString;
2690
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
2691
- title: z.ZodString;
2692
- }, z.core.$strip>, z.ZodObject<{
2693
- id: z.ZodString;
2694
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
2695
- cards: z.ZodArray<z.ZodObject<{
2696
- id: z.ZodString;
2697
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2698
- body: z.ZodObject<{
2699
- title: z.ZodString;
2700
- description: z.ZodString;
2701
- }, z.core.$strip>;
2702
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2703
- id: z.ZodString;
2704
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
2705
- label: z.ZodString;
2706
- payload: z.ZodString;
2707
- valueToShow: z.ZodString;
2708
- }, z.core.$strip>, z.ZodObject<{
2709
- id: z.ZodString;
2710
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
2711
- label: z.ZodString;
2712
- url: z.ZodString;
2713
- }, z.core.$strip>]>>;
2714
- }, z.core.$strip>>;
2715
- }, z.core.$strip>, z.ZodObject<{
2716
- id: z.ZodString;
2717
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
2718
- title: z.ZodString;
2719
- subtitle: z.ZodString;
2720
- fields: z.ZodArray<z.ZodObject<{
2721
- id: z.ZodString;
2722
- name: z.ZodString;
2723
- type: z.ZodPrefault<z.ZodEnum<{
2724
- time: "time";
2725
- file: "file";
2726
- url: "url";
2727
- textarea: "textarea";
2728
- text: "text";
2729
- email: "email";
2730
- tel: "tel";
2731
- date: "date";
2732
- "datetime-local": "datetime-local";
2733
- password: "password";
2734
- }>>;
2735
- label: z.ZodCatch<z.ZodString>;
2736
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2737
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2738
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2739
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2740
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2741
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2742
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2743
- }, z.core.$strip>>;
2744
- submitButton: z.ZodObject<{
2745
- label: z.ZodCatch<z.ZodString>;
2746
- }, z.core.$strip>;
2747
- }, z.core.$strip>, z.ZodObject<{
2748
- id: z.ZodString;
2749
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
2750
- }, z.core.$strip>]>>>;
2751
- }, z.core.$strip>>>;
2752
- sessionAttributes: z.ZodCatch<z.ZodString>;
2753
- }, z.core.$strip>;
2754
- }, z.core.$strip>, z.ZodObject<{
2755
- id: z.ZodString;
2756
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.endOfConversationNode>;
2757
- data: z.ZodObject<{
2758
- sessionAttributes: z.ZodCatch<z.ZodString>;
2759
- }, z.core.$strip>;
2760
- }, z.core.$strip>, z.ZodObject<{
2761
- id: z.ZodString;
2762
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.fullfillmentNode>;
2763
- data: z.ZodObject<{
2764
- label: z.ZodString;
2765
- invocationLabel: z.ZodString;
2766
- active: z.ZodNullable<z.ZodBoolean>;
2767
- success: z.ZodCatch<z.ZodArray<z.ZodObject<{
2768
- languageCode: z.ZodString;
2769
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2770
- id: z.ZodString;
2771
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
2772
- title: z.ZodString;
2773
- }, z.core.$strip>, z.ZodObject<{
2774
- id: z.ZodString;
2775
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
2776
- title: z.ZodString;
2777
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2778
- id: z.ZodString;
2779
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
2780
- label: z.ZodString;
2781
- payload: z.ZodString;
2782
- valueToShow: z.ZodString;
2783
- }, z.core.$strip>, z.ZodObject<{
2784
- id: z.ZodString;
2785
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
2786
- label: z.ZodString;
2787
- url: z.ZodString;
2788
- }, z.core.$strip>, z.ZodObject<{
2789
- id: z.ZodString;
2790
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
2791
- label: z.ZodString;
2792
- payload: z.ZodString;
2793
- valueToShow: z.ZodString;
2794
- }, z.core.$strip>]>>;
2795
- }, z.core.$strip>, z.ZodObject<{
2796
- id: z.ZodString;
2797
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
2798
- title: z.ZodString;
2799
- }, z.core.$strip>, z.ZodObject<{
2800
- id: z.ZodString;
2801
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
2802
- cards: z.ZodArray<z.ZodObject<{
2803
- id: z.ZodString;
2804
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2805
- body: z.ZodObject<{
2806
- title: z.ZodString;
2807
- description: z.ZodString;
2808
- }, z.core.$strip>;
2809
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2810
- id: z.ZodString;
2811
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
2812
- label: z.ZodString;
2813
- payload: z.ZodString;
2814
- valueToShow: z.ZodString;
2815
- }, z.core.$strip>, z.ZodObject<{
2816
- id: z.ZodString;
2817
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
2818
- label: z.ZodString;
2819
- url: z.ZodString;
2820
- }, z.core.$strip>]>>;
2821
- }, z.core.$strip>>;
2822
- }, z.core.$strip>, z.ZodObject<{
2823
- id: z.ZodString;
2824
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
2825
- title: z.ZodString;
2826
- subtitle: z.ZodString;
2827
- fields: z.ZodArray<z.ZodObject<{
2828
- id: z.ZodString;
2829
- name: z.ZodString;
2830
- type: z.ZodPrefault<z.ZodEnum<{
2831
- time: "time";
2832
- file: "file";
2833
- url: "url";
2834
- textarea: "textarea";
2835
- text: "text";
2836
- email: "email";
2837
- tel: "tel";
2838
- date: "date";
2839
- "datetime-local": "datetime-local";
2840
- password: "password";
2841
- }>>;
2842
- label: z.ZodCatch<z.ZodString>;
2843
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2844
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2845
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2846
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2847
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2848
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2849
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2850
- }, z.core.$strip>>;
2851
- submitButton: z.ZodObject<{
2852
- label: z.ZodCatch<z.ZodString>;
2853
- }, z.core.$strip>;
2854
- }, z.core.$strip>, z.ZodObject<{
2855
- id: z.ZodString;
2856
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
2857
- }, z.core.$strip>]>>>;
2858
- }, z.core.$strip>>>;
2859
- failure: z.ZodCatch<z.ZodArray<z.ZodObject<{
2860
- languageCode: z.ZodString;
2861
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2862
- id: z.ZodString;
2863
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
2864
- title: z.ZodString;
2865
- }, z.core.$strip>, z.ZodObject<{
2866
- id: z.ZodString;
2867
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
2868
- title: z.ZodString;
2869
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2870
- id: z.ZodString;
2871
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
2872
- label: z.ZodString;
2873
- payload: z.ZodString;
2874
- valueToShow: z.ZodString;
2875
- }, z.core.$strip>, z.ZodObject<{
2876
- id: z.ZodString;
2877
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
2878
- label: z.ZodString;
2879
- url: z.ZodString;
2880
- }, z.core.$strip>, z.ZodObject<{
2881
- id: z.ZodString;
2882
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
2883
- label: z.ZodString;
2884
- payload: z.ZodString;
2885
- valueToShow: z.ZodString;
2886
- }, z.core.$strip>]>>;
2887
- }, z.core.$strip>, z.ZodObject<{
2888
- id: z.ZodString;
2889
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
2890
- title: z.ZodString;
2891
- }, z.core.$strip>, z.ZodObject<{
2892
- id: z.ZodString;
2893
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
2894
- cards: z.ZodArray<z.ZodObject<{
2895
- id: z.ZodString;
2896
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2897
- body: z.ZodObject<{
2898
- title: z.ZodString;
2899
- description: z.ZodString;
2900
- }, z.core.$strip>;
2901
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2902
- id: z.ZodString;
2903
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
2904
- label: z.ZodString;
2905
- payload: z.ZodString;
2906
- valueToShow: z.ZodString;
2907
- }, z.core.$strip>, z.ZodObject<{
2908
- id: z.ZodString;
2909
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
2910
- label: z.ZodString;
2911
- url: z.ZodString;
2912
- }, z.core.$strip>]>>;
2913
- }, z.core.$strip>>;
2914
- }, z.core.$strip>, z.ZodObject<{
2915
- id: z.ZodString;
2916
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
2917
- title: z.ZodString;
2918
- subtitle: z.ZodString;
2919
- fields: z.ZodArray<z.ZodObject<{
2920
- id: z.ZodString;
2921
- name: z.ZodString;
2922
- type: z.ZodPrefault<z.ZodEnum<{
2923
- time: "time";
2924
- file: "file";
2925
- url: "url";
2926
- textarea: "textarea";
2927
- text: "text";
2928
- email: "email";
2929
- tel: "tel";
2930
- date: "date";
2931
- "datetime-local": "datetime-local";
2932
- password: "password";
2933
- }>>;
2934
- label: z.ZodCatch<z.ZodString>;
2935
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2936
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2937
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2938
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
2939
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2940
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2941
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
2942
- }, z.core.$strip>>;
2943
- submitButton: z.ZodObject<{
2944
- label: z.ZodCatch<z.ZodString>;
2945
- }, z.core.$strip>;
2946
- }, z.core.$strip>, z.ZodObject<{
2947
- id: z.ZodString;
2948
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
2949
- }, z.core.$strip>]>>>;
2950
- }, z.core.$strip>>>;
2951
- timeout: z.ZodCatch<z.ZodArray<z.ZodObject<{
2952
- languageCode: z.ZodString;
2953
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2954
- id: z.ZodString;
2955
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
2956
- title: z.ZodString;
2957
- }, z.core.$strip>, z.ZodObject<{
2958
- id: z.ZodString;
2959
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
2960
- title: z.ZodString;
2961
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2962
- id: z.ZodString;
2963
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
2964
- label: z.ZodString;
2965
- payload: z.ZodString;
2966
- valueToShow: z.ZodString;
2967
- }, z.core.$strip>, z.ZodObject<{
2968
- id: z.ZodString;
2969
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
2970
- label: z.ZodString;
2971
- url: z.ZodString;
2972
- }, z.core.$strip>, z.ZodObject<{
2973
- id: z.ZodString;
2974
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
2975
- label: z.ZodString;
2976
- payload: z.ZodString;
2977
- valueToShow: z.ZodString;
2978
- }, z.core.$strip>]>>;
2979
- }, z.core.$strip>, z.ZodObject<{
2980
- id: z.ZodString;
2981
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
2982
- title: z.ZodString;
2983
- }, z.core.$strip>, z.ZodObject<{
2984
- id: z.ZodString;
2985
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
2986
- cards: z.ZodArray<z.ZodObject<{
2987
- id: z.ZodString;
2988
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2989
- body: z.ZodObject<{
2990
- title: z.ZodString;
2991
- description: z.ZodString;
2992
- }, z.core.$strip>;
2993
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2994
- id: z.ZodString;
2995
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
2996
- label: z.ZodString;
2997
- payload: z.ZodString;
2998
- valueToShow: z.ZodString;
2999
- }, z.core.$strip>, z.ZodObject<{
3000
- id: z.ZodString;
3001
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
3002
- label: z.ZodString;
3003
- url: z.ZodString;
3004
- }, z.core.$strip>]>>;
3005
- }, z.core.$strip>>;
3006
- }, z.core.$strip>, z.ZodObject<{
3007
- id: z.ZodString;
3008
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
3009
- title: z.ZodString;
3010
- subtitle: z.ZodString;
3011
- fields: z.ZodArray<z.ZodObject<{
3012
- id: z.ZodString;
3013
- name: z.ZodString;
3014
- type: z.ZodPrefault<z.ZodEnum<{
3015
- time: "time";
3016
- file: "file";
3017
- url: "url";
3018
- textarea: "textarea";
3019
- text: "text";
3020
- email: "email";
3021
- tel: "tel";
3022
- date: "date";
3023
- "datetime-local": "datetime-local";
3024
- password: "password";
3025
- }>>;
3026
- label: z.ZodCatch<z.ZodString>;
3027
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
3028
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
3029
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
3030
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
3031
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
3032
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
3033
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
3034
- }, z.core.$strip>>;
3035
- submitButton: z.ZodObject<{
3036
- label: z.ZodCatch<z.ZodString>;
3037
- }, z.core.$strip>;
3038
- }, z.core.$strip>, z.ZodObject<{
3039
- id: z.ZodString;
3040
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
3041
- }, z.core.$strip>]>>>;
3042
- }, z.core.$strip>>>;
3043
- webhookId: z.ZodString;
3044
- merchantId: z.ZodCatch<z.ZodString>;
3045
- sessionAttributes: z.ZodCatch<z.ZodString>;
3046
- }, z.core.$strip>;
3047
- }, z.core.$strip>, z.ZodObject<{
3048
- id: z.ZodString;
3049
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.goToIntentNode>;
3050
- data: z.ZodObject<{
3051
- intentId: z.ZodString;
3052
- sessionAttributes: z.ZodCatch<z.ZodString>;
3053
- }, z.core.$strip>;
3054
- }, z.core.$strip>, z.ZodObject<{
3055
- id: z.ZodString;
3056
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.intentNode>;
3057
- data: z.ZodObject<{
3058
- label: z.ZodString;
3059
- name: z.ZodString;
3060
- description: z.ZodCatch<z.ZodString>;
3061
- utterances: z.ZodArray<z.ZodObject<{
3062
- languageCode: z.ZodString;
3063
- utterances: z.ZodCatch<z.ZodString>;
3064
- }, z.core.$strip>>;
3065
- isFallback: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
3066
- isNameDisabled: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
3067
- }, z.core.$strip>;
3068
- }, z.core.$strip>, z.ZodObject<{
3069
- id: z.ZodString;
3070
- type: z.ZodLiteral<import("../../../types/nodes").NodeType.slotNode>;
3071
- data: z.ZodObject<{
3072
- name: z.ZodString;
3073
- description: z.ZodCatch<z.ZodString>;
3074
- defaultValue: z.ZodCatch<z.ZodString>;
3075
- required: z.ZodNullable<z.ZodBoolean>;
3076
- utterances: z.ZodArray<z.ZodObject<{
3077
- languageCode: z.ZodString;
3078
- utterances: z.ZodCatch<z.ZodString>;
3079
- }, z.core.$strip>>;
3080
- label: z.ZodString;
3081
- prompt: z.ZodArray<z.ZodObject<{
3082
- languageCode: z.ZodString;
3083
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3084
- id: z.ZodString;
3085
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
3086
- title: z.ZodString;
3087
- }, z.core.$strip>, z.ZodObject<{
3088
- id: z.ZodString;
3089
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
3090
- title: z.ZodString;
3091
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3092
- id: z.ZodString;
3093
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
3094
- label: z.ZodString;
3095
- payload: z.ZodString;
3096
- valueToShow: z.ZodString;
3097
- }, z.core.$strip>, z.ZodObject<{
3098
- id: z.ZodString;
3099
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
3100
- label: z.ZodString;
3101
- url: z.ZodString;
3102
- }, z.core.$strip>, z.ZodObject<{
3103
- id: z.ZodString;
3104
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
3105
- label: z.ZodString;
3106
- payload: z.ZodString;
3107
- valueToShow: z.ZodString;
3108
- }, z.core.$strip>]>>;
3109
- }, z.core.$strip>, z.ZodObject<{
3110
- id: z.ZodString;
3111
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
3112
- title: z.ZodString;
3113
- }, z.core.$strip>, z.ZodObject<{
3114
- id: z.ZodString;
3115
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
3116
- cards: z.ZodArray<z.ZodObject<{
3117
- id: z.ZodString;
3118
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3119
- body: z.ZodObject<{
3120
- title: z.ZodString;
3121
- description: z.ZodString;
3122
- }, z.core.$strip>;
3123
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3124
- id: z.ZodString;
3125
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
3126
- label: z.ZodString;
3127
- payload: z.ZodString;
3128
- valueToShow: z.ZodString;
3129
- }, z.core.$strip>, z.ZodObject<{
3130
- id: z.ZodString;
3131
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
3132
- label: z.ZodString;
3133
- url: z.ZodString;
3134
- }, z.core.$strip>]>>;
3135
- }, z.core.$strip>>;
3136
- }, z.core.$strip>, z.ZodObject<{
3137
- id: z.ZodString;
3138
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
3139
- title: z.ZodString;
3140
- subtitle: z.ZodString;
3141
- fields: z.ZodArray<z.ZodObject<{
3142
- id: z.ZodString;
3143
- name: z.ZodString;
3144
- type: z.ZodPrefault<z.ZodEnum<{
3145
- time: "time";
3146
- file: "file";
3147
- url: "url";
3148
- textarea: "textarea";
3149
- text: "text";
3150
- email: "email";
3151
- tel: "tel";
3152
- date: "date";
3153
- "datetime-local": "datetime-local";
3154
- password: "password";
3155
- }>>;
3156
- label: z.ZodCatch<z.ZodString>;
3157
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
3158
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
3159
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
3160
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
3161
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
3162
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
3163
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
3164
- }, z.core.$strip>>;
3165
- submitButton: z.ZodObject<{
3166
- label: z.ZodCatch<z.ZodString>;
3167
- }, z.core.$strip>;
3168
- }, z.core.$strip>, z.ZodObject<{
3169
- id: z.ZodString;
3170
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
3171
- }, z.core.$strip>]>>>;
3172
- }, z.core.$strip>>;
3173
- success: z.ZodCatch<z.ZodArray<z.ZodObject<{
3174
- languageCode: z.ZodString;
3175
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3176
- id: z.ZodString;
3177
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
3178
- title: z.ZodString;
3179
- }, z.core.$strip>, z.ZodObject<{
3180
- id: z.ZodString;
3181
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
3182
- title: z.ZodString;
3183
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3184
- id: z.ZodString;
3185
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
3186
- label: z.ZodString;
3187
- payload: z.ZodString;
3188
- valueToShow: z.ZodString;
3189
- }, z.core.$strip>, z.ZodObject<{
3190
- id: z.ZodString;
3191
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
3192
- label: z.ZodString;
3193
- url: z.ZodString;
3194
- }, z.core.$strip>, z.ZodObject<{
3195
- id: z.ZodString;
3196
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
3197
- label: z.ZodString;
3198
- payload: z.ZodString;
3199
- valueToShow: z.ZodString;
3200
- }, z.core.$strip>]>>;
3201
- }, z.core.$strip>, z.ZodObject<{
3202
- id: z.ZodString;
3203
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
3204
- title: z.ZodString;
3205
- }, z.core.$strip>, z.ZodObject<{
3206
- id: z.ZodString;
3207
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
3208
- cards: z.ZodArray<z.ZodObject<{
3209
- id: z.ZodString;
3210
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3211
- body: z.ZodObject<{
3212
- title: z.ZodString;
3213
- description: z.ZodString;
3214
- }, z.core.$strip>;
3215
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3216
- id: z.ZodString;
3217
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
3218
- label: z.ZodString;
3219
- payload: z.ZodString;
3220
- valueToShow: z.ZodString;
3221
- }, z.core.$strip>, z.ZodObject<{
3222
- id: z.ZodString;
3223
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
3224
- label: z.ZodString;
3225
- url: z.ZodString;
3226
- }, z.core.$strip>]>>;
3227
- }, z.core.$strip>>;
3228
- }, z.core.$strip>, z.ZodObject<{
3229
- id: z.ZodString;
3230
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
3231
- title: z.ZodString;
3232
- subtitle: z.ZodString;
3233
- fields: z.ZodArray<z.ZodObject<{
3234
- id: z.ZodString;
3235
- name: z.ZodString;
3236
- type: z.ZodPrefault<z.ZodEnum<{
3237
- time: "time";
3238
- file: "file";
3239
- url: "url";
3240
- textarea: "textarea";
3241
- text: "text";
3242
- email: "email";
3243
- tel: "tel";
3244
- date: "date";
3245
- "datetime-local": "datetime-local";
3246
- password: "password";
3247
- }>>;
3248
- label: z.ZodCatch<z.ZodString>;
3249
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
3250
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
3251
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
3252
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
3253
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
3254
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
3255
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
3256
- }, z.core.$strip>>;
3257
- submitButton: z.ZodObject<{
3258
- label: z.ZodCatch<z.ZodString>;
3259
- }, z.core.$strip>;
3260
- }, z.core.$strip>, z.ZodObject<{
3261
- id: z.ZodString;
3262
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
3263
- }, z.core.$strip>]>>>;
3264
- }, z.core.$strip>>>;
3265
- failure: z.ZodCatch<z.ZodArray<z.ZodObject<{
3266
- languageCode: z.ZodString;
3267
- messages: z.ZodCatch<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3268
- id: z.ZodString;
3269
- type: z.ZodLiteral<import("../../../types/responses").MessageType.text>;
3270
- title: z.ZodString;
3271
- }, z.core.$strip>, z.ZodObject<{
3272
- id: z.ZodString;
3273
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textWithButton>;
3274
- title: z.ZodString;
3275
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3276
- id: z.ZodString;
3277
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.postButton>;
3278
- label: z.ZodString;
3279
- payload: z.ZodString;
3280
- valueToShow: z.ZodString;
3281
- }, z.core.$strip>, z.ZodObject<{
3282
- id: z.ZodString;
3283
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.urlButton>;
3284
- label: z.ZodString;
3285
- url: z.ZodString;
3286
- }, z.core.$strip>, z.ZodObject<{
3287
- id: z.ZodString;
3288
- type: z.ZodLiteral<import("../../../types/responses").QuickReplyButtonType.agentTransferButton>;
3289
- label: z.ZodString;
3290
- payload: z.ZodString;
3291
- valueToShow: z.ZodString;
3292
- }, z.core.$strip>]>>;
3293
- }, z.core.$strip>, z.ZodObject<{
3294
- id: z.ZodString;
3295
- type: z.ZodLiteral<import("../../../types/responses").MessageType.textNotification>;
3296
- title: z.ZodString;
3297
- }, z.core.$strip>, z.ZodObject<{
3298
- id: z.ZodString;
3299
- type: z.ZodLiteral<import("../../../types/responses").MessageType.carousel>;
3300
- cards: z.ZodArray<z.ZodObject<{
3301
- id: z.ZodString;
3302
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3303
- body: z.ZodObject<{
3304
- title: z.ZodString;
3305
- description: z.ZodString;
3306
- }, z.core.$strip>;
3307
- buttons: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3308
- id: z.ZodString;
3309
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.postButton>;
3310
- label: z.ZodString;
3311
- payload: z.ZodString;
3312
- valueToShow: z.ZodString;
3313
- }, z.core.$strip>, z.ZodObject<{
3314
- id: z.ZodString;
3315
- type: z.ZodLiteral<import("../../../types/responses").CarouselButtonType.urlButton>;
3316
- label: z.ZodString;
3317
- url: z.ZodString;
3318
- }, z.core.$strip>]>>;
3319
- }, z.core.$strip>>;
3320
- }, z.core.$strip>, z.ZodObject<{
3321
- id: z.ZodString;
3322
- type: z.ZodLiteral<import("../../../types/responses").MessageType.form>;
3323
- title: z.ZodString;
3324
- subtitle: z.ZodString;
3325
- fields: z.ZodArray<z.ZodObject<{
3326
- id: z.ZodString;
3327
- name: z.ZodString;
3328
- type: z.ZodPrefault<z.ZodEnum<{
3329
- time: "time";
3330
- file: "file";
3331
- url: "url";
3332
- textarea: "textarea";
3333
- text: "text";
3334
- email: "email";
3335
- tel: "tel";
3336
- date: "date";
3337
- "datetime-local": "datetime-local";
3338
- password: "password";
3339
- }>>;
3340
- label: z.ZodCatch<z.ZodString>;
3341
- placeholder: z.ZodCatch<z.ZodOptional<z.ZodString>>;
3342
- defaultValue: z.ZodCatch<z.ZodOptional<z.ZodString>>;
3343
- required: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
3344
- hidden: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
3345
- pattern: z.ZodCatch<z.ZodOptional<z.ZodString>>;
3346
- maxLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
3347
- minLength: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
3348
- }, z.core.$strip>>;
3349
- submitButton: z.ZodObject<{
3350
- label: z.ZodCatch<z.ZodString>;
3351
- }, z.core.$strip>;
3352
- }, z.core.$strip>, z.ZodObject<{
3353
- id: z.ZodString;
3354
- type: z.ZodLiteral<import("../../../types/responses").MessageType.leadGeneration>;
3355
- }, z.core.$strip>]>>>;
3356
- }, z.core.$strip>>>;
3357
- type: z.ZodString;
3358
- sessionAttributes: z.ZodCatch<z.ZodString>;
3359
- isNameDisabled: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
3360
- isTypeDisabled: z.ZodCatch<z.ZodPrefault<z.ZodOptional<z.ZodBoolean>>>;
3361
- }, z.core.$strip>;
3362
- }, z.core.$strip>]>;
3363
- input: z.ZodObject<{
3364
- inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3365
- expression: z.ZodString;
3366
- name: z.ZodString;
3367
- type: z.ZodEnum<{
3368
- string: "string";
3369
- number: "number";
3370
- boolean: "boolean";
3371
- object: "object";
3372
- array: "array";
3373
- }>;
3374
- category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
3375
- LoopCondition: "LoopCondition";
3376
- ReturnValueToLoopStart: "ReturnValueToLoopStart";
3377
- ExitLoop: "ExitLoop";
3378
- }>>>>;
3379
- enabled: z.ZodCatch<z.ZodBoolean>;
3380
- }, z.core.$strip>>>>>;
3381
- outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3382
- name: z.ZodString;
3383
- type: z.ZodEnum<{
3384
- string: "string";
3385
- number: "number";
3386
- boolean: "boolean";
3387
- object: "object";
3388
- array: "array";
3389
- }>;
3390
- enabled: z.ZodCatch<z.ZodBoolean>;
3391
- }, z.core.$strip>>>>>;
3392
- name: z.ZodString;
3393
- }, z.core.$strip>;
3394
- output: z.ZodObject<{
3395
- inputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3396
- expression: z.ZodString;
3397
- name: z.ZodString;
3398
- type: z.ZodEnum<{
3399
- string: "string";
3400
- number: "number";
3401
- boolean: "boolean";
3402
- object: "object";
3403
- array: "array";
3404
- }>;
3405
- category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
3406
- LoopCondition: "LoopCondition";
3407
- ReturnValueToLoopStart: "ReturnValueToLoopStart";
3408
- ExitLoop: "ExitLoop";
3409
- }>>>>;
3410
- enabled: z.ZodCatch<z.ZodBoolean>;
3411
- }, z.core.$strip>>>>>;
3412
- outputs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3413
- name: z.ZodString;
3414
- type: z.ZodEnum<{
3415
- string: "string";
3416
- number: "number";
3417
- boolean: "boolean";
3418
- object: "object";
3419
- array: "array";
3420
- }>;
3421
- enabled: z.ZodCatch<z.ZodBoolean>;
3422
- }, z.core.$strip>>>>>;
3423
- name: z.ZodString;
3424
- }, z.core.$strip>;
3425
- }, z.core.$strip>;
3426
- }, z.core.$strip>;
3427
176
  }, z.core.$strip>;
3428
- }, z.core.$strip>;
177
+ }, z.core.$loose>;
3429
178
  export type DoWhileLoopNode = z.infer<typeof DoWhileLoopNodeSchema>;