Skip to content

fix(tem): minor adjustments #2140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions api/tem/v1alpha1/tem_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,15 +485,15 @@ func (enum *ListWebhooksRequestOrderBy) UnmarshalJSON(data []byte) error {
type WebhookEventStatus string

const (
// If unspecified, the status of the Webhook Event is unknown by default.
// If unspecified, the status of the Webhook event is unknown by default.
WebhookEventStatusUnknownStatus = WebhookEventStatus("unknown_status")
// The Webhook Event has been created and is waiting to be sent.
// The Webhook event was created and is waiting to be sent.
WebhookEventStatusWaiting = WebhookEventStatus("waiting")
// The Webhook Event is in sending process.
// The Webhook event is being sent.
WebhookEventStatusSending = WebhookEventStatus("sending")
// The Webhook Event is sent.
// The Webhook event was sent.
WebhookEventStatusSent = WebhookEventStatus("sent")
// The Webhook Event cannot be sent after multiple retries.
// The Webhook event cannot be sent after multiple retries.
WebhookEventStatusError = WebhookEventStatus("error")
)

Expand Down Expand Up @@ -535,17 +535,17 @@ type WebhookEventType string
const (
// If unspecified, the type of the Webhook Event is unknown by default.
WebhookEventTypeUnknownType = WebhookEventType("unknown_type")
// The email resource is received and prepared to be sent.
// The email was received and is in preparation to be sent to the recipient servers.
WebhookEventTypeEmailQueued = WebhookEventType("email_queued")
// The email resource is sent but we received a hard-bounce from the recipient server.
// The email was sent but hard-bounced by the recipient server.
WebhookEventTypeEmailDropped = WebhookEventType("email_dropped")
// The email is sent but we received a soft-bounce from the recipient server. The Email will be retried.
// The email was sent but soft-bounced by the recipient server. In this case, the sending of the email will be automatically retried.
WebhookEventTypeEmailDeferred = WebhookEventType("email_deferred")
// The email resource as been successfully sent.
// The email was successfully sent.
WebhookEventTypeEmailDelivered = WebhookEventType("email_delivered")
// The email resource has been detected from Scaleway or the recipient server as a spam.
// The email resource was identified as spam by Scaleway or by the recipient server.
WebhookEventTypeEmailSpam = WebhookEventType("email_spam")
// The email resource hard-bounced with a mailbox not found an error.
// The email hard-bounced with a "mailbox not found" error.
WebhookEventTypeEmailMailboxNotFound = WebhookEventType("email_mailbox_not_found")
)

Expand Down
Loading