@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
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { Message } from '@quickbot.io/schemas';
|
|
2
|
-
export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
2
|
+
export declare const continueChatQuery: ({ apiHost, message, sessionId, messageMetadata, }: {
|
|
3
3
|
apiHost?: string;
|
|
4
4
|
message?: Message;
|
|
5
5
|
sessionId: string;
|
|
6
|
+
messageMetadata?: {
|
|
7
|
+
inputBlockId?: string;
|
|
8
|
+
inputType?: string;
|
|
9
|
+
};
|
|
6
10
|
}) => Promise<{
|
|
7
11
|
data: {
|
|
8
12
|
messages: ({
|
|
@@ -28,15 +32,15 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
28
32
|
} | {
|
|
29
33
|
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.VIDEO;
|
|
30
34
|
content: {
|
|
31
|
-
url?: string | undefined;
|
|
32
|
-
id?: string | undefined;
|
|
33
|
-
type?: import("@quickbot.io/schemas/features/blocks/bubbles/video/constants").VideoBubbleContentType | undefined;
|
|
34
35
|
height?: number | `{{${string}}}` | undefined;
|
|
36
|
+
type?: import("@quickbot.io/schemas/features/blocks/bubbles/video/constants").VideoBubbleContentType | undefined;
|
|
37
|
+
id?: string | undefined;
|
|
38
|
+
url?: string | undefined;
|
|
39
|
+
isAutoplayEnabled?: boolean | undefined;
|
|
35
40
|
aspectRatio?: string | undefined;
|
|
36
41
|
maxWidth?: string | undefined;
|
|
37
42
|
queryParamsStr?: string | undefined;
|
|
38
43
|
areControlsDisplayed?: boolean | undefined;
|
|
39
|
-
isAutoplayEnabled?: boolean | undefined;
|
|
40
44
|
};
|
|
41
45
|
} | {
|
|
42
46
|
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.AUDIO;
|
|
@@ -47,53 +51,46 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
47
51
|
} | {
|
|
48
52
|
type: import("@quickbot.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.EMBED;
|
|
49
53
|
content: {
|
|
54
|
+
height?: number | undefined;
|
|
50
55
|
url?: string | undefined;
|
|
51
56
|
waitForEvent?: {
|
|
52
|
-
isEnabled?: boolean | undefined;
|
|
53
57
|
name?: string | undefined;
|
|
58
|
+
isEnabled?: boolean | undefined;
|
|
54
59
|
saveDataInVariableId?: string | undefined;
|
|
55
60
|
} | undefined;
|
|
56
|
-
|
|
57
|
-
};
|
|
58
|
-
} | {
|
|
59
|
-
type: "custom-embed";
|
|
60
|
-
content: {
|
|
61
|
-
initFunction: {
|
|
61
|
+
initFunction?: {
|
|
62
62
|
content: string;
|
|
63
|
-
args: Record<string,
|
|
64
|
-
};
|
|
65
|
-
url?: string | undefined;
|
|
63
|
+
args: Record<string, any>;
|
|
64
|
+
} | undefined;
|
|
66
65
|
waitForEventFunction?: {
|
|
67
66
|
content: string;
|
|
68
|
-
args: Record<string,
|
|
67
|
+
args: Record<string, any>;
|
|
69
68
|
} | undefined;
|
|
70
69
|
};
|
|
71
70
|
}))[];
|
|
72
|
-
lastMessageNewFormat?: string | undefined;
|
|
73
71
|
input?: (({
|
|
74
72
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE;
|
|
75
73
|
id: string;
|
|
76
74
|
items: {
|
|
77
75
|
id: string;
|
|
78
76
|
content: string;
|
|
77
|
+
value?: string | undefined;
|
|
79
78
|
outgoingEdgeId?: string | undefined;
|
|
80
79
|
pictureSrc?: string | undefined;
|
|
81
80
|
description?: string | undefined;
|
|
82
|
-
value?: string | undefined;
|
|
83
81
|
displayCondition?: {
|
|
84
82
|
isEnabled?: boolean | undefined;
|
|
85
83
|
condition?: {
|
|
86
84
|
logicalOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined;
|
|
87
85
|
comparisons?: {
|
|
88
86
|
id: string;
|
|
87
|
+
value?: string | undefined;
|
|
89
88
|
variableId?: string | undefined;
|
|
90
89
|
comparisonOperator?: import("@quickbot.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined;
|
|
91
|
-
value?: string | undefined;
|
|
92
90
|
}[] | undefined;
|
|
93
91
|
} | undefined;
|
|
94
92
|
} | undefined;
|
|
95
93
|
}[];
|
|
96
|
-
outgoingEdgeId?: string | undefined;
|
|
97
94
|
options?: {
|
|
98
95
|
variableId?: string | undefined;
|
|
99
96
|
isMultipleChoice?: boolean | undefined;
|
|
@@ -108,12 +105,13 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
108
105
|
whatsappFlowQuestionLabel?: string | undefined;
|
|
109
106
|
retryMessageContent?: string | undefined;
|
|
110
107
|
} | undefined;
|
|
108
|
+
outgoingEdgeId?: string | undefined;
|
|
111
109
|
} | {
|
|
112
110
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.DATE;
|
|
113
111
|
id: string;
|
|
114
|
-
outgoingEdgeId?: string | undefined;
|
|
115
112
|
options?: {
|
|
116
113
|
variableId?: string | undefined;
|
|
114
|
+
retryMessageContent?: string | undefined;
|
|
117
115
|
labels?: {
|
|
118
116
|
button?: string | undefined;
|
|
119
117
|
from?: string | undefined;
|
|
@@ -124,41 +122,18 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
124
122
|
format?: string | undefined;
|
|
125
123
|
min?: string | undefined;
|
|
126
124
|
max?: string | undefined;
|
|
127
|
-
retryMessageContent?: string | undefined;
|
|
128
125
|
} | undefined;
|
|
129
|
-
} | {
|
|
130
|
-
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
|
|
131
|
-
id: string;
|
|
132
126
|
outgoingEdgeId?: string | undefined;
|
|
133
|
-
options?: {
|
|
134
|
-
variableId?: string | undefined;
|
|
135
|
-
isRequired?: boolean | undefined;
|
|
136
|
-
isMultipleAllowed?: boolean | undefined;
|
|
137
|
-
labels?: {
|
|
138
|
-
placeholder?: string | undefined;
|
|
139
|
-
button?: string | undefined;
|
|
140
|
-
clear?: string | undefined;
|
|
141
|
-
skip?: string | undefined;
|
|
142
|
-
success?: {
|
|
143
|
-
single?: string | undefined;
|
|
144
|
-
multiple?: string | undefined;
|
|
145
|
-
} | undefined;
|
|
146
|
-
} | undefined;
|
|
147
|
-
sizeLimit?: number | undefined;
|
|
148
|
-
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
149
|
-
retryMessageContent?: string | undefined;
|
|
150
|
-
} | undefined;
|
|
151
127
|
} | {
|
|
152
128
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE;
|
|
153
129
|
id: string;
|
|
154
|
-
outgoingEdgeId?: string | undefined;
|
|
155
130
|
options?: {
|
|
156
131
|
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
157
132
|
variableId?: string | undefined;
|
|
158
133
|
retryMessageContent?: string | undefined;
|
|
159
134
|
labels?: {
|
|
160
|
-
placeholder?: string | undefined;
|
|
161
135
|
button?: string | undefined;
|
|
136
|
+
placeholder?: string | undefined;
|
|
162
137
|
clear?: string | undefined;
|
|
163
138
|
skip?: string | undefined;
|
|
164
139
|
success?: {
|
|
@@ -169,71 +144,67 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
169
144
|
isRequired?: boolean | undefined;
|
|
170
145
|
isMultipleAllowed?: boolean | undefined;
|
|
171
146
|
} | undefined;
|
|
147
|
+
outgoingEdgeId?: string | undefined;
|
|
172
148
|
} | {
|
|
173
149
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.TEXT;
|
|
174
150
|
id: string;
|
|
175
|
-
outgoingEdgeId?: string | undefined;
|
|
176
151
|
options?: {
|
|
177
152
|
variableId?: string | undefined;
|
|
178
153
|
labels?: {
|
|
179
|
-
placeholder?: string | undefined;
|
|
180
154
|
button?: string | undefined;
|
|
155
|
+
placeholder?: string | undefined;
|
|
181
156
|
} | undefined;
|
|
182
|
-
isLong?: boolean | undefined;
|
|
183
157
|
audioClip?: {
|
|
158
|
+
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
184
159
|
isEnabled?: boolean | undefined;
|
|
185
160
|
saveVariableId?: string | undefined;
|
|
186
|
-
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
187
161
|
} | undefined;
|
|
188
162
|
attachments?: {
|
|
163
|
+
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
189
164
|
isEnabled?: boolean | undefined;
|
|
190
165
|
saveVariableId?: string | undefined;
|
|
191
|
-
visibility?: "Auto" | "Public" | "Private" | undefined;
|
|
192
166
|
} | undefined;
|
|
193
167
|
} | undefined;
|
|
168
|
+
outgoingEdgeId?: string | undefined;
|
|
194
169
|
} | {
|
|
195
170
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.EMAIL;
|
|
196
171
|
id: string;
|
|
197
|
-
outgoingEdgeId?: string | undefined;
|
|
198
172
|
options?: {
|
|
199
173
|
variableId?: string | undefined;
|
|
174
|
+
retryMessageContent?: string | undefined;
|
|
200
175
|
labels?: {
|
|
201
|
-
placeholder?: string | undefined;
|
|
202
176
|
button?: string | undefined;
|
|
177
|
+
placeholder?: string | undefined;
|
|
203
178
|
} | undefined;
|
|
204
|
-
retryMessageContent?: string | undefined;
|
|
205
179
|
} | undefined;
|
|
180
|
+
outgoingEdgeId?: string | undefined;
|
|
206
181
|
} | {
|
|
207
182
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.NUMBER;
|
|
208
183
|
id: string;
|
|
209
|
-
outgoingEdgeId?: string | undefined;
|
|
210
184
|
options?: {
|
|
211
185
|
variableId?: string | undefined;
|
|
186
|
+
retryMessageContent?: string | undefined;
|
|
212
187
|
labels?: {
|
|
213
|
-
placeholder?: string | undefined;
|
|
214
188
|
button?: string | undefined;
|
|
189
|
+
placeholder?: string | undefined;
|
|
215
190
|
} | undefined;
|
|
216
191
|
min?: number | `{{${string}}}` | undefined;
|
|
217
192
|
max?: number | `{{${string}}}` | undefined;
|
|
218
193
|
step?: number | `{{${string}}}` | undefined;
|
|
219
|
-
retryMessageContent?: string | undefined;
|
|
220
194
|
} | undefined;
|
|
195
|
+
outgoingEdgeId?: string | undefined;
|
|
221
196
|
} | {
|
|
222
197
|
type: import("@quickbot.io/schemas/features/blocks/integrations/constants").IntegrationBlockType.PAYMENT;
|
|
223
198
|
id: string;
|
|
224
|
-
outgoingEdgeId?: string | undefined;
|
|
225
199
|
options?: {
|
|
226
200
|
variableId?: string | undefined;
|
|
227
|
-
|
|
201
|
+
retryMessageContent?: string | undefined;
|
|
228
202
|
labels?: {
|
|
229
203
|
button?: string | undefined;
|
|
230
204
|
success?: string | undefined;
|
|
231
205
|
} | undefined;
|
|
206
|
+
provider?: import("@quickbot.io/schemas/features/blocks/inputs/payment/constants").PaymentProvider | undefined;
|
|
232
207
|
additionalInformation?: {
|
|
233
|
-
description?: string | undefined;
|
|
234
|
-
name?: string | undefined;
|
|
235
|
-
email?: string | undefined;
|
|
236
|
-
phoneNumber?: string | undefined;
|
|
237
208
|
address?: {
|
|
238
209
|
country?: string | undefined;
|
|
239
210
|
line1?: string | undefined;
|
|
@@ -242,39 +213,42 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
242
213
|
city?: string | undefined;
|
|
243
214
|
postalCode?: string | undefined;
|
|
244
215
|
} | undefined;
|
|
216
|
+
name?: string | undefined;
|
|
217
|
+
description?: string | undefined;
|
|
218
|
+
email?: string | undefined;
|
|
219
|
+
phoneNumber?: string | undefined;
|
|
245
220
|
} | undefined;
|
|
246
221
|
credentialsId?: string | undefined;
|
|
247
222
|
currency?: string | undefined;
|
|
248
223
|
amount?: string | undefined;
|
|
249
|
-
retryMessageContent?: string | undefined;
|
|
250
224
|
} | undefined;
|
|
225
|
+
outgoingEdgeId?: string | undefined;
|
|
251
226
|
} | {
|
|
252
227
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.PHONE;
|
|
253
228
|
id: string;
|
|
254
|
-
outgoingEdgeId?: string | undefined;
|
|
255
229
|
options?: {
|
|
256
230
|
variableId?: string | undefined;
|
|
231
|
+
retryMessageContent?: string | undefined;
|
|
257
232
|
labels?: {
|
|
258
|
-
placeholder?: string | undefined;
|
|
259
233
|
button?: string | undefined;
|
|
234
|
+
placeholder?: string | undefined;
|
|
260
235
|
} | undefined;
|
|
261
|
-
retryMessageContent?: string | undefined;
|
|
262
236
|
defaultCountryCode?: string | undefined;
|
|
263
237
|
} | undefined;
|
|
238
|
+
outgoingEdgeId?: string | undefined;
|
|
264
239
|
} | {
|
|
265
240
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.RATING;
|
|
266
241
|
id: string;
|
|
267
|
-
outgoingEdgeId?: string | undefined;
|
|
268
242
|
options?: {
|
|
269
|
-
variableId?: string | undefined;
|
|
270
|
-
buttonType?: "Icons" | "Numbers" | undefined;
|
|
271
243
|
length?: number | undefined;
|
|
272
|
-
|
|
244
|
+
variableId?: string | undefined;
|
|
273
245
|
labels?: {
|
|
246
|
+
button?: string | undefined;
|
|
274
247
|
left?: string | undefined;
|
|
275
248
|
right?: string | undefined;
|
|
276
|
-
button?: string | undefined;
|
|
277
249
|
} | undefined;
|
|
250
|
+
buttonType?: "Icons" | "Numbers" | undefined;
|
|
251
|
+
startsAt?: number | `{{${string}}}` | undefined;
|
|
278
252
|
customIcon?: {
|
|
279
253
|
isEnabled?: boolean | undefined;
|
|
280
254
|
svg?: string | undefined;
|
|
@@ -282,18 +256,19 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
282
256
|
isOneClickSubmitEnabled?: boolean | undefined;
|
|
283
257
|
whatsappMessage?: string | undefined;
|
|
284
258
|
} | undefined;
|
|
259
|
+
outgoingEdgeId?: string | undefined;
|
|
285
260
|
} | {
|
|
286
261
|
type: import("@quickbot.io/schemas/features/blocks/inputs/constants").InputBlockType.URL;
|
|
287
262
|
id: string;
|
|
288
|
-
outgoingEdgeId?: string | undefined;
|
|
289
263
|
options?: {
|
|
290
264
|
variableId?: string | undefined;
|
|
265
|
+
retryMessageContent?: string | undefined;
|
|
291
266
|
labels?: {
|
|
292
|
-
placeholder?: string | undefined;
|
|
293
267
|
button?: string | undefined;
|
|
268
|
+
placeholder?: string | undefined;
|
|
294
269
|
} | undefined;
|
|
295
|
-
retryMessageContent?: string | undefined;
|
|
296
270
|
} | undefined;
|
|
271
|
+
outgoingEdgeId?: string | undefined;
|
|
297
272
|
}) & {
|
|
298
273
|
prefilledValue?: string | undefined;
|
|
299
274
|
runtimeOptions?: {
|
|
@@ -302,6 +277,17 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
302
277
|
publicKey: string;
|
|
303
278
|
} | undefined;
|
|
304
279
|
}) | undefined;
|
|
280
|
+
progress?: number | undefined;
|
|
281
|
+
logs?: {
|
|
282
|
+
status: string;
|
|
283
|
+
description: string;
|
|
284
|
+
details?: unknown;
|
|
285
|
+
}[] | undefined;
|
|
286
|
+
dynamicTheme?: {
|
|
287
|
+
hostAvatarUrl?: string | undefined;
|
|
288
|
+
guestAvatarUrl?: string | undefined;
|
|
289
|
+
} | undefined;
|
|
290
|
+
lastMessageNewFormat?: string | undefined;
|
|
305
291
|
clientSideActions?: ({
|
|
306
292
|
type: "scriptToExecute";
|
|
307
293
|
scriptToExecute: {
|
|
@@ -336,18 +322,6 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
336
322
|
};
|
|
337
323
|
lastBubbleBlockId?: string | undefined;
|
|
338
324
|
expectsDedicatedReply?: boolean | undefined;
|
|
339
|
-
} | {
|
|
340
|
-
type: "googleAnalytics";
|
|
341
|
-
googleAnalytics: {
|
|
342
|
-
trackingId?: string | undefined;
|
|
343
|
-
category?: string | undefined;
|
|
344
|
-
action?: string | undefined;
|
|
345
|
-
label?: string | undefined;
|
|
346
|
-
value?: number | `{{${string}}}` | undefined;
|
|
347
|
-
sendTo?: string | undefined;
|
|
348
|
-
};
|
|
349
|
-
lastBubbleBlockId?: string | undefined;
|
|
350
|
-
expectsDedicatedReply?: boolean | undefined;
|
|
351
325
|
} | {
|
|
352
326
|
type: "wait";
|
|
353
327
|
wait: {
|
|
@@ -383,8 +357,8 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
383
357
|
type: "webhookToExecute";
|
|
384
358
|
webhookToExecute: {
|
|
385
359
|
url: string;
|
|
386
|
-
headers?: Record<string, string> | undefined;
|
|
387
360
|
body?: unknown;
|
|
361
|
+
headers?: Record<string, string> | undefined;
|
|
388
362
|
method?: import("@quickbot.io/schemas/features/blocks/integrations/webhook/constants").HttpMethod | undefined;
|
|
389
363
|
};
|
|
390
364
|
lastBubbleBlockId?: string | undefined;
|
|
@@ -392,10 +366,9 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
392
366
|
} | {
|
|
393
367
|
type: "startPropsToInject";
|
|
394
368
|
startPropsToInject: {
|
|
395
|
-
|
|
369
|
+
customHeadCode?: string | undefined;
|
|
396
370
|
pixelIds?: string[] | undefined;
|
|
397
371
|
gtmId?: string | undefined;
|
|
398
|
-
customHeadCode?: string | undefined;
|
|
399
372
|
};
|
|
400
373
|
lastBubbleBlockId?: string | undefined;
|
|
401
374
|
expectsDedicatedReply?: boolean | undefined;
|
|
@@ -404,18 +377,18 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
404
377
|
pixel: {
|
|
405
378
|
params?: {
|
|
406
379
|
id: string;
|
|
407
|
-
key?: string | undefined;
|
|
408
380
|
value?: any;
|
|
381
|
+
key?: string | undefined;
|
|
409
382
|
}[] | undefined;
|
|
383
|
+
eventType?: undefined;
|
|
410
384
|
pixelId?: string | undefined;
|
|
411
385
|
isInitSkip?: boolean | undefined;
|
|
412
|
-
eventType?: undefined;
|
|
413
386
|
} | {
|
|
414
387
|
eventType: "Lead" | "Contact" | "CompleteRegistration" | "Schedule" | "SubmitApplication" | "ViewContent" | "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Purchase" | "Search" | "StartTrial" | "Subscribe";
|
|
415
388
|
params?: {
|
|
416
389
|
id: string;
|
|
417
|
-
key?: string | undefined;
|
|
418
390
|
value?: any;
|
|
391
|
+
key?: string | undefined;
|
|
419
392
|
}[] | undefined;
|
|
420
393
|
pixelId?: string | undefined;
|
|
421
394
|
isInitSkip?: boolean | undefined;
|
|
@@ -423,12 +396,12 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
423
396
|
eventType: "Custom";
|
|
424
397
|
params?: {
|
|
425
398
|
id: string;
|
|
426
|
-
key?: string | undefined;
|
|
427
399
|
value?: any;
|
|
400
|
+
key?: string | undefined;
|
|
428
401
|
}[] | undefined;
|
|
402
|
+
name?: string | undefined;
|
|
429
403
|
pixelId?: string | undefined;
|
|
430
404
|
isInitSkip?: boolean | undefined;
|
|
431
|
-
name?: string | undefined;
|
|
432
405
|
};
|
|
433
406
|
lastBubbleBlockId?: string | undefined;
|
|
434
407
|
expectsDedicatedReply?: boolean | undefined;
|
|
@@ -446,16 +419,6 @@ export declare const continueChatQuery: ({ apiHost, message, sessionId, }: {
|
|
|
446
419
|
lastBubbleBlockId?: string | undefined;
|
|
447
420
|
expectsDedicatedReply?: boolean | undefined;
|
|
448
421
|
})[] | undefined;
|
|
449
|
-
logs?: {
|
|
450
|
-
status: string;
|
|
451
|
-
description: string;
|
|
452
|
-
details?: unknown;
|
|
453
|
-
}[] | undefined;
|
|
454
|
-
dynamicTheme?: {
|
|
455
|
-
hostAvatarUrl?: string | undefined;
|
|
456
|
-
guestAvatarUrl?: string | undefined;
|
|
457
|
-
} | undefined;
|
|
458
|
-
progress?: number | undefined;
|
|
459
422
|
};
|
|
460
423
|
error?: undefined;
|
|
461
424
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"continueChatQuery.d.ts","sourceRoot":"","sources":["../../src/queries/continueChatQuery.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwB,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAGpE,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"continueChatQuery.d.ts","sourceRoot":"","sources":["../../src/queries/continueChatQuery.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwB,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAGpE,eAAO,MAAM,iBAAiB,sDAK3B;IACD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE;QAChB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;CACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBA,CAAA"}
|