A marketing email

Constructors

Properties

activeDomain?: string

The active domain of the email.

archived?: boolean

Determines if the email is archived or not.

businessUnitId?: string
campaign?: string

The campaign id on the email.

campaignName?: string
clonedFrom?: string
createdAt?: Date

The date and time of the email's creation, in ISO8601 representation.

createdById?: string

The id of the user who created the email.

deletedAt?: Date
feedbackSurveyId?: string

The ID of the feedback survey linked to the email.

folderId?: number
id: string

The email ID.

isPublished?: boolean

Returns the published status of the email. This is read only.

isTransactional?: boolean

Returns whether the email is a transactional email or not. This is read only.

jitterSendTime?: boolean
name: string

The name of the email, as displayed on the email dashboard.

publishDate?: Date

The date and time the email is scheduled for, in ISO8601 representation. This is only used in local time or scheduled emails.

publishedAt?: Date

The date and time the email was published at, in ISO8601 representation.

publishedById?: string
sendOnPublish: boolean

Determines whether the email will be sent immediately on publish.

The email state.

subcategory: string

The email subcategory.

subject: string

The subject of the email.

subscriptionDetails?: PublicEmailSubscriptionDetails

The email type, this is derived from other properties on the email such as subcategory.

updatedAt?: Date

The date and time of the last update to the email, in ISO8601 representation.

updatedById?: string

The id of the user who last updated the email.

workflowNames?: string[]
attributeTypeMap: {
    baseName: string;
    format: string;
    name: string;
    type: string;
}[] = ...
discriminator: undefined | string = undefined
mapping: undefined | {
    [index: string]: string;
} = undefined

Methods

  • Returns {
        baseName: string;
        format: string;
        name: string;
        type: string;
    }[]