1 | import { Attachment, Header } from "../message/SupportingTypes";
|
2 | import { Recipient } from "./OutboundMessage";
|
3 | export interface InboundRecipient extends Recipient {
|
4 | MailboxHash: string;
|
5 | }
|
6 | export interface InboundMessage {
|
7 | From: string;
|
8 | FromName: string;
|
9 | FromFull: InboundRecipient;
|
10 | To: string;
|
11 | ToFull: InboundRecipient[];
|
12 | Cc: string;
|
13 | CcFull: InboundRecipient[];
|
14 | Bcc: string;
|
15 | BccFull: InboundRecipient[];
|
16 | ReplyTo: string;
|
17 | OriginalRecipient: string;
|
18 | Subject: string;
|
19 | Date: string;
|
20 | MailboxHash: string;
|
21 | Tag?: string;
|
22 | MessageID: string;
|
23 | Status: string;
|
24 | Attachments: Attachment[];
|
25 | MessageStream: string;
|
26 | }
|
27 | export interface InboundMessageDetails extends InboundMessage {
|
28 | TextBody: string;
|
29 | HtmlBody: string;
|
30 | StrippedTextReply: string;
|
31 | Headers: Header[];
|
32 | BlockedReason: string;
|
33 | }
|
34 | export interface InboundMessages {
|
35 | TotalCount: string;
|
36 | InboundMessages: InboundMessage[];
|
37 | }
|