@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.
- package/README.md +39 -39
- package/dist/components/Bot.d.ts +8 -4
- package/dist/components/Bot.d.ts.map +1 -1
- package/dist/components/Button.d.ts +0 -1
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/{SendButton.d.ts → ButtonSubmit.d.ts} +3 -4
- package/dist/components/ButtonSubmit.d.ts.map +1 -0
- package/dist/components/{InputChatBlock.d.ts → ChatInputFooter.d.ts} +4 -5
- package/dist/components/ChatInputFooter.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationContainer.d.ts +7 -2
- package/dist/components/ConversationContainer/ConversationContainer.d.ts.map +1 -1
- package/dist/components/ConversationContainer/ConversationContainerBody.d.ts +14 -0
- package/dist/components/ConversationContainer/ConversationContainerBody.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts +17 -0
- package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts.map +1 -0
- package/dist/components/ConversationContainer/{ChatChunk.d.ts → ConversationMessageChunk.d.ts} +5 -4
- package/dist/components/ConversationContainer/ConversationMessageChunk.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationPopupBlockedToast.d.ts +7 -0
- package/dist/components/ConversationContainer/ConversationPopupBlockedToast.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationProgressBar.d.ts +6 -0
- package/dist/components/ConversationContainer/ConversationProgressBar.d.ts.map +1 -0
- package/dist/components/ConversationContainer/HostAvatar.d.ts +8 -0
- package/dist/components/ConversationContainer/HostAvatar.d.ts.map +1 -0
- package/dist/components/ConversationContainer/InputAnswer.d.ts +18 -0
- package/dist/components/ConversationContainer/InputAnswer.d.ts.map +1 -0
- package/dist/components/ConversationContainer/helpers.d.ts +6 -0
- package/dist/components/ConversationContainer/helpers.d.ts.map +1 -0
- package/dist/components/FooterEndConversation.d.ts +2 -0
- package/dist/components/FooterEndConversation.d.ts.map +1 -0
- package/dist/components/FooterLiteBadge.d.ts +6 -0
- package/dist/components/FooterLiteBadge.d.ts.map +1 -0
- package/dist/components/InputAnswerContext.d.ts +46 -0
- package/dist/components/InputAnswerContext.d.ts.map +1 -0
- package/dist/components/InputFormLayout.d.ts +19 -0
- package/dist/components/InputFormLayout.d.ts.map +1 -0
- package/dist/components/Spinner.d.ts.map +1 -1
- package/dist/components/avatars/AvatarPlaceholder.d.ts +7 -0
- package/dist/components/avatars/AvatarPlaceholder.d.ts.map +1 -0
- package/dist/components/bubbles/HostBubble.d.ts +1 -1
- package/dist/components/bubbles/HostBubble.d.ts.map +1 -1
- package/dist/components/bubbles/HostBubbleStreaming.d.ts +8 -0
- package/dist/components/bubbles/HostBubbleStreaming.d.ts.map +1 -0
- package/dist/components/icons/LogoIcon.d.ts +2 -0
- package/dist/components/icons/LogoIcon.d.ts.map +1 -0
- package/dist/components/icons/MicrophoneIcon.d.ts.map +1 -1
- package/dist/components/icons/SendIcon.d.ts.map +1 -1
- package/dist/{features/blocks/inputs/fileUpload/components/SelectedFile.d.ts → components/inputs/FileAttached.d.ts} +2 -2
- package/dist/components/inputs/FileAttached.d.ts.map +1 -0
- package/dist/components/inputs/{ShortTextInput.d.ts → Input.d.ts} +2 -2
- package/dist/components/inputs/Input.d.ts.map +1 -0
- package/dist/components/inputs/Textarea.d.ts +2 -1
- package/dist/components/inputs/Textarea.d.ts.map +1 -1
- package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +1 -1
- package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -1
- package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +1 -2
- package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -1
- package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +1 -3
- package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -1
- package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +1 -2
- package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -1
- package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +1 -2
- package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -1
- package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +4 -2
- package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -1
- package/dist/{components/inputs/SearchInput.d.ts → features/blocks/inputs/buttons/components/ButtonsSearch.d.ts} +2 -2
- package/dist/features/blocks/inputs/buttons/components/ButtonsSearch.d.ts.map +1 -0
- package/dist/features/blocks/inputs/buttons/index.d.ts +2 -0
- package/dist/features/blocks/inputs/buttons/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/date/components/DateForm.d.ts +1 -1
- package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +1 -1
- package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +3 -1
- package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +1 -1
- package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +1 -1
- package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +1 -1
- package/dist/features/blocks/inputs/fileUpload/{helpers → utils}/sanitizeSelectedFiles.d.ts +2 -4
- package/dist/features/blocks/inputs/fileUpload/utils/sanitizeSelectedFiles.d.ts.map +1 -0
- package/dist/features/blocks/inputs/fileUpload/utils/uploadFiles.d.ts.map +1 -0
- package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +1 -1
- package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +1 -1
- package/dist/features/blocks/inputs/number/utils/numberInputHelper.d.ts.map +1 -0
- package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +1 -1
- package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +1 -1
- package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +1 -1
- package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +1 -1
- package/dist/features/blocks/inputs/payment/{helpers → utils}/paymentInProgressStorage.d.ts +2 -2
- package/dist/features/blocks/inputs/payment/utils/paymentInProgressStorage.d.ts.map +1 -0
- package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +3 -1
- package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -1
- package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +1 -1
- package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +1 -1
- package/dist/features/blocks/inputs/{textInput → text}/components/TextInput.d.ts +3 -1
- package/dist/features/blocks/inputs/text/components/TextInput.d.ts.map +1 -0
- package/dist/features/blocks/inputs/{textInput → text}/components/VoiceRecorder.d.ts +2 -2
- package/dist/features/blocks/inputs/text/components/VoiceRecorder.d.ts.map +1 -0
- package/dist/features/blocks/inputs/text/components/VolumeProcessor.d.ts.map +1 -0
- package/dist/features/blocks/inputs/text/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +3 -1
- package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +1 -1
- package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts +1 -1
- package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts.map +1 -1
- package/dist/features/blocks/integrations/pixel/executePixel.d.ts +1 -1
- package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +1 -1
- package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts +1 -1
- package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts.map +1 -1
- package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +1 -1
- package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +1 -1
- package/dist/features/blocks/logic/script/executeScript.d.ts +1 -1
- package/dist/features/blocks/logic/script/executeScript.d.ts.map +1 -1
- package/dist/features/blocks/logic/variable/executeVariable.d.ts +6 -0
- package/dist/features/blocks/logic/variable/executeVariable.d.ts.map +1 -0
- package/dist/features/bubble/components/Bubble.d.ts +1 -0
- package/dist/features/bubble/components/Bubble.d.ts.map +1 -1
- package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -1
- package/dist/features/bubble/components/{PreviewMessage.d.ts → BubbleMessage.d.ts} +2 -2
- package/dist/features/bubble/components/BubbleMessage.d.ts.map +1 -0
- package/dist/features/commands/types.d.ts +1 -1
- package/dist/features/commands/types.d.ts.map +1 -1
- package/dist/features/popup/components/Popup.d.ts +1 -0
- package/dist/features/popup/components/Popup.d.ts.map +1 -1
- package/dist/features/standard/components/Standard.d.ts +1 -0
- package/dist/features/standard/components/Standard.d.ts.map +1 -1
- package/dist/features/streaming/streamChat.d.ts.map +1 -0
- package/dist/hooks/useMessageListener.d.ts +11 -0
- package/dist/hooks/useMessageListener.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -1
- package/dist/lib/gtm.d.ts +0 -1
- package/dist/lib/gtm.d.ts.map +1 -1
- package/dist/lib/pixel.d.ts +1 -1
- package/dist/lib/pixel.d.ts.map +1 -1
- package/dist/queries/continueChatQuery.d.ts +97 -223
- package/dist/queries/continueChatQuery.d.ts.map +1 -1
- package/dist/queries/saveClientLogsQuery.d.ts +1 -1
- package/dist/queries/saveClientLogsQuery.d.ts.map +1 -1
- package/dist/queries/startChatQuery.d.ts +193 -308
- package/dist/queries/startChatQuery.d.ts.map +1 -1
- package/dist/types.d.ts +6 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/botContainerSignal.d.ts +1 -1
- package/dist/utils/botContainerSignal.d.ts.map +1 -1
- package/dist/utils/executeClientSideActions.d.ts +1 -1
- package/dist/utils/executeClientSideActions.d.ts.map +1 -1
- package/dist/utils/guessApiHost.d.ts.map +1 -1
- package/dist/utils/injectFont.d.ts +2 -2
- package/dist/utils/injectFont.d.ts.map +1 -1
- package/dist/utils/injectStartProps.d.ts +1 -1
- package/dist/utils/injectStartProps.d.ts.map +1 -1
- package/dist/utils/setCssVariablesValue.d.ts +2 -2
- package/dist/utils/setCssVariablesValue.d.ts.map +1 -1
- package/dist/utils/storage.d.ts +197 -313
- package/dist/utils/storage.d.ts.map +1 -1
- package/dist/web.d.ts +1 -16
- package/dist/web.d.ts.map +1 -1
- package/dist/web.js +30 -7
- package/dist/window.d.ts +6 -6
- package/dist/window.d.ts.map +1 -1
- package/package.json +25 -20
- package/.turbo/turbo-build.log +0 -11
- package/LICENSE +0 -669
- package/dist/components/ConversationContainer/AvatarSideContainer.d.ts +0 -8
- package/dist/components/ConversationContainer/AvatarSideContainer.d.ts.map +0 -1
- package/dist/components/ConversationContainer/ChatChunk.d.ts.map +0 -1
- package/dist/components/ConversationContainer/LoadingChunk.d.ts +0 -7
- package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +0 -1
- package/dist/components/ConversationContainer/PopupBlockedToast.d.ts +0 -7
- package/dist/components/ConversationContainer/PopupBlockedToast.d.ts.map +0 -1
- package/dist/components/InputChatBlock.d.ts.map +0 -1
- package/dist/components/LiteBadge.d.ts +0 -6
- package/dist/components/LiteBadge.d.ts.map +0 -1
- package/dist/components/ProgressBar.d.ts +0 -6
- package/dist/components/ProgressBar.d.ts.map +0 -1
- package/dist/components/SendButton.d.ts.map +0 -1
- package/dist/components/avatars/DefaultAvatar.d.ts +0 -2
- package/dist/components/avatars/DefaultAvatar.d.ts.map +0 -1
- package/dist/components/bubbles/LoadingBubble.d.ts +0 -2
- package/dist/components/bubbles/LoadingBubble.d.ts.map +0 -1
- package/dist/components/bubbles/StreamingBubble.d.ts +0 -8
- package/dist/components/bubbles/StreamingBubble.d.ts.map +0 -1
- package/dist/components/icons/CameraIcon.d.ts +0 -3
- package/dist/components/icons/CameraIcon.d.ts.map +0 -1
- package/dist/components/icons/PlusIcon.d.ts +0 -3
- package/dist/components/icons/PlusIcon.d.ts.map +0 -1
- package/dist/components/icons/TypebotLogo.d.ts +0 -2
- package/dist/components/icons/TypebotLogo.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -4
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/inputs/SearchInput.d.ts.map +0 -1
- package/dist/components/inputs/ShortTextInput.d.ts.map +0 -1
- package/dist/components/inputs/index.d.ts +0 -3
- package/dist/components/inputs/index.d.ts.map +0 -1
- package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +0 -11
- package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +0 -1
- package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts +0 -3
- package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts.map +0 -1
- package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts +0 -7
- package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts.map +0 -1
- package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +0 -10
- package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +0 -1
- package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts.map +0 -1
- package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts.map +0 -1
- package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts.map +0 -1
- package/dist/features/blocks/inputs/number/numberInputHelper.d.ts.map +0 -1
- package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +0 -1
- package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts +0 -11
- package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts.map +0 -1
- package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts +0 -11
- package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts.map +0 -1
- package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +0 -1
- package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +0 -1
- package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts.map +0 -1
- package/dist/features/blocks/inputs/textInput/index.d.ts.map +0 -1
- package/dist/features/blocks/integrations/googleAnalytics/index.d.ts +0 -2
- package/dist/features/blocks/integrations/googleAnalytics/index.d.ts.map +0 -1
- package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +0 -3
- package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +0 -1
- package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts +0 -2
- package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts.map +0 -1
- package/dist/features/blocks/integrations/openai/streamChat.d.ts.map +0 -1
- package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +0 -6
- package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +0 -1
- package/dist/features/bubble/components/PreviewMessage.d.ts.map +0 -1
- package/dist/lib/gtag.d.ts +0 -4
- package/dist/lib/gtag.d.ts.map +0 -1
- /package/dist/features/blocks/inputs/fileUpload/{helpers → utils}/uploadFiles.d.ts +0 -0
- /package/dist/features/blocks/inputs/number/{numberInputHelper.d.ts → utils/numberInputHelper.d.ts} +0 -0
- /package/dist/features/blocks/inputs/{textInput → text}/components/VolumeProcessor.d.ts +0 -0
- /package/dist/features/blocks/inputs/{textInput → text}/index.d.ts +0 -0
- /package/dist/features/{blocks/integrations/openai → streaming}/streamChat.d.ts +0 -0
package/dist/lib/gtm.d.ts
CHANGED
package/dist/lib/gtm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gtm.d.ts","sourceRoot":"","sources":["../../src/lib/gtm.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,uBAAwB,MAAM,
|
|
1
|
+
{"version":3,"file":"gtm.d.ts","sourceRoot":"","sources":["../../src/lib/gtm.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,uBAAwB,MAAM,qBAYxD,CAAA"}
|
package/dist/lib/pixel.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PixelBlock } from '@
|
|
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
|
package/dist/lib/pixel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pixel.d.ts","sourceRoot":"","sources":["../../src/lib/pixel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
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,14 +1,18 @@
|
|
|
1
|
-
import { Message } from '@
|
|
2
|
-
export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
1
|
+
import { Message } from '@quickbot.io/schemas';
|
|
2
|
+
export declare const continueChatQuery: ({ apiHost, message, sessionId, messageMetadata, }: {
|
|
3
3
|
apiHost?: string;
|
|
4
4
|
message?: Message;
|
|
5
5
|
sessionId: string;
|
|
6
|
+
messageMetadata?: {
|
|
7
|
+
inputBlockId?: string;
|
|
8
|
+
inputType?: string;
|
|
9
|
+
};
|
|
6
10
|
}) => Promise<{
|
|
7
11
|
data: {
|
|
8
12
|
messages: ({
|
|
9
13
|
id: string;
|
|
10
14
|
} & ({
|
|
11
|
-
type: import("@
|
|
15
|
+
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.TEXT;
|
|
12
16
|
content: {
|
|
13
17
|
type: "richText";
|
|
14
18
|
richText?: any;
|
|
@@ -17,7 +21,7 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
17
21
|
markdown: string;
|
|
18
22
|
};
|
|
19
23
|
} | {
|
|
20
|
-
type: import("@
|
|
24
|
+
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.IMAGE;
|
|
21
25
|
content: {
|
|
22
26
|
url?: string | undefined;
|
|
23
27
|
clickLink?: {
|
|
@@ -26,101 +30,67 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
26
30
|
} | undefined;
|
|
27
31
|
};
|
|
28
32
|
} | {
|
|
29
|
-
type: import("@
|
|
33
|
+
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.VIDEO;
|
|
30
34
|
content: {
|
|
31
|
-
url?: string | undefined;
|
|
32
|
-
id?: string | undefined;
|
|
33
|
-
type?: import("@typebot.io/schemas/features/blocks/bubbles/video/constants").VideoBubbleContentType | undefined;
|
|
34
35
|
height?: number | `{{${string}}}` | undefined;
|
|
36
|
+
type?: import("@quickbot.io/schemas/features/blocks/bubbles/video/constants").VideoBubbleContentType | undefined;
|
|
37
|
+
id?: string | undefined;
|
|
38
|
+
url?: string | undefined;
|
|
39
|
+
isAutoplayEnabled?: boolean | undefined;
|
|
35
40
|
aspectRatio?: string | undefined;
|
|
36
41
|
maxWidth?: string | undefined;
|
|
37
42
|
queryParamsStr?: string | undefined;
|
|
38
43
|
areControlsDisplayed?: boolean | undefined;
|
|
39
|
-
isAutoplayEnabled?: boolean | undefined;
|
|
40
44
|
};
|
|
41
45
|
} | {
|
|
42
|
-
type: import("@
|
|
46
|
+
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.AUDIO;
|
|
43
47
|
content: {
|
|
44
48
|
url?: string | undefined;
|
|
45
49
|
isAutoplayEnabled?: boolean | undefined;
|
|
46
50
|
};
|
|
47
51
|
} | {
|
|
48
|
-
type: import("@
|
|
52
|
+
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.EMBED;
|
|
49
53
|
content: {
|
|
54
|
+
height?: number | undefined;
|
|
50
55
|
url?: string | undefined;
|
|
51
56
|
waitForEvent?: {
|
|
52
|
-
isEnabled?: boolean | undefined;
|
|
53
57
|
name?: string | undefined;
|
|
58
|
+
isEnabled?: boolean | undefined;
|
|
54
59
|
saveDataInVariableId?: string | undefined;
|
|
55
60
|
} | undefined;
|
|
56
|
-
|
|
57
|
-
};
|
|
58
|
-
} | {
|
|
59
|
-
type: "custom-embed";
|
|
60
|
-
content: {
|
|
61
|
-
initFunction: {
|
|
61
|
+
initFunction?: {
|
|
62
62
|
content: string;
|
|
63
|
-
args: Record<string,
|
|
64
|
-
};
|
|
65
|
-
url?: string | undefined;
|
|
63
|
+
args: Record<string, any>;
|
|
64
|
+
} | undefined;
|
|
66
65
|
waitForEventFunction?: {
|
|
67
66
|
content: string;
|
|
68
|
-
args: Record<string,
|
|
67
|
+
args: Record<string, any>;
|
|
69
68
|
} | undefined;
|
|
70
69
|
};
|
|
71
70
|
}))[];
|
|
72
|
-
lastMessageNewFormat?: string | undefined;
|
|
73
71
|
input?: (({
|
|
72
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
|
|
74
73
|
id: string;
|
|
75
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
|
|
76
74
|
items: {
|
|
77
75
|
id: string;
|
|
76
|
+
content: string;
|
|
77
|
+
value?: string | undefined;
|
|
78
78
|
outgoingEdgeId?: string | undefined;
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
pictureSrc?: string | undefined;
|
|
80
|
+
description?: string | undefined;
|
|
81
81
|
displayCondition?: {
|
|
82
82
|
isEnabled?: boolean | undefined;
|
|
83
83
|
condition?: {
|
|
84
|
-
logicalOperator?: import("@
|
|
84
|
+
logicalOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
|
|
85
85
|
comparisons?: {
|
|
86
86
|
id: string;
|
|
87
|
-
variableId?: string | undefined;
|
|
88
|
-
comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
|
|
89
87
|
value?: string | undefined;
|
|
90
|
-
}[] | undefined;
|
|
91
|
-
} | undefined;
|
|
92
|
-
} | undefined;
|
|
93
|
-
}[];
|
|
94
|
-
outgoingEdgeId?: string | undefined;
|
|
95
|
-
options?: {
|
|
96
|
-
variableId?: string | undefined;
|
|
97
|
-
isMultipleChoice?: boolean | undefined;
|
|
98
|
-
buttonLabel?: string | undefined;
|
|
99
|
-
dynamicVariableId?: string | undefined;
|
|
100
|
-
isSearchable?: boolean | undefined;
|
|
101
|
-
searchInputPlaceholder?: string | undefined;
|
|
102
|
-
} | undefined;
|
|
103
|
-
} | {
|
|
104
|
-
id: string;
|
|
105
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
|
|
106
|
-
items: {
|
|
107
|
-
id: string;
|
|
108
|
-
outgoingEdgeId?: string | undefined;
|
|
109
|
-
content?: string | undefined;
|
|
110
|
-
displayCondition?: {
|
|
111
|
-
isEnabled?: boolean | undefined;
|
|
112
|
-
condition?: {
|
|
113
|
-
logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
|
|
114
|
-
comparisons?: {
|
|
115
|
-
id: string;
|
|
116
88
|
variableId?: string | undefined;
|
|
117
|
-
comparisonOperator?: import("@
|
|
118
|
-
value?: string | undefined;
|
|
89
|
+
comparisonOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
|
|
119
90
|
}[] | undefined;
|
|
120
91
|
} | undefined;
|
|
121
92
|
} | undefined;
|
|
122
93
|
}[];
|
|
123
|
-
outgoingEdgeId?: string | undefined;
|
|
124
94
|
options?: {
|
|
125
95
|
variableId?: string | undefined;
|
|
126
96
|
isMultipleChoice?: boolean | undefined;
|
|
@@ -128,13 +98,20 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
128
98
|
dynamicVariableId?: string | undefined;
|
|
129
99
|
isSearchable?: boolean | undefined;
|
|
130
100
|
searchInputPlaceholder?: string | undefined;
|
|
101
|
+
otherOption?: boolean | undefined;
|
|
102
|
+
whatsappFlowHeader?: string | undefined;
|
|
103
|
+
whatsappFlowBody?: string | undefined;
|
|
104
|
+
whatsappFlowButtonText?: string | undefined;
|
|
105
|
+
whatsappFlowQuestionLabel?: string | undefined;
|
|
106
|
+
retryMessageContent?: string | undefined;
|
|
131
107
|
} | undefined;
|
|
108
|
+
outgoingEdgeId?: string | undefined;
|
|
132
109
|
} | {
|
|
110
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.DATE;
|
|
133
111
|
id: string;
|
|
134
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.DATE;
|
|
135
|
-
outgoingEdgeId?: string | undefined;
|
|
136
112
|
options?: {
|
|
137
113
|
variableId?: string | undefined;
|
|
114
|
+
retryMessageContent?: string | undefined;
|
|
138
115
|
labels?: {
|
|
139
116
|
button?: string | undefined;
|
|
140
117
|
from?: string | undefined;
|
|
@@ -146,37 +123,17 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
146
123
|
min?: string | undefined;
|
|
147
124
|
max?: string | undefined;
|
|
148
125
|
} | undefined;
|
|
149
|
-
} | {
|
|
150
|
-
id: string;
|
|
151
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
|
|
152
126
|
outgoingEdgeId?: string | undefined;
|
|
153
|
-
options?: {
|
|
154
|
-
variableId?: string | undefined;
|
|
155
|
-
isRequired?: boolean | undefined;
|
|
156
|
-
isMultipleAllowed?: boolean | undefined;
|
|
157
|
-
labels?: {
|
|
158
|
-
placeholder?: string | undefined;
|
|
159
|
-
button?: string | undefined;
|
|
160
|
-
clear?: string | undefined;
|
|
161
|
-
skip?: string | undefined;
|
|
162
|
-
success?: {
|
|
163
|
-
single?: string | undefined;
|
|
164
|
-
multiple?: string | undefined;
|
|
165
|
-
} | undefined;
|
|
166
|
-
} | undefined;
|
|
167
|
-
sizeLimit?: number | undefined;
|
|
168
|
-
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
169
|
-
} | undefined;
|
|
170
127
|
} | {
|
|
128
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
|
|
171
129
|
id: string;
|
|
172
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
|
|
173
|
-
outgoingEdgeId?: string | undefined;
|
|
174
130
|
options?: {
|
|
175
131
|
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
176
132
|
variableId?: string | undefined;
|
|
133
|
+
retryMessageContent?: string | undefined;
|
|
177
134
|
labels?: {
|
|
178
|
-
placeholder?: string | undefined;
|
|
179
135
|
button?: string | undefined;
|
|
136
|
+
placeholder?: string | undefined;
|
|
180
137
|
clear?: string | undefined;
|
|
181
138
|
skip?: string | undefined;
|
|
182
139
|
success?: {
|
|
@@ -187,70 +144,67 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
187
144
|
isRequired?: boolean | undefined;
|
|
188
145
|
isMultipleAllowed?: boolean | undefined;
|
|
189
146
|
} | undefined;
|
|
147
|
+
outgoingEdgeId?: string | undefined;
|
|
190
148
|
} | {
|
|
149
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.TEXT;
|
|
191
150
|
id: string;
|
|
192
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.TEXT;
|
|
193
|
-
outgoingEdgeId?: string | undefined;
|
|
194
151
|
options?: {
|
|
195
152
|
variableId?: string | undefined;
|
|
196
153
|
labels?: {
|
|
197
|
-
placeholder?: string | undefined;
|
|
198
154
|
button?: string | undefined;
|
|
155
|
+
placeholder?: string | undefined;
|
|
199
156
|
} | undefined;
|
|
200
|
-
isLong?: boolean | undefined;
|
|
201
157
|
audioClip?: {
|
|
158
|
+
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
202
159
|
isEnabled?: boolean | undefined;
|
|
203
160
|
saveVariableId?: string | undefined;
|
|
204
|
-
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
205
161
|
} | undefined;
|
|
206
162
|
attachments?: {
|
|
163
|
+
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
207
164
|
isEnabled?: boolean | undefined;
|
|
208
165
|
saveVariableId?: string | undefined;
|
|
209
|
-
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
210
166
|
} | undefined;
|
|
211
167
|
} | undefined;
|
|
168
|
+
outgoingEdgeId?: string | undefined;
|
|
212
169
|
} | {
|
|
170
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.EMAIL;
|
|
213
171
|
id: string;
|
|
214
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.EMAIL;
|
|
215
|
-
outgoingEdgeId?: string | undefined;
|
|
216
172
|
options?: {
|
|
217
173
|
variableId?: string | undefined;
|
|
174
|
+
retryMessageContent?: string | undefined;
|
|
218
175
|
labels?: {
|
|
219
|
-
placeholder?: string | undefined;
|
|
220
176
|
button?: string | undefined;
|
|
177
|
+
placeholder?: string | undefined;
|
|
221
178
|
} | undefined;
|
|
222
|
-
retryMessageContent?: string | undefined;
|
|
223
179
|
} | undefined;
|
|
180
|
+
outgoingEdgeId?: string | undefined;
|
|
224
181
|
} | {
|
|
182
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.NUMBER;
|
|
225
183
|
id: string;
|
|
226
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.NUMBER;
|
|
227
|
-
outgoingEdgeId?: string | undefined;
|
|
228
184
|
options?: {
|
|
229
185
|
variableId?: string | undefined;
|
|
186
|
+
retryMessageContent?: string | undefined;
|
|
230
187
|
labels?: {
|
|
231
|
-
placeholder?: string | undefined;
|
|
232
188
|
button?: string | undefined;
|
|
189
|
+
placeholder?: string | undefined;
|
|
233
190
|
} | undefined;
|
|
234
191
|
min?: number | `{{${string}}}` | undefined;
|
|
235
192
|
max?: number | `{{${string}}}` | undefined;
|
|
236
193
|
step?: number | `{{${string}}}` | undefined;
|
|
237
194
|
} | undefined;
|
|
195
|
+
outgoingEdgeId?: string | undefined;
|
|
238
196
|
} | {
|
|
197
|
+
type: import("@quickbot.io/schemas/features/blocks/integrations/constants").IntegrationBlockType.PAYMENT;
|
|
239
198
|
id: string;
|
|
240
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PAYMENT;
|
|
241
|
-
outgoingEdgeId?: string | undefined;
|
|
242
199
|
options?: {
|
|
243
200
|
variableId?: string | undefined;
|
|
244
|
-
|
|
201
|
+
retryMessageContent?: string | undefined;
|
|
245
202
|
labels?: {
|
|
246
203
|
button?: string | undefined;
|
|
247
204
|
success?: string | undefined;
|
|
248
205
|
} | undefined;
|
|
206
|
+
provider?: import("@quickbot.io/schemas/features/blocks/inputs/payment/constants").PaymentProvider | undefined;
|
|
249
207
|
additionalInformation?: {
|
|
250
|
-
description?: string | undefined;
|
|
251
|
-
name?: string | undefined;
|
|
252
|
-
email?: string | undefined;
|
|
253
|
-
phoneNumber?: string | undefined;
|
|
254
208
|
address?: {
|
|
255
209
|
country?: string | undefined;
|
|
256
210
|
line1?: string | undefined;
|
|
@@ -259,130 +213,62 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
259
213
|
city?: string | undefined;
|
|
260
214
|
postalCode?: string | undefined;
|
|
261
215
|
} | undefined;
|
|
216
|
+
name?: string | undefined;
|
|
217
|
+
description?: string | undefined;
|
|
218
|
+
email?: string | undefined;
|
|
219
|
+
phoneNumber?: string | undefined;
|
|
262
220
|
} | undefined;
|
|
263
221
|
credentialsId?: string | undefined;
|
|
264
222
|
currency?: string | undefined;
|
|
265
223
|
amount?: string | undefined;
|
|
266
|
-
retryMessageContent?: string | undefined;
|
|
267
224
|
} | undefined;
|
|
225
|
+
outgoingEdgeId?: string | undefined;
|
|
268
226
|
} | {
|
|
227
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.PHONE;
|
|
269
228
|
id: string;
|
|
270
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PHONE;
|
|
271
|
-
outgoingEdgeId?: string | undefined;
|
|
272
229
|
options?: {
|
|
273
230
|
variableId?: string | undefined;
|
|
231
|
+
retryMessageContent?: string | undefined;
|
|
274
232
|
labels?: {
|
|
275
|
-
placeholder?: string | undefined;
|
|
276
233
|
button?: string | undefined;
|
|
234
|
+
placeholder?: string | undefined;
|
|
277
235
|
} | undefined;
|
|
278
|
-
retryMessageContent?: string | undefined;
|
|
279
236
|
defaultCountryCode?: string | undefined;
|
|
280
237
|
} | undefined;
|
|
238
|
+
outgoingEdgeId?: string | undefined;
|
|
281
239
|
} | {
|
|
240
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.RATING;
|
|
282
241
|
id: string;
|
|
283
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.RATING;
|
|
284
|
-
outgoingEdgeId?: string | undefined;
|
|
285
242
|
options?: {
|
|
286
|
-
variableId?: string | undefined;
|
|
287
|
-
buttonType?: "Icons" | "Numbers" | undefined;
|
|
288
243
|
length?: number | undefined;
|
|
289
|
-
|
|
244
|
+
variableId?: string | undefined;
|
|
290
245
|
labels?: {
|
|
246
|
+
button?: string | undefined;
|
|
291
247
|
left?: string | undefined;
|
|
292
248
|
right?: string | undefined;
|
|
293
|
-
button?: string | undefined;
|
|
294
249
|
} | undefined;
|
|
250
|
+
buttonType?: "Icons" | "Numbers" | undefined;
|
|
251
|
+
startsAt?: number | `{{${string}}}` | undefined;
|
|
295
252
|
customIcon?: {
|
|
296
253
|
isEnabled?: boolean | undefined;
|
|
297
254
|
svg?: string | undefined;
|
|
298
255
|
} | undefined;
|
|
299
256
|
isOneClickSubmitEnabled?: boolean | undefined;
|
|
257
|
+
whatsappMessage?: string | undefined;
|
|
300
258
|
} | undefined;
|
|
259
|
+
outgoingEdgeId?: string | undefined;
|
|
301
260
|
} | {
|
|
261
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.URL;
|
|
302
262
|
id: string;
|
|
303
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.URL;
|
|
304
|
-
outgoingEdgeId?: string | undefined;
|
|
305
263
|
options?: {
|
|
306
264
|
variableId?: string | undefined;
|
|
265
|
+
retryMessageContent?: string | undefined;
|
|
307
266
|
labels?: {
|
|
308
|
-
placeholder?: string | undefined;
|
|
309
267
|
button?: string | undefined;
|
|
310
|
-
|
|
311
|
-
retryMessageContent?: string | undefined;
|
|
312
|
-
} | undefined;
|
|
313
|
-
} | {
|
|
314
|
-
id: string;
|
|
315
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PICTURE_CHOICE;
|
|
316
|
-
items: {
|
|
317
|
-
id: string;
|
|
318
|
-
outgoingEdgeId?: string | undefined;
|
|
319
|
-
blockId?: string | undefined;
|
|
320
|
-
pictureSrc?: string | undefined;
|
|
321
|
-
title?: string | undefined;
|
|
322
|
-
description?: string | undefined;
|
|
323
|
-
displayCondition?: {
|
|
324
|
-
isEnabled?: boolean | undefined;
|
|
325
|
-
condition?: {
|
|
326
|
-
logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
|
|
327
|
-
comparisons?: {
|
|
328
|
-
id: string;
|
|
329
|
-
variableId?: string | undefined;
|
|
330
|
-
comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
|
|
331
|
-
value?: string | undefined;
|
|
332
|
-
}[] | undefined;
|
|
333
|
-
} | undefined;
|
|
334
|
-
} | undefined;
|
|
335
|
-
}[];
|
|
336
|
-
outgoingEdgeId?: string | undefined;
|
|
337
|
-
options?: {
|
|
338
|
-
variableId?: string | undefined;
|
|
339
|
-
isMultipleChoice?: boolean | undefined;
|
|
340
|
-
isSearchable?: boolean | undefined;
|
|
341
|
-
buttonLabel?: string | undefined;
|
|
342
|
-
searchInputPlaceholder?: string | undefined;
|
|
343
|
-
dynamicItems?: {
|
|
344
|
-
isEnabled?: boolean | undefined;
|
|
345
|
-
titlesVariableId?: string | undefined;
|
|
346
|
-
descriptionsVariableId?: string | undefined;
|
|
347
|
-
pictureSrcsVariableId?: string | undefined;
|
|
268
|
+
placeholder?: string | undefined;
|
|
348
269
|
} | undefined;
|
|
349
270
|
} | 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
271
|
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
272
|
}) & {
|
|
387
273
|
prefilledValue?: string | undefined;
|
|
388
274
|
runtimeOptions?: {
|
|
@@ -391,6 +277,17 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
391
277
|
publicKey: string;
|
|
392
278
|
} | undefined;
|
|
393
279
|
}) | undefined;
|
|
280
|
+
progress?: number | undefined;
|
|
281
|
+
logs?: {
|
|
282
|
+
status: string;
|
|
283
|
+
description: string;
|
|
284
|
+
details?: unknown;
|
|
285
|
+
}[] | undefined;
|
|
286
|
+
dynamicTheme?: {
|
|
287
|
+
hostAvatarUrl?: string | undefined;
|
|
288
|
+
guestAvatarUrl?: string | undefined;
|
|
289
|
+
} | undefined;
|
|
290
|
+
lastMessageNewFormat?: string | undefined;
|
|
394
291
|
clientSideActions?: ({
|
|
395
292
|
type: "scriptToExecute";
|
|
396
293
|
scriptToExecute: {
|
|
@@ -425,18 +322,6 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
425
322
|
};
|
|
426
323
|
lastBubbleBlockId?: string | undefined;
|
|
427
324
|
expectsDedicatedReply?: boolean | undefined;
|
|
428
|
-
} | {
|
|
429
|
-
type: "googleAnalytics";
|
|
430
|
-
googleAnalytics: {
|
|
431
|
-
trackingId?: string | undefined;
|
|
432
|
-
category?: string | undefined;
|
|
433
|
-
action?: string | undefined;
|
|
434
|
-
label?: string | undefined;
|
|
435
|
-
value?: number | `{{${string}}}` | undefined;
|
|
436
|
-
sendTo?: string | undefined;
|
|
437
|
-
};
|
|
438
|
-
lastBubbleBlockId?: string | undefined;
|
|
439
|
-
expectsDedicatedReply?: boolean | undefined;
|
|
440
325
|
} | {
|
|
441
326
|
type: "wait";
|
|
442
327
|
wait: {
|
|
@@ -462,8 +347,8 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
462
347
|
type: "streamOpenAiChatCompletion";
|
|
463
348
|
streamOpenAiChatCompletion: {
|
|
464
349
|
messages: {
|
|
465
|
-
content
|
|
466
|
-
role
|
|
350
|
+
content: string;
|
|
351
|
+
role: "user" | "system" | "assistant";
|
|
467
352
|
}[];
|
|
468
353
|
};
|
|
469
354
|
lastBubbleBlockId?: string | undefined;
|
|
@@ -472,19 +357,18 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
472
357
|
type: "webhookToExecute";
|
|
473
358
|
webhookToExecute: {
|
|
474
359
|
url: string;
|
|
475
|
-
headers?: Record<string, string> | undefined;
|
|
476
360
|
body?: unknown;
|
|
477
|
-
|
|
361
|
+
headers?: Record<string, string> | undefined;
|
|
362
|
+
method?: import("@quickbot.io/schemas/features/blocks/integrations/webhook/constants").HttpMethod | undefined;
|
|
478
363
|
};
|
|
479
364
|
lastBubbleBlockId?: string | undefined;
|
|
480
365
|
expectsDedicatedReply?: boolean | undefined;
|
|
481
366
|
} | {
|
|
482
367
|
type: "startPropsToInject";
|
|
483
368
|
startPropsToInject: {
|
|
484
|
-
|
|
369
|
+
customHeadCode?: string | undefined;
|
|
485
370
|
pixelIds?: string[] | undefined;
|
|
486
371
|
gtmId?: string | undefined;
|
|
487
|
-
customHeadCode?: string | undefined;
|
|
488
372
|
};
|
|
489
373
|
lastBubbleBlockId?: string | undefined;
|
|
490
374
|
expectsDedicatedReply?: boolean | undefined;
|
|
@@ -493,18 +377,18 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
493
377
|
pixel: {
|
|
494
378
|
params?: {
|
|
495
379
|
id: string;
|
|
496
|
-
key?: string | undefined;
|
|
497
380
|
value?: any;
|
|
381
|
+
key?: string | undefined;
|
|
498
382
|
}[] | undefined;
|
|
383
|
+
eventType?: undefined;
|
|
499
384
|
pixelId?: string | undefined;
|
|
500
385
|
isInitSkip?: boolean | undefined;
|
|
501
|
-
eventType?: undefined;
|
|
502
386
|
} | {
|
|
503
387
|
eventType: "Lead" | "Contact" | "CompleteRegistration" | "Schedule" | "SubmitApplication" | "ViewContent" | "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Purchase" | "Search" | "StartTrial" | "Subscribe";
|
|
504
388
|
params?: {
|
|
505
389
|
id: string;
|
|
506
|
-
key?: string | undefined;
|
|
507
390
|
value?: any;
|
|
391
|
+
key?: string | undefined;
|
|
508
392
|
}[] | undefined;
|
|
509
393
|
pixelId?: string | undefined;
|
|
510
394
|
isInitSkip?: boolean | undefined;
|
|
@@ -512,12 +396,12 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
512
396
|
eventType: "Custom";
|
|
513
397
|
params?: {
|
|
514
398
|
id: string;
|
|
515
|
-
key?: string | undefined;
|
|
516
399
|
value?: any;
|
|
400
|
+
key?: string | undefined;
|
|
517
401
|
}[] | undefined;
|
|
402
|
+
name?: string | undefined;
|
|
518
403
|
pixelId?: string | undefined;
|
|
519
404
|
isInitSkip?: boolean | undefined;
|
|
520
|
-
name?: string | undefined;
|
|
521
405
|
};
|
|
522
406
|
lastBubbleBlockId?: string | undefined;
|
|
523
407
|
expectsDedicatedReply?: boolean | undefined;
|
|
@@ -535,16 +419,6 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
535
419
|
lastBubbleBlockId?: string | undefined;
|
|
536
420
|
expectsDedicatedReply?: boolean | undefined;
|
|
537
421
|
})[] | undefined;
|
|
538
|
-
logs?: {
|
|
539
|
-
status: string;
|
|
540
|
-
description: string;
|
|
541
|
-
details?: unknown;
|
|
542
|
-
}[] | undefined;
|
|
543
|
-
dynamicTheme?: {
|
|
544
|
-
hostAvatarUrl?: string | undefined;
|
|
545
|
-
guestAvatarUrl?: string | undefined;
|
|
546
|
-
} | undefined;
|
|
547
|
-
progress?: number | undefined;
|
|
548
422
|
};
|
|
549
423
|
error?: undefined;
|
|
550
424
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"continueChatQuery.d.ts","sourceRoot":"","sources":["../../src/queries/continueChatQuery.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwB,OAAO,EAAE,MAAM,
|
|
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,sDAK3B;IACD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE;QAChB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;CACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saveClientLogsQuery.d.ts","sourceRoot":"","sources":["../../src/queries/saveClientLogsQuery.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
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"}
|