feat: Conversation transcript in widget (#2549)
This commit is contained in:
parent
fc4ef1595b
commit
15085cfb98
13 changed files with 200 additions and 46 deletions
|
@ -42,6 +42,12 @@ const setUserLastSeenAt = async ({ lastSeen }) => {
|
|||
{ contact_last_seen_at: lastSeen }
|
||||
);
|
||||
};
|
||||
const sendEmailTranscript = async ({ email }) => {
|
||||
return API.post(
|
||||
`/api/v1/widget/conversations/transcript${window.location.search}`,
|
||||
{ email }
|
||||
);
|
||||
};
|
||||
|
||||
export {
|
||||
createConversationAPI,
|
||||
|
@ -51,4 +57,5 @@ export {
|
|||
sendAttachmentAPI,
|
||||
toggleTyping,
|
||||
setUserLastSeenAt,
|
||||
sendEmailTranscript,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue