@visulima/email 2.1.6 → 2.1.8
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 +15 -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-udCl3JXO.js} +6 -6
- package/dist/packem_shared/{DraftMailMessage-CGTVuy2z.js → DraftMailMessage-BgP1OF1G.js} +1 -1
- package/dist/packem_shared/EmailError-2CCyVX1S.js +1 -0
- package/dist/packem_shared/Mail-DduRntbB.js +1 -0
- package/dist/packem_shared/MailMessage-BRBT4Jea.js +1 -0
- package/dist/packem_shared/{RequiredOptionError-DuNNY_a5.js → RequiredOptionError-BmpC5whN.js} +1 -1
- package/dist/packem_shared/SmimeEncrypter-Dm9McVTQ.js +6 -0
- package/dist/packem_shared/SmimeSigner-B6hkacNk.js +8 -0
- package/dist/packem_shared/{address-formatter-BWR2Dddx.js → address-formatter-bfmGfQ83.js} +1 -1
- package/dist/packem_shared/{ahaSendProvider-DSuZIzaQ.js → ahaSendProvider-C6nBGCCa.js} +1 -1
- package/dist/packem_shared/arcMessageSignatureBase-B2uArM48.js +17 -0
- package/dist/packem_shared/attachment-processor-DjbjtJ6H.js +1 -0
- package/dist/packem_shared/{autoSendProvider-DqAoelWR.js → autoSendProvider-Dhig--Zo.js} +1 -1
- package/dist/packem_shared/{awsSesProvider-ClK1FUln.js → awsSesProvider-CMqAmU5N.js} +13 -13
- package/dist/packem_shared/azureProvider-C-bNOOil.js +1 -0
- package/dist/packem_shared/{brevoProvider-CIzuIDlt.js → brevoProvider-CkOjDyir.js} +1 -1
- package/dist/packem_shared/build-mime-message-t8KYiQkO.js +3 -0
- package/dist/packem_shared/{circuitBreakerMiddleware-D2SA_07f.js → circuitBreakerMiddleware-BSCPR72q.js} +1 -1
- package/dist/packem_shared/{cloudflareEmailProvider-B8mOEl3N.js → cloudflareEmailProvider-RCixPWnY.js} +1 -1
- package/dist/packem_shared/{createTestEmail-f12yLlWn.js → createTestEmail-XiF5E8vJ.js} +1 -1
- package/dist/packem_shared/dedupeMiddleware-CYYI_O7S.js +1 -0
- package/dist/packem_shared/{detectMimeType-DFH3kp6K.js → detectMimeType-B9_7ujpC.js} +1 -1
- package/dist/packem_shared/event-bus.d-BNQA-FZE.d.ts +104 -0
- package/dist/packem_shared/{failoverProvider-BgX6zfnY.js → failoverProvider-BkOOP7pt.js} +1 -1
- package/dist/packem_shared/generate-boundary-0xGe9GqK.js +1 -0
- package/dist/packem_shared/{httpProvider-aBfTXyCT.js → httpProvider-6idLfv-f.js} +1 -1
- package/dist/packem_shared/index-y0s2wQdc.js +11 -0
- package/dist/packem_shared/{infobipProvider-DxzsONUX.js → infobipProvider-CHHsqRXy.js} +1 -1
- package/dist/packem_shared/isValidSigningCertUrl-D7PuiRW4.js +3 -0
- package/dist/packem_shared/{loopsProvider-QBsAH6Ee.js → loopsProvider-Cl-dOuCN.js} +1 -1
- package/dist/packem_shared/mail.d-B9JyPxzq.d.ts +910 -0
- package/dist/packem_shared/{mailCrabProvider-DRE5snM9.js → mailCrabProvider-De2YxPlF.js} +1 -1
- package/dist/packem_shared/{mailPaceProvider-DCa-4ghl.js → mailPaceProvider-DwNTuFb2.js} +1 -1
- package/dist/packem_shared/{mailchannelsProvider-GiwkYBdD.js → mailchannelsProvider-Dwl0Typz.js} +1 -1
- package/dist/packem_shared/{mailerSendProvider-RK6IbUrL.js → mailerSendProvider-CyMIbqGq.js} +1 -1
- package/dist/packem_shared/mailgunProvider-DWKJYRKT.js +1 -0
- package/dist/packem_shared/mailjetProvider-DXPJQO1G.js +1 -0
- package/dist/packem_shared/{mailomatProvider-DPDpVS8r.js → mailomatProvider-DopZk27y.js} +1 -1
- package/dist/packem_shared/{mailtrapProvider-DtrS4Q34.js → mailtrapProvider-CTg4z3GN.js} +1 -1
- package/dist/packem_shared/{make-request-B9XjBynA.js → make-request-CDhxj-9b.js} +1 -1
- package/dist/packem_shared/{mandrillProvider-B84zH-eV.js → mandrillProvider-CAQeMtU_.js} +1 -1
- package/dist/packem_shared/{mockProvider-Behywbl1.js → mockProvider-EcpYlg-_.js} +1 -1
- package/dist/packem_shared/{netcoreProvider-D-wtCyJj.js → netcoreProvider-ua1avx07.js} +1 -1
- package/dist/packem_shared/{nodemailerProvider-BFHobXxt.js → nodemailerProvider-BZmQfKlM.js} +1 -1
- package/dist/packem_shared/{opentelemetryProvider-ByHC01ub.js → opentelemetryProvider-CAfWpywa.js} +1 -1
- package/dist/packem_shared/{outlook365Provider-Btk4Emig.js → outlook365Provider-SFYELGDr.js} +1 -1
- package/dist/packem_shared/{plunkProvider-Bw8e6460.js → plunkProvider-9amwuQri.js} +1 -1
- package/dist/packem_shared/{postalProvider-CT8zr89z.js → postalProvider-CeF3TOIW.js} +1 -1
- package/dist/packem_shared/{postmarkProvider-CQSqZWDs.js → postmarkProvider-BPgKEkgF.js} +1 -1
- package/dist/packem_shared/{provider-base-C7PuopYK.js → provider-base-B-xhQSqE.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-C9_sM8bH.js} +1 -1
- package/dist/packem_shared/{retry-ipI5DRJ8.js → retry-D1Rh-6Z4.js} +1 -1
- package/dist/packem_shared/{roundRobinProvider-D1by5KGW.js → roundRobinProvider-BPzLWZf-.js} +1 -1
- package/dist/packem_shared/{scalewayProvider-DU5gXQrl.js → scalewayProvider-DfC7275i.js} +1 -1
- package/dist/packem_shared/{sendGridProvider-BuTbEXW8.js → sendGridProvider-CUBBHBzs.js} +1 -1
- package/dist/packem_shared/smtpProvider-9nBSGtQl.js +27 -0
- package/dist/packem_shared/{sparkpostProvider-UAsFYIjP.js → sparkpostProvider-Be_d7S8o.js} +1 -1
- package/dist/packem_shared/{sweegoProvider-SUz0LIcA.js → sweegoProvider-CP1cNC-d.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-DtFMgBRP.js +1 -0
- package/dist/packem_shared/withEvents-CytsykaK.js +1 -0
- package/dist/packem_shared/{withSuppression-DBaZDMAr.js → withSuppression-wDl4NTb-.js} +1 -1
- package/dist/packem_shared/{zeptomailProvider-DXNX9mG_.js → zeptomailProvider-BZ0fK0Lk.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/parse-eml.js +3 -3
- 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/Mail-CYAwMRnX.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/build-mime-message-BW5FQ2Bt.js +0 -3
- 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/smtpProvider-5MI3-EPh.js +0 -25
- 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,27 +1,27 @@
|
|
|
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
|
-
* Failover configuration
|
|
7
|
-
*/
|
|
6
|
+
* Failover configuration
|
|
7
|
+
*/
|
|
8
8
|
interface FailoverConfig extends BaseConfig {
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
* Array of provider instances or provider factories to use in failover order
|
|
11
|
+
* Can be Provider instances or ProviderFactory functions
|
|
12
|
+
*/
|
|
13
13
|
mailers: unknown[];
|
|
14
14
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
* Time in milliseconds to wait before trying the next provider (default: 60)
|
|
16
|
+
*/
|
|
17
17
|
retryAfter?: number;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* Failover-specific email options
|
|
21
|
-
*/
|
|
20
|
+
* Failover-specific email options
|
|
21
|
+
*/
|
|
22
22
|
type FailoverEmailOptions = EmailOptions;
|
|
23
23
|
/**
|
|
24
|
-
* Failover Provider for sending emails with automatic failover to backup providers.
|
|
25
|
-
*/
|
|
24
|
+
* Failover Provider for sending emails with automatic failover to backup providers.
|
|
25
|
+
*/
|
|
26
26
|
declare const provider: ProviderFactory<FailoverConfig>;
|
|
27
27
|
export { type FailoverConfig, type FailoverEmailOptions, type ProviderFactory, provider as failoverProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as o}from"../../packem_shared/failoverProvider-
|
|
1
|
+
import{default as o}from"../../packem_shared/failoverProvider-BkOOP7pt.js";export{o as failoverProvider};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { 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 { E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
|
-
* HTTP email configuration
|
|
7
|
-
*/
|
|
6
|
+
* HTTP email configuration
|
|
7
|
+
*/
|
|
8
8
|
interface HttpEmailConfig {
|
|
9
9
|
apiKey?: string;
|
|
10
10
|
endpoint: string;
|
|
@@ -12,24 +12,24 @@ interface HttpEmailConfig {
|
|
|
12
12
|
method?: "GET" | "POST" | "PUT";
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* HTTP-specific email options
|
|
16
|
-
*/
|
|
15
|
+
* HTTP-specific email options
|
|
16
|
+
*/
|
|
17
17
|
interface HttpEmailOptions extends EmailOptions {
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
* Custom parameters to include in the request payload
|
|
20
|
+
*/
|
|
21
21
|
customParams?: Record<string, unknown>;
|
|
22
22
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
* Override the endpoint for this specific email
|
|
24
|
+
*/
|
|
25
25
|
endpointOverride?: string;
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
* Override the HTTP method for this specific email
|
|
28
|
+
*/
|
|
29
29
|
methodOverride?: "GET" | "POST" | "PUT";
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
* HTTP Email Provider for sending emails via HTTP API.
|
|
33
|
-
*/
|
|
32
|
+
* HTTP Email Provider for sending emails via HTTP API.
|
|
33
|
+
*/
|
|
34
34
|
declare const httpProvider: ProviderFactory<HttpEmailConfig>;
|
|
35
35
|
export { type HttpEmailConfig, type HttpEmailOptions, type ProviderFactory, httpProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as e}from"../../packem_shared/httpProvider-
|
|
1
|
+
import{default as e}from"../../packem_shared/httpProvider-6idLfv-f.js";export{e as httpProvider};
|
|
@@ -1,56 +1,56 @@
|
|
|
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
|
-
* Infobip configuration
|
|
7
|
-
*/
|
|
6
|
+
* Infobip configuration
|
|
7
|
+
*/
|
|
8
8
|
interface InfobipConfig extends BaseConfig {
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* Infobip API key
|
|
11
|
+
*/
|
|
12
12
|
apiKey: string;
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
* Infobip base URL (e.g., "https://api.infobip.com")
|
|
15
|
+
*/
|
|
16
16
|
baseUrl?: string;
|
|
17
17
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
* Infobip API endpoint
|
|
19
|
+
* Defaults to: https://{baseUrl}/email/3/send
|
|
20
|
+
*/
|
|
21
21
|
endpoint?: string;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Infobip-specific email options
|
|
25
|
-
*/
|
|
24
|
+
* Infobip-specific email options
|
|
25
|
+
*/
|
|
26
26
|
interface InfobipEmailOptions extends EmailOptions {
|
|
27
27
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
* Intermediate report (for delivery status updates)
|
|
29
|
+
*/
|
|
30
30
|
intermediateReport?: boolean;
|
|
31
31
|
/**
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
* Notify URL (for delivery notifications)
|
|
33
|
+
*/
|
|
34
34
|
notifyUrl?: string;
|
|
35
35
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
* Send at (Unix timestamp in milliseconds)
|
|
37
|
+
*/
|
|
38
38
|
sendAt?: number;
|
|
39
39
|
/**
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
* Infobip template ID for template-based emails
|
|
41
|
+
*/
|
|
42
42
|
templateId?: number;
|
|
43
43
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
* Template variables for Infobip templates
|
|
45
|
+
*/
|
|
46
46
|
templateVariables?: Record<string, unknown>;
|
|
47
47
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
* Tracking URL (for click tracking)
|
|
49
|
+
*/
|
|
50
50
|
trackingUrl?: string;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
* Infobip Provider for sending emails through Infobip API
|
|
54
|
-
*/
|
|
53
|
+
* Infobip Provider for sending emails through Infobip API
|
|
54
|
+
*/
|
|
55
55
|
declare const infobipProvider: ProviderFactory<InfobipConfig>;
|
|
56
56
|
export { type InfobipConfig, type InfobipEmailOptions, type ProviderFactory, infobipProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as e}from"../../packem_shared/infobipProvider-
|
|
1
|
+
import{default as e}from"../../packem_shared/infobipProvider-CHHsqRXy.js";export{e as infobipProvider};
|
|
@@ -1,47 +1,47 @@
|
|
|
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
|
-
* Loops configuration.
|
|
7
|
-
*/
|
|
6
|
+
* Loops configuration.
|
|
7
|
+
*/
|
|
8
8
|
interface LoopsConfig extends BaseConfig {
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* Loops API key (sent as a Bearer token).
|
|
11
|
+
*/
|
|
12
12
|
apiKey: string;
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
* Default transactional template id, used when a message doesn't supply its own.
|
|
15
|
+
*/
|
|
16
16
|
defaultTransactionalId?: string;
|
|
17
17
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
* API endpoint override.
|
|
19
|
+
*/
|
|
20
20
|
endpoint?: string;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Loops-specific email options.
|
|
24
|
-
*
|
|
25
|
-
* Loops sends [transactional emails](https://loops.so/docs/api-reference/send-transactional-email) from
|
|
26
|
-
* templates, so the rendered content lives in Loops — `subject`/`html`/`text` are ignored. Provide a
|
|
27
|
-
* `transactionalId` and the `dataVariables` your template expects.
|
|
28
|
-
*/
|
|
23
|
+
* Loops-specific email options.
|
|
24
|
+
*
|
|
25
|
+
* Loops sends [transactional emails](https://loops.so/docs/api-reference/send-transactional-email) from
|
|
26
|
+
* templates, so the rendered content lives in Loops — `subject`/`html`/`text` are ignored. Provide a
|
|
27
|
+
* `transactionalId` and the `dataVariables` your template expects.
|
|
28
|
+
*/
|
|
29
29
|
interface LoopsEmailOptions extends EmailOptions {
|
|
30
30
|
/**
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
* Whether to add the recipient to your audience.
|
|
32
|
+
*/
|
|
33
33
|
addToAudience?: boolean;
|
|
34
34
|
/**
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
* Variables passed to the Loops template.
|
|
36
|
+
*/
|
|
37
37
|
dataVariables?: Record<string, unknown>;
|
|
38
38
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
* The Loops transactional template id.
|
|
40
|
+
*/
|
|
41
41
|
transactionalId?: string;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
* Loops provider — sends transactional template emails through the Loops API.
|
|
45
|
-
*/
|
|
44
|
+
* Loops provider — sends transactional template emails through the Loops API.
|
|
45
|
+
*/
|
|
46
46
|
declare const loopsProvider: ProviderFactory<LoopsConfig>;
|
|
47
47
|
export { type LoopsConfig, type LoopsEmailOptions, type ProviderFactory, loopsProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as e}from"../../packem_shared/loopsProvider-
|
|
1
|
+
import{default as e}from"../../packem_shared/loopsProvider-Cl-dOuCN.js";export{e as loopsProvider};
|
|
@@ -1,26 +1,26 @@
|
|
|
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
|
-
* MailChannels configuration.
|
|
7
|
-
*/
|
|
6
|
+
* MailChannels configuration.
|
|
7
|
+
*/
|
|
8
8
|
interface MailChannelsConfig extends BaseConfig {
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* MailChannels API key (sent as the `X-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
|
-
* MailChannels-specific email options.
|
|
20
|
-
*/
|
|
19
|
+
* MailChannels-specific email options.
|
|
20
|
+
*/
|
|
21
21
|
type MailChannelsEmailOptions = EmailOptions;
|
|
22
22
|
/**
|
|
23
|
-
* MailChannels provider — sends through the MailChannels Email API (a SendGrid-shaped payload).
|
|
24
|
-
*/
|
|
23
|
+
* MailChannels provider — sends through the MailChannels Email API (a SendGrid-shaped payload).
|
|
24
|
+
*/
|
|
25
25
|
declare const mailchannelsProvider: ProviderFactory<MailChannelsConfig>;
|
|
26
26
|
export { type MailChannelsConfig, type MailChannelsEmailOptions, type ProviderFactory, mailchannelsProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as r}from"../../packem_shared/mailchannelsProvider-
|
|
1
|
+
import{default as r}from"../../packem_shared/mailchannelsProvider-Dwl0Typz.js";export{r as mailchannelsProvider};
|
|
@@ -1,32 +1,32 @@
|
|
|
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
|
-
* MailCrab configuration (for local development/testing)
|
|
7
|
-
*/
|
|
6
|
+
* MailCrab configuration (for local development/testing)
|
|
7
|
+
*/
|
|
8
8
|
interface MailCrabConfig extends BaseConfig {
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* MailCrab host (default: localhost)
|
|
11
|
+
*/
|
|
12
12
|
host?: string;
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
* MailCrab port (default: 1025)
|
|
15
|
+
*/
|
|
16
16
|
port?: number;
|
|
17
17
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
* Use secure connection (default: false)
|
|
19
|
+
*/
|
|
20
20
|
secure?: boolean;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* MailCrab-specific email options
|
|
24
|
-
*/
|
|
23
|
+
* MailCrab-specific email options
|
|
24
|
+
*/
|
|
25
25
|
type MailCrabEmailOptions = EmailOptions;
|
|
26
26
|
/**
|
|
27
|
-
* MailCrab Provider for local email testing
|
|
28
|
-
* MailCrab is a local SMTP server for testing emails during development
|
|
29
|
-
* This is a convenience wrapper around the SMTP provider with MailCrab defaults
|
|
30
|
-
*/
|
|
27
|
+
* MailCrab Provider for local email testing
|
|
28
|
+
* MailCrab is a local SMTP server for testing emails during development
|
|
29
|
+
* This is a convenience wrapper around the SMTP provider with MailCrab defaults
|
|
30
|
+
*/
|
|
31
31
|
declare const mailCrabProvider: ProviderFactory<MailCrabConfig>;
|
|
32
32
|
export { type MailCrabConfig, type MailCrabEmailOptions, type ProviderFactory, mailCrabProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as e}from"../../packem_shared/mailCrabProvider-
|
|
1
|
+
import{default as e}from"../../packem_shared/mailCrabProvider-De2YxPlF.js";export{e as mailCrabProvider};
|
|
@@ -1,51 +1,51 @@
|
|
|
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
|
-
* MailerSend configuration
|
|
7
|
-
*/
|
|
6
|
+
* MailerSend configuration
|
|
7
|
+
*/
|
|
8
8
|
interface MailerSendConfig extends BaseConfig {
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* MailerSend API token
|
|
11
|
+
*/
|
|
12
12
|
apiToken: string;
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
* MailerSend API endpoint
|
|
15
|
+
* Defaults to: https://api.mailersend.com
|
|
16
|
+
*/
|
|
17
17
|
endpoint?: string;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* MailerSend-specific email options
|
|
21
|
-
*/
|
|
20
|
+
* MailerSend-specific email options
|
|
21
|
+
*/
|
|
22
22
|
interface MailerSendEmailOptions extends EmailOptions {
|
|
23
23
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
* Domain ID (optional, for domain-specific sending)
|
|
25
|
+
*/
|
|
26
26
|
domainId?: string;
|
|
27
27
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
* Personalization (per-recipient variables)
|
|
29
|
+
*/
|
|
30
30
|
personalization?: {
|
|
31
31
|
data: Record<string, unknown>;
|
|
32
32
|
email: string;
|
|
33
33
|
}[];
|
|
34
34
|
/**
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
* Scheduled at (Unix timestamp)
|
|
36
|
+
*/
|
|
37
37
|
scheduledAt?: number;
|
|
38
38
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
* MailerSend template ID for template-based emails
|
|
40
|
+
*/
|
|
41
41
|
templateId?: string;
|
|
42
42
|
/**
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
* Template variables for MailerSend templates
|
|
44
|
+
*/
|
|
45
45
|
templateVariables?: Record<string, unknown>;
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
* MailerSend Provider for sending emails through MailerSend API
|
|
49
|
-
*/
|
|
48
|
+
* MailerSend Provider for sending emails through MailerSend API
|
|
49
|
+
*/
|
|
50
50
|
declare const mailerSendProvider: ProviderFactory<MailerSendConfig>;
|
|
51
51
|
export { type MailerSendConfig, type MailerSendEmailOptions, type ProviderFactory, mailerSendProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as a}from"../../packem_shared/mailerSendProvider-
|
|
1
|
+
import{default as a}from"../../packem_shared/mailerSendProvider-CyMIbqGq.js";export{a as mailerSendProvider};
|
|
@@ -1,73 +1,73 @@
|
|
|
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
|
-
* Mailgun configuration
|
|
7
|
-
*/
|
|
6
|
+
* Mailgun configuration
|
|
7
|
+
*/
|
|
8
8
|
interface MailgunConfig extends BaseConfig {
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* Mailgun API key
|
|
11
|
+
*/
|
|
12
12
|
apiKey: string;
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
* Mailgun domain (required for sending emails)
|
|
15
|
+
*/
|
|
16
16
|
domain: string;
|
|
17
17
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
* Mailgun API endpoint
|
|
19
|
+
* Defaults to US endpoint: https://api.mailgun.net
|
|
20
|
+
* Use https://api.eu.mailgun.net for EU accounts
|
|
21
|
+
*/
|
|
22
22
|
endpoint?: string;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
* Mailgun-specific email options
|
|
26
|
-
*/
|
|
25
|
+
* Mailgun-specific email options
|
|
26
|
+
*/
|
|
27
27
|
interface MailgunEmailOptions extends EmailOptions {
|
|
28
28
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
* Campaign ID for tracking
|
|
30
|
+
*/
|
|
31
31
|
campaignId?: string;
|
|
32
32
|
/**
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
* Enable/disable click tracking
|
|
34
|
+
*/
|
|
35
35
|
clickTracking?: boolean;
|
|
36
36
|
/**
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
* Delivery time (Unix timestamp or RFC 2822 date)
|
|
38
|
+
*/
|
|
39
39
|
deliveryTime?: string | number;
|
|
40
40
|
/**
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
* Enable/disable open tracking
|
|
42
|
+
*/
|
|
43
43
|
openTracking?: boolean;
|
|
44
44
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
* Require TLS
|
|
46
|
+
*/
|
|
47
47
|
requireTls?: boolean;
|
|
48
48
|
/**
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
* Skip verification
|
|
50
|
+
*/
|
|
51
51
|
skipVerification?: boolean;
|
|
52
52
|
/**
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
* Mailgun template name
|
|
54
|
+
*/
|
|
55
55
|
template?: string;
|
|
56
56
|
/**
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
* Template variables for Mailgun templates
|
|
58
|
+
*/
|
|
59
59
|
templateVariables?: Record<string, unknown>;
|
|
60
60
|
/**
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
* Test mode - emails won't actually be sent
|
|
62
|
+
*/
|
|
63
63
|
testMode?: boolean;
|
|
64
64
|
/**
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
* Enable/disable unsubscribe tracking
|
|
66
|
+
*/
|
|
67
67
|
unsubscribeTracking?: boolean;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
|
-
* Mailgun Provider for sending emails through Mailgun API
|
|
71
|
-
*/
|
|
70
|
+
* Mailgun Provider for sending emails through Mailgun API
|
|
71
|
+
*/
|
|
72
72
|
declare const mailgunProvider: ProviderFactory<MailgunConfig>;
|
|
73
73
|
export { type MailgunConfig, type MailgunEmailOptions, type ProviderFactory, mailgunProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as e}from"../../packem_shared/mailgunProvider-
|
|
1
|
+
import{default as e}from"../../packem_shared/mailgunProvider-DWKJYRKT.js";export{e as mailgunProvider};
|