Implement multi-user WhatsApp notifications and settings UI

This commit is contained in:
AyrisAI
2026-05-14 22:41:06 +03:00
parent b0139b6cab
commit 1098668dc4
6 changed files with 254 additions and 14 deletions

View File

@@ -18,6 +18,9 @@ model User {
role String @default("DOMAIN_ADMIN") // SUPER_ADMIN or DOMAIN_ADMIN
domains String[] @default([]) // ["*"] or list of domains
telegramId String?
telegramEnabled Boolean @default(true)
whatsappNumber String?
whatsappEnabled Boolean @default(false)
mailboxMappings MailboxMapping[]
notificationConfigs NotificationConfig[]
notificationLogs NotificationLog[]