UNPKG

973 BTypeScriptView Raw
1import { Attachment, Header } from "../message/SupportingTypes";
2import { Recipient } from "./OutboundMessage";
3export interface InboundRecipient extends Recipient {
4 MailboxHash: string;
5}
6export 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}
27export interface InboundMessageDetails extends InboundMessage {
28 TextBody: string;
29 HtmlBody: string;
30 StrippedTextReply: string;
31 Headers: Header[];
32 BlockedReason: string;
33}
34export interface InboundMessages {
35 TotalCount: string;
36 InboundMessages: InboundMessage[];
37}