import type * as Brevo from "../../../../index.js"; /** * @example * { * templateId: 1000000 * } */ export interface UpdateSmtpTemplateRequest { /** ID of the template. Can be a numeric template ID or a custom template identifier string. */ templateId: Brevo.UpdateSmtpTemplateRequestTemplateId; /** Absolute url of the attachment (**no local file**). Extensions allowed: #### xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub and eps */ attachmentUrl?: string; /** **Required if htmlUrl is empty**. If the template is designed using Drag & Drop editor via HTML content, then the design page will not have Drag & Drop editor access for that template. Body of the message (HTML must have more than 10 characters) */ htmlContent?: string; /** **Required if htmlContent is empty**. URL to the body of the email (HTML) */ htmlUrl?: string; /** Status of the template. isActive = false means template is inactive, isActive = true means template is active */ isActive?: boolean; /** Email on which campaign recipients will be able to reply to */ replyTo?: string; /** Sender details including id or email and name (_optional_). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example: **{"name":"xyz", "email":"example@abc.com"}** **{"name":"xyz", "id":123}** */ sender?: UpdateSmtpTemplateRequest.Sender; /** Subject of the email */ subject?: string; /** Tag of the template */ tag?: string; /** Name of the template */ templateName?: string; /** To personalize the **To** Field. If you want to include the first name and last name of your recipient, add **{FNAME} {LNAME}**. These contact attributes must already exist in your Brevo account. If input parameter **params** used please use **{{contact.FNAME}} {{contact.LNAME}}** for personalization */ toField?: string; } export declare namespace UpdateSmtpTemplateRequest { /** * Sender details including id or email and name (_optional_). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example: **{"name":"xyz", "email":"example@abc.com"}** **{"name":"xyz", "id":123}** */ interface Sender { /** Email of the sender */ email?: string | undefined; /** Select the sender for the template on the basis of sender id. _In order to select a sender with specific pool of IP’s, dedicated ip users shall pass id (instead of email)_. */ id?: number | undefined; /** Name of the sender */ name?: string | undefined; } }