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:
@@ -0,0 +1,16 @@
|
||||
# Outbound SMS Log Implementation Plan
|
||||
|
||||
> **For agentic workers:** Use executing-plans / implement task-by-task.
|
||||
|
||||
**Goal:** Unified `OutboundSmsLog` from all SMS send paths; show history in `SmsComposeModal`.
|
||||
|
||||
**Architecture:** Prisma model + small logger service; write on send (manual/campaign/automation); GET history on people/leads; modal loads `historyEndpoint`.
|
||||
|
||||
## Tasks
|
||||
|
||||
- [ ] Prisma `OutboundSmsLog` + migrate
|
||||
- [ ] Shared DTOs
|
||||
- [ ] `OutboundSmsLogService` + wire send paths
|
||||
- [ ] GET sms-history endpoints
|
||||
- [ ] SmsComposeModal + parent props
|
||||
- [ ] Verify typecheck
|
||||
Reference in New Issue
Block a user