@urbiport/js 0.0.1 → 0.0.12

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 (178) hide show
  1. package/README.md +45 -38
  2. package/dist/components/Bot.d.ts +3 -3
  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/ConversationContainer/ChatChunk.d.ts +2 -1
  7. package/dist/components/ConversationContainer/ChatChunk.d.ts.map +1 -1
  8. package/dist/components/ConversationContainer/ChatChunkFooter.d.ts +20 -0
  9. package/dist/components/ConversationContainer/ChatChunkFooter.d.ts.map +1 -0
  10. package/dist/components/ConversationContainer/ConversationContainer.d.ts +3 -2
  11. package/dist/components/ConversationContainer/ConversationContainer.d.ts.map +1 -1
  12. package/dist/components/ConversationContainer/ConversationContainerBody.d.ts +10 -0
  13. package/dist/components/ConversationContainer/ConversationContainerBody.d.ts.map +1 -0
  14. package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts +18 -0
  15. package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts.map +1 -0
  16. package/dist/components/ConversationContainer/InputAnswerContext.d.ts +13 -0
  17. package/dist/components/ConversationContainer/InputAnswerContext.d.ts.map +1 -0
  18. package/dist/components/ConversationContainer/LoadingChunk.d.ts +1 -1
  19. package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +1 -1
  20. package/dist/components/ConversationContainer/PopupBlockedToast.d.ts.map +1 -1
  21. package/dist/components/ConversationContainer/helpers.d.ts +6 -0
  22. package/dist/components/ConversationContainer/helpers.d.ts.map +1 -0
  23. package/dist/components/FooterEndConversation.d.ts +2 -0
  24. package/dist/components/FooterEndConversation.d.ts.map +1 -0
  25. package/dist/components/FooterLiteBadge.d.ts +6 -0
  26. package/dist/components/FooterLiteBadge.d.ts.map +1 -0
  27. package/dist/components/InputAnswerContext.d.ts +41 -0
  28. package/dist/components/InputAnswerContext.d.ts.map +1 -0
  29. package/dist/components/InputChatBlock.d.ts +1 -1
  30. package/dist/components/InputChatBlock.d.ts.map +1 -1
  31. package/dist/components/InputChatBlockFooter copy.d.ts +17 -0
  32. package/dist/components/InputChatBlockFooter copy.d.ts.map +1 -0
  33. package/dist/components/InputChatBlockFooter.d.ts +17 -0
  34. package/dist/components/InputChatBlockFooter.d.ts.map +1 -0
  35. package/dist/components/InputChatBlockFooterShow.d.ts +13 -0
  36. package/dist/components/InputChatBlockFooterShow.d.ts.map +1 -0
  37. package/dist/components/InputFormLayout.d.ts +17 -0
  38. package/dist/components/InputFormLayout.d.ts.map +1 -0
  39. package/dist/components/SendButton.d.ts +0 -1
  40. package/dist/components/SendButton.d.ts.map +1 -1
  41. package/dist/components/Submit.d.ts +9 -0
  42. package/dist/components/Submit.d.ts.map +1 -0
  43. package/dist/components/SubmitButton.d.ts +9 -0
  44. package/dist/components/SubmitButton.d.ts.map +1 -0
  45. package/dist/components/avatars/AvatarPlaceholder.d.ts +7 -0
  46. package/dist/components/avatars/AvatarPlaceholder.d.ts.map +1 -0
  47. package/dist/components/bubbles/HostBubble.d.ts +1 -1
  48. package/dist/components/bubbles/HostBubble.d.ts.map +1 -1
  49. package/dist/components/icons/LogoIcon.d.ts +2 -0
  50. package/dist/components/icons/LogoIcon.d.ts.map +1 -0
  51. package/dist/components/icons/MicrophoneIcon.d.ts.map +1 -1
  52. package/dist/components/icons/SendIcon.d.ts.map +1 -1
  53. package/dist/components/index.d.ts +1 -1
  54. package/dist/components/index.d.ts.map +1 -1
  55. package/dist/components/inputs/Textarea.d.ts +2 -1
  56. package/dist/components/inputs/Textarea.d.ts.map +1 -1
  57. package/dist/constants/conversation.d.ts +4 -0
  58. package/dist/constants/conversation.d.ts.map +1 -0
  59. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +1 -1
  60. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -1
  61. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +1 -2
  62. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +1 -1
  63. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +1 -2
  64. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -1
  65. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +1 -3
  66. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -1
  67. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +1 -2
  68. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -1
  69. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +1 -2
  70. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -1
  71. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +2 -1
  72. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -1
  73. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +2 -1
  74. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +1 -1
  75. package/dist/features/blocks/inputs/date/components/DateForm.d.ts +1 -1
  76. package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +1 -1
  77. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +1 -1
  78. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +1 -1
  79. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +1 -1
  80. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +1 -1
  81. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +1 -1
  82. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +1 -1
  83. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +1 -1
  84. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +1 -1
  85. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +1 -1
  86. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +1 -1
  87. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts +2 -2
  88. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +1 -1
  89. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +1 -1
  90. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -1
  91. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts +1 -1
  92. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts.map +1 -1
  93. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts +1 -1
  94. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts.map +1 -1
  95. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +1 -1
  96. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +1 -1
  97. package/dist/features/blocks/inputs/textInput/components/TextInput copy.d.ts +11 -0
  98. package/dist/features/blocks/inputs/textInput/components/TextInput copy.d.ts.map +1 -0
  99. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts +2 -2
  100. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +1 -1
  101. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts +1 -1
  102. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +1 -1
  103. package/dist/features/blocks/inputs/textInput/index.d.ts +1 -1
  104. package/dist/features/blocks/inputs/textInput/index.d.ts.map +1 -1
  105. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +1 -1
  106. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +1 -1
  107. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts +1 -1
  108. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts.map +1 -1
  109. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +1 -1
  110. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +1 -1
  111. package/dist/features/blocks/integrations/pixel/executePixel.d.ts +1 -1
  112. package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +1 -1
  113. package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts +1 -1
  114. package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts.map +1 -1
  115. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +1 -1
  116. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +1 -1
  117. package/dist/features/blocks/logic/script/executeScript.d.ts +1 -1
  118. package/dist/features/blocks/logic/script/executeScript.d.ts.map +1 -1
  119. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +1 -1
  120. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +1 -1
  121. package/dist/features/blocks/logic/variable/executeVariable.d.ts +6 -0
  122. package/dist/features/blocks/logic/variable/executeVariable.d.ts.map +1 -0
  123. package/dist/features/bubble/components/Bubble.d.ts +1 -0
  124. package/dist/features/bubble/components/Bubble.d.ts.map +1 -1
  125. package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -1
  126. package/dist/features/commands/types.d.ts +1 -1
  127. package/dist/features/commands/types.d.ts.map +1 -1
  128. package/dist/features/popup/components/Popup.d.ts +1 -0
  129. package/dist/features/popup/components/Popup.d.ts.map +1 -1
  130. package/dist/features/standard/components/Standard.d.ts +1 -0
  131. package/dist/features/standard/components/Standard.d.ts.map +1 -1
  132. package/dist/features/streaming/streamChat.d.ts +17 -0
  133. package/dist/features/streaming/streamChat.d.ts.map +1 -0
  134. package/dist/hooks/useMessageListener.d.ts +11 -0
  135. package/dist/hooks/useMessageListener.d.ts.map +1 -0
  136. package/dist/index.js +2 -2
  137. package/dist/lib/gtag.d.ts +1 -1
  138. package/dist/lib/gtag.d.ts.map +1 -1
  139. package/dist/lib/gtm.d.ts +0 -1
  140. package/dist/lib/gtm.d.ts.map +1 -1
  141. package/dist/lib/pixel.d.ts +1 -1
  142. package/dist/lib/pixel.d.ts.map +1 -1
  143. package/dist/queries/continueChatQuery.d.ts +39 -128
  144. package/dist/queries/continueChatQuery.d.ts.map +1 -1
  145. package/dist/queries/saveClientLogsQuery.d.ts +1 -1
  146. package/dist/queries/saveClientLogsQuery.d.ts.map +1 -1
  147. package/dist/queries/startChatQuery.d.ts +54 -142
  148. package/dist/queries/startChatQuery.d.ts.map +1 -1
  149. package/dist/types.d.ts +6 -3
  150. package/dist/types.d.ts.map +1 -1
  151. package/dist/utils/botContainerSignal.d.ts +1 -1
  152. package/dist/utils/botContainerSignal.d.ts.map +1 -1
  153. package/dist/utils/executeClientSideActions.d.ts +1 -1
  154. package/dist/utils/executeClientSideActions.d.ts.map +1 -1
  155. package/dist/utils/guessApiHost.d.ts.map +1 -1
  156. package/dist/utils/injectFont.d.ts +1 -1
  157. package/dist/utils/injectFont.d.ts.map +1 -1
  158. package/dist/utils/injectStartProps.d.ts +1 -1
  159. package/dist/utils/injectStartProps.d.ts.map +1 -1
  160. package/dist/utils/setCssVariablesValue.d.ts +1 -1
  161. package/dist/utils/setCssVariablesValue.d.ts.map +1 -1
  162. package/dist/utils/storage.d.ts +58 -147
  163. package/dist/utils/storage.d.ts.map +1 -1
  164. package/dist/web.d.ts +1 -16
  165. package/dist/web.d.ts.map +1 -1
  166. package/dist/web.js +8 -7
  167. package/dist/window.d.ts +6 -6
  168. package/dist/window.d.ts.map +1 -1
  169. package/package.json +10 -10
  170. package/tsconfig.build.json +23 -0
  171. package/dist/components/icons/CameraIcon.d.ts +0 -3
  172. package/dist/components/icons/CameraIcon.d.ts.map +0 -1
  173. package/dist/components/icons/PlusIcon.d.ts +0 -3
  174. package/dist/components/icons/PlusIcon.d.ts.map +0 -1
  175. package/dist/features/blocks/integrations/googleAnalytics/index.d.ts +0 -2
  176. package/dist/features/blocks/integrations/googleAnalytics/index.d.ts.map +0 -1
  177. package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts +0 -2
  178. package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts.map +0 -1
@@ -1,3 +1,4 @@
1
+ import '../../../assets/normalize.css';
1
2
  import { BubbleParams } from '../types';
2
3
  import { BotProps } from '../../../components/Bot';
3
4
  export type BubbleProps = BotProps & BubbleParams & {
@@ -1 +1 @@
1
- {"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/Bubble.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AACvC,OAAO,EAAO,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AASvD,MAAM,MAAM,WAAW,GAAG,QAAQ,GAChC,YAAY,GAAG;IACb,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAA;CACnC,CAAA;AAEH,eAAO,MAAM,MAAM,UAAW,WAAW,mCAoLxC,CAAA"}
1
+ {"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/Bubble.tsx"],"names":[],"mappings":"AACA,OAAO,+BAA+B,CAAA;AAKtC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AACvC,OAAO,EAAO,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAUvD,MAAM,MAAM,WAAW,GAAG,QAAQ,GAChC,YAAY,GAAG;IACb,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAA;CACnC,CAAA;AAEH,eAAO,MAAM,MAAM,UAAW,WAAW,mCA8KxC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"BubbleButton.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/BubbleButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAInD,KAAK,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,GACzC,WAAW,GAAG;IACZ,WAAW,EAAE,OAAO,CAAA;IACpB,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,UAAU,EAAE,GAAG,MAAM,IAAI,CAAA;CAC1B,CAAA;AAQH,eAAO,MAAM,YAAY,UAAW,KAAK,mCAqHxC,CAAA"}
1
+ {"version":3,"file":"BubbleButton.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/BubbleButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAGnD,KAAK,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,GACzC,WAAW,GAAG;IACZ,WAAW,EAAE,OAAO,CAAA;IACpB,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,UAAU,EAAE,GAAG,MAAM,IAAI,CAAA;CAC1B,CAAA;AAOH,eAAO,MAAM,YAAY,UAAW,KAAK,mCA8GxC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { PreviewMessageParams } from '../bubble/types';
2
2
  export type CommandData = {
3
- isFromTypebot: boolean;
3
+ isFromBot: boolean;
4
4
  } & ({
5
5
  command: 'open' | 'toggle' | 'close' | 'hidePreviewMessage' | 'unmount';
6
6
  } | ShowMessageCommandData | SetPrefilledVariablesCommandData | SetInputValueCommandData);
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/commands/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAEtD,MAAM,MAAM,WAAW,GAAG;IACxB,aAAa,EAAE,OAAO,CAAA;CACvB,GAAG,CACA;IACE,OAAO,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,oBAAoB,GAAG,SAAS,CAAA;CACxE,GACD,sBAAsB,GACtB,gCAAgC,GAChC,wBAAwB,CAC3B,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,oBAAoB,CAAA;IAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,SAAS,CAAC,CAAA;CAC9D,CAAA;AAED,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,EAAE,uBAAuB,CAAA;IAChC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAA;CACrD,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE,eAAe,CAAA;IACxB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/commands/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAEtD,MAAM,MAAM,WAAW,GAAG;IACxB,SAAS,EAAE,OAAO,CAAA;CACnB,GAAG,CACA;IACE,OAAO,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,oBAAoB,GAAG,SAAS,CAAA;CACxE,GACD,sBAAsB,GACtB,gCAAgC,GAChC,wBAAwB,CAC3B,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,oBAAoB,CAAA;IAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,SAAS,CAAC,CAAA;CAC9D,CAAA;AAED,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,EAAE,uBAAuB,CAAA;IAChC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAA;CACrD,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE,eAAe,CAAA;IACxB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA"}
@@ -1,3 +1,4 @@
1
+ import '../../../assets/normalize.css';
1
2
  import { PopupParams } from '../types';
2
3
  import { BotProps } from '../../../components/Bot';
3
4
  export type PopupProps = BotProps & PopupParams & {
@@ -1 +1 @@
1
- {"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../../src/features/popup/components/Popup.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,EAAO,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AASvD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAC/B,WAAW,GAAG;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAA;AAEH,eAAO,MAAM,KAAK,UAAW,UAAU,mCA+HtC,CAAA"}
1
+ {"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../../src/features/popup/components/Popup.tsx"],"names":[],"mappings":"AAAA,OAAO,+BAA+B,CAAA;AAItC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,EAAO,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAUvD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAC/B,WAAW,GAAG;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAA;AAEH,eAAO,MAAM,KAAK,UAAW,UAAU,mCAyHtC,CAAA"}
@@ -1,3 +1,4 @@
1
+ import '../../../assets/normalize.css';
1
2
  import { BotProps } from '@/components/Bot';
2
3
  export declare const Standard: (props: BotProps, { element }: {
3
4
  element: HTMLElement;
@@ -1 +1 @@
1
- {"version":3,"file":"Standard.d.ts","sourceRoot":"","sources":["../../../../src/features/standard/components/Standard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAchD,eAAO,MAAM,QAAQ,UAAW,QAAQ,eAAe;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,mCAoC9E,CAAA"}
1
+ {"version":3,"file":"Standard.d.ts","sourceRoot":"","sources":["../../../../src/features/standard/components/Standard.tsx"],"names":[],"mappings":"AAAA,OAAO,+BAA+B,CAAA;AAEtC,OAAO,EAAO,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAchD,eAAO,MAAM,QAAQ,UAAW,QAAQ,eAAe;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,mCAiC9E,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { ClientSideActionContext } from '@/types';
2
+ export declare const streamChat: (context: ClientSideActionContext & {
3
+ retryAttempt?: number;
4
+ }) => ({ messages, onMessageStream, }: {
5
+ messages?: {
6
+ content?: string | undefined;
7
+ role?: 'system' | 'user' | 'assistant' | undefined;
8
+ }[];
9
+ onMessageStream?: (props: {
10
+ id: string;
11
+ message: string;
12
+ }) => void;
13
+ }) => Promise<{
14
+ message?: string;
15
+ error?: object;
16
+ }>;
17
+ //# sourceMappingURL=streamChat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streamChat.d.ts","sourceRoot":"","sources":["../../../src/features/streaming/streamChat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAUjD,eAAO,MAAM,UAAU,YACX,uBAAuB,GAAG;IAAE,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,sCAI1D;IACD,QAAQ,CAAC,EAAE;QACT,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;QAC5B,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS,CAAA;KACnD,EAAE,CAAA;IACH,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CACnE,KAAG,QAAQ;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CA+E/C,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { CommandData } from '@/features/commands/types';
2
+ type MessageEventHandler = (event: MessageEvent<CommandData>) => void;
3
+ /**
4
+ * Hook to handle window message event listeners
5
+ * Automatically sets up and cleans up the event listener
6
+ *
7
+ * @param handler - Function to handle incoming message events
8
+ */
9
+ export declare const useMessageListener: (handler: MessageEventHandler) => void;
10
+ export {};
11
+ //# sourceMappingURL=useMessageListener.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMessageListener.d.ts","sourceRoot":"","sources":["../../src/hooks/useMessageListener.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAEvD,KAAK,mBAAmB,GAAG,CAAC,KAAK,EAAE,YAAY,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;AAErE;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,YAAa,mBAAmB,SAe9D,CAAA"}
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- // v0.3.12
2
- const o=()=>{window.postMessage({isFromTypebot:!0,command:"close"})},s=()=>{window.postMessage({isFromTypebot:!0,command:"hidePreviewMessage"})},e=()=>{window.postMessage({isFromTypebot:!0,command:"open"})},m=o=>{const s={isFromTypebot:!0,command:"setPrefilledVariables",variables:o};window.postMessage(s)},t=o=>{const s={isFromTypebot:!0,command:"showPreviewMessage",message:o};window.postMessage(s)},a=()=>{window.postMessage({isFromTypebot:!0,command:"toggle"})},n=o=>{const s={isFromTypebot:!0,command:"setInputValue",value:o};window.postMessage(s)},i=()=>{window.postMessage({isFromTypebot:!0,command:"unmount"})};export{o as close,s as hidePreviewMessage,e as open,n as setInputValue,m as setPrefilledVariables,t as showPreviewMessage,a as toggle,i as unmount};
1
+ // v0.0.11
2
+ const o=()=>{window.postMessage({isFromBot:!0,command:"close"})},s=()=>{window.postMessage({isFromBot:!0,command:"hidePreviewMessage"})},e=()=>{window.postMessage({isFromBot:!0,command:"open"})},m=o=>{const s={isFromBot:!0,command:"setPrefilledVariables",variables:o};window.postMessage(s)},t=o=>{const s={isFromBot:!0,command:"showPreviewMessage",message:o};window.postMessage(s)},a=()=>{window.postMessage({isFromBot:!0,command:"toggle"})},n=o=>{const s={isFromBot:!0,command:"setInputValue",value:o};window.postMessage(s)},i=()=>{window.postMessage({isFromBot:!0,command:"unmount"})};export{o as close,s as hidePreviewMessage,e as open,n as setInputValue,m as setPrefilledVariables,t as showPreviewMessage,a as toggle,i as unmount};
@@ -1,4 +1,4 @@
1
- import { GoogleAnalyticsBlock } from '@typebot.io/schemas';
1
+ import { GoogleAnalyticsBlock } from '@quickbot.io/schemas';
2
2
  export declare const initGoogleAnalytics: (id: string) => Promise<void>;
3
3
  export declare const sendGaEvent: (options: GoogleAnalyticsBlock['options']) => void;
4
4
  //# sourceMappingURL=gtag.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"gtag.d.ts","sourceRoot":"","sources":["../../src/lib/gtag.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAe3D,eAAO,MAAM,mBAAmB,OAAQ,MAAM,KAAG,QAAQ,IAAI,CAuB5D,CAAA;AAED,eAAO,MAAM,WAAW,YAAa,oBAAoB,CAAC,SAAS,CAAC,SAYnE,CAAA"}
package/dist/lib/gtm.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- export declare const gtmHeadSnippet: (googleTagManagerId: string) => string;
2
1
  export declare const gtmBodyElement: (googleTagManagerId: string) => "" | HTMLElement;
3
2
  //# sourceMappingURL=gtm.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"gtm.d.ts","sourceRoot":"","sources":["../../src/lib/gtm.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,uBAAwB,MAAM,qBAYxD,CAAA"}
@@ -1,4 +1,4 @@
1
- import { PixelBlock } from '@typebot.io/schemas';
1
+ import { PixelBlock } from '@quickbot.io/schemas';
2
2
  export declare const initPixel: (pixelIds: string[]) => void;
3
3
  export declare const trackPixelEvent: (options: PixelBlock['options']) => void;
4
4
  //# sourceMappingURL=pixel.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"pixel.d.ts","sourceRoot":"","sources":["../../src/lib/pixel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAMjD,eAAO,MAAM,SAAS,aAAc,MAAM,EAAE,SAa3C,CAAA;AAED,eAAO,MAAM,eAAe,YAAa,UAAU,CAAC,SAAS,CAAC,SAiB7D,CAAA"}
@@ -1,4 +1,4 @@
1
- import { Message } from '@typebot.io/schemas';
1
+ import { Message } from '@quickbot.io/schemas';
2
2
  export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
3
3
  apiHost?: string;
4
4
  message?: Message;
@@ -8,7 +8,7 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
8
8
  messages: ({
9
9
  id: string;
10
10
  } & ({
11
- type: import("@typebot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.TEXT;
11
+ type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.TEXT;
12
12
  content: {
13
13
  type: "richText";
14
14
  richText?: any;
@@ -17,7 +17,7 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
17
17
  markdown: string;
18
18
  };
19
19
  } | {
20
- type: import("@typebot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.IMAGE;
20
+ type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.IMAGE;
21
21
  content: {
22
22
  url?: string | undefined;
23
23
  clickLink?: {
@@ -26,11 +26,11 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
26
26
  } | undefined;
27
27
  };
28
28
  } | {
29
- type: import("@typebot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.VIDEO;
29
+ type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.VIDEO;
30
30
  content: {
31
31
  url?: string | undefined;
32
32
  id?: string | undefined;
33
- type?: import("@typebot.io/schemas/features/blocks/bubbles/video/constants").VideoBubbleContentType | undefined;
33
+ type?: import("@quickbot.io/schemas/features/blocks/bubbles/video/constants").VideoBubbleContentType | undefined;
34
34
  height?: number | `{{${string}}}` | undefined;
35
35
  aspectRatio?: string | undefined;
36
36
  maxWidth?: string | undefined;
@@ -39,13 +39,13 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
39
39
  isAutoplayEnabled?: boolean | undefined;
40
40
  };
41
41
  } | {
42
- type: import("@typebot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.AUDIO;
42
+ type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.AUDIO;
43
43
  content: {
44
44
  url?: string | undefined;
45
45
  isAutoplayEnabled?: boolean | undefined;
46
46
  };
47
47
  } | {
48
- type: import("@typebot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.EMBED;
48
+ type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.EMBED;
49
49
  content: {
50
50
  url?: string | undefined;
51
51
  waitForEvent?: {
@@ -71,50 +71,23 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
71
71
  }))[];
72
72
  lastMessageNewFormat?: string | undefined;
73
73
  input?: (({
74
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
74
75
  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
76
  items: {
107
77
  id: string;
78
+ content: string;
108
79
  outgoingEdgeId?: string | undefined;
109
- content?: string | undefined;
80
+ pictureSrc?: string | undefined;
81
+ description?: string | undefined;
82
+ value?: string | undefined;
110
83
  displayCondition?: {
111
84
  isEnabled?: boolean | undefined;
112
85
  condition?: {
113
- logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
86
+ logicalOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
114
87
  comparisons?: {
115
88
  id: string;
116
89
  variableId?: string | undefined;
117
- comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
90
+ comparisonOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
118
91
  value?: string | undefined;
119
92
  }[] | undefined;
120
93
  } | undefined;
@@ -128,10 +101,16 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
128
101
  dynamicVariableId?: string | undefined;
129
102
  isSearchable?: boolean | undefined;
130
103
  searchInputPlaceholder?: string | undefined;
104
+ otherOption?: boolean | undefined;
105
+ whatsappFlowHeader?: string | undefined;
106
+ whatsappFlowBody?: string | undefined;
107
+ whatsappFlowButtonText?: string | undefined;
108
+ whatsappFlowQuestionLabel?: string | undefined;
109
+ retryMessageContent?: string | undefined;
131
110
  } | undefined;
132
111
  } | {
112
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.DATE;
133
113
  id: string;
134
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.DATE;
135
114
  outgoingEdgeId?: string | undefined;
136
115
  options?: {
137
116
  variableId?: string | undefined;
@@ -145,10 +124,11 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
145
124
  format?: string | undefined;
146
125
  min?: string | undefined;
147
126
  max?: string | undefined;
127
+ retryMessageContent?: string | undefined;
148
128
  } | undefined;
149
129
  } | {
130
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
150
131
  id: string;
151
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
152
132
  outgoingEdgeId?: string | undefined;
153
133
  options?: {
154
134
  variableId?: string | undefined;
@@ -166,14 +146,16 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
166
146
  } | undefined;
167
147
  sizeLimit?: number | undefined;
168
148
  visibility?: "Auto" | "Public" | "Private" | undefined;
149
+ retryMessageContent?: string | undefined;
169
150
  } | undefined;
170
151
  } | {
152
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
171
153
  id: string;
172
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
173
154
  outgoingEdgeId?: string | undefined;
174
155
  options?: {
175
156
  visibility?: "Auto" | "Public" | "Private" | undefined;
176
157
  variableId?: string | undefined;
158
+ retryMessageContent?: string | undefined;
177
159
  labels?: {
178
160
  placeholder?: string | undefined;
179
161
  button?: string | undefined;
@@ -188,8 +170,8 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
188
170
  isMultipleAllowed?: boolean | undefined;
189
171
  } | undefined;
190
172
  } | {
173
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.TEXT;
191
174
  id: string;
192
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.TEXT;
193
175
  outgoingEdgeId?: string | undefined;
194
176
  options?: {
195
177
  variableId?: string | undefined;
@@ -210,8 +192,8 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
210
192
  } | undefined;
211
193
  } | undefined;
212
194
  } | {
195
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.EMAIL;
213
196
  id: string;
214
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.EMAIL;
215
197
  outgoingEdgeId?: string | undefined;
216
198
  options?: {
217
199
  variableId?: string | undefined;
@@ -222,8 +204,8 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
222
204
  retryMessageContent?: string | undefined;
223
205
  } | undefined;
224
206
  } | {
207
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.NUMBER;
225
208
  id: string;
226
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.NUMBER;
227
209
  outgoingEdgeId?: string | undefined;
228
210
  options?: {
229
211
  variableId?: string | undefined;
@@ -234,14 +216,15 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
234
216
  min?: number | `{{${string}}}` | undefined;
235
217
  max?: number | `{{${string}}}` | undefined;
236
218
  step?: number | `{{${string}}}` | undefined;
219
+ retryMessageContent?: string | undefined;
237
220
  } | undefined;
238
221
  } | {
222
+ type: import("@quickbot.io/schemas/features/blocks/integrations/constants").IntegrationBlockType.PAYMENT;
239
223
  id: string;
240
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PAYMENT;
241
224
  outgoingEdgeId?: string | undefined;
242
225
  options?: {
243
226
  variableId?: string | undefined;
244
- provider?: import("@typebot.io/schemas/features/blocks/inputs/payment/constants").PaymentProvider.STRIPE | undefined;
227
+ provider?: import("@quickbot.io/schemas/features/blocks/inputs/payment/constants").PaymentProvider.STRIPE | undefined;
245
228
  labels?: {
246
229
  button?: string | undefined;
247
230
  success?: string | undefined;
@@ -266,8 +249,8 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
266
249
  retryMessageContent?: string | undefined;
267
250
  } | undefined;
268
251
  } | {
252
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.PHONE;
269
253
  id: string;
270
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PHONE;
271
254
  outgoingEdgeId?: string | undefined;
272
255
  options?: {
273
256
  variableId?: string | undefined;
@@ -279,8 +262,8 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
279
262
  defaultCountryCode?: string | undefined;
280
263
  } | undefined;
281
264
  } | {
265
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.RATING;
282
266
  id: string;
283
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.RATING;
284
267
  outgoingEdgeId?: string | undefined;
285
268
  options?: {
286
269
  variableId?: string | undefined;
@@ -297,10 +280,11 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
297
280
  svg?: string | undefined;
298
281
  } | undefined;
299
282
  isOneClickSubmitEnabled?: boolean | undefined;
283
+ whatsappMessage?: string | undefined;
300
284
  } | undefined;
301
285
  } | {
286
+ type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.URL;
302
287
  id: string;
303
- type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.URL;
304
288
  outgoingEdgeId?: string | undefined;
305
289
  options?: {
306
290
  variableId?: string | undefined;
@@ -310,79 +294,6 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
310
294
  } | undefined;
311
295
  retryMessageContent?: string | undefined;
312
296
  } | 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
297
  }) & {
387
298
  prefilledValue?: string | undefined;
388
299
  runtimeOptions?: {
@@ -462,8 +373,8 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
462
373
  type: "streamOpenAiChatCompletion";
463
374
  streamOpenAiChatCompletion: {
464
375
  messages: {
465
- content?: string | undefined;
466
- role?: "user" | "system" | "assistant" | undefined;
376
+ content: string;
377
+ role: "user" | "system" | "assistant";
467
378
  }[];
468
379
  };
469
380
  lastBubbleBlockId?: string | undefined;
@@ -474,7 +385,7 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
474
385
  url: string;
475
386
  headers?: Record<string, string> | undefined;
476
387
  body?: unknown;
477
- method?: import("@typebot.io/schemas/features/blocks/integrations/webhook/constants").HttpMethod | undefined;
388
+ method?: import("@quickbot.io/schemas/features/blocks/integrations/webhook/constants").HttpMethod | undefined;
478
389
  };
479
390
  lastBubbleBlockId?: string | undefined;
480
391
  expectsDedicatedReply?: boolean | undefined;
@@ -1 +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"}
1
+ {"version":3,"file":"continueChatQuery.d.ts","sourceRoot":"","sources":["../../src/queries/continueChatQuery.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwB,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAGpE,eAAO,MAAM,iBAAiB,qCAI3B;IACD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;CAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBA,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { ChatLog } from '@typebot.io/schemas';
1
+ import type { ChatLog } from '@quickbot.io/schemas';
2
2
  export declare const saveClientLogsQuery: ({ apiHost, sessionId, clientLogs, }: {
3
3
  apiHost?: string;
4
4
  sessionId: string;
@@ -1 +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"}
1
+ {"version":3,"file":"saveClientLogsQuery.d.ts","sourceRoot":"","sources":["../../src/queries/saveClientLogsQuery.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAInD,eAAO,MAAM,mBAAmB,wCAI7B;IACD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,OAAO,EAAE,CAAA;CACtB,kBAaA,CAAA"}