namespace InboxIntel.Application.DTOs; public record InboxHealthDto( int Score, // 0-100 string Grade, // A-F int TotalEmails, int UnreadEmails, int NewsletterCount, int SafeToUnsubscribeCount, long EstimatedStorageBytes, IReadOnlyList Recommendations); public record TimeSeriesPointDto(DateOnly Day, int Count); public record HeatmapCellDto(int DayOfWeek, int Hour, int Count); /// Email counts per category per day-of-week, for the category heatmap. public record CategoryHeatmapCellDto(string Category, int DayOfWeek, int Count); /// Counts for the sidebar: mailbox labels, special filters, and smart folders. public record SidebarCountsDto( int Inbox, int AllMail, int Unread, int Starred, int Sent, int Drafts, int Trash, int Spam, int Large, int Old, IReadOnlyDictionary SmartFolders); public record AttachmentBreakdownDto(string MimeBucket, long TotalBytes, int Count); public record DashboardSummaryDto( InboxHealthDto Health, int TotalEmails, int UnreadEmails, IReadOnlyList TopSenders, IReadOnlyList VolumeOverTime, IReadOnlyList Heatmap, IReadOnlyList AttachmentBreakdown, long StorageEstimateBytes);