Interface BrevoNodeParameters

Source
interface BrevoNodeParameters {
    additionalFields?:
        | {
            emailAttachments?: {
                attachment: { binaryPropertyName?: string };
            };
            emailTags?: { tags: { tag?: string } };
            receipientsBCC?: { receipientBcc: { bcc?: string } };
            receipientsCC?: { receipientCc: { cc?: string } };
        }
        | {
            emailAttachments?: {
                attachment: { binaryPropertyName?: string };
            };
            emailTags?: { tags: { tag?: string } };
            templateParameters?: {
                parameterValues: { parameters?: string };
            };
        };
    attributeCategory?: | "calculated"
    | "category"
    | "global"
    | "normal"
    | "transactional";
    attributeCategoryList?: {
        categoryEnumeration?: {
            attributesValues: {
                attributeCategoryLabel?: string;
                attributeCategoryValue?: number;
            }[];
        };
    };
    attributeName?: string;
    attributeType?: "boolean"
    | "text"
    | "date"
    | "float";
    attributeValue?: string;
    createContactAttributes?: {
        attributesValues: {
            fieldName?: string;
            fieldValue?: string;
        }[];
    };
    deleteAttributeCategory?: | "calculated"
    | "category"
    | "global"
    | "normal"
    | "transactional";
    deleteAttributeName?: string;
    email?: string;
    filters?: { modifiedSince?: string };
    htmlContent?: string;
    id?: string;
    identifier?: string;
    limit?: number;
    name?: string;
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "update"
        | "delete"
        | "upsert"
        | "send"
        | "sendTemplate";
    options?: { sort?: "asc"
    | "desc" };
    receipients?: string;
    resource?: "contact" | "email" | "attribute" | "sender";
    returnAll?: boolean;
    sender?: string;
    sendHTML?: boolean;
    subject?: string;
    templateId?: string;
    textContent?: string;
    updateAttributeCategory?:
        | "calculated"
        | "category"
        | "global";
    updateAttributeCategoryList?: {
        updateCategoryEnumeration?: {
            updateAttributesValues: {
                attributeCategoryLabel?: string;
                attributeCategoryValue?: number;
            }[];
        };
    };
    updateAttributeName?: string;
    updateAttributes?: {
        updateAttributesValues: {
            fieldName?: string;
            fieldValue?: string;
        }[];
    };
    updateAttributeValue?: string;
    upsertAttributes?: {
        upsertAttributesValues: {
            fieldName?: string;
            fieldValue?: string;
        }[];
    };
}

Properties§

§readonly additionalFields?:
    | {
        emailAttachments?: {
            attachment: { binaryPropertyName?: string };
        };
        emailTags?: { tags: { tag?: string } };
        receipientsBCC?: { receipientBcc: { bcc?: string } };
        receipientsCC?: { receipientCc: { cc?: string } };
    }
    | {
        emailAttachments?: {
            attachment: { binaryPropertyName?: string };
        };
        emailTags?: { tags: { tag?: string } };
        templateParameters?: {
            parameterValues: { parameters?: string };
        };
    }

Additional fields to add Default: {}

§readonly attributeCategory?:
    | "calculated"
    | "category"
    | "global"
    | "normal"
    | "transactional"

Category of the attribute Default: "normal"

§readonly attributeCategoryList?: { ... }

Default: {}

§readonly attributeName?: string

Name of the attribute

§readonly attributeType?: "boolean" | "text" | "date" | "float"

Attribute Type

§readonly attributeValue?: string

Value of the attribute

§readonly createContactAttributes?: { ... }

Array of attributes to be added Default: {} Type options: {"multipleValues":true}

§readonly deleteAttributeCategory?:
    | "calculated"
    | "category"
    | "global"
    | "normal"
    | "transactional"

Category of the attribute Default: "normal"

§readonly deleteAttributeName?: string

Name of the attribute

§readonly email?: string

Email of the sender

§readonly filters?: { ... }

Default: {}

§readonly htmlContent?: string

HTML content of the message

§readonly id?: string

ID of the sender to delete

§readonly identifier?: string

Email (urlencoded) OR ID of the contact OR its SMS attribute value

§readonly limit?: number

Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":1000}

§readonly name?: string

Name of the sender

§readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete"
    | "upsert"
    | "send"
    | "sendTemplate"

Default: "create"

§readonly options?: { ... }

Default: {}

§readonly receipients?: string
§readonly resource?: "contact" | "email" | "attribute" | "sender"

Default: "email"

§readonly returnAll?: boolean

Whether to return all results or only up to a given limit

§readonly sender?: string
§readonly sendHTML?: boolean
§readonly subject?: string

Subject of the email

§readonly templateId?: string

Type options: {"loadOptions":{"routing":{"request":{"method":"GET","url":"/v3/smtp/templates","qs":{"templateStatus":true,"limit":1000,"offset":0,"sort":"desc"}},"output":{"postReceive":[{"type":"rootProperty","properties":{"property":"templates"}},{"type":"setKeyValue","properties":{"name":"={{$responseItem.name}}","value":"={{$responseItem.id}}"}},{"type":"sort","properties":{"key":"name"}}]}}}}

§readonly textContent?: string

Text content of the message

§readonly updateAttributeCategory?: "calculated" | "category" | "global"

Category of the attribute Default: "calculated"

§readonly updateAttributeCategoryList?: { ... }

List of the values and labels that the attribute can take Default: {}

§readonly updateAttributeName?: string

Name of the existing attribute

§readonly updateAttributes?: { ... }

Array of attributes to be updated Default: {} Type options: {"multipleValues":true}

§readonly updateAttributeValue?: string

Value of the attribute to update

§readonly upsertAttributes?: { ... }

Array of attributes to be updated Default: {} Type options: {"multipleValues":true}