@urbiport/js 0.0.12 → 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 +0 -0
- package/dist/components/Bot.d.ts +7 -3
- package/dist/components/Bot.d.ts.map +1 -1
- package/dist/components/{SubmitButton.d.ts → ButtonSubmit.d.ts} +2 -2
- package/dist/components/{SubmitButton.d.ts.map → ButtonSubmit.d.ts.map} +1 -1
- package/dist/components/{InputChatBlockFooter.d.ts → ChatInputFooter.d.ts} +4 -4
- package/dist/components/ChatInputFooter.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationContainer.d.ts +6 -2
- package/dist/components/ConversationContainer/ConversationContainer.d.ts.map +1 -1
- package/dist/components/ConversationContainer/ConversationContainerBody.d.ts +4 -0
- package/dist/components/ConversationContainer/ConversationContainerBody.d.ts.map +1 -1
- package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts +1 -2
- package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts.map +1 -1
- package/dist/components/ConversationContainer/{ChatChunk.d.ts → ConversationMessageChunk.d.ts} +4 -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 +2 -2
- package/dist/components/ConversationContainer/helpers.d.ts.map +1 -1
- package/dist/components/InputAnswerContext.d.ts +9 -4
- package/dist/components/InputAnswerContext.d.ts.map +1 -1
- package/dist/components/InputFormLayout.d.ts +2 -0
- package/dist/components/InputFormLayout.d.ts.map +1 -1
- package/dist/components/Spinner.d.ts.map +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/{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/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -1
- package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -1
- package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -1
- package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -1
- package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -1
- package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +3 -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.map +1 -1
- package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +2 -0
- package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +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.map +1 -1
- package/dist/features/blocks/inputs/number/utils/numberInputHelper.d.ts.map +1 -0
- package/dist/features/blocks/inputs/payment/utils/paymentInProgressStorage.d.ts.map +1 -0
- package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +2 -0
- package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +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 +2 -0
- package/dist/features/blocks/inputs/text/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +2 -0
- package/dist/features/blocks/inputs/url/components/UrlInput.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/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -1
- package/dist/queries/continueChatQuery.d.ts +67 -104
- package/dist/queries/continueChatQuery.d.ts.map +1 -1
- package/dist/queries/startChatQuery.d.ts +153 -180
- package/dist/queries/startChatQuery.d.ts.map +1 -1
- package/dist/utils/executeClientSideActions.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.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 +153 -180
- package/dist/utils/storage.d.ts.map +1 -1
- package/dist/web.js +30 -8
- package/package.json +8 -3
- 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/ChatChunkFooter.d.ts +0 -20
- package/dist/components/ConversationContainer/ChatChunkFooter.d.ts.map +0 -1
- package/dist/components/ConversationContainer/InputAnswerContext.d.ts +0 -13
- package/dist/components/ConversationContainer/InputAnswerContext.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 +0 -18
- package/dist/components/InputChatBlock.d.ts.map +0 -1
- package/dist/components/InputChatBlockFooter copy.d.ts +0 -17
- package/dist/components/InputChatBlockFooter copy.d.ts.map +0 -1
- package/dist/components/InputChatBlockFooter.d.ts.map +0 -1
- package/dist/components/InputChatBlockFooterShow.d.ts +0 -13
- package/dist/components/InputChatBlockFooterShow.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 +0 -9
- package/dist/components/SendButton.d.ts.map +0 -1
- package/dist/components/Submit.d.ts +0 -9
- package/dist/components/Submit.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/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/constants/conversation.d.ts +0 -4
- package/dist/constants/conversation.d.ts.map +0 -1
- package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +0 -10
- 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 -11
- 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 copy.d.ts +0 -11
- package/dist/features/blocks/inputs/textInput/components/TextInput copy.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 +0 -2
- package/dist/features/blocks/inputs/textInput/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/openai/streamChat.d.ts +0 -17
- 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/tsconfig.build.json +0 -23
- /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/payment/{helpers → utils}/paymentInProgressStorage.d.ts +0 -0
- /package/dist/features/blocks/inputs/{textInput → text}/components/VolumeProcessor.d.ts +0 -0
package/dist/utils/storage.d.ts
CHANGED
|
@@ -25,15 +25,15 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
25
25
|
} | {
|
|
26
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("@quickbot.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
39
|
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.AUDIO;
|
|
@@ -44,49 +44,26 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
44
44
|
} | {
|
|
45
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
|
-
|
|
54
|
-
};
|
|
55
|
-
} | {
|
|
56
|
-
type: "custom-embed";
|
|
57
|
-
content: {
|
|
58
|
-
initFunction: {
|
|
54
|
+
initFunction?: {
|
|
59
55
|
content: string;
|
|
60
|
-
args: Record<string,
|
|
61
|
-
};
|
|
62
|
-
url?: string | undefined;
|
|
56
|
+
args: Record<string, any>;
|
|
57
|
+
} | undefined;
|
|
63
58
|
waitForEventFunction?: {
|
|
64
59
|
content: string;
|
|
65
|
-
args: Record<string,
|
|
60
|
+
args: Record<string, any>;
|
|
66
61
|
} | undefined;
|
|
67
62
|
};
|
|
68
63
|
}))[];
|
|
69
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?: string | 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;
|
|
@@ -101,13 +78,31 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
101
78
|
logicalOperator: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator;
|
|
102
79
|
comparisons: {
|
|
103
80
|
id: string;
|
|
104
|
-
comparisonOperator?: import("@quickbot.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;
|
|
109
86
|
flowIds?: Record<string, string> | undefined;
|
|
110
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;
|
|
105
|
+
} | undefined;
|
|
111
106
|
publicShare?: {
|
|
112
107
|
isEnabled?: boolean | undefined;
|
|
113
108
|
} | undefined;
|
|
@@ -116,144 +111,155 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
116
111
|
} | undefined;
|
|
117
112
|
};
|
|
118
113
|
theme: {
|
|
119
|
-
general?: {
|
|
120
|
-
font?: string | {
|
|
121
|
-
type: "Google";
|
|
122
|
-
family?: string | undefined;
|
|
123
|
-
} | {
|
|
124
|
-
type: "Custom";
|
|
125
|
-
family?: string | undefined;
|
|
126
|
-
css?: string | undefined;
|
|
127
|
-
url?: string | undefined;
|
|
128
|
-
} | undefined;
|
|
129
|
-
background?: {
|
|
130
|
-
type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
|
|
131
|
-
content?: string | undefined;
|
|
132
|
-
} | undefined;
|
|
133
|
-
progressBar?: {
|
|
134
|
-
isEnabled?: boolean | undefined;
|
|
135
|
-
color?: string | undefined;
|
|
136
|
-
backgroundColor?: string | undefined;
|
|
137
|
-
placement?: string | undefined;
|
|
138
|
-
thickness?: number | undefined;
|
|
139
|
-
position?: string | undefined;
|
|
140
|
-
} | undefined;
|
|
141
|
-
} | undefined;
|
|
142
114
|
chat?: {
|
|
143
|
-
|
|
144
|
-
maxWidth?: string | undefined;
|
|
145
|
-
maxHeight?: string | undefined;
|
|
146
|
-
backgroundColor?: string | undefined;
|
|
115
|
+
inputs?: {
|
|
147
116
|
color?: string | undefined;
|
|
148
|
-
blur?: number | undefined;
|
|
149
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;
|
|
150
124
|
shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
151
125
|
border?: {
|
|
152
|
-
thickness?: number | undefined;
|
|
153
126
|
color?: string | undefined;
|
|
127
|
+
opacity?: number | undefined;
|
|
128
|
+
thickness?: number | undefined;
|
|
154
129
|
roundeness?: string | undefined;
|
|
155
130
|
customRoundeness?: number | undefined;
|
|
156
|
-
opacity?: number | undefined;
|
|
157
131
|
} | undefined;
|
|
132
|
+
placeholderColor?: string | undefined;
|
|
158
133
|
} | undefined;
|
|
159
|
-
|
|
160
|
-
isEnabled?: boolean | undefined;
|
|
161
|
-
url?: string | undefined;
|
|
162
|
-
} | undefined;
|
|
163
|
-
guestAvatar?: {
|
|
164
|
-
isEnabled?: boolean | undefined;
|
|
165
|
-
url?: string | undefined;
|
|
166
|
-
} | undefined;
|
|
167
|
-
hostBubbles?: {
|
|
168
|
-
backgroundColor?: string | undefined;
|
|
134
|
+
buttons?: {
|
|
169
135
|
color?: string | undefined;
|
|
170
|
-
blur?: number | undefined;
|
|
171
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;
|
|
172
143
|
shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
173
144
|
border?: {
|
|
174
|
-
thickness?: number | undefined;
|
|
175
145
|
color?: string | undefined;
|
|
146
|
+
opacity?: number | undefined;
|
|
147
|
+
thickness?: number | undefined;
|
|
176
148
|
roundeness?: string | undefined;
|
|
177
149
|
customRoundeness?: number | undefined;
|
|
178
|
-
opacity?: number | undefined;
|
|
179
150
|
} | undefined;
|
|
180
151
|
} | undefined;
|
|
181
|
-
|
|
182
|
-
backgroundColor?: string | undefined;
|
|
152
|
+
container?: {
|
|
183
153
|
color?: string | undefined;
|
|
184
|
-
blur?: number | undefined;
|
|
185
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;
|
|
186
162
|
shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
187
163
|
border?: {
|
|
188
|
-
thickness?: number | undefined;
|
|
189
164
|
color?: string | undefined;
|
|
165
|
+
opacity?: number | undefined;
|
|
166
|
+
thickness?: number | undefined;
|
|
190
167
|
roundeness?: string | undefined;
|
|
191
168
|
customRoundeness?: number | undefined;
|
|
192
|
-
|
|
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;
|
|
193
179
|
} | undefined;
|
|
194
180
|
} | undefined;
|
|
195
|
-
|
|
196
|
-
|
|
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?: {
|
|
197
190
|
color?: string | undefined;
|
|
198
|
-
blur?: number | undefined;
|
|
199
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;
|
|
200
198
|
shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
201
199
|
border?: {
|
|
202
|
-
thickness?: number | undefined;
|
|
203
200
|
color?: string | undefined;
|
|
201
|
+
opacity?: number | undefined;
|
|
202
|
+
thickness?: number | undefined;
|
|
204
203
|
roundeness?: string | undefined;
|
|
205
204
|
customRoundeness?: number | undefined;
|
|
206
|
-
opacity?: number | undefined;
|
|
207
205
|
} | undefined;
|
|
208
206
|
} | undefined;
|
|
209
|
-
|
|
207
|
+
guestBubbles?: {
|
|
210
208
|
color?: string | undefined;
|
|
211
209
|
opacity?: number | undefined;
|
|
212
210
|
backgroundColor?: string | undefined;
|
|
211
|
+
background?: {
|
|
212
|
+
type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
|
|
213
|
+
content?: string | undefined;
|
|
214
|
+
} | undefined;
|
|
213
215
|
blur?: number | undefined;
|
|
214
216
|
shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
215
217
|
border?: {
|
|
216
|
-
thickness?: number | undefined;
|
|
217
218
|
color?: string | undefined;
|
|
219
|
+
opacity?: number | undefined;
|
|
220
|
+
thickness?: number | undefined;
|
|
218
221
|
roundeness?: string | undefined;
|
|
219
222
|
customRoundeness?: number | undefined;
|
|
220
|
-
opacity?: number | undefined;
|
|
221
223
|
} | undefined;
|
|
222
|
-
placeholderColor?: string | undefined;
|
|
223
224
|
} | undefined;
|
|
224
225
|
roundness?: "medium" | "large" | "none" | undefined;
|
|
225
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;
|
|
226
235
|
customCss?: string | undefined;
|
|
227
236
|
};
|
|
228
237
|
publishedAt?: Date | undefined;
|
|
229
238
|
};
|
|
230
239
|
sessionId: string;
|
|
231
|
-
resultId?: string | undefined;
|
|
232
|
-
lastMessageNewFormat?: string | undefined;
|
|
233
240
|
input?: (({
|
|
234
241
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
|
|
235
242
|
id: string;
|
|
236
243
|
items: {
|
|
237
244
|
id: string;
|
|
238
245
|
content: string;
|
|
246
|
+
value?: string | undefined;
|
|
239
247
|
outgoingEdgeId?: string | undefined;
|
|
240
248
|
pictureSrc?: string | undefined;
|
|
241
249
|
description?: string | undefined;
|
|
242
|
-
value?: string | undefined;
|
|
243
250
|
displayCondition?: {
|
|
244
251
|
isEnabled?: boolean | undefined;
|
|
245
252
|
condition?: {
|
|
246
253
|
logicalOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
|
|
247
254
|
comparisons?: {
|
|
248
255
|
id: string;
|
|
256
|
+
value?: string | undefined;
|
|
249
257
|
variableId?: string | undefined;
|
|
250
258
|
comparisonOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
|
|
251
|
-
value?: string | undefined;
|
|
252
259
|
}[] | undefined;
|
|
253
260
|
} | undefined;
|
|
254
261
|
} | undefined;
|
|
255
262
|
}[];
|
|
256
|
-
outgoingEdgeId?: string | undefined;
|
|
257
263
|
options?: {
|
|
258
264
|
variableId?: string | undefined;
|
|
259
265
|
isMultipleChoice?: boolean | undefined;
|
|
@@ -268,12 +274,13 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
268
274
|
whatsappFlowQuestionLabel?: string | undefined;
|
|
269
275
|
retryMessageContent?: string | undefined;
|
|
270
276
|
} | undefined;
|
|
277
|
+
outgoingEdgeId?: string | undefined;
|
|
271
278
|
} | {
|
|
272
279
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.DATE;
|
|
273
280
|
id: string;
|
|
274
|
-
outgoingEdgeId?: string | undefined;
|
|
275
281
|
options?: {
|
|
276
282
|
variableId?: string | undefined;
|
|
283
|
+
retryMessageContent?: string | undefined;
|
|
277
284
|
labels?: {
|
|
278
285
|
button?: string | undefined;
|
|
279
286
|
from?: string | undefined;
|
|
@@ -284,41 +291,18 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
284
291
|
format?: string | undefined;
|
|
285
292
|
min?: string | undefined;
|
|
286
293
|
max?: string | undefined;
|
|
287
|
-
retryMessageContent?: string | undefined;
|
|
288
294
|
} | undefined;
|
|
289
|
-
} | {
|
|
290
|
-
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
|
|
291
|
-
id: string;
|
|
292
295
|
outgoingEdgeId?: string | undefined;
|
|
293
|
-
options?: {
|
|
294
|
-
variableId?: string | undefined;
|
|
295
|
-
isRequired?: boolean | undefined;
|
|
296
|
-
isMultipleAllowed?: boolean | undefined;
|
|
297
|
-
labels?: {
|
|
298
|
-
placeholder?: string | undefined;
|
|
299
|
-
button?: string | undefined;
|
|
300
|
-
clear?: string | undefined;
|
|
301
|
-
skip?: string | undefined;
|
|
302
|
-
success?: {
|
|
303
|
-
single?: string | undefined;
|
|
304
|
-
multiple?: string | undefined;
|
|
305
|
-
} | undefined;
|
|
306
|
-
} | undefined;
|
|
307
|
-
sizeLimit?: number | undefined;
|
|
308
|
-
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
309
|
-
retryMessageContent?: string | undefined;
|
|
310
|
-
} | undefined;
|
|
311
296
|
} | {
|
|
312
297
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
|
|
313
298
|
id: string;
|
|
314
|
-
outgoingEdgeId?: string | undefined;
|
|
315
299
|
options?: {
|
|
316
300
|
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
317
301
|
variableId?: string | undefined;
|
|
318
302
|
retryMessageContent?: string | undefined;
|
|
319
303
|
labels?: {
|
|
320
|
-
placeholder?: string | undefined;
|
|
321
304
|
button?: string | undefined;
|
|
305
|
+
placeholder?: string | undefined;
|
|
322
306
|
clear?: string | undefined;
|
|
323
307
|
skip?: string | undefined;
|
|
324
308
|
success?: {
|
|
@@ -329,71 +313,67 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
329
313
|
isRequired?: boolean | undefined;
|
|
330
314
|
isMultipleAllowed?: boolean | undefined;
|
|
331
315
|
} | undefined;
|
|
316
|
+
outgoingEdgeId?: string | undefined;
|
|
332
317
|
} | {
|
|
333
318
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.TEXT;
|
|
334
319
|
id: string;
|
|
335
|
-
outgoingEdgeId?: string | undefined;
|
|
336
320
|
options?: {
|
|
337
321
|
variableId?: string | undefined;
|
|
338
322
|
labels?: {
|
|
339
|
-
placeholder?: string | undefined;
|
|
340
323
|
button?: string | undefined;
|
|
324
|
+
placeholder?: string | undefined;
|
|
341
325
|
} | undefined;
|
|
342
|
-
isLong?: boolean | undefined;
|
|
343
326
|
audioClip?: {
|
|
327
|
+
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
344
328
|
isEnabled?: boolean | undefined;
|
|
345
329
|
saveVariableId?: string | undefined;
|
|
346
|
-
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
347
330
|
} | undefined;
|
|
348
331
|
attachments?: {
|
|
332
|
+
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
349
333
|
isEnabled?: boolean | undefined;
|
|
350
334
|
saveVariableId?: string | undefined;
|
|
351
|
-
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
352
335
|
} | undefined;
|
|
353
336
|
} | undefined;
|
|
337
|
+
outgoingEdgeId?: string | undefined;
|
|
354
338
|
} | {
|
|
355
339
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.EMAIL;
|
|
356
340
|
id: string;
|
|
357
|
-
outgoingEdgeId?: string | undefined;
|
|
358
341
|
options?: {
|
|
359
342
|
variableId?: string | undefined;
|
|
343
|
+
retryMessageContent?: string | undefined;
|
|
360
344
|
labels?: {
|
|
361
|
-
placeholder?: string | undefined;
|
|
362
345
|
button?: string | undefined;
|
|
346
|
+
placeholder?: string | undefined;
|
|
363
347
|
} | undefined;
|
|
364
|
-
retryMessageContent?: string | undefined;
|
|
365
348
|
} | undefined;
|
|
349
|
+
outgoingEdgeId?: string | undefined;
|
|
366
350
|
} | {
|
|
367
351
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.NUMBER;
|
|
368
352
|
id: string;
|
|
369
|
-
outgoingEdgeId?: string | undefined;
|
|
370
353
|
options?: {
|
|
371
354
|
variableId?: string | undefined;
|
|
355
|
+
retryMessageContent?: string | undefined;
|
|
372
356
|
labels?: {
|
|
373
|
-
placeholder?: string | undefined;
|
|
374
357
|
button?: string | undefined;
|
|
358
|
+
placeholder?: string | undefined;
|
|
375
359
|
} | undefined;
|
|
376
360
|
min?: number | `{{${string}}}` | undefined;
|
|
377
361
|
max?: number | `{{${string}}}` | undefined;
|
|
378
362
|
step?: number | `{{${string}}}` | undefined;
|
|
379
|
-
retryMessageContent?: string | undefined;
|
|
380
363
|
} | undefined;
|
|
364
|
+
outgoingEdgeId?: string | undefined;
|
|
381
365
|
} | {
|
|
382
366
|
type: import("@quickbot.io/schemas/features/blocks/integrations/constants").IntegrationBlockType.PAYMENT;
|
|
383
367
|
id: string;
|
|
384
|
-
outgoingEdgeId?: string | undefined;
|
|
385
368
|
options?: {
|
|
386
369
|
variableId?: string | undefined;
|
|
387
|
-
|
|
370
|
+
retryMessageContent?: string | undefined;
|
|
388
371
|
labels?: {
|
|
389
372
|
button?: string | undefined;
|
|
390
373
|
success?: string | undefined;
|
|
391
374
|
} | undefined;
|
|
375
|
+
provider?: import("@quickbot.io/schemas/features/blocks/inputs/payment/constants").PaymentProvider | undefined;
|
|
392
376
|
additionalInformation?: {
|
|
393
|
-
description?: string | undefined;
|
|
394
|
-
name?: string | undefined;
|
|
395
|
-
email?: string | undefined;
|
|
396
|
-
phoneNumber?: string | undefined;
|
|
397
377
|
address?: {
|
|
398
378
|
country?: string | undefined;
|
|
399
379
|
line1?: string | undefined;
|
|
@@ -402,39 +382,42 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
402
382
|
city?: string | undefined;
|
|
403
383
|
postalCode?: string | undefined;
|
|
404
384
|
} | undefined;
|
|
385
|
+
name?: string | undefined;
|
|
386
|
+
description?: string | undefined;
|
|
387
|
+
email?: string | undefined;
|
|
388
|
+
phoneNumber?: string | undefined;
|
|
405
389
|
} | undefined;
|
|
406
390
|
credentialsId?: string | undefined;
|
|
407
391
|
currency?: string | undefined;
|
|
408
392
|
amount?: string | undefined;
|
|
409
|
-
retryMessageContent?: string | undefined;
|
|
410
393
|
} | undefined;
|
|
394
|
+
outgoingEdgeId?: string | undefined;
|
|
411
395
|
} | {
|
|
412
396
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.PHONE;
|
|
413
397
|
id: string;
|
|
414
|
-
outgoingEdgeId?: string | undefined;
|
|
415
398
|
options?: {
|
|
416
399
|
variableId?: string | undefined;
|
|
400
|
+
retryMessageContent?: string | undefined;
|
|
417
401
|
labels?: {
|
|
418
|
-
placeholder?: string | undefined;
|
|
419
402
|
button?: string | undefined;
|
|
403
|
+
placeholder?: string | undefined;
|
|
420
404
|
} | undefined;
|
|
421
|
-
retryMessageContent?: string | undefined;
|
|
422
405
|
defaultCountryCode?: string | undefined;
|
|
423
406
|
} | undefined;
|
|
407
|
+
outgoingEdgeId?: string | undefined;
|
|
424
408
|
} | {
|
|
425
409
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.RATING;
|
|
426
410
|
id: string;
|
|
427
|
-
outgoingEdgeId?: string | undefined;
|
|
428
411
|
options?: {
|
|
429
|
-
variableId?: string | undefined;
|
|
430
|
-
buttonType?: "Icons" | "Numbers" | undefined;
|
|
431
412
|
length?: number | undefined;
|
|
432
|
-
|
|
413
|
+
variableId?: string | undefined;
|
|
433
414
|
labels?: {
|
|
415
|
+
button?: string | undefined;
|
|
434
416
|
left?: string | undefined;
|
|
435
417
|
right?: string | undefined;
|
|
436
|
-
button?: string | undefined;
|
|
437
418
|
} | undefined;
|
|
419
|
+
buttonType?: "Icons" | "Numbers" | undefined;
|
|
420
|
+
startsAt?: number | `{{${string}}}` | undefined;
|
|
438
421
|
customIcon?: {
|
|
439
422
|
isEnabled?: boolean | undefined;
|
|
440
423
|
svg?: string | undefined;
|
|
@@ -442,18 +425,19 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
442
425
|
isOneClickSubmitEnabled?: boolean | undefined;
|
|
443
426
|
whatsappMessage?: string | undefined;
|
|
444
427
|
} | undefined;
|
|
428
|
+
outgoingEdgeId?: string | undefined;
|
|
445
429
|
} | {
|
|
446
430
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.URL;
|
|
447
431
|
id: string;
|
|
448
|
-
outgoingEdgeId?: string | undefined;
|
|
449
432
|
options?: {
|
|
450
433
|
variableId?: string | undefined;
|
|
434
|
+
retryMessageContent?: string | undefined;
|
|
451
435
|
labels?: {
|
|
452
|
-
placeholder?: string | undefined;
|
|
453
436
|
button?: string | undefined;
|
|
437
|
+
placeholder?: string | undefined;
|
|
454
438
|
} | undefined;
|
|
455
|
-
retryMessageContent?: string | undefined;
|
|
456
439
|
} | undefined;
|
|
440
|
+
outgoingEdgeId?: string | undefined;
|
|
457
441
|
}) & {
|
|
458
442
|
prefilledValue?: string | undefined;
|
|
459
443
|
runtimeOptions?: {
|
|
@@ -462,6 +446,18 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
462
446
|
publicKey: string;
|
|
463
447
|
} | undefined;
|
|
464
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;
|
|
465
461
|
clientSideActions?: ({
|
|
466
462
|
type: "scriptToExecute";
|
|
467
463
|
scriptToExecute: {
|
|
@@ -496,18 +492,6 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
496
492
|
};
|
|
497
493
|
lastBubbleBlockId?: string | undefined;
|
|
498
494
|
expectsDedicatedReply?: boolean | undefined;
|
|
499
|
-
} | {
|
|
500
|
-
type: "googleAnalytics";
|
|
501
|
-
googleAnalytics: {
|
|
502
|
-
trackingId?: string | undefined;
|
|
503
|
-
category?: string | undefined;
|
|
504
|
-
action?: string | undefined;
|
|
505
|
-
label?: string | undefined;
|
|
506
|
-
value?: number | `{{${string}}}` | undefined;
|
|
507
|
-
sendTo?: string | undefined;
|
|
508
|
-
};
|
|
509
|
-
lastBubbleBlockId?: string | undefined;
|
|
510
|
-
expectsDedicatedReply?: boolean | undefined;
|
|
511
495
|
} | {
|
|
512
496
|
type: "wait";
|
|
513
497
|
wait: {
|
|
@@ -543,8 +527,8 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
543
527
|
type: "webhookToExecute";
|
|
544
528
|
webhookToExecute: {
|
|
545
529
|
url: string;
|
|
546
|
-
headers?: Record<string, string> | undefined;
|
|
547
530
|
body?: unknown;
|
|
531
|
+
headers?: Record<string, string> | undefined;
|
|
548
532
|
method?: import("@quickbot.io/schemas/features/blocks/integrations/webhook/constants").HttpMethod | undefined;
|
|
549
533
|
};
|
|
550
534
|
lastBubbleBlockId?: string | undefined;
|
|
@@ -552,10 +536,9 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
552
536
|
} | {
|
|
553
537
|
type: "startPropsToInject";
|
|
554
538
|
startPropsToInject: {
|
|
555
|
-
|
|
539
|
+
customHeadCode?: string | undefined;
|
|
556
540
|
pixelIds?: string[] | undefined;
|
|
557
541
|
gtmId?: string | undefined;
|
|
558
|
-
customHeadCode?: string | undefined;
|
|
559
542
|
};
|
|
560
543
|
lastBubbleBlockId?: string | undefined;
|
|
561
544
|
expectsDedicatedReply?: boolean | undefined;
|
|
@@ -564,18 +547,18 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
564
547
|
pixel: {
|
|
565
548
|
params?: {
|
|
566
549
|
id: string;
|
|
567
|
-
key?: string | undefined;
|
|
568
550
|
value?: any;
|
|
551
|
+
key?: string | undefined;
|
|
569
552
|
}[] | undefined;
|
|
553
|
+
eventType?: undefined;
|
|
570
554
|
pixelId?: string | undefined;
|
|
571
555
|
isInitSkip?: boolean | undefined;
|
|
572
|
-
eventType?: undefined;
|
|
573
556
|
} | {
|
|
574
557
|
eventType: "Lead" | "Contact" | "CompleteRegistration" | "Schedule" | "SubmitApplication" | "ViewContent" | "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Purchase" | "Search" | "StartTrial" | "Subscribe";
|
|
575
558
|
params?: {
|
|
576
559
|
id: string;
|
|
577
|
-
key?: string | undefined;
|
|
578
560
|
value?: any;
|
|
561
|
+
key?: string | undefined;
|
|
579
562
|
}[] | undefined;
|
|
580
563
|
pixelId?: string | undefined;
|
|
581
564
|
isInitSkip?: boolean | undefined;
|
|
@@ -583,12 +566,12 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
583
566
|
eventType: "Custom";
|
|
584
567
|
params?: {
|
|
585
568
|
id: string;
|
|
586
|
-
key?: string | undefined;
|
|
587
569
|
value?: any;
|
|
570
|
+
key?: string | undefined;
|
|
588
571
|
}[] | undefined;
|
|
572
|
+
name?: string | undefined;
|
|
589
573
|
pixelId?: string | undefined;
|
|
590
574
|
isInitSkip?: boolean | undefined;
|
|
591
|
-
name?: string | undefined;
|
|
592
575
|
};
|
|
593
576
|
lastBubbleBlockId?: string | undefined;
|
|
594
577
|
expectsDedicatedReply?: boolean | undefined;
|
|
@@ -606,16 +589,6 @@ export declare const getInitialChatReplyFromStorage: (botId: string | undefined)
|
|
|
606
589
|
lastBubbleBlockId?: string | undefined;
|
|
607
590
|
expectsDedicatedReply?: boolean | undefined;
|
|
608
591
|
})[] | undefined;
|
|
609
|
-
logs?: {
|
|
610
|
-
status: string;
|
|
611
|
-
description: string;
|
|
612
|
-
details?: unknown;
|
|
613
|
-
}[] | undefined;
|
|
614
|
-
dynamicTheme?: {
|
|
615
|
-
hostAvatarUrl?: string | undefined;
|
|
616
|
-
guestAvatarUrl?: string | undefined;
|
|
617
|
-
} | undefined;
|
|
618
|
-
progress?: number | undefined;
|
|
619
592
|
} | undefined;
|
|
620
593
|
export declare const setInitialChatReplyInStorage: (initialChatReply: StartChatResponse, { botId, storage, }: {
|
|
621
594
|
botId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../src/utils/storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAK7E,eAAO,MAAM,8BAA8B,WAAY,MAAM,uBAW5D,CAAA;AAED,eAAO,MAAM,kBAAkB,iBACf,OAAO,GAAG,SAAS,aACzB,MAAM,YAAY,MAAM,SAM/B,CAAA;AAEH,eAAO,MAAM,8BAA8B,UAAW,MAAM,GAAG,SAAS
|
|
1
|
+
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../src/utils/storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAK7E,eAAO,MAAM,8BAA8B,WAAY,MAAM,uBAW5D,CAAA;AAED,eAAO,MAAM,kBAAkB,iBACf,OAAO,GAAG,SAAS,aACzB,MAAM,YAAY,MAAM,SAM/B,CAAA;AAEH,eAAO,MAAM,8BAA8B,UAAW,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAWvE,CAAA;AACD,eAAO,MAAM,4BAA4B,qBACrB,iBAAiB,uBAIhC;IACD,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC9B,SAQF,CAAA;AAED,eAAO,MAAM,0BAA0B,YAMtC,CAAA;AAED,eAAO,MAAM,6BAA6B,YAMzC,CAAA;AAED,eAAO,MAAM,4BAA4B,eAMxC,CAAA;AASD,eAAO,MAAM,8BAA8B,UAAW,MAAM,SAiC3D,CAAA"}
|