@botpress/webchat 2.3.0 → 2.3.1
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/.turbo/turbo-build.log +7 -7
- package/dist/gen/client/models.d.ts +0 -52
- package/dist/gen/client/operations/createMessage.d.ts +0 -104
- package/dist/gen/client/operations/getMessage.d.ts +0 -52
- package/dist/gen/client/operations/listConversationMessages.d.ts +0 -52
- package/dist/gen/signals/index.d.ts +0 -93
- package/dist/gen/signals/messageCreated.t.d.ts +0 -52
- package/dist/gen/signals/messageCreated.z.d.ts +0 -93
- package/dist/index.js +34 -59
- package/dist/index.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/dist/styles/classes.d.ts +22 -22
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13804,22 +13804,22 @@ function pL(e) {
|
|
|
13804
13804
|
}
|
|
13805
13805
|
const ht = {
|
|
13806
13806
|
container: {
|
|
13807
|
-
className: "bpContainer"
|
|
13807
|
+
className: "bpReset bpContainer"
|
|
13808
13808
|
},
|
|
13809
13809
|
modal: {
|
|
13810
13810
|
container: {
|
|
13811
|
-
className: "bpModalContainer"
|
|
13811
|
+
className: "bpReset bpModalContainer"
|
|
13812
13812
|
},
|
|
13813
13813
|
overlay: {
|
|
13814
13814
|
className: "bpModalOverlay"
|
|
13815
13815
|
},
|
|
13816
13816
|
dialog: {
|
|
13817
13817
|
container: {
|
|
13818
|
-
className: "bpModalDialogContainer"
|
|
13818
|
+
className: "bpReset bpModalDialogContainer"
|
|
13819
13819
|
},
|
|
13820
13820
|
title: {
|
|
13821
13821
|
container: {
|
|
13822
|
-
className: "bpModalDialogTitleContainer"
|
|
13822
|
+
className: "bpReset bpModalDialogTitleContainer"
|
|
13823
13823
|
},
|
|
13824
13824
|
text: {
|
|
13825
13825
|
className: "bpModalDialogTitleText"
|
|
@@ -13843,7 +13843,7 @@ const ht = {
|
|
|
13843
13843
|
},
|
|
13844
13844
|
fab: {
|
|
13845
13845
|
container: {
|
|
13846
|
-
className: "bpFabContainer"
|
|
13846
|
+
className: "bpReset bpFabContainer"
|
|
13847
13847
|
},
|
|
13848
13848
|
icon: {
|
|
13849
13849
|
className: "bpFabIcon"
|
|
@@ -13851,7 +13851,7 @@ const ht = {
|
|
|
13851
13851
|
},
|
|
13852
13852
|
notification: {
|
|
13853
13853
|
container: {
|
|
13854
|
-
className: "bpNotificationContainer"
|
|
13854
|
+
className: "bpReset bpNotificationContainer"
|
|
13855
13855
|
},
|
|
13856
13856
|
title: {
|
|
13857
13857
|
className: "bpNotificationTitle"
|
|
@@ -13868,11 +13868,11 @@ const ht = {
|
|
|
13868
13868
|
},
|
|
13869
13869
|
header: {
|
|
13870
13870
|
container: {
|
|
13871
|
-
className: "bpHeaderContainer"
|
|
13871
|
+
className: "bpReset bpHeaderContainer"
|
|
13872
13872
|
},
|
|
13873
13873
|
content: {
|
|
13874
13874
|
container: {
|
|
13875
|
-
className: "bpHeaderContentContainer"
|
|
13875
|
+
className: "bpReset bpHeaderContentContainer"
|
|
13876
13876
|
},
|
|
13877
13877
|
title: {
|
|
13878
13878
|
className: "bpHeaderContentTitle"
|
|
@@ -13882,7 +13882,7 @@ const ht = {
|
|
|
13882
13882
|
},
|
|
13883
13883
|
avatar: {
|
|
13884
13884
|
container: {
|
|
13885
|
-
className: "bpHeaderContentAvatarContainer"
|
|
13885
|
+
className: "bpReset bpHeaderContentAvatarContainer"
|
|
13886
13886
|
},
|
|
13887
13887
|
image: {
|
|
13888
13888
|
className: "bpHeaderContentAvatarImage"
|
|
@@ -13893,7 +13893,7 @@ const ht = {
|
|
|
13893
13893
|
},
|
|
13894
13894
|
actions: {
|
|
13895
13895
|
container: {
|
|
13896
|
-
className: "bpHeaderContentActionsContainer"
|
|
13896
|
+
className: "bpReset bpHeaderContentActionsContainer"
|
|
13897
13897
|
},
|
|
13898
13898
|
icons: {
|
|
13899
13899
|
className: "bpHeaderContentActionsIcons"
|
|
@@ -13902,11 +13902,11 @@ const ht = {
|
|
|
13902
13902
|
},
|
|
13903
13903
|
expandedContent: {
|
|
13904
13904
|
container: {
|
|
13905
|
-
className: "bpHeaderExpandedContentContainer"
|
|
13905
|
+
className: "bpReset bpHeaderExpandedContentContainer"
|
|
13906
13906
|
},
|
|
13907
13907
|
descriptionItems: {
|
|
13908
13908
|
container: {
|
|
13909
|
-
className: "bpHeaderExpandedContentDescriptionItemsContainer"
|
|
13909
|
+
className: "bpReset bpHeaderExpandedContentDescriptionItemsContainer"
|
|
13910
13910
|
},
|
|
13911
13911
|
icon: {
|
|
13912
13912
|
className: "bpHeaderExpandedContentDescriptionItemsIcon"
|
|
@@ -13928,7 +13928,7 @@ const ht = {
|
|
|
13928
13928
|
},
|
|
13929
13929
|
composer: {
|
|
13930
13930
|
container: {
|
|
13931
|
-
className: "bpComposerContainer"
|
|
13931
|
+
className: "bpReset bpComposerContainer"
|
|
13932
13932
|
},
|
|
13933
13933
|
poweredBy: {
|
|
13934
13934
|
className: "bpComposerPoweredBy"
|
|
@@ -13938,7 +13938,7 @@ const ht = {
|
|
|
13938
13938
|
},
|
|
13939
13939
|
button: {
|
|
13940
13940
|
container: {
|
|
13941
|
-
className: "bpComposerButtonContainer"
|
|
13941
|
+
className: "bpReset bpComposerButtonContainer"
|
|
13942
13942
|
},
|
|
13943
13943
|
icon: {
|
|
13944
13944
|
className: "bpComposerButtonIcon"
|
|
@@ -13949,7 +13949,7 @@ const ht = {
|
|
|
13949
13949
|
className: "bpComposerUploadButtonIcon"
|
|
13950
13950
|
},
|
|
13951
13951
|
container: {
|
|
13952
|
-
className: "bpComposerUploadButtonContainer"
|
|
13952
|
+
className: "bpReset bpComposerUploadButtonContainer"
|
|
13953
13953
|
}
|
|
13954
13954
|
},
|
|
13955
13955
|
voiceButton: {
|
|
@@ -13957,14 +13957,14 @@ const ht = {
|
|
|
13957
13957
|
className: "bpComposerVoiceButtonIcon"
|
|
13958
13958
|
},
|
|
13959
13959
|
container: {
|
|
13960
|
-
className: "bpComposerVoiceButtonContainer"
|
|
13960
|
+
className: "bpReset bpComposerVoiceButtonContainer"
|
|
13961
13961
|
}
|
|
13962
13962
|
}
|
|
13963
13963
|
},
|
|
13964
13964
|
messageList: {
|
|
13965
13965
|
scrollDownButton: {
|
|
13966
13966
|
container: {
|
|
13967
|
-
className: "bpMessageListScrollDownButtonContainer"
|
|
13967
|
+
className: "bpReset bpMessageListScrollDownButtonContainer"
|
|
13968
13968
|
},
|
|
13969
13969
|
button: {
|
|
13970
13970
|
className: "bpMessageListScrollDownButtonButton"
|
|
@@ -13974,14 +13974,14 @@ const ht = {
|
|
|
13974
13974
|
}
|
|
13975
13975
|
},
|
|
13976
13976
|
container: {
|
|
13977
|
-
className: "bpMessageListContainer"
|
|
13977
|
+
className: "bpReset bpMessageListContainer"
|
|
13978
13978
|
},
|
|
13979
13979
|
viewPort: {
|
|
13980
13980
|
className: "bpMessageListViewport"
|
|
13981
13981
|
},
|
|
13982
13982
|
marquee: {
|
|
13983
13983
|
container: {
|
|
13984
|
-
className: "bpMessageListMarqueeContainer"
|
|
13984
|
+
className: "bpReset bpMessageListMarqueeContainer"
|
|
13985
13985
|
},
|
|
13986
13986
|
content: {
|
|
13987
13987
|
className: "bpMessageListMarqueeContent"
|
|
@@ -13994,7 +13994,7 @@ const ht = {
|
|
|
13994
13994
|
},
|
|
13995
13995
|
avatar: {
|
|
13996
13996
|
container: {
|
|
13997
|
-
className: "bpMessageListMarqueeAvatarContainer"
|
|
13997
|
+
className: "bpReset bpMessageListMarqueeAvatarContainer"
|
|
13998
13998
|
},
|
|
13999
13999
|
image: {
|
|
14000
14000
|
className: "bpMessageListMarqueeAvatarImage"
|
|
@@ -14010,11 +14010,11 @@ const ht = {
|
|
|
14010
14010
|
},
|
|
14011
14011
|
message: {
|
|
14012
14012
|
container: {
|
|
14013
|
-
className: "bpMessageContainer"
|
|
14013
|
+
className: "bpReset bpMessageContainer"
|
|
14014
14014
|
},
|
|
14015
14015
|
avatar: {
|
|
14016
14016
|
container: {
|
|
14017
|
-
className: "bpMessageAvatarContainer"
|
|
14017
|
+
className: "bpReset bpMessageAvatarContainer"
|
|
14018
14018
|
},
|
|
14019
14019
|
image: {
|
|
14020
14020
|
className: "bpMessageAvatarImage"
|
|
@@ -17840,15 +17840,11 @@ const M4 = /* @__PURE__ */ Ue(D4), j4 = (e, t = {}) => {
|
|
|
17840
17840
|
"Creation date of the [Message](#schema_message) in ISO 8601 format"
|
|
17841
17841
|
),
|
|
17842
17842
|
payload: x.union([
|
|
17843
|
-
x.object({
|
|
17844
|
-
audioUrl: x.string().min(1),
|
|
17845
|
-
className: x.string().describe("CSS className to apply to the message").optional(),
|
|
17846
|
-
type: x.literal("audio")
|
|
17847
|
-
}),
|
|
17843
|
+
x.object({ audioUrl: x.string().min(1), type: x.literal("audio") }),
|
|
17848
17844
|
x.object({
|
|
17849
17845
|
title: x.string().min(1),
|
|
17850
|
-
subtitle: x.string().optional(),
|
|
17851
|
-
imageUrl: x.string().optional(),
|
|
17846
|
+
subtitle: x.string().min(1).optional(),
|
|
17847
|
+
imageUrl: x.string().min(1).optional(),
|
|
17852
17848
|
actions: x.array(
|
|
17853
17849
|
x.object({
|
|
17854
17850
|
action: x.enum(["postback", "url", "say"]),
|
|
@@ -17856,79 +17852,59 @@ const M4 = /* @__PURE__ */ Ue(D4), j4 = (e, t = {}) => {
|
|
|
17856
17852
|
value: x.string().min(1)
|
|
17857
17853
|
})
|
|
17858
17854
|
),
|
|
17859
|
-
type: x.literal("card")
|
|
17860
|
-
className: x.string().describe("CSS className to apply to the message").optional()
|
|
17855
|
+
type: x.literal("card")
|
|
17861
17856
|
}),
|
|
17862
17857
|
x.object({
|
|
17863
17858
|
items: x.array(
|
|
17864
17859
|
x.object({
|
|
17865
17860
|
title: x.string().min(1),
|
|
17866
|
-
subtitle: x.string().optional(),
|
|
17867
|
-
imageUrl: x.string().optional(),
|
|
17861
|
+
subtitle: x.string().min(1).optional(),
|
|
17862
|
+
imageUrl: x.string().min(1).optional(),
|
|
17868
17863
|
actions: x.array(
|
|
17869
17864
|
x.object({
|
|
17870
17865
|
action: x.enum(["postback", "url", "say"]),
|
|
17871
17866
|
label: x.string().min(1),
|
|
17872
17867
|
value: x.string().min(1)
|
|
17873
17868
|
})
|
|
17874
|
-
)
|
|
17875
|
-
className: x.string().describe("CSS className to apply to the message").optional()
|
|
17869
|
+
)
|
|
17876
17870
|
})
|
|
17877
17871
|
),
|
|
17878
|
-
className: x.string().describe("CSS className to apply to the message").optional(),
|
|
17879
17872
|
type: x.literal("carousel")
|
|
17880
17873
|
}),
|
|
17881
17874
|
x.object({
|
|
17882
|
-
text: x.string(),
|
|
17875
|
+
text: x.string().min(1),
|
|
17883
17876
|
options: x.array(
|
|
17884
17877
|
x.object({ label: x.string().min(1), value: x.string().min(1) })
|
|
17885
17878
|
),
|
|
17886
|
-
className: x.string().describe("CSS className to apply to the message").optional(),
|
|
17887
17879
|
type: x.literal("choice"),
|
|
17888
17880
|
disableFreeText: x.boolean().optional()
|
|
17889
17881
|
}),
|
|
17890
17882
|
x.object({
|
|
17891
|
-
text: x.string(),
|
|
17883
|
+
text: x.string().min(1),
|
|
17892
17884
|
options: x.array(
|
|
17893
17885
|
x.object({ label: x.string().min(1), value: x.string().min(1) })
|
|
17894
17886
|
),
|
|
17895
|
-
className: x.string().describe("CSS className to apply to the message").optional(),
|
|
17896
17887
|
type: x.literal("dropdown")
|
|
17897
17888
|
}),
|
|
17898
17889
|
x.object({
|
|
17899
17890
|
fileUrl: x.string().min(1),
|
|
17900
17891
|
title: x.string().min(1).optional(),
|
|
17901
|
-
className: x.string().describe("CSS className to apply to the message").optional(),
|
|
17902
17892
|
type: x.literal("file")
|
|
17903
17893
|
}),
|
|
17904
|
-
x.object({
|
|
17905
|
-
imageUrl: x.string().min(1),
|
|
17906
|
-
className: x.string().describe("CSS className to apply to the message").optional(),
|
|
17907
|
-
type: x.literal("image")
|
|
17908
|
-
}),
|
|
17894
|
+
x.object({ imageUrl: x.string().min(1), type: x.literal("image") }),
|
|
17909
17895
|
x.object({
|
|
17910
17896
|
latitude: x.number(),
|
|
17911
17897
|
longitude: x.number(),
|
|
17912
17898
|
address: x.string().optional(),
|
|
17913
17899
|
title: x.string().optional(),
|
|
17914
|
-
className: x.string().describe("CSS className to apply to the message").optional(),
|
|
17915
17900
|
type: x.literal("location")
|
|
17916
17901
|
}),
|
|
17917
17902
|
x.object({
|
|
17918
17903
|
markdown: x.string().min(1),
|
|
17919
|
-
className: x.string().describe("CSS className to apply to the message").optional(),
|
|
17920
17904
|
type: x.literal("markdown")
|
|
17921
17905
|
}),
|
|
17922
|
-
x.object({
|
|
17923
|
-
|
|
17924
|
-
className: x.string().describe("CSS className to apply to the message").optional(),
|
|
17925
|
-
type: x.literal("text")
|
|
17926
|
-
}),
|
|
17927
|
-
x.object({
|
|
17928
|
-
videoUrl: x.string().min(1),
|
|
17929
|
-
className: x.string().describe("CSS className to apply to the message").optional(),
|
|
17930
|
-
type: x.literal("video")
|
|
17931
|
-
}),
|
|
17906
|
+
x.object({ text: x.string().min(1), type: x.literal("text") }),
|
|
17907
|
+
x.object({ videoUrl: x.string().min(1), type: x.literal("video") }),
|
|
17932
17908
|
x.object({
|
|
17933
17909
|
items: x.array(
|
|
17934
17910
|
x.union([
|
|
@@ -17970,7 +17946,6 @@ const M4 = /* @__PURE__ */ Ue(D4), j4 = (e, t = {}) => {
|
|
|
17970
17946
|
})
|
|
17971
17947
|
])
|
|
17972
17948
|
),
|
|
17973
|
-
className: x.string().describe("CSS className to apply to the message").optional(),
|
|
17974
17949
|
type: x.literal("bloc")
|
|
17975
17950
|
})
|
|
17976
17951
|
]).describe("Payload is the content type of the message."),
|