feat: log outbound SMS and show history in compose modal
Persist manual, campaign, and automation SMS; expose history APIs for people and leads. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -788,6 +788,7 @@ onBeforeUnmount(() => narrowMq?.removeEventListener('change', syncNarrow));
|
||||
:open="smsOpen"
|
||||
title="ارسال پیامک"
|
||||
:endpoint="`/leads/${lead.id}/sms`"
|
||||
:history-endpoint="`/leads/${lead.id}/sms-history`"
|
||||
:name="lead.contactName || lead.title"
|
||||
:phone="lead.mobile || lead.phone || ''"
|
||||
:record-title="lead.title"
|
||||
|
||||
@@ -1105,6 +1105,7 @@ watch(() => route.query.tab, readTab, { immediate: true });
|
||||
:open="smsOpen"
|
||||
title="ارسال پیامک"
|
||||
:endpoint="`/people/${id}/sms`"
|
||||
:history-endpoint="`/people/${id}/sms-history`"
|
||||
:name="fullName"
|
||||
:phone="phoneNumber"
|
||||
:record-title="fullName"
|
||||
|
||||
Reference in New Issue
Block a user