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.BounceFilteringParameters = exports.BounceType = void 0;
|
19 | var FilteringParameters_1 = require("../client/FilteringParameters");
|
20 | var BounceType;
|
21 | (function (BounceType) {
|
22 | BounceType["HardBounce"] = "HardBounce";
|
23 | BounceType["Transient"] = "Transient";
|
24 | BounceType["Unsubscribe"] = "Unsubscribe";
|
25 | BounceType["Subscribe"] = "Subscribe";
|
26 | BounceType["AutoResponder"] = "AutoResponder";
|
27 | BounceType["AddressChange"] = "AddressChange";
|
28 | BounceType["DnsError"] = "DnsError";
|
29 | BounceType["SpamNotification"] = "SpamNotification";
|
30 | BounceType["OpenRelayTest"] = "OpenRelayTest";
|
31 | BounceType["Unknown"] = "Unknown";
|
32 | BounceType["SoftBounce"] = "SoftBounce";
|
33 | BounceType["VirusNotification"] = "VirusNotification";
|
34 | BounceType["ChallengeVerification"] = "ChallengeVerification";
|
35 | BounceType["BadEmailAddress"] = "BadEmailAddress";
|
36 | BounceType["SpamComplaint"] = "SpamComplaint";
|
37 | BounceType["ManuallyDeactivated"] = "ManuallyDeactivated";
|
38 | BounceType["Unconfirmed"] = "Unconfirmed";
|
39 | BounceType["Blocked"] = "Blocked";
|
40 | BounceType["SMTPApiError"] = "SMTPApiError";
|
41 | BounceType["InboundError"] = "InboundError";
|
42 | BounceType["DMARCPolicy"] = "DMARCPolicy";
|
43 | BounceType["TemplateRenderingFailed"] = "TemplateRenderingFailed";
|
44 | })(BounceType = exports.BounceType || (exports.BounceType = {}));
|
45 |
|
46 |
|
47 |
|
48 |
|
49 | var BounceFilteringParameters = (function (_super) {
|
50 | __extends(BounceFilteringParameters, _super);
|
51 | function BounceFilteringParameters(count, offset, type, inactive, emailFilter, tag, messageID, fromDate, toDate, messageStream) {
|
52 | if (count === void 0) { count = 100; }
|
53 | if (offset === void 0) { offset = 0; }
|
54 | var _this = _super.call(this, count, offset) || this;
|
55 | _this.type = type;
|
56 | _this.inactive = inactive;
|
57 | _this.emailFilter = emailFilter;
|
58 | _this.tag = tag;
|
59 | _this.messageID = messageID;
|
60 | _this.fromDate = fromDate;
|
61 | _this.toDate = toDate;
|
62 | _this.messageStream = messageStream;
|
63 | return _this;
|
64 | }
|
65 | return BounceFilteringParameters;
|
66 | }(FilteringParameters_1.FilteringParameters));
|
67 | exports.BounceFilteringParameters = BounceFilteringParameters;
|
68 |
|
\ | No newline at end of file |