add campaign api (#274)

This commit is contained in:
KM Koushik authored and GitHub committed 2025-10-18 10:31:43 +11:00
1 parent e631f16c85
commit a5ca3b2f87
31 files changed
+2093 -187

No files matched your search

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Campaign" ADD COLUMN "isApi" BOOLEAN NOT NULL DEFAULT false;
+1
View File
@@ -365,6 +365,7 @@ model Campaign {
bounced Int @default(0)
hardBounced Int @default(0)
complained Int @default(0)
isApi Boolean @default(false)
status CampaignStatus @default(DRAFT)
batchSize Int @default(500)
batchWindowMinutes Int @default(0)