diff --git a/src/resources/shared.ts b/src/resources/shared.ts index c09358f..df39e2f 100644 --- a/src/resources/shared.ts +++ b/src/resources/shared.ts @@ -474,12 +474,6 @@ export interface ElementalQuoteNodeWithType extends ElementalQuoteNode { * Represents a body of text to be rendered inside of the notification. */ export interface ElementalTextNode extends ElementalBaseNode { - /** - * The text content displayed in the notification. Either this field must be - * specified, or the elements field - */ - content: string; - /** * Text alignment. */ @@ -495,6 +489,12 @@ export interface ElementalTextNode extends ElementalBaseNode { */ color?: string | null; + /** + * The text content displayed in the notification. Either this field must be + * specified, or the elements field + */ + content?: string; + /** * CSS px font size for this text block, e.g. `16px`. Overrides the size of the * `text_style` preset. Email only.