@visulima/email 2.1.6 → 2.1.7
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.
- package/CHANGELOG.md +7 -0
- package/dist/crypto/index.d.ts +183 -183
- package/dist/crypto/index.js +1 -1
- package/dist/deliverability/dmarc-report.d.ts +43 -43
- package/dist/deliverability/dmarc-report.js +1 -1
- package/dist/deliverability/index.d.ts +201 -201
- package/dist/events/index.d.ts +17 -17
- package/dist/inbound/index.d.ts +180 -180
- package/dist/index.d.ts +35 -46
- package/dist/index.js +1 -1
- package/dist/middleware/index.d.ts +213 -216
- package/dist/middleware/index.js +1 -1
- package/dist/packem_shared/{DkimSigner-CiLBaXrg.js → DkimSigner-sLcIw9bp.js} +6 -6
- package/dist/packem_shared/{DraftMailMessage-CGTVuy2z.js → DraftMailMessage-C3YTXqWo.js} +1 -1
- package/dist/packem_shared/EmailError-CDvYwuqz.js +1 -0
- package/dist/packem_shared/{Mail-CYAwMRnX.js → Mail-CIyxkmxu.js} +1 -1
- package/dist/packem_shared/MailMessage-DuEXJiCg.js +1 -0
- package/dist/packem_shared/{RequiredOptionError-DuNNY_a5.js → RequiredOptionError-DU2lxzk3.js} +1 -1
- package/dist/packem_shared/SmimeEncrypter-CzTbQM-z.js +6 -0
- package/dist/packem_shared/SmimeSigner-DjLShaOw.js +8 -0
- package/dist/packem_shared/{ahaSendProvider-DSuZIzaQ.js → ahaSendProvider-br1yB2un.js} +1 -1
- package/dist/packem_shared/arcMessageSignatureBase-D54jQIWu.js +17 -0
- package/dist/packem_shared/attachment-processor-D1cbAhQi.js +1 -0
- package/dist/packem_shared/{autoSendProvider-DqAoelWR.js → autoSendProvider-BSP8ueOC.js} +1 -1
- package/dist/packem_shared/{awsSesProvider-ClK1FUln.js → awsSesProvider-zRICW1pH.js} +13 -13
- package/dist/packem_shared/azureProvider-DwN4c5dC.js +1 -0
- package/dist/packem_shared/{brevoProvider-CIzuIDlt.js → brevoProvider-C491beE_.js} +1 -1
- package/dist/packem_shared/{build-mime-message-BW5FQ2Bt.js → build-mime-message-DT67qfMp.js} +1 -1
- package/dist/packem_shared/{circuitBreakerMiddleware-D2SA_07f.js → circuitBreakerMiddleware-N0CKF90q.js} +1 -1
- package/dist/packem_shared/{cloudflareEmailProvider-B8mOEl3N.js → cloudflareEmailProvider-8JxzLbpX.js} +1 -1
- package/dist/packem_shared/{createTestEmail-f12yLlWn.js → createTestEmail-D_ksEez3.js} +1 -1
- package/dist/packem_shared/dedupeMiddleware-CYYI_O7S.js +1 -0
- package/dist/packem_shared/{detectMimeType-DFH3kp6K.js → detectMimeType-CmYmWDXE.js} +1 -1
- package/dist/packem_shared/event-bus.d-BNQA-FZE.d.ts +104 -0
- package/dist/packem_shared/{failoverProvider-BgX6zfnY.js → failoverProvider-6qwE_HSJ.js} +1 -1
- package/dist/packem_shared/generate-boundary-0xGe9GqK.js +1 -0
- package/dist/packem_shared/{httpProvider-aBfTXyCT.js → httpProvider-BqrdZhGw.js} +1 -1
- package/dist/packem_shared/index-Gd7m-UQA.js +11 -0
- package/dist/packem_shared/{infobipProvider-DxzsONUX.js → infobipProvider-C2FU6VMP.js} +1 -1
- package/dist/packem_shared/isValidSigningCertUrl-DNxPA0Q-.js +3 -0
- package/dist/packem_shared/{loopsProvider-QBsAH6Ee.js → loopsProvider-Bz63so6m.js} +1 -1
- package/dist/packem_shared/mail.d-xKtvoKMK.d.ts +909 -0
- package/dist/packem_shared/{mailCrabProvider-DRE5snM9.js → mailCrabProvider-bkQy-2a1.js} +1 -1
- package/dist/packem_shared/{mailPaceProvider-DCa-4ghl.js → mailPaceProvider-S1AB-AYq.js} +1 -1
- package/dist/packem_shared/{mailchannelsProvider-GiwkYBdD.js → mailchannelsProvider-B_K6X4VY.js} +1 -1
- package/dist/packem_shared/{mailerSendProvider-RK6IbUrL.js → mailerSendProvider-DPEww2H1.js} +1 -1
- package/dist/packem_shared/mailgunProvider-DKxzVbDW.js +1 -0
- package/dist/packem_shared/mailjetProvider-C2TQcujL.js +1 -0
- package/dist/packem_shared/{mailomatProvider-DPDpVS8r.js → mailomatProvider-B8-5bQsu.js} +1 -1
- package/dist/packem_shared/{mailtrapProvider-DtrS4Q34.js → mailtrapProvider-DW7TLOdG.js} +1 -1
- package/dist/packem_shared/{make-request-B9XjBynA.js → make-request-CylyuRaN.js} +1 -1
- package/dist/packem_shared/{mandrillProvider-B84zH-eV.js → mandrillProvider-S-0lKNGd.js} +1 -1
- package/dist/packem_shared/{mockProvider-Behywbl1.js → mockProvider-BAl292mW.js} +1 -1
- package/dist/packem_shared/{netcoreProvider-D-wtCyJj.js → netcoreProvider-DajMprlo.js} +1 -1
- package/dist/packem_shared/{nodemailerProvider-BFHobXxt.js → nodemailerProvider-DRo0lJ6g.js} +1 -1
- package/dist/packem_shared/{opentelemetryProvider-ByHC01ub.js → opentelemetryProvider-C6spx2CD.js} +1 -1
- package/dist/packem_shared/{outlook365Provider-Btk4Emig.js → outlook365Provider-B0o7UZBW.js} +1 -1
- package/dist/packem_shared/{plunkProvider-Bw8e6460.js → plunkProvider-DJzEUEtU.js} +1 -1
- package/dist/packem_shared/{postalProvider-CT8zr89z.js → postalProvider-DHFjFE3Y.js} +1 -1
- package/dist/packem_shared/{postmarkProvider-CQSqZWDs.js → postmarkProvider-Dt1EGGBA.js} +1 -1
- package/dist/packem_shared/{provider-base-C7PuopYK.js → provider-base-DjPzWncP.js} +1 -1
- package/dist/packem_shared/{provider.d-J-y6iogK.d.ts → provider.d-Cx5YQJdP.d.ts} +9 -9
- package/dist/packem_shared/{resendProvider-drJYlvLP.js → resendProvider-qjI86j_d.js} +1 -1
- package/dist/packem_shared/{retry-ipI5DRJ8.js → retry-CG9iT2wF.js} +1 -1
- package/dist/packem_shared/{roundRobinProvider-D1by5KGW.js → roundRobinProvider-CO5YvhgR.js} +1 -1
- package/dist/packem_shared/{scalewayProvider-DU5gXQrl.js → scalewayProvider-CihQKhw6.js} +1 -1
- package/dist/packem_shared/{sendGridProvider-BuTbEXW8.js → sendGridProvider-Dkc5AKlC.js} +1 -1
- package/dist/packem_shared/{smtpProvider-5MI3-EPh.js → smtpProvider-CIXMxPu-.js} +12 -12
- package/dist/packem_shared/{sparkpostProvider-UAsFYIjP.js → sparkpostProvider-CKxQhpyB.js} +1 -1
- package/dist/packem_shared/{sweegoProvider-SUz0LIcA.js → sweegoProvider-DjmAs6La.js} +1 -1
- package/dist/packem_shared/{tracer.d-MU42G1jG.d.ts → tracer.d-sb5yrt_n.d.ts} +2 -2
- package/dist/packem_shared/types.d-B0t3PQ3t.d.ts +107 -0
- package/dist/packem_shared/{types.d-ejzh-xBP.d.ts → types.d-B9295M4_.d.ts} +82 -82
- package/dist/packem_shared/types.d-BzoHR9nB.d.ts +61 -0
- package/dist/packem_shared/types.d-C5geVKes.d.ts +51 -0
- package/dist/packem_shared/types.d-GKqPNk0I.d.ts +24 -0
- package/dist/packem_shared/types.d-I-KeZ5w2.d.ts +9 -0
- package/dist/packem_shared/types.d-kHO4kX9q.d.ts +69 -0
- package/dist/packem_shared/utils-DjEtR3qT.js +1 -0
- package/dist/packem_shared/verifyMailgunWebhook-DNk080BF.js +1 -0
- package/dist/packem_shared/verifyPostmarkWebhook-B4OIEHQF.js +1 -0
- package/dist/packem_shared/verifyResendWebhook-C7E32LZ1.js +1 -0
- package/dist/packem_shared/verifySendGridWebhook-1l9bqIMw.js +1 -0
- package/dist/packem_shared/withEvents-CytsykaK.js +1 -0
- package/dist/packem_shared/{withSuppression-DBaZDMAr.js → withSuppression-BoaO4Qdz.js} +1 -1
- package/dist/packem_shared/{zeptomailProvider-DXNX9mG_.js → zeptomailProvider-DSTC9pUi.js} +1 -1
- package/dist/providers/ahasend/index.d.ts +18 -18
- package/dist/providers/ahasend/index.js +1 -1
- package/dist/providers/autosend/index.d.ts +30 -30
- package/dist/providers/autosend/index.js +1 -1
- package/dist/providers/aws-ses/index.d.ts +20 -20
- package/dist/providers/aws-ses/index.js +1 -1
- package/dist/providers/azure/index.d.ts +26 -26
- package/dist/providers/azure/index.js +1 -1
- package/dist/providers/brevo/index.d.ts +35 -35
- package/dist/providers/brevo/index.js +1 -1
- package/dist/providers/cloudflare-email/index.d.ts +25 -25
- package/dist/providers/cloudflare-email/index.js +1 -1
- package/dist/providers/failover/index.d.ts +14 -14
- package/dist/providers/failover/index.js +1 -1
- package/dist/providers/http/index.d.ts +15 -15
- package/dist/providers/http/index.js +1 -1
- package/dist/providers/infobip/index.d.ts +28 -28
- package/dist/providers/infobip/index.js +1 -1
- package/dist/providers/loops/index.d.ts +25 -25
- package/dist/providers/loops/index.js +1 -1
- package/dist/providers/mailchannels/index.d.ts +13 -13
- package/dist/providers/mailchannels/index.js +1 -1
- package/dist/providers/mailcrab/index.d.ts +17 -17
- package/dist/providers/mailcrab/index.js +1 -1
- package/dist/providers/mailersend/index.d.ts +24 -24
- package/dist/providers/mailersend/index.js +1 -1
- package/dist/providers/mailgun/index.d.ts +37 -37
- package/dist/providers/mailgun/index.js +1 -1
- package/dist/providers/mailjet/index.d.ts +36 -36
- package/dist/providers/mailjet/index.js +1 -1
- package/dist/providers/mailomat/index.d.ts +20 -20
- package/dist/providers/mailomat/index.js +1 -1
- package/dist/providers/mailpace/index.d.ts +24 -24
- package/dist/providers/mailpace/index.js +1 -1
- package/dist/providers/mailtrap/index.d.ts +22 -22
- package/dist/providers/mailtrap/index.js +1 -1
- package/dist/providers/mandrill/index.d.ts +36 -36
- package/dist/providers/mandrill/index.js +1 -1
- package/dist/providers/mock/index.d.ts +8 -8
- package/dist/providers/mock/index.js +1 -1
- package/dist/providers/netcore/index.d.ts +17 -17
- package/dist/providers/netcore/index.js +1 -1
- package/dist/providers/nodemailer/index.d.ts +22 -22
- package/dist/providers/nodemailer/index.js +1 -1
- package/dist/providers/opentelemetry/index.d.ts +20 -20
- package/dist/providers/opentelemetry/index.js +1 -1
- package/dist/providers/outlook365/index.d.ts +82 -82
- package/dist/providers/outlook365/index.js +1 -1
- package/dist/providers/plunk/index.d.ts +18 -18
- package/dist/providers/plunk/index.js +1 -1
- package/dist/providers/postal/index.d.ts +24 -24
- package/dist/providers/postal/index.js +1 -1
- package/dist/providers/postmark/index.d.ts +30 -30
- package/dist/providers/postmark/index.js +1 -1
- package/dist/providers/resend/index.d.ts +24 -24
- package/dist/providers/resend/index.js +1 -1
- package/dist/providers/roundrobin/index.d.ts +14 -14
- package/dist/providers/roundrobin/index.js +1 -1
- package/dist/providers/scaleway/index.d.ts +22 -22
- package/dist/providers/scaleway/index.js +1 -1
- package/dist/providers/sendgrid/index.d.ts +25 -25
- package/dist/providers/sendgrid/index.js +1 -1
- package/dist/providers/smtp/index.d.ts +11 -11
- package/dist/providers/smtp/index.js +1 -1
- package/dist/providers/sparkpost/index.d.ts +21 -21
- package/dist/providers/sparkpost/index.js +1 -1
- package/dist/providers/sweego/index.d.ts +20 -20
- package/dist/providers/sweego/index.js +1 -1
- package/dist/providers/zeptomail/index.d.ts +17 -17
- package/dist/providers/zeptomail/index.js +1 -1
- package/dist/queue/bullmq-queue.d.ts +26 -26
- package/dist/queue/index.d.ts +86 -86
- package/dist/queue/pg-boss-queue.d.ts +13 -13
- package/dist/queue/sqs-queue.d.ts +20 -20
- package/dist/queue/unstorage-queue.d.ts +47 -47
- package/dist/queue/unstorage-queue.js +1 -1
- package/dist/render/cid.d.ts +12 -12
- package/dist/render/css-inline.d.ts +12 -12
- package/dist/render/css-inline.js +1 -1
- package/dist/render/dark-mode.d.ts +12 -12
- package/dist/render/preheader.d.ts +16 -16
- package/dist/template-engines/handlebars.d.ts +19 -19
- package/dist/template-engines/handlebars.js +1 -1
- package/dist/template-engines/html-to-text.d.ts +12 -12
- package/dist/template-engines/html-to-text.js +1 -1
- package/dist/template-engines/i18n.d.ts +43 -43
- package/dist/template-engines/i18n.js +1 -1
- package/dist/template-engines/jsx-email.d.ts +8 -8
- package/dist/template-engines/jsx-email.js +1 -1
- package/dist/template-engines/liquid.d.ts +9 -9
- package/dist/template-engines/liquid.js +1 -1
- package/dist/template-engines/mjml.d.ts +9 -9
- package/dist/template-engines/mjml.js +1 -1
- package/dist/template-engines/react-email.d.ts +8 -8
- package/dist/template-engines/react-email.js +1 -1
- package/dist/template-engines/vue-email.d.ts +8 -8
- package/dist/template-engines/vue-email.js +1 -1
- package/dist/test/index.d.ts +89 -89
- package/dist/test/index.js +1 -1
- package/dist/utils/cache.d.ts +27 -27
- package/dist/utils/format-email-address.d.ts +6 -6
- package/dist/utils/format-email-address.js +1 -1
- package/dist/utils/normalize-email-aliases.d.ts +19 -19
- package/dist/utils/parse-address.d.ts +16 -16
- package/dist/utils/parse-eml.d.ts +18 -18
- package/dist/utils/result.d.ts +30 -30
- package/dist/utils/result.js +1 -1
- package/dist/utils/validation/check-feature-support.d.ts +33 -33
- package/dist/utils/validation/validate-email.d.ts +4 -4
- package/dist/webhooks/index.d.ts +134 -134
- package/dist/webhooks/index.js +1 -1
- package/package.json +1 -1
- package/dist/packem_shared/EmailError-B-sEf3bp.js +0 -1
- package/dist/packem_shared/MailMessage-DQRgs5Dz.js +0 -1
- package/dist/packem_shared/SmimeEncrypter-DavopRlE.js +0 -6
- package/dist/packem_shared/SmimeSigner-0onWksAv.js +0 -8
- package/dist/packem_shared/arcMessageSignatureBase-DDLEHW2E.js +0 -17
- package/dist/packem_shared/attachment-processor-CMp7qqMI.js +0 -1
- package/dist/packem_shared/azureProvider-Cw_Tmde6.js +0 -1
- package/dist/packem_shared/dedupeMiddleware-B6ajWOTi.js +0 -1
- package/dist/packem_shared/event-bus.d-DEl3w_EW.d.ts +0 -104
- package/dist/packem_shared/generate-boundary-DQbzDiOI.js +0 -1
- package/dist/packem_shared/index-BoZvzveg.js +0 -11
- package/dist/packem_shared/isValidSigningCertUrl-Bii1AMGC.js +0 -3
- package/dist/packem_shared/mail.d-B9SSqyy0.d.ts +0 -909
- package/dist/packem_shared/mailgunProvider-D9HUWGKN.js +0 -1
- package/dist/packem_shared/mailjetProvider-DelLs2Vt.js +0 -1
- package/dist/packem_shared/types.d-BId55FW2.d.ts +0 -107
- package/dist/packem_shared/types.d-CmoWvdZi.d.ts +0 -61
- package/dist/packem_shared/types.d-DCkecJse.d.ts +0 -51
- package/dist/packem_shared/types.d-Mpu0HZoG.d.ts +0 -24
- package/dist/packem_shared/types.d-lcJZmwRK.d.ts +0 -69
- package/dist/packem_shared/types.d-nyR1ty1Q.d.ts +0 -9
- package/dist/packem_shared/utils-BfYfPB_I.js +0 -1
- package/dist/packem_shared/verifyMailgunWebhook-Cwl0OD3P.js +0 -1
- package/dist/packem_shared/verifyPostmarkWebhook-C72ZvbrG.js +0 -1
- package/dist/packem_shared/verifyResendWebhook-YK2zNDXR.js +0 -1
- package/dist/packem_shared/verifySendGridWebhook-Dbwc1tfG.js +0 -1
- package/dist/packem_shared/withEvents-CCVblSqj.js +0 -1
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
|
-
* Mailjet configuration
|
|
7
|
-
*/
|
|
6
|
+
* Mailjet configuration
|
|
7
|
+
*/
|
|
8
8
|
interface MailjetConfig extends BaseConfig {
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* Mailjet API Key
|
|
11
|
+
*/
|
|
12
12
|
apiKey: string;
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
* Mailjet API Secret
|
|
15
|
+
*/
|
|
16
16
|
apiSecret: string;
|
|
17
17
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
* Mailjet API endpoint
|
|
19
|
+
* Defaults to: https://api.mailjet.com
|
|
20
|
+
*/
|
|
21
21
|
endpoint?: string;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Mailjet-specific email options
|
|
25
|
-
*/
|
|
24
|
+
* Mailjet-specific email options
|
|
25
|
+
*/
|
|
26
26
|
interface MailjetEmailOptions extends Omit<EmailOptions, "priority"> {
|
|
27
27
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
* Custom campaign name
|
|
29
|
+
*/
|
|
30
30
|
campaign?: string;
|
|
31
31
|
/**
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
* Custom ID for tracking
|
|
33
|
+
*/
|
|
34
34
|
customId?: string;
|
|
35
35
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
* Deduplicate campaign (prevent duplicate emails)
|
|
37
|
+
*/
|
|
38
38
|
deduplicateCampaign?: boolean;
|
|
39
39
|
/**
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
* Delivery time (Unix timestamp)
|
|
41
|
+
*/
|
|
42
42
|
deliveryTime?: number;
|
|
43
43
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
* Event payload (for webhooks)
|
|
45
|
+
*/
|
|
46
46
|
eventPayload?: string;
|
|
47
47
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
* Priority (1-5, where 1 is highest)
|
|
49
|
+
*/
|
|
50
50
|
priority?: number;
|
|
51
51
|
/**
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
* Mailjet template ID for template-based emails
|
|
53
|
+
*/
|
|
54
54
|
templateId?: number;
|
|
55
55
|
/**
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
* Template language (for multilingual templates)
|
|
57
|
+
*/
|
|
58
58
|
templateLanguage?: boolean;
|
|
59
59
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
* Template variables for Mailjet templates
|
|
61
|
+
*/
|
|
62
62
|
templateVariables?: Record<string, unknown>;
|
|
63
63
|
/**
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
* URL tags (for tracking)
|
|
65
|
+
*/
|
|
66
66
|
urlTags?: Record<string, string>;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
* Mailjet Provider for sending emails through Mailjet API.
|
|
70
|
-
*/
|
|
69
|
+
* Mailjet Provider for sending emails through Mailjet API.
|
|
70
|
+
*/
|
|
71
71
|
declare const provider: ProviderFactory<MailjetConfig, unknown, MailjetEmailOptions>;
|
|
72
72
|
export { type MailjetConfig, type MailjetEmailOptions, type ProviderFactory, provider as mailjetProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as a}from"../../packem_shared/mailjetProvider-
|
|
1
|
+
import{default as a}from"../../packem_shared/mailjetProvider-C2TQcujL.js";export{a as mailjetProvider};
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
|
-
* Mailomat configuration
|
|
7
|
-
*/
|
|
6
|
+
* Mailomat configuration
|
|
7
|
+
*/
|
|
8
8
|
interface MailomatConfig extends BaseConfig {
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* Mailomat API key
|
|
11
|
+
*/
|
|
12
12
|
apiKey: string;
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
* Mailomat API endpoint
|
|
15
|
+
* Defaults to: https://api.mailomat.com
|
|
16
|
+
*/
|
|
17
17
|
endpoint?: string;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* Mailomat-specific email options
|
|
21
|
-
*/
|
|
20
|
+
* Mailomat-specific email options
|
|
21
|
+
*/
|
|
22
22
|
interface MailomatEmailOptions extends EmailOptions {
|
|
23
23
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
* Tags for categorization
|
|
25
|
+
*/
|
|
26
26
|
tags?: string[];
|
|
27
27
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
* Mailomat template ID for template-based emails
|
|
29
|
+
*/
|
|
30
30
|
templateId?: string;
|
|
31
31
|
/**
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
* Template variables for Mailomat templates
|
|
33
|
+
*/
|
|
34
34
|
templateVariables?: Record<string, unknown>;
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* Mailomat Provider for sending emails through Mailomat API.
|
|
38
|
-
*/
|
|
37
|
+
* Mailomat Provider for sending emails through Mailomat API.
|
|
38
|
+
*/
|
|
39
39
|
declare const mailomatProvider: ProviderFactory<MailomatConfig>;
|
|
40
40
|
export { type MailomatConfig, type MailomatEmailOptions, type ProviderFactory, mailomatProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as r}from"../../packem_shared/mailomatProvider-
|
|
1
|
+
import{default as r}from"../../packem_shared/mailomatProvider-B8-5bQsu.js";export{r as mailomatProvider};
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
|
-
* MailPace configuration
|
|
7
|
-
*/
|
|
6
|
+
* MailPace configuration
|
|
7
|
+
*/
|
|
8
8
|
interface MailPaceConfig extends BaseConfig {
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* MailPace API token
|
|
11
|
+
*/
|
|
12
12
|
apiToken: string;
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
* MailPace API endpoint
|
|
15
|
+
* Defaults to: https://app.mailpace.com/api/v1
|
|
16
|
+
*/
|
|
17
17
|
endpoint?: string;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* MailPace-specific email options
|
|
21
|
-
*/
|
|
20
|
+
* MailPace-specific email options
|
|
21
|
+
*/
|
|
22
22
|
interface MailPaceEmailOptions extends Omit<EmailOptions, "attachments"> {
|
|
23
23
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
* Attachments (MailPace specific format)
|
|
25
|
+
*/
|
|
26
26
|
attachments?: {
|
|
27
27
|
content: string;
|
|
28
28
|
content_type?: string;
|
|
29
29
|
name: string;
|
|
30
30
|
}[];
|
|
31
31
|
/**
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
* List unsubscribe header
|
|
33
|
+
*/
|
|
34
34
|
listUnsubscribe?: string;
|
|
35
35
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
* Tags for categorization
|
|
37
|
+
*/
|
|
38
38
|
tags?: string[];
|
|
39
39
|
/**
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
* MailPace template ID for template-based emails
|
|
41
|
+
*/
|
|
42
42
|
templateId?: number;
|
|
43
43
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
* Template variables for MailPace templates
|
|
45
|
+
*/
|
|
46
46
|
templateVariables?: Record<string, unknown>;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
* MailPace Provider for sending emails through MailPace API.
|
|
50
|
-
*/
|
|
49
|
+
* MailPace Provider for sending emails through MailPace API.
|
|
50
|
+
*/
|
|
51
51
|
declare const mailPaceProvider: ProviderFactory<MailPaceConfig, unknown, MailPaceEmailOptions>;
|
|
52
52
|
export { type MailPaceConfig, type MailPaceEmailOptions, type ProviderFactory, mailPaceProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as r}from"../../packem_shared/mailPaceProvider-
|
|
1
|
+
import{default as r}from"../../packem_shared/mailPaceProvider-S1AB-AYq.js";export{r as mailPaceProvider};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
|
-
* Mailtrap configuration
|
|
7
|
-
*/
|
|
6
|
+
* Mailtrap configuration
|
|
7
|
+
*/
|
|
8
8
|
interface MailtrapConfig extends BaseConfig {
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* Mailtrap API token
|
|
11
|
+
*/
|
|
12
12
|
apiToken: string;
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
* Mailtrap API endpoint
|
|
15
|
+
* Defaults to: https://send.api.mailtrap.io
|
|
16
|
+
*/
|
|
17
17
|
endpoint?: string;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* Mailtrap-specific email options
|
|
21
|
-
*/
|
|
20
|
+
* Mailtrap-specific email options
|
|
21
|
+
*/
|
|
22
22
|
interface MailtrapEmailOptions extends EmailOptions {
|
|
23
23
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
* Category for categorization
|
|
25
|
+
*/
|
|
26
26
|
category?: string;
|
|
27
27
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
* Custom variables (key-value pairs)
|
|
29
|
+
*/
|
|
30
30
|
customVariables?: Record<string, unknown>;
|
|
31
31
|
/**
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
* Mailtrap template UUID for template-based emails
|
|
33
|
+
*/
|
|
34
34
|
templateUuid?: string;
|
|
35
35
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
* Template variables for Mailtrap templates
|
|
37
|
+
*/
|
|
38
38
|
templateVariables?: Record<string, unknown>;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* Mailtrap Provider for sending emails through Mailtrap API
|
|
42
|
-
*/
|
|
41
|
+
* Mailtrap Provider for sending emails through Mailtrap API
|
|
42
|
+
*/
|
|
43
43
|
declare const mailtrapProvider: ProviderFactory<MailtrapConfig>;
|
|
44
44
|
export { type MailtrapConfig, type MailtrapEmailOptions, type ProviderFactory, mailtrapProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as e}from"../../packem_shared/mailtrapProvider-
|
|
1
|
+
import{default as e}from"../../packem_shared/mailtrapProvider-DW7TLOdG.js";export{e as mailtrapProvider};
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
|
-
* Mandrill configuration
|
|
7
|
-
*/
|
|
6
|
+
* Mandrill configuration
|
|
7
|
+
*/
|
|
8
8
|
interface MandrillConfig extends BaseConfig {
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* Mandrill API key
|
|
11
|
+
*/
|
|
12
12
|
apiKey: string;
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
* Mandrill API endpoint
|
|
15
|
+
* Defaults to: https://mandrillapp.com/api/1.0
|
|
16
|
+
*/
|
|
17
17
|
endpoint?: string;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* Mandrill-specific email options
|
|
21
|
-
*/
|
|
20
|
+
* Mandrill-specific email options
|
|
21
|
+
*/
|
|
22
22
|
interface MandrillEmailOptions extends EmailOptions {
|
|
23
23
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
* Global merge variables
|
|
25
|
+
*/
|
|
26
26
|
globalMergeVars?: {
|
|
27
27
|
content: unknown;
|
|
28
28
|
name: string;
|
|
29
29
|
}[];
|
|
30
30
|
/**
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
* Google Analytics campaign
|
|
32
|
+
*/
|
|
33
33
|
googleAnalyticsCampaign?: string;
|
|
34
34
|
/**
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
* Google Analytics domains
|
|
36
|
+
*/
|
|
37
37
|
googleAnalyticsDomains?: string[];
|
|
38
38
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
* Per-recipient merge variables
|
|
40
|
+
*/
|
|
41
41
|
mergeVars?: {
|
|
42
42
|
rcpt: string;
|
|
43
43
|
vars: {
|
|
@@ -46,42 +46,42 @@ interface MandrillEmailOptions extends EmailOptions {
|
|
|
46
46
|
}[];
|
|
47
47
|
}[];
|
|
48
48
|
/**
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
* Metadata (key-value pairs)
|
|
50
|
+
*/
|
|
51
51
|
metadata?: Record<string, string>;
|
|
52
52
|
/**
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
* Send at timestamp (ISO 8601 format)
|
|
54
|
+
*/
|
|
55
55
|
sendAt?: string;
|
|
56
56
|
/**
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
* Subaccount ID
|
|
58
|
+
*/
|
|
59
59
|
subaccount?: string;
|
|
60
60
|
/**
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
* Tags for categorization
|
|
62
|
+
*/
|
|
63
63
|
tags?: string[];
|
|
64
64
|
/**
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
* Template content (for template-based emails)
|
|
66
|
+
*/
|
|
67
67
|
templateContent?: {
|
|
68
68
|
content: string;
|
|
69
69
|
name: string;
|
|
70
70
|
}[];
|
|
71
71
|
/**
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
* Mandrill template name
|
|
73
|
+
*/
|
|
74
74
|
templateName?: string;
|
|
75
75
|
/**
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
* Template variables (merge vars)
|
|
77
|
+
*/
|
|
78
78
|
templateVariables?: {
|
|
79
79
|
content: unknown;
|
|
80
80
|
name: string;
|
|
81
81
|
}[];
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
|
-
* Mandrill Provider for sending emails through Mandrill API
|
|
85
|
-
*/
|
|
84
|
+
* Mandrill Provider for sending emails through Mandrill API
|
|
85
|
+
*/
|
|
86
86
|
declare const mandrillProvider: ProviderFactory<MandrillConfig>;
|
|
87
87
|
export { type MandrillConfig, type MandrillEmailOptions, type ProviderFactory, mandrillProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as d}from"../../packem_shared/mandrillProvider-
|
|
1
|
+
import{default as d}from"../../packem_shared/mandrillProvider-S-0lKNGd.js";export{d as mandrillProvider};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { M as MockConfig, a as MockEmailEntry } from "../../packem_shared/types.d-
|
|
4
|
-
export type { b as MockEmailOptions, R as RandomDelayRange } from "../../packem_shared/types.d-
|
|
5
|
-
import "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
3
|
+
import { M as MockConfig, a as MockEmailEntry } from "../../packem_shared/types.d-C5geVKes.js";
|
|
4
|
+
export type { b as MockEmailOptions, R as RandomDelayRange } from "../../packem_shared/types.d-C5geVKes.js";
|
|
5
|
+
import "../../packem_shared/types.d-B9295M4_.js";
|
|
6
6
|
import 'node:buffer';
|
|
7
7
|
/**
|
|
8
|
-
* Mock Provider for testing emails without actually sending them
|
|
9
|
-
* Stores emails in memory for later retrieval and inspection
|
|
10
|
-
*/
|
|
8
|
+
* Mock Provider for testing emails without actually sending them
|
|
9
|
+
* Stores emails in memory for later retrieval and inspection
|
|
10
|
+
*/
|
|
11
11
|
declare const mockProvider: ProviderFactory<MockConfig, MockEmailEntry[]>;
|
|
12
12
|
export { type MockConfig, type MockEmailEntry, type ProviderFactory, mockProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as e}from"../../packem_shared/mockProvider-
|
|
1
|
+
import{default as e}from"../../packem_shared/mockProvider-BAl292mW.js";export{e as mockProvider};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
|
-
* Netcore (Pepipost) configuration.
|
|
7
|
-
*/
|
|
6
|
+
* Netcore (Pepipost) configuration.
|
|
7
|
+
*/
|
|
8
8
|
interface NetcoreConfig extends BaseConfig {
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* Netcore Email API key (sent as the `api_key` header).
|
|
11
|
+
*/
|
|
12
12
|
apiKey: string;
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
* API endpoint override.
|
|
15
|
+
*/
|
|
16
16
|
endpoint?: string;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Netcore-specific email options.
|
|
20
|
-
*/
|
|
19
|
+
* Netcore-specific email options.
|
|
20
|
+
*/
|
|
21
21
|
interface NetcoreEmailOptions extends EmailOptions {
|
|
22
22
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
* Variables substituted into the Netcore template.
|
|
24
|
+
*/
|
|
25
25
|
templateData?: Record<string, unknown>;
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
* Stored template id to send instead of inline content.
|
|
28
|
+
*/
|
|
29
29
|
templateId?: string;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
* Netcore (Pepipost) provider — sends email through the Netcore Email API (v5.1).
|
|
33
|
-
*/
|
|
32
|
+
* Netcore (Pepipost) provider — sends email through the Netcore Email API (v5.1).
|
|
33
|
+
*/
|
|
34
34
|
declare const netcoreProvider: ProviderFactory<NetcoreConfig>;
|
|
35
35
|
export { type NetcoreConfig, type NetcoreEmailOptions, type ProviderFactory, netcoreProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as o}from"../../packem_shared/netcoreProvider-
|
|
1
|
+
import{default as o}from"../../packem_shared/netcoreProvider-DajMprlo.js";export{o as netcoreProvider};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { c as EmailAddress, B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
|
|
3
|
+
import { c as EmailAddress, B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
|
-
* Nodemailer configuration
|
|
7
|
-
* Accepts any nodemailer transport configuration
|
|
8
|
-
* Common transports: SMTP, Sendmail, SES, etc.
|
|
9
|
-
*/
|
|
6
|
+
* Nodemailer configuration
|
|
7
|
+
* Accepts any nodemailer transport configuration
|
|
8
|
+
* Common transports: SMTP, Sendmail, SES, etc.
|
|
9
|
+
*/
|
|
10
10
|
interface NodemailerConfig extends BaseConfig {
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* Default from address (optional, can be overridden per email)
|
|
13
|
+
*/
|
|
14
14
|
defaultFrom?: EmailAddress;
|
|
15
15
|
/**
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
* Nodemailer transport configuration
|
|
17
|
+
* Can be a transport object or a transport name (e.g., 'smtp', 'sendmail')
|
|
18
|
+
* For SMTP: { host, port, secure, auth: { user, pass } }
|
|
19
|
+
* For Sendmail: { path: '/usr/sbin/sendmail' }
|
|
20
|
+
* For SES: { SES: { ... } }
|
|
21
|
+
* See: https://nodemailer.com/transports/
|
|
22
|
+
*/
|
|
23
23
|
transport: Record<string, unknown> | string;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
* Nodemailer-specific email options
|
|
27
|
-
*/
|
|
26
|
+
* Nodemailer-specific email options
|
|
27
|
+
*/
|
|
28
28
|
interface NodemailerEmailOptions extends EmailOptions {
|
|
29
29
|
/**
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
* Override transport for this specific email
|
|
31
|
+
*/
|
|
32
32
|
transportOverride?: Record<string, unknown> | string;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
* Nodemailer Provider for sending emails via nodemailer
|
|
36
|
-
*/
|
|
35
|
+
* Nodemailer Provider for sending emails via nodemailer
|
|
36
|
+
*/
|
|
37
37
|
declare const nodemailerProvider: ProviderFactory<NodemailerConfig>;
|
|
38
38
|
export { type NodemailerConfig, type NodemailerEmailOptions, type ProviderFactory, nodemailerProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as o}from"../../packem_shared/nodemailerProvider-
|
|
1
|
+
import{default as o}from"../../packem_shared/nodemailerProvider-DRo0lJ6g.js";export{o as nodemailerProvider};
|