UNPKG

967 BTypeScriptView Raw
1export declare enum LinkTrackingOptions {
2 TextOnly = "TextOnly",
3 HtmlOnly = "HtmlOnly",
4 HtmlAndText = "HtmlAndText",
5 None = "None"
6}
7export declare enum LinkClickLocation {
8 HTML = "HTML",
9 Text = "Text"
10}
11export declare enum ServerDeliveryTypes {
12 Live = "Live",
13 Sandbox = "Sandbox"
14}
15export declare class Header {
16 Name: string;
17 Value: string;
18 constructor(Name: string, Value: string);
19}
20/**
21 * Attachment content
22 *
23 * @param Name - name of the attachment, for example book.pdf
24 * @param Content - Base64 encoded content, for example: fs.readFileSync('/Folder/book.pdf').toString('base64')
25 * @param ContentID - id of the attachment, in case we are referencing it, for example: cid:123book.pdf
26 */
27export declare class Attachment {
28 Name: string;
29 ContentID: string | null;
30 Content: string;
31 ContentType: string;
32 constructor(Name: string, Content: string, ContentType: string, ContentID?: string | null);
33}