@urbiport/js 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -39
- package/dist/components/Bot.d.ts +3 -3
- 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/ConversationContainer/ChatChunk.d.ts +2 -1
- package/dist/components/ConversationContainer/ChatChunk.d.ts.map +1 -1
- package/dist/components/ConversationContainer/ChatChunkFooter.d.ts +20 -0
- package/dist/components/ConversationContainer/ChatChunkFooter.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationContainer.d.ts +3 -2
- package/dist/components/ConversationContainer/ConversationContainer.d.ts.map +1 -1
- package/dist/components/ConversationContainer/ConversationContainerBody.d.ts +10 -0
- package/dist/components/ConversationContainer/ConversationContainerBody.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts +18 -0
- package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts.map +1 -0
- package/dist/components/ConversationContainer/InputAnswerContext.d.ts +13 -0
- package/dist/components/ConversationContainer/InputAnswerContext.d.ts.map +1 -0
- package/dist/components/ConversationContainer/LoadingChunk.d.ts +1 -1
- package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +1 -1
- package/dist/components/ConversationContainer/PopupBlockedToast.d.ts.map +1 -1
- 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 +41 -0
- package/dist/components/InputAnswerContext.d.ts.map +1 -0
- package/dist/components/InputChatBlock.d.ts +1 -1
- package/dist/components/InputChatBlock.d.ts.map +1 -1
- package/dist/components/InputChatBlockFooter copy.d.ts +17 -0
- package/dist/components/InputChatBlockFooter copy.d.ts.map +1 -0
- package/dist/components/InputChatBlockFooter.d.ts +17 -0
- package/dist/components/InputChatBlockFooter.d.ts.map +1 -0
- package/dist/components/InputChatBlockFooterShow.d.ts +13 -0
- package/dist/components/InputChatBlockFooterShow.d.ts.map +1 -0
- package/dist/components/InputFormLayout.d.ts +17 -0
- package/dist/components/InputFormLayout.d.ts.map +1 -0
- package/dist/components/SendButton.d.ts +0 -1
- package/dist/components/SendButton.d.ts.map +1 -1
- package/dist/components/Submit.d.ts +9 -0
- package/dist/components/Submit.d.ts.map +1 -0
- package/dist/components/SubmitButton.d.ts +9 -0
- package/dist/components/SubmitButton.d.ts.map +1 -0
- 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/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/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/inputs/Textarea.d.ts +2 -1
- package/dist/components/inputs/Textarea.d.ts.map +1 -1
- package/dist/constants/conversation.d.ts +4 -0
- package/dist/constants/conversation.d.ts.map +1 -0
- 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/CustomEmbedBubble.d.ts +1 -2
- package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.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 +2 -1
- package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -1
- package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +2 -1
- package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +1 -1
- 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 +1 -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/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/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/paymentInProgressStorage.d.ts +2 -2
- package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +1 -1
- package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +1 -1
- package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -1
- package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts +1 -1
- package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts.map +1 -1
- package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts +1 -1
- package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.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/components/TextInput copy.d.ts +11 -0
- package/dist/features/blocks/inputs/textInput/components/TextInput copy.d.ts.map +1 -0
- package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts +2 -2
- package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +1 -1
- package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts +1 -1
- package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +1 -1
- package/dist/features/blocks/inputs/textInput/index.d.ts +1 -1
- package/dist/features/blocks/inputs/textInput/index.d.ts.map +1 -1
- package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +1 -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/googleAnalytics/utils/executeGoogleAnalytics.d.ts +1 -1
- package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.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/setVariable/executeSetVariable.d.ts +1 -1
- package/dist/features/blocks/logic/setVariable/executeSetVariable.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/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 +17 -0
- 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.js +1 -1
- package/dist/lib/gtag.d.ts +1 -1
- package/dist/lib/gtag.d.ts.map +1 -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 +39 -128
- 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 +54 -142
- 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 +1 -1
- 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 +1 -1
- package/dist/utils/setCssVariablesValue.d.ts.map +1 -1
- package/dist/utils/storage.d.ts +58 -147
- 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 +7 -6
- package/dist/window.d.ts +6 -6
- package/dist/window.d.ts.map +1 -1
- package/package.json +20 -20
- package/tsconfig.build.json +23 -0
- package/.turbo/turbo-build.log +0 -11
- package/LICENSE +0 -669
- 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/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/index.d.ts +0 -2
- package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StartFrom } from '@
|
|
1
|
+
import { StartFrom } from '@quickbot.io/schemas';
|
|
2
2
|
type Props = {
|
|
3
|
-
|
|
3
|
+
bot: string | any;
|
|
4
4
|
stripeRedirectStatus?: string;
|
|
5
5
|
apiHost?: string;
|
|
6
6
|
startFrom?: StartFrom;
|
|
@@ -9,7 +9,7 @@ type Props = {
|
|
|
9
9
|
resultId?: string;
|
|
10
10
|
sessionId?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare function startChatQuery({
|
|
12
|
+
export declare function startChatQuery({ bot, isPreview, apiHost, prefilledVariables, resultId, stripeRedirectStatus, startFrom, sessionId, }: Props): Promise<{
|
|
13
13
|
error: unknown;
|
|
14
14
|
data?: undefined;
|
|
15
15
|
} | {
|
|
@@ -17,7 +17,7 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
17
17
|
messages: ({
|
|
18
18
|
id: string;
|
|
19
19
|
} & ({
|
|
20
|
-
type: import("@
|
|
20
|
+
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.TEXT;
|
|
21
21
|
content: {
|
|
22
22
|
type: "richText";
|
|
23
23
|
richText?: any;
|
|
@@ -26,7 +26,7 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
26
26
|
markdown: string;
|
|
27
27
|
};
|
|
28
28
|
} | {
|
|
29
|
-
type: import("@
|
|
29
|
+
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.IMAGE;
|
|
30
30
|
content: {
|
|
31
31
|
url?: string | undefined;
|
|
32
32
|
clickLink?: {
|
|
@@ -35,11 +35,11 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
35
35
|
} | undefined;
|
|
36
36
|
};
|
|
37
37
|
} | {
|
|
38
|
-
type: import("@
|
|
38
|
+
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.VIDEO;
|
|
39
39
|
content: {
|
|
40
40
|
url?: string | undefined;
|
|
41
41
|
id?: string | undefined;
|
|
42
|
-
type?: import("@
|
|
42
|
+
type?: import("@quickbot.io/schemas/features/blocks/bubbles/video/constants").VideoBubbleContentType | undefined;
|
|
43
43
|
height?: number | `{{${string}}}` | undefined;
|
|
44
44
|
aspectRatio?: string | undefined;
|
|
45
45
|
maxWidth?: string | undefined;
|
|
@@ -48,13 +48,13 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
48
48
|
isAutoplayEnabled?: boolean | undefined;
|
|
49
49
|
};
|
|
50
50
|
} | {
|
|
51
|
-
type: import("@
|
|
51
|
+
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.AUDIO;
|
|
52
52
|
content: {
|
|
53
53
|
url?: string | undefined;
|
|
54
54
|
isAutoplayEnabled?: boolean | undefined;
|
|
55
55
|
};
|
|
56
56
|
} | {
|
|
57
|
-
type: import("@
|
|
57
|
+
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.EMBED;
|
|
58
58
|
content: {
|
|
59
59
|
url?: string | undefined;
|
|
60
60
|
waitForEvent?: {
|
|
@@ -78,7 +78,7 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
78
78
|
} | undefined;
|
|
79
79
|
};
|
|
80
80
|
}))[];
|
|
81
|
-
|
|
81
|
+
bot: {
|
|
82
82
|
id: string;
|
|
83
83
|
settings: {
|
|
84
84
|
general?: {
|
|
@@ -89,7 +89,7 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
89
89
|
isNewResultOnRefreshEnabled?: boolean | undefined;
|
|
90
90
|
rememberUser?: {
|
|
91
91
|
isEnabled?: boolean | undefined;
|
|
92
|
-
storage?:
|
|
92
|
+
storage?: string | undefined;
|
|
93
93
|
} | undefined;
|
|
94
94
|
} | undefined;
|
|
95
95
|
typingEmulation?: {
|
|
@@ -110,14 +110,15 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
110
110
|
whatsApp?: {
|
|
111
111
|
isEnabled?: boolean | undefined;
|
|
112
112
|
startCondition?: {
|
|
113
|
-
logicalOperator: import("@
|
|
113
|
+
logicalOperator: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator;
|
|
114
114
|
comparisons: {
|
|
115
115
|
id: string;
|
|
116
|
-
comparisonOperator?: import("@
|
|
116
|
+
comparisonOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
|
|
117
117
|
value?: string | undefined;
|
|
118
118
|
}[];
|
|
119
119
|
} | undefined;
|
|
120
120
|
sessionExpiryTimeout?: number | undefined;
|
|
121
|
+
flowIds?: Record<string, string> | undefined;
|
|
121
122
|
} | undefined;
|
|
122
123
|
publicShare?: {
|
|
123
124
|
isEnabled?: boolean | undefined;
|
|
@@ -138,16 +139,16 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
138
139
|
url?: string | undefined;
|
|
139
140
|
} | undefined;
|
|
140
141
|
background?: {
|
|
141
|
-
type?: import("@
|
|
142
|
+
type?: import("@quickbot.io/schemas/features/bot/theme/constants").BackgroundType | undefined;
|
|
142
143
|
content?: string | undefined;
|
|
143
144
|
} | undefined;
|
|
144
145
|
progressBar?: {
|
|
145
146
|
isEnabled?: boolean | undefined;
|
|
146
147
|
color?: string | undefined;
|
|
147
148
|
backgroundColor?: string | undefined;
|
|
148
|
-
placement?:
|
|
149
|
+
placement?: string | undefined;
|
|
149
150
|
thickness?: number | undefined;
|
|
150
|
-
position?:
|
|
151
|
+
position?: string | undefined;
|
|
151
152
|
} | undefined;
|
|
152
153
|
} | undefined;
|
|
153
154
|
chat?: {
|
|
@@ -162,7 +163,7 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
162
163
|
border?: {
|
|
163
164
|
thickness?: number | undefined;
|
|
164
165
|
color?: string | undefined;
|
|
165
|
-
roundeness?:
|
|
166
|
+
roundeness?: string | undefined;
|
|
166
167
|
customRoundeness?: number | undefined;
|
|
167
168
|
opacity?: number | undefined;
|
|
168
169
|
} | undefined;
|
|
@@ -184,7 +185,7 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
184
185
|
border?: {
|
|
185
186
|
thickness?: number | undefined;
|
|
186
187
|
color?: string | undefined;
|
|
187
|
-
roundeness?:
|
|
188
|
+
roundeness?: string | undefined;
|
|
188
189
|
customRoundeness?: number | undefined;
|
|
189
190
|
opacity?: number | undefined;
|
|
190
191
|
} | undefined;
|
|
@@ -198,7 +199,7 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
198
199
|
border?: {
|
|
199
200
|
thickness?: number | undefined;
|
|
200
201
|
color?: string | undefined;
|
|
201
|
-
roundeness?:
|
|
202
|
+
roundeness?: string | undefined;
|
|
202
203
|
customRoundeness?: number | undefined;
|
|
203
204
|
opacity?: number | undefined;
|
|
204
205
|
} | undefined;
|
|
@@ -212,7 +213,7 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
212
213
|
border?: {
|
|
213
214
|
thickness?: number | undefined;
|
|
214
215
|
color?: string | undefined;
|
|
215
|
-
roundeness?:
|
|
216
|
+
roundeness?: string | undefined;
|
|
216
217
|
customRoundeness?: number | undefined;
|
|
217
218
|
opacity?: number | undefined;
|
|
218
219
|
} | undefined;
|
|
@@ -226,7 +227,7 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
226
227
|
border?: {
|
|
227
228
|
thickness?: number | undefined;
|
|
228
229
|
color?: string | undefined;
|
|
229
|
-
roundeness?:
|
|
230
|
+
roundeness?: string | undefined;
|
|
230
231
|
customRoundeness?: number | undefined;
|
|
231
232
|
opacity?: number | undefined;
|
|
232
233
|
} | undefined;
|
|
@@ -242,50 +243,23 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
242
243
|
resultId?: string | undefined;
|
|
243
244
|
lastMessageNewFormat?: string | undefined;
|
|
244
245
|
input?: (({
|
|
246
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
|
|
245
247
|
id: string;
|
|
246
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
|
|
247
|
-
items: {
|
|
248
|
-
id: string;
|
|
249
|
-
outgoingEdgeId?: string | undefined;
|
|
250
|
-
blockId?: string | undefined;
|
|
251
|
-
content?: string | undefined;
|
|
252
|
-
displayCondition?: {
|
|
253
|
-
isEnabled?: boolean | undefined;
|
|
254
|
-
condition?: {
|
|
255
|
-
logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
|
|
256
|
-
comparisons?: {
|
|
257
|
-
id: string;
|
|
258
|
-
variableId?: string | undefined;
|
|
259
|
-
comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
|
|
260
|
-
value?: string | undefined;
|
|
261
|
-
}[] | undefined;
|
|
262
|
-
} | undefined;
|
|
263
|
-
} | undefined;
|
|
264
|
-
}[];
|
|
265
|
-
outgoingEdgeId?: string | undefined;
|
|
266
|
-
options?: {
|
|
267
|
-
variableId?: string | undefined;
|
|
268
|
-
isMultipleChoice?: boolean | undefined;
|
|
269
|
-
buttonLabel?: string | undefined;
|
|
270
|
-
dynamicVariableId?: string | undefined;
|
|
271
|
-
isSearchable?: boolean | undefined;
|
|
272
|
-
searchInputPlaceholder?: string | undefined;
|
|
273
|
-
} | undefined;
|
|
274
|
-
} | {
|
|
275
|
-
id: string;
|
|
276
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
|
|
277
248
|
items: {
|
|
278
249
|
id: string;
|
|
250
|
+
content: string;
|
|
279
251
|
outgoingEdgeId?: string | undefined;
|
|
280
|
-
|
|
252
|
+
pictureSrc?: string | undefined;
|
|
253
|
+
description?: string | undefined;
|
|
254
|
+
value?: string | undefined;
|
|
281
255
|
displayCondition?: {
|
|
282
256
|
isEnabled?: boolean | undefined;
|
|
283
257
|
condition?: {
|
|
284
|
-
logicalOperator?: import("@
|
|
258
|
+
logicalOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
|
|
285
259
|
comparisons?: {
|
|
286
260
|
id: string;
|
|
287
261
|
variableId?: string | undefined;
|
|
288
|
-
comparisonOperator?: import("@
|
|
262
|
+
comparisonOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
|
|
289
263
|
value?: string | undefined;
|
|
290
264
|
}[] | undefined;
|
|
291
265
|
} | undefined;
|
|
@@ -299,10 +273,16 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
299
273
|
dynamicVariableId?: string | undefined;
|
|
300
274
|
isSearchable?: boolean | undefined;
|
|
301
275
|
searchInputPlaceholder?: string | undefined;
|
|
276
|
+
otherOption?: boolean | undefined;
|
|
277
|
+
whatsappFlowHeader?: string | undefined;
|
|
278
|
+
whatsappFlowBody?: string | undefined;
|
|
279
|
+
whatsappFlowButtonText?: string | undefined;
|
|
280
|
+
whatsappFlowQuestionLabel?: string | undefined;
|
|
281
|
+
retryMessageContent?: string | undefined;
|
|
302
282
|
} | undefined;
|
|
303
283
|
} | {
|
|
284
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.DATE;
|
|
304
285
|
id: string;
|
|
305
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.DATE;
|
|
306
286
|
outgoingEdgeId?: string | undefined;
|
|
307
287
|
options?: {
|
|
308
288
|
variableId?: string | undefined;
|
|
@@ -316,10 +296,11 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
316
296
|
format?: string | undefined;
|
|
317
297
|
min?: string | undefined;
|
|
318
298
|
max?: string | undefined;
|
|
299
|
+
retryMessageContent?: string | undefined;
|
|
319
300
|
} | undefined;
|
|
320
301
|
} | {
|
|
302
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
|
|
321
303
|
id: string;
|
|
322
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
|
|
323
304
|
outgoingEdgeId?: string | undefined;
|
|
324
305
|
options?: {
|
|
325
306
|
variableId?: string | undefined;
|
|
@@ -337,14 +318,16 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
337
318
|
} | undefined;
|
|
338
319
|
sizeLimit?: number | undefined;
|
|
339
320
|
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
321
|
+
retryMessageContent?: string | undefined;
|
|
340
322
|
} | undefined;
|
|
341
323
|
} | {
|
|
324
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
|
|
342
325
|
id: string;
|
|
343
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
|
|
344
326
|
outgoingEdgeId?: string | undefined;
|
|
345
327
|
options?: {
|
|
346
328
|
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
347
329
|
variableId?: string | undefined;
|
|
330
|
+
retryMessageContent?: string | undefined;
|
|
348
331
|
labels?: {
|
|
349
332
|
placeholder?: string | undefined;
|
|
350
333
|
button?: string | undefined;
|
|
@@ -359,8 +342,8 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
359
342
|
isMultipleAllowed?: boolean | undefined;
|
|
360
343
|
} | undefined;
|
|
361
344
|
} | {
|
|
345
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.TEXT;
|
|
362
346
|
id: string;
|
|
363
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.TEXT;
|
|
364
347
|
outgoingEdgeId?: string | undefined;
|
|
365
348
|
options?: {
|
|
366
349
|
variableId?: string | undefined;
|
|
@@ -381,8 +364,8 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
381
364
|
} | undefined;
|
|
382
365
|
} | undefined;
|
|
383
366
|
} | {
|
|
367
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.EMAIL;
|
|
384
368
|
id: string;
|
|
385
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.EMAIL;
|
|
386
369
|
outgoingEdgeId?: string | undefined;
|
|
387
370
|
options?: {
|
|
388
371
|
variableId?: string | undefined;
|
|
@@ -393,8 +376,8 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
393
376
|
retryMessageContent?: string | undefined;
|
|
394
377
|
} | undefined;
|
|
395
378
|
} | {
|
|
379
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.NUMBER;
|
|
396
380
|
id: string;
|
|
397
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.NUMBER;
|
|
398
381
|
outgoingEdgeId?: string | undefined;
|
|
399
382
|
options?: {
|
|
400
383
|
variableId?: string | undefined;
|
|
@@ -405,14 +388,15 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
405
388
|
min?: number | `{{${string}}}` | undefined;
|
|
406
389
|
max?: number | `{{${string}}}` | undefined;
|
|
407
390
|
step?: number | `{{${string}}}` | undefined;
|
|
391
|
+
retryMessageContent?: string | undefined;
|
|
408
392
|
} | undefined;
|
|
409
393
|
} | {
|
|
394
|
+
type: import("@quickbot.io/schemas/features/blocks/integrations/constants").IntegrationBlockType.PAYMENT;
|
|
410
395
|
id: string;
|
|
411
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PAYMENT;
|
|
412
396
|
outgoingEdgeId?: string | undefined;
|
|
413
397
|
options?: {
|
|
414
398
|
variableId?: string | undefined;
|
|
415
|
-
provider?: import("@
|
|
399
|
+
provider?: import("@quickbot.io/schemas/features/blocks/inputs/payment/constants").PaymentProvider.STRIPE | undefined;
|
|
416
400
|
labels?: {
|
|
417
401
|
button?: string | undefined;
|
|
418
402
|
success?: string | undefined;
|
|
@@ -437,8 +421,8 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
437
421
|
retryMessageContent?: string | undefined;
|
|
438
422
|
} | undefined;
|
|
439
423
|
} | {
|
|
424
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.PHONE;
|
|
440
425
|
id: string;
|
|
441
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PHONE;
|
|
442
426
|
outgoingEdgeId?: string | undefined;
|
|
443
427
|
options?: {
|
|
444
428
|
variableId?: string | undefined;
|
|
@@ -450,8 +434,8 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
450
434
|
defaultCountryCode?: string | undefined;
|
|
451
435
|
} | undefined;
|
|
452
436
|
} | {
|
|
437
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.RATING;
|
|
453
438
|
id: string;
|
|
454
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.RATING;
|
|
455
439
|
outgoingEdgeId?: string | undefined;
|
|
456
440
|
options?: {
|
|
457
441
|
variableId?: string | undefined;
|
|
@@ -468,10 +452,11 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
468
452
|
svg?: string | undefined;
|
|
469
453
|
} | undefined;
|
|
470
454
|
isOneClickSubmitEnabled?: boolean | undefined;
|
|
455
|
+
whatsappMessage?: string | undefined;
|
|
471
456
|
} | undefined;
|
|
472
457
|
} | {
|
|
458
|
+
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.URL;
|
|
473
459
|
id: string;
|
|
474
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.URL;
|
|
475
460
|
outgoingEdgeId?: string | undefined;
|
|
476
461
|
options?: {
|
|
477
462
|
variableId?: string | undefined;
|
|
@@ -481,79 +466,6 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
481
466
|
} | undefined;
|
|
482
467
|
retryMessageContent?: string | undefined;
|
|
483
468
|
} | undefined;
|
|
484
|
-
} | {
|
|
485
|
-
id: string;
|
|
486
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PICTURE_CHOICE;
|
|
487
|
-
items: {
|
|
488
|
-
id: string;
|
|
489
|
-
outgoingEdgeId?: string | undefined;
|
|
490
|
-
blockId?: string | undefined;
|
|
491
|
-
pictureSrc?: string | undefined;
|
|
492
|
-
title?: string | undefined;
|
|
493
|
-
description?: string | undefined;
|
|
494
|
-
displayCondition?: {
|
|
495
|
-
isEnabled?: boolean | undefined;
|
|
496
|
-
condition?: {
|
|
497
|
-
logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
|
|
498
|
-
comparisons?: {
|
|
499
|
-
id: string;
|
|
500
|
-
variableId?: string | undefined;
|
|
501
|
-
comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
|
|
502
|
-
value?: string | undefined;
|
|
503
|
-
}[] | undefined;
|
|
504
|
-
} | undefined;
|
|
505
|
-
} | undefined;
|
|
506
|
-
}[];
|
|
507
|
-
outgoingEdgeId?: string | undefined;
|
|
508
|
-
options?: {
|
|
509
|
-
variableId?: string | undefined;
|
|
510
|
-
isMultipleChoice?: boolean | undefined;
|
|
511
|
-
isSearchable?: boolean | undefined;
|
|
512
|
-
buttonLabel?: string | undefined;
|
|
513
|
-
searchInputPlaceholder?: string | undefined;
|
|
514
|
-
dynamicItems?: {
|
|
515
|
-
isEnabled?: boolean | undefined;
|
|
516
|
-
titlesVariableId?: string | undefined;
|
|
517
|
-
descriptionsVariableId?: string | undefined;
|
|
518
|
-
pictureSrcsVariableId?: string | undefined;
|
|
519
|
-
} | undefined;
|
|
520
|
-
} | undefined;
|
|
521
|
-
} | {
|
|
522
|
-
id: string;
|
|
523
|
-
type: import("@typebot.io/schemas/features/blocks/inputs/constants").InputBlockType.PICTURE_CHOICE;
|
|
524
|
-
items: {
|
|
525
|
-
id: string;
|
|
526
|
-
outgoingEdgeId?: string | undefined;
|
|
527
|
-
pictureSrc?: string | undefined;
|
|
528
|
-
title?: string | undefined;
|
|
529
|
-
description?: string | undefined;
|
|
530
|
-
displayCondition?: {
|
|
531
|
-
isEnabled?: boolean | undefined;
|
|
532
|
-
condition?: {
|
|
533
|
-
logicalOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
|
|
534
|
-
comparisons?: {
|
|
535
|
-
id: string;
|
|
536
|
-
variableId?: string | undefined;
|
|
537
|
-
comparisonOperator?: import("@typebot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
|
|
538
|
-
value?: string | undefined;
|
|
539
|
-
}[] | undefined;
|
|
540
|
-
} | undefined;
|
|
541
|
-
} | undefined;
|
|
542
|
-
}[];
|
|
543
|
-
outgoingEdgeId?: string | undefined;
|
|
544
|
-
options?: {
|
|
545
|
-
variableId?: string | undefined;
|
|
546
|
-
isMultipleChoice?: boolean | undefined;
|
|
547
|
-
isSearchable?: boolean | undefined;
|
|
548
|
-
buttonLabel?: string | undefined;
|
|
549
|
-
searchInputPlaceholder?: string | undefined;
|
|
550
|
-
dynamicItems?: {
|
|
551
|
-
isEnabled?: boolean | undefined;
|
|
552
|
-
titlesVariableId?: string | undefined;
|
|
553
|
-
descriptionsVariableId?: string | undefined;
|
|
554
|
-
pictureSrcsVariableId?: string | undefined;
|
|
555
|
-
} | undefined;
|
|
556
|
-
} | undefined;
|
|
557
469
|
}) & {
|
|
558
470
|
prefilledValue?: string | undefined;
|
|
559
471
|
runtimeOptions?: {
|
|
@@ -633,8 +545,8 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
633
545
|
type: "streamOpenAiChatCompletion";
|
|
634
546
|
streamOpenAiChatCompletion: {
|
|
635
547
|
messages: {
|
|
636
|
-
content
|
|
637
|
-
role
|
|
548
|
+
content: string;
|
|
549
|
+
role: "user" | "system" | "assistant";
|
|
638
550
|
}[];
|
|
639
551
|
};
|
|
640
552
|
lastBubbleBlockId?: string | undefined;
|
|
@@ -645,7 +557,7 @@ export declare function startChatQuery({ typebot, isPreview, apiHost, prefilledV
|
|
|
645
557
|
url: string;
|
|
646
558
|
headers?: Record<string, string> | undefined;
|
|
647
559
|
body?: unknown;
|
|
648
|
-
method?: import("@
|
|
560
|
+
method?: import("@quickbot.io/schemas/features/blocks/integrations/webhook/constants").HttpMethod | undefined;
|
|
649
561
|
};
|
|
650
562
|
lastBubbleBlockId?: string | undefined;
|
|
651
563
|
expectsDedicatedReply?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startChatQuery.d.ts","sourceRoot":"","sources":["../../src/queries/startChatQuery.ts"],"names":[],"mappings":"AAOA,OAAO,EAIL,SAAS,EAEV,MAAM,
|
|
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"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ContinueChatResponse, StartChatResponse } from '@
|
|
1
|
+
import { ContinueChatResponse, StartChatResponse } from '@quickbot.io/schemas';
|
|
2
2
|
export type BotContext = {
|
|
3
|
-
|
|
3
|
+
bot: StartChatResponse['bot'];
|
|
4
4
|
resultId?: string;
|
|
5
5
|
isPreview: boolean;
|
|
6
6
|
apiHost?: string;
|
|
@@ -16,8 +16,11 @@ export type ClientSideActionContext = {
|
|
|
16
16
|
apiHost?: string;
|
|
17
17
|
sessionId: string;
|
|
18
18
|
};
|
|
19
|
-
export type ChatChunk = Pick<ContinueChatResponse, 'messages' | '
|
|
19
|
+
export type ChatChunk = Pick<ContinueChatResponse, 'messages' | 'clientSideActions'> & {
|
|
20
20
|
streamingMessageId?: string;
|
|
21
|
+
input?: NonNullable<ContinueChatResponse['input']> & {
|
|
22
|
+
answer?: InputSubmitContent;
|
|
23
|
+
};
|
|
21
24
|
};
|
|
22
25
|
export type Attachment = {
|
|
23
26
|
type: string;
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAE9E,MAAM,MAAM,UAAU,GAAG;IACvB,GAAG,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAA;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;CACzC,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,mBAAmB,CAAC,GAAG;IACrF,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,KAAK,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,GAAG;QACnD,MAAM,CAAC,EAAE,kBAAkB,CAAA;KAC5B,CAAA;CACF,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,WAAW,CAAA;IACjB,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GAAG,2BAA2B,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const setBotContainer: import("solid-js").Setter<HTMLDivElement | undefined>;
|
|
2
2
|
//# sourceMappingURL=botContainerSignal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"botContainerSignal.d.ts","sourceRoot":"","sources":["../../src/utils/botContainerSignal.ts"],"names":[],"mappings":"AAEA,eAAO,
|
|
1
|
+
{"version":3,"file":"botContainerSignal.d.ts","sourceRoot":"","sources":["../../src/utils/botContainerSignal.ts"],"names":[],"mappings":"AAEA,eAAO,MAAS,eAAe,uDAAkC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClientSideActionContext } from '@/types';
|
|
2
|
-
import type { ContinueChatResponse, ChatLog } from '@
|
|
2
|
+
import type { ContinueChatResponse, ChatLog } from '@quickbot.io/schemas';
|
|
3
3
|
type Props = {
|
|
4
4
|
clientSideAction: NonNullable<ContinueChatResponse['clientSideActions']>[0];
|
|
5
5
|
context: ClientSideActionContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeClientSideActions.d.ts","sourceRoot":"","sources":["../../src/utils/executeClientSideActions.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AACjD,OAAO,KAAK,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"executeClientSideActions.d.ts","sourceRoot":"","sources":["../../src/utils/executeClientSideActions.ts"],"names":[],"mappings":"AASA,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,CAuDP,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guessApiHost.d.ts","sourceRoot":"","sources":["../../src/utils/guessApiHost.ts"],"names":[],"mappings":"AAIA,KAAK,MAAM,GAAG;IACZ,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,YAAY,0BAA0B,MAAM,
|
|
1
|
+
{"version":3,"file":"guessApiHost.d.ts","sourceRoot":"","sources":["../../src/utils/guessApiHost.ts"],"names":[],"mappings":"AAIA,KAAK,MAAM,GAAG;IACZ,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,YAAY,0BAA0B,MAAM,QAqBxD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectFont.d.ts","sourceRoot":"","sources":["../../src/utils/injectFont.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"injectFont.d.ts","sourceRoot":"","sources":["../../src/utils/injectFont.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAM3C,eAAO,MAAM,UAAU,SAAU,IAAI,SAkCpC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectStartProps.d.ts","sourceRoot":"","sources":["../../src/utils/injectStartProps.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"injectStartProps.d.ts","sourceRoot":"","sources":["../../src/utils/injectStartProps.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAEzD,eAAO,MAAM,gBAAgB,uBAA8B,kBAAkB,kBAS5E,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Theme } from '@
|
|
1
|
+
import { Theme } from '@quickbot.io/schemas';
|
|
2
2
|
export declare const setCssVariablesValue: (theme: Theme | undefined, container: HTMLDivElement, isPreview?: boolean) => void;
|
|
3
3
|
//# sourceMappingURL=setCssVariablesValue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setCssVariablesValue.d.ts","sourceRoot":"","sources":["../../src/utils/setCssVariablesValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,EACN,MAAM,
|
|
1
|
+
{"version":3,"file":"setCssVariablesValue.d.ts","sourceRoot":"","sources":["../../src/utils/setCssVariablesValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,EACN,MAAM,sBAAsB,CAAA;AAiH7B,eAAO,MAAM,oBAAoB,UACxB,KAAK,GAAG,SAAS,aACb,cAAc,cACb,OAAO,SAOpB,CAAA"}
|