@makebot.it/js 1.0.1 → 1.0.2

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 (277) hide show
  1. package/dist/components/Bot.d.ts +31 -0
  2. package/dist/components/Bot.d.ts.map +1 -0
  3. package/dist/components/Button.d.ts +13 -0
  4. package/dist/components/Button.d.ts.map +1 -0
  5. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts +9 -0
  6. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts.map +1 -0
  7. package/dist/components/ConversationContainer/ChatChunk.d.ts +23 -0
  8. package/dist/components/ConversationContainer/ChatChunk.d.ts.map +1 -0
  9. package/dist/components/ConversationContainer/ChatContainer.d.ts +20 -0
  10. package/dist/components/ConversationContainer/ChatContainer.d.ts.map +1 -0
  11. package/dist/components/ConversationContainer/LoadingChunk.d.ts +7 -0
  12. package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +1 -0
  13. package/dist/components/ErrorMessage.d.ts +6 -0
  14. package/dist/components/ErrorMessage.d.ts.map +1 -0
  15. package/dist/components/FixedInputFooter.d.ts +11 -0
  16. package/dist/components/FixedInputFooter.d.ts.map +1 -0
  17. package/dist/components/InputChatBlock.d.ts +16 -0
  18. package/dist/components/InputChatBlock.d.ts.map +1 -0
  19. package/dist/components/LiteBadge.d.ts +6 -0
  20. package/dist/components/LiteBadge.d.ts.map +1 -0
  21. package/dist/components/Modal.d.ts +9 -0
  22. package/dist/components/Modal.d.ts.map +1 -0
  23. package/dist/components/ProgressBar.d.ts +6 -0
  24. package/dist/components/ProgressBar.d.ts.map +1 -0
  25. package/dist/components/SendButton.d.ts +9 -0
  26. package/dist/components/SendButton.d.ts.map +1 -0
  27. package/dist/components/Spinner.d.ts +3 -0
  28. package/dist/components/Spinner.d.ts.map +1 -0
  29. package/dist/components/TextInputAddFileButton.d.ts +7 -0
  30. package/dist/components/TextInputAddFileButton.d.ts.map +1 -0
  31. package/dist/components/TypingBubble.d.ts +2 -0
  32. package/dist/components/TypingBubble.d.ts.map +1 -0
  33. package/dist/components/avatars/Avatar.d.ts +5 -0
  34. package/dist/components/avatars/Avatar.d.ts.map +1 -0
  35. package/dist/components/avatars/DefaultAvatar.d.ts +4 -0
  36. package/dist/components/avatars/DefaultAvatar.d.ts.map +1 -0
  37. package/dist/components/bubbles/GuestBubble.d.ts +9 -0
  38. package/dist/components/bubbles/GuestBubble.d.ts.map +1 -0
  39. package/dist/components/bubbles/HostBubble.d.ts +13 -0
  40. package/dist/components/bubbles/HostBubble.d.ts.map +1 -0
  41. package/dist/components/bubbles/LoadingBubble.d.ts +2 -0
  42. package/dist/components/bubbles/LoadingBubble.d.ts.map +1 -0
  43. package/dist/components/bubbles/StreamingBubble.d.ts +7 -0
  44. package/dist/components/bubbles/StreamingBubble.d.ts.map +1 -0
  45. package/dist/components/carousel.d.ts +10 -0
  46. package/dist/components/carousel.d.ts.map +1 -0
  47. package/dist/components/icons/ArrowLeftIcon.d.ts +3 -0
  48. package/dist/components/icons/ArrowLeftIcon.d.ts.map +1 -0
  49. package/dist/components/icons/ArrowRightIcon.d.ts +3 -0
  50. package/dist/components/icons/ArrowRightIcon.d.ts.map +1 -0
  51. package/dist/components/icons/CameraIcon.d.ts +3 -0
  52. package/dist/components/icons/CameraIcon.d.ts.map +1 -0
  53. package/dist/components/icons/CheckIcon.d.ts +3 -0
  54. package/dist/components/icons/CheckIcon.d.ts.map +1 -0
  55. package/dist/components/icons/ChevronDownIcon.d.ts +3 -0
  56. package/dist/components/icons/ChevronDownIcon.d.ts.map +1 -0
  57. package/dist/components/icons/ChevronUpIcon.d.ts +3 -0
  58. package/dist/components/icons/ChevronUpIcon.d.ts.map +1 -0
  59. package/dist/components/icons/CloseIcon.d.ts +3 -0
  60. package/dist/components/icons/CloseIcon.d.ts.map +1 -0
  61. package/dist/components/icons/FileIcon.d.ts +3 -0
  62. package/dist/components/icons/FileIcon.d.ts.map +1 -0
  63. package/dist/components/icons/MakebotLogo.d.ts +2 -0
  64. package/dist/components/icons/MakebotLogo.d.ts.map +1 -0
  65. package/dist/components/icons/MicrophoneIcon.d.ts +3 -0
  66. package/dist/components/icons/MicrophoneIcon.d.ts.map +1 -0
  67. package/dist/components/icons/PaperClipIcon.d.ts +3 -0
  68. package/dist/components/icons/PaperClipIcon.d.ts.map +1 -0
  69. package/dist/components/icons/PictureIcon.d.ts +3 -0
  70. package/dist/components/icons/PictureIcon.d.ts.map +1 -0
  71. package/dist/components/icons/PlusIcon.d.ts +3 -0
  72. package/dist/components/icons/PlusIcon.d.ts.map +1 -0
  73. package/dist/components/icons/SendIcon.d.ts +3 -0
  74. package/dist/components/icons/SendIcon.d.ts.map +1 -0
  75. package/dist/components/inputs/SearchInput.d.ts +9 -0
  76. package/dist/components/inputs/SearchInput.d.ts.map +1 -0
  77. package/dist/components/inputs/ShortTextInput.d.ts +9 -0
  78. package/dist/components/inputs/ShortTextInput.d.ts.map +1 -0
  79. package/dist/components/inputs/Textarea.d.ts +9 -0
  80. package/dist/components/inputs/Textarea.d.ts.map +1 -0
  81. package/dist/constants.d.ts +86 -0
  82. package/dist/constants.d.ts.map +1 -0
  83. package/dist/contexts/BotContainerContext.d.ts +4 -0
  84. package/dist/contexts/BotContainerContext.d.ts.map +1 -0
  85. package/dist/contexts/ChatContainerSizeContext.d.ts +9 -0
  86. package/dist/contexts/ChatContainerSizeContext.d.ts.map +1 -0
  87. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +8 -0
  88. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -0
  89. package/dist/features/blocks/bubbles/contact/components/ContactBubble.d.ts +11 -0
  90. package/dist/features/blocks/bubbles/contact/components/ContactBubble.d.ts.map +1 -0
  91. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +11 -0
  92. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +1 -0
  93. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +11 -0
  94. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -0
  95. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +10 -0
  96. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -0
  97. package/dist/features/blocks/bubbles/location/components/LocationBubble.d.ts +11 -0
  98. package/dist/features/blocks/bubbles/location/components/LocationBubble.d.ts.map +1 -0
  99. package/dist/features/blocks/bubbles/pix/components/PixBubble.d.ts +11 -0
  100. package/dist/features/blocks/bubbles/pix/components/PixBubble.d.ts.map +1 -0
  101. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +12 -0
  102. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -0
  103. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts +9 -0
  104. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts.map +1 -0
  105. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts +9 -0
  106. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts.map +1 -0
  107. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts +3 -0
  108. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts.map +1 -0
  109. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +9 -0
  110. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -0
  111. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +11 -0
  112. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -0
  113. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts +7 -0
  114. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts.map +1 -0
  115. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +10 -0
  116. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +1 -0
  117. package/dist/features/blocks/inputs/cards/CardsCaroussel.d.ts +20 -0
  118. package/dist/features/blocks/inputs/cards/CardsCaroussel.d.ts.map +1 -0
  119. package/dist/features/blocks/inputs/date/components/DateForm.d.ts +10 -0
  120. package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +1 -0
  121. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +10 -0
  122. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +1 -0
  123. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts +8 -0
  124. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts.map +1 -0
  125. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +11 -0
  126. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +1 -0
  127. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts +6 -0
  128. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts.map +1 -0
  129. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts +15 -0
  130. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts.map +1 -0
  131. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts +28 -0
  132. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts.map +1 -0
  133. package/dist/features/blocks/inputs/list/components/List.d.ts +9 -0
  134. package/dist/features/blocks/inputs/list/components/List.d.ts.map +1 -0
  135. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +10 -0
  136. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +1 -0
  137. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts +2 -0
  138. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts.map +1 -0
  139. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +12 -0
  140. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +1 -0
  141. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +12 -0
  142. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +1 -0
  143. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts +5 -0
  144. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +1 -0
  145. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +9 -0
  146. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -0
  147. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +10 -0
  148. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +1 -0
  149. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts +11 -0
  150. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +1 -0
  151. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts +12 -0
  152. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +1 -0
  153. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts +2 -0
  154. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts.map +1 -0
  155. package/dist/features/blocks/inputs/time/components/TimeForm.d.ts +10 -0
  156. package/dist/features/blocks/inputs/time/components/TimeForm.d.ts.map +1 -0
  157. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +10 -0
  158. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +1 -0
  159. package/dist/features/blocks/integrations/chatwoot/constants.d.ts +2 -0
  160. package/dist/features/blocks/integrations/chatwoot/constants.d.ts.map +1 -0
  161. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts +7 -0
  162. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts.map +1 -0
  163. package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts +2 -0
  164. package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts.map +1 -0
  165. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +3 -0
  166. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +1 -0
  167. package/dist/features/blocks/integrations/httpRequest/executeHttpRequest.d.ts +3 -0
  168. package/dist/features/blocks/integrations/httpRequest/executeHttpRequest.d.ts.map +1 -0
  169. package/dist/features/blocks/integrations/openai/streamChat.d.ts +19 -0
  170. package/dist/features/blocks/integrations/openai/streamChat.d.ts.map +1 -0
  171. package/dist/features/blocks/integrations/pixel/executePixel.d.ts +3 -0
  172. package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +1 -0
  173. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +5 -0
  174. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +1 -0
  175. package/dist/features/blocks/logic/script/executeScript.d.ts +19 -0
  176. package/dist/features/blocks/logic/script/executeScript.d.ts.map +1 -0
  177. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +7 -0
  178. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +1 -0
  179. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts +6 -0
  180. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts.map +1 -0
  181. package/dist/features/blocks/logic/webhook/listenForWebhook.d.ts +13 -0
  182. package/dist/features/blocks/logic/webhook/listenForWebhook.d.ts.map +1 -0
  183. package/dist/features/bubble/components/Bubble.d.ts +15 -0
  184. package/dist/features/bubble/components/Bubble.d.ts.map +1 -0
  185. package/dist/features/bubble/components/BubbleButton.d.ts +8 -0
  186. package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -0
  187. package/dist/features/bubble/components/PreviewMessage.d.ts +8 -0
  188. package/dist/features/bubble/components/PreviewMessage.d.ts.map +1 -0
  189. package/dist/features/bubble/types.d.ts +37 -0
  190. package/dist/features/bubble/types.d.ts.map +1 -0
  191. package/dist/features/commands/index.d.ts +12 -0
  192. package/dist/features/commands/index.d.ts.map +1 -0
  193. package/dist/features/commands/types.d.ts +26 -0
  194. package/dist/features/commands/types.d.ts.map +1 -0
  195. package/dist/features/commands/utils/close.d.ts +3 -0
  196. package/dist/features/commands/utils/close.d.ts.map +1 -0
  197. package/dist/features/commands/utils/hidePreviewMessage.d.ts +3 -0
  198. package/dist/features/commands/utils/hidePreviewMessage.d.ts.map +1 -0
  199. package/dist/features/commands/utils/open.d.ts +3 -0
  200. package/dist/features/commands/utils/open.d.ts.map +1 -0
  201. package/dist/features/commands/utils/reload.d.ts +3 -0
  202. package/dist/features/commands/utils/reload.d.ts.map +1 -0
  203. package/dist/features/commands/utils/sendCommand.d.ts +3 -0
  204. package/dist/features/commands/utils/sendCommand.d.ts.map +1 -0
  205. package/dist/features/commands/utils/setInputValue.d.ts +3 -0
  206. package/dist/features/commands/utils/setInputValue.d.ts.map +1 -0
  207. package/dist/features/commands/utils/setPrefilledVariables.d.ts +3 -0
  208. package/dist/features/commands/utils/setPrefilledVariables.d.ts.map +1 -0
  209. package/dist/features/commands/utils/showPreviewMessage.d.ts +3 -0
  210. package/dist/features/commands/utils/showPreviewMessage.d.ts.map +1 -0
  211. package/dist/features/commands/utils/toggle.d.ts +3 -0
  212. package/dist/features/commands/utils/toggle.d.ts.map +1 -0
  213. package/dist/features/commands/utils/unmount.d.ts +3 -0
  214. package/dist/features/commands/utils/unmount.d.ts.map +1 -0
  215. package/dist/features/popup/components/Popup.d.ts +11 -0
  216. package/dist/features/popup/components/Popup.d.ts.map +1 -0
  217. package/dist/features/popup/types.d.ts +9 -0
  218. package/dist/features/popup/types.d.ts.map +1 -0
  219. package/dist/features/standard/components/Standard.d.ts +5 -0
  220. package/dist/features/standard/components/Standard.d.ts.map +1 -0
  221. package/dist/index.d.ts +18 -143
  222. package/dist/index.d.ts.map +1 -0
  223. package/dist/index.js +1 -0
  224. package/dist/lib/gtag.d.ts +4 -0
  225. package/dist/lib/gtag.d.ts.map +1 -0
  226. package/dist/lib/gtm.d.ts +3 -0
  227. package/dist/lib/gtm.d.ts.map +1 -0
  228. package/dist/lib/pixel.d.ts +4 -0
  229. package/dist/lib/pixel.d.ts.map +1 -0
  230. package/dist/queries/continueChatQuery.d.ts +722 -0
  231. package/dist/queries/continueChatQuery.d.ts.map +1 -0
  232. package/dist/queries/saveClientLogsQuery.d.ts +7 -0
  233. package/dist/queries/saveClientLogsQuery.d.ts.map +1 -0
  234. package/dist/queries/startChatQuery.d.ts +20 -0
  235. package/dist/queries/startChatQuery.d.ts.map +1 -0
  236. package/dist/register.d.ts +2 -0
  237. package/dist/register.d.ts.map +1 -0
  238. package/dist/types.d.ts +49 -0
  239. package/dist/types.d.ts.map +1 -0
  240. package/dist/utils/CorsError.d.ts +4 -0
  241. package/dist/utils/CorsError.d.ts.map +1 -0
  242. package/dist/utils/dynamicTheme.d.ts +4 -0
  243. package/dist/utils/dynamicTheme.d.ts.map +1 -0
  244. package/dist/utils/error.d.ts +2 -0
  245. package/dist/utils/error.d.ts.map +1 -0
  246. package/dist/utils/executeClientSideActions.d.ts +25 -0
  247. package/dist/utils/executeClientSideActions.d.ts.map +1 -0
  248. package/dist/utils/getAnswerContent.d.ts +3 -0
  249. package/dist/utils/getAnswerContent.d.ts.map +1 -0
  250. package/dist/utils/getPartyKitHost.d.ts +2 -0
  251. package/dist/utils/getPartyKitHost.d.ts.map +1 -0
  252. package/dist/utils/guessApiHost.d.ts +6 -0
  253. package/dist/utils/guessApiHost.d.ts.map +1 -0
  254. package/dist/utils/injectFont.d.ts +3 -0
  255. package/dist/utils/injectFont.d.ts.map +1 -0
  256. package/dist/utils/injectStartProps.d.ts +3 -0
  257. package/dist/utils/injectStartProps.d.ts.map +1 -0
  258. package/dist/utils/migrateLegacyChatChunks.d.ts +10 -0
  259. package/dist/utils/migrateLegacyChatChunks.d.ts.map +1 -0
  260. package/dist/utils/persist.d.ts +9 -0
  261. package/dist/utils/persist.d.ts.map +1 -0
  262. package/dist/utils/resolveBubbleButtonSize.d.ts +5 -0
  263. package/dist/utils/resolveBubbleButtonSize.d.ts.map +1 -0
  264. package/dist/utils/scrollContainer.d.ts +2 -0
  265. package/dist/utils/scrollContainer.d.ts.map +1 -0
  266. package/dist/utils/setCssVariablesValue.d.ts +16 -0
  267. package/dist/utils/setCssVariablesValue.d.ts.map +1 -0
  268. package/dist/utils/storage.d.ts +875 -0
  269. package/dist/utils/storage.d.ts.map +1 -0
  270. package/dist/utils/toaster.d.ts +2 -0
  271. package/dist/utils/toaster.d.ts.map +1 -0
  272. package/dist/web.d.ts +19 -0
  273. package/dist/web.d.ts.map +1 -0
  274. package/dist/web.js +59 -1252
  275. package/dist/window.d.ts +29 -0
  276. package/dist/window.d.ts.map +1 -0
  277. package/package.json +1 -1
@@ -0,0 +1,722 @@
1
+ import type { Message } from "@makebot.it/chat-api/schemas";
2
+ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
3
+ apiHost?: string;
4
+ message?: Message;
5
+ sessionId: string;
6
+ }) => Promise<{
7
+ data: {
8
+ messages: ({
9
+ id: string;
10
+ } & ({
11
+ type: import("@makebot.it/blocks-bubbles/constants").BubbleBlockType.TEXT;
12
+ content: {
13
+ type: "richText";
14
+ richText?: any;
15
+ } | {
16
+ type: "markdown";
17
+ markdown: string;
18
+ };
19
+ } | {
20
+ type: import("@makebot.it/blocks-bubbles/constants").BubbleBlockType.IMAGE;
21
+ content: {
22
+ url?: string | undefined;
23
+ clickLink?: {
24
+ url?: string | undefined;
25
+ alt?: string | undefined;
26
+ } | undefined;
27
+ };
28
+ } | {
29
+ type: import("@makebot.it/blocks-bubbles/constants").BubbleBlockType.VIDEO;
30
+ content: {
31
+ type?: import("@makebot.it/blocks-bubbles/video/constants").VideoBubbleContentType | undefined;
32
+ id?: string | undefined;
33
+ url?: string | undefined;
34
+ isAutoplayEnabled?: boolean | undefined;
35
+ height?: number | `{{${string}}}` | undefined;
36
+ aspectRatio?: string | undefined;
37
+ maxWidth?: string | undefined;
38
+ queryParamsStr?: string | undefined;
39
+ areControlsDisplayed?: boolean | undefined;
40
+ };
41
+ } | {
42
+ type: import("@makebot.it/blocks-bubbles/constants").BubbleBlockType.AUDIO;
43
+ content: {
44
+ url?: string | undefined;
45
+ isAutoplayEnabled?: boolean | undefined;
46
+ };
47
+ } | {
48
+ type: import("@makebot.it/blocks-bubbles/constants").BubbleBlockType.EMBED;
49
+ content: {
50
+ url?: string | undefined;
51
+ height?: number | `{{${string}}}` | undefined;
52
+ waitForEvent?: {
53
+ name?: string | undefined;
54
+ isEnabled?: boolean | undefined;
55
+ saveDataInVariableId?: string | undefined;
56
+ } | undefined;
57
+ };
58
+ } | {
59
+ type: "custom-embed";
60
+ content: {
61
+ initFunction: {
62
+ content: string;
63
+ args: Record<string, unknown>;
64
+ };
65
+ url?: string | undefined;
66
+ waitForEventFunction?: {
67
+ content: string;
68
+ args: Record<string, unknown>;
69
+ } | undefined;
70
+ };
71
+ } | {
72
+ type: import("@makebot.it/blocks-bubbles/constants").BubbleBlockType.LOCATION;
73
+ content: {
74
+ name?: string | undefined;
75
+ url?: string | undefined;
76
+ height?: number | `{{${string}}}` | undefined;
77
+ latitude?: string | undefined;
78
+ longitude?: string | undefined;
79
+ mapSettingsEnabled?: boolean | undefined;
80
+ zoom?: string | undefined;
81
+ mapType?: string | undefined;
82
+ formatted_address?: string | undefined;
83
+ query?: string | undefined;
84
+ };
85
+ } | {
86
+ type: import("@makebot.it/blocks-bubbles/constants").BubbleBlockType.PIX;
87
+ content: {
88
+ showQrCode: boolean;
89
+ showCopyKeyButton: boolean;
90
+ url?: string | undefined;
91
+ variableId?: string | undefined;
92
+ chave?: string | undefined;
93
+ tipoChave?: "" | "cpf" | "cnpj" | "telefone" | "email" | "aleatoria" | undefined;
94
+ nome?: string | undefined;
95
+ cidade?: string | undefined;
96
+ valor?: string | undefined;
97
+ txid?: string | undefined;
98
+ pixCode?: string | undefined;
99
+ };
100
+ } | {
101
+ type: import("@makebot.it/blocks-bubbles/constants").BubbleBlockType.CONTACT;
102
+ content: {
103
+ showCopyButtons: boolean;
104
+ email?: string | undefined;
105
+ firstName?: string | undefined;
106
+ lastName?: string | undefined;
107
+ company?: string | undefined;
108
+ jobTitle?: string | undefined;
109
+ phone?: string | undefined;
110
+ mobile?: string | undefined;
111
+ website?: string | undefined;
112
+ address?: string | undefined;
113
+ city?: string | undefined;
114
+ state?: string | undefined;
115
+ zipCode?: string | undefined;
116
+ country?: string | undefined;
117
+ notes?: string | undefined;
118
+ vCardData?: string | undefined;
119
+ };
120
+ }))[];
121
+ input?: (({
122
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.TEXT;
123
+ id: string;
124
+ options?: {
125
+ variableId?: string | undefined;
126
+ labels?: {
127
+ placeholder?: string | undefined;
128
+ button?: string | undefined;
129
+ } | undefined;
130
+ isLong?: boolean | undefined;
131
+ inputMode?: "url" | "email" | "text" | "decimal" | "numeric" | "tel" | "search" | undefined;
132
+ audioClip?: {
133
+ isEnabled?: boolean | undefined;
134
+ saveVariableId?: string | undefined;
135
+ visibility?: "Auto" | "Public" | "Private" | undefined;
136
+ } | undefined;
137
+ attachments?: {
138
+ isEnabled?: boolean | undefined;
139
+ saveVariableId?: string | undefined;
140
+ visibility?: "Auto" | "Public" | "Private" | undefined;
141
+ } | undefined;
142
+ } | undefined;
143
+ outgoingEdgeId?: string | null | undefined;
144
+ requiresValidation?: boolean | undefined;
145
+ } | {
146
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.EMAIL;
147
+ id: string;
148
+ options?: {
149
+ variableId?: string | undefined;
150
+ labels?: {
151
+ placeholder?: string | undefined;
152
+ button?: string | undefined;
153
+ } | undefined;
154
+ retryMessageContent?: string | undefined;
155
+ } | undefined;
156
+ outgoingEdgeId?: string | null | undefined;
157
+ requiresValidation?: boolean | undefined;
158
+ } | {
159
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.NUMBER;
160
+ id: string;
161
+ options?: {
162
+ variableId?: string | undefined;
163
+ labels?: {
164
+ placeholder?: string | undefined;
165
+ button?: string | undefined;
166
+ } | undefined;
167
+ min?: number | `{{${string}}}` | undefined;
168
+ max?: number | `{{${string}}}` | undefined;
169
+ step?: number | `{{${string}}}` | undefined;
170
+ locale?: string | undefined;
171
+ style?: import("@makebot.it/blocks-inputs/number/constants").NumberInputStyle | undefined;
172
+ currency?: string | undefined;
173
+ unit?: import("@makebot.it/blocks-inputs/number/constants").NumberInputUnit | undefined;
174
+ } | undefined;
175
+ outgoingEdgeId?: string | null | undefined;
176
+ requiresValidation?: boolean | undefined;
177
+ } | {
178
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.URL;
179
+ id: string;
180
+ options?: {
181
+ variableId?: string | undefined;
182
+ labels?: {
183
+ placeholder?: string | undefined;
184
+ button?: string | undefined;
185
+ } | undefined;
186
+ retryMessageContent?: string | undefined;
187
+ } | undefined;
188
+ outgoingEdgeId?: string | null | undefined;
189
+ requiresValidation?: boolean | undefined;
190
+ } | {
191
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.PHONE;
192
+ id: string;
193
+ options?: {
194
+ variableId?: string | undefined;
195
+ labels?: {
196
+ placeholder?: string | undefined;
197
+ button?: string | undefined;
198
+ } | undefined;
199
+ retryMessageContent?: string | undefined;
200
+ defaultCountryCode?: string | undefined;
201
+ } | undefined;
202
+ outgoingEdgeId?: string | null | undefined;
203
+ requiresValidation?: boolean | undefined;
204
+ } | {
205
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.DATE;
206
+ id: string;
207
+ options?: {
208
+ variableId?: string | undefined;
209
+ labels?: {
210
+ button?: string | undefined;
211
+ from?: string | undefined;
212
+ to?: string | undefined;
213
+ } | undefined;
214
+ min?: string | undefined;
215
+ max?: string | undefined;
216
+ hasTime?: boolean | undefined;
217
+ isRange?: boolean | undefined;
218
+ format?: string | undefined;
219
+ } | undefined;
220
+ outgoingEdgeId?: string | null | undefined;
221
+ requiresValidation?: boolean | undefined;
222
+ } | {
223
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.TIME;
224
+ id: string;
225
+ options?: {
226
+ variableId?: string | undefined;
227
+ labels?: {
228
+ button?: string | undefined;
229
+ } | undefined;
230
+ format?: string | undefined;
231
+ } | undefined;
232
+ outgoingEdgeId?: string | null | undefined;
233
+ requiresValidation?: boolean | undefined;
234
+ } | {
235
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.PAYMENT;
236
+ id: string;
237
+ options?: {
238
+ variableId?: string | undefined;
239
+ labels?: {
240
+ button?: string | undefined;
241
+ success?: string | undefined;
242
+ } | undefined;
243
+ retryMessageContent?: string | undefined;
244
+ currency?: string | undefined;
245
+ provider?: import("@makebot.it/blocks-inputs/payment/constants").PaymentProvider | undefined;
246
+ additionalInformation?: {
247
+ name?: string | undefined;
248
+ email?: string | undefined;
249
+ address?: {
250
+ city?: string | undefined;
251
+ state?: string | undefined;
252
+ country?: string | undefined;
253
+ line1?: string | undefined;
254
+ line2?: string | undefined;
255
+ postalCode?: string | undefined;
256
+ } | undefined;
257
+ description?: string | undefined;
258
+ phoneNumber?: string | undefined;
259
+ } | undefined;
260
+ credentialsId?: string | undefined;
261
+ amount?: string | undefined;
262
+ } | undefined;
263
+ outgoingEdgeId?: string | null | undefined;
264
+ requiresValidation?: boolean | undefined;
265
+ } | {
266
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.RATING;
267
+ id: string;
268
+ options?: {
269
+ length?: number | undefined;
270
+ variableId?: string | undefined;
271
+ labels?: {
272
+ button?: string | undefined;
273
+ left?: string | undefined;
274
+ right?: string | undefined;
275
+ } | undefined;
276
+ buttonType?: "Icons" | "Numbers" | undefined;
277
+ startsAt?: number | `{{${string}}}` | undefined;
278
+ customIcon?: {
279
+ isEnabled?: boolean | undefined;
280
+ svg?: string | undefined;
281
+ } | undefined;
282
+ isOneClickSubmitEnabled?: boolean | undefined;
283
+ } | undefined;
284
+ outgoingEdgeId?: string | null | undefined;
285
+ requiresValidation?: boolean | undefined;
286
+ } | {
287
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.CHOICE;
288
+ id: string;
289
+ items: {
290
+ id: string;
291
+ value?: string | undefined;
292
+ outgoingEdgeId?: string | null | undefined;
293
+ content?: string | undefined;
294
+ blockId?: string | undefined;
295
+ displayCondition?: {
296
+ isEnabled?: boolean | undefined;
297
+ condition?: {
298
+ logicalOperator?: import("@makebot.it/conditions/constants").LogicalOperator | undefined;
299
+ comparisons?: {
300
+ id: string;
301
+ value?: string | undefined;
302
+ variableId?: string | undefined;
303
+ comparisonOperator?: import("@makebot.it/conditions/constants").ComparisonOperators | undefined;
304
+ platform?: "web" | "whatsapp" | undefined;
305
+ }[] | undefined;
306
+ platforms?: ("web" | "whatsapp")[] | undefined;
307
+ } | undefined;
308
+ } | undefined;
309
+ }[];
310
+ options?: {
311
+ title?: string | undefined;
312
+ variableId?: string | undefined;
313
+ description?: string | undefined;
314
+ location?: {
315
+ latitude: number;
316
+ longitude: number;
317
+ name?: string | undefined;
318
+ } | undefined;
319
+ imageUrl?: string | undefined;
320
+ footer?: string | undefined;
321
+ buttonLabel?: string | undefined;
322
+ dynamicVariableId?: string | undefined;
323
+ isMultipleChoice?: boolean | undefined;
324
+ isSearchable?: boolean | undefined;
325
+ areInitialSearchButtonsVisible?: boolean | undefined;
326
+ mediaType?: "image" | "video" | "document" | "location" | undefined;
327
+ videoUrl?: string | undefined;
328
+ documentUrl?: string | undefined;
329
+ documentMimetype?: string | undefined;
330
+ } | undefined;
331
+ outgoingEdgeId?: string | null | undefined;
332
+ requiresValidation?: boolean | undefined;
333
+ } | {
334
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.CHOICE;
335
+ id: string;
336
+ items: {
337
+ id: string;
338
+ value?: string | undefined;
339
+ outgoingEdgeId?: string | null | undefined;
340
+ content?: string | undefined;
341
+ displayCondition?: {
342
+ isEnabled?: boolean | undefined;
343
+ condition?: {
344
+ logicalOperator?: import("@makebot.it/conditions/constants").LogicalOperator | undefined;
345
+ comparisons?: {
346
+ id: string;
347
+ value?: string | undefined;
348
+ variableId?: string | undefined;
349
+ comparisonOperator?: import("@makebot.it/conditions/constants").ComparisonOperators | undefined;
350
+ platform?: "web" | "whatsapp" | undefined;
351
+ }[] | undefined;
352
+ platforms?: ("web" | "whatsapp")[] | undefined;
353
+ } | undefined;
354
+ } | undefined;
355
+ }[];
356
+ options?: {
357
+ title?: string | undefined;
358
+ variableId?: string | undefined;
359
+ description?: string | undefined;
360
+ location?: {
361
+ latitude: number;
362
+ longitude: number;
363
+ name?: string | undefined;
364
+ } | undefined;
365
+ imageUrl?: string | undefined;
366
+ footer?: string | undefined;
367
+ buttonLabel?: string | undefined;
368
+ dynamicVariableId?: string | undefined;
369
+ isMultipleChoice?: boolean | undefined;
370
+ isSearchable?: boolean | undefined;
371
+ areInitialSearchButtonsVisible?: boolean | undefined;
372
+ mediaType?: "image" | "video" | "document" | "location" | undefined;
373
+ videoUrl?: string | undefined;
374
+ documentUrl?: string | undefined;
375
+ documentMimetype?: string | undefined;
376
+ } | undefined;
377
+ outgoingEdgeId?: string | null | undefined;
378
+ requiresValidation?: boolean | undefined;
379
+ } | {
380
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.LIST;
381
+ id: string;
382
+ items: {
383
+ id: string;
384
+ value?: string | undefined;
385
+ outgoingEdgeId?: string | null | undefined;
386
+ content?: string | undefined;
387
+ description?: string | undefined;
388
+ blockId?: string | undefined;
389
+ displayCondition?: {
390
+ isEnabled?: boolean | undefined;
391
+ condition?: {
392
+ logicalOperator?: import("@makebot.it/conditions/constants").LogicalOperator | undefined;
393
+ comparisons?: {
394
+ id: string;
395
+ value?: string | undefined;
396
+ variableId?: string | undefined;
397
+ comparisonOperator?: import("@makebot.it/conditions/constants").ComparisonOperators | undefined;
398
+ platform?: "web" | "whatsapp" | undefined;
399
+ }[] | undefined;
400
+ platforms?: ("web" | "whatsapp")[] | undefined;
401
+ } | undefined;
402
+ } | undefined;
403
+ sectionId?: string | undefined;
404
+ }[];
405
+ options?: {
406
+ title?: string | undefined;
407
+ variableId?: string | undefined;
408
+ description?: string | undefined;
409
+ footer?: string | undefined;
410
+ buttonLabel?: string | undefined;
411
+ dynamicVariableId?: string | undefined;
412
+ sectionTitle?: string | undefined;
413
+ sections?: {
414
+ id: string;
415
+ title?: string | undefined;
416
+ }[] | undefined;
417
+ } | undefined;
418
+ outgoingEdgeId?: string | null | undefined;
419
+ requiresValidation?: boolean | undefined;
420
+ } | {
421
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.LIST;
422
+ id: string;
423
+ items: {
424
+ id: string;
425
+ value?: string | undefined;
426
+ outgoingEdgeId?: string | null | undefined;
427
+ content?: string | undefined;
428
+ description?: string | undefined;
429
+ displayCondition?: {
430
+ isEnabled?: boolean | undefined;
431
+ condition?: {
432
+ logicalOperator?: import("@makebot.it/conditions/constants").LogicalOperator | undefined;
433
+ comparisons?: {
434
+ id: string;
435
+ value?: string | undefined;
436
+ variableId?: string | undefined;
437
+ comparisonOperator?: import("@makebot.it/conditions/constants").ComparisonOperators | undefined;
438
+ platform?: "web" | "whatsapp" | undefined;
439
+ }[] | undefined;
440
+ platforms?: ("web" | "whatsapp")[] | undefined;
441
+ } | undefined;
442
+ } | undefined;
443
+ sectionId?: string | undefined;
444
+ }[];
445
+ options?: {
446
+ title?: string | undefined;
447
+ variableId?: string | undefined;
448
+ description?: string | undefined;
449
+ footer?: string | undefined;
450
+ buttonLabel?: string | undefined;
451
+ dynamicVariableId?: string | undefined;
452
+ sectionTitle?: string | undefined;
453
+ sections?: {
454
+ id: string;
455
+ title?: string | undefined;
456
+ }[] | undefined;
457
+ } | undefined;
458
+ outgoingEdgeId?: string | null | undefined;
459
+ requiresValidation?: boolean | undefined;
460
+ } | {
461
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.FILE;
462
+ id: string;
463
+ options?: {
464
+ variableId?: string | undefined;
465
+ labels?: {
466
+ placeholder?: string | undefined;
467
+ button?: string | undefined;
468
+ success?: {
469
+ single?: string | undefined;
470
+ multiple?: string | undefined;
471
+ } | undefined;
472
+ clear?: string | undefined;
473
+ skip?: string | undefined;
474
+ } | undefined;
475
+ visibility?: "Auto" | "Public" | "Private" | undefined;
476
+ isRequired?: boolean | undefined;
477
+ isMultipleAllowed?: boolean | undefined;
478
+ allowedFileTypes?: {
479
+ isEnabled?: boolean | undefined;
480
+ types?: string[] | undefined;
481
+ } | undefined;
482
+ sizeLimit?: number | undefined;
483
+ } | undefined;
484
+ outgoingEdgeId?: string | null | undefined;
485
+ requiresValidation?: boolean | undefined;
486
+ } | {
487
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.FILE;
488
+ id: string;
489
+ options?: {
490
+ variableId?: string | undefined;
491
+ labels?: {
492
+ placeholder?: string | undefined;
493
+ button?: string | undefined;
494
+ success?: {
495
+ single?: string | undefined;
496
+ multiple?: string | undefined;
497
+ } | undefined;
498
+ clear?: string | undefined;
499
+ skip?: string | undefined;
500
+ } | undefined;
501
+ visibility?: "Auto" | "Public" | "Private" | undefined;
502
+ isRequired?: boolean | undefined;
503
+ isMultipleAllowed?: boolean | undefined;
504
+ allowedFileTypes?: {
505
+ isEnabled?: boolean | undefined;
506
+ types?: string[] | undefined;
507
+ } | undefined;
508
+ } | undefined;
509
+ outgoingEdgeId?: string | null | undefined;
510
+ requiresValidation?: boolean | undefined;
511
+ } | {
512
+ type: import("@makebot.it/blocks-inputs/constants").InputBlockType.CARDS;
513
+ id: string;
514
+ items: {
515
+ id: string;
516
+ options?: {
517
+ displayCondition?: {
518
+ isEnabled?: boolean | undefined;
519
+ condition?: {
520
+ logicalOperator?: import("@makebot.it/conditions/constants").LogicalOperator | undefined;
521
+ comparisons?: {
522
+ id: string;
523
+ value?: string | undefined;
524
+ variableId?: string | undefined;
525
+ comparisonOperator?: import("@makebot.it/conditions/constants").ComparisonOperators | undefined;
526
+ platform?: "web" | "whatsapp" | undefined;
527
+ }[] | undefined;
528
+ platforms?: ("web" | "whatsapp")[] | undefined;
529
+ } | undefined;
530
+ } | undefined;
531
+ internalValue?: string | null | undefined;
532
+ } | undefined;
533
+ title?: string | null | undefined;
534
+ outgoingEdgeId?: string | null | undefined;
535
+ description?: string | null | undefined;
536
+ imageUrl?: string | null | undefined;
537
+ paths?: {
538
+ type: "quick_reply" | "cta_url" | "cta_copy" | "send_location";
539
+ id: string;
540
+ outgoingEdgeId?: string | null | undefined;
541
+ text?: string | undefined;
542
+ config?: {
543
+ continueFlow: boolean;
544
+ url?: string | undefined;
545
+ copyValue?: string | undefined;
546
+ } | undefined;
547
+ }[] | undefined;
548
+ }[];
549
+ options?: {
550
+ variableId?: string | undefined;
551
+ saveResponseMapping?: {
552
+ field?: "Location" | "Image URL" | "Title" | "Description" | "Button" | "Internal Value" | "User Response" | undefined;
553
+ variableId?: string | undefined;
554
+ }[] | undefined;
555
+ sourceVariable?: string | undefined;
556
+ } | undefined;
557
+ outgoingEdgeId?: string | null | undefined;
558
+ requiresValidation?: boolean | undefined;
559
+ textBefore?: string | undefined;
560
+ textAfter?: string | undefined;
561
+ }) & {
562
+ prefilledValue?: string | undefined;
563
+ runtimeOptions?: {
564
+ paymentIntentSecret: string;
565
+ amountLabel: string;
566
+ publicKey: string;
567
+ } | undefined;
568
+ }) | undefined;
569
+ logs?: {
570
+ description: string;
571
+ status?: string | undefined;
572
+ context?: string | undefined;
573
+ details?: string | undefined;
574
+ }[] | undefined;
575
+ lastMessageNewFormat?: string | undefined;
576
+ clientSideActions?: ({
577
+ type: "scriptToExecute";
578
+ scriptToExecute: {
579
+ content: string;
580
+ args: {
581
+ id: string;
582
+ value?: string | number | boolean | (string | null)[] | null | undefined;
583
+ }[];
584
+ isCode?: boolean | undefined;
585
+ };
586
+ lastBubbleBlockId?: string | undefined;
587
+ expectsDedicatedReply?: boolean | undefined;
588
+ } | {
589
+ type: "redirect";
590
+ redirect: {
591
+ url?: string | undefined;
592
+ isNewTab?: boolean | undefined;
593
+ };
594
+ lastBubbleBlockId?: string | undefined;
595
+ expectsDedicatedReply?: boolean | undefined;
596
+ } | {
597
+ type: "googleAnalytics";
598
+ googleAnalytics: {
599
+ value?: number | `{{${string}}}` | undefined;
600
+ label?: string | undefined;
601
+ trackingId?: string | undefined;
602
+ category?: string | undefined;
603
+ action?: string | undefined;
604
+ sendTo?: string | undefined;
605
+ };
606
+ lastBubbleBlockId?: string | undefined;
607
+ expectsDedicatedReply?: boolean | undefined;
608
+ } | {
609
+ type: "wait";
610
+ wait: {
611
+ secondsToWaitFor: number;
612
+ };
613
+ lastBubbleBlockId?: string | undefined;
614
+ expectsDedicatedReply?: boolean | undefined;
615
+ } | {
616
+ type: "setVariable";
617
+ setVariable: {
618
+ scriptToExecute: {
619
+ content: string;
620
+ args: {
621
+ id: string;
622
+ value?: string | number | boolean | (string | null)[] | null | undefined;
623
+ }[];
624
+ isCode?: boolean | undefined;
625
+ };
626
+ };
627
+ lastBubbleBlockId?: string | undefined;
628
+ expectsDedicatedReply?: boolean | undefined;
629
+ } | {
630
+ type: "streamOpenAiChatCompletion";
631
+ streamOpenAiChatCompletion: {
632
+ messages: {
633
+ content?: string | undefined;
634
+ role?: "system" | "user" | "assistant" | undefined;
635
+ }[];
636
+ };
637
+ lastBubbleBlockId?: string | undefined;
638
+ expectsDedicatedReply?: boolean | undefined;
639
+ } | {
640
+ type: "httpRequestToExecute";
641
+ httpRequestToExecute: {
642
+ url: string;
643
+ body?: unknown;
644
+ headers?: Record<string, string> | undefined;
645
+ method?: import("@makebot.it/blocks-integrations/httpRequest/constants").HttpMethod | undefined;
646
+ };
647
+ lastBubbleBlockId?: string | undefined;
648
+ expectsDedicatedReply?: boolean | undefined;
649
+ } | {
650
+ type: "startPropsToInject";
651
+ startPropsToInject: {
652
+ customHeadCode?: string | undefined;
653
+ googleAnalyticsId?: string | undefined;
654
+ pixelIds?: string[] | undefined;
655
+ gtmId?: string | undefined;
656
+ };
657
+ lastBubbleBlockId?: string | undefined;
658
+ expectsDedicatedReply?: boolean | undefined;
659
+ } | {
660
+ type: "pixel";
661
+ pixel: {
662
+ params?: {
663
+ id: string;
664
+ value?: any;
665
+ key?: string | undefined;
666
+ }[] | undefined;
667
+ eventType?: undefined;
668
+ pixelId?: string | undefined;
669
+ isInitSkip?: boolean | undefined;
670
+ } | {
671
+ eventType: "Contact" | "Lead" | "CompleteRegistration" | "Schedule" | "SubmitApplication" | "ViewContent" | "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Purchase" | "Search" | "StartTrial" | "Subscribe";
672
+ params?: {
673
+ id: string;
674
+ value?: any;
675
+ key?: string | undefined;
676
+ }[] | undefined;
677
+ pixelId?: string | undefined;
678
+ isInitSkip?: boolean | undefined;
679
+ } | {
680
+ eventType: "Custom";
681
+ params?: {
682
+ id: string;
683
+ value?: any;
684
+ key?: string | undefined;
685
+ }[] | undefined;
686
+ name?: string | undefined;
687
+ pixelId?: string | undefined;
688
+ isInitSkip?: boolean | undefined;
689
+ };
690
+ lastBubbleBlockId?: string | undefined;
691
+ expectsDedicatedReply?: boolean | undefined;
692
+ } | {
693
+ type: "stream";
694
+ stream: true;
695
+ lastBubbleBlockId?: string | undefined;
696
+ expectsDedicatedReply?: boolean | undefined;
697
+ } | {
698
+ type: "codeToExecute";
699
+ codeToExecute: {
700
+ content: string;
701
+ args: Record<string, unknown>;
702
+ };
703
+ lastBubbleBlockId?: string | undefined;
704
+ expectsDedicatedReply?: boolean | undefined;
705
+ } | {
706
+ type: "listenForWebhook";
707
+ lastBubbleBlockId?: string | undefined;
708
+ expectsDedicatedReply?: boolean | undefined;
709
+ })[] | undefined;
710
+ dynamicTheme?: {
711
+ hostAvatarUrl?: string | undefined;
712
+ guestAvatarUrl?: string | undefined;
713
+ backgroundUrl?: string | undefined;
714
+ } | undefined;
715
+ progress?: number | undefined;
716
+ };
717
+ error?: undefined;
718
+ } | {
719
+ error: unknown;
720
+ data?: undefined;
721
+ }>;
722
+ //# sourceMappingURL=continueChatQuery.d.ts.map