Pular para o conteúdo principal

Email & Notification Entities

Entities for email templates, email history, custom SMTP, employee notifications, and broadcasts.

EmailTemplate

ColumnTypeDescription
namestringTemplate identifier
languageCodestringLanguage code (e.g., en)
mjmlstring?MJML source
hbsstringHandlebars HTML template

EmailHistory

ColumnTypeDescription
namestringTemplate name used
contentstringRendered email content
emailstringRecipient email address
statusenum?Delivery status

CustomSmtp

ColumnTypeDescription
hoststringSMTP host
portnumberSMTP port
securebooleanUse TLS
usernamestringSMTP username
passwordstringSMTP password (encrypted)
fromAddressstring?From email address
isValidateboolean?Validation status

EmployeeNotification

ColumnTypeDescription
titlestringNotification title
descriptionstring?Notification body
isReadbooleanRead status
entitystring?Related entity type
entityIdUUID?Related entity ID
employeeIdUUIDFK to employee

EmployeeNotificationSetting

ColumnTypeDescription
assignTaskbooleanNotify on task assignment
unassignTaskbooleanNotify on unassignment
createdTaskbooleanNotify on task creation
mentionedInCommentbooleanNotify on @mention
commentOnTaskbooleanNotify on task comment
statusChangeForTaskbooleanNotify on status change
employeeIdUUIDFK to employee

Broadcast

Organization-wide broadcast messages.

ColumnTypeDescription
titlestringBroadcast title
descriptionstring?Message body
typeenum?Broadcast type