From 5dc78cfcaf1a2fd4c4575a62f819d4ec9ff91ff2 Mon Sep 17 00:00:00 2001 From: Knee Cola Date: Tue, 6 Jan 2026 13:14:15 +0100 Subject: [PATCH] feat: add Bounced status to Bills and Rent notification enums --- shared-code/src/db-types.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/shared-code/src/db-types.ts b/shared-code/src/db-types.ts index f3d1807..202d61d 100644 --- a/shared-code/src/db-types.ts +++ b/shared-code/src/db-types.ts @@ -62,14 +62,18 @@ export enum BillsNotificationStatus { /** Bills notification has been sent */ Sent = "sent", /** Sending of bills notification failed */ - Failed = "failed" + Failed = "failed", + /** Email to tenant has bounced (set by webhook) */ + Bounced = "bounced" } export enum RentNotificationStatus { /** notification has been sent */ Sent = "sent", /** Sending of notification failed */ - Failed = "failed" + Failed = "failed", + /** Email to tenant has bounced (set by webhook) */ + Bounced = "bounced" } /** bill object in the form returned by MongoDB */