UNPKG

703 BTypeScriptView Raw
1export interface ClientDetails {
2 Name: string;
3 Company: string;
4 Family: string;
5}
6export interface GeoLocation {
7 CountryISOCode?: string;
8 Country?: string;
9 RegionISOCode?: string;
10 Region?: string;
11 City?: string;
12 Zip?: string;
13 Coords?: string;
14 IP?: string;
15}
16export interface OpenEvent {
17 RecordType: string;
18 Client: ClientDetails;
19 OS: ClientDetails;
20 Platform: string;
21 UserAgent: string;
22 ReadSeconds: number;
23 Geo: GeoLocation;
24 MessageID: string;
25 ReceivedAt: string;
26 Tag: string;
27 Recipient: string;
28 MessageStream: string;
29}
30export interface OutboundMessageOpens {
31 TotalCount: number;
32 Opens: OpenEvent[];
33}