fix(interfaces): export interfaces

This commit is contained in:
Philipp Kunz 2020-01-13 14:06:34 +00:00
parent 5d5e2076d8
commit 157bf6a893
3 changed files with 46 additions and 0 deletions

View File

@ -1 +1,2 @@
export * from './mailgun.classes.account';
export * from './interfaces';

View File

@ -1 +1,2 @@
export * from './message';
export * from './notification';

View File

@ -0,0 +1,44 @@
export interface IMailgunNotification {
timestamp: string;
token: string;
signature: string;
domain: string;
'Received-Spf': string;
From: string;
'Return-Path': string;
'Arc-Seal': string[],
'Delivered-To': string;
'X-Google-Dkim-Signature': string;
To: string;
'Dkim-Signature': string;
subject: 'Booking confirmation (Order 12PN8P)';
from: 'buchungsbestaetigung@bahn.de';
'X-Received': string[];
'Ironport-Sdr': string;
'Arc-Authentication-Results': string[];
'Arc-Message-Signature': string[];
Date: string;
'Message-Id': string;
'Mime-Version': string;
Received: string[];
'Authentication-Results': string[];
'X-Ipas-Result': string;
'message-url': string;
'message-headers': string;
'Reply-To': string;
recipient: string;
sender: string;
'X-Mailgun-Incoming': string;
'X-Forwarded-For': string;
'X-Gm-Message-State': string;
'X-Google-Smtp-Source': string;
'X-Envelope-From': '<phil+caf_=invoiceinbox=mail.lossless.one@lossless.com>';
'Content-Type': 'multipart/mixed; boundary="----=_Part_220882_156025801.1578848484963"';
'X-Forwarded-To': 'invoiceinbox@mail.lossless.one';
Subject: string;
attachments: string;
'body-plain': string;
'stripped-text': string;
'stripped-html': string;
'stripped-signature': string;
}