@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.
Files changed (230) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/crypto/index.d.ts +183 -183
  3. package/dist/crypto/index.js +1 -1
  4. package/dist/deliverability/dmarc-report.d.ts +43 -43
  5. package/dist/deliverability/dmarc-report.js +1 -1
  6. package/dist/deliverability/index.d.ts +201 -201
  7. package/dist/events/index.d.ts +17 -17
  8. package/dist/inbound/index.d.ts +180 -180
  9. package/dist/index.d.ts +35 -46
  10. package/dist/index.js +1 -1
  11. package/dist/middleware/index.d.ts +213 -216
  12. package/dist/middleware/index.js +1 -1
  13. package/dist/packem_shared/{DkimSigner-CiLBaXrg.js → DkimSigner-udCl3JXO.js} +6 -6
  14. package/dist/packem_shared/{DraftMailMessage-CGTVuy2z.js → DraftMailMessage-BgP1OF1G.js} +1 -1
  15. package/dist/packem_shared/EmailError-2CCyVX1S.js +1 -0
  16. package/dist/packem_shared/Mail-DduRntbB.js +1 -0
  17. package/dist/packem_shared/MailMessage-BRBT4Jea.js +1 -0
  18. package/dist/packem_shared/{RequiredOptionError-DuNNY_a5.js → RequiredOptionError-BmpC5whN.js} +1 -1
  19. package/dist/packem_shared/SmimeEncrypter-Dm9McVTQ.js +6 -0
  20. package/dist/packem_shared/SmimeSigner-B6hkacNk.js +8 -0
  21. package/dist/packem_shared/{address-formatter-BWR2Dddx.js → address-formatter-bfmGfQ83.js} +1 -1
  22. package/dist/packem_shared/{ahaSendProvider-DSuZIzaQ.js → ahaSendProvider-C6nBGCCa.js} +1 -1
  23. package/dist/packem_shared/arcMessageSignatureBase-B2uArM48.js +17 -0
  24. package/dist/packem_shared/attachment-processor-DjbjtJ6H.js +1 -0
  25. package/dist/packem_shared/{autoSendProvider-DqAoelWR.js → autoSendProvider-Dhig--Zo.js} +1 -1
  26. package/dist/packem_shared/{awsSesProvider-ClK1FUln.js → awsSesProvider-CMqAmU5N.js} +13 -13
  27. package/dist/packem_shared/azureProvider-C-bNOOil.js +1 -0
  28. package/dist/packem_shared/{brevoProvider-CIzuIDlt.js → brevoProvider-CkOjDyir.js} +1 -1
  29. package/dist/packem_shared/build-mime-message-t8KYiQkO.js +3 -0
  30. package/dist/packem_shared/{circuitBreakerMiddleware-D2SA_07f.js → circuitBreakerMiddleware-BSCPR72q.js} +1 -1
  31. package/dist/packem_shared/{cloudflareEmailProvider-B8mOEl3N.js → cloudflareEmailProvider-RCixPWnY.js} +1 -1
  32. package/dist/packem_shared/{createTestEmail-f12yLlWn.js → createTestEmail-XiF5E8vJ.js} +1 -1
  33. package/dist/packem_shared/dedupeMiddleware-CYYI_O7S.js +1 -0
  34. package/dist/packem_shared/{detectMimeType-DFH3kp6K.js → detectMimeType-B9_7ujpC.js} +1 -1
  35. package/dist/packem_shared/event-bus.d-BNQA-FZE.d.ts +104 -0
  36. package/dist/packem_shared/{failoverProvider-BgX6zfnY.js → failoverProvider-BkOOP7pt.js} +1 -1
  37. package/dist/packem_shared/generate-boundary-0xGe9GqK.js +1 -0
  38. package/dist/packem_shared/{httpProvider-aBfTXyCT.js → httpProvider-6idLfv-f.js} +1 -1
  39. package/dist/packem_shared/index-y0s2wQdc.js +11 -0
  40. package/dist/packem_shared/{infobipProvider-DxzsONUX.js → infobipProvider-CHHsqRXy.js} +1 -1
  41. package/dist/packem_shared/isValidSigningCertUrl-D7PuiRW4.js +3 -0
  42. package/dist/packem_shared/{loopsProvider-QBsAH6Ee.js → loopsProvider-Cl-dOuCN.js} +1 -1
  43. package/dist/packem_shared/mail.d-B9JyPxzq.d.ts +910 -0
  44. package/dist/packem_shared/{mailCrabProvider-DRE5snM9.js → mailCrabProvider-De2YxPlF.js} +1 -1
  45. package/dist/packem_shared/{mailPaceProvider-DCa-4ghl.js → mailPaceProvider-DwNTuFb2.js} +1 -1
  46. package/dist/packem_shared/{mailchannelsProvider-GiwkYBdD.js → mailchannelsProvider-Dwl0Typz.js} +1 -1
  47. package/dist/packem_shared/{mailerSendProvider-RK6IbUrL.js → mailerSendProvider-CyMIbqGq.js} +1 -1
  48. package/dist/packem_shared/mailgunProvider-DWKJYRKT.js +1 -0
  49. package/dist/packem_shared/mailjetProvider-DXPJQO1G.js +1 -0
  50. package/dist/packem_shared/{mailomatProvider-DPDpVS8r.js → mailomatProvider-DopZk27y.js} +1 -1
  51. package/dist/packem_shared/{mailtrapProvider-DtrS4Q34.js → mailtrapProvider-CTg4z3GN.js} +1 -1
  52. package/dist/packem_shared/{make-request-B9XjBynA.js → make-request-CDhxj-9b.js} +1 -1
  53. package/dist/packem_shared/{mandrillProvider-B84zH-eV.js → mandrillProvider-CAQeMtU_.js} +1 -1
  54. package/dist/packem_shared/{mockProvider-Behywbl1.js → mockProvider-EcpYlg-_.js} +1 -1
  55. package/dist/packem_shared/{netcoreProvider-D-wtCyJj.js → netcoreProvider-ua1avx07.js} +1 -1
  56. package/dist/packem_shared/{nodemailerProvider-BFHobXxt.js → nodemailerProvider-BZmQfKlM.js} +1 -1
  57. package/dist/packem_shared/{opentelemetryProvider-ByHC01ub.js → opentelemetryProvider-CAfWpywa.js} +1 -1
  58. package/dist/packem_shared/{outlook365Provider-Btk4Emig.js → outlook365Provider-SFYELGDr.js} +1 -1
  59. package/dist/packem_shared/{plunkProvider-Bw8e6460.js → plunkProvider-9amwuQri.js} +1 -1
  60. package/dist/packem_shared/{postalProvider-CT8zr89z.js → postalProvider-CeF3TOIW.js} +1 -1
  61. package/dist/packem_shared/{postmarkProvider-CQSqZWDs.js → postmarkProvider-BPgKEkgF.js} +1 -1
  62. package/dist/packem_shared/{provider-base-C7PuopYK.js → provider-base-B-xhQSqE.js} +1 -1
  63. package/dist/packem_shared/{provider.d-J-y6iogK.d.ts → provider.d-Cx5YQJdP.d.ts} +9 -9
  64. package/dist/packem_shared/{resendProvider-drJYlvLP.js → resendProvider-C9_sM8bH.js} +1 -1
  65. package/dist/packem_shared/{retry-ipI5DRJ8.js → retry-D1Rh-6Z4.js} +1 -1
  66. package/dist/packem_shared/{roundRobinProvider-D1by5KGW.js → roundRobinProvider-BPzLWZf-.js} +1 -1
  67. package/dist/packem_shared/{scalewayProvider-DU5gXQrl.js → scalewayProvider-DfC7275i.js} +1 -1
  68. package/dist/packem_shared/{sendGridProvider-BuTbEXW8.js → sendGridProvider-CUBBHBzs.js} +1 -1
  69. package/dist/packem_shared/smtpProvider-9nBSGtQl.js +27 -0
  70. package/dist/packem_shared/{sparkpostProvider-UAsFYIjP.js → sparkpostProvider-Be_d7S8o.js} +1 -1
  71. package/dist/packem_shared/{sweegoProvider-SUz0LIcA.js → sweegoProvider-CP1cNC-d.js} +1 -1
  72. package/dist/packem_shared/{tracer.d-MU42G1jG.d.ts → tracer.d-sb5yrt_n.d.ts} +2 -2
  73. package/dist/packem_shared/types.d-B0t3PQ3t.d.ts +107 -0
  74. package/dist/packem_shared/{types.d-ejzh-xBP.d.ts → types.d-B9295M4_.d.ts} +82 -82
  75. package/dist/packem_shared/types.d-BzoHR9nB.d.ts +61 -0
  76. package/dist/packem_shared/types.d-C5geVKes.d.ts +51 -0
  77. package/dist/packem_shared/types.d-GKqPNk0I.d.ts +24 -0
  78. package/dist/packem_shared/types.d-I-KeZ5w2.d.ts +9 -0
  79. package/dist/packem_shared/types.d-kHO4kX9q.d.ts +69 -0
  80. package/dist/packem_shared/utils-DjEtR3qT.js +1 -0
  81. package/dist/packem_shared/verifyMailgunWebhook-DNk080BF.js +1 -0
  82. package/dist/packem_shared/verifyPostmarkWebhook-B4OIEHQF.js +1 -0
  83. package/dist/packem_shared/verifyResendWebhook-C7E32LZ1.js +1 -0
  84. package/dist/packem_shared/verifySendGridWebhook-DtFMgBRP.js +1 -0
  85. package/dist/packem_shared/withEvents-CytsykaK.js +1 -0
  86. package/dist/packem_shared/{withSuppression-DBaZDMAr.js → withSuppression-wDl4NTb-.js} +1 -1
  87. package/dist/packem_shared/{zeptomailProvider-DXNX9mG_.js → zeptomailProvider-BZ0fK0Lk.js} +1 -1
  88. package/dist/providers/ahasend/index.d.ts +18 -18
  89. package/dist/providers/ahasend/index.js +1 -1
  90. package/dist/providers/autosend/index.d.ts +30 -30
  91. package/dist/providers/autosend/index.js +1 -1
  92. package/dist/providers/aws-ses/index.d.ts +20 -20
  93. package/dist/providers/aws-ses/index.js +1 -1
  94. package/dist/providers/azure/index.d.ts +26 -26
  95. package/dist/providers/azure/index.js +1 -1
  96. package/dist/providers/brevo/index.d.ts +35 -35
  97. package/dist/providers/brevo/index.js +1 -1
  98. package/dist/providers/cloudflare-email/index.d.ts +25 -25
  99. package/dist/providers/cloudflare-email/index.js +1 -1
  100. package/dist/providers/failover/index.d.ts +14 -14
  101. package/dist/providers/failover/index.js +1 -1
  102. package/dist/providers/http/index.d.ts +15 -15
  103. package/dist/providers/http/index.js +1 -1
  104. package/dist/providers/infobip/index.d.ts +28 -28
  105. package/dist/providers/infobip/index.js +1 -1
  106. package/dist/providers/loops/index.d.ts +25 -25
  107. package/dist/providers/loops/index.js +1 -1
  108. package/dist/providers/mailchannels/index.d.ts +13 -13
  109. package/dist/providers/mailchannels/index.js +1 -1
  110. package/dist/providers/mailcrab/index.d.ts +17 -17
  111. package/dist/providers/mailcrab/index.js +1 -1
  112. package/dist/providers/mailersend/index.d.ts +24 -24
  113. package/dist/providers/mailersend/index.js +1 -1
  114. package/dist/providers/mailgun/index.d.ts +37 -37
  115. package/dist/providers/mailgun/index.js +1 -1
  116. package/dist/providers/mailjet/index.d.ts +36 -36
  117. package/dist/providers/mailjet/index.js +1 -1
  118. package/dist/providers/mailomat/index.d.ts +20 -20
  119. package/dist/providers/mailomat/index.js +1 -1
  120. package/dist/providers/mailpace/index.d.ts +24 -24
  121. package/dist/providers/mailpace/index.js +1 -1
  122. package/dist/providers/mailtrap/index.d.ts +22 -22
  123. package/dist/providers/mailtrap/index.js +1 -1
  124. package/dist/providers/mandrill/index.d.ts +36 -36
  125. package/dist/providers/mandrill/index.js +1 -1
  126. package/dist/providers/mock/index.d.ts +8 -8
  127. package/dist/providers/mock/index.js +1 -1
  128. package/dist/providers/netcore/index.d.ts +17 -17
  129. package/dist/providers/netcore/index.js +1 -1
  130. package/dist/providers/nodemailer/index.d.ts +22 -22
  131. package/dist/providers/nodemailer/index.js +1 -1
  132. package/dist/providers/opentelemetry/index.d.ts +20 -20
  133. package/dist/providers/opentelemetry/index.js +1 -1
  134. package/dist/providers/outlook365/index.d.ts +82 -82
  135. package/dist/providers/outlook365/index.js +1 -1
  136. package/dist/providers/plunk/index.d.ts +18 -18
  137. package/dist/providers/plunk/index.js +1 -1
  138. package/dist/providers/postal/index.d.ts +24 -24
  139. package/dist/providers/postal/index.js +1 -1
  140. package/dist/providers/postmark/index.d.ts +30 -30
  141. package/dist/providers/postmark/index.js +1 -1
  142. package/dist/providers/resend/index.d.ts +24 -24
  143. package/dist/providers/resend/index.js +1 -1
  144. package/dist/providers/roundrobin/index.d.ts +14 -14
  145. package/dist/providers/roundrobin/index.js +1 -1
  146. package/dist/providers/scaleway/index.d.ts +22 -22
  147. package/dist/providers/scaleway/index.js +1 -1
  148. package/dist/providers/sendgrid/index.d.ts +25 -25
  149. package/dist/providers/sendgrid/index.js +1 -1
  150. package/dist/providers/smtp/index.d.ts +11 -11
  151. package/dist/providers/smtp/index.js +1 -1
  152. package/dist/providers/sparkpost/index.d.ts +21 -21
  153. package/dist/providers/sparkpost/index.js +1 -1
  154. package/dist/providers/sweego/index.d.ts +20 -20
  155. package/dist/providers/sweego/index.js +1 -1
  156. package/dist/providers/zeptomail/index.d.ts +17 -17
  157. package/dist/providers/zeptomail/index.js +1 -1
  158. package/dist/queue/bullmq-queue.d.ts +26 -26
  159. package/dist/queue/index.d.ts +86 -86
  160. package/dist/queue/pg-boss-queue.d.ts +13 -13
  161. package/dist/queue/sqs-queue.d.ts +20 -20
  162. package/dist/queue/unstorage-queue.d.ts +47 -47
  163. package/dist/queue/unstorage-queue.js +1 -1
  164. package/dist/render/cid.d.ts +12 -12
  165. package/dist/render/css-inline.d.ts +12 -12
  166. package/dist/render/css-inline.js +1 -1
  167. package/dist/render/dark-mode.d.ts +12 -12
  168. package/dist/render/preheader.d.ts +16 -16
  169. package/dist/template-engines/handlebars.d.ts +19 -19
  170. package/dist/template-engines/handlebars.js +1 -1
  171. package/dist/template-engines/html-to-text.d.ts +12 -12
  172. package/dist/template-engines/html-to-text.js +1 -1
  173. package/dist/template-engines/i18n.d.ts +43 -43
  174. package/dist/template-engines/i18n.js +1 -1
  175. package/dist/template-engines/jsx-email.d.ts +8 -8
  176. package/dist/template-engines/jsx-email.js +1 -1
  177. package/dist/template-engines/liquid.d.ts +9 -9
  178. package/dist/template-engines/liquid.js +1 -1
  179. package/dist/template-engines/mjml.d.ts +9 -9
  180. package/dist/template-engines/mjml.js +1 -1
  181. package/dist/template-engines/react-email.d.ts +8 -8
  182. package/dist/template-engines/react-email.js +1 -1
  183. package/dist/template-engines/vue-email.d.ts +8 -8
  184. package/dist/template-engines/vue-email.js +1 -1
  185. package/dist/test/index.d.ts +89 -89
  186. package/dist/test/index.js +1 -1
  187. package/dist/utils/cache.d.ts +27 -27
  188. package/dist/utils/format-email-address.d.ts +6 -6
  189. package/dist/utils/format-email-address.js +1 -1
  190. package/dist/utils/normalize-email-aliases.d.ts +19 -19
  191. package/dist/utils/parse-address.d.ts +16 -16
  192. package/dist/utils/parse-eml.d.ts +18 -18
  193. package/dist/utils/parse-eml.js +3 -3
  194. package/dist/utils/result.d.ts +30 -30
  195. package/dist/utils/result.js +1 -1
  196. package/dist/utils/validation/check-feature-support.d.ts +33 -33
  197. package/dist/utils/validation/validate-email.d.ts +4 -4
  198. package/dist/webhooks/index.d.ts +134 -134
  199. package/dist/webhooks/index.js +1 -1
  200. package/package.json +1 -1
  201. package/dist/packem_shared/EmailError-B-sEf3bp.js +0 -1
  202. package/dist/packem_shared/Mail-CYAwMRnX.js +0 -1
  203. package/dist/packem_shared/MailMessage-DQRgs5Dz.js +0 -1
  204. package/dist/packem_shared/SmimeEncrypter-DavopRlE.js +0 -6
  205. package/dist/packem_shared/SmimeSigner-0onWksAv.js +0 -8
  206. package/dist/packem_shared/arcMessageSignatureBase-DDLEHW2E.js +0 -17
  207. package/dist/packem_shared/attachment-processor-CMp7qqMI.js +0 -1
  208. package/dist/packem_shared/azureProvider-Cw_Tmde6.js +0 -1
  209. package/dist/packem_shared/build-mime-message-BW5FQ2Bt.js +0 -3
  210. package/dist/packem_shared/dedupeMiddleware-B6ajWOTi.js +0 -1
  211. package/dist/packem_shared/event-bus.d-DEl3w_EW.d.ts +0 -104
  212. package/dist/packem_shared/generate-boundary-DQbzDiOI.js +0 -1
  213. package/dist/packem_shared/index-BoZvzveg.js +0 -11
  214. package/dist/packem_shared/isValidSigningCertUrl-Bii1AMGC.js +0 -3
  215. package/dist/packem_shared/mail.d-B9SSqyy0.d.ts +0 -909
  216. package/dist/packem_shared/mailgunProvider-D9HUWGKN.js +0 -1
  217. package/dist/packem_shared/mailjetProvider-DelLs2Vt.js +0 -1
  218. package/dist/packem_shared/smtpProvider-5MI3-EPh.js +0 -25
  219. package/dist/packem_shared/types.d-BId55FW2.d.ts +0 -107
  220. package/dist/packem_shared/types.d-CmoWvdZi.d.ts +0 -61
  221. package/dist/packem_shared/types.d-DCkecJse.d.ts +0 -51
  222. package/dist/packem_shared/types.d-Mpu0HZoG.d.ts +0 -24
  223. package/dist/packem_shared/types.d-lcJZmwRK.d.ts +0 -69
  224. package/dist/packem_shared/types.d-nyR1ty1Q.d.ts +0 -9
  225. package/dist/packem_shared/utils-BfYfPB_I.js +0 -1
  226. package/dist/packem_shared/verifyMailgunWebhook-Cwl0OD3P.js +0 -1
  227. package/dist/packem_shared/verifyPostmarkWebhook-C72ZvbrG.js +0 -1
  228. package/dist/packem_shared/verifyResendWebhook-YK2zNDXR.js +0 -1
  229. package/dist/packem_shared/verifySendGridWebhook-Dbwc1tfG.js +0 -1
  230. package/dist/packem_shared/withEvents-CCVblSqj.js +0 -1
@@ -1,27 +1,27 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-J-y6iogK.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-J-y6iogK.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-ejzh-xBP.js";
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
- * Array of provider instances or provider factories to use in failover order
11
- * Can be Provider instances or ProviderFactory functions
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
- * Time in milliseconds to wait before trying the next provider (default: 60)
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-BgX6zfnY.js";export{o as 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-J-y6iogK.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-J-y6iogK.js";
3
- import { E as EmailOptions } from "../../packem_shared/types.d-ejzh-xBP.js";
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
- * Custom parameters to include in the request payload
20
- */
19
+ * Custom parameters to include in the request payload
20
+ */
21
21
  customParams?: Record<string, unknown>;
22
22
  /**
23
- * Override the endpoint for this specific email
24
- */
23
+ * Override the endpoint for this specific email
24
+ */
25
25
  endpointOverride?: string;
26
26
  /**
27
- * Override the HTTP method for this specific email
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-aBfTXyCT.js";export{e as 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-J-y6iogK.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-J-y6iogK.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-ejzh-xBP.js";
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
- * Infobip API key
11
- */
10
+ * Infobip API key
11
+ */
12
12
  apiKey: string;
13
13
  /**
14
- * Infobip base URL (e.g., "https://api.infobip.com")
15
- */
14
+ * Infobip base URL (e.g., "https://api.infobip.com")
15
+ */
16
16
  baseUrl?: string;
17
17
  /**
18
- * Infobip API endpoint
19
- * Defaults to: https://{baseUrl}/email/3/send
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
- * Intermediate report (for delivery status updates)
29
- */
28
+ * Intermediate report (for delivery status updates)
29
+ */
30
30
  intermediateReport?: boolean;
31
31
  /**
32
- * Notify URL (for delivery notifications)
33
- */
32
+ * Notify URL (for delivery notifications)
33
+ */
34
34
  notifyUrl?: string;
35
35
  /**
36
- * Send at (Unix timestamp in milliseconds)
37
- */
36
+ * Send at (Unix timestamp in milliseconds)
37
+ */
38
38
  sendAt?: number;
39
39
  /**
40
- * Infobip template ID for template-based emails
41
- */
40
+ * Infobip template ID for template-based emails
41
+ */
42
42
  templateId?: number;
43
43
  /**
44
- * Template variables for Infobip templates
45
- */
44
+ * Template variables for Infobip templates
45
+ */
46
46
  templateVariables?: Record<string, unknown>;
47
47
  /**
48
- * Tracking URL (for click tracking)
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-DxzsONUX.js";export{e as 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-J-y6iogK.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-J-y6iogK.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-ejzh-xBP.js";
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
- * Loops API key (sent as a Bearer token).
11
- */
10
+ * Loops API key (sent as a Bearer token).
11
+ */
12
12
  apiKey: string;
13
13
  /**
14
- * Default transactional template id, used when a message doesn't supply its own.
15
- */
14
+ * Default transactional template id, used when a message doesn't supply its own.
15
+ */
16
16
  defaultTransactionalId?: string;
17
17
  /**
18
- * API endpoint override.
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
- * Whether to add the recipient to your audience.
32
- */
31
+ * Whether to add the recipient to your audience.
32
+ */
33
33
  addToAudience?: boolean;
34
34
  /**
35
- * Variables passed to the Loops template.
36
- */
35
+ * Variables passed to the Loops template.
36
+ */
37
37
  dataVariables?: Record<string, unknown>;
38
38
  /**
39
- * The Loops transactional template id.
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-QBsAH6Ee.js";export{e as 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-J-y6iogK.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-J-y6iogK.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-ejzh-xBP.js";
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
- * MailChannels API key (sent as the `X-Api-Key` header).
11
- */
10
+ * MailChannels API key (sent as the `X-Api-Key` header).
11
+ */
12
12
  apiKey: string;
13
13
  /**
14
- * API endpoint override.
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-GiwkYBdD.js";export{r as 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-J-y6iogK.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-J-y6iogK.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-ejzh-xBP.js";
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
- * MailCrab host (default: localhost)
11
- */
10
+ * MailCrab host (default: localhost)
11
+ */
12
12
  host?: string;
13
13
  /**
14
- * MailCrab port (default: 1025)
15
- */
14
+ * MailCrab port (default: 1025)
15
+ */
16
16
  port?: number;
17
17
  /**
18
- * Use secure connection (default: false)
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-DRE5snM9.js";export{e as 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-J-y6iogK.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-J-y6iogK.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-ejzh-xBP.js";
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
- * MailerSend API token
11
- */
10
+ * MailerSend API token
11
+ */
12
12
  apiToken: string;
13
13
  /**
14
- * MailerSend API endpoint
15
- * Defaults to: https://api.mailersend.com
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
- * Domain ID (optional, for domain-specific sending)
25
- */
24
+ * Domain ID (optional, for domain-specific sending)
25
+ */
26
26
  domainId?: string;
27
27
  /**
28
- * Personalization (per-recipient variables)
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
- * Scheduled at (Unix timestamp)
36
- */
35
+ * Scheduled at (Unix timestamp)
36
+ */
37
37
  scheduledAt?: number;
38
38
  /**
39
- * MailerSend template ID for template-based emails
40
- */
39
+ * MailerSend template ID for template-based emails
40
+ */
41
41
  templateId?: string;
42
42
  /**
43
- * Template variables for MailerSend templates
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-RK6IbUrL.js";export{a as 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-J-y6iogK.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-J-y6iogK.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-ejzh-xBP.js";
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
- * Mailgun API key
11
- */
10
+ * Mailgun API key
11
+ */
12
12
  apiKey: string;
13
13
  /**
14
- * Mailgun domain (required for sending emails)
15
- */
14
+ * Mailgun domain (required for sending emails)
15
+ */
16
16
  domain: string;
17
17
  /**
18
- * Mailgun API endpoint
19
- * Defaults to US endpoint: https://api.mailgun.net
20
- * Use https://api.eu.mailgun.net for EU accounts
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
- * Campaign ID for tracking
30
- */
29
+ * Campaign ID for tracking
30
+ */
31
31
  campaignId?: string;
32
32
  /**
33
- * Enable/disable click tracking
34
- */
33
+ * Enable/disable click tracking
34
+ */
35
35
  clickTracking?: boolean;
36
36
  /**
37
- * Delivery time (Unix timestamp or RFC 2822 date)
38
- */
37
+ * Delivery time (Unix timestamp or RFC 2822 date)
38
+ */
39
39
  deliveryTime?: string | number;
40
40
  /**
41
- * Enable/disable open tracking
42
- */
41
+ * Enable/disable open tracking
42
+ */
43
43
  openTracking?: boolean;
44
44
  /**
45
- * Require TLS
46
- */
45
+ * Require TLS
46
+ */
47
47
  requireTls?: boolean;
48
48
  /**
49
- * Skip verification
50
- */
49
+ * Skip verification
50
+ */
51
51
  skipVerification?: boolean;
52
52
  /**
53
- * Mailgun template name
54
- */
53
+ * Mailgun template name
54
+ */
55
55
  template?: string;
56
56
  /**
57
- * Template variables for Mailgun templates
58
- */
57
+ * Template variables for Mailgun templates
58
+ */
59
59
  templateVariables?: Record<string, unknown>;
60
60
  /**
61
- * Test mode - emails won't actually be sent
62
- */
61
+ * Test mode - emails won't actually be sent
62
+ */
63
63
  testMode?: boolean;
64
64
  /**
65
- * Enable/disable unsubscribe tracking
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-D9HUWGKN.js";export{e as mailgunProvider};
1
+ import{default as e}from"../../packem_shared/mailgunProvider-DWKJYRKT.js";export{e as mailgunProvider};