@urbiport/js 0.0.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 (316) hide show
  1. package/README.md +169 -0
  2. package/dist/components/Bot.d.ts +26 -0
  3. package/dist/components/Bot.d.ts.map +1 -0
  4. package/dist/components/Button.d.ts +10 -0
  5. package/dist/components/Button.d.ts.map +1 -0
  6. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts +8 -0
  7. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts.map +1 -0
  8. package/dist/components/ConversationContainer/ChatChunk.d.ts +20 -0
  9. package/dist/components/ConversationContainer/ChatChunk.d.ts.map +1 -0
  10. package/dist/components/ConversationContainer/ConversationContainer.d.ts +17 -0
  11. package/dist/components/ConversationContainer/ConversationContainer.d.ts.map +1 -0
  12. package/dist/components/ConversationContainer/LoadingChunk.d.ts +7 -0
  13. package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +1 -0
  14. package/dist/components/ConversationContainer/PopupBlockedToast.d.ts +7 -0
  15. package/dist/components/ConversationContainer/PopupBlockedToast.d.ts.map +1 -0
  16. package/dist/components/ConversationContainer/index.d.ts +2 -0
  17. package/dist/components/ConversationContainer/index.d.ts.map +1 -0
  18. package/dist/components/ErrorMessage.d.ts +6 -0
  19. package/dist/components/ErrorMessage.d.ts.map +1 -0
  20. package/dist/components/InputChatBlock.d.ts +18 -0
  21. package/dist/components/InputChatBlock.d.ts.map +1 -0
  22. package/dist/components/LiteBadge.d.ts +6 -0
  23. package/dist/components/LiteBadge.d.ts.map +1 -0
  24. package/dist/components/Modal.d.ts +9 -0
  25. package/dist/components/Modal.d.ts.map +1 -0
  26. package/dist/components/ProgressBar.d.ts +6 -0
  27. package/dist/components/ProgressBar.d.ts.map +1 -0
  28. package/dist/components/SendButton.d.ts +10 -0
  29. package/dist/components/SendButton.d.ts.map +1 -0
  30. package/dist/components/Spinner.d.ts +3 -0
  31. package/dist/components/Spinner.d.ts.map +1 -0
  32. package/dist/components/TextInputAddFileButton.d.ts +7 -0
  33. package/dist/components/TextInputAddFileButton.d.ts.map +1 -0
  34. package/dist/components/TypingBubble.d.ts +2 -0
  35. package/dist/components/TypingBubble.d.ts.map +1 -0
  36. package/dist/components/avatars/Avatar.d.ts +4 -0
  37. package/dist/components/avatars/Avatar.d.ts.map +1 -0
  38. package/dist/components/avatars/DefaultAvatar.d.ts +2 -0
  39. package/dist/components/avatars/DefaultAvatar.d.ts.map +1 -0
  40. package/dist/components/bubbles/GuestBubble.d.ts +10 -0
  41. package/dist/components/bubbles/GuestBubble.d.ts.map +1 -0
  42. package/dist/components/bubbles/HostBubble.d.ts +12 -0
  43. package/dist/components/bubbles/HostBubble.d.ts.map +1 -0
  44. package/dist/components/bubbles/LoadingBubble.d.ts +2 -0
  45. package/dist/components/bubbles/LoadingBubble.d.ts.map +1 -0
  46. package/dist/components/bubbles/StreamingBubble.d.ts +8 -0
  47. package/dist/components/bubbles/StreamingBubble.d.ts.map +1 -0
  48. package/dist/components/icons/CameraIcon.d.ts +3 -0
  49. package/dist/components/icons/CameraIcon.d.ts.map +1 -0
  50. package/dist/components/icons/CheckIcon.d.ts +3 -0
  51. package/dist/components/icons/CheckIcon.d.ts.map +1 -0
  52. package/dist/components/icons/ChevronDownIcon.d.ts +3 -0
  53. package/dist/components/icons/ChevronDownIcon.d.ts.map +1 -0
  54. package/dist/components/icons/CloseIcon.d.ts +3 -0
  55. package/dist/components/icons/CloseIcon.d.ts.map +1 -0
  56. package/dist/components/icons/FileIcon.d.ts +3 -0
  57. package/dist/components/icons/FileIcon.d.ts.map +1 -0
  58. package/dist/components/icons/MicrophoneIcon.d.ts +3 -0
  59. package/dist/components/icons/MicrophoneIcon.d.ts.map +1 -0
  60. package/dist/components/icons/PaperClipIcon.d.ts +3 -0
  61. package/dist/components/icons/PaperClipIcon.d.ts.map +1 -0
  62. package/dist/components/icons/PictureIcon.d.ts +3 -0
  63. package/dist/components/icons/PictureIcon.d.ts.map +1 -0
  64. package/dist/components/icons/PlusIcon.d.ts +3 -0
  65. package/dist/components/icons/PlusIcon.d.ts.map +1 -0
  66. package/dist/components/icons/SendIcon.d.ts +3 -0
  67. package/dist/components/icons/SendIcon.d.ts.map +1 -0
  68. package/dist/components/icons/TypebotLogo.d.ts +2 -0
  69. package/dist/components/icons/TypebotLogo.d.ts.map +1 -0
  70. package/dist/components/icons/index.d.ts +2 -0
  71. package/dist/components/icons/index.d.ts.map +1 -0
  72. package/dist/components/index.d.ts +4 -0
  73. package/dist/components/index.d.ts.map +1 -0
  74. package/dist/components/inputs/SearchInput.d.ts +9 -0
  75. package/dist/components/inputs/SearchInput.d.ts.map +1 -0
  76. package/dist/components/inputs/ShortTextInput.d.ts +8 -0
  77. package/dist/components/inputs/ShortTextInput.d.ts.map +1 -0
  78. package/dist/components/inputs/Textarea.d.ts +8 -0
  79. package/dist/components/inputs/Textarea.d.ts.map +1 -0
  80. package/dist/components/inputs/index.d.ts +3 -0
  81. package/dist/components/inputs/index.d.ts.map +1 -0
  82. package/dist/constants.d.ts +7 -0
  83. package/dist/constants.d.ts.map +1 -0
  84. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +8 -0
  85. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -0
  86. package/dist/features/blocks/bubbles/audio/components/index.d.ts +2 -0
  87. package/dist/features/blocks/bubbles/audio/components/index.d.ts.map +1 -0
  88. package/dist/features/blocks/bubbles/audio/index.d.ts +2 -0
  89. package/dist/features/blocks/bubbles/audio/index.d.ts.map +1 -0
  90. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +11 -0
  91. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +1 -0
  92. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +11 -0
  93. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -0
  94. package/dist/features/blocks/bubbles/embed/components/index.d.ts +2 -0
  95. package/dist/features/blocks/bubbles/embed/components/index.d.ts.map +1 -0
  96. package/dist/features/blocks/bubbles/embed/index.d.ts +2 -0
  97. package/dist/features/blocks/bubbles/embed/index.d.ts.map +1 -0
  98. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +10 -0
  99. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -0
  100. package/dist/features/blocks/bubbles/image/index.d.ts +2 -0
  101. package/dist/features/blocks/bubbles/image/index.d.ts.map +1 -0
  102. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +11 -0
  103. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -0
  104. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts +9 -0
  105. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts.map +1 -0
  106. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts +9 -0
  107. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts.map +1 -0
  108. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts +3 -0
  109. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts.map +1 -0
  110. package/dist/features/blocks/bubbles/textBubble/index.d.ts +2 -0
  111. package/dist/features/blocks/bubbles/textBubble/index.d.ts.map +1 -0
  112. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +9 -0
  113. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -0
  114. package/dist/features/blocks/bubbles/video/index.d.ts +2 -0
  115. package/dist/features/blocks/bubbles/video/index.d.ts.map +1 -0
  116. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +11 -0
  117. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -0
  118. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts +7 -0
  119. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts.map +1 -0
  120. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +10 -0
  121. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +1 -0
  122. package/dist/features/blocks/inputs/date/components/DateForm.d.ts +10 -0
  123. package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +1 -0
  124. package/dist/features/blocks/inputs/date/index.d.ts +2 -0
  125. package/dist/features/blocks/inputs/date/index.d.ts.map +1 -0
  126. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +10 -0
  127. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +1 -0
  128. package/dist/features/blocks/inputs/email/index.d.ts +2 -0
  129. package/dist/features/blocks/inputs/email/index.d.ts.map +1 -0
  130. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts +8 -0
  131. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts.map +1 -0
  132. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +11 -0
  133. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +1 -0
  134. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts +6 -0
  135. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts.map +1 -0
  136. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts +14 -0
  137. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts.map +1 -0
  138. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts +21 -0
  139. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts.map +1 -0
  140. package/dist/features/blocks/inputs/fileUpload/index.d.ts +2 -0
  141. package/dist/features/blocks/inputs/fileUpload/index.d.ts.map +1 -0
  142. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +10 -0
  143. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +1 -0
  144. package/dist/features/blocks/inputs/number/index.d.ts +2 -0
  145. package/dist/features/blocks/inputs/number/index.d.ts.map +1 -0
  146. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts +2 -0
  147. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts.map +1 -0
  148. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +11 -0
  149. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +1 -0
  150. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +11 -0
  151. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +1 -0
  152. package/dist/features/blocks/inputs/payment/components/index.d.ts +2 -0
  153. package/dist/features/blocks/inputs/payment/components/index.d.ts.map +1 -0
  154. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts +5 -0
  155. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +1 -0
  156. package/dist/features/blocks/inputs/payment/index.d.ts +2 -0
  157. package/dist/features/blocks/inputs/payment/index.d.ts.map +1 -0
  158. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +9 -0
  159. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -0
  160. package/dist/features/blocks/inputs/phone/index.d.ts +2 -0
  161. package/dist/features/blocks/inputs/phone/index.d.ts.map +1 -0
  162. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts +11 -0
  163. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts.map +1 -0
  164. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts +11 -0
  165. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts.map +1 -0
  166. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +10 -0
  167. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +1 -0
  168. package/dist/features/blocks/inputs/rating/index.d.ts +2 -0
  169. package/dist/features/blocks/inputs/rating/index.d.ts.map +1 -0
  170. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts +11 -0
  171. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +1 -0
  172. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts +10 -0
  173. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +1 -0
  174. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts +2 -0
  175. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts.map +1 -0
  176. package/dist/features/blocks/inputs/textInput/index.d.ts +2 -0
  177. package/dist/features/blocks/inputs/textInput/index.d.ts.map +1 -0
  178. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +10 -0
  179. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +1 -0
  180. package/dist/features/blocks/inputs/url/index.d.ts +2 -0
  181. package/dist/features/blocks/inputs/url/index.d.ts.map +1 -0
  182. package/dist/features/blocks/integrations/chatwoot/index.d.ts +2 -0
  183. package/dist/features/blocks/integrations/chatwoot/index.d.ts.map +1 -0
  184. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts +5 -0
  185. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts.map +1 -0
  186. package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts +2 -0
  187. package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts.map +1 -0
  188. package/dist/features/blocks/integrations/googleAnalytics/index.d.ts +2 -0
  189. package/dist/features/blocks/integrations/googleAnalytics/index.d.ts.map +1 -0
  190. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +3 -0
  191. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +1 -0
  192. package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts +2 -0
  193. package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts.map +1 -0
  194. package/dist/features/blocks/integrations/openai/streamChat.d.ts +17 -0
  195. package/dist/features/blocks/integrations/openai/streamChat.d.ts.map +1 -0
  196. package/dist/features/blocks/integrations/pixel/executePixel.d.ts +3 -0
  197. package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +1 -0
  198. package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts +3 -0
  199. package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts.map +1 -0
  200. package/dist/features/blocks/logic/redirect/index.d.ts +2 -0
  201. package/dist/features/blocks/logic/redirect/index.d.ts.map +1 -0
  202. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +5 -0
  203. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +1 -0
  204. package/dist/features/blocks/logic/redirect/utils/index.d.ts +2 -0
  205. package/dist/features/blocks/logic/redirect/utils/index.d.ts.map +1 -0
  206. package/dist/features/blocks/logic/script/executeScript.d.ts +9 -0
  207. package/dist/features/blocks/logic/script/executeScript.d.ts.map +1 -0
  208. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +6 -0
  209. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +1 -0
  210. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts +6 -0
  211. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts.map +1 -0
  212. package/dist/features/bubble/components/Bubble.d.ts +9 -0
  213. package/dist/features/bubble/components/Bubble.d.ts.map +1 -0
  214. package/dist/features/bubble/components/BubbleButton.d.ts +9 -0
  215. package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -0
  216. package/dist/features/bubble/components/PreviewMessage.d.ts +9 -0
  217. package/dist/features/bubble/components/PreviewMessage.d.ts.map +1 -0
  218. package/dist/features/bubble/components/index.d.ts +2 -0
  219. package/dist/features/bubble/components/index.d.ts.map +1 -0
  220. package/dist/features/bubble/index.d.ts +2 -0
  221. package/dist/features/bubble/index.d.ts.map +1 -0
  222. package/dist/features/bubble/types.d.ts +35 -0
  223. package/dist/features/bubble/types.d.ts.map +1 -0
  224. package/dist/features/commands/index.d.ts +3 -0
  225. package/dist/features/commands/index.d.ts.map +1 -0
  226. package/dist/features/commands/types.d.ts +19 -0
  227. package/dist/features/commands/types.d.ts.map +1 -0
  228. package/dist/features/commands/utils/close.d.ts +2 -0
  229. package/dist/features/commands/utils/close.d.ts.map +1 -0
  230. package/dist/features/commands/utils/hidePreviewMessage.d.ts +2 -0
  231. package/dist/features/commands/utils/hidePreviewMessage.d.ts.map +1 -0
  232. package/dist/features/commands/utils/index.d.ts +9 -0
  233. package/dist/features/commands/utils/index.d.ts.map +1 -0
  234. package/dist/features/commands/utils/open.d.ts +2 -0
  235. package/dist/features/commands/utils/open.d.ts.map +1 -0
  236. package/dist/features/commands/utils/setInputValue.d.ts +2 -0
  237. package/dist/features/commands/utils/setInputValue.d.ts.map +1 -0
  238. package/dist/features/commands/utils/setPrefilledVariables.d.ts +2 -0
  239. package/dist/features/commands/utils/setPrefilledVariables.d.ts.map +1 -0
  240. package/dist/features/commands/utils/showPreviewMessage.d.ts +3 -0
  241. package/dist/features/commands/utils/showPreviewMessage.d.ts.map +1 -0
  242. package/dist/features/commands/utils/toggle.d.ts +2 -0
  243. package/dist/features/commands/utils/toggle.d.ts.map +1 -0
  244. package/dist/features/commands/utils/unmount.d.ts +2 -0
  245. package/dist/features/commands/utils/unmount.d.ts.map +1 -0
  246. package/dist/features/popup/components/Popup.d.ts +10 -0
  247. package/dist/features/popup/components/Popup.d.ts.map +1 -0
  248. package/dist/features/popup/components/index.d.ts +2 -0
  249. package/dist/features/popup/components/index.d.ts.map +1 -0
  250. package/dist/features/popup/index.d.ts +2 -0
  251. package/dist/features/popup/index.d.ts.map +1 -0
  252. package/dist/features/popup/types.d.ts +9 -0
  253. package/dist/features/popup/types.d.ts.map +1 -0
  254. package/dist/features/standard/components/Standard.d.ts +5 -0
  255. package/dist/features/standard/components/Standard.d.ts.map +1 -0
  256. package/dist/features/standard/components/index.d.ts +2 -0
  257. package/dist/features/standard/components/index.d.ts.map +1 -0
  258. package/dist/features/standard/index.d.ts +2 -0
  259. package/dist/features/standard/index.d.ts.map +1 -0
  260. package/dist/index.d.ts +7 -0
  261. package/dist/index.d.ts.map +1 -0
  262. package/dist/index.js +2 -0
  263. package/dist/lib/gtag.d.ts +4 -0
  264. package/dist/lib/gtag.d.ts.map +1 -0
  265. package/dist/lib/gtm.d.ts +3 -0
  266. package/dist/lib/gtm.d.ts.map +1 -0
  267. package/dist/lib/pixel.d.ts +4 -0
  268. package/dist/lib/pixel.d.ts.map +1 -0
  269. package/dist/lib/stripe.d.ts +3 -0
  270. package/dist/lib/stripe.d.ts.map +1 -0
  271. package/dist/queries/continueChatQuery.d.ts +554 -0
  272. package/dist/queries/continueChatQuery.d.ts.map +1 -0
  273. package/dist/queries/saveClientLogsQuery.d.ts +7 -0
  274. package/dist/queries/saveClientLogsQuery.d.ts.map +1 -0
  275. package/dist/queries/startChatQuery.d.ts +723 -0
  276. package/dist/queries/startChatQuery.d.ts.map +1 -0
  277. package/dist/register.d.ts +2 -0
  278. package/dist/register.d.ts.map +1 -0
  279. package/dist/types.d.ts +37 -0
  280. package/dist/types.d.ts.map +1 -0
  281. package/dist/utils/CorsError.d.ts +4 -0
  282. package/dist/utils/CorsError.d.ts.map +1 -0
  283. package/dist/utils/botContainerHeightSignal.d.ts +2 -0
  284. package/dist/utils/botContainerHeightSignal.d.ts.map +1 -0
  285. package/dist/utils/botContainerSignal.d.ts +2 -0
  286. package/dist/utils/botContainerSignal.d.ts.map +1 -0
  287. package/dist/utils/executeClientSideActions.d.ts +20 -0
  288. package/dist/utils/executeClientSideActions.d.ts.map +1 -0
  289. package/dist/utils/formattedMessagesSignal.d.ts +8 -0
  290. package/dist/utils/formattedMessagesSignal.d.ts.map +1 -0
  291. package/dist/utils/getAnswerContent.d.ts +3 -0
  292. package/dist/utils/getAnswerContent.d.ts.map +1 -0
  293. package/dist/utils/guessApiHost.d.ts +6 -0
  294. package/dist/utils/guessApiHost.d.ts.map +1 -0
  295. package/dist/utils/injectFont.d.ts +3 -0
  296. package/dist/utils/injectFont.d.ts.map +1 -0
  297. package/dist/utils/injectStartProps.d.ts +3 -0
  298. package/dist/utils/injectStartProps.d.ts.map +1 -0
  299. package/dist/utils/isMobileSignal.d.ts +2 -0
  300. package/dist/utils/isMobileSignal.d.ts.map +1 -0
  301. package/dist/utils/persist.d.ts +9 -0
  302. package/dist/utils/persist.d.ts.map +1 -0
  303. package/dist/utils/setCssVariablesValue.d.ts +3 -0
  304. package/dist/utils/setCssVariablesValue.d.ts.map +1 -0
  305. package/dist/utils/storage.d.ts +717 -0
  306. package/dist/utils/storage.d.ts.map +1 -0
  307. package/dist/utils/streamingMessageSignal.d.ts +8 -0
  308. package/dist/utils/streamingMessageSignal.d.ts.map +1 -0
  309. package/dist/utils/toaster.d.ts +2 -0
  310. package/dist/utils/toaster.d.ts.map +1 -0
  311. package/dist/web.d.ts +17 -0
  312. package/dist/web.d.ts.map +1 -0
  313. package/dist/web.js +14 -0
  314. package/dist/window.d.ts +40 -0
  315. package/dist/window.d.ts.map +1 -0
  316. package/package.json +57 -0
@@ -0,0 +1,4 @@
1
+ import { GoogleAnalyticsBlock } from '@typebot.io/schemas';
2
+ export declare const initGoogleAnalytics: (id: string) => Promise<void>;
3
+ export declare const sendGaEvent: (options: GoogleAnalyticsBlock['options']) => void;
4
+ //# sourceMappingURL=gtag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gtag.d.ts","sourceRoot":"","sources":["../../src/lib/gtag.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAe1D,eAAO,MAAM,mBAAmB,OAAQ,MAAM,KAAG,QAAQ,IAAI,CAuB5D,CAAA;AAED,eAAO,MAAM,WAAW,YAAa,oBAAoB,CAAC,SAAS,CAAC,SAYnE,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const gtmHeadSnippet: (googleTagManagerId: string) => string;
2
+ export declare const gtmBodyElement: (googleTagManagerId: string) => "" | HTMLElement;
3
+ //# sourceMappingURL=gtm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gtm.d.ts","sourceRoot":"","sources":["../../src/lib/gtm.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,uBAAwB,MAAM,WAMzB,CAAA;AAEhC,eAAO,MAAM,cAAc,uBAAwB,MAAM,qBAYxD,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { PixelBlock } from '@typebot.io/schemas';
2
+ export declare const initPixel: (pixelIds: string[]) => void;
3
+ export declare const trackPixelEvent: (options: PixelBlock['options']) => void;
4
+ //# sourceMappingURL=pixel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pixel.d.ts","sourceRoot":"","sources":["../../src/lib/pixel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAMhD,eAAO,MAAM,SAAS,aAAc,MAAM,EAAE,SAa3C,CAAA;AAED,eAAO,MAAM,eAAe,YAAa,UAAU,CAAC,SAAS,CAAC,SAiB7D,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { Stripe } from '@stripe/stripe-js';
2
+ export declare const loadStripe: (publishableKey: string) => Promise<Stripe>;
3
+ //# sourceMappingURL=stripe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stripe.d.ts","sourceRoot":"","sources":["../../src/lib/stripe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE1C,eAAO,MAAM,UAAU,mBAAoB,MAAM,KAAG,QAAQ,MAAM,CAU9D,CAAA"}
@@ -0,0 +1,554 @@
1
+ import { Message } from '@typebot.io/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("@typebot.io/schemas/features/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("@typebot.io/schemas/features/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("@typebot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.VIDEO;
30
+ content: {
31
+ url?: string | undefined;
32
+ id?: string | undefined;
33
+ type?: import("@typebot.io/schemas/features/blocks/bubbles/video/constants").VideoBubbleContentType | undefined;
34
+ height?: number | `{{${string}}}` | undefined;
35
+ aspectRatio?: string | undefined;
36
+ maxWidth?: string | undefined;
37
+ queryParamsStr?: string | undefined;
38
+ areControlsDisplayed?: boolean | undefined;
39
+ isAutoplayEnabled?: boolean | undefined;
40
+ };
41
+ } | {
42
+ type: import("@typebot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.AUDIO;
43
+ content: {
44
+ url?: string | undefined;
45
+ isAutoplayEnabled?: boolean | undefined;
46
+ };
47
+ } | {
48
+ type: import("@typebot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.EMBED;
49
+ content: {
50
+ url?: string | undefined;
51
+ waitForEvent?: {
52
+ isEnabled?: boolean | undefined;
53
+ name?: string | undefined;
54
+ saveDataInVariableId?: string | undefined;
55
+ } | undefined;
56
+ height?: number | 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
+ lastMessageNewFormat?: string | undefined;
73
+ input?: (({
74
+ id: string;
75
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
76
+ items: {
77
+ id: string;
78
+ outgoingEdgeId?: string | undefined;
79
+ blockId?: string | undefined;
80
+ content?: string | undefined;
81
+ displayCondition?: {
82
+ isEnabled?: boolean | undefined;
83
+ condition?: {
84
+ logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
85
+ comparisons?: {
86
+ id: string;
87
+ variableId?: string | undefined;
88
+ comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
89
+ value?: string | undefined;
90
+ }[] | undefined;
91
+ } | undefined;
92
+ } | undefined;
93
+ }[];
94
+ outgoingEdgeId?: string | undefined;
95
+ options?: {
96
+ variableId?: string | undefined;
97
+ isMultipleChoice?: boolean | undefined;
98
+ buttonLabel?: string | undefined;
99
+ dynamicVariableId?: string | undefined;
100
+ isSearchable?: boolean | undefined;
101
+ searchInputPlaceholder?: string | undefined;
102
+ } | undefined;
103
+ } | {
104
+ id: string;
105
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
106
+ items: {
107
+ id: string;
108
+ outgoingEdgeId?: string | undefined;
109
+ content?: string | undefined;
110
+ displayCondition?: {
111
+ isEnabled?: boolean | undefined;
112
+ condition?: {
113
+ logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
114
+ comparisons?: {
115
+ id: string;
116
+ variableId?: string | undefined;
117
+ comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
118
+ value?: string | undefined;
119
+ }[] | undefined;
120
+ } | undefined;
121
+ } | undefined;
122
+ }[];
123
+ outgoingEdgeId?: string | undefined;
124
+ options?: {
125
+ variableId?: string | undefined;
126
+ isMultipleChoice?: boolean | undefined;
127
+ buttonLabel?: string | undefined;
128
+ dynamicVariableId?: string | undefined;
129
+ isSearchable?: boolean | undefined;
130
+ searchInputPlaceholder?: string | undefined;
131
+ } | undefined;
132
+ } | {
133
+ id: string;
134
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.DATE;
135
+ outgoingEdgeId?: string | undefined;
136
+ options?: {
137
+ variableId?: string | undefined;
138
+ labels?: {
139
+ button?: string | undefined;
140
+ from?: string | undefined;
141
+ to?: string | undefined;
142
+ } | undefined;
143
+ hasTime?: boolean | undefined;
144
+ isRange?: boolean | undefined;
145
+ format?: string | undefined;
146
+ min?: string | undefined;
147
+ max?: string | undefined;
148
+ } | undefined;
149
+ } | {
150
+ id: string;
151
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
152
+ outgoingEdgeId?: string | undefined;
153
+ options?: {
154
+ variableId?: string | undefined;
155
+ isRequired?: boolean | undefined;
156
+ isMultipleAllowed?: boolean | undefined;
157
+ labels?: {
158
+ placeholder?: string | undefined;
159
+ button?: string | undefined;
160
+ clear?: string | undefined;
161
+ skip?: string | undefined;
162
+ success?: {
163
+ single?: string | undefined;
164
+ multiple?: string | undefined;
165
+ } | undefined;
166
+ } | undefined;
167
+ sizeLimit?: number | undefined;
168
+ visibility?: "Auto" | "Public" | "Private" | undefined;
169
+ } | undefined;
170
+ } | {
171
+ id: string;
172
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
173
+ outgoingEdgeId?: string | undefined;
174
+ options?: {
175
+ visibility?: "Auto" | "Public" | "Private" | undefined;
176
+ variableId?: string | undefined;
177
+ labels?: {
178
+ placeholder?: string | undefined;
179
+ button?: string | undefined;
180
+ clear?: string | undefined;
181
+ skip?: string | undefined;
182
+ success?: {
183
+ single?: string | undefined;
184
+ multiple?: string | undefined;
185
+ } | undefined;
186
+ } | undefined;
187
+ isRequired?: boolean | undefined;
188
+ isMultipleAllowed?: boolean | undefined;
189
+ } | undefined;
190
+ } | {
191
+ id: string;
192
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.TEXT;
193
+ outgoingEdgeId?: string | undefined;
194
+ options?: {
195
+ variableId?: string | undefined;
196
+ labels?: {
197
+ placeholder?: string | undefined;
198
+ button?: string | undefined;
199
+ } | undefined;
200
+ isLong?: boolean | undefined;
201
+ audioClip?: {
202
+ isEnabled?: boolean | undefined;
203
+ saveVariableId?: string | undefined;
204
+ visibility?: "Auto" | "Public" | "Private" | undefined;
205
+ } | undefined;
206
+ attachments?: {
207
+ isEnabled?: boolean | undefined;
208
+ saveVariableId?: string | undefined;
209
+ visibility?: "Auto" | "Public" | "Private" | undefined;
210
+ } | undefined;
211
+ } | undefined;
212
+ } | {
213
+ id: string;
214
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.EMAIL;
215
+ outgoingEdgeId?: string | undefined;
216
+ options?: {
217
+ variableId?: string | undefined;
218
+ labels?: {
219
+ placeholder?: string | undefined;
220
+ button?: string | undefined;
221
+ } | undefined;
222
+ retryMessageContent?: string | undefined;
223
+ } | undefined;
224
+ } | {
225
+ id: string;
226
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.NUMBER;
227
+ outgoingEdgeId?: string | undefined;
228
+ options?: {
229
+ variableId?: string | undefined;
230
+ labels?: {
231
+ placeholder?: string | undefined;
232
+ button?: string | undefined;
233
+ } | undefined;
234
+ min?: number | `{{${string}}}` | undefined;
235
+ max?: number | `{{${string}}}` | undefined;
236
+ step?: number | `{{${string}}}` | undefined;
237
+ } | undefined;
238
+ } | {
239
+ id: string;
240
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PAYMENT;
241
+ outgoingEdgeId?: string | undefined;
242
+ options?: {
243
+ variableId?: string | undefined;
244
+ provider?: import("@typebot.io/schemas/features/blocks/inputs/payment/constants").PaymentProvider.STRIPE | undefined;
245
+ labels?: {
246
+ button?: string | undefined;
247
+ success?: string | undefined;
248
+ } | undefined;
249
+ additionalInformation?: {
250
+ description?: string | undefined;
251
+ name?: string | undefined;
252
+ email?: string | undefined;
253
+ phoneNumber?: string | undefined;
254
+ address?: {
255
+ country?: string | undefined;
256
+ line1?: string | undefined;
257
+ line2?: string | undefined;
258
+ state?: string | undefined;
259
+ city?: string | undefined;
260
+ postalCode?: string | undefined;
261
+ } | undefined;
262
+ } | undefined;
263
+ credentialsId?: string | undefined;
264
+ currency?: string | undefined;
265
+ amount?: string | undefined;
266
+ retryMessageContent?: string | undefined;
267
+ } | undefined;
268
+ } | {
269
+ id: string;
270
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PHONE;
271
+ outgoingEdgeId?: string | undefined;
272
+ options?: {
273
+ variableId?: string | undefined;
274
+ labels?: {
275
+ placeholder?: string | undefined;
276
+ button?: string | undefined;
277
+ } | undefined;
278
+ retryMessageContent?: string | undefined;
279
+ defaultCountryCode?: string | undefined;
280
+ } | undefined;
281
+ } | {
282
+ id: string;
283
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.RATING;
284
+ outgoingEdgeId?: string | undefined;
285
+ options?: {
286
+ variableId?: string | undefined;
287
+ buttonType?: "Icons" | "Numbers" | undefined;
288
+ length?: number | undefined;
289
+ startsAt?: number | `{{${string}}}` | undefined;
290
+ labels?: {
291
+ left?: string | undefined;
292
+ right?: string | undefined;
293
+ button?: string | undefined;
294
+ } | undefined;
295
+ customIcon?: {
296
+ isEnabled?: boolean | undefined;
297
+ svg?: string | undefined;
298
+ } | undefined;
299
+ isOneClickSubmitEnabled?: boolean | undefined;
300
+ } | undefined;
301
+ } | {
302
+ id: string;
303
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.URL;
304
+ outgoingEdgeId?: string | undefined;
305
+ options?: {
306
+ variableId?: string | undefined;
307
+ labels?: {
308
+ placeholder?: string | undefined;
309
+ button?: string | undefined;
310
+ } | undefined;
311
+ retryMessageContent?: string | undefined;
312
+ } | undefined;
313
+ } | {
314
+ id: string;
315
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PICTURE_CHOICE;
316
+ items: {
317
+ id: string;
318
+ outgoingEdgeId?: string | undefined;
319
+ blockId?: string | undefined;
320
+ pictureSrc?: string | undefined;
321
+ title?: string | undefined;
322
+ description?: string | undefined;
323
+ displayCondition?: {
324
+ isEnabled?: boolean | undefined;
325
+ condition?: {
326
+ logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
327
+ comparisons?: {
328
+ id: string;
329
+ variableId?: string | undefined;
330
+ comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
331
+ value?: string | undefined;
332
+ }[] | undefined;
333
+ } | undefined;
334
+ } | undefined;
335
+ }[];
336
+ outgoingEdgeId?: string | undefined;
337
+ options?: {
338
+ variableId?: string | undefined;
339
+ isMultipleChoice?: boolean | undefined;
340
+ isSearchable?: boolean | undefined;
341
+ buttonLabel?: string | undefined;
342
+ searchInputPlaceholder?: string | undefined;
343
+ dynamicItems?: {
344
+ isEnabled?: boolean | undefined;
345
+ titlesVariableId?: string | undefined;
346
+ descriptionsVariableId?: string | undefined;
347
+ pictureSrcsVariableId?: string | undefined;
348
+ } | undefined;
349
+ } | undefined;
350
+ } | {
351
+ id: string;
352
+ type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PICTURE_CHOICE;
353
+ items: {
354
+ id: string;
355
+ outgoingEdgeId?: string | undefined;
356
+ pictureSrc?: string | undefined;
357
+ title?: string | undefined;
358
+ description?: string | undefined;
359
+ displayCondition?: {
360
+ isEnabled?: boolean | undefined;
361
+ condition?: {
362
+ logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
363
+ comparisons?: {
364
+ id: string;
365
+ variableId?: string | undefined;
366
+ comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
367
+ value?: string | undefined;
368
+ }[] | undefined;
369
+ } | undefined;
370
+ } | undefined;
371
+ }[];
372
+ outgoingEdgeId?: string | undefined;
373
+ options?: {
374
+ variableId?: string | undefined;
375
+ isMultipleChoice?: boolean | undefined;
376
+ isSearchable?: boolean | undefined;
377
+ buttonLabel?: string | undefined;
378
+ searchInputPlaceholder?: string | undefined;
379
+ dynamicItems?: {
380
+ isEnabled?: boolean | undefined;
381
+ titlesVariableId?: string | undefined;
382
+ descriptionsVariableId?: string | undefined;
383
+ pictureSrcsVariableId?: string | undefined;
384
+ } | undefined;
385
+ } | undefined;
386
+ }) & {
387
+ prefilledValue?: string | undefined;
388
+ runtimeOptions?: {
389
+ paymentIntentSecret: string;
390
+ amountLabel: string;
391
+ publicKey: string;
392
+ } | undefined;
393
+ }) | undefined;
394
+ clientSideActions?: ({
395
+ type: "scriptToExecute";
396
+ scriptToExecute: {
397
+ content: string;
398
+ args: {
399
+ id: string;
400
+ value?: string | number | boolean | (string | null)[] | null | undefined;
401
+ }[];
402
+ isCode?: boolean | undefined;
403
+ };
404
+ lastBubbleBlockId?: string | undefined;
405
+ expectsDedicatedReply?: boolean | undefined;
406
+ } | {
407
+ type: "redirect";
408
+ redirect: {
409
+ url?: string | undefined;
410
+ isNewTab?: boolean | undefined;
411
+ };
412
+ lastBubbleBlockId?: string | undefined;
413
+ expectsDedicatedReply?: boolean | undefined;
414
+ } | {
415
+ type: "chatwoot";
416
+ chatwoot: {
417
+ scriptToExecute: {
418
+ content: string;
419
+ args: {
420
+ id: string;
421
+ value?: string | number | boolean | (string | null)[] | null | undefined;
422
+ }[];
423
+ isCode?: boolean | undefined;
424
+ };
425
+ };
426
+ lastBubbleBlockId?: string | undefined;
427
+ expectsDedicatedReply?: boolean | undefined;
428
+ } | {
429
+ type: "googleAnalytics";
430
+ googleAnalytics: {
431
+ trackingId?: string | undefined;
432
+ category?: string | undefined;
433
+ action?: string | undefined;
434
+ label?: string | undefined;
435
+ value?: number | `{{${string}}}` | undefined;
436
+ sendTo?: string | undefined;
437
+ };
438
+ lastBubbleBlockId?: string | undefined;
439
+ expectsDedicatedReply?: boolean | undefined;
440
+ } | {
441
+ type: "wait";
442
+ wait: {
443
+ secondsToWaitFor: number;
444
+ };
445
+ lastBubbleBlockId?: string | undefined;
446
+ expectsDedicatedReply?: boolean | undefined;
447
+ } | {
448
+ type: "setVariable";
449
+ setVariable: {
450
+ scriptToExecute: {
451
+ content: string;
452
+ args: {
453
+ id: string;
454
+ value?: string | number | boolean | (string | null)[] | null | undefined;
455
+ }[];
456
+ isCode?: boolean | undefined;
457
+ };
458
+ };
459
+ lastBubbleBlockId?: string | undefined;
460
+ expectsDedicatedReply?: boolean | undefined;
461
+ } | {
462
+ type: "streamOpenAiChatCompletion";
463
+ streamOpenAiChatCompletion: {
464
+ messages: {
465
+ content?: string | undefined;
466
+ role?: "user" | "system" | "assistant" | undefined;
467
+ }[];
468
+ };
469
+ lastBubbleBlockId?: string | undefined;
470
+ expectsDedicatedReply?: boolean | undefined;
471
+ } | {
472
+ type: "webhookToExecute";
473
+ webhookToExecute: {
474
+ url: string;
475
+ headers?: Record<string, string> | undefined;
476
+ body?: unknown;
477
+ method?: import("@typebot.io/schemas/features/blocks/integrations/webhook/constants").HttpMethod | undefined;
478
+ };
479
+ lastBubbleBlockId?: string | undefined;
480
+ expectsDedicatedReply?: boolean | undefined;
481
+ } | {
482
+ type: "startPropsToInject";
483
+ startPropsToInject: {
484
+ googleAnalyticsId?: string | undefined;
485
+ pixelIds?: string[] | undefined;
486
+ gtmId?: string | undefined;
487
+ customHeadCode?: string | undefined;
488
+ };
489
+ lastBubbleBlockId?: string | undefined;
490
+ expectsDedicatedReply?: boolean | undefined;
491
+ } | {
492
+ type: "pixel";
493
+ pixel: {
494
+ params?: {
495
+ id: string;
496
+ key?: string | undefined;
497
+ value?: any;
498
+ }[] | undefined;
499
+ pixelId?: string | undefined;
500
+ isInitSkip?: boolean | undefined;
501
+ eventType?: undefined;
502
+ } | {
503
+ eventType: "Lead" | "Contact" | "CompleteRegistration" | "Schedule" | "SubmitApplication" | "ViewContent" | "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Purchase" | "Search" | "StartTrial" | "Subscribe";
504
+ params?: {
505
+ id: string;
506
+ key?: string | undefined;
507
+ value?: any;
508
+ }[] | undefined;
509
+ pixelId?: string | undefined;
510
+ isInitSkip?: boolean | undefined;
511
+ } | {
512
+ eventType: "Custom";
513
+ params?: {
514
+ id: string;
515
+ key?: string | undefined;
516
+ value?: any;
517
+ }[] | undefined;
518
+ pixelId?: string | undefined;
519
+ isInitSkip?: boolean | undefined;
520
+ name?: string | undefined;
521
+ };
522
+ lastBubbleBlockId?: string | undefined;
523
+ expectsDedicatedReply?: boolean | undefined;
524
+ } | {
525
+ type: "stream";
526
+ stream: true;
527
+ lastBubbleBlockId?: string | undefined;
528
+ expectsDedicatedReply?: boolean | undefined;
529
+ } | {
530
+ type: "codeToExecute";
531
+ codeToExecute: {
532
+ content: string;
533
+ args: Record<string, unknown>;
534
+ };
535
+ lastBubbleBlockId?: string | undefined;
536
+ expectsDedicatedReply?: boolean | undefined;
537
+ })[] | undefined;
538
+ logs?: {
539
+ status: string;
540
+ description: string;
541
+ details?: unknown;
542
+ }[] | undefined;
543
+ dynamicTheme?: {
544
+ hostAvatarUrl?: string | undefined;
545
+ guestAvatarUrl?: string | undefined;
546
+ } | undefined;
547
+ progress?: number | undefined;
548
+ };
549
+ error?: undefined;
550
+ } | {
551
+ error: unknown;
552
+ data?: undefined;
553
+ }>;
554
+ //# sourceMappingURL=continueChatQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"continueChatQuery.d.ts","sourceRoot":"","sources":["../../src/queries/continueChatQuery.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwB,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAGnE,eAAO,MAAM,iBAAiB,qCAI3B;IACD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;CAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBA,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { ChatLog } from '@typebot.io/schemas';
2
+ export declare const saveClientLogsQuery: ({ apiHost, sessionId, clientLogs, }: {
3
+ apiHost?: string;
4
+ sessionId: string;
5
+ clientLogs: ChatLog[];
6
+ }) => Promise<void>;
7
+ //# sourceMappingURL=saveClientLogsQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"saveClientLogsQuery.d.ts","sourceRoot":"","sources":["../../src/queries/saveClientLogsQuery.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAIlD,eAAO,MAAM,mBAAmB,wCAI7B;IACD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,OAAO,EAAE,CAAA;CACtB,kBAaA,CAAA"}