feat: send one SMS from a person or lead and keep the dashboard inside the phone frame

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-13 21:05:17 +03:30
co-authored by Cursor
parent 13ee70764b
commit 42f0573a5f
13 changed files with 733 additions and 113 deletions
@@ -110,6 +110,15 @@ export class PeopleController {
return this.peopleService.birthdaysThisMonth(user);
}
@Post(':id/sms')
sms(
@CurrentUser() user: Actor,
@Param('id') id: string,
@Body() dto: BirthdaySmsDto,
) {
return this.peopleService.sendSms(user, id, dto.text);
}
@Post(':id/birthday-sms')
birthdaySms(
@CurrentUser() user: Actor,