@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.
Files changed (170) hide show
  1. package/README.md +0 -0
  2. package/dist/components/Bot.d.ts +7 -3
  3. package/dist/components/Bot.d.ts.map +1 -1
  4. package/dist/components/{SubmitButton.d.ts → ButtonSubmit.d.ts} +2 -2
  5. package/dist/components/{SubmitButton.d.ts.map → ButtonSubmit.d.ts.map} +1 -1
  6. package/dist/components/{InputChatBlockFooter.d.ts → ChatInputFooter.d.ts} +4 -4
  7. package/dist/components/ChatInputFooter.d.ts.map +1 -0
  8. package/dist/components/ConversationContainer/ConversationContainer.d.ts +6 -2
  9. package/dist/components/ConversationContainer/ConversationContainer.d.ts.map +1 -1
  10. package/dist/components/ConversationContainer/ConversationContainerBody.d.ts +4 -0
  11. package/dist/components/ConversationContainer/ConversationContainerBody.d.ts.map +1 -1
  12. package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts +1 -2
  13. package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts.map +1 -1
  14. package/dist/components/ConversationContainer/{ChatChunk.d.ts → ConversationMessageChunk.d.ts} +4 -4
  15. package/dist/components/ConversationContainer/ConversationMessageChunk.d.ts.map +1 -0
  16. package/dist/components/ConversationContainer/ConversationPopupBlockedToast.d.ts +7 -0
  17. package/dist/components/ConversationContainer/ConversationPopupBlockedToast.d.ts.map +1 -0
  18. package/dist/components/ConversationContainer/ConversationProgressBar.d.ts +6 -0
  19. package/dist/components/ConversationContainer/ConversationProgressBar.d.ts.map +1 -0
  20. package/dist/components/ConversationContainer/HostAvatar.d.ts +8 -0
  21. package/dist/components/ConversationContainer/HostAvatar.d.ts.map +1 -0
  22. package/dist/components/ConversationContainer/InputAnswer.d.ts +18 -0
  23. package/dist/components/ConversationContainer/InputAnswer.d.ts.map +1 -0
  24. package/dist/components/ConversationContainer/helpers.d.ts +2 -2
  25. package/dist/components/ConversationContainer/helpers.d.ts.map +1 -1
  26. package/dist/components/InputAnswerContext.d.ts +9 -4
  27. package/dist/components/InputAnswerContext.d.ts.map +1 -1
  28. package/dist/components/InputFormLayout.d.ts +2 -0
  29. package/dist/components/InputFormLayout.d.ts.map +1 -1
  30. package/dist/components/Spinner.d.ts.map +1 -1
  31. package/dist/components/bubbles/HostBubble.d.ts.map +1 -1
  32. package/dist/components/bubbles/HostBubbleStreaming.d.ts +8 -0
  33. package/dist/components/bubbles/HostBubbleStreaming.d.ts.map +1 -0
  34. package/dist/{features/blocks/inputs/fileUpload/components/SelectedFile.d.ts → components/inputs/FileAttached.d.ts} +2 -2
  35. package/dist/components/inputs/FileAttached.d.ts.map +1 -0
  36. package/dist/components/inputs/{ShortTextInput.d.ts → Input.d.ts} +2 -2
  37. package/dist/components/inputs/Input.d.ts.map +1 -0
  38. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -1
  39. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -1
  40. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -1
  41. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -1
  42. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -1
  43. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +3 -2
  44. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -1
  45. package/dist/{components/inputs/SearchInput.d.ts → features/blocks/inputs/buttons/components/ButtonsSearch.d.ts} +2 -2
  46. package/dist/features/blocks/inputs/buttons/components/ButtonsSearch.d.ts.map +1 -0
  47. package/dist/features/blocks/inputs/buttons/index.d.ts +2 -0
  48. package/dist/features/blocks/inputs/buttons/index.d.ts.map +1 -0
  49. package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +1 -1
  50. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +2 -0
  51. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +1 -1
  52. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +1 -1
  53. package/dist/features/blocks/inputs/fileUpload/{helpers → utils}/sanitizeSelectedFiles.d.ts +2 -4
  54. package/dist/features/blocks/inputs/fileUpload/utils/sanitizeSelectedFiles.d.ts.map +1 -0
  55. package/dist/features/blocks/inputs/fileUpload/utils/uploadFiles.d.ts.map +1 -0
  56. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +1 -1
  57. package/dist/features/blocks/inputs/number/utils/numberInputHelper.d.ts.map +1 -0
  58. package/dist/features/blocks/inputs/payment/utils/paymentInProgressStorage.d.ts.map +1 -0
  59. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +2 -0
  60. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -1
  61. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +1 -1
  62. package/dist/features/blocks/inputs/{textInput → text}/components/TextInput.d.ts +3 -1
  63. package/dist/features/blocks/inputs/text/components/TextInput.d.ts.map +1 -0
  64. package/dist/features/blocks/inputs/{textInput → text}/components/VoiceRecorder.d.ts +2 -2
  65. package/dist/features/blocks/inputs/text/components/VoiceRecorder.d.ts.map +1 -0
  66. package/dist/features/blocks/inputs/text/components/VolumeProcessor.d.ts.map +1 -0
  67. package/dist/features/blocks/inputs/text/index.d.ts +2 -0
  68. package/dist/features/blocks/inputs/text/index.d.ts.map +1 -0
  69. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +2 -0
  70. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +1 -1
  71. package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -1
  72. package/dist/features/bubble/components/{PreviewMessage.d.ts → BubbleMessage.d.ts} +2 -2
  73. package/dist/features/bubble/components/BubbleMessage.d.ts.map +1 -0
  74. package/dist/index.d.ts +1 -0
  75. package/dist/index.d.ts.map +1 -1
  76. package/dist/index.js +26 -1
  77. package/dist/queries/continueChatQuery.d.ts +67 -104
  78. package/dist/queries/continueChatQuery.d.ts.map +1 -1
  79. package/dist/queries/startChatQuery.d.ts +153 -180
  80. package/dist/queries/startChatQuery.d.ts.map +1 -1
  81. package/dist/utils/executeClientSideActions.d.ts.map +1 -1
  82. package/dist/utils/injectFont.d.ts +2 -2
  83. package/dist/utils/injectFont.d.ts.map +1 -1
  84. package/dist/utils/injectStartProps.d.ts.map +1 -1
  85. package/dist/utils/setCssVariablesValue.d.ts +2 -2
  86. package/dist/utils/setCssVariablesValue.d.ts.map +1 -1
  87. package/dist/utils/storage.d.ts +153 -180
  88. package/dist/utils/storage.d.ts.map +1 -1
  89. package/dist/web.js +30 -8
  90. package/package.json +8 -3
  91. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts +0 -8
  92. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts.map +0 -1
  93. package/dist/components/ConversationContainer/ChatChunk.d.ts.map +0 -1
  94. package/dist/components/ConversationContainer/ChatChunkFooter.d.ts +0 -20
  95. package/dist/components/ConversationContainer/ChatChunkFooter.d.ts.map +0 -1
  96. package/dist/components/ConversationContainer/InputAnswerContext.d.ts +0 -13
  97. package/dist/components/ConversationContainer/InputAnswerContext.d.ts.map +0 -1
  98. package/dist/components/ConversationContainer/LoadingChunk.d.ts +0 -7
  99. package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +0 -1
  100. package/dist/components/ConversationContainer/PopupBlockedToast.d.ts +0 -7
  101. package/dist/components/ConversationContainer/PopupBlockedToast.d.ts.map +0 -1
  102. package/dist/components/InputChatBlock.d.ts +0 -18
  103. package/dist/components/InputChatBlock.d.ts.map +0 -1
  104. package/dist/components/InputChatBlockFooter copy.d.ts +0 -17
  105. package/dist/components/InputChatBlockFooter copy.d.ts.map +0 -1
  106. package/dist/components/InputChatBlockFooter.d.ts.map +0 -1
  107. package/dist/components/InputChatBlockFooterShow.d.ts +0 -13
  108. package/dist/components/InputChatBlockFooterShow.d.ts.map +0 -1
  109. package/dist/components/LiteBadge.d.ts +0 -6
  110. package/dist/components/LiteBadge.d.ts.map +0 -1
  111. package/dist/components/ProgressBar.d.ts +0 -6
  112. package/dist/components/ProgressBar.d.ts.map +0 -1
  113. package/dist/components/SendButton.d.ts +0 -9
  114. package/dist/components/SendButton.d.ts.map +0 -1
  115. package/dist/components/Submit.d.ts +0 -9
  116. package/dist/components/Submit.d.ts.map +0 -1
  117. package/dist/components/avatars/DefaultAvatar.d.ts +0 -2
  118. package/dist/components/avatars/DefaultAvatar.d.ts.map +0 -1
  119. package/dist/components/bubbles/LoadingBubble.d.ts +0 -2
  120. package/dist/components/bubbles/LoadingBubble.d.ts.map +0 -1
  121. package/dist/components/bubbles/StreamingBubble.d.ts +0 -8
  122. package/dist/components/bubbles/StreamingBubble.d.ts.map +0 -1
  123. package/dist/components/icons/TypebotLogo.d.ts +0 -2
  124. package/dist/components/icons/TypebotLogo.d.ts.map +0 -1
  125. package/dist/components/index.d.ts +0 -4
  126. package/dist/components/index.d.ts.map +0 -1
  127. package/dist/components/inputs/SearchInput.d.ts.map +0 -1
  128. package/dist/components/inputs/ShortTextInput.d.ts.map +0 -1
  129. package/dist/components/inputs/index.d.ts +0 -3
  130. package/dist/components/inputs/index.d.ts.map +0 -1
  131. package/dist/constants/conversation.d.ts +0 -4
  132. package/dist/constants/conversation.d.ts.map +0 -1
  133. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +0 -10
  134. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +0 -1
  135. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts +0 -3
  136. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts.map +0 -1
  137. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts +0 -7
  138. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts.map +0 -1
  139. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +0 -11
  140. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +0 -1
  141. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts.map +0 -1
  142. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts.map +0 -1
  143. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts.map +0 -1
  144. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts.map +0 -1
  145. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +0 -1
  146. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts +0 -11
  147. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts.map +0 -1
  148. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts +0 -11
  149. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts.map +0 -1
  150. package/dist/features/blocks/inputs/textInput/components/TextInput copy.d.ts +0 -11
  151. package/dist/features/blocks/inputs/textInput/components/TextInput copy.d.ts.map +0 -1
  152. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +0 -1
  153. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +0 -1
  154. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts.map +0 -1
  155. package/dist/features/blocks/inputs/textInput/index.d.ts +0 -2
  156. package/dist/features/blocks/inputs/textInput/index.d.ts.map +0 -1
  157. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +0 -3
  158. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +0 -1
  159. package/dist/features/blocks/integrations/openai/streamChat.d.ts +0 -17
  160. package/dist/features/blocks/integrations/openai/streamChat.d.ts.map +0 -1
  161. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +0 -6
  162. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +0 -1
  163. package/dist/features/bubble/components/PreviewMessage.d.ts.map +0 -1
  164. package/dist/lib/gtag.d.ts +0 -4
  165. package/dist/lib/gtag.d.ts.map +0 -1
  166. package/tsconfig.build.json +0 -23
  167. /package/dist/features/blocks/inputs/fileUpload/{helpers → utils}/uploadFiles.d.ts +0 -0
  168. /package/dist/features/blocks/inputs/number/{numberInputHelper.d.ts → utils/numberInputHelper.d.ts} +0 -0
  169. /package/dist/features/blocks/inputs/payment/{helpers → utils}/paymentInProgressStorage.d.ts +0 -0
  170. /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
- height?: number | undefined;
57
- };
58
- } | {
59
- type: "custom-embed";
60
- content: {
61
- initFunction: {
61
+ initFunction?: {
62
62
  content: string;
63
- args: Record<string, unknown>;
64
- };
65
- url?: string | undefined;
63
+ args: Record<string, any>;
64
+ } | undefined;
66
65
  waitForEventFunction?: {
67
66
  content: string;
68
- args: Record<string, unknown>;
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
- provider?: import("@quickbot.io/schemas/features/blocks/inputs/payment/constants").PaymentProvider.STRIPE | undefined;
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
- startsAt?: number | `{{${string}}}` | undefined;
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
- googleAnalyticsId?: string | undefined;
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,qCAI3B;IACD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;CAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBA,CAAA"}
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"}