chore: init project
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using InboxIntel.Domain.Enums;
|
||||
|
||||
namespace InboxIntel.Application.DTOs;
|
||||
|
||||
public record EmailSummaryDto(
|
||||
Guid Id,
|
||||
string GmailMessageId,
|
||||
string? Subject,
|
||||
string? Snippet,
|
||||
string SenderAddress,
|
||||
string? SenderDisplayName,
|
||||
DateTimeOffset SentAtUtc,
|
||||
bool IsUnread,
|
||||
bool HasAttachments,
|
||||
long SizeEstimateBytes,
|
||||
EmailCategory Category);
|
||||
|
||||
public record SenderStatDto(
|
||||
Guid SenderId,
|
||||
string Address,
|
||||
string? DisplayName,
|
||||
string Domain,
|
||||
int EmailCount,
|
||||
int UnreadCount,
|
||||
long TotalSizeBytes,
|
||||
bool HasUnsubscribe,
|
||||
DateTimeOffset? LastReceivedUtc);
|
||||
|
||||
public record AttachmentDto(
|
||||
Guid Id,
|
||||
string FileName,
|
||||
string? MimeType,
|
||||
long SizeBytes);
|
||||
Reference in New Issue
Block a user