UNPKG

1.8 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var LinkTrackingOptions;
4(function (LinkTrackingOptions) {
5 LinkTrackingOptions["TextOnly"] = "TextOnly";
6 LinkTrackingOptions["HtmlOnly"] = "HtmlOnly";
7 LinkTrackingOptions["HtmlAndText"] = "HtmlAndText";
8 LinkTrackingOptions["None"] = "None";
9})(LinkTrackingOptions = exports.LinkTrackingOptions || (exports.LinkTrackingOptions = {}));
10var LinkClickLocation;
11(function (LinkClickLocation) {
12 LinkClickLocation["HTML"] = "HTML";
13 LinkClickLocation["Text"] = "Text";
14})(LinkClickLocation = exports.LinkClickLocation || (exports.LinkClickLocation = {}));
15var ServerDeliveryTypes;
16(function (ServerDeliveryTypes) {
17 ServerDeliveryTypes["Live"] = "Live";
18 ServerDeliveryTypes["Sandbox"] = "Sandbox";
19})(ServerDeliveryTypes = exports.ServerDeliveryTypes || (exports.ServerDeliveryTypes = {}));
20var Header = /** @class */ (function () {
21 function Header(Name, Value) {
22 this.Name = Name;
23 this.Value = Value;
24 }
25 return Header;
26}());
27exports.Header = Header;
28/**
29 * Attachment content
30 *
31 * @param Name - name of the attachment, for example book.pdf
32 * @param Content - Base64 encoded content, for example: fs.readFileSync('/Folder/book.pdf').toString('base64')
33 * @param ContentID - id of the attachment, in case we are referencing it, for example: cid:123book.pdf
34 */
35var Attachment = /** @class */ (function () {
36 function Attachment(Name, Content, ContentType, ContentID) {
37 if (ContentID === void 0) { ContentID = null; }
38 this.Name = Name;
39 this.Content = Content;
40 this.ContentType = ContentType;
41 this.ContentID = ContentID;
42 }
43 return Attachment;
44}());
45exports.Attachment = Attachment;
46//# sourceMappingURL=SupportingTypes.js.map
\No newline at end of file