Add schedule api (#60)

This commit is contained in:
KM Koushik
2024-08-21 17:19:11 +10:00
committed by GitHub
parent 1e66222425
commit 9b54fc1793
21 changed files with 920 additions and 86 deletions

View File

@@ -166,6 +166,7 @@ model ApiKey {
}
enum EmailStatus {
SCHEDULED
QUEUED
SENT
DELIVERY_DELAYED
@@ -177,6 +178,7 @@ enum EmailStatus {
CLICKED
COMPLAINED
FAILED
CANCELLED
}
model Email {
@@ -195,6 +197,7 @@ model Email {
domainId Int?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
scheduledAt DateTime?
attachments String?
campaignId String?
contactId String?