chore: init project
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
namespace InboxIntel.Domain.Enums;
|
||||
|
||||
/// <summary>AI-derived (or heuristic) classification of an email.</summary>
|
||||
public enum EmailCategory
|
||||
{
|
||||
Unknown = 0,
|
||||
Personal = 1,
|
||||
Newsletter = 2,
|
||||
Finance = 3,
|
||||
Spam = 4,
|
||||
Promotional = 5,
|
||||
Social = 6,
|
||||
Notification = 7
|
||||
}
|
||||
|
||||
/// <summary>State machine for a sync run.</summary>
|
||||
public enum SyncStatus
|
||||
{
|
||||
Idle = 0,
|
||||
Running = 1,
|
||||
Paused = 2,
|
||||
Completed = 3,
|
||||
Failed = 4
|
||||
}
|
||||
|
||||
public enum SyncType
|
||||
{
|
||||
Full = 0,
|
||||
Incremental = 1
|
||||
}
|
||||
|
||||
/// <summary>Bulk cleanup action types. All are reversible except HardDelete.</summary>
|
||||
public enum CleanupActionType
|
||||
{
|
||||
Archive = 0,
|
||||
Trash = 1,
|
||||
HardDelete = 2,
|
||||
AddLabel = 3,
|
||||
RemoveLabel = 4,
|
||||
MarkRead = 5,
|
||||
MarkUnread = 6
|
||||
}
|
||||
|
||||
public enum UnsubscribeMethod
|
||||
{
|
||||
None = 0,
|
||||
HttpLink = 1,
|
||||
MailTo = 2,
|
||||
OneClickPost = 3
|
||||
}
|
||||
|
||||
public enum UnsubscribeStatus
|
||||
{
|
||||
Detected = 0,
|
||||
Queued = 1,
|
||||
InProgress = 2,
|
||||
Succeeded = 3,
|
||||
Failed = 4,
|
||||
Skipped = 5
|
||||
}
|
||||
|
||||
public enum AiProviderMode
|
||||
{
|
||||
Disabled = 0,
|
||||
LocalOllama = 1,
|
||||
CloudOpenAi = 2
|
||||
}
|
||||
Reference in New Issue
Block a user