1 parent 34c1532 commit 8db30c6Copy full SHA for 8db30c6
1 file changed
src/modules/agents.ts
@@ -74,12 +74,17 @@ export function createAgentsModule({
74
});
75
};
76
77
+ const generateUserWhatsAppLink = (agentName: string) => {
78
+ return axios.post(`/whatsapp/generate-user-link`, { agent_name: agentName });
79
+ };
80
+
81
return {
82
getConversations,
83
getConversation,
84
listConversations,
85
createConversation,
86
addMessage,
87
subscribeToConversation,
88
+ generateUserWhatsAppLink,
89
90
}
0 commit comments