@urbiport/js 0.0.11 → 0.0.13

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 (229) hide show
  1. package/README.md +39 -39
  2. package/dist/components/Bot.d.ts +8 -4
  3. package/dist/components/Bot.d.ts.map +1 -1
  4. package/dist/components/Button.d.ts +0 -1
  5. package/dist/components/Button.d.ts.map +1 -1
  6. package/dist/components/{SendButton.d.ts → ButtonSubmit.d.ts} +3 -4
  7. package/dist/components/ButtonSubmit.d.ts.map +1 -0
  8. package/dist/components/{InputChatBlock.d.ts → ChatInputFooter.d.ts} +4 -5
  9. package/dist/components/ChatInputFooter.d.ts.map +1 -0
  10. package/dist/components/ConversationContainer/ConversationContainer.d.ts +7 -2
  11. package/dist/components/ConversationContainer/ConversationContainer.d.ts.map +1 -1
  12. package/dist/components/ConversationContainer/ConversationContainerBody.d.ts +14 -0
  13. package/dist/components/ConversationContainer/ConversationContainerBody.d.ts.map +1 -0
  14. package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts +17 -0
  15. package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts.map +1 -0
  16. package/dist/components/ConversationContainer/{ChatChunk.d.ts → ConversationMessageChunk.d.ts} +5 -4
  17. package/dist/components/ConversationContainer/ConversationMessageChunk.d.ts.map +1 -0
  18. package/dist/components/ConversationContainer/ConversationPopupBlockedToast.d.ts +7 -0
  19. package/dist/components/ConversationContainer/ConversationPopupBlockedToast.d.ts.map +1 -0
  20. package/dist/components/ConversationContainer/ConversationProgressBar.d.ts +6 -0
  21. package/dist/components/ConversationContainer/ConversationProgressBar.d.ts.map +1 -0
  22. package/dist/components/ConversationContainer/HostAvatar.d.ts +8 -0
  23. package/dist/components/ConversationContainer/HostAvatar.d.ts.map +1 -0
  24. package/dist/components/ConversationContainer/InputAnswer.d.ts +18 -0
  25. package/dist/components/ConversationContainer/InputAnswer.d.ts.map +1 -0
  26. package/dist/components/ConversationContainer/helpers.d.ts +6 -0
  27. package/dist/components/ConversationContainer/helpers.d.ts.map +1 -0
  28. package/dist/components/FooterEndConversation.d.ts +2 -0
  29. package/dist/components/FooterEndConversation.d.ts.map +1 -0
  30. package/dist/components/FooterLiteBadge.d.ts +6 -0
  31. package/dist/components/FooterLiteBadge.d.ts.map +1 -0
  32. package/dist/components/InputAnswerContext.d.ts +46 -0
  33. package/dist/components/InputAnswerContext.d.ts.map +1 -0
  34. package/dist/components/InputFormLayout.d.ts +19 -0
  35. package/dist/components/InputFormLayout.d.ts.map +1 -0
  36. package/dist/components/Spinner.d.ts.map +1 -1
  37. package/dist/components/avatars/AvatarPlaceholder.d.ts +7 -0
  38. package/dist/components/avatars/AvatarPlaceholder.d.ts.map +1 -0
  39. package/dist/components/bubbles/HostBubble.d.ts +1 -1
  40. package/dist/components/bubbles/HostBubble.d.ts.map +1 -1
  41. package/dist/components/bubbles/HostBubbleStreaming.d.ts +8 -0
  42. package/dist/components/bubbles/HostBubbleStreaming.d.ts.map +1 -0
  43. package/dist/components/icons/LogoIcon.d.ts +2 -0
  44. package/dist/components/icons/LogoIcon.d.ts.map +1 -0
  45. package/dist/components/icons/MicrophoneIcon.d.ts.map +1 -1
  46. package/dist/components/icons/SendIcon.d.ts.map +1 -1
  47. package/dist/{features/blocks/inputs/fileUpload/components/SelectedFile.d.ts → components/inputs/FileAttached.d.ts} +2 -2
  48. package/dist/components/inputs/FileAttached.d.ts.map +1 -0
  49. package/dist/components/inputs/{ShortTextInput.d.ts → Input.d.ts} +2 -2
  50. package/dist/components/inputs/Input.d.ts.map +1 -0
  51. package/dist/components/inputs/Textarea.d.ts +2 -1
  52. package/dist/components/inputs/Textarea.d.ts.map +1 -1
  53. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +1 -1
  54. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -1
  55. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +1 -2
  56. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -1
  57. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +1 -3
  58. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -1
  59. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +1 -2
  60. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -1
  61. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +1 -2
  62. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -1
  63. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +4 -2
  64. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -1
  65. package/dist/{components/inputs/SearchInput.d.ts → features/blocks/inputs/buttons/components/ButtonsSearch.d.ts} +2 -2
  66. package/dist/features/blocks/inputs/buttons/components/ButtonsSearch.d.ts.map +1 -0
  67. package/dist/features/blocks/inputs/buttons/index.d.ts +2 -0
  68. package/dist/features/blocks/inputs/buttons/index.d.ts.map +1 -0
  69. package/dist/features/blocks/inputs/date/components/DateForm.d.ts +1 -1
  70. package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +1 -1
  71. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +3 -1
  72. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +1 -1
  73. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +1 -1
  74. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +1 -1
  75. package/dist/features/blocks/inputs/fileUpload/{helpers → utils}/sanitizeSelectedFiles.d.ts +2 -4
  76. package/dist/features/blocks/inputs/fileUpload/utils/sanitizeSelectedFiles.d.ts.map +1 -0
  77. package/dist/features/blocks/inputs/fileUpload/utils/uploadFiles.d.ts.map +1 -0
  78. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +1 -1
  79. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +1 -1
  80. package/dist/features/blocks/inputs/number/utils/numberInputHelper.d.ts.map +1 -0
  81. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +1 -1
  82. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +1 -1
  83. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +1 -1
  84. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +1 -1
  85. package/dist/features/blocks/inputs/payment/{helpers → utils}/paymentInProgressStorage.d.ts +2 -2
  86. package/dist/features/blocks/inputs/payment/utils/paymentInProgressStorage.d.ts.map +1 -0
  87. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +3 -1
  88. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -1
  89. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +1 -1
  90. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +1 -1
  91. package/dist/features/blocks/inputs/{textInput → text}/components/TextInput.d.ts +3 -1
  92. package/dist/features/blocks/inputs/text/components/TextInput.d.ts.map +1 -0
  93. package/dist/features/blocks/inputs/{textInput → text}/components/VoiceRecorder.d.ts +2 -2
  94. package/dist/features/blocks/inputs/text/components/VoiceRecorder.d.ts.map +1 -0
  95. package/dist/features/blocks/inputs/text/components/VolumeProcessor.d.ts.map +1 -0
  96. package/dist/features/blocks/inputs/text/index.d.ts.map +1 -0
  97. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +3 -1
  98. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +1 -1
  99. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts +1 -1
  100. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts.map +1 -1
  101. package/dist/features/blocks/integrations/pixel/executePixel.d.ts +1 -1
  102. package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +1 -1
  103. package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts +1 -1
  104. package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts.map +1 -1
  105. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +1 -1
  106. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +1 -1
  107. package/dist/features/blocks/logic/script/executeScript.d.ts +1 -1
  108. package/dist/features/blocks/logic/script/executeScript.d.ts.map +1 -1
  109. package/dist/features/blocks/logic/variable/executeVariable.d.ts +6 -0
  110. package/dist/features/blocks/logic/variable/executeVariable.d.ts.map +1 -0
  111. package/dist/features/bubble/components/Bubble.d.ts +1 -0
  112. package/dist/features/bubble/components/Bubble.d.ts.map +1 -1
  113. package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -1
  114. package/dist/features/bubble/components/{PreviewMessage.d.ts → BubbleMessage.d.ts} +2 -2
  115. package/dist/features/bubble/components/BubbleMessage.d.ts.map +1 -0
  116. package/dist/features/commands/types.d.ts +1 -1
  117. package/dist/features/commands/types.d.ts.map +1 -1
  118. package/dist/features/popup/components/Popup.d.ts +1 -0
  119. package/dist/features/popup/components/Popup.d.ts.map +1 -1
  120. package/dist/features/standard/components/Standard.d.ts +1 -0
  121. package/dist/features/standard/components/Standard.d.ts.map +1 -1
  122. package/dist/features/streaming/streamChat.d.ts.map +1 -0
  123. package/dist/hooks/useMessageListener.d.ts +11 -0
  124. package/dist/hooks/useMessageListener.d.ts.map +1 -0
  125. package/dist/index.d.ts +1 -0
  126. package/dist/index.d.ts.map +1 -1
  127. package/dist/index.js +26 -1
  128. package/dist/lib/gtm.d.ts +0 -1
  129. package/dist/lib/gtm.d.ts.map +1 -1
  130. package/dist/lib/pixel.d.ts +1 -1
  131. package/dist/lib/pixel.d.ts.map +1 -1
  132. package/dist/queries/continueChatQuery.d.ts +97 -223
  133. package/dist/queries/continueChatQuery.d.ts.map +1 -1
  134. package/dist/queries/saveClientLogsQuery.d.ts +1 -1
  135. package/dist/queries/saveClientLogsQuery.d.ts.map +1 -1
  136. package/dist/queries/startChatQuery.d.ts +193 -308
  137. package/dist/queries/startChatQuery.d.ts.map +1 -1
  138. package/dist/types.d.ts +6 -3
  139. package/dist/types.d.ts.map +1 -1
  140. package/dist/utils/botContainerSignal.d.ts +1 -1
  141. package/dist/utils/botContainerSignal.d.ts.map +1 -1
  142. package/dist/utils/executeClientSideActions.d.ts +1 -1
  143. package/dist/utils/executeClientSideActions.d.ts.map +1 -1
  144. package/dist/utils/guessApiHost.d.ts.map +1 -1
  145. package/dist/utils/injectFont.d.ts +2 -2
  146. package/dist/utils/injectFont.d.ts.map +1 -1
  147. package/dist/utils/injectStartProps.d.ts +1 -1
  148. package/dist/utils/injectStartProps.d.ts.map +1 -1
  149. package/dist/utils/setCssVariablesValue.d.ts +2 -2
  150. package/dist/utils/setCssVariablesValue.d.ts.map +1 -1
  151. package/dist/utils/storage.d.ts +197 -313
  152. package/dist/utils/storage.d.ts.map +1 -1
  153. package/dist/web.d.ts +1 -16
  154. package/dist/web.d.ts.map +1 -1
  155. package/dist/web.js +30 -7
  156. package/dist/window.d.ts +6 -6
  157. package/dist/window.d.ts.map +1 -1
  158. package/package.json +25 -20
  159. package/.turbo/turbo-build.log +0 -11
  160. package/LICENSE +0 -669
  161. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts +0 -8
  162. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts.map +0 -1
  163. package/dist/components/ConversationContainer/ChatChunk.d.ts.map +0 -1
  164. package/dist/components/ConversationContainer/LoadingChunk.d.ts +0 -7
  165. package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +0 -1
  166. package/dist/components/ConversationContainer/PopupBlockedToast.d.ts +0 -7
  167. package/dist/components/ConversationContainer/PopupBlockedToast.d.ts.map +0 -1
  168. package/dist/components/InputChatBlock.d.ts.map +0 -1
  169. package/dist/components/LiteBadge.d.ts +0 -6
  170. package/dist/components/LiteBadge.d.ts.map +0 -1
  171. package/dist/components/ProgressBar.d.ts +0 -6
  172. package/dist/components/ProgressBar.d.ts.map +0 -1
  173. package/dist/components/SendButton.d.ts.map +0 -1
  174. package/dist/components/avatars/DefaultAvatar.d.ts +0 -2
  175. package/dist/components/avatars/DefaultAvatar.d.ts.map +0 -1
  176. package/dist/components/bubbles/LoadingBubble.d.ts +0 -2
  177. package/dist/components/bubbles/LoadingBubble.d.ts.map +0 -1
  178. package/dist/components/bubbles/StreamingBubble.d.ts +0 -8
  179. package/dist/components/bubbles/StreamingBubble.d.ts.map +0 -1
  180. package/dist/components/icons/CameraIcon.d.ts +0 -3
  181. package/dist/components/icons/CameraIcon.d.ts.map +0 -1
  182. package/dist/components/icons/PlusIcon.d.ts +0 -3
  183. package/dist/components/icons/PlusIcon.d.ts.map +0 -1
  184. package/dist/components/icons/TypebotLogo.d.ts +0 -2
  185. package/dist/components/icons/TypebotLogo.d.ts.map +0 -1
  186. package/dist/components/index.d.ts +0 -4
  187. package/dist/components/index.d.ts.map +0 -1
  188. package/dist/components/inputs/SearchInput.d.ts.map +0 -1
  189. package/dist/components/inputs/ShortTextInput.d.ts.map +0 -1
  190. package/dist/components/inputs/index.d.ts +0 -3
  191. package/dist/components/inputs/index.d.ts.map +0 -1
  192. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +0 -11
  193. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +0 -1
  194. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts +0 -3
  195. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts.map +0 -1
  196. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts +0 -7
  197. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts.map +0 -1
  198. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +0 -10
  199. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +0 -1
  200. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts.map +0 -1
  201. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts.map +0 -1
  202. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts.map +0 -1
  203. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts.map +0 -1
  204. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +0 -1
  205. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts +0 -11
  206. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts.map +0 -1
  207. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts +0 -11
  208. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts.map +0 -1
  209. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +0 -1
  210. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +0 -1
  211. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts.map +0 -1
  212. package/dist/features/blocks/inputs/textInput/index.d.ts.map +0 -1
  213. package/dist/features/blocks/integrations/googleAnalytics/index.d.ts +0 -2
  214. package/dist/features/blocks/integrations/googleAnalytics/index.d.ts.map +0 -1
  215. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +0 -3
  216. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +0 -1
  217. package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts +0 -2
  218. package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts.map +0 -1
  219. package/dist/features/blocks/integrations/openai/streamChat.d.ts.map +0 -1
  220. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +0 -6
  221. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +0 -1
  222. package/dist/features/bubble/components/PreviewMessage.d.ts.map +0 -1
  223. package/dist/lib/gtag.d.ts +0 -4
  224. package/dist/lib/gtag.d.ts.map +0 -1
  225. /package/dist/features/blocks/inputs/fileUpload/{helpers → utils}/uploadFiles.d.ts +0 -0
  226. /package/dist/features/blocks/inputs/number/{numberInputHelper.d.ts → utils/numberInputHelper.d.ts} +0 -0
  227. /package/dist/features/blocks/inputs/{textInput → text}/components/VolumeProcessor.d.ts +0 -0
  228. /package/dist/features/blocks/inputs/{textInput → text}/index.d.ts +0 -0
  229. /package/dist/features/{blocks/integrations/openai → streaming}/streamChat.d.ts +0 -0
@@ -1,11 +1,11 @@
1
- import { StartChatResponse } from '@typebot.io/schemas/features/chat/schema';
2
- export declare const getExistingResultIdFromStorage: (typebotId?: string) => string | undefined;
3
- export declare const setResultInStorage: (storageType?: 'local' | 'session') => (typebotId: string, resultId: string) => void;
4
- export declare const getInitialChatReplyFromStorage: (typebotId: string | undefined) => {
1
+ import { StartChatResponse } from '@quickbot.io/schemas/features/chat/schema';
2
+ export declare const getExistingResultIdFromStorage: (botId?: string) => string | undefined;
3
+ export declare const setResultInStorage: (storageType?: 'local' | 'session') => (botId: string, resultId: string) => void;
4
+ export declare const getInitialChatReplyFromStorage: (botId: string | undefined) => {
5
5
  messages: ({
6
6
  id: string;
7
7
  } & ({
8
- type: import("@typebot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.TEXT;
8
+ type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.TEXT;
9
9
  content: {
10
10
  type: "richText";
11
11
  richText?: any;
@@ -14,7 +14,7 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
14
14
  markdown: string;
15
15
  };
16
16
  } | {
17
- type: import("@typebot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.IMAGE;
17
+ type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.IMAGE;
18
18
  content: {
19
19
  url?: string | undefined;
20
20
  clickLink?: {
@@ -23,70 +23,47 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
23
23
  } | undefined;
24
24
  };
25
25
  } | {
26
- type: import("@typebot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.VIDEO;
26
+ type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.VIDEO;
27
27
  content: {
28
- url?: string | undefined;
29
- id?: string | undefined;
30
- type?: import("@typebot.io/schemas/features/blocks/bubbles/video/constants").VideoBubbleContentType | undefined;
31
28
  height?: number | `{{${string}}}` | undefined;
29
+ type?: import("@quickbot.io/schemas/features/blocks/bubbles/video/constants").VideoBubbleContentType | undefined;
30
+ id?: string | undefined;
31
+ url?: string | undefined;
32
+ isAutoplayEnabled?: boolean | undefined;
32
33
  aspectRatio?: string | undefined;
33
34
  maxWidth?: string | undefined;
34
35
  queryParamsStr?: string | undefined;
35
36
  areControlsDisplayed?: boolean | undefined;
36
- isAutoplayEnabled?: boolean | undefined;
37
37
  };
38
38
  } | {
39
- type: import("@typebot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.AUDIO;
39
+ type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.AUDIO;
40
40
  content: {
41
41
  url?: string | undefined;
42
42
  isAutoplayEnabled?: boolean | undefined;
43
43
  };
44
44
  } | {
45
- type: import("@typebot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.EMBED;
45
+ type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.EMBED;
46
46
  content: {
47
+ height?: number | undefined;
47
48
  url?: string | undefined;
48
49
  waitForEvent?: {
49
- isEnabled?: boolean | undefined;
50
50
  name?: string | undefined;
51
+ isEnabled?: boolean | undefined;
51
52
  saveDataInVariableId?: string | undefined;
52
53
  } | undefined;
53
- height?: number | undefined;
54
- };
55
- } | {
56
- type: "custom-embed";
57
- content: {
58
- initFunction: {
54
+ initFunction?: {
59
55
  content: string;
60
- args: Record<string, unknown>;
61
- };
62
- url?: string | undefined;
56
+ args: Record<string, any>;
57
+ } | undefined;
63
58
  waitForEventFunction?: {
64
59
  content: string;
65
- args: Record<string, unknown>;
60
+ args: Record<string, any>;
66
61
  } | undefined;
67
62
  };
68
63
  }))[];
69
- typebot: {
64
+ bot: {
70
65
  id: string;
71
66
  settings: {
72
- general?: {
73
- isBrandingEnabled?: boolean | undefined;
74
- isTypingEmulationEnabled?: boolean | undefined;
75
- isInputPrefillEnabled?: boolean | undefined;
76
- isHideQueryParamsEnabled?: boolean | undefined;
77
- isNewResultOnRefreshEnabled?: boolean | undefined;
78
- rememberUser?: {
79
- isEnabled?: boolean | undefined;
80
- storage?: "session" | "local" | undefined;
81
- } | undefined;
82
- } | undefined;
83
- typingEmulation?: {
84
- enabled?: boolean | undefined;
85
- speed?: number | undefined;
86
- maxDelay?: number | undefined;
87
- delayBetweenBubbles?: number | undefined;
88
- isDisabledOnFirstMessage?: boolean | undefined;
89
- } | undefined;
90
67
  metadata?: {
91
68
  title?: string | undefined;
92
69
  description?: string | undefined;
@@ -98,14 +75,33 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
98
75
  whatsApp?: {
99
76
  isEnabled?: boolean | undefined;
100
77
  startCondition?: {
101
- logicalOperator: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator;
78
+ logicalOperator: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator;
102
79
  comparisons: {
103
80
  id: string;
104
- comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
105
81
  value?: string | undefined;
82
+ comparisonOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
106
83
  }[];
107
84
  } | undefined;
108
85
  sessionExpiryTimeout?: number | undefined;
86
+ flowIds?: Record<string, string> | undefined;
87
+ } | undefined;
88
+ general?: {
89
+ isBrandingEnabled?: boolean | undefined;
90
+ isTypingEmulationEnabled?: boolean | undefined;
91
+ isInputPrefillEnabled?: boolean | undefined;
92
+ isHideQueryParamsEnabled?: boolean | undefined;
93
+ isNewResultOnRefreshEnabled?: boolean | undefined;
94
+ rememberUser?: {
95
+ isEnabled?: boolean | undefined;
96
+ storage?: string | undefined;
97
+ } | undefined;
98
+ } | undefined;
99
+ typingEmulation?: {
100
+ enabled?: boolean | undefined;
101
+ speed?: number | undefined;
102
+ maxDelay?: number | undefined;
103
+ delayBetweenBubbles?: number | undefined;
104
+ isDisabledOnFirstMessage?: boolean | undefined;
109
105
  } | undefined;
110
106
  publicShare?: {
111
107
  isEnabled?: boolean | undefined;
@@ -115,171 +111,155 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
115
111
  } | undefined;
116
112
  };
117
113
  theme: {
118
- general?: {
119
- font?: string | {
120
- type: "Google";
121
- family?: string | undefined;
122
- } | {
123
- type: "Custom";
124
- family?: string | undefined;
125
- css?: string | undefined;
126
- url?: string | undefined;
127
- } | undefined;
128
- background?: {
129
- type?: import("@typebot.io/schemas/features/typebot/theme/constants").BackgroundType | undefined;
130
- content?: string | undefined;
131
- } | undefined;
132
- progressBar?: {
133
- isEnabled?: boolean | undefined;
134
- color?: string | undefined;
135
- backgroundColor?: string | undefined;
136
- placement?: "Top" | "Bottom" | undefined;
137
- thickness?: number | undefined;
138
- position?: "fixed" | "absolute" | undefined;
139
- } | undefined;
140
- } | undefined;
141
114
  chat?: {
142
- container?: {
143
- maxWidth?: string | undefined;
144
- maxHeight?: string | undefined;
145
- backgroundColor?: string | undefined;
115
+ inputs?: {
146
116
  color?: string | undefined;
147
- blur?: number | undefined;
148
117
  opacity?: number | undefined;
118
+ backgroundColor?: string | undefined;
119
+ background?: {
120
+ type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
121
+ content?: string | undefined;
122
+ } | undefined;
123
+ blur?: number | undefined;
149
124
  shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
150
125
  border?: {
151
- thickness?: number | undefined;
152
126
  color?: string | undefined;
153
- roundeness?: "medium" | "large" | "none" | "custom" | undefined;
154
- customRoundeness?: number | undefined;
155
127
  opacity?: number | undefined;
128
+ thickness?: number | undefined;
129
+ roundeness?: string | undefined;
130
+ customRoundeness?: number | undefined;
156
131
  } | undefined;
132
+ placeholderColor?: string | undefined;
157
133
  } | undefined;
158
- hostAvatar?: {
159
- isEnabled?: boolean | undefined;
160
- url?: string | undefined;
161
- } | undefined;
162
- guestAvatar?: {
163
- isEnabled?: boolean | undefined;
164
- url?: string | undefined;
165
- } | undefined;
166
- hostBubbles?: {
167
- backgroundColor?: string | undefined;
134
+ buttons?: {
168
135
  color?: string | undefined;
169
- blur?: number | undefined;
170
136
  opacity?: number | undefined;
137
+ backgroundColor?: string | undefined;
138
+ background?: {
139
+ type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
140
+ content?: string | undefined;
141
+ } | undefined;
142
+ blur?: number | undefined;
171
143
  shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
172
144
  border?: {
173
- thickness?: number | undefined;
174
145
  color?: string | undefined;
175
- roundeness?: "medium" | "large" | "none" | "custom" | undefined;
176
- customRoundeness?: number | undefined;
177
146
  opacity?: number | undefined;
147
+ thickness?: number | undefined;
148
+ roundeness?: string | undefined;
149
+ customRoundeness?: number | undefined;
178
150
  } | undefined;
179
151
  } | undefined;
180
- guestBubbles?: {
181
- backgroundColor?: string | undefined;
152
+ container?: {
182
153
  color?: string | undefined;
183
- blur?: number | undefined;
184
154
  opacity?: number | undefined;
155
+ backgroundColor?: string | undefined;
156
+ maxWidth?: string | undefined;
157
+ background?: {
158
+ type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
159
+ content?: string | undefined;
160
+ } | undefined;
161
+ blur?: number | undefined;
185
162
  shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
186
163
  border?: {
187
- thickness?: number | undefined;
188
164
  color?: string | undefined;
189
- roundeness?: "medium" | "large" | "none" | "custom" | undefined;
190
- customRoundeness?: number | undefined;
191
165
  opacity?: number | undefined;
166
+ thickness?: number | undefined;
167
+ roundeness?: string | undefined;
168
+ customRoundeness?: number | undefined;
169
+ } | undefined;
170
+ maxHeight?: string | undefined;
171
+ font?: string | {
172
+ type: "Google";
173
+ family?: string | undefined;
174
+ } | {
175
+ type: "Custom";
176
+ css?: string | undefined;
177
+ url?: string | undefined;
178
+ family?: string | undefined;
192
179
  } | undefined;
193
180
  } | undefined;
194
- buttons?: {
195
- backgroundColor?: string | undefined;
181
+ hostAvatar?: {
182
+ url?: string | undefined;
183
+ isEnabled?: boolean | undefined;
184
+ } | undefined;
185
+ guestAvatar?: {
186
+ url?: string | undefined;
187
+ isEnabled?: boolean | undefined;
188
+ } | undefined;
189
+ hostBubbles?: {
196
190
  color?: string | undefined;
197
- blur?: number | undefined;
198
191
  opacity?: number | undefined;
192
+ backgroundColor?: string | undefined;
193
+ background?: {
194
+ type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
195
+ content?: string | undefined;
196
+ } | undefined;
197
+ blur?: number | undefined;
199
198
  shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
200
199
  border?: {
201
- thickness?: number | undefined;
202
200
  color?: string | undefined;
203
- roundeness?: "medium" | "large" | "none" | "custom" | undefined;
204
- customRoundeness?: number | undefined;
205
201
  opacity?: number | undefined;
202
+ thickness?: number | undefined;
203
+ roundeness?: string | undefined;
204
+ customRoundeness?: number | undefined;
206
205
  } | undefined;
207
206
  } | undefined;
208
- inputs?: {
207
+ guestBubbles?: {
209
208
  color?: string | undefined;
210
209
  opacity?: number | undefined;
211
210
  backgroundColor?: string | undefined;
211
+ background?: {
212
+ type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
213
+ content?: string | undefined;
214
+ } | undefined;
212
215
  blur?: number | undefined;
213
216
  shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
214
217
  border?: {
215
- thickness?: number | undefined;
216
218
  color?: string | undefined;
217
- roundeness?: "medium" | "large" | "none" | "custom" | undefined;
218
- customRoundeness?: number | undefined;
219
219
  opacity?: number | undefined;
220
+ thickness?: number | undefined;
221
+ roundeness?: string | undefined;
222
+ customRoundeness?: number | undefined;
220
223
  } | undefined;
221
- placeholderColor?: string | undefined;
222
224
  } | undefined;
223
225
  roundness?: "medium" | "large" | "none" | undefined;
224
226
  } | undefined;
227
+ progressBar?: {
228
+ placement?: string | undefined;
229
+ color?: string | undefined;
230
+ backgroundColor?: string | undefined;
231
+ isEnabled?: boolean | undefined;
232
+ position?: string | undefined;
233
+ thickness?: number | undefined;
234
+ } | undefined;
225
235
  customCss?: string | undefined;
226
236
  };
227
237
  publishedAt?: Date | undefined;
228
238
  };
229
239
  sessionId: string;
230
- resultId?: string | undefined;
231
- lastMessageNewFormat?: string | undefined;
232
240
  input?: (({
241
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
233
242
  id: string;
234
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
235
243
  items: {
236
244
  id: string;
245
+ content: string;
246
+ value?: string | undefined;
237
247
  outgoingEdgeId?: string | undefined;
238
- blockId?: string | undefined;
239
- content?: string | undefined;
248
+ pictureSrc?: string | undefined;
249
+ description?: string | undefined;
240
250
  displayCondition?: {
241
251
  isEnabled?: boolean | undefined;
242
252
  condition?: {
243
- logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
253
+ logicalOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
244
254
  comparisons?: {
245
255
  id: string;
246
- variableId?: string | undefined;
247
- comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
248
256
  value?: string | undefined;
249
- }[] | undefined;
250
- } | undefined;
251
- } | undefined;
252
- }[];
253
- outgoingEdgeId?: string | undefined;
254
- options?: {
255
- variableId?: string | undefined;
256
- isMultipleChoice?: boolean | undefined;
257
- buttonLabel?: string | undefined;
258
- dynamicVariableId?: string | undefined;
259
- isSearchable?: boolean | undefined;
260
- searchInputPlaceholder?: string | undefined;
261
- } | undefined;
262
- } | {
263
- id: string;
264
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
265
- items: {
266
- id: string;
267
- outgoingEdgeId?: string | undefined;
268
- content?: string | undefined;
269
- displayCondition?: {
270
- isEnabled?: boolean | undefined;
271
- condition?: {
272
- logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
273
- comparisons?: {
274
- id: string;
275
257
  variableId?: string | undefined;
276
- comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
277
- value?: string | undefined;
258
+ comparisonOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
278
259
  }[] | undefined;
279
260
  } | undefined;
280
261
  } | undefined;
281
262
  }[];
282
- outgoingEdgeId?: string | undefined;
283
263
  options?: {
284
264
  variableId?: string | undefined;
285
265
  isMultipleChoice?: boolean | undefined;
@@ -287,13 +267,20 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
287
267
  dynamicVariableId?: string | undefined;
288
268
  isSearchable?: boolean | undefined;
289
269
  searchInputPlaceholder?: string | undefined;
270
+ otherOption?: boolean | undefined;
271
+ whatsappFlowHeader?: string | undefined;
272
+ whatsappFlowBody?: string | undefined;
273
+ whatsappFlowButtonText?: string | undefined;
274
+ whatsappFlowQuestionLabel?: string | undefined;
275
+ retryMessageContent?: string | undefined;
290
276
  } | undefined;
277
+ outgoingEdgeId?: string | undefined;
291
278
  } | {
279
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.DATE;
292
280
  id: string;
293
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.DATE;
294
- outgoingEdgeId?: string | undefined;
295
281
  options?: {
296
282
  variableId?: string | undefined;
283
+ retryMessageContent?: string | undefined;
297
284
  labels?: {
298
285
  button?: string | undefined;
299
286
  from?: string | undefined;
@@ -305,37 +292,17 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
305
292
  min?: string | undefined;
306
293
  max?: string | undefined;
307
294
  } | undefined;
308
- } | {
309
- id: string;
310
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
311
295
  outgoingEdgeId?: string | undefined;
312
- options?: {
313
- variableId?: string | undefined;
314
- isRequired?: boolean | undefined;
315
- isMultipleAllowed?: boolean | undefined;
316
- labels?: {
317
- placeholder?: string | undefined;
318
- button?: string | undefined;
319
- clear?: string | undefined;
320
- skip?: string | undefined;
321
- success?: {
322
- single?: string | undefined;
323
- multiple?: string | undefined;
324
- } | undefined;
325
- } | undefined;
326
- sizeLimit?: number | undefined;
327
- visibility?: "Auto" | "Public" | "Private" | undefined;
328
- } | undefined;
329
296
  } | {
297
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
330
298
  id: string;
331
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
332
- outgoingEdgeId?: string | undefined;
333
299
  options?: {
334
300
  visibility?: "Auto" | "Public" | "Private" | undefined;
335
301
  variableId?: string | undefined;
302
+ retryMessageContent?: string | undefined;
336
303
  labels?: {
337
- placeholder?: string | undefined;
338
304
  button?: string | undefined;
305
+ placeholder?: string | undefined;
339
306
  clear?: string | undefined;
340
307
  skip?: string | undefined;
341
308
  success?: {
@@ -346,70 +313,67 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
346
313
  isRequired?: boolean | undefined;
347
314
  isMultipleAllowed?: boolean | undefined;
348
315
  } | undefined;
316
+ outgoingEdgeId?: string | undefined;
349
317
  } | {
318
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.TEXT;
350
319
  id: string;
351
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.TEXT;
352
- outgoingEdgeId?: string | undefined;
353
320
  options?: {
354
321
  variableId?: string | undefined;
355
322
  labels?: {
356
- placeholder?: string | undefined;
357
323
  button?: string | undefined;
324
+ placeholder?: string | undefined;
358
325
  } | undefined;
359
- isLong?: boolean | undefined;
360
326
  audioClip?: {
327
+ visibility?: "Auto" | "Public" | "Private" | undefined;
361
328
  isEnabled?: boolean | undefined;
362
329
  saveVariableId?: string | undefined;
363
- visibility?: "Auto" | "Public" | "Private" | undefined;
364
330
  } | undefined;
365
331
  attachments?: {
332
+ visibility?: "Auto" | "Public" | "Private" | undefined;
366
333
  isEnabled?: boolean | undefined;
367
334
  saveVariableId?: string | undefined;
368
- visibility?: "Auto" | "Public" | "Private" | undefined;
369
335
  } | undefined;
370
336
  } | undefined;
337
+ outgoingEdgeId?: string | undefined;
371
338
  } | {
339
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.EMAIL;
372
340
  id: string;
373
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.EMAIL;
374
- outgoingEdgeId?: string | undefined;
375
341
  options?: {
376
342
  variableId?: string | undefined;
343
+ retryMessageContent?: string | undefined;
377
344
  labels?: {
378
- placeholder?: string | undefined;
379
345
  button?: string | undefined;
346
+ placeholder?: string | undefined;
380
347
  } | undefined;
381
- retryMessageContent?: string | undefined;
382
348
  } | undefined;
349
+ outgoingEdgeId?: string | undefined;
383
350
  } | {
351
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.NUMBER;
384
352
  id: string;
385
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.NUMBER;
386
- outgoingEdgeId?: string | undefined;
387
353
  options?: {
388
354
  variableId?: string | undefined;
355
+ retryMessageContent?: string | undefined;
389
356
  labels?: {
390
- placeholder?: string | undefined;
391
357
  button?: string | undefined;
358
+ placeholder?: string | undefined;
392
359
  } | undefined;
393
360
  min?: number | `{{${string}}}` | undefined;
394
361
  max?: number | `{{${string}}}` | undefined;
395
362
  step?: number | `{{${string}}}` | undefined;
396
363
  } | undefined;
364
+ outgoingEdgeId?: string | undefined;
397
365
  } | {
366
+ type: import("@quickbot.io/schemas/features/blocks/integrations/constants").IntegrationBlockType.PAYMENT;
398
367
  id: string;
399
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PAYMENT;
400
- outgoingEdgeId?: string | undefined;
401
368
  options?: {
402
369
  variableId?: string | undefined;
403
- provider?: import("@typebot.io/schemas/features/blocks/inputs/payment/constants").PaymentProvider.STRIPE | undefined;
370
+ retryMessageContent?: string | undefined;
404
371
  labels?: {
405
372
  button?: string | undefined;
406
373
  success?: string | undefined;
407
374
  } | undefined;
375
+ provider?: import("@quickbot.io/schemas/features/blocks/inputs/payment/constants").PaymentProvider | undefined;
408
376
  additionalInformation?: {
409
- description?: string | undefined;
410
- name?: string | undefined;
411
- email?: string | undefined;
412
- phoneNumber?: string | undefined;
413
377
  address?: {
414
378
  country?: string | undefined;
415
379
  line1?: string | undefined;
@@ -418,130 +382,62 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
418
382
  city?: string | undefined;
419
383
  postalCode?: string | undefined;
420
384
  } | undefined;
385
+ name?: string | undefined;
386
+ description?: string | undefined;
387
+ email?: string | undefined;
388
+ phoneNumber?: string | undefined;
421
389
  } | undefined;
422
390
  credentialsId?: string | undefined;
423
391
  currency?: string | undefined;
424
392
  amount?: string | undefined;
425
- retryMessageContent?: string | undefined;
426
393
  } | undefined;
394
+ outgoingEdgeId?: string | undefined;
427
395
  } | {
396
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.PHONE;
428
397
  id: string;
429
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PHONE;
430
- outgoingEdgeId?: string | undefined;
431
398
  options?: {
432
399
  variableId?: string | undefined;
400
+ retryMessageContent?: string | undefined;
433
401
  labels?: {
434
- placeholder?: string | undefined;
435
402
  button?: string | undefined;
403
+ placeholder?: string | undefined;
436
404
  } | undefined;
437
- retryMessageContent?: string | undefined;
438
405
  defaultCountryCode?: string | undefined;
439
406
  } | undefined;
407
+ outgoingEdgeId?: string | undefined;
440
408
  } | {
409
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.RATING;
441
410
  id: string;
442
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.RATING;
443
- outgoingEdgeId?: string | undefined;
444
411
  options?: {
445
- variableId?: string | undefined;
446
- buttonType?: "Icons" | "Numbers" | undefined;
447
412
  length?: number | undefined;
448
- startsAt?: number | `{{${string}}}` | undefined;
413
+ variableId?: string | undefined;
449
414
  labels?: {
415
+ button?: string | undefined;
450
416
  left?: string | undefined;
451
417
  right?: string | undefined;
452
- button?: string | undefined;
453
418
  } | undefined;
419
+ buttonType?: "Icons" | "Numbers" | undefined;
420
+ startsAt?: number | `{{${string}}}` | undefined;
454
421
  customIcon?: {
455
422
  isEnabled?: boolean | undefined;
456
423
  svg?: string | undefined;
457
424
  } | undefined;
458
425
  isOneClickSubmitEnabled?: boolean | undefined;
426
+ whatsappMessage?: string | undefined;
459
427
  } | undefined;
428
+ outgoingEdgeId?: string | undefined;
460
429
  } | {
430
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.URL;
461
431
  id: string;
462
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.URL;
463
- outgoingEdgeId?: string | undefined;
464
432
  options?: {
465
433
  variableId?: string | undefined;
434
+ retryMessageContent?: string | undefined;
466
435
  labels?: {
467
- placeholder?: string | undefined;
468
436
  button?: string | undefined;
469
- } | undefined;
470
- retryMessageContent?: string | undefined;
471
- } | undefined;
472
- } | {
473
- id: string;
474
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PICTURE_CHOICE;
475
- items: {
476
- id: string;
477
- outgoingEdgeId?: string | undefined;
478
- blockId?: string | undefined;
479
- pictureSrc?: string | undefined;
480
- title?: string | undefined;
481
- description?: string | undefined;
482
- displayCondition?: {
483
- isEnabled?: boolean | undefined;
484
- condition?: {
485
- logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
486
- comparisons?: {
487
- id: string;
488
- variableId?: string | undefined;
489
- comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
490
- value?: string | undefined;
491
- }[] | undefined;
492
- } | undefined;
493
- } | undefined;
494
- }[];
495
- outgoingEdgeId?: string | undefined;
496
- options?: {
497
- variableId?: string | undefined;
498
- isMultipleChoice?: boolean | undefined;
499
- isSearchable?: boolean | undefined;
500
- buttonLabel?: string | undefined;
501
- searchInputPlaceholder?: string | undefined;
502
- dynamicItems?: {
503
- isEnabled?: boolean | undefined;
504
- titlesVariableId?: string | undefined;
505
- descriptionsVariableId?: string | undefined;
506
- pictureSrcsVariableId?: string | undefined;
437
+ placeholder?: string | undefined;
507
438
  } | undefined;
508
439
  } | undefined;
509
- } | {
510
- id: string;
511
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PICTURE_CHOICE;
512
- items: {
513
- id: string;
514
- outgoingEdgeId?: string | undefined;
515
- pictureSrc?: string | undefined;
516
- title?: string | undefined;
517
- description?: string | undefined;
518
- displayCondition?: {
519
- isEnabled?: boolean | undefined;
520
- condition?: {
521
- logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
522
- comparisons?: {
523
- id: string;
524
- variableId?: string | undefined;
525
- comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
526
- value?: string | undefined;
527
- }[] | undefined;
528
- } | undefined;
529
- } | undefined;
530
- }[];
531
440
  outgoingEdgeId?: string | undefined;
532
- options?: {
533
- variableId?: string | undefined;
534
- isMultipleChoice?: boolean | undefined;
535
- isSearchable?: boolean | undefined;
536
- buttonLabel?: string | undefined;
537
- searchInputPlaceholder?: string | undefined;
538
- dynamicItems?: {
539
- isEnabled?: boolean | undefined;
540
- titlesVariableId?: string | undefined;
541
- descriptionsVariableId?: string | undefined;
542
- pictureSrcsVariableId?: string | undefined;
543
- } | undefined;
544
- } | undefined;
545
441
  }) & {
546
442
  prefilledValue?: string | undefined;
547
443
  runtimeOptions?: {
@@ -550,6 +446,18 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
550
446
  publicKey: string;
551
447
  } | undefined;
552
448
  }) | undefined;
449
+ progress?: number | undefined;
450
+ logs?: {
451
+ status: string;
452
+ description: string;
453
+ details?: unknown;
454
+ }[] | undefined;
455
+ resultId?: string | undefined;
456
+ dynamicTheme?: {
457
+ hostAvatarUrl?: string | undefined;
458
+ guestAvatarUrl?: string | undefined;
459
+ } | undefined;
460
+ lastMessageNewFormat?: string | undefined;
553
461
  clientSideActions?: ({
554
462
  type: "scriptToExecute";
555
463
  scriptToExecute: {
@@ -584,18 +492,6 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
584
492
  };
585
493
  lastBubbleBlockId?: string | undefined;
586
494
  expectsDedicatedReply?: boolean | undefined;
587
- } | {
588
- type: "googleAnalytics";
589
- googleAnalytics: {
590
- trackingId?: string | undefined;
591
- category?: string | undefined;
592
- action?: string | undefined;
593
- label?: string | undefined;
594
- value?: number | `{{${string}}}` | undefined;
595
- sendTo?: string | undefined;
596
- };
597
- lastBubbleBlockId?: string | undefined;
598
- expectsDedicatedReply?: boolean | undefined;
599
495
  } | {
600
496
  type: "wait";
601
497
  wait: {
@@ -621,8 +517,8 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
621
517
  type: "streamOpenAiChatCompletion";
622
518
  streamOpenAiChatCompletion: {
623
519
  messages: {
624
- content?: string | undefined;
625
- role?: "user" | "system" | "assistant" | undefined;
520
+ content: string;
521
+ role: "user" | "system" | "assistant";
626
522
  }[];
627
523
  };
628
524
  lastBubbleBlockId?: string | undefined;
@@ -631,19 +527,18 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
631
527
  type: "webhookToExecute";
632
528
  webhookToExecute: {
633
529
  url: string;
634
- headers?: Record<string, string> | undefined;
635
530
  body?: unknown;
636
- method?: import("@typebot.io/schemas/features/blocks/integrations/webhook/constants").HttpMethod | undefined;
531
+ headers?: Record<string, string> | undefined;
532
+ method?: import("@quickbot.io/schemas/features/blocks/integrations/webhook/constants").HttpMethod | undefined;
637
533
  };
638
534
  lastBubbleBlockId?: string | undefined;
639
535
  expectsDedicatedReply?: boolean | undefined;
640
536
  } | {
641
537
  type: "startPropsToInject";
642
538
  startPropsToInject: {
643
- googleAnalyticsId?: string | undefined;
539
+ customHeadCode?: string | undefined;
644
540
  pixelIds?: string[] | undefined;
645
541
  gtmId?: string | undefined;
646
- customHeadCode?: string | undefined;
647
542
  };
648
543
  lastBubbleBlockId?: string | undefined;
649
544
  expectsDedicatedReply?: boolean | undefined;
@@ -652,18 +547,18 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
652
547
  pixel: {
653
548
  params?: {
654
549
  id: string;
655
- key?: string | undefined;
656
550
  value?: any;
551
+ key?: string | undefined;
657
552
  }[] | undefined;
553
+ eventType?: undefined;
658
554
  pixelId?: string | undefined;
659
555
  isInitSkip?: boolean | undefined;
660
- eventType?: undefined;
661
556
  } | {
662
557
  eventType: "Lead" | "Contact" | "CompleteRegistration" | "Schedule" | "SubmitApplication" | "ViewContent" | "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Purchase" | "Search" | "StartTrial" | "Subscribe";
663
558
  params?: {
664
559
  id: string;
665
- key?: string | undefined;
666
560
  value?: any;
561
+ key?: string | undefined;
667
562
  }[] | undefined;
668
563
  pixelId?: string | undefined;
669
564
  isInitSkip?: boolean | undefined;
@@ -671,12 +566,12 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
671
566
  eventType: "Custom";
672
567
  params?: {
673
568
  id: string;
674
- key?: string | undefined;
675
569
  value?: any;
570
+ key?: string | undefined;
676
571
  }[] | undefined;
572
+ name?: string | undefined;
677
573
  pixelId?: string | undefined;
678
574
  isInitSkip?: boolean | undefined;
679
- name?: string | undefined;
680
575
  };
681
576
  lastBubbleBlockId?: string | undefined;
682
577
  expectsDedicatedReply?: boolean | undefined;
@@ -694,24 +589,13 @@ export declare const getInitialChatReplyFromStorage: (typebotId: string | undefi
694
589
  lastBubbleBlockId?: string | undefined;
695
590
  expectsDedicatedReply?: boolean | undefined;
696
591
  })[] | undefined;
697
- logs?: {
698
- status: string;
699
- description: string;
700
- details?: unknown;
701
- }[] | undefined;
702
- dynamicTheme?: {
703
- hostAvatarUrl?: string | undefined;
704
- guestAvatarUrl?: string | undefined;
705
- } | undefined;
706
- progress?: number | undefined;
707
592
  } | undefined;
708
- export declare const setInitialChatReplyInStorage: (initialChatReply: StartChatResponse, { typebotId, storage, }: {
709
- typebotId: string;
593
+ export declare const setInitialChatReplyInStorage: (initialChatReply: StartChatResponse, { botId, storage, }: {
594
+ botId: string;
710
595
  storage?: 'local' | 'session';
711
596
  }) => void;
712
597
  export declare const setBotOpenedStateInStorage: () => void;
713
598
  export declare const removeBotOpenedStateInStorage: () => void;
714
599
  export declare const getBotOpenedStateFromStorage: () => boolean;
715
- export declare const parseRememberUserStorage: (storage: 'local' | 'session' | undefined) => typeof localStorage | typeof sessionStorage;
716
- export declare const wipeExistingChatStateInStorage: (typebotId: string) => void;
600
+ export declare const wipeExistingChatStateInStorage: (botId: string) => void;
717
601
  //# sourceMappingURL=storage.d.ts.map