UNPKG

724 BTypeScriptView Raw
1import { InboundRecipient } from "../../messages/InboundMessage";
2import { Attachment, Header } from "../../message/SupportingTypes";
3export interface InboundWebhook {
4 From: string;
5 FromName: string;
6 FromFull: InboundRecipient;
7 To: string;
8 ToFull: InboundRecipient[];
9 Cc: string;
10 CcFull: InboundRecipient[];
11 Bcc: string;
12 BccFull: InboundRecipient[];
13 ReplyTo: string;
14 OriginalRecipient: string;
15 Subject: string;
16 Date: string;
17 MailboxHash: string;
18 Tag?: string;
19 MessageID: string;
20 MessageStream: string;
21 RawEmail?: string;
22 TextBody: string;
23 HtmlBody: string;
24 StrippedTextReply: string;
25 Headers: Header[];
26 Attachments: Attachment[];
27}