postmark
Version:
Official Node.js client library for the Postmark HTTP API - https://www.postmarkapp.com
51 lines • 3.01 kB
JavaScript
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreateServerRequest = exports.UpdateServerRequest = void 0;
var UpdateServerRequest = /** @class */ (function () {
function UpdateServerRequest(Name, Color, SmtpApiActivated, RawEmailEnabled, InboundHookUrl, BounceHookUrl, OpenHookUrl, DeliveryHookUrl, ClickHookUrl, PostFirstOpenOnly, InboundSpamThreshold, TrackOpens, TrackLinks, IncludeBounceContentInHook, EnableSmtpApiErrorHooks, InboundDomain) {
this.Name = Name;
this.Color = Color;
this.SmtpApiActivated = SmtpApiActivated;
this.RawEmailEnabled = RawEmailEnabled;
this.InboundHookUrl = InboundHookUrl;
this.BounceHookUrl = BounceHookUrl;
this.OpenHookUrl = OpenHookUrl;
this.DeliveryHookUrl = DeliveryHookUrl;
this.ClickHookUrl = ClickHookUrl;
this.PostFirstOpenOnly = PostFirstOpenOnly;
this.InboundSpamThreshold = InboundSpamThreshold;
this.InboundDomain = InboundDomain;
this.TrackOpens = TrackOpens;
this.TrackLinks = TrackLinks;
this.IncludeBounceContentInHook = IncludeBounceContentInHook;
this.EnableSmtpApiErrorHooks = EnableSmtpApiErrorHooks;
}
return UpdateServerRequest;
}());
exports.UpdateServerRequest = UpdateServerRequest;
var CreateServerRequest = /** @class */ (function (_super) {
__extends(CreateServerRequest, _super);
function CreateServerRequest(Name, Color, SmtpApiActivated, RawEmailEnabled, InboundHookUrl, BounceHookUrl, OpenHookUrl, DeliveryHookUrl, ClickHookUrl, PostFirstOpenOnly, InboundSpamThreshold, TrackOpens, TrackLinks, IncludeBounceContentInHook, EnableSmtpApiErrorHooks, InboundDomain, DeliveryType) {
var _this = _super.call(this, Name, Color, SmtpApiActivated, RawEmailEnabled, InboundHookUrl, BounceHookUrl, OpenHookUrl, DeliveryHookUrl, ClickHookUrl, PostFirstOpenOnly, InboundSpamThreshold, TrackOpens, TrackLinks, IncludeBounceContentInHook, EnableSmtpApiErrorHooks, InboundDomain) || this;
_this.DeliveryType = DeliveryType;
return _this;
}
return CreateServerRequest;
}(UpdateServerRequest));
exports.CreateServerRequest = CreateServerRequest;
//# sourceMappingURL=Server.js.map
;