@botonic/plugin-flow-builder 0.46.2 → 2.23.1

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 (782) hide show
  1. package/CHANGELOG.md +227 -0
  2. package/README.md +11 -270
  3. package/package.json +20 -44
  4. package/src/index.d.ts +2 -0
  5. package/src/index.js +3 -0
  6. package/src/index.js.map +1 -0
  7. package/src/lib/action/ai-agent.d.ts +3 -0
  8. package/src/lib/action/ai-agent.js +67 -0
  9. package/src/lib/action/ai-agent.js.map +1 -0
  10. package/src/lib/action/fallback.d.ts +3 -0
  11. package/src/lib/action/fallback.js +40 -0
  12. package/src/lib/action/fallback.js.map +1 -0
  13. package/src/lib/action/first-interaction.d.ts +3 -0
  14. package/src/lib/action/first-interaction.js +83 -0
  15. package/src/lib/action/first-interaction.js.map +1 -0
  16. package/src/lib/action/index.d.ts +20 -0
  17. package/src/lib/action/index.js +148 -0
  18. package/src/lib/action/index.js.map +1 -0
  19. package/src/lib/action/knowledge-bases.d.ts +3 -0
  20. package/src/lib/action/knowledge-bases.js +90 -0
  21. package/src/lib/action/knowledge-bases.js.map +1 -0
  22. package/src/lib/action/payload.d.ts +3 -0
  23. package/src/lib/action/payload.js +80 -0
  24. package/src/lib/action/payload.js.map +1 -0
  25. package/{lib/esm → src/lib}/api.d.ts +8 -19
  26. package/{lib/cjs → src/lib}/api.js +60 -101
  27. package/src/lib/api.js.map +1 -0
  28. package/{lib/cjs → src/lib}/constants.d.ts +3 -2
  29. package/src/lib/constants.js +19 -0
  30. package/src/lib/constants.js.map +1 -0
  31. package/{lib/esm → src/lib}/content-fields/content-fields-base.d.ts +9 -5
  32. package/src/lib/content-fields/content-fields-base.js +94 -0
  33. package/src/lib/content-fields/content-fields-base.js.map +1 -0
  34. package/src/lib/content-fields/flow-ai-agent.d.ts +20 -0
  35. package/src/lib/content-fields/flow-ai-agent.js +50 -0
  36. package/src/lib/content-fields/flow-ai-agent.js.map +1 -0
  37. package/src/lib/content-fields/flow-bot-action.d.ts +11 -0
  38. package/src/lib/content-fields/flow-bot-action.js +43 -0
  39. package/src/lib/content-fields/flow-bot-action.js.map +1 -0
  40. package/{lib/cjs → src/lib}/content-fields/flow-button.d.ts +13 -7
  41. package/src/lib/content-fields/flow-button.js +123 -0
  42. package/src/lib/content-fields/flow-button.js.map +1 -0
  43. package/{lib/cjs → src/lib}/content-fields/flow-capture-user-input.d.ts +4 -4
  44. package/src/lib/content-fields/flow-capture-user-input.js +42 -0
  45. package/src/lib/content-fields/flow-capture-user-input.js.map +1 -0
  46. package/src/lib/content-fields/flow-carousel.d.ts +49 -0
  47. package/src/lib/content-fields/flow-carousel.js +181 -0
  48. package/src/lib/content-fields/flow-carousel.js.map +1 -0
  49. package/src/lib/content-fields/flow-channel-conditional.d.ts +13 -0
  50. package/src/lib/content-fields/flow-channel-conditional.js +53 -0
  51. package/src/lib/content-fields/flow-channel-conditional.js.map +1 -0
  52. package/src/lib/content-fields/flow-country-conditional.d.ts +12 -0
  53. package/src/lib/content-fields/flow-country-conditional.js +55 -0
  54. package/src/lib/content-fields/flow-country-conditional.js.map +1 -0
  55. package/src/lib/content-fields/flow-custom-conditional.d.ts +16 -0
  56. package/{lib/cjs → src/lib}/content-fields/flow-custom-conditional.js +36 -34
  57. package/src/lib/content-fields/flow-custom-conditional.js.map +1 -0
  58. package/{lib/cjs → src/lib}/content-fields/flow-element.d.ts +3 -10
  59. package/src/lib/content-fields/flow-element.js +38 -0
  60. package/src/lib/content-fields/flow-element.js.map +1 -0
  61. package/src/lib/content-fields/flow-go-to-flow.d.ts +12 -0
  62. package/src/lib/content-fields/flow-go-to-flow.js +46 -0
  63. package/src/lib/content-fields/flow-go-to-flow.js.map +1 -0
  64. package/{lib/cjs → src/lib}/content-fields/flow-handoff.d.ts +6 -6
  65. package/src/lib/content-fields/flow-handoff.js +77 -0
  66. package/src/lib/content-fields/flow-handoff.js.map +1 -0
  67. package/src/lib/content-fields/flow-image.d.ts +10 -0
  68. package/src/lib/content-fields/flow-image.js +28 -0
  69. package/src/lib/content-fields/flow-image.js.map +1 -0
  70. package/{lib/cjs → src/lib}/content-fields/flow-knowledge-base.d.ts +5 -4
  71. package/src/lib/content-fields/flow-knowledge-base.js +52 -0
  72. package/src/lib/content-fields/flow-knowledge-base.js.map +1 -0
  73. package/{lib/esm → src/lib}/content-fields/flow-queue-status-conditional.d.ts +6 -6
  74. package/src/lib/content-fields/flow-queue-status-conditional.js +97 -0
  75. package/src/lib/content-fields/flow-queue-status-conditional.js.map +1 -0
  76. package/{lib/esm → src/lib}/content-fields/flow-rating.d.ts +5 -4
  77. package/src/lib/content-fields/flow-rating.js +80 -0
  78. package/src/lib/content-fields/flow-rating.js.map +1 -0
  79. package/src/lib/content-fields/flow-text.d.ts +15 -0
  80. package/src/lib/content-fields/flow-text.js +76 -0
  81. package/src/lib/content-fields/flow-text.js.map +1 -0
  82. package/src/lib/content-fields/flow-video.d.ts +10 -0
  83. package/src/lib/content-fields/flow-video.js +28 -0
  84. package/src/lib/content-fields/flow-video.js.map +1 -0
  85. package/{lib/esm → src/lib}/content-fields/flow-webview.d.ts +3 -3
  86. package/src/lib/content-fields/flow-webview.js +41 -0
  87. package/src/lib/content-fields/flow-webview.js.map +1 -0
  88. package/{lib/esm → src/lib}/content-fields/flow-whatsapp-cta-url-button.d.ts +8 -7
  89. package/src/lib/content-fields/flow-whatsapp-cta-url-button.js +76 -0
  90. package/src/lib/content-fields/flow-whatsapp-cta-url-button.js.map +1 -0
  91. package/{lib/esm → src/lib}/content-fields/flow-whatsapp-template.d.ts +7 -7
  92. package/src/lib/content-fields/flow-whatsapp-template.js +159 -0
  93. package/src/lib/content-fields/flow-whatsapp-template.js.map +1 -0
  94. package/{lib/esm → src/lib}/content-fields/hubtype-fields/ai-agent.d.ts +2 -5
  95. package/src/lib/content-fields/hubtype-fields/ai-agent.js +2 -0
  96. package/src/lib/content-fields/hubtype-fields/ai-agent.js.map +1 -0
  97. package/{lib/esm → src/lib}/content-fields/hubtype-fields/bot-action.d.ts +2 -2
  98. package/src/lib/content-fields/hubtype-fields/bot-action.js +2 -0
  99. package/src/lib/content-fields/hubtype-fields/bot-action.js.map +1 -0
  100. package/{lib/esm → src/lib}/content-fields/hubtype-fields/button.d.ts +1 -1
  101. package/src/lib/content-fields/hubtype-fields/button.js +2 -0
  102. package/src/lib/content-fields/hubtype-fields/button.js.map +1 -0
  103. package/{lib/esm → src/lib}/content-fields/hubtype-fields/capture-user-input.d.ts +2 -2
  104. package/src/lib/content-fields/hubtype-fields/capture-user-input.js +9 -0
  105. package/src/lib/content-fields/hubtype-fields/capture-user-input.js.map +1 -0
  106. package/{lib/esm → src/lib}/content-fields/hubtype-fields/carousel.d.ts +3 -3
  107. package/src/lib/content-fields/hubtype-fields/carousel.js +2 -0
  108. package/src/lib/content-fields/hubtype-fields/carousel.js.map +1 -0
  109. package/{lib/cjs → src/lib}/content-fields/hubtype-fields/channel-conditional.d.ts +3 -3
  110. package/src/lib/content-fields/hubtype-fields/channel-conditional.js +2 -0
  111. package/src/lib/content-fields/hubtype-fields/channel-conditional.js.map +1 -0
  112. package/{lib/cjs → src/lib}/content-fields/hubtype-fields/common.d.ts +2 -2
  113. package/src/lib/content-fields/hubtype-fields/common.js +2 -0
  114. package/src/lib/content-fields/hubtype-fields/common.js.map +1 -0
  115. package/{lib/cjs → src/lib}/content-fields/hubtype-fields/country-conditional.d.ts +3 -3
  116. package/src/lib/content-fields/hubtype-fields/country-conditional.js +2 -0
  117. package/src/lib/content-fields/hubtype-fields/country-conditional.js.map +1 -0
  118. package/{lib/esm → src/lib}/content-fields/hubtype-fields/custom-conditional.d.ts +3 -3
  119. package/src/lib/content-fields/hubtype-fields/custom-conditional.js +2 -0
  120. package/src/lib/content-fields/hubtype-fields/custom-conditional.js.map +1 -0
  121. package/{lib/cjs → src/lib}/content-fields/hubtype-fields/fallback.d.ts +2 -2
  122. package/src/lib/content-fields/hubtype-fields/fallback.js +2 -0
  123. package/src/lib/content-fields/hubtype-fields/fallback.js.map +1 -0
  124. package/{lib/cjs → src/lib}/content-fields/hubtype-fields/function.d.ts +3 -3
  125. package/src/lib/content-fields/hubtype-fields/function.js +8 -0
  126. package/src/lib/content-fields/hubtype-fields/function.js.map +1 -0
  127. package/{lib/cjs → src/lib}/content-fields/hubtype-fields/go-to-flow.d.ts +2 -2
  128. package/src/lib/content-fields/hubtype-fields/go-to-flow.js +2 -0
  129. package/src/lib/content-fields/hubtype-fields/go-to-flow.js.map +1 -0
  130. package/{lib/cjs → src/lib}/content-fields/hubtype-fields/handoff.d.ts +2 -2
  131. package/src/lib/content-fields/hubtype-fields/handoff.js +2 -0
  132. package/src/lib/content-fields/hubtype-fields/handoff.js.map +1 -0
  133. package/{lib/cjs → src/lib}/content-fields/hubtype-fields/image.d.ts +2 -2
  134. package/src/lib/content-fields/hubtype-fields/image.js +2 -0
  135. package/src/lib/content-fields/hubtype-fields/image.js.map +1 -0
  136. package/{lib/esm → src/lib}/content-fields/hubtype-fields/index.d.ts +1 -0
  137. package/{lib/cjs/content-fields/hubtype-fields/index.d.ts → src/lib/content-fields/hubtype-fields/index.js} +2 -0
  138. package/src/lib/content-fields/hubtype-fields/index.js.map +1 -0
  139. package/{lib/esm → src/lib}/content-fields/hubtype-fields/keyword.d.ts +2 -2
  140. package/src/lib/content-fields/hubtype-fields/keyword.js +2 -0
  141. package/src/lib/content-fields/hubtype-fields/keyword.js.map +1 -0
  142. package/{lib/esm → src/lib}/content-fields/hubtype-fields/knowledge-base.d.ts +2 -2
  143. package/src/lib/content-fields/hubtype-fields/knowledge-base.js +2 -0
  144. package/src/lib/content-fields/hubtype-fields/knowledge-base.js.map +1 -0
  145. package/{lib/cjs → src/lib}/content-fields/hubtype-fields/node-types.d.ts +4 -4
  146. package/{lib/esm → src/lib}/content-fields/hubtype-fields/node-types.js +10 -13
  147. package/src/lib/content-fields/hubtype-fields/node-types.js.map +1 -0
  148. package/src/lib/content-fields/hubtype-fields/nodes.d.ts +24 -0
  149. package/src/lib/content-fields/hubtype-fields/nodes.js +2 -0
  150. package/src/lib/content-fields/hubtype-fields/nodes.js.map +1 -0
  151. package/{lib/esm → src/lib}/content-fields/hubtype-fields/payload.d.ts +1 -1
  152. package/src/lib/content-fields/hubtype-fields/payload.js +2 -0
  153. package/src/lib/content-fields/hubtype-fields/payload.js.map +1 -0
  154. package/{lib/esm → src/lib}/content-fields/hubtype-fields/queue-status-conditional.d.ts +3 -3
  155. package/src/lib/content-fields/hubtype-fields/queue-status-conditional.js +2 -0
  156. package/src/lib/content-fields/hubtype-fields/queue-status-conditional.js.map +1 -0
  157. package/{lib/cjs → src/lib}/content-fields/hubtype-fields/rating.d.ts +2 -2
  158. package/src/lib/content-fields/hubtype-fields/rating.js +6 -0
  159. package/src/lib/content-fields/hubtype-fields/rating.js.map +1 -0
  160. package/{lib/esm → src/lib}/content-fields/hubtype-fields/smart-intent.d.ts +2 -2
  161. package/src/lib/content-fields/hubtype-fields/smart-intent.js +2 -0
  162. package/src/lib/content-fields/hubtype-fields/smart-intent.js.map +1 -0
  163. package/{lib/esm → src/lib}/content-fields/hubtype-fields/text.d.ts +3 -3
  164. package/src/lib/content-fields/hubtype-fields/text.js +2 -0
  165. package/src/lib/content-fields/hubtype-fields/text.js.map +1 -0
  166. package/{lib/esm → src/lib}/content-fields/hubtype-fields/url.d.ts +1 -1
  167. package/src/lib/content-fields/hubtype-fields/url.js +2 -0
  168. package/src/lib/content-fields/hubtype-fields/url.js.map +1 -0
  169. package/{lib/cjs → src/lib}/content-fields/hubtype-fields/video.d.ts +2 -2
  170. package/src/lib/content-fields/hubtype-fields/video.js +2 -0
  171. package/src/lib/content-fields/hubtype-fields/video.js.map +1 -0
  172. package/{lib/esm → src/lib}/content-fields/hubtype-fields/webview.d.ts +2 -2
  173. package/src/lib/content-fields/hubtype-fields/webview.js +2 -0
  174. package/src/lib/content-fields/hubtype-fields/webview.js.map +1 -0
  175. package/{lib/cjs → src/lib}/content-fields/hubtype-fields/whatsapp-button-list.d.ts +2 -2
  176. package/src/lib/content-fields/hubtype-fields/whatsapp-button-list.js +2 -0
  177. package/src/lib/content-fields/hubtype-fields/whatsapp-button-list.js.map +1 -0
  178. package/{lib/esm → src/lib}/content-fields/hubtype-fields/whatsapp-cta-url-button.d.ts +5 -5
  179. package/src/lib/content-fields/hubtype-fields/whatsapp-cta-url-button.js +2 -0
  180. package/src/lib/content-fields/hubtype-fields/whatsapp-cta-url-button.js.map +1 -0
  181. package/src/lib/content-fields/hubtype-fields/whatsapp-template.d.ts +72 -0
  182. package/src/lib/content-fields/hubtype-fields/whatsapp-template.js +2 -0
  183. package/src/lib/content-fields/hubtype-fields/whatsapp-template.js.map +1 -0
  184. package/{lib/cjs → src/lib}/content-fields/index.d.ts +1 -5
  185. package/{lib/esm/content-fields/index.d.ts → src/lib/content-fields/index.js} +3 -7
  186. package/src/lib/content-fields/index.js.map +1 -0
  187. package/src/lib/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.d.ts +14 -0
  188. package/src/lib/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js +38 -0
  189. package/src/lib/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js.map +1 -0
  190. package/{lib/cjs → src/lib}/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.d.ts +6 -5
  191. package/src/lib/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js +33 -0
  192. package/src/lib/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js.map +1 -0
  193. package/{lib/cjs → src/lib}/content-fields/whatsapp-button-list/flow-whatsapp-button-list.d.ts +5 -5
  194. package/src/lib/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js +48 -0
  195. package/src/lib/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js.map +1 -0
  196. package/src/lib/filters/index.d.ts +12 -0
  197. package/src/lib/filters/index.js +16 -0
  198. package/src/lib/filters/index.js.map +1 -0
  199. package/{lib/cjs → src/lib}/flow-factory.d.ts +3 -3
  200. package/src/lib/flow-factory.js +65 -0
  201. package/src/lib/flow-factory.js.map +1 -0
  202. package/{lib/esm → src/lib}/functions/index.d.ts +4 -4
  203. package/src/lib/functions/index.js +47 -0
  204. package/src/lib/functions/index.js.map +1 -0
  205. package/src/lib/helpers.d.ts +3 -0
  206. package/{lib/esm → src/lib}/helpers.js +1 -4
  207. package/src/lib/helpers.js.map +1 -0
  208. package/src/lib/index.d.ts +39 -0
  209. package/src/lib/index.js +158 -0
  210. package/src/lib/index.js.map +1 -0
  211. package/src/lib/services/capture-user-input-client.d.ts +16 -0
  212. package/src/lib/services/capture-user-input-client.js +38 -0
  213. package/src/lib/services/capture-user-input-client.js.map +1 -0
  214. package/src/lib/services/flow-client.d.ts +9 -0
  215. package/src/lib/services/flow-client.js +33 -0
  216. package/src/lib/services/flow-client.js.map +1 -0
  217. package/{lib/cjs/services/hubtype-queues-api.d.ts → src/lib/services/hubtype-queues-client.d.ts} +1 -1
  218. package/src/lib/services/hubtype-queues-client.js +28 -0
  219. package/src/lib/services/hubtype-queues-client.js.map +1 -0
  220. package/src/lib/services/smart-intent-client.d.ts +7 -0
  221. package/src/lib/services/smart-intent-client.js +22 -0
  222. package/src/lib/services/smart-intent-client.js.map +1 -0
  223. package/src/lib/tests/helpers/flows/basic.d.ts +2 -0
  224. package/src/lib/tests/helpers/flows/basic.js +2437 -0
  225. package/src/lib/tests/helpers/flows/basic.js.map +1 -0
  226. package/src/lib/tests/helpers/flows/capture-user-input.d.ts +2 -0
  227. package/src/lib/tests/helpers/flows/capture-user-input.js +354 -0
  228. package/src/lib/tests/helpers/flows/capture-user-input.js.map +1 -0
  229. package/src/lib/tests/helpers/flows/whatsapp-template.d.ts +2 -0
  230. package/src/lib/tests/helpers/flows/whatsapp-template.js +513 -0
  231. package/src/lib/tests/helpers/flows/whatsapp-template.js.map +1 -0
  232. package/src/lib/tests/helpers/utils.d.ts +32 -0
  233. package/src/lib/tests/helpers/utils.js +71 -0
  234. package/src/lib/tests/helpers/utils.js.map +1 -0
  235. package/src/lib/tests/mocks/ai-agent-response.d.ts +3 -0
  236. package/src/lib/tests/mocks/ai-agent-response.js +18 -0
  237. package/src/lib/tests/mocks/ai-agent-response.js.map +1 -0
  238. package/src/lib/tests/mocks/capture-user-input-client.d.ts +1 -0
  239. package/src/lib/tests/mocks/capture-user-input-client.js +12 -0
  240. package/src/lib/tests/mocks/capture-user-input-client.js.map +1 -0
  241. package/src/lib/tests/mocks/hubtype-queue-client.d.ts +3 -0
  242. package/src/lib/tests/mocks/hubtype-queue-client.js +22 -0
  243. package/src/lib/tests/mocks/hubtype-queue-client.js.map +1 -0
  244. package/src/lib/tests/mocks/index.d.ts +1 -0
  245. package/src/lib/tests/mocks/index.js +2 -0
  246. package/src/lib/tests/mocks/index.js.map +1 -0
  247. package/src/lib/tests/mocks/smart-intent-client.d.ts +3 -0
  248. package/src/lib/tests/mocks/smart-intent-client.js +31 -0
  249. package/src/lib/tests/mocks/smart-intent-client.js.map +1 -0
  250. package/src/lib/tracking.d.ts +15 -0
  251. package/src/lib/tracking.js +85 -0
  252. package/src/lib/tracking.js.map +1 -0
  253. package/src/lib/types.d.ts +69 -0
  254. package/src/lib/types.js +11 -0
  255. package/src/lib/types.js.map +1 -0
  256. package/src/lib/user-input/capture-user-input.d.ts +10 -0
  257. package/src/lib/user-input/capture-user-input.js +62 -0
  258. package/src/lib/user-input/capture-user-input.js.map +1 -0
  259. package/src/lib/user-input/index.d.ts +4 -0
  260. package/src/lib/user-input/index.js +38 -0
  261. package/src/lib/user-input/index.js.map +1 -0
  262. package/{lib/cjs → src/lib}/user-input/keyword.d.ts +7 -9
  263. package/src/lib/user-input/keyword.js +86 -0
  264. package/src/lib/user-input/keyword.js.map +1 -0
  265. package/{lib/cjs → src/lib}/user-input/smart-intent.d.ts +6 -7
  266. package/src/lib/user-input/smart-intent.js +69 -0
  267. package/src/lib/user-input/smart-intent.js.map +1 -0
  268. package/src/lib/utils.d.ts +4 -0
  269. package/src/lib/utils.js +16 -0
  270. package/src/lib/utils.js.map +1 -0
  271. package/lib/cjs/action/ai-agent/index.d.ts +0 -3
  272. package/lib/cjs/action/ai-agent/index.js +0 -94
  273. package/lib/cjs/action/ai-agent/index.js.map +0 -1
  274. package/lib/cjs/action/ai-agent/structured-output/flow-builder-content.d.ts +0 -16
  275. package/lib/cjs/action/ai-agent/structured-output/flow-builder-content.js +0 -12
  276. package/lib/cjs/action/ai-agent/structured-output/flow-builder-content.js.map +0 -1
  277. package/lib/cjs/action/fallback.d.ts +0 -3
  278. package/lib/cjs/action/fallback.js +0 -36
  279. package/lib/cjs/action/fallback.js.map +0 -1
  280. package/lib/cjs/action/first-interaction.d.ts +0 -3
  281. package/lib/cjs/action/first-interaction.js +0 -91
  282. package/lib/cjs/action/first-interaction.js.map +0 -1
  283. package/lib/cjs/action/index.d.ts +0 -28
  284. package/lib/cjs/action/index.js +0 -127
  285. package/lib/cjs/action/index.js.map +0 -1
  286. package/lib/cjs/action/knowledge-bases.d.ts +0 -3
  287. package/lib/cjs/action/knowledge-bases.js +0 -85
  288. package/lib/cjs/action/knowledge-bases.js.map +0 -1
  289. package/lib/cjs/action/payload.d.ts +0 -3
  290. package/lib/cjs/action/payload.js +0 -74
  291. package/lib/cjs/action/payload.js.map +0 -1
  292. package/lib/cjs/api.d.ts +0 -50
  293. package/lib/cjs/api.js.map +0 -1
  294. package/lib/cjs/constants.js +0 -20
  295. package/lib/cjs/constants.js.map +0 -1
  296. package/lib/cjs/content-fields/content-fields-base.d.ts +0 -17
  297. package/lib/cjs/content-fields/content-fields-base.js +0 -66
  298. package/lib/cjs/content-fields/content-fields-base.js.map +0 -1
  299. package/lib/cjs/content-fields/flow-ai-agent.d.ts +0 -23
  300. package/lib/cjs/content-fields/flow-ai-agent.js +0 -53
  301. package/lib/cjs/content-fields/flow-ai-agent.js.map +0 -1
  302. package/lib/cjs/content-fields/flow-bot-action.d.ts +0 -12
  303. package/lib/cjs/content-fields/flow-bot-action.js +0 -39
  304. package/lib/cjs/content-fields/flow-bot-action.js.map +0 -1
  305. package/lib/cjs/content-fields/flow-button.js +0 -104
  306. package/lib/cjs/content-fields/flow-button.js.map +0 -1
  307. package/lib/cjs/content-fields/flow-capture-user-input.js +0 -43
  308. package/lib/cjs/content-fields/flow-capture-user-input.js.map +0 -1
  309. package/lib/cjs/content-fields/flow-carousel.d.ts +0 -21
  310. package/lib/cjs/content-fields/flow-carousel.js +0 -147
  311. package/lib/cjs/content-fields/flow-carousel.js.map +0 -1
  312. package/lib/cjs/content-fields/flow-channel-conditional.d.ts +0 -13
  313. package/lib/cjs/content-fields/flow-channel-conditional.js +0 -53
  314. package/lib/cjs/content-fields/flow-channel-conditional.js.map +0 -1
  315. package/lib/cjs/content-fields/flow-country-conditional.d.ts +0 -12
  316. package/lib/cjs/content-fields/flow-country-conditional.js +0 -54
  317. package/lib/cjs/content-fields/flow-country-conditional.js.map +0 -1
  318. package/lib/cjs/content-fields/flow-custom-conditional.d.ts +0 -16
  319. package/lib/cjs/content-fields/flow-custom-conditional.js.map +0 -1
  320. package/lib/cjs/content-fields/flow-element.js +0 -46
  321. package/lib/cjs/content-fields/flow-element.js.map +0 -1
  322. package/lib/cjs/content-fields/flow-go-to-flow.d.ts +0 -13
  323. package/lib/cjs/content-fields/flow-go-to-flow.js +0 -58
  324. package/lib/cjs/content-fields/flow-go-to-flow.js.map +0 -1
  325. package/lib/cjs/content-fields/flow-handoff.js +0 -63
  326. package/lib/cjs/content-fields/flow-handoff.js.map +0 -1
  327. package/lib/cjs/content-fields/flow-image.d.ts +0 -9
  328. package/lib/cjs/content-fields/flow-image.js +0 -28
  329. package/lib/cjs/content-fields/flow-image.js.map +0 -1
  330. package/lib/cjs/content-fields/flow-knowledge-base.js +0 -39
  331. package/lib/cjs/content-fields/flow-knowledge-base.js.map +0 -1
  332. package/lib/cjs/content-fields/flow-queue-status-conditional.d.ts +0 -29
  333. package/lib/cjs/content-fields/flow-queue-status-conditional.js +0 -90
  334. package/lib/cjs/content-fields/flow-queue-status-conditional.js.map +0 -1
  335. package/lib/cjs/content-fields/flow-rating.d.ts +0 -14
  336. package/lib/cjs/content-fields/flow-rating.js +0 -61
  337. package/lib/cjs/content-fields/flow-rating.js.map +0 -1
  338. package/lib/cjs/content-fields/flow-text.d.ts +0 -15
  339. package/lib/cjs/content-fields/flow-text.js +0 -55
  340. package/lib/cjs/content-fields/flow-text.js.map +0 -1
  341. package/lib/cjs/content-fields/flow-video.d.ts +0 -9
  342. package/lib/cjs/content-fields/flow-video.js +0 -28
  343. package/lib/cjs/content-fields/flow-video.js.map +0 -1
  344. package/lib/cjs/content-fields/flow-webview.d.ts +0 -11
  345. package/lib/cjs/content-fields/flow-webview.js +0 -42
  346. package/lib/cjs/content-fields/flow-webview.js.map +0 -1
  347. package/lib/cjs/content-fields/flow-whatsapp-cta-url-button.d.ts +0 -19
  348. package/lib/cjs/content-fields/flow-whatsapp-cta-url-button.js +0 -87
  349. package/lib/cjs/content-fields/flow-whatsapp-cta-url-button.js.map +0 -1
  350. package/lib/cjs/content-fields/flow-whatsapp-template.d.ts +0 -29
  351. package/lib/cjs/content-fields/flow-whatsapp-template.js +0 -183
  352. package/lib/cjs/content-fields/flow-whatsapp-template.js.map +0 -1
  353. package/lib/cjs/content-fields/hubtype-fields/ai-agent.d.ts +0 -25
  354. package/lib/cjs/content-fields/hubtype-fields/ai-agent.js +0 -3
  355. package/lib/cjs/content-fields/hubtype-fields/ai-agent.js.map +0 -1
  356. package/lib/cjs/content-fields/hubtype-fields/bot-action.d.ts +0 -10
  357. package/lib/cjs/content-fields/hubtype-fields/bot-action.js +0 -3
  358. package/lib/cjs/content-fields/hubtype-fields/bot-action.js.map +0 -1
  359. package/lib/cjs/content-fields/hubtype-fields/button.d.ts +0 -8
  360. package/lib/cjs/content-fields/hubtype-fields/button.js +0 -3
  361. package/lib/cjs/content-fields/hubtype-fields/button.js.map +0 -1
  362. package/lib/cjs/content-fields/hubtype-fields/capture-user-input.d.ts +0 -19
  363. package/lib/cjs/content-fields/hubtype-fields/capture-user-input.js +0 -12
  364. package/lib/cjs/content-fields/hubtype-fields/capture-user-input.js.map +0 -1
  365. package/lib/cjs/content-fields/hubtype-fields/carousel.d.ts +0 -17
  366. package/lib/cjs/content-fields/hubtype-fields/carousel.js +0 -3
  367. package/lib/cjs/content-fields/hubtype-fields/carousel.js.map +0 -1
  368. package/lib/cjs/content-fields/hubtype-fields/channel-conditional.js +0 -3
  369. package/lib/cjs/content-fields/hubtype-fields/channel-conditional.js.map +0 -1
  370. package/lib/cjs/content-fields/hubtype-fields/common.js +0 -3
  371. package/lib/cjs/content-fields/hubtype-fields/common.js.map +0 -1
  372. package/lib/cjs/content-fields/hubtype-fields/country-conditional.js +0 -3
  373. package/lib/cjs/content-fields/hubtype-fields/country-conditional.js.map +0 -1
  374. package/lib/cjs/content-fields/hubtype-fields/custom-conditional.d.ts +0 -11
  375. package/lib/cjs/content-fields/hubtype-fields/custom-conditional.js +0 -3
  376. package/lib/cjs/content-fields/hubtype-fields/custom-conditional.js.map +0 -1
  377. package/lib/cjs/content-fields/hubtype-fields/fallback.js +0 -3
  378. package/lib/cjs/content-fields/hubtype-fields/fallback.js.map +0 -1
  379. package/lib/cjs/content-fields/hubtype-fields/function.js +0 -11
  380. package/lib/cjs/content-fields/hubtype-fields/function.js.map +0 -1
  381. package/lib/cjs/content-fields/hubtype-fields/go-to-flow.js +0 -3
  382. package/lib/cjs/content-fields/hubtype-fields/go-to-flow.js.map +0 -1
  383. package/lib/cjs/content-fields/hubtype-fields/handoff.js +0 -3
  384. package/lib/cjs/content-fields/hubtype-fields/handoff.js.map +0 -1
  385. package/lib/cjs/content-fields/hubtype-fields/image.js +0 -3
  386. package/lib/cjs/content-fields/hubtype-fields/image.js.map +0 -1
  387. package/lib/cjs/content-fields/hubtype-fields/index.js +0 -28
  388. package/lib/cjs/content-fields/hubtype-fields/index.js.map +0 -1
  389. package/lib/cjs/content-fields/hubtype-fields/keyword.d.ts +0 -9
  390. package/lib/cjs/content-fields/hubtype-fields/keyword.js +0 -3
  391. package/lib/cjs/content-fields/hubtype-fields/keyword.js.map +0 -1
  392. package/lib/cjs/content-fields/hubtype-fields/knowledge-base.d.ts +0 -17
  393. package/lib/cjs/content-fields/hubtype-fields/knowledge-base.js +0 -3
  394. package/lib/cjs/content-fields/hubtype-fields/knowledge-base.js.map +0 -1
  395. package/lib/cjs/content-fields/hubtype-fields/node-types.js +0 -36
  396. package/lib/cjs/content-fields/hubtype-fields/node-types.js.map +0 -1
  397. package/lib/cjs/content-fields/hubtype-fields/nodes.d.ts +0 -24
  398. package/lib/cjs/content-fields/hubtype-fields/nodes.js +0 -3
  399. package/lib/cjs/content-fields/hubtype-fields/nodes.js.map +0 -1
  400. package/lib/cjs/content-fields/hubtype-fields/payload.d.ts +0 -8
  401. package/lib/cjs/content-fields/hubtype-fields/payload.js +0 -3
  402. package/lib/cjs/content-fields/hubtype-fields/payload.js.map +0 -1
  403. package/lib/cjs/content-fields/hubtype-fields/queue-status-conditional.d.ts +0 -25
  404. package/lib/cjs/content-fields/hubtype-fields/queue-status-conditional.js +0 -3
  405. package/lib/cjs/content-fields/hubtype-fields/queue-status-conditional.js.map +0 -1
  406. package/lib/cjs/content-fields/hubtype-fields/rating.js +0 -9
  407. package/lib/cjs/content-fields/hubtype-fields/rating.js.map +0 -1
  408. package/lib/cjs/content-fields/hubtype-fields/smart-intent.d.ts +0 -11
  409. package/lib/cjs/content-fields/hubtype-fields/smart-intent.js +0 -3
  410. package/lib/cjs/content-fields/hubtype-fields/smart-intent.js.map +0 -1
  411. package/lib/cjs/content-fields/hubtype-fields/text.d.ts +0 -11
  412. package/lib/cjs/content-fields/hubtype-fields/text.js +0 -3
  413. package/lib/cjs/content-fields/hubtype-fields/text.js.map +0 -1
  414. package/lib/cjs/content-fields/hubtype-fields/url.d.ts +0 -8
  415. package/lib/cjs/content-fields/hubtype-fields/url.js +0 -3
  416. package/lib/cjs/content-fields/hubtype-fields/url.js.map +0 -1
  417. package/lib/cjs/content-fields/hubtype-fields/video.js +0 -3
  418. package/lib/cjs/content-fields/hubtype-fields/video.js.map +0 -1
  419. package/lib/cjs/content-fields/hubtype-fields/webview.d.ts +0 -16
  420. package/lib/cjs/content-fields/hubtype-fields/webview.js +0 -3
  421. package/lib/cjs/content-fields/hubtype-fields/webview.js.map +0 -1
  422. package/lib/cjs/content-fields/hubtype-fields/whatsapp-button-list.js +0 -3
  423. package/lib/cjs/content-fields/hubtype-fields/whatsapp-button-list.js.map +0 -1
  424. package/lib/cjs/content-fields/hubtype-fields/whatsapp-cta-url-button.d.ts +0 -17
  425. package/lib/cjs/content-fields/hubtype-fields/whatsapp-cta-url-button.js +0 -3
  426. package/lib/cjs/content-fields/hubtype-fields/whatsapp-cta-url-button.js.map +0 -1
  427. package/lib/cjs/content-fields/hubtype-fields/whatsapp-template.d.ts +0 -72
  428. package/lib/cjs/content-fields/hubtype-fields/whatsapp-template.js +0 -3
  429. package/lib/cjs/content-fields/hubtype-fields/whatsapp-template.js.map +0 -1
  430. package/lib/cjs/content-fields/index.js +0 -47
  431. package/lib/cjs/content-fields/index.js.map +0 -1
  432. package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.d.ts +0 -13
  433. package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js +0 -39
  434. package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js.map +0 -1
  435. package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js +0 -34
  436. package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js.map +0 -1
  437. package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js +0 -41
  438. package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js.map +0 -1
  439. package/lib/cjs/filters/index.d.ts +0 -12
  440. package/lib/cjs/filters/index.js +0 -17
  441. package/lib/cjs/filters/index.js.map +0 -1
  442. package/lib/cjs/flow-factory.js +0 -65
  443. package/lib/cjs/flow-factory.js.map +0 -1
  444. package/lib/cjs/functions/index.d.ts +0 -11
  445. package/lib/cjs/functions/index.js +0 -49
  446. package/lib/cjs/functions/index.js.map +0 -1
  447. package/lib/cjs/helpers.d.ts +0 -3
  448. package/lib/cjs/helpers.js +0 -16
  449. package/lib/cjs/helpers.js.map +0 -1
  450. package/lib/cjs/index.d.ts +0 -46
  451. package/lib/cjs/index.js +0 -182
  452. package/lib/cjs/index.js.map +0 -1
  453. package/lib/cjs/services/hubtype-queues-api.js +0 -26
  454. package/lib/cjs/services/hubtype-queues-api.js.map +0 -1
  455. package/lib/cjs/tracking.d.ts +0 -16
  456. package/lib/cjs/tracking.js +0 -72
  457. package/lib/cjs/tracking.js.map +0 -1
  458. package/lib/cjs/types.d.ts +0 -64
  459. package/lib/cjs/types.js +0 -14
  460. package/lib/cjs/types.js.map +0 -1
  461. package/lib/cjs/user-input/capture-user-input-api.d.ts +0 -21
  462. package/lib/cjs/user-input/capture-user-input-api.js +0 -88
  463. package/lib/cjs/user-input/capture-user-input-api.js.map +0 -1
  464. package/lib/cjs/user-input/index.d.ts +0 -4
  465. package/lib/cjs/user-input/index.js +0 -37
  466. package/lib/cjs/user-input/index.js.map +0 -1
  467. package/lib/cjs/user-input/keyword.js +0 -84
  468. package/lib/cjs/user-input/keyword.js.map +0 -1
  469. package/lib/cjs/user-input/smart-intent.js +0 -85
  470. package/lib/cjs/user-input/smart-intent.js.map +0 -1
  471. package/lib/cjs/utils.d.ts +0 -8
  472. package/lib/cjs/utils.js +0 -57
  473. package/lib/cjs/utils.js.map +0 -1
  474. package/lib/cjs/webview/contents-context.d.ts +0 -2
  475. package/lib/cjs/webview/contents-context.js +0 -12
  476. package/lib/cjs/webview/contents-context.js.map +0 -1
  477. package/lib/cjs/webview/index.d.ts +0 -3
  478. package/lib/cjs/webview/index.js +0 -10
  479. package/lib/cjs/webview/index.js.map +0 -1
  480. package/lib/cjs/webview/types.d.ts +0 -47
  481. package/lib/cjs/webview/types.js +0 -9
  482. package/lib/cjs/webview/types.js.map +0 -1
  483. package/lib/cjs/webview/use-webview-contents.d.ts +0 -2
  484. package/lib/cjs/webview/use-webview-contents.js +0 -83
  485. package/lib/cjs/webview/use-webview-contents.js.map +0 -1
  486. package/lib/esm/action/ai-agent/index.d.ts +0 -3
  487. package/lib/esm/action/ai-agent/index.js +0 -94
  488. package/lib/esm/action/ai-agent/index.js.map +0 -1
  489. package/lib/esm/action/ai-agent/structured-output/flow-builder-content.d.ts +0 -16
  490. package/lib/esm/action/ai-agent/structured-output/flow-builder-content.js +0 -12
  491. package/lib/esm/action/ai-agent/structured-output/flow-builder-content.js.map +0 -1
  492. package/lib/esm/action/fallback.d.ts +0 -3
  493. package/lib/esm/action/fallback.js +0 -36
  494. package/lib/esm/action/fallback.js.map +0 -1
  495. package/lib/esm/action/first-interaction.d.ts +0 -3
  496. package/lib/esm/action/first-interaction.js +0 -91
  497. package/lib/esm/action/first-interaction.js.map +0 -1
  498. package/lib/esm/action/index.d.ts +0 -28
  499. package/lib/esm/action/index.js +0 -127
  500. package/lib/esm/action/index.js.map +0 -1
  501. package/lib/esm/action/knowledge-bases.d.ts +0 -3
  502. package/lib/esm/action/knowledge-bases.js +0 -85
  503. package/lib/esm/action/knowledge-bases.js.map +0 -1
  504. package/lib/esm/action/payload.d.ts +0 -3
  505. package/lib/esm/action/payload.js +0 -74
  506. package/lib/esm/action/payload.js.map +0 -1
  507. package/lib/esm/api.js +0 -254
  508. package/lib/esm/api.js.map +0 -1
  509. package/lib/esm/constants.d.ts +0 -14
  510. package/lib/esm/constants.js +0 -20
  511. package/lib/esm/constants.js.map +0 -1
  512. package/lib/esm/content-fields/content-fields-base.js +0 -66
  513. package/lib/esm/content-fields/content-fields-base.js.map +0 -1
  514. package/lib/esm/content-fields/flow-ai-agent.d.ts +0 -23
  515. package/lib/esm/content-fields/flow-ai-agent.js +0 -53
  516. package/lib/esm/content-fields/flow-ai-agent.js.map +0 -1
  517. package/lib/esm/content-fields/flow-bot-action.d.ts +0 -12
  518. package/lib/esm/content-fields/flow-bot-action.js +0 -39
  519. package/lib/esm/content-fields/flow-bot-action.js.map +0 -1
  520. package/lib/esm/content-fields/flow-button.d.ts +0 -31
  521. package/lib/esm/content-fields/flow-button.js +0 -104
  522. package/lib/esm/content-fields/flow-button.js.map +0 -1
  523. package/lib/esm/content-fields/flow-capture-user-input.d.ts +0 -13
  524. package/lib/esm/content-fields/flow-capture-user-input.js +0 -43
  525. package/lib/esm/content-fields/flow-capture-user-input.js.map +0 -1
  526. package/lib/esm/content-fields/flow-carousel.d.ts +0 -21
  527. package/lib/esm/content-fields/flow-carousel.js +0 -147
  528. package/lib/esm/content-fields/flow-carousel.js.map +0 -1
  529. package/lib/esm/content-fields/flow-channel-conditional.d.ts +0 -13
  530. package/lib/esm/content-fields/flow-channel-conditional.js +0 -53
  531. package/lib/esm/content-fields/flow-channel-conditional.js.map +0 -1
  532. package/lib/esm/content-fields/flow-country-conditional.d.ts +0 -12
  533. package/lib/esm/content-fields/flow-country-conditional.js +0 -54
  534. package/lib/esm/content-fields/flow-country-conditional.js.map +0 -1
  535. package/lib/esm/content-fields/flow-custom-conditional.d.ts +0 -16
  536. package/lib/esm/content-fields/flow-custom-conditional.js +0 -83
  537. package/lib/esm/content-fields/flow-custom-conditional.js.map +0 -1
  538. package/lib/esm/content-fields/flow-element.d.ts +0 -22
  539. package/lib/esm/content-fields/flow-element.js +0 -46
  540. package/lib/esm/content-fields/flow-element.js.map +0 -1
  541. package/lib/esm/content-fields/flow-go-to-flow.d.ts +0 -13
  542. package/lib/esm/content-fields/flow-go-to-flow.js +0 -58
  543. package/lib/esm/content-fields/flow-go-to-flow.js.map +0 -1
  544. package/lib/esm/content-fields/flow-handoff.d.ts +0 -16
  545. package/lib/esm/content-fields/flow-handoff.js +0 -63
  546. package/lib/esm/content-fields/flow-handoff.js.map +0 -1
  547. package/lib/esm/content-fields/flow-image.d.ts +0 -9
  548. package/lib/esm/content-fields/flow-image.js +0 -28
  549. package/lib/esm/content-fields/flow-image.js.map +0 -1
  550. package/lib/esm/content-fields/flow-knowledge-base.d.ts +0 -20
  551. package/lib/esm/content-fields/flow-knowledge-base.js +0 -39
  552. package/lib/esm/content-fields/flow-knowledge-base.js.map +0 -1
  553. package/lib/esm/content-fields/flow-queue-status-conditional.js +0 -90
  554. package/lib/esm/content-fields/flow-queue-status-conditional.js.map +0 -1
  555. package/lib/esm/content-fields/flow-rating.js +0 -61
  556. package/lib/esm/content-fields/flow-rating.js.map +0 -1
  557. package/lib/esm/content-fields/flow-text.d.ts +0 -15
  558. package/lib/esm/content-fields/flow-text.js +0 -55
  559. package/lib/esm/content-fields/flow-text.js.map +0 -1
  560. package/lib/esm/content-fields/flow-video.d.ts +0 -9
  561. package/lib/esm/content-fields/flow-video.js +0 -28
  562. package/lib/esm/content-fields/flow-video.js.map +0 -1
  563. package/lib/esm/content-fields/flow-webview.js +0 -42
  564. package/lib/esm/content-fields/flow-webview.js.map +0 -1
  565. package/lib/esm/content-fields/flow-whatsapp-cta-url-button.js +0 -87
  566. package/lib/esm/content-fields/flow-whatsapp-cta-url-button.js.map +0 -1
  567. package/lib/esm/content-fields/flow-whatsapp-template.js +0 -183
  568. package/lib/esm/content-fields/flow-whatsapp-template.js.map +0 -1
  569. package/lib/esm/content-fields/hubtype-fields/ai-agent.js +0 -3
  570. package/lib/esm/content-fields/hubtype-fields/ai-agent.js.map +0 -1
  571. package/lib/esm/content-fields/hubtype-fields/bot-action.js +0 -3
  572. package/lib/esm/content-fields/hubtype-fields/bot-action.js.map +0 -1
  573. package/lib/esm/content-fields/hubtype-fields/button.js +0 -3
  574. package/lib/esm/content-fields/hubtype-fields/button.js.map +0 -1
  575. package/lib/esm/content-fields/hubtype-fields/capture-user-input.js +0 -12
  576. package/lib/esm/content-fields/hubtype-fields/capture-user-input.js.map +0 -1
  577. package/lib/esm/content-fields/hubtype-fields/carousel.js +0 -3
  578. package/lib/esm/content-fields/hubtype-fields/carousel.js.map +0 -1
  579. package/lib/esm/content-fields/hubtype-fields/channel-conditional.d.ts +0 -10
  580. package/lib/esm/content-fields/hubtype-fields/channel-conditional.js +0 -3
  581. package/lib/esm/content-fields/hubtype-fields/channel-conditional.js.map +0 -1
  582. package/lib/esm/content-fields/hubtype-fields/common.d.ts +0 -78
  583. package/lib/esm/content-fields/hubtype-fields/common.js +0 -3
  584. package/lib/esm/content-fields/hubtype-fields/common.js.map +0 -1
  585. package/lib/esm/content-fields/hubtype-fields/country-conditional.d.ts +0 -10
  586. package/lib/esm/content-fields/hubtype-fields/country-conditional.js +0 -3
  587. package/lib/esm/content-fields/hubtype-fields/country-conditional.js.map +0 -1
  588. package/lib/esm/content-fields/hubtype-fields/custom-conditional.js +0 -3
  589. package/lib/esm/content-fields/hubtype-fields/custom-conditional.js.map +0 -1
  590. package/lib/esm/content-fields/hubtype-fields/fallback.d.ts +0 -11
  591. package/lib/esm/content-fields/hubtype-fields/fallback.js +0 -3
  592. package/lib/esm/content-fields/hubtype-fields/fallback.js.map +0 -1
  593. package/lib/esm/content-fields/hubtype-fields/function.d.ts +0 -30
  594. package/lib/esm/content-fields/hubtype-fields/function.js +0 -11
  595. package/lib/esm/content-fields/hubtype-fields/function.js.map +0 -1
  596. package/lib/esm/content-fields/hubtype-fields/go-to-flow.d.ts +0 -9
  597. package/lib/esm/content-fields/hubtype-fields/go-to-flow.js +0 -3
  598. package/lib/esm/content-fields/hubtype-fields/go-to-flow.js.map +0 -1
  599. package/lib/esm/content-fields/hubtype-fields/handoff.d.ts +0 -11
  600. package/lib/esm/content-fields/hubtype-fields/handoff.js +0 -3
  601. package/lib/esm/content-fields/hubtype-fields/handoff.js.map +0 -1
  602. package/lib/esm/content-fields/hubtype-fields/image.d.ts +0 -8
  603. package/lib/esm/content-fields/hubtype-fields/image.js +0 -3
  604. package/lib/esm/content-fields/hubtype-fields/image.js.map +0 -1
  605. package/lib/esm/content-fields/hubtype-fields/index.js +0 -28
  606. package/lib/esm/content-fields/hubtype-fields/index.js.map +0 -1
  607. package/lib/esm/content-fields/hubtype-fields/keyword.js +0 -3
  608. package/lib/esm/content-fields/hubtype-fields/keyword.js.map +0 -1
  609. package/lib/esm/content-fields/hubtype-fields/knowledge-base.js +0 -3
  610. package/lib/esm/content-fields/hubtype-fields/knowledge-base.js.map +0 -1
  611. package/lib/esm/content-fields/hubtype-fields/node-types.d.ts +0 -29
  612. package/lib/esm/content-fields/hubtype-fields/node-types.js.map +0 -1
  613. package/lib/esm/content-fields/hubtype-fields/nodes.d.ts +0 -24
  614. package/lib/esm/content-fields/hubtype-fields/nodes.js +0 -3
  615. package/lib/esm/content-fields/hubtype-fields/nodes.js.map +0 -1
  616. package/lib/esm/content-fields/hubtype-fields/payload.js +0 -3
  617. package/lib/esm/content-fields/hubtype-fields/payload.js.map +0 -1
  618. package/lib/esm/content-fields/hubtype-fields/queue-status-conditional.js +0 -3
  619. package/lib/esm/content-fields/hubtype-fields/queue-status-conditional.js.map +0 -1
  620. package/lib/esm/content-fields/hubtype-fields/rating.d.ts +0 -23
  621. package/lib/esm/content-fields/hubtype-fields/rating.js +0 -9
  622. package/lib/esm/content-fields/hubtype-fields/rating.js.map +0 -1
  623. package/lib/esm/content-fields/hubtype-fields/smart-intent.js +0 -3
  624. package/lib/esm/content-fields/hubtype-fields/smart-intent.js.map +0 -1
  625. package/lib/esm/content-fields/hubtype-fields/text.js +0 -3
  626. package/lib/esm/content-fields/hubtype-fields/text.js.map +0 -1
  627. package/lib/esm/content-fields/hubtype-fields/url.js +0 -3
  628. package/lib/esm/content-fields/hubtype-fields/url.js.map +0 -1
  629. package/lib/esm/content-fields/hubtype-fields/video.d.ts +0 -8
  630. package/lib/esm/content-fields/hubtype-fields/video.js +0 -3
  631. package/lib/esm/content-fields/hubtype-fields/video.js.map +0 -1
  632. package/lib/esm/content-fields/hubtype-fields/webview.js +0 -3
  633. package/lib/esm/content-fields/hubtype-fields/webview.js.map +0 -1
  634. package/lib/esm/content-fields/hubtype-fields/whatsapp-button-list.d.ts +0 -21
  635. package/lib/esm/content-fields/hubtype-fields/whatsapp-button-list.js +0 -3
  636. package/lib/esm/content-fields/hubtype-fields/whatsapp-button-list.js.map +0 -1
  637. package/lib/esm/content-fields/hubtype-fields/whatsapp-cta-url-button.js +0 -3
  638. package/lib/esm/content-fields/hubtype-fields/whatsapp-cta-url-button.js.map +0 -1
  639. package/lib/esm/content-fields/hubtype-fields/whatsapp-template.d.ts +0 -72
  640. package/lib/esm/content-fields/hubtype-fields/whatsapp-template.js +0 -3
  641. package/lib/esm/content-fields/hubtype-fields/whatsapp-template.js.map +0 -1
  642. package/lib/esm/content-fields/index.js +0 -47
  643. package/lib/esm/content-fields/index.js.map +0 -1
  644. package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.d.ts +0 -13
  645. package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js +0 -39
  646. package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js.map +0 -1
  647. package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.d.ts +0 -12
  648. package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js +0 -34
  649. package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js.map +0 -1
  650. package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list.d.ts +0 -13
  651. package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js +0 -41
  652. package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js.map +0 -1
  653. package/lib/esm/filters/index.d.ts +0 -12
  654. package/lib/esm/filters/index.js +0 -17
  655. package/lib/esm/filters/index.js.map +0 -1
  656. package/lib/esm/flow-factory.d.ts +0 -12
  657. package/lib/esm/flow-factory.js +0 -65
  658. package/lib/esm/flow-factory.js.map +0 -1
  659. package/lib/esm/functions/index.js +0 -49
  660. package/lib/esm/functions/index.js.map +0 -1
  661. package/lib/esm/helpers.d.ts +0 -3
  662. package/lib/esm/helpers.js.map +0 -1
  663. package/lib/esm/index.d.ts +0 -46
  664. package/lib/esm/index.js +0 -182
  665. package/lib/esm/index.js.map +0 -1
  666. package/lib/esm/services/hubtype-queues-api.d.ts +0 -14
  667. package/lib/esm/services/hubtype-queues-api.js +0 -26
  668. package/lib/esm/services/hubtype-queues-api.js.map +0 -1
  669. package/lib/esm/tracking.d.ts +0 -16
  670. package/lib/esm/tracking.js +0 -72
  671. package/lib/esm/tracking.js.map +0 -1
  672. package/lib/esm/types.d.ts +0 -64
  673. package/lib/esm/types.js +0 -14
  674. package/lib/esm/types.js.map +0 -1
  675. package/lib/esm/user-input/capture-user-input-api.d.ts +0 -21
  676. package/lib/esm/user-input/capture-user-input-api.js +0 -88
  677. package/lib/esm/user-input/capture-user-input-api.js.map +0 -1
  678. package/lib/esm/user-input/index.d.ts +0 -4
  679. package/lib/esm/user-input/index.js +0 -37
  680. package/lib/esm/user-input/index.js.map +0 -1
  681. package/lib/esm/user-input/keyword.d.ts +0 -27
  682. package/lib/esm/user-input/keyword.js +0 -84
  683. package/lib/esm/user-input/keyword.js.map +0 -1
  684. package/lib/esm/user-input/smart-intent.d.ts +0 -23
  685. package/lib/esm/user-input/smart-intent.js +0 -85
  686. package/lib/esm/user-input/smart-intent.js.map +0 -1
  687. package/lib/esm/utils.d.ts +0 -8
  688. package/lib/esm/utils.js +0 -57
  689. package/lib/esm/utils.js.map +0 -1
  690. package/lib/esm/webview/contents-context.d.ts +0 -2
  691. package/lib/esm/webview/contents-context.js +0 -12
  692. package/lib/esm/webview/contents-context.js.map +0 -1
  693. package/lib/esm/webview/index.d.ts +0 -3
  694. package/lib/esm/webview/index.js +0 -10
  695. package/lib/esm/webview/index.js.map +0 -1
  696. package/lib/esm/webview/types.d.ts +0 -47
  697. package/lib/esm/webview/types.js +0 -9
  698. package/lib/esm/webview/types.js.map +0 -1
  699. package/lib/esm/webview/use-webview-contents.d.ts +0 -2
  700. package/lib/esm/webview/use-webview-contents.js +0 -83
  701. package/lib/esm/webview/use-webview-contents.js.map +0 -1
  702. package/src/action/ai-agent/index.ts +0 -138
  703. package/src/action/ai-agent/structured-output/flow-builder-content.ts +0 -17
  704. package/src/action/fallback.ts +0 -55
  705. package/src/action/first-interaction.ts +0 -131
  706. package/src/action/index.tsx +0 -205
  707. package/src/action/knowledge-bases.ts +0 -161
  708. package/src/action/payload.ts +0 -104
  709. package/src/api.ts +0 -364
  710. package/src/constants.ts +0 -20
  711. package/src/content-fields/content-fields-base.ts +0 -100
  712. package/src/content-fields/flow-ai-agent.tsx +0 -70
  713. package/src/content-fields/flow-bot-action.tsx +0 -52
  714. package/src/content-fields/flow-button.tsx +0 -165
  715. package/src/content-fields/flow-capture-user-input.tsx +0 -45
  716. package/src/content-fields/flow-carousel.tsx +0 -254
  717. package/src/content-fields/flow-channel-conditional.tsx +0 -65
  718. package/src/content-fields/flow-country-conditional.tsx +0 -67
  719. package/src/content-fields/flow-custom-conditional.tsx +0 -117
  720. package/src/content-fields/flow-element.tsx +0 -79
  721. package/src/content-fields/flow-go-to-flow.tsx +0 -75
  722. package/src/content-fields/flow-handoff.tsx +0 -99
  723. package/src/content-fields/flow-image.tsx +0 -26
  724. package/src/content-fields/flow-knowledge-base.tsx +0 -51
  725. package/src/content-fields/flow-queue-status-conditional.tsx +0 -130
  726. package/src/content-fields/flow-rating.tsx +0 -99
  727. package/src/content-fields/flow-text.tsx +0 -82
  728. package/src/content-fields/flow-video.tsx +0 -26
  729. package/src/content-fields/flow-webview.tsx +0 -46
  730. package/src/content-fields/flow-whatsapp-cta-url-button.tsx +0 -209
  731. package/src/content-fields/flow-whatsapp-template.tsx +0 -319
  732. package/src/content-fields/hubtype-fields/ai-agent.ts +0 -22
  733. package/src/content-fields/hubtype-fields/bot-action.ts +0 -11
  734. package/src/content-fields/hubtype-fields/button.ts +0 -9
  735. package/src/content-fields/hubtype-fields/capture-user-input.ts +0 -21
  736. package/src/content-fields/hubtype-fields/carousel.ts +0 -19
  737. package/src/content-fields/hubtype-fields/channel-conditional.ts +0 -11
  738. package/src/content-fields/hubtype-fields/common.ts +0 -94
  739. package/src/content-fields/hubtype-fields/country-conditional.ts +0 -11
  740. package/src/content-fields/hubtype-fields/custom-conditional.ts +0 -12
  741. package/src/content-fields/hubtype-fields/fallback.ts +0 -12
  742. package/src/content-fields/hubtype-fields/function.ts +0 -36
  743. package/src/content-fields/hubtype-fields/go-to-flow.ts +0 -10
  744. package/src/content-fields/hubtype-fields/handoff.ts +0 -12
  745. package/src/content-fields/hubtype-fields/image.ts +0 -9
  746. package/src/content-fields/hubtype-fields/index.ts +0 -24
  747. package/src/content-fields/hubtype-fields/keyword.ts +0 -10
  748. package/src/content-fields/hubtype-fields/knowledge-base.ts +0 -18
  749. package/src/content-fields/hubtype-fields/node-types.ts +0 -31
  750. package/src/content-fields/hubtype-fields/nodes.ts +0 -54
  751. package/src/content-fields/hubtype-fields/payload.ts +0 -9
  752. package/src/content-fields/hubtype-fields/queue-status-conditional.ts +0 -55
  753. package/src/content-fields/hubtype-fields/rating.ts +0 -26
  754. package/src/content-fields/hubtype-fields/smart-intent.ts +0 -12
  755. package/src/content-fields/hubtype-fields/text.ts +0 -12
  756. package/src/content-fields/hubtype-fields/url.ts +0 -9
  757. package/src/content-fields/hubtype-fields/video.ts +0 -9
  758. package/src/content-fields/hubtype-fields/webview.ts +0 -18
  759. package/src/content-fields/hubtype-fields/whatsapp-button-list.ts +0 -25
  760. package/src/content-fields/hubtype-fields/whatsapp-cta-url-button.ts +0 -19
  761. package/src/content-fields/hubtype-fields/whatsapp-template.ts +0 -90
  762. package/src/content-fields/index.ts +0 -67
  763. package/src/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.tsx +0 -55
  764. package/src/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.tsx +0 -51
  765. package/src/content-fields/whatsapp-button-list/flow-whatsapp-button-list.tsx +0 -78
  766. package/src/filters/index.ts +0 -27
  767. package/src/flow-factory.ts +0 -134
  768. package/src/functions/index.ts +0 -78
  769. package/src/helpers.ts +0 -25
  770. package/src/index.ts +0 -301
  771. package/src/services/hubtype-queues-api.ts +0 -36
  772. package/src/tracking.ts +0 -118
  773. package/src/types.ts +0 -117
  774. package/src/user-input/capture-user-input-api.ts +0 -144
  775. package/src/user-input/index.ts +0 -61
  776. package/src/user-input/keyword.ts +0 -134
  777. package/src/user-input/smart-intent.ts +0 -119
  778. package/src/utils.ts +0 -66
  779. package/src/webview/contents-context.ts +0 -11
  780. package/src/webview/index.ts +0 -3
  781. package/src/webview/types.ts +0 -52
  782. package/src/webview/use-webview-contents.ts +0 -120
@@ -0,0 +1,2437 @@
1
+ export const basicFlow = {
2
+ version: 'draft',
3
+ name: 'Test data',
4
+ comments: null,
5
+ published_by: null,
6
+ published_on: null,
7
+ hash: '1086dc30486e91e07c264b09dcb2ae4151d534a3',
8
+ default_locale_code: 'en',
9
+ locales: ['en'],
10
+ translated_locales: [],
11
+ start_node_id: '019adf85-a9a6-742d-a403-da338c45449a',
12
+ ai_model_id: null,
13
+ is_knowledge_base_active: false,
14
+ is_ai_agent_active: true,
15
+ nodes: [
16
+ {
17
+ id: '019adfc9-2be7-72dd-8242-d929b3743ad9',
18
+ type: 'url',
19
+ content: {
20
+ url: 'https://dragonball.fandom.com/wiki/Goku',
21
+ },
22
+ },
23
+ {
24
+ id: '019adfc9-fc3c-7619-8916-ac2e94cd36ff',
25
+ type: 'url',
26
+ content: {
27
+ url: 'https://dragonball.fandom.com/wiki/Vegeta',
28
+ },
29
+ },
30
+ {
31
+ id: '019adf9f-b78c-726b-974d-7918f77ffd00',
32
+ type: 'url',
33
+ content: {
34
+ url: 'https://www.hubtype.com',
35
+ },
36
+ },
37
+ {
38
+ id: '019ae3e2-91e5-72ce-a753-728997eb69cf',
39
+ type: 'payload',
40
+ content: {
41
+ payload: 'set-extra-data',
42
+ },
43
+ },
44
+ {
45
+ id: 'f3931bce-7de3-5c7a-8287-81f0292ee4f3',
46
+ code: 'Fallback',
47
+ is_code_ai_generated: false,
48
+ meta: {
49
+ x: 300.0,
50
+ y: 0.0,
51
+ },
52
+ follow_up: null,
53
+ target: null,
54
+ flow_id: '03bafba6-c0fa-5449-9d42-bd98b44fe370',
55
+ is_meaningful: false,
56
+ ai_translated_locales: [],
57
+ type: 'fallback',
58
+ content: {
59
+ first_message: {
60
+ id: '019a90f2-a50a-745c-a00f-3e6fb52d143b',
61
+ type: 'text',
62
+ },
63
+ second_message: {
64
+ id: '019aeee6-c9fc-741b-a962-6bb509f740ec',
65
+ type: 'text',
66
+ },
67
+ is_knowledge_base_active: false,
68
+ knowledge_base_followup: null,
69
+ },
70
+ },
71
+ {
72
+ id: '019a90f2-a50a-745c-a00f-3e6fb52d143b',
73
+ code: 'fallback-first-msg',
74
+ is_code_ai_generated: false,
75
+ meta: {
76
+ x: 775.0,
77
+ y: 34.750000000000014,
78
+ },
79
+ follow_up: null,
80
+ target: null,
81
+ flow_id: '03bafba6-c0fa-5449-9d42-bd98b44fe370',
82
+ is_meaningful: false,
83
+ ai_translated_locales: [],
84
+ type: 'text',
85
+ content: {
86
+ text: [
87
+ {
88
+ message: 'Fallback first message',
89
+ locale: 'en',
90
+ },
91
+ ],
92
+ buttons_style: 'button',
93
+ buttons: [],
94
+ },
95
+ },
96
+ {
97
+ id: '019adf85-a9a6-742d-a403-da338c45449a',
98
+ code: 'welcome-msg',
99
+ is_code_ai_generated: false,
100
+ meta: {
101
+ x: 424.26509219772277,
102
+ y: -52.981850779366866,
103
+ },
104
+ follow_up: null,
105
+ target: null,
106
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
107
+ is_meaningful: false,
108
+ ai_translated_locales: [],
109
+ type: 'text',
110
+ content: {
111
+ text: [
112
+ {
113
+ message: 'Welcome',
114
+ locale: 'en',
115
+ },
116
+ ],
117
+ buttons_style: 'button',
118
+ buttons: [],
119
+ },
120
+ },
121
+ {
122
+ id: '019adf85-a9a6-742d-a403-de7abc65dfd8',
123
+ code: 'text-after-button-msg',
124
+ is_code_ai_generated: false,
125
+ meta: {
126
+ x: 1043.7455467517382,
127
+ y: -1129.489675939924,
128
+ },
129
+ follow_up: null,
130
+ target: null,
131
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
132
+ is_meaningful: false,
133
+ ai_translated_locales: [],
134
+ type: 'text',
135
+ content: {
136
+ text: [
137
+ {
138
+ message: 'text after button',
139
+ locale: 'en',
140
+ },
141
+ ],
142
+ buttons_style: 'button',
143
+ buttons: [],
144
+ },
145
+ },
146
+ {
147
+ id: '019adf85-a9a6-742d-a403-e372e64f45bd',
148
+ code: '',
149
+ is_code_ai_generated: false,
150
+ meta: {
151
+ x: 143.03571460518992,
152
+ y: -219.23185077936688,
153
+ },
154
+ follow_up: null,
155
+ target: {
156
+ id: '019adf85-a9a6-742d-a403-da338c45449a',
157
+ type: 'text',
158
+ },
159
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
160
+ is_meaningful: false,
161
+ ai_translated_locales: [],
162
+ type: 'keyword',
163
+ content: {
164
+ title: [],
165
+ keywords: [
166
+ {
167
+ values: ['start'],
168
+ locale: 'en',
169
+ },
170
+ ],
171
+ },
172
+ },
173
+ {
174
+ id: '019adf85-a9a6-742d-a403-e4852b8dd93c',
175
+ code: '',
176
+ is_code_ai_generated: false,
177
+ meta: {
178
+ x: -47.60542434394762,
179
+ y: -1190.1359337226643,
180
+ },
181
+ follow_up: null,
182
+ target: {
183
+ id: '019adfb7-449f-7447-9948-8fc213f97ba2',
184
+ type: 'function',
185
+ },
186
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
187
+ is_meaningful: false,
188
+ ai_translated_locales: [],
189
+ type: 'keyword',
190
+ content: {
191
+ title: [],
192
+ keywords: [
193
+ {
194
+ values: ['bmsg'],
195
+ locale: 'en',
196
+ },
197
+ ],
198
+ },
199
+ },
200
+ {
201
+ id: '019adf85-a9a6-742d-a403-e9660a179d03',
202
+ code: 'text-with-button-msg-whatsapp',
203
+ is_code_ai_generated: false,
204
+ meta: {
205
+ x: 647.2200363464884,
206
+ y: -1042.1060780267599,
207
+ },
208
+ follow_up: null,
209
+ target: null,
210
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
211
+ is_meaningful: false,
212
+ ai_translated_locales: [],
213
+ type: 'text',
214
+ content: {
215
+ text: [
216
+ {
217
+ message: 'Text with buttons',
218
+ locale: 'en',
219
+ },
220
+ ],
221
+ buttons_style: 'button',
222
+ buttons: [
223
+ {
224
+ id: '019adf85-a9a6-742d-a403-ed33357ccfd3',
225
+ text: [
226
+ {
227
+ message: 'button postback',
228
+ locale: 'en',
229
+ },
230
+ ],
231
+ url: [],
232
+ payload: [],
233
+ target: {
234
+ id: '019adf85-a9a6-742d-a403-de7abc65dfd8',
235
+ type: 'text',
236
+ },
237
+ hidden: [],
238
+ },
239
+ {
240
+ id: '019adf85-a9a6-742d-a403-f0148662bf57',
241
+ text: [
242
+ {
243
+ message: 'button url',
244
+ locale: 'en',
245
+ },
246
+ ],
247
+ url: [
248
+ {
249
+ id: '019adf9f-b78c-726b-974d-7918f77ffd00',
250
+ locale: 'en',
251
+ },
252
+ ],
253
+ payload: [],
254
+ target: null,
255
+ hidden: [],
256
+ },
257
+ ],
258
+ },
259
+ },
260
+ {
261
+ id: '019adf85-a9a6-742d-a403-faf17d83f9c0',
262
+ code: 'image-msg',
263
+ is_code_ai_generated: false,
264
+ meta: {
265
+ x: 559.4160284110671,
266
+ y: 242.40296628674986,
267
+ },
268
+ follow_up: null,
269
+ target: null,
270
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
271
+ is_meaningful: false,
272
+ ai_translated_locales: [],
273
+ type: 'image',
274
+ content: {
275
+ image: [
276
+ {
277
+ id: '019adf85-a9a6-742d-a403-ffaeeaf0265c',
278
+ file: 'https://medias.dev.flowbuilder.dev.hubtype.com/assets/media_files/fdacb5ad-8b0f-4aae-aa1e-03fcd75fedaa/019a8202-f9c1-7732-8598-30fe08386712/Vermut.jpeg',
279
+ locale: 'en',
280
+ },
281
+ ],
282
+ },
283
+ },
284
+ {
285
+ id: '019adf85-a9a6-742d-a404-006aa8c16054',
286
+ code: '',
287
+ is_code_ai_generated: false,
288
+ meta: {
289
+ x: 266.5859193306885,
290
+ y: 228.42017009430958,
291
+ },
292
+ follow_up: null,
293
+ target: {
294
+ id: '019adf85-a9a6-742d-a403-faf17d83f9c0',
295
+ type: 'image',
296
+ },
297
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
298
+ is_meaningful: false,
299
+ ai_translated_locales: [],
300
+ type: 'keyword',
301
+ content: {
302
+ title: [],
303
+ keywords: [
304
+ {
305
+ values: ['imagemsg'],
306
+ locale: 'en',
307
+ },
308
+ ],
309
+ },
310
+ },
311
+ {
312
+ id: '019adf85-a9a6-742d-a404-074f58db7f80',
313
+ code: '',
314
+ is_code_ai_generated: false,
315
+ meta: {
316
+ x: -672.8341282120373,
317
+ y: 739.354145952009,
318
+ },
319
+ follow_up: null,
320
+ target: {
321
+ id: '019adf85-a9a6-742d-a404-0b123be9bbd5',
322
+ type: 'function',
323
+ },
324
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
325
+ is_meaningful: false,
326
+ ai_translated_locales: [],
327
+ type: 'keyword',
328
+ content: {
329
+ title: [],
330
+ keywords: [
331
+ {
332
+ values: ['country'],
333
+ locale: 'en',
334
+ },
335
+ ],
336
+ },
337
+ },
338
+ {
339
+ id: '019adf85-a9a6-742d-a404-0b123be9bbd5',
340
+ code: 'COUNTRY-CONDITION_abd',
341
+ is_code_ai_generated: true,
342
+ meta: {
343
+ x: -306.832032421525,
344
+ y: 850.6659802085287,
345
+ },
346
+ follow_up: null,
347
+ target: null,
348
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
349
+ is_meaningful: false,
350
+ ai_translated_locales: [],
351
+ type: 'function',
352
+ content: {
353
+ action: 'check-country',
354
+ arguments: [],
355
+ result_mapping: [
356
+ {
357
+ result: 'default',
358
+ target: {
359
+ id: '019adf85-a9a6-742d-a404-142657d06aa8',
360
+ type: 'text',
361
+ },
362
+ },
363
+ {
364
+ result: 'ES',
365
+ target: {
366
+ id: '019adf85-a9a6-742d-a404-0f3e3126e395',
367
+ type: 'text',
368
+ },
369
+ },
370
+ {
371
+ result: 'AD',
372
+ target: {
373
+ id: '019adf85-a9a6-742d-a404-127bb5d90648',
374
+ type: 'text',
375
+ },
376
+ },
377
+ ],
378
+ },
379
+ },
380
+ {
381
+ id: '019adf85-a9a6-742d-a404-0f3e3126e395',
382
+ code: 'SPAIN',
383
+ is_code_ai_generated: true,
384
+ meta: {
385
+ x: 85.20935131777605,
386
+ y: 782.9609190804658,
387
+ },
388
+ follow_up: null,
389
+ target: null,
390
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
391
+ is_meaningful: false,
392
+ ai_translated_locales: [],
393
+ type: 'text',
394
+ content: {
395
+ text: [
396
+ {
397
+ message: 'Spain',
398
+ locale: 'en',
399
+ },
400
+ ],
401
+ buttons_style: 'button',
402
+ buttons: [],
403
+ },
404
+ },
405
+ {
406
+ id: '019adf85-a9a6-742d-a404-127bb5d90648',
407
+ code: 'ANDORRA',
408
+ is_code_ai_generated: true,
409
+ meta: {
410
+ x: 72.0966720116204,
411
+ y: 944.6839638563847,
412
+ },
413
+ follow_up: null,
414
+ target: null,
415
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
416
+ is_meaningful: false,
417
+ ai_translated_locales: [],
418
+ type: 'text',
419
+ content: {
420
+ text: [
421
+ {
422
+ message: 'Andorra',
423
+ locale: 'en',
424
+ },
425
+ ],
426
+ buttons_style: 'button',
427
+ buttons: [],
428
+ },
429
+ },
430
+ {
431
+ id: '019adf85-a9a6-742d-a404-142657d06aa8',
432
+ code: 'OTHER_COUNTRY',
433
+ is_code_ai_generated: true,
434
+ meta: {
435
+ x: 80.83845821572413,
436
+ y: 1117.3342413874336,
437
+ },
438
+ follow_up: null,
439
+ target: null,
440
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
441
+ is_meaningful: false,
442
+ ai_translated_locales: [],
443
+ type: 'text',
444
+ content: {
445
+ text: [
446
+ {
447
+ message: 'Other country',
448
+ locale: 'en',
449
+ },
450
+ ],
451
+ buttons_style: 'button',
452
+ buttons: [],
453
+ },
454
+ },
455
+ {
456
+ id: '019adf85-a9a6-742d-a404-1916432adac7',
457
+ code: '',
458
+ is_code_ai_generated: false,
459
+ meta: {
460
+ x: 563.8221459924562,
461
+ y: 918.4586052440736,
462
+ },
463
+ follow_up: null,
464
+ target: {
465
+ id: '019adf85-a9a6-742d-a404-1e9f360dbba8',
466
+ type: 'function',
467
+ },
468
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
469
+ is_meaningful: false,
470
+ ai_translated_locales: [],
471
+ type: 'keyword',
472
+ content: {
473
+ title: [],
474
+ keywords: [
475
+ {
476
+ values: ['channel'],
477
+ locale: 'en',
478
+ },
479
+ ],
480
+ },
481
+ },
482
+ {
483
+ id: '019adf85-a9a6-742d-a404-1e9f360dbba8',
484
+ code: 'CHANNEL_CONDITIONAL',
485
+ is_code_ai_generated: false,
486
+ meta: {
487
+ x: 913.4935941566057,
488
+ y: 802.629938039699,
489
+ },
490
+ follow_up: null,
491
+ target: null,
492
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
493
+ is_meaningful: false,
494
+ ai_translated_locales: [],
495
+ type: 'function',
496
+ content: {
497
+ action: 'get-channel-type',
498
+ arguments: [],
499
+ result_mapping: [
500
+ {
501
+ result: 'default',
502
+ target: {
503
+ id: '019adf85-a9a6-742d-a404-2a917bf47bbe',
504
+ type: 'text',
505
+ },
506
+ },
507
+ {
508
+ result: 'whatsapp',
509
+ target: {
510
+ id: '019adf85-a9a6-742d-a404-2340de10e210',
511
+ type: 'text',
512
+ },
513
+ },
514
+ {
515
+ result: 'webchat',
516
+ target: {
517
+ id: '019adf85-a9a6-742d-a404-273b32bfde8c',
518
+ type: 'text',
519
+ },
520
+ },
521
+ ],
522
+ },
523
+ },
524
+ {
525
+ id: '019adf85-a9a6-742d-a404-2340de10e210',
526
+ code: 'WHATSAPP_IDENTIFIER',
527
+ is_code_ai_generated: true,
528
+ meta: {
529
+ x: 1236.9396837084446,
530
+ y: 796.0735983866211,
531
+ },
532
+ follow_up: null,
533
+ target: null,
534
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
535
+ is_meaningful: false,
536
+ ai_translated_locales: [],
537
+ type: 'text',
538
+ content: {
539
+ text: [
540
+ {
541
+ message: 'Whatsapp',
542
+ locale: 'en',
543
+ },
544
+ ],
545
+ buttons_style: 'button',
546
+ buttons: [],
547
+ },
548
+ },
549
+ {
550
+ id: '019adf85-a9a6-742d-a404-273b32bfde8c',
551
+ code: 'WEBCHAT',
552
+ is_code_ai_generated: true,
553
+ meta: {
554
+ x: 1239.12513025947,
555
+ y: 903.1604793868921,
556
+ },
557
+ follow_up: null,
558
+ target: null,
559
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
560
+ is_meaningful: false,
561
+ ai_translated_locales: [],
562
+ type: 'text',
563
+ content: {
564
+ text: [
565
+ {
566
+ message: 'Webchat',
567
+ locale: 'en',
568
+ },
569
+ ],
570
+ buttons_style: 'button',
571
+ buttons: [],
572
+ },
573
+ },
574
+ {
575
+ id: '019adf85-a9a6-742d-a404-2a917bf47bbe',
576
+ code: 'OTHER_CHANNEL',
577
+ is_code_ai_generated: true,
578
+ meta: {
579
+ x: 1228.1978975043407,
580
+ y: 1036.4727189994742,
581
+ },
582
+ follow_up: null,
583
+ target: null,
584
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
585
+ is_meaningful: false,
586
+ ai_translated_locales: [],
587
+ type: 'text',
588
+ content: {
589
+ text: [
590
+ {
591
+ message: 'Other channel',
592
+ locale: 'en',
593
+ },
594
+ ],
595
+ buttons_style: 'button',
596
+ buttons: [],
597
+ },
598
+ },
599
+ {
600
+ id: '019adf85-a9a7-7402-ac07-fdfb6b6a5b57',
601
+ code: '',
602
+ is_code_ai_generated: false,
603
+ meta: {
604
+ x: 375.8737426042255,
605
+ y: 1486.6747085108168,
606
+ },
607
+ follow_up: null,
608
+ target: {
609
+ id: '019adf85-a9a7-7402-ac08-017037c939e5',
610
+ type: 'function',
611
+ },
612
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
613
+ is_meaningful: false,
614
+ ai_translated_locales: [],
615
+ type: 'keyword',
616
+ content: {
617
+ title: [],
618
+ keywords: [
619
+ {
620
+ values: ['string'],
621
+ locale: 'en',
622
+ },
623
+ ],
624
+ },
625
+ },
626
+ {
627
+ id: '019adf85-a9a7-7402-ac08-017037c939e5',
628
+ code: 'CUSTOM_STRING_CONDITIONAL',
629
+ is_code_ai_generated: false,
630
+ meta: {
631
+ x: 762.6977821358162,
632
+ y: 1335.8788964900273,
633
+ },
634
+ follow_up: null,
635
+ target: null,
636
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
637
+ is_meaningful: false,
638
+ ai_translated_locales: [],
639
+ type: 'function',
640
+ content: {
641
+ action: 'check-bot-variable',
642
+ arguments: [
643
+ {
644
+ type: 'string',
645
+ name: 'keyPath',
646
+ value: 'booking',
647
+ },
648
+ ],
649
+ result_mapping: [
650
+ {
651
+ result: 'default',
652
+ target: {
653
+ id: '019adf85-a9a7-7402-ac08-0c8083e0ae07',
654
+ type: 'text',
655
+ },
656
+ },
657
+ {
658
+ result: 'ASD1234',
659
+ target: {
660
+ id: '019adf85-a9a7-7402-ac08-082a083c18c9',
661
+ type: 'text',
662
+ },
663
+ },
664
+ ],
665
+ },
666
+ },
667
+ {
668
+ id: '019adf85-a9a7-7402-ac08-082a083c18c9',
669
+ code: 'BOOKING_ASD1234',
670
+ is_code_ai_generated: true,
671
+ meta: {
672
+ x: 1212.899771647159,
673
+ y: 1377.40238095952,
674
+ },
675
+ follow_up: null,
676
+ target: null,
677
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
678
+ is_meaningful: false,
679
+ ai_translated_locales: [],
680
+ type: 'text',
681
+ content: {
682
+ text: [
683
+ {
684
+ message: 'booking ASD1234',
685
+ locale: 'en',
686
+ },
687
+ ],
688
+ buttons_style: 'button',
689
+ buttons: [],
690
+ },
691
+ },
692
+ {
693
+ id: '019adf85-a9a7-7402-ac08-0c8083e0ae07',
694
+ code: 'OTHER_BOOKING',
695
+ is_code_ai_generated: true,
696
+ meta: {
697
+ x: 1186.6744130348477,
698
+ y: 1580.6489102049322,
699
+ },
700
+ follow_up: null,
701
+ target: null,
702
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
703
+ is_meaningful: false,
704
+ ai_translated_locales: [],
705
+ type: 'text',
706
+ content: {
707
+ text: [
708
+ {
709
+ message: 'Other booking',
710
+ locale: 'en',
711
+ },
712
+ ],
713
+ buttons_style: 'button',
714
+ buttons: [],
715
+ },
716
+ },
717
+ {
718
+ id: '019adf85-a9a7-7402-ac08-1161c3248301',
719
+ code: '',
720
+ is_code_ai_generated: false,
721
+ meta: {
722
+ x: 229.4488236854877,
723
+ y: 1724.888382572644,
724
+ },
725
+ follow_up: null,
726
+ target: {
727
+ id: '019adf85-a9a7-7402-ac08-15cb1a49e608',
728
+ type: 'function',
729
+ },
730
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
731
+ is_meaningful: false,
732
+ ai_translated_locales: [],
733
+ type: 'keyword',
734
+ content: {
735
+ title: [],
736
+ keywords: [
737
+ {
738
+ values: ['number'],
739
+ locale: 'en',
740
+ },
741
+ ],
742
+ },
743
+ },
744
+ {
745
+ id: '019adf85-a9a7-7402-ac08-15cb1a49e608',
746
+ code: 'CUSTOM_NUMBER_CONDITIONAL',
747
+ is_code_ai_generated: false,
748
+ meta: {
749
+ x: 655.6109011355452,
750
+ y: 1727.07382912367,
751
+ },
752
+ follow_up: null,
753
+ target: null,
754
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
755
+ is_meaningful: false,
756
+ ai_translated_locales: [],
757
+ type: 'function',
758
+ content: {
759
+ action: 'check-bot-variable',
760
+ arguments: [
761
+ {
762
+ type: 'number',
763
+ name: 'keyPath',
764
+ value: 'numberOfBags',
765
+ },
766
+ ],
767
+ result_mapping: [
768
+ {
769
+ result: 'default',
770
+ target: {
771
+ id: '019adf85-a9a7-7402-ac08-29e5caeea7b8',
772
+ type: 'text',
773
+ },
774
+ },
775
+ {
776
+ result: 1,
777
+ target: {
778
+ id: '019adf85-a9a7-7402-ac08-20447bdb2e12',
779
+ type: 'text',
780
+ },
781
+ },
782
+ {
783
+ result: 2,
784
+ target: {
785
+ id: '019adf85-a9a7-7402-ac08-243d06581743',
786
+ type: 'text',
787
+ },
788
+ },
789
+ ],
790
+ },
791
+ },
792
+ {
793
+ id: '019adf85-a9a7-7402-ac08-20447bdb2e12',
794
+ code: 'ONE_BAG',
795
+ is_code_ai_generated: true,
796
+ meta: {
797
+ x: 992.8106044405954,
798
+ y: 1763.0188523328573,
799
+ },
800
+ follow_up: null,
801
+ target: null,
802
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
803
+ is_meaningful: false,
804
+ ai_translated_locales: [],
805
+ type: 'text',
806
+ content: {
807
+ text: [
808
+ {
809
+ message: '1 bag',
810
+ locale: 'en',
811
+ },
812
+ ],
813
+ buttons_style: 'button',
814
+ buttons: [],
815
+ },
816
+ },
817
+ {
818
+ id: '019adf85-a9a7-7402-ac08-243d06581743',
819
+ code: 'TWO_BAGS',
820
+ is_code_ai_generated: true,
821
+ meta: {
822
+ x: 989.9732389610544,
823
+ y: 1879.6080916204999,
824
+ },
825
+ follow_up: null,
826
+ target: null,
827
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
828
+ is_meaningful: false,
829
+ ai_translated_locales: [],
830
+ type: 'text',
831
+ content: {
832
+ text: [
833
+ {
834
+ message: '2 bags',
835
+ locale: 'en',
836
+ },
837
+ ],
838
+ buttons_style: 'button',
839
+ buttons: [],
840
+ },
841
+ },
842
+ {
843
+ id: '019adf85-a9a7-7402-ac08-29e5caeea7b8',
844
+ code: 'OTHER_NUMBER_OF_BAGS',
845
+ is_code_ai_generated: true,
846
+ meta: {
847
+ x: 988.1013684183097,
848
+ y: 2002.7412871052427,
849
+ },
850
+ follow_up: null,
851
+ target: null,
852
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
853
+ is_meaningful: false,
854
+ ai_translated_locales: [],
855
+ type: 'text',
856
+ content: {
857
+ text: [
858
+ {
859
+ message: 'Other number of bags',
860
+ locale: 'en',
861
+ },
862
+ ],
863
+ buttons_style: 'button',
864
+ buttons: [],
865
+ },
866
+ },
867
+ {
868
+ id: '019adf85-a9a7-7402-ac08-2fad480909b6',
869
+ code: '',
870
+ is_code_ai_generated: false,
871
+ meta: {
872
+ x: 105.23600085228827,
873
+ y: 2172.74200433239,
874
+ },
875
+ follow_up: null,
876
+ target: {
877
+ id: '019adf85-a9a7-7402-ac08-302ff3af9d60',
878
+ type: 'function',
879
+ },
880
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
881
+ is_meaningful: false,
882
+ ai_translated_locales: [],
883
+ type: 'keyword',
884
+ content: {
885
+ title: [],
886
+ keywords: [
887
+ {
888
+ values: ['boolean'],
889
+ locale: 'en',
890
+ },
891
+ ],
892
+ },
893
+ },
894
+ {
895
+ id: '019adf85-a9a7-7402-ac08-302ff3af9d60',
896
+ code: 'CUSTOM_BOOLEAN_CONDITIONAL',
897
+ is_code_ai_generated: false,
898
+ meta: {
899
+ x: 492.6569430290351,
900
+ y: 2190.1122992137516,
901
+ },
902
+ follow_up: null,
903
+ target: null,
904
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
905
+ is_meaningful: false,
906
+ ai_translated_locales: [],
907
+ type: 'function',
908
+ content: {
909
+ action: 'check-bot-variable',
910
+ arguments: [
911
+ {
912
+ type: 'boolean',
913
+ name: 'keyPath',
914
+ value: 'isLogged',
915
+ },
916
+ ],
917
+ result_mapping: [
918
+ {
919
+ result: 'default',
920
+ target: {
921
+ id: '019adf85-a9a7-7402-ac08-420fc2c3bef4',
922
+ type: 'text',
923
+ },
924
+ },
925
+ {
926
+ result: true,
927
+ target: {
928
+ id: '019adf85-a9a7-7402-ac08-3d24e65b54f5',
929
+ type: 'text',
930
+ },
931
+ },
932
+ {
933
+ result: false,
934
+ target: {
935
+ id: '019adf85-a9a7-7402-ac08-420fc2c3bef4',
936
+ type: 'text',
937
+ },
938
+ },
939
+ ],
940
+ },
941
+ },
942
+ {
943
+ id: '019adf85-a9a7-7402-ac08-3d24e65b54f5',
944
+ code: 'USER_LOGGED',
945
+ is_code_ai_generated: true,
946
+ meta: {
947
+ x: 813.0847649240786,
948
+ y: 2261.786943585011,
949
+ },
950
+ follow_up: null,
951
+ target: null,
952
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
953
+ is_meaningful: false,
954
+ ai_translated_locales: [],
955
+ type: 'text',
956
+ content: {
957
+ text: [
958
+ {
959
+ message: 'User logged',
960
+ locale: 'en',
961
+ },
962
+ ],
963
+ buttons_style: 'button',
964
+ buttons: [],
965
+ },
966
+ },
967
+ {
968
+ id: '019adf85-a9a7-7402-ac08-420fc2c3bef4',
969
+ code: 'USER_NOT_LOGGED',
970
+ is_code_ai_generated: true,
971
+ meta: {
972
+ x: 815.1928426997038,
973
+ y: 2386.163532346903,
974
+ },
975
+ follow_up: null,
976
+ target: null,
977
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
978
+ is_meaningful: false,
979
+ ai_translated_locales: [],
980
+ type: 'text',
981
+ content: {
982
+ text: [
983
+ {
984
+ message: 'User not logged',
985
+ locale: 'en',
986
+ },
987
+ ],
988
+ buttons_style: 'button',
989
+ buttons: [],
990
+ },
991
+ },
992
+ {
993
+ id: '019adf85-a9a7-7402-ac08-44e6223103b2',
994
+ code: '',
995
+ is_code_ai_generated: false,
996
+ meta: {
997
+ x: 1443.6421160685363,
998
+ y: 244.9475359340572,
999
+ },
1000
+ follow_up: null,
1001
+ target: {
1002
+ id: '019adf85-a9a7-7402-ac08-4884a23c3f24',
1003
+ type: 'text',
1004
+ },
1005
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1006
+ is_meaningful: false,
1007
+ ai_translated_locales: [],
1008
+ type: 'keyword',
1009
+ content: {
1010
+ title: [],
1011
+ keywords: [
1012
+ {
1013
+ values: ['agent'],
1014
+ locale: 'en',
1015
+ },
1016
+ ],
1017
+ },
1018
+ },
1019
+ {
1020
+ id: '019adf85-a9a7-7402-ac08-4884a23c3f24',
1021
+ code: 'TEXT_BEFORE_HANDOFF',
1022
+ is_code_ai_generated: true,
1023
+ meta: {
1024
+ x: 1716.6479104934,
1025
+ y: 327.3703724823482,
1026
+ },
1027
+ follow_up: {
1028
+ id: '019adf85-a9a7-7402-ac08-4ea6a83f57f3',
1029
+ type: 'handoff',
1030
+ },
1031
+ target: null,
1032
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1033
+ is_meaningful: false,
1034
+ ai_translated_locales: [],
1035
+ type: 'text',
1036
+ content: {
1037
+ text: [
1038
+ {
1039
+ message: 'Text before handoff',
1040
+ locale: 'en',
1041
+ },
1042
+ ],
1043
+ buttons_style: 'button',
1044
+ buttons: [],
1045
+ },
1046
+ },
1047
+ {
1048
+ id: '019adf85-a9a7-7402-ac08-4ea6a83f57f3',
1049
+ code: 'HANDOFF_CUSTOMER_SUPPORT',
1050
+ is_code_ai_generated: false,
1051
+ meta: {
1052
+ x: 2019.5321512537257,
1053
+ y: 331.36382079410043,
1054
+ },
1055
+ follow_up: null,
1056
+ target: {
1057
+ id: '019ae4f4-bd51-74f2-98d6-322aacddea0c',
1058
+ type: 'rating',
1059
+ },
1060
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1061
+ is_meaningful: false,
1062
+ ai_translated_locales: [],
1063
+ type: 'handoff',
1064
+ content: {
1065
+ queue: [
1066
+ {
1067
+ id: '7b036626-824e-46eb-ac7e-7750b41a8ad3',
1068
+ name: 'Urgent',
1069
+ locale: 'en',
1070
+ },
1071
+ ],
1072
+ payload: [],
1073
+ has_auto_assign: false,
1074
+ has_queue_position_changed_notifications_enabled: false,
1075
+ },
1076
+ },
1077
+ {
1078
+ id: '019adf85-a9a7-7402-ac08-5ac850ebb1f8',
1079
+ code: '',
1080
+ is_code_ai_generated: false,
1081
+ meta: {
1082
+ x: 1626.745262618851,
1083
+ y: 889.9664208719091,
1084
+ },
1085
+ follow_up: null,
1086
+ target: {
1087
+ id: '019adf85-a9a7-7402-ac08-5e2e7b494b09',
1088
+ type: 'function',
1089
+ },
1090
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1091
+ is_meaningful: false,
1092
+ ai_translated_locales: [],
1093
+ type: 'keyword',
1094
+ content: {
1095
+ title: [],
1096
+ keywords: [
1097
+ {
1098
+ values: ['queue'],
1099
+ locale: 'en',
1100
+ },
1101
+ ],
1102
+ },
1103
+ },
1104
+ {
1105
+ id: '019adf85-a9a7-7402-ac08-5e2e7b494b09',
1106
+ code: 'QUEUE-STATUS_CONDITIONAL',
1107
+ is_code_ai_generated: false,
1108
+ meta: {
1109
+ x: 1998.68412052337,
1110
+ y: 887.0261927461816,
1111
+ },
1112
+ follow_up: null,
1113
+ target: null,
1114
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1115
+ is_meaningful: false,
1116
+ ai_translated_locales: [],
1117
+ type: 'function',
1118
+ content: {
1119
+ action: 'check-queue-status',
1120
+ arguments: [
1121
+ {
1122
+ locale: 'en',
1123
+ values: [
1124
+ {
1125
+ type: 'string',
1126
+ name: 'queue_id',
1127
+ value: '7b036626-824e-46eb-ac7e-7750b41a8ad3',
1128
+ },
1129
+ {
1130
+ type: 'string',
1131
+ name: 'queue_name',
1132
+ value: 'Urgent',
1133
+ },
1134
+ ],
1135
+ },
1136
+ {
1137
+ type: 'boolean',
1138
+ name: 'check_available_agents',
1139
+ value: true,
1140
+ },
1141
+ ],
1142
+ result_mapping: [
1143
+ {
1144
+ result: 'open',
1145
+ target: {
1146
+ id: '019adf85-a9a7-7402-ac08-6405c5159b7f',
1147
+ type: 'text',
1148
+ },
1149
+ },
1150
+ {
1151
+ result: 'closed',
1152
+ target: {
1153
+ id: '019adf85-a9a7-7402-ac08-684fc178a5cd',
1154
+ type: 'text',
1155
+ },
1156
+ },
1157
+ {
1158
+ result: 'open-without-agents',
1159
+ target: {
1160
+ id: '019adf85-a9a7-7402-ac08-6ff0bc5e6464',
1161
+ type: 'text',
1162
+ },
1163
+ },
1164
+ ],
1165
+ },
1166
+ },
1167
+ {
1168
+ id: '019adf85-a9a7-7402-ac08-6405c5159b7f',
1169
+ code: 'OPEN',
1170
+ is_code_ai_generated: true,
1171
+ meta: {
1172
+ x: 2372.093092490752,
1173
+ y: 967.8824662036859,
1174
+ },
1175
+ follow_up: null,
1176
+ target: null,
1177
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1178
+ is_meaningful: false,
1179
+ ai_translated_locales: [],
1180
+ type: 'text',
1181
+ content: {
1182
+ text: [
1183
+ {
1184
+ message: 'Open',
1185
+ locale: 'en',
1186
+ },
1187
+ ],
1188
+ buttons_style: 'button',
1189
+ buttons: [],
1190
+ },
1191
+ },
1192
+ {
1193
+ id: '019adf85-a9a7-7402-ac08-684fc178a5cd',
1194
+ code: 'CLOSED',
1195
+ is_code_ai_generated: true,
1196
+ meta: {
1197
+ x: 2377.973548742207,
1198
+ y: 1200.1604881361523,
1199
+ },
1200
+ follow_up: null,
1201
+ target: null,
1202
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1203
+ is_meaningful: false,
1204
+ ai_translated_locales: [],
1205
+ type: 'text',
1206
+ content: {
1207
+ text: [
1208
+ {
1209
+ message: 'Closed',
1210
+ locale: 'en',
1211
+ },
1212
+ ],
1213
+ buttons_style: 'button',
1214
+ buttons: [],
1215
+ },
1216
+ },
1217
+ {
1218
+ id: '019adf85-a9a7-7402-ac08-6ff0bc5e6464',
1219
+ code: 'OPEN_WITHOUT_AGENTS',
1220
+ is_code_ai_generated: true,
1221
+ meta: {
1222
+ x: 2375.03332061648,
1223
+ y: 1082.551363107055,
1224
+ },
1225
+ follow_up: null,
1226
+ target: null,
1227
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1228
+ is_meaningful: false,
1229
+ ai_translated_locales: [],
1230
+ type: 'text',
1231
+ content: {
1232
+ text: [
1233
+ {
1234
+ message: 'Open without agents available',
1235
+ locale: 'en',
1236
+ },
1237
+ ],
1238
+ buttons_style: 'button',
1239
+ buttons: [],
1240
+ },
1241
+ },
1242
+ {
1243
+ id: '019adf85-a9a7-7402-ac08-70727ec4dfb0',
1244
+ code: '',
1245
+ is_code_ai_generated: false,
1246
+ meta: {
1247
+ x: 822.6790648514966,
1248
+ y: 129.26499481807195,
1249
+ },
1250
+ follow_up: null,
1251
+ target: {
1252
+ id: '019adf85-a9a7-7402-ac08-7699ce244bf8',
1253
+ type: 'video',
1254
+ },
1255
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1256
+ is_meaningful: false,
1257
+ ai_translated_locales: [],
1258
+ type: 'keyword',
1259
+ content: {
1260
+ title: [],
1261
+ keywords: [
1262
+ {
1263
+ values: ['video'],
1264
+ locale: 'en',
1265
+ },
1266
+ ],
1267
+ },
1268
+ },
1269
+ {
1270
+ id: '019adf85-a9a7-7402-ac08-7699ce244bf8',
1271
+ code: 'video-msg',
1272
+ is_code_ai_generated: false,
1273
+ meta: {
1274
+ x: 1137.6816867110138,
1275
+ y: 206.48442422480684,
1276
+ },
1277
+ follow_up: null,
1278
+ target: null,
1279
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1280
+ is_meaningful: false,
1281
+ ai_translated_locales: [],
1282
+ type: 'video',
1283
+ content: {
1284
+ video: [
1285
+ {
1286
+ url: 'https://www.youtube.com/9e820c58-891c-4579-803c-f341da67ad63',
1287
+ is_embedded: false,
1288
+ locale: 'en',
1289
+ },
1290
+ ],
1291
+ },
1292
+ },
1293
+ {
1294
+ id: '019adf85-a9a8-730a-8750-6f0ff5d0aa69',
1295
+ code: '',
1296
+ is_code_ai_generated: false,
1297
+ meta: {
1298
+ x: 1366.3377951598686,
1299
+ y: -464.462909001808,
1300
+ },
1301
+ follow_up: null,
1302
+ target: {
1303
+ id: '019adf85-a9a8-730a-8750-7210142ffc4a',
1304
+ type: 'text',
1305
+ },
1306
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1307
+ is_meaningful: false,
1308
+ ai_translated_locales: [],
1309
+ type: 'keyword',
1310
+ content: {
1311
+ title: [],
1312
+ keywords: [
1313
+ {
1314
+ values: ['gotoflow'],
1315
+ locale: 'en',
1316
+ },
1317
+ ],
1318
+ },
1319
+ },
1320
+ {
1321
+ id: '019adf85-a9a8-730a-8750-7210142ffc4a',
1322
+ code: 'TEXT_BEFORE_GO_TO_FLOW',
1323
+ is_code_ai_generated: false,
1324
+ meta: {
1325
+ x: 1678.7874853795224,
1326
+ y: -387.39434634617993,
1327
+ },
1328
+ follow_up: {
1329
+ id: '019adf85-a9a8-730a-8750-77c55d7aeea2',
1330
+ type: 'go-to-flow',
1331
+ },
1332
+ target: null,
1333
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1334
+ is_meaningful: false,
1335
+ ai_translated_locales: [],
1336
+ type: 'text',
1337
+ content: {
1338
+ text: [
1339
+ {
1340
+ message: 'Text before go to flow',
1341
+ locale: 'en',
1342
+ },
1343
+ ],
1344
+ buttons_style: 'button',
1345
+ buttons: [],
1346
+ },
1347
+ },
1348
+ {
1349
+ id: '019adf85-a9a8-730a-8750-77c55d7aeea2',
1350
+ code: 'Go to flow|019adf85-a9a8-730a-8750-77c55d7aeea2',
1351
+ is_code_ai_generated: false,
1352
+ meta: {
1353
+ x: 1995.047537675026,
1354
+ y: -346.3416846504754,
1355
+ },
1356
+ follow_up: null,
1357
+ target: null,
1358
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1359
+ is_meaningful: false,
1360
+ ai_translated_locales: [],
1361
+ type: 'go-to-flow',
1362
+ content: {
1363
+ flow_id: '019ac511-cdb3-71ae-8cc3-d03abcb99420',
1364
+ },
1365
+ },
1366
+ {
1367
+ id: '019adf86-551e-729a-977e-2ef036201e42',
1368
+ code: 'FIRST_TEXT_SECOND_FLOW',
1369
+ is_code_ai_generated: false,
1370
+ meta: {
1371
+ x: 360.5263619090137,
1372
+ y: 24.132004640093257,
1373
+ },
1374
+ follow_up: null,
1375
+ target: null,
1376
+ flow_id: '019adf85-f0db-75ec-8657-57a8ec1b6ba9',
1377
+ is_meaningful: false,
1378
+ ai_translated_locales: [],
1379
+ type: 'text',
1380
+ content: {
1381
+ text: [
1382
+ {
1383
+ message: 'First text in second flow',
1384
+ locale: 'en',
1385
+ },
1386
+ ],
1387
+ buttons_style: 'button',
1388
+ buttons: [],
1389
+ },
1390
+ },
1391
+ {
1392
+ id: '019adfa5-73d5-769b-a457-7e30fe8e7d8e',
1393
+ code: 'WHATSAPP_BUTTON_LIST_MSG',
1394
+ is_code_ai_generated: false,
1395
+ meta: {
1396
+ x: 2108.5167844333137,
1397
+ y: 1548.5324237239543,
1398
+ },
1399
+ follow_up: null,
1400
+ target: null,
1401
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1402
+ is_meaningful: false,
1403
+ ai_translated_locales: [],
1404
+ type: 'whatsapp_button_list',
1405
+ content: {
1406
+ text: [
1407
+ {
1408
+ message: 'Whatsapp button list',
1409
+ locale: 'en',
1410
+ },
1411
+ ],
1412
+ button_text: [
1413
+ {
1414
+ message: 'Menu',
1415
+ locale: 'en',
1416
+ },
1417
+ ],
1418
+ sections: [
1419
+ {
1420
+ id: '019adfa5-73d5-769b-a457-797c88e1b0d6',
1421
+ title: [
1422
+ {
1423
+ message: 'section 1',
1424
+ locale: 'en',
1425
+ },
1426
+ ],
1427
+ rows: [
1428
+ {
1429
+ id: '019adfa5-73d5-769b-a457-6a183b41b0ff',
1430
+ text: [
1431
+ {
1432
+ message: 'button 1',
1433
+ locale: 'en',
1434
+ },
1435
+ ],
1436
+ description: [
1437
+ {
1438
+ message: 'description 1',
1439
+ locale: 'en',
1440
+ },
1441
+ ],
1442
+ target: {
1443
+ id: '019adfa6-186b-77ac-8cd0-3d1d5976792d',
1444
+ type: 'text',
1445
+ },
1446
+ },
1447
+ {
1448
+ id: '019adfa5-73d5-769b-a457-6fb81656e896',
1449
+ text: [
1450
+ {
1451
+ message: 'button 2',
1452
+ locale: 'en',
1453
+ },
1454
+ ],
1455
+ description: [],
1456
+ target: {
1457
+ id: '019adfa7-9e80-7249-a737-fb3bbfde42f9',
1458
+ type: 'text',
1459
+ },
1460
+ },
1461
+ {
1462
+ id: '019adfa5-73d5-769b-a457-71b853835061',
1463
+ text: [
1464
+ {
1465
+ message: 'button 3',
1466
+ locale: 'en',
1467
+ },
1468
+ ],
1469
+ description: [],
1470
+ target: {
1471
+ id: '019adfa7-a043-746a-b570-bc505621dce2',
1472
+ type: 'text',
1473
+ },
1474
+ },
1475
+ ],
1476
+ },
1477
+ {
1478
+ id: '019adfa7-f8b3-7598-8a35-96096f4c48b1',
1479
+ title: [
1480
+ {
1481
+ message: 'section 2',
1482
+ locale: 'en',
1483
+ },
1484
+ ],
1485
+ rows: [
1486
+ {
1487
+ id: '019adfa5-73d5-769b-a457-7565a6efeb16',
1488
+ text: [
1489
+ {
1490
+ message: 'button 4',
1491
+ locale: 'en',
1492
+ },
1493
+ ],
1494
+ description: [],
1495
+ target: {
1496
+ id: '019adfa7-a1e2-75a9-8bf5-71a54e03d4ae',
1497
+ type: 'text',
1498
+ },
1499
+ },
1500
+ ],
1501
+ },
1502
+ ],
1503
+ },
1504
+ },
1505
+ {
1506
+ id: '019adfa5-871b-73da-aac0-e30b8434e91c',
1507
+ code: '',
1508
+ is_code_ai_generated: false,
1509
+ meta: {
1510
+ x: 1720.1824789861814,
1511
+ y: 1574.1203430751218,
1512
+ },
1513
+ follow_up: null,
1514
+ target: {
1515
+ id: '019adfa5-73d5-769b-a457-7e30fe8e7d8e',
1516
+ type: 'whatsapp_button_list',
1517
+ },
1518
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1519
+ is_meaningful: false,
1520
+ ai_translated_locales: [],
1521
+ type: 'keyword',
1522
+ content: {
1523
+ title: [],
1524
+ keywords: [
1525
+ {
1526
+ values: ['list'],
1527
+ locale: 'en',
1528
+ },
1529
+ ],
1530
+ },
1531
+ },
1532
+ {
1533
+ id: '019adfa6-186b-77ac-8cd0-3d1d5976792d',
1534
+ code: 'TEXT_AFTER_BUTTON_1',
1535
+ is_code_ai_generated: true,
1536
+ meta: {
1537
+ x: 2415.571816647325,
1538
+ y: 1575.6255148016612,
1539
+ },
1540
+ follow_up: null,
1541
+ target: null,
1542
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1543
+ is_meaningful: false,
1544
+ ai_translated_locales: [],
1545
+ type: 'text',
1546
+ content: {
1547
+ text: [
1548
+ {
1549
+ message: 'Text after button 1',
1550
+ locale: 'en',
1551
+ },
1552
+ ],
1553
+ buttons_style: 'button',
1554
+ buttons: [],
1555
+ },
1556
+ },
1557
+ {
1558
+ id: '019adfa7-9e80-7249-a737-fb3bbfde42f9',
1559
+ code: 'TEXT_AFTER_BUTTON_2',
1560
+ is_code_ai_generated: true,
1561
+ meta: {
1562
+ x: 2455.03561456155,
1563
+ y: 1729.482363932871,
1564
+ },
1565
+ follow_up: null,
1566
+ target: null,
1567
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1568
+ is_meaningful: false,
1569
+ ai_translated_locales: [],
1570
+ type: 'text',
1571
+ content: {
1572
+ text: [
1573
+ {
1574
+ message: 'Text after button 2',
1575
+ locale: 'en',
1576
+ },
1577
+ ],
1578
+ buttons_style: 'button',
1579
+ buttons: [],
1580
+ },
1581
+ },
1582
+ {
1583
+ id: '019adfa7-a043-746a-b570-bc505621dce2',
1584
+ code: 'TEXT_AFTER_BUTTON_3',
1585
+ is_code_ai_generated: true,
1586
+ meta: {
1587
+ x: 2447.5097559288533,
1588
+ y: 1834.84438479062,
1589
+ },
1590
+ follow_up: null,
1591
+ target: null,
1592
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1593
+ is_meaningful: false,
1594
+ ai_translated_locales: [],
1595
+ type: 'text',
1596
+ content: {
1597
+ text: [
1598
+ {
1599
+ message: 'Text after button 3',
1600
+ locale: 'en',
1601
+ },
1602
+ ],
1603
+ buttons_style: 'button',
1604
+ buttons: [],
1605
+ },
1606
+ },
1607
+ {
1608
+ id: '019adfa7-a1e2-75a9-8bf5-71a54e03d4ae',
1609
+ code: 'TEXT_AFTER_BUTTON_4',
1610
+ is_code_ai_generated: true,
1611
+ meta: {
1612
+ x: 2450.520099381932,
1613
+ y: 1961.2788098199192,
1614
+ },
1615
+ follow_up: null,
1616
+ target: null,
1617
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1618
+ is_meaningful: false,
1619
+ ai_translated_locales: [],
1620
+ type: 'text',
1621
+ content: {
1622
+ text: [
1623
+ {
1624
+ message: 'Text after button 4',
1625
+ locale: 'en',
1626
+ },
1627
+ ],
1628
+ buttons_style: 'button',
1629
+ buttons: [],
1630
+ },
1631
+ },
1632
+ {
1633
+ id: '019adfa8-68bc-7633-a094-22511a48cc42',
1634
+ code: 'WHATSAPP_CTA_URL_MSG',
1635
+ is_code_ai_generated: false,
1636
+ meta: {
1637
+ x: 1744.2652266108098,
1638
+ y: 2045.2390934819146,
1639
+ },
1640
+ follow_up: null,
1641
+ target: null,
1642
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1643
+ is_meaningful: false,
1644
+ ai_translated_locales: [],
1645
+ type: 'whatsapp_cta_url_button',
1646
+ content: {
1647
+ text: [
1648
+ {
1649
+ message: 'Whatsapp cta url button',
1650
+ locale: 'en',
1651
+ },
1652
+ ],
1653
+ header_type: 'text',
1654
+ header: [],
1655
+ header_image: [],
1656
+ header_video: [],
1657
+ header_document: [],
1658
+ footer: [],
1659
+ button: {
1660
+ id: '019adfa8-68bc-7633-a094-1cdbb7d41c60',
1661
+ text: [
1662
+ {
1663
+ message: 'hubtype',
1664
+ locale: 'en',
1665
+ },
1666
+ ],
1667
+ url: [
1668
+ {
1669
+ id: '019adf9f-b78c-726b-974d-7918f77ffd00',
1670
+ locale: 'en',
1671
+ },
1672
+ ],
1673
+ payload: [],
1674
+ target: null,
1675
+ hidden: [],
1676
+ },
1677
+ },
1678
+ },
1679
+ {
1680
+ id: '019adfa8-7713-712f-a9a6-537cb2e6efdd',
1681
+ code: '',
1682
+ is_code_ai_generated: false,
1683
+ meta: {
1684
+ x: 1408.6119315925519,
1685
+ y: 1986.5373961468827,
1686
+ },
1687
+ follow_up: null,
1688
+ target: {
1689
+ id: '019adfa8-68bc-7633-a094-22511a48cc42',
1690
+ type: 'whatsapp_cta_url_button',
1691
+ },
1692
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1693
+ is_meaningful: false,
1694
+ ai_translated_locales: [],
1695
+ type: 'keyword',
1696
+ content: {
1697
+ title: [],
1698
+ keywords: [
1699
+ {
1700
+ values: ['cta'],
1701
+ locale: 'en',
1702
+ },
1703
+ ],
1704
+ },
1705
+ },
1706
+ {
1707
+ id: '019adfaa-557c-7118-8066-5d108c5c9406',
1708
+ code: 'product_recommender',
1709
+ is_code_ai_generated: false,
1710
+ meta: {
1711
+ x: 438.72772191417727,
1712
+ y: -115.33067161893956,
1713
+ },
1714
+ follow_up: null,
1715
+ target: null,
1716
+ flow_id: '0a2b5ce4-9cbe-518c-b70c-17544eea0365',
1717
+ is_meaningful: false,
1718
+ ai_translated_locales: [],
1719
+ type: 'ai-agent',
1720
+ content: {
1721
+ name: 'product_recommender',
1722
+ instructions: 'You are an agent that recommend user to contract hubtype to create a bot that use BotonicV2 ',
1723
+ active_tools: [],
1724
+ sources: [
1725
+ {
1726
+ id: '01936de2-ceb5-77e3-b7b4-86e4e5a255dc',
1727
+ name: 'Flow Builder (System Test)',
1728
+ },
1729
+ ],
1730
+ input_guardrail_rules: [],
1731
+ },
1732
+ },
1733
+ {
1734
+ id: '019adfb7-449f-7447-9948-8fc213f97ba2',
1735
+ code: 'CHANNEL_895',
1736
+ is_code_ai_generated: true,
1737
+ meta: {
1738
+ x: 305.66489540550356,
1739
+ y: -1255.6588605257825,
1740
+ },
1741
+ follow_up: null,
1742
+ target: null,
1743
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1744
+ is_meaningful: false,
1745
+ ai_translated_locales: [],
1746
+ type: 'function',
1747
+ content: {
1748
+ action: 'get-channel-type',
1749
+ arguments: [],
1750
+ result_mapping: [
1751
+ {
1752
+ result: 'default',
1753
+ target: {
1754
+ id: '019adf85-a9a6-742d-a403-e9660a179d03',
1755
+ type: 'text',
1756
+ },
1757
+ },
1758
+ {
1759
+ result: 'whatsapp',
1760
+ target: {
1761
+ id: '019adfb7-8392-76ae-9628-86006f2d9e78',
1762
+ type: 'text',
1763
+ },
1764
+ },
1765
+ {
1766
+ result: 'webchat',
1767
+ target: {
1768
+ id: '019adf85-a9a6-742d-a403-e9660a179d03',
1769
+ type: 'text',
1770
+ },
1771
+ },
1772
+ ],
1773
+ },
1774
+ },
1775
+ {
1776
+ id: '019adfb7-8392-76ae-9628-86006f2d9e78',
1777
+ code: 'TEXT_WITH_BUTTONS',
1778
+ is_code_ai_generated: true,
1779
+ meta: {
1780
+ x: 605.1150078023976,
1781
+ y: -1321.05260854137,
1782
+ },
1783
+ follow_up: null,
1784
+ target: null,
1785
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1786
+ is_meaningful: false,
1787
+ ai_translated_locales: [],
1788
+ type: 'text',
1789
+ content: {
1790
+ text: [
1791
+ {
1792
+ message: 'Text with buttons',
1793
+ locale: 'en',
1794
+ },
1795
+ ],
1796
+ buttons_style: 'button',
1797
+ buttons: [
1798
+ {
1799
+ id: '019adfb7-8392-76ae-9628-8935abfd8dc8',
1800
+ text: [
1801
+ {
1802
+ message: 'button postback',
1803
+ locale: 'en',
1804
+ },
1805
+ ],
1806
+ url: [],
1807
+ payload: [],
1808
+ target: {
1809
+ id: '019adf85-a9a6-742d-a403-de7abc65dfd8',
1810
+ type: 'text',
1811
+ },
1812
+ hidden: [],
1813
+ },
1814
+ ],
1815
+ },
1816
+ },
1817
+ {
1818
+ id: '019adfc5-0d19-7509-8a4c-5b900d5c9f72',
1819
+ code: '',
1820
+ is_code_ai_generated: false,
1821
+ meta: {
1822
+ x: 1498.1521509435947,
1823
+ y: -1064.583697165898,
1824
+ },
1825
+ follow_up: null,
1826
+ target: {
1827
+ id: '019adfc5-29cb-755e-b224-b669188451ee',
1828
+ type: 'carousel',
1829
+ },
1830
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1831
+ is_meaningful: false,
1832
+ ai_translated_locales: [],
1833
+ type: 'keyword',
1834
+ content: {
1835
+ title: [],
1836
+ keywords: [
1837
+ {
1838
+ values: ['carousel'],
1839
+ locale: 'en',
1840
+ },
1841
+ ],
1842
+ },
1843
+ },
1844
+ {
1845
+ id: '019adfc5-29cb-755e-b224-b669188451ee',
1846
+ code: 'CAROUSEL_MSG',
1847
+ is_code_ai_generated: false,
1848
+ meta: {
1849
+ x: 1863.7961584674586,
1850
+ y: -1134.8998524589488,
1851
+ },
1852
+ follow_up: null,
1853
+ target: null,
1854
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1855
+ is_meaningful: false,
1856
+ ai_translated_locales: [],
1857
+ type: 'carousel',
1858
+ content: {
1859
+ whatsapp_text: [],
1860
+ elements: [
1861
+ {
1862
+ id: '019adfc5-29cb-755e-b224-b0ecd9704b70',
1863
+ title: [
1864
+ {
1865
+ message: 'Son goku',
1866
+ locale: 'en',
1867
+ },
1868
+ ],
1869
+ subtitle: [
1870
+ {
1871
+ message: ' Kakarot',
1872
+ locale: 'en',
1873
+ },
1874
+ ],
1875
+ image: [
1876
+ {
1877
+ id: '019adfc8-efac-7276-bfd6-894c03dfa01e',
1878
+ file: 'https://medias.int.flowbuilder.qa.hubtype.com/assets/media_files/fdacb5ad-8b0f-4aae-aa1e-03fcd75fedaa/019a90da-4648-70c1-808b-d8b13256ae9c/Goku-manga.jpeg',
1879
+ locale: 'en',
1880
+ },
1881
+ ],
1882
+ button: {
1883
+ id: '019adfc5-29cb-755e-b224-adde2dc7504e',
1884
+ text: [
1885
+ {
1886
+ message: 'Goku',
1887
+ locale: 'en',
1888
+ },
1889
+ ],
1890
+ url: [
1891
+ {
1892
+ id: '019adfc9-2be7-72dd-8242-d929b3743ad9',
1893
+ locale: 'en',
1894
+ },
1895
+ ],
1896
+ payload: [],
1897
+ target: null,
1898
+ hidden: [],
1899
+ },
1900
+ },
1901
+ {
1902
+ id: '019adfc9-3612-7545-a0f0-771ef25cdf4a',
1903
+ title: [
1904
+ {
1905
+ message: 'Vegeta',
1906
+ locale: 'en',
1907
+ },
1908
+ ],
1909
+ subtitle: [
1910
+ {
1911
+ message: 'Prince Sayan',
1912
+ locale: 'en',
1913
+ },
1914
+ ],
1915
+ image: [
1916
+ {
1917
+ id: '019adfc9-ccfc-721f-8b3e-6d15200896ce',
1918
+ file: 'https://medias.int.flowbuilder.qa.hubtype.com/assets/media_files/fdacb5ad-8b0f-4aae-aa1e-03fcd75fedaa/019a90da-4648-70c1-808b-d8b13256ae9c/Vegeta_Manga.jpeg',
1919
+ locale: 'en',
1920
+ },
1921
+ ],
1922
+ button: {
1923
+ id: '019adfc9-3612-7545-a0f0-72e5e92445d6',
1924
+ text: [
1925
+ {
1926
+ message: 'Vegeta',
1927
+ locale: 'en',
1928
+ },
1929
+ ],
1930
+ url: [
1931
+ {
1932
+ id: '019adfc9-fc3c-7619-8916-ac2e94cd36ff',
1933
+ locale: 'en',
1934
+ },
1935
+ ],
1936
+ payload: [],
1937
+ target: null,
1938
+ hidden: [],
1939
+ },
1940
+ },
1941
+ ],
1942
+ },
1943
+ },
1944
+ {
1945
+ id: '019ae3dc-2751-70d8-9858-e7dea0a447dd',
1946
+ code: '',
1947
+ is_code_ai_generated: false,
1948
+ meta: {
1949
+ x: -922.4587454505102,
1950
+ y: 1432.0986805466514,
1951
+ },
1952
+ follow_up: null,
1953
+ target: {
1954
+ id: '019ae3dc-cbe2-713b-922c-f6565a6ca88c',
1955
+ type: 'bot-action',
1956
+ },
1957
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1958
+ is_meaningful: false,
1959
+ ai_translated_locales: [],
1960
+ type: 'keyword',
1961
+ content: {
1962
+ title: [],
1963
+ keywords: [
1964
+ {
1965
+ values: ['/^setNumberOfBags1$/'],
1966
+ locale: 'en',
1967
+ },
1968
+ ],
1969
+ },
1970
+ },
1971
+ {
1972
+ id: '019ae3dc-9e32-75ef-bd45-bdedf4ae11d4',
1973
+ code: '',
1974
+ is_code_ai_generated: false,
1975
+ meta: {
1976
+ x: -1043.4160827215442,
1977
+ y: 2249.056627818888,
1978
+ },
1979
+ follow_up: null,
1980
+ target: {
1981
+ id: '019ae3dc-dd7e-7413-9d35-ac60bee487c4',
1982
+ type: 'bot-action',
1983
+ },
1984
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
1985
+ is_meaningful: false,
1986
+ ai_translated_locales: [],
1987
+ type: 'keyword',
1988
+ content: {
1989
+ title: [],
1990
+ keywords: [
1991
+ {
1992
+ values: ['/^setNumberOfBags2$/'],
1993
+ locale: 'en',
1994
+ },
1995
+ ],
1996
+ },
1997
+ },
1998
+ {
1999
+ id: '019ae3dc-cbe2-713b-922c-f6565a6ca88c',
2000
+ code: 'BOT-ACTION_d7a',
2001
+ is_code_ai_generated: true,
2002
+ meta: {
2003
+ x: -501.63508253807476,
2004
+ y: 1804.3169158240532,
2005
+ },
2006
+ follow_up: {
2007
+ id: '019ae3dd-098c-77fa-ba2d-922270c31b8d',
2008
+ type: 'text',
2009
+ },
2010
+ target: null,
2011
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
2012
+ is_meaningful: false,
2013
+ ai_translated_locales: [],
2014
+ type: 'bot-action',
2015
+ content: {
2016
+ payload_id: '019ae3e2-91e5-72ce-a753-728997eb69cf',
2017
+ payload_params: '{"numberOfBags": 1}',
2018
+ },
2019
+ },
2020
+ {
2021
+ id: '019ae3dc-dd7e-7413-9d35-ac60bee487c4',
2022
+ code: 'BOT-ACTION_a88',
2023
+ is_code_ai_generated: true,
2024
+ meta: {
2025
+ x: -504.35642701448216,
2026
+ y: 1995.7791757855528,
2027
+ },
2028
+ follow_up: {
2029
+ id: '019ae3dd-098c-77fa-ba2d-922270c31b8d',
2030
+ type: 'text',
2031
+ },
2032
+ target: null,
2033
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
2034
+ is_meaningful: false,
2035
+ ai_translated_locales: [],
2036
+ type: 'bot-action',
2037
+ content: {
2038
+ payload_id: '019ae3e2-91e5-72ce-a753-728997eb69cf',
2039
+ payload_params: '{"numberOfBags": 2}',
2040
+ },
2041
+ },
2042
+ {
2043
+ id: '019ae3dd-098c-77fa-ba2d-922270c31b8d',
2044
+ code: 'USER_EXTRA_DATA_UPDATED',
2045
+ is_code_ai_generated: true,
2046
+ meta: {
2047
+ x: -110.10715773180974,
2048
+ y: 1914.0301724552376,
2049
+ },
2050
+ follow_up: null,
2051
+ target: null,
2052
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
2053
+ is_meaningful: false,
2054
+ ai_translated_locales: [],
2055
+ type: 'text',
2056
+ content: {
2057
+ text: [
2058
+ {
2059
+ message: 'User extra data updated',
2060
+ locale: 'en',
2061
+ },
2062
+ ],
2063
+ buttons_style: 'button',
2064
+ buttons: [],
2065
+ },
2066
+ },
2067
+ {
2068
+ id: '019ae4f4-bd51-74f2-98d6-322aacddea0c',
2069
+ code: 'RATING_MSG',
2070
+ is_code_ai_generated: false,
2071
+ meta: {
2072
+ x: 2428.461724279562,
2073
+ y: 165.7335989026967,
2074
+ },
2075
+ follow_up: null,
2076
+ target: null,
2077
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
2078
+ is_meaningful: false,
2079
+ ai_translated_locales: [],
2080
+ type: 'rating',
2081
+ content: {
2082
+ text: [
2083
+ {
2084
+ message: 'Rate the agent',
2085
+ locale: 'en',
2086
+ },
2087
+ ],
2088
+ buttons: [
2089
+ {
2090
+ id: '019ae4f4-bd51-74f2-98d6-37c58a0972b0',
2091
+ text: '⭐️ ⭐️ ⭐️ ⭐️ ⭐️',
2092
+ payload: 'agent-rating|019ae4f4-bd51-74f2-98d6-37c58a0972b0',
2093
+ value: 5,
2094
+ target: {
2095
+ id: '019ae4f5-1f5c-7014-871f-7a185e2e2f06',
2096
+ type: 'text',
2097
+ },
2098
+ },
2099
+ {
2100
+ id: '019ae4f4-bd51-74f2-98d6-3b7005fb1345',
2101
+ text: '⭐️ ⭐️ ⭐️ ⭐️',
2102
+ payload: 'agent-rating|019ae4f4-bd51-74f2-98d6-3b7005fb1345',
2103
+ value: 4,
2104
+ target: {
2105
+ id: '019ae4f5-1f5c-7014-871f-7a185e2e2f06',
2106
+ type: 'text',
2107
+ },
2108
+ },
2109
+ {
2110
+ id: '019ae4f4-bd51-74f2-98d6-3db44ac515b5',
2111
+ text: '⭐️ ⭐️ ⭐️',
2112
+ payload: 'agent-rating|019ae4f4-bd51-74f2-98d6-3db44ac515b5',
2113
+ value: 3,
2114
+ target: {
2115
+ id: '019ae4f5-41cc-7712-8366-0a5a35796208',
2116
+ type: 'text',
2117
+ },
2118
+ },
2119
+ {
2120
+ id: '019ae4f4-bd51-74f2-98d6-41edcadf7bc9',
2121
+ text: '⭐️ ⭐️',
2122
+ payload: 'agent-rating|019ae4f4-bd51-74f2-98d6-41edcadf7bc9',
2123
+ value: 2,
2124
+ target: {
2125
+ id: '019ae4f5-41cc-7712-8366-0a5a35796208',
2126
+ type: 'text',
2127
+ },
2128
+ },
2129
+ {
2130
+ id: '019ae4f4-bd51-74f2-98d6-45b8e932bb65',
2131
+ text: '⭐️',
2132
+ payload: 'agent-rating|019ae4f4-bd51-74f2-98d6-45b8e932bb65',
2133
+ value: 1,
2134
+ target: {
2135
+ id: '019ae4f5-41cc-7712-8366-0a5a35796208',
2136
+ type: 'text',
2137
+ },
2138
+ },
2139
+ ],
2140
+ rating_type: 'stars',
2141
+ send_button_text: [
2142
+ {
2143
+ message: 'Send',
2144
+ locale: 'en',
2145
+ },
2146
+ ],
2147
+ open_list_button_text: [
2148
+ {
2149
+ message: 'Rating Options',
2150
+ locale: 'en',
2151
+ },
2152
+ ],
2153
+ },
2154
+ },
2155
+ {
2156
+ id: '019ae4f5-1f5c-7014-871f-7a185e2e2f06',
2157
+ code: 'GOOD_FEEDBACK_MSG',
2158
+ is_code_ai_generated: false,
2159
+ meta: {
2160
+ x: 2808.71548088989,
2161
+ y: 324.17266415699993,
2162
+ },
2163
+ follow_up: null,
2164
+ target: null,
2165
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
2166
+ is_meaningful: false,
2167
+ ai_translated_locales: [],
2168
+ type: 'text',
2169
+ content: {
2170
+ text: [
2171
+ {
2172
+ message: 'Thanks',
2173
+ locale: 'en',
2174
+ },
2175
+ ],
2176
+ buttons_style: 'button',
2177
+ buttons: [],
2178
+ },
2179
+ },
2180
+ {
2181
+ id: '019ae4f5-41cc-7712-8366-0a5a35796208',
2182
+ code: 'BAD_FEEDBACK_MSG',
2183
+ is_code_ai_generated: false,
2184
+ meta: {
2185
+ x: 2807.131090237347,
2186
+ y: 466.7678228858731,
2187
+ },
2188
+ follow_up: null,
2189
+ target: null,
2190
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
2191
+ is_meaningful: false,
2192
+ ai_translated_locales: [],
2193
+ type: 'text',
2194
+ content: {
2195
+ text: [
2196
+ {
2197
+ message: 'Thank you for your feedback. We will continue to improve.',
2198
+ locale: 'en',
2199
+ },
2200
+ ],
2201
+ buttons_style: 'button',
2202
+ buttons: [],
2203
+ },
2204
+ },
2205
+ {
2206
+ id: '019ae8ed-f319-70ef-a956-f8d0ce69d0fd',
2207
+ code: 'airlines_flight_status',
2208
+ is_code_ai_generated: false,
2209
+ meta: {
2210
+ x: 441.1988962251902,
2211
+ y: 44.88049408650403,
2212
+ },
2213
+ follow_up: null,
2214
+ target: null,
2215
+ flow_id: '0a2b5ce4-9cbe-518c-b70c-17544eea0365',
2216
+ is_meaningful: false,
2217
+ ai_translated_locales: [],
2218
+ type: 'ai-agent',
2219
+ content: {
2220
+ name: 'airlines_flight_status',
2221
+ instructions: 'You are an agent that help users to know the flight status',
2222
+ active_tools: [
2223
+ {
2224
+ name: 'get_flight_status',
2225
+ },
2226
+ ],
2227
+ sources: [],
2228
+ input_guardrail_rules: [],
2229
+ },
2230
+ },
2231
+ {
2232
+ id: '019ae902-cf04-766d-b28e-25410df2c5e9',
2233
+ code: 'data_capture',
2234
+ is_code_ai_generated: false,
2235
+ meta: {
2236
+ x: 439.74575949326345,
2237
+ y: 206.14130917998534,
2238
+ },
2239
+ follow_up: null,
2240
+ target: null,
2241
+ flow_id: '0a2b5ce4-9cbe-518c-b70c-17544eea0365',
2242
+ is_meaningful: false,
2243
+ ai_translated_locales: [],
2244
+ type: 'ai-agent',
2245
+ content: {
2246
+ name: 'data_capture',
2247
+ instructions: 'You are an agent who obtains customer information: name, phone, and gender (male/female). Use buttons to display options such as male or female.',
2248
+ active_tools: [],
2249
+ sources: [],
2250
+ input_guardrail_rules: [],
2251
+ },
2252
+ },
2253
+ {
2254
+ id: '019aee04-2d91-735c-b1a6-6af14d2bfa27',
2255
+ code: '',
2256
+ is_code_ai_generated: false,
2257
+ meta: {
2258
+ x: -104.12275887314823,
2259
+ y: -591.0698281061194,
2260
+ },
2261
+ follow_up: null,
2262
+ target: {
2263
+ id: '019aee04-3e7e-7467-952d-ad597e511037',
2264
+ type: 'text',
2265
+ },
2266
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
2267
+ is_meaningful: false,
2268
+ ai_translated_locales: [],
2269
+ type: 'smart-intent',
2270
+ content: {
2271
+ title: 'add_a_bag',
2272
+ description: 'The user wants to add a bag',
2273
+ },
2274
+ },
2275
+ {
2276
+ id: '019aee04-3e7e-7467-952d-ad597e511037',
2277
+ code: 'ADD_A_BAG_USE_CASE',
2278
+ is_code_ai_generated: false,
2279
+ meta: {
2280
+ x: 243.42138413408605,
2281
+ y: -511.3407405369143,
2282
+ },
2283
+ follow_up: null,
2284
+ target: null,
2285
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
2286
+ is_meaningful: false,
2287
+ ai_translated_locales: [],
2288
+ type: 'text',
2289
+ content: {
2290
+ text: [
2291
+ {
2292
+ message: 'Message explaining how to add a bag',
2293
+ locale: 'en',
2294
+ },
2295
+ ],
2296
+ buttons_style: 'button',
2297
+ buttons: [],
2298
+ },
2299
+ },
2300
+ {
2301
+ id: '019aeee6-c9fc-741b-a962-6bb509f740ec',
2302
+ code: 'fallback-second-msg',
2303
+ is_code_ai_generated: false,
2304
+ meta: {
2305
+ x: 760.0,
2306
+ y: 181.0,
2307
+ },
2308
+ follow_up: null,
2309
+ target: null,
2310
+ flow_id: '03bafba6-c0fa-5449-9d42-bd98b44fe370',
2311
+ is_meaningful: false,
2312
+ ai_translated_locales: [],
2313
+ type: 'text',
2314
+ content: {
2315
+ text: [
2316
+ {
2317
+ message: 'Fallback second message',
2318
+ locale: 'en',
2319
+ },
2320
+ ],
2321
+ buttons_style: 'button',
2322
+ buttons: [],
2323
+ },
2324
+ },
2325
+ {
2326
+ id: '019aef0c-fb38-720d-a432-fd38eeb52f77',
2327
+ code: 'update-number-of-bags-msg',
2328
+ is_code_ai_generated: false,
2329
+ meta: {
2330
+ x: -986.7074267569724,
2331
+ y: 1766.4100381323333,
2332
+ },
2333
+ follow_up: null,
2334
+ target: null,
2335
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
2336
+ is_meaningful: false,
2337
+ ai_translated_locales: [],
2338
+ type: 'text',
2339
+ content: {
2340
+ text: [
2341
+ {
2342
+ message: 'What value do you want to store in user.extra\\_data.numberOfBags?',
2343
+ locale: 'en',
2344
+ },
2345
+ ],
2346
+ buttons_style: 'button',
2347
+ buttons: [
2348
+ {
2349
+ id: '019aef0d-fdc9-760d-8ed2-25609a8e1440',
2350
+ text: [
2351
+ {
2352
+ message: '1',
2353
+ locale: 'en',
2354
+ },
2355
+ ],
2356
+ url: [],
2357
+ payload: [],
2358
+ target: {
2359
+ id: '019ae3dc-cbe2-713b-922c-f6565a6ca88c',
2360
+ type: 'bot-action',
2361
+ },
2362
+ hidden: [],
2363
+ },
2364
+ {
2365
+ id: '019aef0e-1464-75ae-ad6f-4b4b8935debb',
2366
+ text: [
2367
+ {
2368
+ message: '2',
2369
+ locale: 'en',
2370
+ },
2371
+ ],
2372
+ url: [],
2373
+ payload: [],
2374
+ target: {
2375
+ id: '019ae3dc-dd7e-7413-9d35-ac60bee487c4',
2376
+ type: 'bot-action',
2377
+ },
2378
+ hidden: [],
2379
+ },
2380
+ ],
2381
+ },
2382
+ },
2383
+ {
2384
+ id: '019aef0e-3b21-713c-8c93-4f47aad8330a',
2385
+ code: '',
2386
+ is_code_ai_generated: false,
2387
+ meta: {
2388
+ x: -1373.8688319448756,
2389
+ y: 1838.4028614110757,
2390
+ },
2391
+ follow_up: null,
2392
+ target: {
2393
+ id: '019aef0c-fb38-720d-a432-fd38eeb52f77',
2394
+ type: 'text',
2395
+ },
2396
+ flow_id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
2397
+ is_meaningful: false,
2398
+ ai_translated_locales: [],
2399
+ type: 'keyword',
2400
+ content: {
2401
+ title: [],
2402
+ keywords: [
2403
+ {
2404
+ values: ['/^updateNumberOfBags$/'],
2405
+ locale: 'en',
2406
+ },
2407
+ ],
2408
+ },
2409
+ },
2410
+ ],
2411
+ flows: [
2412
+ {
2413
+ id: '8d527e7d-ea6d-5422-b810-5b4c8be7657b',
2414
+ name: 'Main',
2415
+ start_node_id: '019adf85-a9a6-742d-a403-da338c45449a',
2416
+ },
2417
+ {
2418
+ id: '019adf85-f0db-75ec-8657-57a8ec1b6ba9',
2419
+ name: 'Second flow',
2420
+ start_node_id: '019adf86-551e-729a-977e-2ef036201e42',
2421
+ },
2422
+ {
2423
+ id: '0a2b5ce4-9cbe-518c-b70c-17544eea0365',
2424
+ name: 'AI Agents',
2425
+ start_node_id: '019ae902-cf04-766d-b28e-25410df2c5e9',
2426
+ },
2427
+ {
2428
+ id: '03bafba6-c0fa-5449-9d42-bd98b44fe370',
2429
+ name: 'Fallback',
2430
+ start_node_id: 'f3931bce-7de3-5c7a-8287-81f0292ee4f3',
2431
+ },
2432
+ ],
2433
+ webviews: [],
2434
+ webview_contents: [],
2435
+ bot_variables: [],
2436
+ };
2437
+ //# sourceMappingURL=basic.js.map