Brand OTP SMS with business name and support local SMS proxy.

Append tenant Farsi name to verification SMS, allow optional domain on send-otp, and add SMS_PROXY_* for local delivery via production. Also include websites SSL sync agent/API wiring.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-08 23:29:56 +03:30
co-authored by Cursor
parent 77f3cb2a67
commit 8f05ee2b58
14 changed files with 385 additions and 14 deletions
@@ -36,6 +36,14 @@ export class DomainAdminController {
return this.service.syncSsl(user);
}
/** Issue Let's Encrypt for storefront domains missing SSL (websites VM). */
@Post('website-ssl')
@HttpCode(200)
@UseGuards(JwtAuthGuard)
issueWebsiteSsl(@CurrentUser() user: AuthUser) {
return this.service.issueWebsiteSsl(user);
}
@Post(':domainId/deploy')
@HttpCode(202)
@UseGuards(JwtAuthGuard)
@@ -43,6 +51,13 @@ export class DomainAdminController {
return this.service.deploy(domainId, user);
}
@Post(':domainId/issue-ssl')
@HttpCode(200)
@UseGuards(JwtAuthGuard)
issueSsl(@Param('domainId') domainId: string, @CurrentUser() user: AuthUser) {
return this.service.issueSsl(domainId, user);
}
@Patch(':domainId')
@UseGuards(JwtAuthGuard)
update(