Skip to content

Commit cd1f744

Browse files
scaleway-botyfodil
andauthored
feat(vpcgw): enable v2 (scaleway#2362)
Co-authored-by: Yacine Fodil <[email protected]>
1 parent d43b2b5 commit cd1f744

File tree

2 files changed

+1924
-0
lines changed

2 files changed

+1924
-0
lines changed

api/tem/v1alpha1/tem_sdk.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,10 @@ const (
634634
WebhookEventTypeEmailSpam = WebhookEventType("email_spam")
635635
// The email hard-bounced with a "mailbox not found" error.
636636
WebhookEventTypeEmailMailboxNotFound = WebhookEventType("email_mailbox_not_found")
637+
// The email was blocked before it was sent, as the recipient matches a blocklist.
638+
WebhookEventTypeEmailBlocklisted = WebhookEventType("email_blocklisted")
639+
// A new blocklist is created.
640+
WebhookEventTypeBlocklistCreated = WebhookEventType("blocklist_created")
637641
)
638642

639643
func (enum WebhookEventType) String() string {
@@ -653,6 +657,8 @@ func (enum WebhookEventType) Values() []WebhookEventType {
653657
"email_delivered",
654658
"email_spam",
655659
"email_mailbox_not_found",
660+
"email_blocklisted",
661+
"blocklist_created",
656662
}
657663
}
658664

0 commit comments

Comments
 (0)