UNPKG

2.66 kBTypeScriptView Raw
1export interface OutboundStatistics {
2 Sent: number;
3 Bounced: number;
4 SMTPApiErrors: number;
5 BounceRate: number;
6 SpamComplaints: number;
7 SpamComplaintsRate: number;
8 Opens: number;
9 UniqueOpens: number;
10 Tracked: number;
11 WithLinkTracking: number;
12 WithOpenTracking: number;
13 TotalTrackedLinksSent: number;
14 UniqueLinksClicked: number;
15 TotalClicks: number;
16 WithClientRecorded: number;
17 WithPlatformRecorded: number;
18 WithReadTimeRecorded: number;
19}
20export interface SentCounts {
21 Days: [
22 {
23 Date: string;
24 Sent: number;
25 }
26 ];
27 Sent: number;
28}
29export interface BounceCounts {
30 [key: string]: any;
31}
32export interface SpamCounts {
33 Days: [
34 {
35 Date: string;
36 SpamComplaint: number;
37 }
38 ];
39 SpamComplaint: number;
40}
41export interface TrackedEmailCounts {
42 Days: [
43 {
44 Date: string;
45 Tracked: number;
46 }
47 ];
48 Tracked: number;
49}
50export interface OpenCounts {
51 Days: [
52 {
53 Date: string;
54 Opens: number;
55 Unique: number;
56 }
57 ];
58 Opens: number;
59 Unique: number;
60}
61export interface EmailPlaformUsageCounts {
62 Days: [
63 {
64 Date: string;
65 Desktop?: number;
66 WebMail?: number;
67 Mobile?: number;
68 Unknown?: number;
69 }
70 ];
71 Desktop?: number;
72 WebMail?: number;
73 Mobile?: number;
74 Unknown?: number;
75}
76export interface EmailClientUsageCounts {
77 Days: [
78 {
79 Date: string;
80 [key: string]: any;
81 }
82 ];
83 [key: string]: any;
84}
85export interface EmailReadTimesCounts {
86 Days: [
87 {
88 Date: string;
89 [key: string]: any;
90 }
91 ];
92 [key: string]: any;
93}
94export interface ClickCounts {
95 Days: [
96 {
97 Date: string;
98 Clicks: number;
99 Unique: number;
100 }
101 ];
102 Clicks: number;
103 Unique: number;
104}
105export interface BrowserUsageCounts {
106 Days: [
107 {
108 Date: string;
109 [key: string]: any;
110 }
111 ];
112 [key: string]: any;
113}
114export interface ClickPlatformUsageCounts {
115 Days: [
116 {
117 Date: string;
118 Desktop: number;
119 Mobile: number;
120 Unknown: number;
121 }
122 ];
123 Desktop: number;
124 Mobile: number;
125 Unknown: number;
126}
127export interface ClickLocationCounts {
128 Days: [
129 {
130 Date: string;
131 HTML: number;
132 Text: number;
133 }
134 ];
135 HTML: number;
136 Text: number;
137}