From 6643b9c3dd5950bd6f1c0e42ce6b41d2b1498ffe Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 13 Jan 2020 14:34:13 +0000 Subject: [PATCH] fix(core): update --- package-lock.json | 2 +- package.json | 2 +- ts/interfaces/notification.ts | 13 ++++++++----- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 910355e..3311922 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@mojoio/mailgun", - "version": "1.0.17", + "version": "1.0.18", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index e1dd1a8..977b6fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mojoio/mailgun", - "version": "1.0.17", + "version": "1.0.18", "private": false, "description": "an api abstraction package for mailgun", "main": "dist/index.js", diff --git a/ts/interfaces/notification.ts b/ts/interfaces/notification.ts index f07a530..aaf1c92 100644 --- a/ts/interfaces/notification.ts +++ b/ts/interfaces/notification.ts @@ -11,8 +11,8 @@ export interface IMailgunNotification { 'X-Google-Dkim-Signature': string; To: string; 'Dkim-Signature': string; - subject: 'Booking confirmation (Order 12PN8P)'; - from: 'buchungsbestaetigung@bahn.de'; + subject: string; + from: string; 'X-Received': string[]; 'Ironport-Sdr': string; 'Arc-Authentication-Results': string[]; @@ -32,13 +32,16 @@ export interface IMailgunNotification { 'X-Forwarded-For': string; 'X-Gm-Message-State': string; 'X-Google-Smtp-Source': string; - 'X-Envelope-From': ''; - 'Content-Type': 'multipart/mixed; boundary="----=_Part_220882_156025801.1578848484963"'; - 'X-Forwarded-To': 'invoiceinbox@mail.lossless.one'; + 'X-Envelope-From': string; + 'Content-Type': string; + 'X-Forwarded-To': string; Subject: string; attachments: string; 'body-plain': string; 'stripped-text': string; 'stripped-html': string; 'stripped-signature': string; + + // Lossless specific + X-Lossless-Auth: string } \ No newline at end of file