Skip to main content

EmailTemplateRequiredInput

No description

type EmailTemplateRequiredInput {
id: ID
name: String!
type: String!
subject: String!
fields: GQLTJson
code: String
createdAt: GQLTDate
updatedAt: GQLTDate
emails: EmailTemplateEmailsHasManyInput
emailTemplateAttachment: EmailTemplateEmailTemplateAttachmentHasManyInput
}

Fields#

id (ID)#

This a primary key for EmailTemplate

name (String!)#

define the name of the email template

type (String!)#

Type of the email-template. this is a unique value.

subject (String!)#

define the subject of the email

fields (GQLTJson)#

is a JSON type that have all the fields in the email

code (String)#

defines the mjml equivalent of the email template

createdAt (GQLTDate)#

updatedAt (GQLTDate)#

emails (EmailTemplateEmailsHasManyInput)#

This is the mutation object for EmailTemplateEmailsHasMany

emailTemplateAttachment (EmailTemplateEmailTemplateAttachmentHasManyInput)#

This is the mutation object for EmailTemplateEmailTemplateAttachmentHasMany