emailengine-client
Version:
A TypeScript client for the EmailEngine API
53 lines (52 loc) • 1.32 kB
TypeScript
import { Options } from "../../../../misc/Options";
/**
* Update a stored template.
*/
export declare class UpdateTemplateOptions extends Options {
/**
* Override the EENGINE_TIMEOUT environment variable for a single API request (in milliseconds)
*/
'x-ee-timeout'?: number | undefined;
/**
* Template ID
*/
'template': string | undefined;
/**
* Update Template Details
*/
'body': {
/**
* Name of the template
*/
'name'?: string | undefined;
/**
* Optional description of the template
*/
'description'?: string | undefined;
/**
* Markup language for HTML ("html", "markdown" or "mjml")
*/
'format'?: string;
/**
* Template content
*/
'content'?: {
/**
* Message subject
*/
'subject'?: string | undefined;
/**
* Message Text
*/
'text'?: string | undefined;
/**
* Message HTML
*/
'html'?: string | undefined;
/**
* Preview text appears in the inbox after the subject line
*/
'previewText'?: string | undefined;
};
};
}