1 | export interface Bounce {
|
2 | RecordType: "Bounce";
|
3 | ID: number;
|
4 | Type: string;
|
5 | TypeCode: number;
|
6 | Name: string;
|
7 | Tag?: string;
|
8 | MessageID: string;
|
9 | ServerID: number;
|
10 | Description: string;
|
11 | Details: string;
|
12 | Email: string;
|
13 | From: string;
|
14 | BouncedAt: string;
|
15 | DumpAvailable: boolean;
|
16 | Inactive: boolean;
|
17 | CanActivate: boolean;
|
18 | Subject: string;
|
19 | Content?: string;
|
20 | MessageStream: string;
|
21 | }
|
22 | export declare enum BounceType {
|
23 | HardBounce = "HardBounce",
|
24 | Transient = "Transient",
|
25 | Unsubscribe = "Unsubscribe",
|
26 | Subscribe = "Subscribe",
|
27 | AutoResponder = "AutoResponder",
|
28 | AddressChange = "AddressChange",
|
29 | DnsError = "DnsError",
|
30 | SpamNotification = "SpamNotification",
|
31 | OpenRelayTest = "OpenRelayTest",
|
32 | Unknown = "Unknown",
|
33 | SoftBounce = "SoftBounce",
|
34 | VirusNotification = "VirusNotification",
|
35 | ChallengeVerification = "ChallengeVerification",
|
36 | BadEmailAddress = "BadEmailAddress",
|
37 | SpamComplaint = "SpamComplaint",
|
38 | ManuallyDeactivated = "ManuallyDeactivated",
|
39 | Unconfirmed = "Unconfirmed",
|
40 | Blocked = "Blocked",
|
41 | SMTPApiError = "SMTPApiError",
|
42 | InboundError = "InboundError",
|
43 | DMARCPolicy = "DMARCPolicy",
|
44 | TemplateRenderingFailed = "TemplateRenderingFailed"
|
45 | }
|
46 | export declare enum BounceTypeCode {
|
47 | HardBounce = 1,
|
48 | Transient = 2,
|
49 | Unsubscribe = 16,
|
50 | Subscribe = 32,
|
51 | AutoResponder = 64,
|
52 | AddressChange = 128,
|
53 | DnsError = 256,
|
54 | SpamNotification = 512,
|
55 | OpenRelayTest = 1024,
|
56 | Unknown = 2048,
|
57 | SoftBounce = 4096,
|
58 | VirusNotification = 8192,
|
59 | ChallengeVerification = 16384,
|
60 | BadEmailAddress = 100000,
|
61 | SpamComplaint = 100001,
|
62 | ManuallyDeactivated = 100002,
|
63 | Unconfirmed = 100003,
|
64 | Blocked = 100006,
|
65 | SMTPApiError = 100007,
|
66 | InboundError = 100008,
|
67 | DMARCPolicy = 100009,
|
68 | TemplateRenderingFailed = 100010
|
69 | }
|
70 | export interface BounceDump {
|
71 | Body: string;
|
72 | }
|
73 | export interface BounceActivationResponse {
|
74 | Message: string;
|
75 | Bounce: Bounce;
|
76 | }
|
77 | export interface Bounces {
|
78 | TotalCount: number;
|
79 | Bounces: Bounce[];
|
80 | }
|
81 | export interface BounceMetric {
|
82 | Name: string;
|
83 | Count: number;
|
84 | Type?: string;
|
85 | }
|
86 | export interface DeliveryStatistics {
|
87 | InactiveMails: number;
|
88 | Bounces: BounceMetric[];
|
89 | }
|