@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,44 +1,44 @@
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
- * Scaleway configuration
7
- */
6
+ * Scaleway configuration
7
+ */
8
8
  interface ScalewayConfig extends BaseConfig {
9
9
  /**
10
- * Scaleway API key
11
- */
10
+ * Scaleway API key
11
+ */
12
12
  apiKey: string;
13
13
  /**
14
- * Scaleway API endpoint
15
- * Defaults to: https://api.scaleway.com/transactional-email/v1alpha1
16
- */
14
+ * Scaleway API endpoint
15
+ * Defaults to: https://api.scaleway.com/transactional-email/v1alpha1
16
+ */
17
17
  endpoint?: string;
18
18
  /**
19
- * Scaleway region (e.g., "fr-par", "nl-ams")
20
- */
19
+ * Scaleway region (e.g., "fr-par", "nl-ams")
20
+ */
21
21
  region: string;
22
22
  }
23
23
  /**
24
- * Scaleway-specific email options
25
- */
24
+ * Scaleway-specific email options
25
+ */
26
26
  interface ScalewayEmailOptions extends EmailOptions {
27
27
  /**
28
- * Project ID (optional)
29
- */
28
+ * Project ID (optional)
29
+ */
30
30
  projectId?: string;
31
31
  /**
32
- * Scaleway template ID for template-based emails
33
- */
32
+ * Scaleway template ID for template-based emails
33
+ */
34
34
  templateId?: string;
35
35
  /**
36
- * Template variables for Scaleway templates
37
- */
36
+ * Template variables for Scaleway templates
37
+ */
38
38
  templateVariables?: Record<string, unknown>;
39
39
  }
40
40
  /**
41
- * Scaleway Provider for sending emails through Scaleway API
42
- */
41
+ * Scaleway Provider for sending emails through Scaleway API
42
+ */
43
43
  declare const scalewayProvider: ProviderFactory<ScalewayConfig>;
44
44
  export { type ProviderFactory, type ScalewayConfig, type ScalewayEmailOptions, scalewayProvider };
@@ -1 +1 @@
1
- import{default as r}from"../../packem_shared/scalewayProvider-DU5gXQrl.js";export{r as scalewayProvider};
1
+ import{default as r}from"../../packem_shared/scalewayProvider-DfC7275i.js";export{r as scalewayProvider};
@@ -1,33 +1,33 @@
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
- * SendGrid configuration
7
- */
6
+ * SendGrid configuration
7
+ */
8
8
  interface SendGridConfig extends BaseConfig {
9
9
  apiKey: string;
10
10
  endpoint?: string;
11
11
  }
12
12
  /**
13
- * SendGrid-specific email options
14
- */
13
+ * SendGrid-specific email options
14
+ */
15
15
  interface SendGridEmailOptions extends EmailOptions {
16
16
  /**
17
- * ASM (Advanced Suppression Management) group ID for unsubscribe
18
- */
17
+ * ASM (Advanced Suppression Management) group ID for unsubscribe
18
+ */
19
19
  asmGroupId?: number;
20
20
  /**
21
- * Batch ID for batch sending
22
- */
21
+ * Batch ID for batch sending
22
+ */
23
23
  batchId?: string;
24
24
  /**
25
- * IP pool name
26
- */
25
+ * IP pool name
26
+ */
27
27
  ipPoolName?: string;
28
28
  /**
29
- * Mail settings (click tracking, open tracking, etc.)
30
- */
29
+ * Mail settings (click tracking, open tracking, etc.)
30
+ */
31
31
  mailSettings?: {
32
32
  bypassListManagement?: boolean;
33
33
  footer?: {
@@ -38,20 +38,20 @@ interface SendGridEmailOptions extends EmailOptions {
38
38
  sandboxMode?: boolean;
39
39
  };
40
40
  /**
41
- * Send at timestamp (Unix timestamp)
42
- */
41
+ * Send at timestamp (Unix timestamp)
42
+ */
43
43
  sendAt?: number;
44
44
  /**
45
- * Dynamic template data for SendGrid dynamic templates
46
- */
45
+ * Dynamic template data for SendGrid dynamic templates
46
+ */
47
47
  templateData?: Record<string, unknown>;
48
48
  /**
49
- * SendGrid template ID for template-based emails
50
- */
49
+ * SendGrid template ID for template-based emails
50
+ */
51
51
  templateId?: string;
52
52
  /**
53
- * Tracking settings
54
- */
53
+ * Tracking settings
54
+ */
55
55
  trackingSettings?: {
56
56
  clickTracking?: {
57
57
  enable?: boolean;
@@ -78,7 +78,7 @@ interface SendGridEmailOptions extends EmailOptions {
78
78
  };
79
79
  }
80
80
  /**
81
- * SendGrid Provider for sending emails through SendGrid API
82
- */
81
+ * SendGrid Provider for sending emails through SendGrid API
82
+ */
83
83
  declare const sendGridProvider: ProviderFactory<SendGridConfig>;
84
84
  export { type ProviderFactory, type SendGridConfig, type SendGridEmailOptions, sendGridProvider };
@@ -1 +1 @@
1
- import{default as e}from"../../packem_shared/sendGridProvider-BuTbEXW8.js";export{e as sendGridProvider};
1
+ import{default as e}from"../../packem_shared/sendGridProvider-CUBBHBzs.js";export{e as sendGridProvider};
@@ -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 { 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
- * SMTP configuration
7
- */
6
+ * SMTP configuration
7
+ */
8
8
  interface SmtpConfig extends BaseConfig {
9
9
  authMethod?: "LOGIN" | "PLAIN" | "CRAM-MD5" | "OAUTH2";
10
10
  dkim?: {
@@ -30,12 +30,12 @@ interface SmtpConfig extends BaseConfig {
30
30
  user?: string;
31
31
  }
32
32
  /**
33
- * SMTP-specific email options
34
- */
33
+ * SMTP-specific email options
34
+ */
35
35
  interface SmtpEmailOptions extends EmailOptions {
36
36
  /**
37
- * Delivery Status Notification options
38
- */
37
+ * Delivery Status Notification options
38
+ */
39
39
  dsn?: {
40
40
  /** Request notification on delay */
41
41
  delay?: boolean;
@@ -65,7 +65,7 @@ interface SmtpEmailOptions extends EmailOptions {
65
65
  useDkim?: boolean;
66
66
  }
67
67
  /**
68
- * SMTP provider for sending emails via SMTP protocol
69
- */
68
+ * SMTP provider for sending emails via SMTP protocol
69
+ */
70
70
  declare const smtpProvider: ProviderFactory<SmtpConfig>;
71
71
  export { type ProviderFactory, type SmtpConfig, type SmtpEmailOptions, smtpProvider };
@@ -1 +1 @@
1
- import{default as o}from"../../packem_shared/smtpProvider-5MI3-EPh.js";export{o as smtpProvider};
1
+ import{default as o}from"../../packem_shared/smtpProvider-9nBSGtQl.js";export{o as smtpProvider};
@@ -1,43 +1,43 @@
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
- * SparkPost configuration.
7
- */
6
+ * SparkPost configuration.
7
+ */
8
8
  interface SparkPostConfig extends BaseConfig {
9
9
  /**
10
- * SparkPost API key (sent as the `Authorization` header).
11
- */
10
+ * SparkPost API key (sent as the `Authorization` header).
11
+ */
12
12
  apiKey: string;
13
13
  /**
14
- * API endpoint override. Use `https://api.eu.sparkpost.com/api/v1` for the EU region.
15
- */
14
+ * API endpoint override. Use `https://api.eu.sparkpost.com/api/v1` for the EU region.
15
+ */
16
16
  endpoint?: string;
17
17
  }
18
18
  /**
19
- * SparkPost-specific email options.
20
- */
19
+ * SparkPost-specific email options.
20
+ */
21
21
  interface SparkPostEmailOptions extends EmailOptions {
22
22
  /**
23
- * Campaign id applied to the transmission.
24
- */
23
+ * Campaign id applied to the transmission.
24
+ */
25
25
  campaignId?: string;
26
26
  /**
27
- * Stored template id to send instead of inline content.
28
- */
27
+ * Stored template id to send instead of inline content.
28
+ */
29
29
  templateId?: string;
30
30
  /**
31
- * Whether click tracking is enabled.
32
- */
31
+ * Whether click tracking is enabled.
32
+ */
33
33
  trackClicks?: boolean;
34
34
  /**
35
- * Whether engagement tracking (opens/clicks) is enabled.
36
- */
35
+ * Whether engagement tracking (opens/clicks) is enabled.
36
+ */
37
37
  trackOpens?: boolean;
38
38
  }
39
39
  /**
40
- * SparkPost provider — sends email through the SparkPost Transmissions API.
41
- */
40
+ * SparkPost provider — sends email through the SparkPost Transmissions API.
41
+ */
42
42
  declare const sparkpostProvider: ProviderFactory<SparkPostConfig>;
43
43
  export { type ProviderFactory, type SparkPostConfig, type SparkPostEmailOptions, sparkpostProvider };
@@ -1 +1 @@
1
- import{default as a}from"../../packem_shared/sparkpostProvider-UAsFYIjP.js";export{a as sparkpostProvider};
1
+ import{default as a}from"../../packem_shared/sparkpostProvider-Be_d7S8o.js";export{a as sparkpostProvider};
@@ -1,40 +1,40 @@
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
- * Sweego configuration
7
- */
6
+ * Sweego configuration
7
+ */
8
8
  interface SweegoConfig extends BaseConfig {
9
9
  /**
10
- * Sweego API key
11
- */
10
+ * Sweego API key
11
+ */
12
12
  apiKey: string;
13
13
  /**
14
- * Sweego API endpoint
15
- * Defaults to: https://api.sweego.com
16
- */
14
+ * Sweego API endpoint
15
+ * Defaults to: https://api.sweego.com
16
+ */
17
17
  endpoint?: string;
18
18
  }
19
19
  /**
20
- * Sweego-specific email options
21
- */
20
+ * Sweego-specific email options
21
+ */
22
22
  interface SweegoEmailOptions extends EmailOptions {
23
23
  /**
24
- * Tags for categorization
25
- */
24
+ * Tags for categorization
25
+ */
26
26
  tags?: string[];
27
27
  /**
28
- * Sweego template ID for template-based emails
29
- */
28
+ * Sweego template ID for template-based emails
29
+ */
30
30
  templateId?: string;
31
31
  /**
32
- * Template variables for Sweego templates
33
- */
32
+ * Template variables for Sweego templates
33
+ */
34
34
  templateVariables?: Record<string, unknown>;
35
35
  }
36
36
  /**
37
- * Sweego Provider for sending emails through Sweego API
38
- */
37
+ * Sweego Provider for sending emails through Sweego API
38
+ */
39
39
  declare const sweegoProvider: ProviderFactory<SweegoConfig>;
40
40
  export { type ProviderFactory, type SweegoConfig, type SweegoEmailOptions, sweegoProvider };
@@ -1 +1 @@
1
- import{default as r}from"../../packem_shared/sweegoProvider-SUz0LIcA.js";export{r as sweegoProvider};
1
+ import{default as r}from"../../packem_shared/sweegoProvider-CP1cNC-d.js";export{r as sweegoProvider};
@@ -1,37 +1,37 @@
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
- * Zeptomail configuration
7
- */
6
+ * Zeptomail configuration
7
+ */
8
8
  interface ZeptomailConfig extends BaseConfig {
9
9
  endpoint?: string;
10
10
  token: string;
11
11
  }
12
12
  /**
13
- * Zeptomail-specific email options
14
- */
13
+ * Zeptomail-specific email options
14
+ */
15
15
  interface ZeptomailEmailOptions extends EmailOptions {
16
16
  /**
17
- * Client reference - identifier set by the user to track a particular transaction
18
- */
17
+ * Client reference - identifier set by the user to track a particular transaction
18
+ */
19
19
  clientReference?: string;
20
20
  /**
21
- * MIME headers - additional headers sent in the email for reference
22
- */
21
+ * MIME headers - additional headers sent in the email for reference
22
+ */
23
23
  mimeHeaders?: Record<string, string>;
24
24
  /**
25
- * Track email clicks - enables tracking for click events
26
- */
25
+ * Track email clicks - enables tracking for click events
26
+ */
27
27
  trackClicks?: boolean;
28
28
  /**
29
- * Track email opens - enables tracking for open events
30
- */
29
+ * Track email opens - enables tracking for open events
30
+ */
31
31
  trackOpens?: boolean;
32
32
  }
33
33
  /**
34
- * Zeptomail Provider for sending emails through Zeptomail API
35
- */
34
+ * Zeptomail Provider for sending emails through Zeptomail API
35
+ */
36
36
  declare const zeptomailProvider: ProviderFactory<ZeptomailConfig>;
37
37
  export { type ProviderFactory, type ZeptomailConfig, type ZeptomailEmailOptions, zeptomailProvider };
@@ -1 +1 @@
1
- import{default as r}from"../../packem_shared/zeptomailProvider-DXNX9mG_.js";export{r as zeptomailProvider};
1
+ import{default as r}from"../../packem_shared/zeptomailProvider-BZ0fK0Lk.js";export{r as zeptomailProvider};
@@ -1,9 +1,9 @@
1
- import { E as EmailOptions, a as EmailResult, R as Result } from "../packem_shared/types.d-ejzh-xBP.js";
2
- import { E as EnqueueOptions } from "../packem_shared/types.d-lcJZmwRK.js";
1
+ import { E as EmailOptions, a as EmailResult, R as Result } from "../packem_shared/types.d-B9295M4_.js";
2
+ import { E as EnqueueOptions } from "../packem_shared/types.d-kHO4kX9q.js";
3
3
  import 'node:buffer';
4
4
  /**
5
- * The subset of a [BullMQ](https://docs.bullmq.io/) `Queue` this adapter uses.
6
- */
5
+ * The subset of a [BullMQ](https://docs.bullmq.io/) `Queue` this adapter uses.
6
+ */
7
7
  interface BullmqQueueLike {
8
8
  add: (name: string, data: unknown, options?: {
9
9
  delay?: number;
@@ -12,35 +12,35 @@ interface BullmqQueueLike {
12
12
  }>;
13
13
  }
14
14
  /**
15
- * A BullMQ job, narrowed to its `data` payload.
16
- */
15
+ * A BullMQ job, narrowed to its `data` payload.
16
+ */
17
17
  interface BullmqJobLike {
18
18
  data: EmailOptions;
19
19
  }
20
20
  /**
21
- * A BullMQ `Worker` processor that sends a job's message and resolves with the send result.
22
- */
21
+ * A BullMQ `Worker` processor that sends a job's message and resolves with the send result.
22
+ */
23
23
  type BullmqProcessor = (job: BullmqJobLike) => Promise<EmailResult>;
24
24
  /**
25
- * Adds a message to a BullMQ queue.
26
- *
27
- * BullMQ is push-based — jobs are consumed by a BullMQ `Worker`, not the pull-based reserve/ack model
28
- * of `EmailQueue`. Use this to enqueue and {@link createBullmqProcessor} to consume.
29
- * @param queue A BullMQ `Queue` instance to add the job to (optional peer).
30
- * @param message The email payload stored as the BullMQ job data.
31
- * @param options Optional scheduling — `scheduledAt` maps to a BullMQ `delay`.
32
- * @param jobName The name to enqueue the job under.
33
- * @returns The id of the created BullMQ job.
34
- */
25
+ * Adds a message to a BullMQ queue.
26
+ *
27
+ * BullMQ is push-based — jobs are consumed by a BullMQ `Worker`, not the pull-based reserve/ack model
28
+ * of `EmailQueue`. Use this to enqueue and {@link createBullmqProcessor} to consume.
29
+ * @param queue A BullMQ `Queue` instance to add the job to (optional peer).
30
+ * @param message The email payload stored as the BullMQ job data.
31
+ * @param options Optional scheduling — `scheduledAt` maps to a BullMQ `delay`.
32
+ * @param jobName The name to enqueue the job under.
33
+ * @returns The id of the created BullMQ job.
34
+ */
35
35
  declare const enqueueToBullmq: (queue: BullmqQueueLike, message: EmailOptions, options?: EnqueueOptions, jobName?: string) => Promise<string>;
36
36
  /**
37
- * Builds a BullMQ `Worker` processor that sends each job's message via the given send function.
38
- *
39
- * Pass it to `new Worker(queueName, createBullmqProcessor(mail.send.bind(mail)), { concurrency })`.
40
- * BullMQ then handles concurrency, retries (via the job's `attempts`/`backoff`) and dead-lettering. A
41
- * failed send throws so BullMQ records the attempt.
42
- * @param send The send function — typically `mail.send.bind(mail)`.
43
- * @returns A BullMQ processor function.
44
- */
37
+ * Builds a BullMQ `Worker` processor that sends each job's message via the given send function.
38
+ *
39
+ * Pass it to `new Worker(queueName, createBullmqProcessor(mail.send.bind(mail)), { concurrency })`.
40
+ * BullMQ then handles concurrency, retries (via the job's `attempts`/`backoff`) and dead-lettering. A
41
+ * failed send throws so BullMQ records the attempt.
42
+ * @param send The send function — typically `mail.send.bind(mail)`.
43
+ * @returns A BullMQ processor function.
44
+ */
45
45
  declare const createBullmqProcessor: (send: (message: EmailOptions) => Promise<Result<EmailResult>>) => BullmqProcessor;
46
46
  export { BullmqJobLike, BullmqProcessor, BullmqQueueLike, createBullmqProcessor, enqueueToBullmq };