diff --git a/go.mod b/go.mod index e3f8f4c..3ba7c99 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/stretchr/testify v1.10.0 github.com/tidwall/gjson v1.18.0 github.com/tidwall/pretty v1.2.1 - github.com/trycourier/courier-go/v4 v4.29.0 + github.com/trycourier/courier-go/v4 v4.30.1 github.com/urfave/cli-docs/v3 v3.0.0-alpha6 github.com/urfave/cli/v3 v3.3.2 golang.org/x/sys v0.38.0 diff --git a/go.sum b/go.sum index 7b3d32e..978803a 100644 --- a/go.sum +++ b/go.sum @@ -65,8 +65,8 @@ github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4= github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= -github.com/trycourier/courier-go/v4 v4.29.0 h1:I8peKKW+4faENIbxmFN7G3yCrnst8yRXnWLQyxnfo5k= -github.com/trycourier/courier-go/v4 v4.29.0/go.mod h1:0ZQyZUNupRxUytcf9bLyIjCyssOKl0vT+wqjjaMaw6k= +github.com/trycourier/courier-go/v4 v4.30.1 h1:CiSbK6tsknUe0MjhNkz3A3zYwZvDCsfofLcbq3SqiuI= +github.com/trycourier/courier-go/v4 v4.30.1/go.mod h1:0ZQyZUNupRxUytcf9bLyIjCyssOKl0vT+wqjjaMaw6k= github.com/urfave/cli-docs/v3 v3.0.0-alpha6 h1:w/l/N0xw1rO/aHRIGXJ0lDwwYFOzilup1qGvIytP3BI= github.com/urfave/cli-docs/v3 v3.0.0-alpha6/go.mod h1:p7Z4lg8FSTrPB9GTaNyTrK3ygffHZcK3w0cU2VE+mzU= github.com/urfave/cli/v3 v3.3.2 h1:BYFVnhhZ8RqT38DxEYVFPPmGFTEf7tJwySTXsVRrS/o= diff --git a/gosdk/internal/version.go b/gosdk/internal/version.go index 22a6969..25804f0 100644 --- a/gosdk/internal/version.go +++ b/gosdk/internal/version.go @@ -2,4 +2,4 @@ package internal -const PackageVersion = "4.29.0" // x-release-please-version +const PackageVersion = "4.30.1" // x-release-please-version diff --git a/gosdk/shared/shared.go b/gosdk/shared/shared.go index 3ef1af6..18fbac4 100644 --- a/gosdk/shared/shared.go +++ b/gosdk/shared/shared.go @@ -956,7 +956,7 @@ type ElementalImageNode struct { // Any of "center", "left", "right", "full". Align Alignment `json:"align" api:"nullable"` // Alternate text for the image. - AltText string `json:"altText" api:"nullable"` + AltText string `json:"alt_text" api:"nullable"` // CSS border color applied to the image. For example, `#ccc` BorderColor string `json:"border_color" api:"nullable"` // CSS border width applied to the image. For example, `1px` @@ -1005,7 +1005,7 @@ type ElementalImageNodeParam struct { // The alignment of the image. Align Alignment `json:"align,omitzero"` // Alternate text for the image. - AltText param.Opt[string] `json:"altText,omitzero"` + AltText param.Opt[string] `json:"alt_text,omitzero"` // CSS border color applied to the image. For example, `#ccc` BorderColor param.Opt[string] `json:"border_color,omitzero"` // CSS border width applied to the image. For example, `1px` @@ -1226,7 +1226,7 @@ type ElementalNodeUnion struct { // This field is from variant [ElementalImageNodeWithType]. Src string `json:"src"` // This field is from variant [ElementalImageNodeWithType]. - AltText string `json:"altText"` + AltText string `json:"alt_text"` BorderColor string `json:"border_color"` BorderSize string `json:"border_size"` Href string `json:"href"` @@ -1793,7 +1793,7 @@ type ElementalQuoteNode struct { // Any of "center", "left", "right", "full". Align Alignment `json:"align" api:"nullable"` // CSS border color property. For example, `#fff` - BorderColor string `json:"borderColor" api:"nullable"` + BorderColor string `json:"border_color" api:"nullable"` // CSS px font size for this quote block, e.g. `16px`. Overrides the size of the // `text_style` preset. Email only. FontSize string `json:"font_size" api:"nullable"` @@ -1843,7 +1843,7 @@ type ElementalQuoteNodeParam struct { // Alignment of the quote. Align Alignment `json:"align,omitzero"` // CSS border color property. For example, `#fff` - BorderColor param.Opt[string] `json:"borderColor,omitzero"` + BorderColor param.Opt[string] `json:"border_color,omitzero"` // CSS px font size for this quote block, e.g. `16px`. Overrides the size of the // `text_style` preset. Email only. FontSize param.Opt[string] `json:"font_size,omitzero"`