biz-email-builder-shared 1.6.78 → 1.6.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Attachment, Recipient } from "./types";
|
|
2
|
-
export declare function sendMail(userId: string, recipient: Recipient, subject: string, body: string, attachments: Attachment[], isHtml: boolean,
|
|
2
|
+
export declare function sendMail(userId: string, recipient: Recipient, subject: string, body: string, attachments: Attachment[], isHtml: boolean, analytics: any, organisationId?: string): Promise<any>;
|
|
3
3
|
//# sourceMappingURL=sendMail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendMail.d.ts","sourceRoot":"","sources":["../../src/utilities/sendMail.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAOhD,wBAAsB,QAAQ,CAC5B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,UAAU,EAAE,EACzB,MAAM,EAAE,OAAO,EACf,
|
|
1
|
+
{"version":3,"file":"sendMail.d.ts","sourceRoot":"","sources":["../../src/utilities/sendMail.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAOhD,wBAAsB,QAAQ,CAC5B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,UAAU,EAAE,EACzB,MAAM,EAAE,OAAO,EACf,SAAS,EAAE,GAAG,EACd,cAAc,CAAC,EAAE,MAAM,gBA+DxB"}
|
|
@@ -10,7 +10,7 @@ const sendFromGmail_1 = require("./sendFromGmail");
|
|
|
10
10
|
const cryptoUtils_1 = require("./cryptoUtils");
|
|
11
11
|
const serverMessages_1 = require("./serverMessages");
|
|
12
12
|
const sendFromSendGrid_1 = require("./sendFromSendGrid");
|
|
13
|
-
async function sendMail(userId, recipient, subject, body, attachments, isHtml,
|
|
13
|
+
async function sendMail(userId, recipient, subject, body, attachments, isHtml, analytics, organisationId) {
|
|
14
14
|
let config = null;
|
|
15
15
|
let isOwner;
|
|
16
16
|
let isMember;
|