From 9a07099e7fa5f416ac41d37c90244908d82adbb3 Mon Sep 17 00:00:00 2001 From: Andrew DiZenzo <59515127+andrewtdiz@users.noreply.github.com> Date: Thu, 17 Jul 2025 12:24:24 -0700 Subject: [PATCH] Update EmailType Missing `email.failed` as per docs. https://resend.com/docs/dashboard/webhooks/event-types#email-failed --- with-webhooks/src/types/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/with-webhooks/src/types/index.ts b/with-webhooks/src/types/index.ts index 92a9c3eb..84eb6de1 100644 --- a/with-webhooks/src/types/index.ts +++ b/with-webhooks/src/types/index.ts @@ -5,7 +5,8 @@ export type EmailType = | 'email.complained' | 'email.bounced' | 'email.opened' - | 'email.clicked'; + | 'email.clicked' + | 'email.failed'; export interface WebhookEvent { created_at: string;