File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -487,14 +487,12 @@ type WebhookEventStatus string
487
487
const (
488
488
// If unspecified, the status of the Webhook event is unknown by default.
489
489
WebhookEventStatusUnknownStatus = WebhookEventStatus ("unknown_status" )
490
- // The Webhook event was created and is waiting to be sent.
491
- WebhookEventStatusWaiting = WebhookEventStatus ("waiting" )
492
490
// The Webhook event is being sent.
493
491
WebhookEventStatusSending = WebhookEventStatus ("sending" )
494
492
// The Webhook event was sent.
495
493
WebhookEventStatusSent = WebhookEventStatus ("sent" )
496
494
// The Webhook event cannot be sent after multiple retries.
497
- WebhookEventStatusError = WebhookEventStatus ("error " )
495
+ WebhookEventStatusFailed = WebhookEventStatus ("failed " )
498
496
)
499
497
500
498
func (enum WebhookEventStatus ) String () string {
@@ -508,10 +506,9 @@ func (enum WebhookEventStatus) String() string {
508
506
func (enum WebhookEventStatus ) Values () []WebhookEventStatus {
509
507
return []WebhookEventStatus {
510
508
"unknown_status" ,
511
- "waiting" ,
512
509
"sending" ,
513
510
"sent" ,
514
- "error " ,
511
+ "failed " ,
515
512
}
516
513
}
517
514
You can’t perform that action at this time.
0 commit comments