@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
|
@@ -37,15 +37,15 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
37
37
|
} | {
|
|
38
38
|
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.VIDEO;
|
|
39
39
|
content: {
|
|
40
|
-
url?: string | undefined;
|
|
41
|
-
id?: string | undefined;
|
|
42
|
-
type?: import("@quickbot.io/schemas/features/blocks/bubbles/video/constants").VideoBubbleContentType | undefined;
|
|
43
40
|
height?: number | `{{${string}}}` | undefined;
|
|
41
|
+
type?: import("@quickbot.io/schemas/features/blocks/bubbles/video/constants").VideoBubbleContentType | undefined;
|
|
42
|
+
id?: string | undefined;
|
|
43
|
+
url?: string | undefined;
|
|
44
|
+
isAutoplayEnabled?: boolean | undefined;
|
|
44
45
|
aspectRatio?: string | undefined;
|
|
45
46
|
maxWidth?: string | undefined;
|
|
46
47
|
queryParamsStr?: string | undefined;
|
|
47
48
|
areControlsDisplayed?: boolean | undefined;
|
|
48
|
-
isAutoplayEnabled?: boolean | undefined;
|
|
49
49
|
};
|
|
50
50
|
} | {
|
|
51
51
|
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.AUDIO;
|
|
@@ -56,49 +56,26 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
56
56
|
} | {
|
|
57
57
|
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.EMBED;
|
|
58
58
|
content: {
|
|
59
|
+
height?: number | undefined;
|
|
59
60
|
url?: string | undefined;
|
|
60
61
|
waitForEvent?: {
|
|
61
|
-
isEnabled?: boolean | undefined;
|
|
62
62
|
name?: string | undefined;
|
|
63
|
+
isEnabled?: boolean | undefined;
|
|
63
64
|
saveDataInVariableId?: string | undefined;
|
|
64
65
|
} | undefined;
|
|
65
|
-
|
|
66
|
-
};
|
|
67
|
-
} | {
|
|
68
|
-
type: "custom-embed";
|
|
69
|
-
content: {
|
|
70
|
-
initFunction: {
|
|
66
|
+
initFunction?: {
|
|
71
67
|
content: string;
|
|
72
|
-
args: Record<string,
|
|
73
|
-
};
|
|
74
|
-
url?: string | undefined;
|
|
68
|
+
args: Record<string, any>;
|
|
69
|
+
} | undefined;
|
|
75
70
|
waitForEventFunction?: {
|
|
76
71
|
content: string;
|
|
77
|
-
args: Record<string,
|
|
72
|
+
args: Record<string, any>;
|
|
78
73
|
} | undefined;
|
|
79
74
|
};
|
|
80
75
|
}))[];
|
|
81
76
|
bot: {
|
|
82
77
|
id: string;
|
|
83
78
|
settings: {
|
|
84
|
-
general?: {
|
|
85
|
-
isBrandingEnabled?: boolean | undefined;
|
|
86
|
-
isTypingEmulationEnabled?: boolean | undefined;
|
|
87
|
-
isInputPrefillEnabled?: boolean | undefined;
|
|
88
|
-
isHideQueryParamsEnabled?: boolean | undefined;
|
|
89
|
-
isNewResultOnRefreshEnabled?: boolean | undefined;
|
|
90
|
-
rememberUser?: {
|
|
91
|
-
isEnabled?: boolean | undefined;
|
|
92
|
-
storage?: string | undefined;
|
|
93
|
-
} | undefined;
|
|
94
|
-
} | undefined;
|
|
95
|
-
typingEmulation?: {
|
|
96
|
-
enabled?: boolean | undefined;
|
|
97
|
-
speed?: number | undefined;
|
|
98
|
-
maxDelay?: number | undefined;
|
|
99
|
-
delayBetweenBubbles?: number | undefined;
|
|
100
|
-
isDisabledOnFirstMessage?: boolean | undefined;
|
|
101
|
-
} | undefined;
|
|
102
79
|
metadata?: {
|
|
103
80
|
title?: string | undefined;
|
|
104
81
|
description?: string | undefined;
|
|
@@ -113,13 +90,31 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
113
90
|
logicalOperator: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator;
|
|
114
91
|
comparisons: {
|
|
115
92
|
id: string;
|
|
116
|
-
comparisonOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
|
|
117
93
|
value?: string | undefined;
|
|
94
|
+
comparisonOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
|
|
118
95
|
}[];
|
|
119
96
|
} | undefined;
|
|
120
97
|
sessionExpiryTimeout?: number | undefined;
|
|
121
98
|
flowIds?: Record<string, string> | undefined;
|
|
122
99
|
} | undefined;
|
|
100
|
+
general?: {
|
|
101
|
+
isBrandingEnabled?: boolean | undefined;
|
|
102
|
+
isTypingEmulationEnabled?: boolean | undefined;
|
|
103
|
+
isInputPrefillEnabled?: boolean | undefined;
|
|
104
|
+
isHideQueryParamsEnabled?: boolean | undefined;
|
|
105
|
+
isNewResultOnRefreshEnabled?: boolean | undefined;
|
|
106
|
+
rememberUser?: {
|
|
107
|
+
isEnabled?: boolean | undefined;
|
|
108
|
+
storage?: string | undefined;
|
|
109
|
+
} | undefined;
|
|
110
|
+
} | undefined;
|
|
111
|
+
typingEmulation?: {
|
|
112
|
+
enabled?: boolean | undefined;
|
|
113
|
+
speed?: number | undefined;
|
|
114
|
+
maxDelay?: number | undefined;
|
|
115
|
+
delayBetweenBubbles?: number | undefined;
|
|
116
|
+
isDisabledOnFirstMessage?: boolean | undefined;
|
|
117
|
+
} | undefined;
|
|
123
118
|
publicShare?: {
|
|
124
119
|
isEnabled?: boolean | undefined;
|
|
125
120
|
} | undefined;
|
|
@@ -128,144 +123,155 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
128
123
|
} | undefined;
|
|
129
124
|
};
|
|
130
125
|
theme: {
|
|
131
|
-
general?: {
|
|
132
|
-
font?: string | {
|
|
133
|
-
type: "Google";
|
|
134
|
-
family?: string | undefined;
|
|
135
|
-
} | {
|
|
136
|
-
type: "Custom";
|
|
137
|
-
family?: string | undefined;
|
|
138
|
-
css?: string | undefined;
|
|
139
|
-
url?: string | undefined;
|
|
140
|
-
} | undefined;
|
|
141
|
-
background?: {
|
|
142
|
-
type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
|
|
143
|
-
content?: string | undefined;
|
|
144
|
-
} | undefined;
|
|
145
|
-
progressBar?: {
|
|
146
|
-
isEnabled?: boolean | undefined;
|
|
147
|
-
color?: string | undefined;
|
|
148
|
-
backgroundColor?: string | undefined;
|
|
149
|
-
placement?: string | undefined;
|
|
150
|
-
thickness?: number | undefined;
|
|
151
|
-
position?: string | undefined;
|
|
152
|
-
} | undefined;
|
|
153
|
-
} | undefined;
|
|
154
126
|
chat?: {
|
|
155
|
-
|
|
156
|
-
maxWidth?: string | undefined;
|
|
157
|
-
maxHeight?: string | undefined;
|
|
158
|
-
backgroundColor?: string | undefined;
|
|
127
|
+
inputs?: {
|
|
159
128
|
color?: string | undefined;
|
|
160
|
-
blur?: number | undefined;
|
|
161
129
|
opacity?: number | undefined;
|
|
130
|
+
backgroundColor?: string | undefined;
|
|
131
|
+
background?: {
|
|
132
|
+
type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
|
|
133
|
+
content?: string | undefined;
|
|
134
|
+
} | undefined;
|
|
135
|
+
blur?: number | undefined;
|
|
162
136
|
shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
163
137
|
border?: {
|
|
164
|
-
thickness?: number | undefined;
|
|
165
138
|
color?: string | undefined;
|
|
139
|
+
opacity?: number | undefined;
|
|
140
|
+
thickness?: number | undefined;
|
|
166
141
|
roundeness?: string | undefined;
|
|
167
142
|
customRoundeness?: number | undefined;
|
|
168
|
-
opacity?: number | undefined;
|
|
169
143
|
} | undefined;
|
|
144
|
+
placeholderColor?: string | undefined;
|
|
170
145
|
} | undefined;
|
|
171
|
-
|
|
172
|
-
isEnabled?: boolean | undefined;
|
|
173
|
-
url?: string | undefined;
|
|
174
|
-
} | undefined;
|
|
175
|
-
guestAvatar?: {
|
|
176
|
-
isEnabled?: boolean | undefined;
|
|
177
|
-
url?: string | undefined;
|
|
178
|
-
} | undefined;
|
|
179
|
-
hostBubbles?: {
|
|
180
|
-
backgroundColor?: string | undefined;
|
|
146
|
+
buttons?: {
|
|
181
147
|
color?: string | undefined;
|
|
182
|
-
blur?: number | undefined;
|
|
183
148
|
opacity?: number | undefined;
|
|
149
|
+
backgroundColor?: string | undefined;
|
|
150
|
+
background?: {
|
|
151
|
+
type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
|
|
152
|
+
content?: string | undefined;
|
|
153
|
+
} | undefined;
|
|
154
|
+
blur?: number | undefined;
|
|
184
155
|
shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
185
156
|
border?: {
|
|
186
|
-
thickness?: number | undefined;
|
|
187
157
|
color?: string | undefined;
|
|
158
|
+
opacity?: number | undefined;
|
|
159
|
+
thickness?: number | undefined;
|
|
188
160
|
roundeness?: string | undefined;
|
|
189
161
|
customRoundeness?: number | undefined;
|
|
190
|
-
opacity?: number | undefined;
|
|
191
162
|
} | undefined;
|
|
192
163
|
} | undefined;
|
|
193
|
-
|
|
194
|
-
backgroundColor?: string | undefined;
|
|
164
|
+
container?: {
|
|
195
165
|
color?: string | undefined;
|
|
196
|
-
blur?: number | undefined;
|
|
197
166
|
opacity?: number | undefined;
|
|
167
|
+
backgroundColor?: string | undefined;
|
|
168
|
+
maxWidth?: string | undefined;
|
|
169
|
+
background?: {
|
|
170
|
+
type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
|
|
171
|
+
content?: string | undefined;
|
|
172
|
+
} | undefined;
|
|
173
|
+
blur?: number | undefined;
|
|
198
174
|
shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
199
175
|
border?: {
|
|
200
|
-
thickness?: number | undefined;
|
|
201
176
|
color?: string | undefined;
|
|
177
|
+
opacity?: number | undefined;
|
|
178
|
+
thickness?: number | undefined;
|
|
202
179
|
roundeness?: string | undefined;
|
|
203
180
|
customRoundeness?: number | undefined;
|
|
204
|
-
|
|
181
|
+
} | undefined;
|
|
182
|
+
maxHeight?: string | undefined;
|
|
183
|
+
font?: string | {
|
|
184
|
+
type: "Google";
|
|
185
|
+
family?: string | undefined;
|
|
186
|
+
} | {
|
|
187
|
+
type: "Custom";
|
|
188
|
+
css?: string | undefined;
|
|
189
|
+
url?: string | undefined;
|
|
190
|
+
family?: string | undefined;
|
|
205
191
|
} | undefined;
|
|
206
192
|
} | undefined;
|
|
207
|
-
|
|
208
|
-
|
|
193
|
+
hostAvatar?: {
|
|
194
|
+
url?: string | undefined;
|
|
195
|
+
isEnabled?: boolean | undefined;
|
|
196
|
+
} | undefined;
|
|
197
|
+
guestAvatar?: {
|
|
198
|
+
url?: string | undefined;
|
|
199
|
+
isEnabled?: boolean | undefined;
|
|
200
|
+
} | undefined;
|
|
201
|
+
hostBubbles?: {
|
|
209
202
|
color?: string | undefined;
|
|
210
|
-
blur?: number | undefined;
|
|
211
203
|
opacity?: number | undefined;
|
|
204
|
+
backgroundColor?: string | undefined;
|
|
205
|
+
background?: {
|
|
206
|
+
type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
|
|
207
|
+
content?: string | undefined;
|
|
208
|
+
} | undefined;
|
|
209
|
+
blur?: number | undefined;
|
|
212
210
|
shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
213
211
|
border?: {
|
|
214
|
-
thickness?: number | undefined;
|
|
215
212
|
color?: string | undefined;
|
|
213
|
+
opacity?: number | undefined;
|
|
214
|
+
thickness?: number | undefined;
|
|
216
215
|
roundeness?: string | undefined;
|
|
217
216
|
customRoundeness?: number | undefined;
|
|
218
|
-
opacity?: number | undefined;
|
|
219
217
|
} | undefined;
|
|
220
218
|
} | undefined;
|
|
221
|
-
|
|
219
|
+
guestBubbles?: {
|
|
222
220
|
color?: string | undefined;
|
|
223
221
|
opacity?: number | undefined;
|
|
224
222
|
backgroundColor?: string | undefined;
|
|
223
|
+
background?: {
|
|
224
|
+
type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
|
|
225
|
+
content?: string | undefined;
|
|
226
|
+
} | undefined;
|
|
225
227
|
blur?: number | undefined;
|
|
226
228
|
shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
227
229
|
border?: {
|
|
228
|
-
thickness?: number | undefined;
|
|
229
230
|
color?: string | undefined;
|
|
231
|
+
opacity?: number | undefined;
|
|
232
|
+
thickness?: number | undefined;
|
|
230
233
|
roundeness?: string | undefined;
|
|
231
234
|
customRoundeness?: number | undefined;
|
|
232
|
-
opacity?: number | undefined;
|
|
233
235
|
} | undefined;
|
|
234
|
-
placeholderColor?: string | undefined;
|
|
235
236
|
} | undefined;
|
|
236
237
|
roundness?: "medium" | "large" | "none" | undefined;
|
|
237
238
|
} | undefined;
|
|
239
|
+
progressBar?: {
|
|
240
|
+
placement?: string | undefined;
|
|
241
|
+
color?: string | undefined;
|
|
242
|
+
backgroundColor?: string | undefined;
|
|
243
|
+
isEnabled?: boolean | undefined;
|
|
244
|
+
position?: string | undefined;
|
|
245
|
+
thickness?: number | undefined;
|
|
246
|
+
} | undefined;
|
|
238
247
|
customCss?: string | undefined;
|
|
239
248
|
};
|
|
240
249
|
publishedAt?: Date | undefined;
|
|
241
250
|
};
|
|
242
251
|
sessionId: string;
|
|
243
|
-
resultId?: string | undefined;
|
|
244
|
-
lastMessageNewFormat?: string | undefined;
|
|
245
252
|
input?: (({
|
|
246
253
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
|
|
247
254
|
id: string;
|
|
248
255
|
items: {
|
|
249
256
|
id: string;
|
|
250
257
|
content: string;
|
|
258
|
+
value?: string | undefined;
|
|
251
259
|
outgoingEdgeId?: string | undefined;
|
|
252
260
|
pictureSrc?: string | undefined;
|
|
253
261
|
description?: string | undefined;
|
|
254
|
-
value?: string | undefined;
|
|
255
262
|
displayCondition?: {
|
|
256
263
|
isEnabled?: boolean | undefined;
|
|
257
264
|
condition?: {
|
|
258
265
|
logicalOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
|
|
259
266
|
comparisons?: {
|
|
260
267
|
id: string;
|
|
268
|
+
value?: string | undefined;
|
|
261
269
|
variableId?: string | undefined;
|
|
262
270
|
comparisonOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
|
|
263
|
-
value?: string | undefined;
|
|
264
271
|
}[] | undefined;
|
|
265
272
|
} | undefined;
|
|
266
273
|
} | undefined;
|
|
267
274
|
}[];
|
|
268
|
-
outgoingEdgeId?: string | undefined;
|
|
269
275
|
options?: {
|
|
270
276
|
variableId?: string | undefined;
|
|
271
277
|
isMultipleChoice?: boolean | undefined;
|
|
@@ -280,12 +286,13 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
280
286
|
whatsappFlowQuestionLabel?: string | undefined;
|
|
281
287
|
retryMessageContent?: string | undefined;
|
|
282
288
|
} | undefined;
|
|
289
|
+
outgoingEdgeId?: string | undefined;
|
|
283
290
|
} | {
|
|
284
291
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.DATE;
|
|
285
292
|
id: string;
|
|
286
|
-
outgoingEdgeId?: string | undefined;
|
|
287
293
|
options?: {
|
|
288
294
|
variableId?: string | undefined;
|
|
295
|
+
retryMessageContent?: string | undefined;
|
|
289
296
|
labels?: {
|
|
290
297
|
button?: string | undefined;
|
|
291
298
|
from?: string | undefined;
|
|
@@ -296,41 +303,18 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
296
303
|
format?: string | undefined;
|
|
297
304
|
min?: string | undefined;
|
|
298
305
|
max?: string | undefined;
|
|
299
|
-
retryMessageContent?: string | undefined;
|
|
300
306
|
} | undefined;
|
|
301
|
-
} | {
|
|
302
|
-
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
|
|
303
|
-
id: string;
|
|
304
307
|
outgoingEdgeId?: string | undefined;
|
|
305
|
-
options?: {
|
|
306
|
-
variableId?: string | undefined;
|
|
307
|
-
isRequired?: boolean | undefined;
|
|
308
|
-
isMultipleAllowed?: boolean | undefined;
|
|
309
|
-
labels?: {
|
|
310
|
-
placeholder?: string | undefined;
|
|
311
|
-
button?: string | undefined;
|
|
312
|
-
clear?: string | undefined;
|
|
313
|
-
skip?: string | undefined;
|
|
314
|
-
success?: {
|
|
315
|
-
single?: string | undefined;
|
|
316
|
-
multiple?: string | undefined;
|
|
317
|
-
} | undefined;
|
|
318
|
-
} | undefined;
|
|
319
|
-
sizeLimit?: number | undefined;
|
|
320
|
-
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
321
|
-
retryMessageContent?: string | undefined;
|
|
322
|
-
} | undefined;
|
|
323
308
|
} | {
|
|
324
309
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
|
|
325
310
|
id: string;
|
|
326
|
-
outgoingEdgeId?: string | undefined;
|
|
327
311
|
options?: {
|
|
328
312
|
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
329
313
|
variableId?: string | undefined;
|
|
330
314
|
retryMessageContent?: string | undefined;
|
|
331
315
|
labels?: {
|
|
332
|
-
placeholder?: string | undefined;
|
|
333
316
|
button?: string | undefined;
|
|
317
|
+
placeholder?: string | undefined;
|
|
334
318
|
clear?: string | undefined;
|
|
335
319
|
skip?: string | undefined;
|
|
336
320
|
success?: {
|
|
@@ -341,71 +325,67 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
341
325
|
isRequired?: boolean | undefined;
|
|
342
326
|
isMultipleAllowed?: boolean | undefined;
|
|
343
327
|
} | undefined;
|
|
328
|
+
outgoingEdgeId?: string | undefined;
|
|
344
329
|
} | {
|
|
345
330
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.TEXT;
|
|
346
331
|
id: string;
|
|
347
|
-
outgoingEdgeId?: string | undefined;
|
|
348
332
|
options?: {
|
|
349
333
|
variableId?: string | undefined;
|
|
350
334
|
labels?: {
|
|
351
|
-
placeholder?: string | undefined;
|
|
352
335
|
button?: string | undefined;
|
|
336
|
+
placeholder?: string | undefined;
|
|
353
337
|
} | undefined;
|
|
354
|
-
isLong?: boolean | undefined;
|
|
355
338
|
audioClip?: {
|
|
339
|
+
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
356
340
|
isEnabled?: boolean | undefined;
|
|
357
341
|
saveVariableId?: string | undefined;
|
|
358
|
-
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
359
342
|
} | undefined;
|
|
360
343
|
attachments?: {
|
|
344
|
+
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
361
345
|
isEnabled?: boolean | undefined;
|
|
362
346
|
saveVariableId?: string | undefined;
|
|
363
|
-
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
364
347
|
} | undefined;
|
|
365
348
|
} | undefined;
|
|
349
|
+
outgoingEdgeId?: string | undefined;
|
|
366
350
|
} | {
|
|
367
351
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.EMAIL;
|
|
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
|
-
retryMessageContent?: string | undefined;
|
|
377
360
|
} | undefined;
|
|
361
|
+
outgoingEdgeId?: string | undefined;
|
|
378
362
|
} | {
|
|
379
363
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.NUMBER;
|
|
380
364
|
id: string;
|
|
381
|
-
outgoingEdgeId?: string | undefined;
|
|
382
365
|
options?: {
|
|
383
366
|
variableId?: string | undefined;
|
|
367
|
+
retryMessageContent?: string | undefined;
|
|
384
368
|
labels?: {
|
|
385
|
-
placeholder?: string | undefined;
|
|
386
369
|
button?: string | undefined;
|
|
370
|
+
placeholder?: string | undefined;
|
|
387
371
|
} | undefined;
|
|
388
372
|
min?: number | `{{${string}}}` | undefined;
|
|
389
373
|
max?: number | `{{${string}}}` | undefined;
|
|
390
374
|
step?: number | `{{${string}}}` | undefined;
|
|
391
|
-
retryMessageContent?: string | undefined;
|
|
392
375
|
} | undefined;
|
|
376
|
+
outgoingEdgeId?: string | undefined;
|
|
393
377
|
} | {
|
|
394
378
|
type: import("@quickbot.io/schemas/features/blocks/integrations/constants").IntegrationBlockType.PAYMENT;
|
|
395
379
|
id: string;
|
|
396
|
-
outgoingEdgeId?: string | undefined;
|
|
397
380
|
options?: {
|
|
398
381
|
variableId?: string | undefined;
|
|
399
|
-
|
|
382
|
+
retryMessageContent?: string | undefined;
|
|
400
383
|
labels?: {
|
|
401
384
|
button?: string | undefined;
|
|
402
385
|
success?: string | undefined;
|
|
403
386
|
} | undefined;
|
|
387
|
+
provider?: import("@quickbot.io/schemas/features/blocks/inputs/payment/constants").PaymentProvider | undefined;
|
|
404
388
|
additionalInformation?: {
|
|
405
|
-
description?: string | undefined;
|
|
406
|
-
name?: string | undefined;
|
|
407
|
-
email?: string | undefined;
|
|
408
|
-
phoneNumber?: string | undefined;
|
|
409
389
|
address?: {
|
|
410
390
|
country?: string | undefined;
|
|
411
391
|
line1?: string | undefined;
|
|
@@ -414,39 +394,42 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
414
394
|
city?: string | undefined;
|
|
415
395
|
postalCode?: string | undefined;
|
|
416
396
|
} | undefined;
|
|
397
|
+
name?: string | undefined;
|
|
398
|
+
description?: string | undefined;
|
|
399
|
+
email?: string | undefined;
|
|
400
|
+
phoneNumber?: string | undefined;
|
|
417
401
|
} | undefined;
|
|
418
402
|
credentialsId?: string | undefined;
|
|
419
403
|
currency?: string | undefined;
|
|
420
404
|
amount?: string | undefined;
|
|
421
|
-
retryMessageContent?: string | undefined;
|
|
422
405
|
} | undefined;
|
|
406
|
+
outgoingEdgeId?: string | undefined;
|
|
423
407
|
} | {
|
|
424
408
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.PHONE;
|
|
425
409
|
id: string;
|
|
426
|
-
outgoingEdgeId?: string | undefined;
|
|
427
410
|
options?: {
|
|
428
411
|
variableId?: string | undefined;
|
|
412
|
+
retryMessageContent?: string | undefined;
|
|
429
413
|
labels?: {
|
|
430
|
-
placeholder?: string | undefined;
|
|
431
414
|
button?: string | undefined;
|
|
415
|
+
placeholder?: string | undefined;
|
|
432
416
|
} | undefined;
|
|
433
|
-
retryMessageContent?: string | undefined;
|
|
434
417
|
defaultCountryCode?: string | undefined;
|
|
435
418
|
} | undefined;
|
|
419
|
+
outgoingEdgeId?: string | undefined;
|
|
436
420
|
} | {
|
|
437
421
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.RATING;
|
|
438
422
|
id: string;
|
|
439
|
-
outgoingEdgeId?: string | undefined;
|
|
440
423
|
options?: {
|
|
441
|
-
variableId?: string | undefined;
|
|
442
|
-
buttonType?: "Icons" | "Numbers" | undefined;
|
|
443
424
|
length?: number | undefined;
|
|
444
|
-
|
|
425
|
+
variableId?: string | undefined;
|
|
445
426
|
labels?: {
|
|
427
|
+
button?: string | undefined;
|
|
446
428
|
left?: string | undefined;
|
|
447
429
|
right?: string | undefined;
|
|
448
|
-
button?: string | undefined;
|
|
449
430
|
} | undefined;
|
|
431
|
+
buttonType?: "Icons" | "Numbers" | undefined;
|
|
432
|
+
startsAt?: number | `{{${string}}}` | undefined;
|
|
450
433
|
customIcon?: {
|
|
451
434
|
isEnabled?: boolean | undefined;
|
|
452
435
|
svg?: string | undefined;
|
|
@@ -454,18 +437,19 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
454
437
|
isOneClickSubmitEnabled?: boolean | undefined;
|
|
455
438
|
whatsappMessage?: string | undefined;
|
|
456
439
|
} | undefined;
|
|
440
|
+
outgoingEdgeId?: string | undefined;
|
|
457
441
|
} | {
|
|
458
442
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.URL;
|
|
459
443
|
id: string;
|
|
460
|
-
outgoingEdgeId?: string | undefined;
|
|
461
444
|
options?: {
|
|
462
445
|
variableId?: string | undefined;
|
|
446
|
+
retryMessageContent?: string | undefined;
|
|
463
447
|
labels?: {
|
|
464
|
-
placeholder?: string | undefined;
|
|
465
448
|
button?: string | undefined;
|
|
449
|
+
placeholder?: string | undefined;
|
|
466
450
|
} | undefined;
|
|
467
|
-
retryMessageContent?: string | undefined;
|
|
468
451
|
} | undefined;
|
|
452
|
+
outgoingEdgeId?: string | undefined;
|
|
469
453
|
}) & {
|
|
470
454
|
prefilledValue?: string | undefined;
|
|
471
455
|
runtimeOptions?: {
|
|
@@ -474,6 +458,18 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
474
458
|
publicKey: string;
|
|
475
459
|
} | undefined;
|
|
476
460
|
}) | undefined;
|
|
461
|
+
progress?: number | undefined;
|
|
462
|
+
logs?: {
|
|
463
|
+
status: string;
|
|
464
|
+
description: string;
|
|
465
|
+
details?: unknown;
|
|
466
|
+
}[] | undefined;
|
|
467
|
+
resultId?: string | undefined;
|
|
468
|
+
dynamicTheme?: {
|
|
469
|
+
hostAvatarUrl?: string | undefined;
|
|
470
|
+
guestAvatarUrl?: string | undefined;
|
|
471
|
+
} | undefined;
|
|
472
|
+
lastMessageNewFormat?: string | undefined;
|
|
477
473
|
clientSideActions?: ({
|
|
478
474
|
type: "scriptToExecute";
|
|
479
475
|
scriptToExecute: {
|
|
@@ -508,18 +504,6 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
508
504
|
};
|
|
509
505
|
lastBubbleBlockId?: string | undefined;
|
|
510
506
|
expectsDedicatedReply?: boolean | undefined;
|
|
511
|
-
} | {
|
|
512
|
-
type: "googleAnalytics";
|
|
513
|
-
googleAnalytics: {
|
|
514
|
-
trackingId?: string | undefined;
|
|
515
|
-
category?: string | undefined;
|
|
516
|
-
action?: string | undefined;
|
|
517
|
-
label?: string | undefined;
|
|
518
|
-
value?: number | `{{${string}}}` | undefined;
|
|
519
|
-
sendTo?: string | undefined;
|
|
520
|
-
};
|
|
521
|
-
lastBubbleBlockId?: string | undefined;
|
|
522
|
-
expectsDedicatedReply?: boolean | undefined;
|
|
523
507
|
} | {
|
|
524
508
|
type: "wait";
|
|
525
509
|
wait: {
|
|
@@ -555,8 +539,8 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
555
539
|
type: "webhookToExecute";
|
|
556
540
|
webhookToExecute: {
|
|
557
541
|
url: string;
|
|
558
|
-
headers?: Record<string, string> | undefined;
|
|
559
542
|
body?: unknown;
|
|
543
|
+
headers?: Record<string, string> | undefined;
|
|
560
544
|
method?: import("@quickbot.io/schemas/features/blocks/integrations/webhook/constants").HttpMethod | undefined;
|
|
561
545
|
};
|
|
562
546
|
lastBubbleBlockId?: string | undefined;
|
|
@@ -564,10 +548,9 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
564
548
|
} | {
|
|
565
549
|
type: "startPropsToInject";
|
|
566
550
|
startPropsToInject: {
|
|
567
|
-
|
|
551
|
+
customHeadCode?: string | undefined;
|
|
568
552
|
pixelIds?: string[] | undefined;
|
|
569
553
|
gtmId?: string | undefined;
|
|
570
|
-
customHeadCode?: string | undefined;
|
|
571
554
|
};
|
|
572
555
|
lastBubbleBlockId?: string | undefined;
|
|
573
556
|
expectsDedicatedReply?: boolean | undefined;
|
|
@@ -576,18 +559,18 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
576
559
|
pixel: {
|
|
577
560
|
params?: {
|
|
578
561
|
id: string;
|
|
579
|
-
key?: string | undefined;
|
|
580
562
|
value?: any;
|
|
563
|
+
key?: string | undefined;
|
|
581
564
|
}[] | undefined;
|
|
565
|
+
eventType?: undefined;
|
|
582
566
|
pixelId?: string | undefined;
|
|
583
567
|
isInitSkip?: boolean | undefined;
|
|
584
|
-
eventType?: undefined;
|
|
585
568
|
} | {
|
|
586
569
|
eventType: "Lead" | "Contact" | "CompleteRegistration" | "Schedule" | "SubmitApplication" | "ViewContent" | "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Purchase" | "Search" | "StartTrial" | "Subscribe";
|
|
587
570
|
params?: {
|
|
588
571
|
id: string;
|
|
589
|
-
key?: string | undefined;
|
|
590
572
|
value?: any;
|
|
573
|
+
key?: string | undefined;
|
|
591
574
|
}[] | undefined;
|
|
592
575
|
pixelId?: string | undefined;
|
|
593
576
|
isInitSkip?: boolean | undefined;
|
|
@@ -595,12 +578,12 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
595
578
|
eventType: "Custom";
|
|
596
579
|
params?: {
|
|
597
580
|
id: string;
|
|
598
|
-
key?: string | undefined;
|
|
599
581
|
value?: any;
|
|
582
|
+
key?: string | undefined;
|
|
600
583
|
}[] | undefined;
|
|
584
|
+
name?: string | undefined;
|
|
601
585
|
pixelId?: string | undefined;
|
|
602
586
|
isInitSkip?: boolean | undefined;
|
|
603
|
-
name?: string | undefined;
|
|
604
587
|
};
|
|
605
588
|
lastBubbleBlockId?: string | undefined;
|
|
606
589
|
expectsDedicatedReply?: boolean | undefined;
|
|
@@ -618,16 +601,6 @@ export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVaria
|
|
|
618
601
|
lastBubbleBlockId?: string | undefined;
|
|
619
602
|
expectsDedicatedReply?: boolean | undefined;
|
|
620
603
|
})[] | undefined;
|
|
621
|
-
logs?: {
|
|
622
|
-
status: string;
|
|
623
|
-
description: string;
|
|
624
|
-
details?: unknown;
|
|
625
|
-
}[] | undefined;
|
|
626
|
-
dynamicTheme?: {
|
|
627
|
-
hostAvatarUrl?: string | undefined;
|
|
628
|
-
guestAvatarUrl?: string | undefined;
|
|
629
|
-
} | undefined;
|
|
630
|
-
progress?: number | undefined;
|
|
631
604
|
};
|
|
632
605
|
error?: undefined;
|
|
633
606
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startChatQuery.d.ts","sourceRoot":"","sources":["../../src/queries/startChatQuery.ts"],"names":[],"mappings":"AAOA,OAAO,EAIL,SAAS,EAEV,MAAM,sBAAsB,CAAA;AAI7B,KAAK,KAAK,GAAG;IAEX,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IACjB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,SAAS,EAAE,OAAO,CAAA;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAqCD,wBAAsB,cAAc,CAAC,EACnC,GAAG,EACH,SAAS,EACT,OAAO,EACP,kBAAkB,EAClB,QAAQ,EACR,oBAAoB,EACpB,SAAS,EACT,SAAS,GACV,EAAE,KAAK
|
|
1
|
+
{"version":3,"file":"startChatQuery.d.ts","sourceRoot":"","sources":["../../src/queries/startChatQuery.ts"],"names":[],"mappings":"AAOA,OAAO,EAIL,SAAS,EAEV,MAAM,sBAAsB,CAAA;AAI7B,KAAK,KAAK,GAAG;IAEX,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IACjB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,SAAS,EAAE,OAAO,CAAA;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAqCD,wBAAsB,cAAc,CAAC,EACnC,GAAG,EACH,SAAS,EACT,OAAO,EACP,kBAAkB,EAClB,QAAQ,EACR,oBAAoB,EACpB,SAAS,EACT,SAAS,GACV,EAAE,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyHP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeClientSideActions.d.ts","sourceRoot":"","sources":["../../src/utils/executeClientSideActions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"executeClientSideActions.d.ts","sourceRoot":"","sources":["../../src/utils/executeClientSideActions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AACjD,OAAO,KAAK,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAGzE,KAAK,KAAK,GAAG;IACX,gBAAgB,EAAE,WAAW,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3E,OAAO,EAAE,uBAAuB,CAAA;IAChC,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CACnE,CAAA;AAED,eAAO,MAAM,uBAAuB,oDAIjC,KAAK,KAAG,QACP;IAAE,eAAe,EAAE,MAAM,CAAA;CAAE,GAC3B;IAAE,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,EAAE,CAAA;CAAE,GACrD;IAAE,IAAI,EAAE,OAAO,EAAE,CAAA;CAAE,GACnB,IAAI,CAoDP,CAAA"}
|