Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Feb 27, 2024
1 parent 0d6bf68 commit 879e664
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/request_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (r *RequestOptions) cloneHeader() http.Header {
headers := r.HTTPHeader.Clone()
headers.Set("X-Fern-Language", "Go")
headers.Set("X-Fern-SDK-Name", "github.com/trycourier/courier-go/v3")
headers.Set("X-Fern-SDK-Version", "v3.0.6")
headers.Set("X-Fern-SDK-Version", "v3.0.7")
return headers
}

Expand Down
4 changes: 4 additions & 0 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -2469,6 +2469,8 @@ const (
MessageStatusCanceled MessageStatus = "CANCELED"
// The message has been accepted by the provider.
MessageStatusSent MessageStatus = "SENT"
// The message was throttled by Courier.
MessageStatusThrottled MessageStatus = "THROTTLED"
// The message could not be delivered to at least one provider, or the provider could not deliver the message to the recipient. This can happen for multiple reasons: an error, insufficient profile data, invalid notification setup, invalid integration configuration, etc.
MessageStatusUndeliverable MessageStatus = "UNDELIVERABLE"
// Could not find a corresponding notification or event for the messages.
Expand All @@ -2491,6 +2493,8 @@ func NewMessageStatusFromString(s string) (MessageStatus, error) {
return MessageStatusCanceled, nil
case "SENT":
return MessageStatusSent, nil
case "THROTTLED":
return MessageStatusThrottled, nil
case "UNDELIVERABLE":
return MessageStatusUndeliverable, nil
case "UNMAPPED":
Expand Down

0 comments on commit 879e664

Please sign in to comment.