// Package domain contains core business entities. package domain import "time" // NotifyCredentials holds per-project email delivery credentials. type NotifyCredentials struct { // ProjectID is the rdev project this credential set belongs to. ProjectID string // AccountID is the notify service account UUID (used for deletion). AccountID string // APIKey is the notify send key (notify_send_...) for sending emails. APIKey string // Host is the per-project sending host (e.g., "mail.{slug}.threesix.ai"). Host string // From is the from-address for outgoing email (e.g., "noreply@mail.{slug}.threesix.ai"). From string // ResendDomainID is the Resend domain UUID (used for deletion). ResendDomainID string // CreatedAt is when the credentials were provisioned. CreatedAt time.Time } // NotifyDomainStatus holds the Resend verification status for a project's email domain. type NotifyDomainStatus struct { // Host is the per-project sending host (e.g., "mail.slug.threesix.ai"). Host string // ResendDomainID is the Resend domain UUID. ResendDomainID string // Status is the Resend verification status: "verified", "pending", "failed", or "not_configured". Status string }