1 | "use strict";
|
2 | var __extends = (this && this.__extends) || (function () {
|
3 | var extendStatics = function (d, b) {
|
4 | extendStatics = Object.setPrototypeOf ||
|
5 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6 | function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7 | return extendStatics(d, b);
|
8 | };
|
9 | return function (d, b) {
|
10 | if (typeof b !== "function" && b !== null)
|
11 | throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12 | extendStatics(d, b);
|
13 | function __() { this.constructor = d; }
|
14 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15 | };
|
16 | })();
|
17 | Object.defineProperty(exports, "__esModule", { value: true });
|
18 | exports.CreateServerRequest = exports.UpdateServerRequest = void 0;
|
19 | var UpdateServerRequest = (function () {
|
20 | function UpdateServerRequest(Name, Color, SmtpApiActivated, RawEmailEnabled, InboundHookUrl, BounceHookUrl, OpenHookUrl, DeliveryHookUrl, ClickHookUrl, PostFirstOpenOnly, InboundSpamThreshold, TrackOpens, TrackLinks, IncludeBounceContentInHook, EnableSmtpApiErrorHooks, InboundDomain) {
|
21 | this.Name = Name;
|
22 | this.Color = Color;
|
23 | this.SmtpApiActivated = SmtpApiActivated;
|
24 | this.RawEmailEnabled = RawEmailEnabled;
|
25 | this.InboundHookUrl = InboundHookUrl;
|
26 | this.BounceHookUrl = BounceHookUrl;
|
27 | this.OpenHookUrl = OpenHookUrl;
|
28 | this.DeliveryHookUrl = DeliveryHookUrl;
|
29 | this.ClickHookUrl = ClickHookUrl;
|
30 | this.PostFirstOpenOnly = PostFirstOpenOnly;
|
31 | this.InboundSpamThreshold = InboundSpamThreshold;
|
32 | this.InboundDomain = InboundDomain;
|
33 | this.TrackOpens = TrackOpens;
|
34 | this.TrackLinks = TrackLinks;
|
35 | this.IncludeBounceContentInHook = IncludeBounceContentInHook;
|
36 | this.EnableSmtpApiErrorHooks = EnableSmtpApiErrorHooks;
|
37 | }
|
38 | return UpdateServerRequest;
|
39 | }());
|
40 | exports.UpdateServerRequest = UpdateServerRequest;
|
41 | var CreateServerRequest = (function (_super) {
|
42 | __extends(CreateServerRequest, _super);
|
43 | function CreateServerRequest(Name, Color, SmtpApiActivated, RawEmailEnabled, InboundHookUrl, BounceHookUrl, OpenHookUrl, DeliveryHookUrl, ClickHookUrl, PostFirstOpenOnly, InboundSpamThreshold, TrackOpens, TrackLinks, IncludeBounceContentInHook, EnableSmtpApiErrorHooks, InboundDomain, DeliveryType) {
|
44 | var _this = _super.call(this, Name, Color, SmtpApiActivated, RawEmailEnabled, InboundHookUrl, BounceHookUrl, OpenHookUrl, DeliveryHookUrl, ClickHookUrl, PostFirstOpenOnly, InboundSpamThreshold, TrackOpens, TrackLinks, IncludeBounceContentInHook, EnableSmtpApiErrorHooks, InboundDomain) || this;
|
45 | _this.DeliveryType = DeliveryType;
|
46 | return _this;
|
47 | }
|
48 | return CreateServerRequest;
|
49 | }(UpdateServerRequest));
|
50 | exports.CreateServerRequest = CreateServerRequest;
|
51 |
|
\ | No newline at end of file |