@bobfrankston/mailx 1.0.31 → 1.0.33

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 (312) hide show
  1. package/client/styles/layout.css +12 -7
  2. package/launcher/builder/postinstall.js +7 -7
  3. package/package.json +5 -5
  4. package/packages/mailx-send/mailsend/node_modules/.package-lock.json +0 -49
  5. package/packages/mailx-send/mailsend/node_modules/@types/node/LICENSE +0 -21
  6. package/packages/mailx-send/mailsend/node_modules/@types/node/README.md +0 -15
  7. package/packages/mailx-send/mailsend/node_modules/@types/node/assert/strict.d.ts +0 -111
  8. package/packages/mailx-send/mailsend/node_modules/@types/node/assert.d.ts +0 -1078
  9. package/packages/mailx-send/mailsend/node_modules/@types/node/async_hooks.d.ts +0 -603
  10. package/packages/mailx-send/mailsend/node_modules/@types/node/buffer.buffer.d.ts +0 -472
  11. package/packages/mailx-send/mailsend/node_modules/@types/node/buffer.d.ts +0 -1934
  12. package/packages/mailx-send/mailsend/node_modules/@types/node/child_process.d.ts +0 -1476
  13. package/packages/mailx-send/mailsend/node_modules/@types/node/cluster.d.ts +0 -578
  14. package/packages/mailx-send/mailsend/node_modules/@types/node/compatibility/disposable.d.ts +0 -14
  15. package/packages/mailx-send/mailsend/node_modules/@types/node/compatibility/index.d.ts +0 -9
  16. package/packages/mailx-send/mailsend/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  17. package/packages/mailx-send/mailsend/node_modules/@types/node/compatibility/iterators.d.ts +0 -20
  18. package/packages/mailx-send/mailsend/node_modules/@types/node/console.d.ts +0 -452
  19. package/packages/mailx-send/mailsend/node_modules/@types/node/constants.d.ts +0 -21
  20. package/packages/mailx-send/mailsend/node_modules/@types/node/crypto.d.ts +0 -4545
  21. package/packages/mailx-send/mailsend/node_modules/@types/node/dgram.d.ts +0 -600
  22. package/packages/mailx-send/mailsend/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  23. package/packages/mailx-send/mailsend/node_modules/@types/node/dns/promises.d.ts +0 -503
  24. package/packages/mailx-send/mailsend/node_modules/@types/node/dns.d.ts +0 -923
  25. package/packages/mailx-send/mailsend/node_modules/@types/node/domain.d.ts +0 -170
  26. package/packages/mailx-send/mailsend/node_modules/@types/node/events.d.ts +0 -976
  27. package/packages/mailx-send/mailsend/node_modules/@types/node/fs/promises.d.ts +0 -1295
  28. package/packages/mailx-send/mailsend/node_modules/@types/node/fs.d.ts +0 -4461
  29. package/packages/mailx-send/mailsend/node_modules/@types/node/globals.d.ts +0 -172
  30. package/packages/mailx-send/mailsend/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  31. package/packages/mailx-send/mailsend/node_modules/@types/node/http.d.ts +0 -2089
  32. package/packages/mailx-send/mailsend/node_modules/@types/node/http2.d.ts +0 -2644
  33. package/packages/mailx-send/mailsend/node_modules/@types/node/https.d.ts +0 -579
  34. package/packages/mailx-send/mailsend/node_modules/@types/node/index.d.ts +0 -97
  35. package/packages/mailx-send/mailsend/node_modules/@types/node/inspector.d.ts +0 -253
  36. package/packages/mailx-send/mailsend/node_modules/@types/node/inspector.generated.d.ts +0 -4052
  37. package/packages/mailx-send/mailsend/node_modules/@types/node/module.d.ts +0 -891
  38. package/packages/mailx-send/mailsend/node_modules/@types/node/net.d.ts +0 -1057
  39. package/packages/mailx-send/mailsend/node_modules/@types/node/os.d.ts +0 -506
  40. package/packages/mailx-send/mailsend/node_modules/@types/node/package.json +0 -145
  41. package/packages/mailx-send/mailsend/node_modules/@types/node/path.d.ts +0 -200
  42. package/packages/mailx-send/mailsend/node_modules/@types/node/perf_hooks.d.ts +0 -968
  43. package/packages/mailx-send/mailsend/node_modules/@types/node/process.d.ts +0 -2084
  44. package/packages/mailx-send/mailsend/node_modules/@types/node/punycode.d.ts +0 -117
  45. package/packages/mailx-send/mailsend/node_modules/@types/node/querystring.d.ts +0 -152
  46. package/packages/mailx-send/mailsend/node_modules/@types/node/readline/promises.d.ts +0 -161
  47. package/packages/mailx-send/mailsend/node_modules/@types/node/readline.d.ts +0 -594
  48. package/packages/mailx-send/mailsend/node_modules/@types/node/repl.d.ts +0 -428
  49. package/packages/mailx-send/mailsend/node_modules/@types/node/sea.d.ts +0 -153
  50. package/packages/mailx-send/mailsend/node_modules/@types/node/sqlite.d.ts +0 -721
  51. package/packages/mailx-send/mailsend/node_modules/@types/node/stream/consumers.d.ts +0 -38
  52. package/packages/mailx-send/mailsend/node_modules/@types/node/stream/promises.d.ts +0 -90
  53. package/packages/mailx-send/mailsend/node_modules/@types/node/stream/web.d.ts +0 -622
  54. package/packages/mailx-send/mailsend/node_modules/@types/node/stream.d.ts +0 -1664
  55. package/packages/mailx-send/mailsend/node_modules/@types/node/string_decoder.d.ts +0 -67
  56. package/packages/mailx-send/mailsend/node_modules/@types/node/test.d.ts +0 -2163
  57. package/packages/mailx-send/mailsend/node_modules/@types/node/timers/promises.d.ts +0 -108
  58. package/packages/mailx-send/mailsend/node_modules/@types/node/timers.d.ts +0 -287
  59. package/packages/mailx-send/mailsend/node_modules/@types/node/tls.d.ts +0 -1319
  60. package/packages/mailx-send/mailsend/node_modules/@types/node/trace_events.d.ts +0 -197
  61. package/packages/mailx-send/mailsend/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  62. package/packages/mailx-send/mailsend/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  63. package/packages/mailx-send/mailsend/node_modules/@types/node/ts5.6/index.d.ts +0 -97
  64. package/packages/mailx-send/mailsend/node_modules/@types/node/tty.d.ts +0 -208
  65. package/packages/mailx-send/mailsend/node_modules/@types/node/url.d.ts +0 -984
  66. package/packages/mailx-send/mailsend/node_modules/@types/node/util.d.ts +0 -2606
  67. package/packages/mailx-send/mailsend/node_modules/@types/node/v8.d.ts +0 -920
  68. package/packages/mailx-send/mailsend/node_modules/@types/node/vm.d.ts +0 -1000
  69. package/packages/mailx-send/mailsend/node_modules/@types/node/wasi.d.ts +0 -181
  70. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  71. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  72. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/events.d.ts +0 -97
  73. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  74. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/navigator.d.ts +0 -22
  75. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  76. package/packages/mailx-send/mailsend/node_modules/@types/node/worker_threads.d.ts +0 -784
  77. package/packages/mailx-send/mailsend/node_modules/@types/node/zlib.d.ts +0 -747
  78. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/LICENSE +0 -21
  79. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/README.md +0 -15
  80. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/index.d.ts +0 -82
  81. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/addressparser/index.d.ts +0 -31
  82. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/base64/index.d.ts +0 -22
  83. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/dkim/index.d.ts +0 -45
  84. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/dkim/message-parser.d.ts +0 -75
  85. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/dkim/relaxed-body.d.ts +0 -75
  86. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/dkim/sign.d.ts +0 -21
  87. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/fetch/cookies.d.ts +0 -54
  88. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/fetch/index.d.ts +0 -38
  89. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/json-transport/index.d.ts +0 -53
  90. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mail-composer/index.d.ts +0 -25
  91. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mailer/index.d.ts +0 -283
  92. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts +0 -32
  93. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mime-funcs/index.d.ts +0 -87
  94. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mime-funcs/mime-types.d.ts +0 -2
  95. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mime-node/index.d.ts +0 -224
  96. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mime-node/last-newline.d.ts +0 -9
  97. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/qp/index.d.ts +0 -23
  98. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts +0 -53
  99. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/sendmail-transport/le-unix.d.ts +0 -7
  100. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/sendmail-transport/le-windows.d.ts +0 -7
  101. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/ses-transport/index.d.ts +0 -146
  102. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/shared/index.d.ts +0 -58
  103. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-connection/data-stream.d.ts +0 -11
  104. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-connection/http-proxy-client.d.ts +0 -16
  105. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts +0 -270
  106. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts +0 -93
  107. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-pool/pool-resource.d.ts +0 -66
  108. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts +0 -115
  109. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/stream-transport/index.d.ts +0 -59
  110. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/well-known/index.d.ts +0 -6
  111. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/xoauth2/index.d.ts +0 -114
  112. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/package.json +0 -38
  113. package/packages/mailx-send/mailsend/node_modules/nodemailer/.ncurc.js +0 -9
  114. package/packages/mailx-send/mailsend/node_modules/nodemailer/.prettierignore +0 -8
  115. package/packages/mailx-send/mailsend/node_modules/nodemailer/.prettierrc +0 -12
  116. package/packages/mailx-send/mailsend/node_modules/nodemailer/.prettierrc.js +0 -10
  117. package/packages/mailx-send/mailsend/node_modules/nodemailer/.release-please-config.json +0 -9
  118. package/packages/mailx-send/mailsend/node_modules/nodemailer/LICENSE +0 -16
  119. package/packages/mailx-send/mailsend/node_modules/nodemailer/README.md +0 -86
  120. package/packages/mailx-send/mailsend/node_modules/nodemailer/SECURITY.txt +0 -22
  121. package/packages/mailx-send/mailsend/node_modules/nodemailer/eslint.config.js +0 -88
  122. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/addressparser/index.js +0 -383
  123. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/base64/index.js +0 -139
  124. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/dkim/index.js +0 -253
  125. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/dkim/message-parser.js +0 -155
  126. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/dkim/relaxed-body.js +0 -154
  127. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/dkim/sign.js +0 -117
  128. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/fetch/cookies.js +0 -281
  129. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/fetch/index.js +0 -280
  130. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/json-transport/index.js +0 -82
  131. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mail-composer/index.js +0 -629
  132. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mailer/index.js +0 -441
  133. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mailer/mail-message.js +0 -316
  134. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-funcs/index.js +0 -625
  135. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-funcs/mime-types.js +0 -2113
  136. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-node/index.js +0 -1316
  137. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-node/last-newline.js +0 -33
  138. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-node/le-unix.js +0 -43
  139. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-node/le-windows.js +0 -52
  140. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/nodemailer.js +0 -157
  141. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/punycode/index.js +0 -460
  142. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/qp/index.js +0 -227
  143. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/sendmail-transport/index.js +0 -210
  144. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/ses-transport/index.js +0 -234
  145. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/shared/index.js +0 -754
  146. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-connection/data-stream.js +0 -108
  147. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +0 -143
  148. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-connection/index.js +0 -1870
  149. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-pool/index.js +0 -652
  150. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +0 -259
  151. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-transport/index.js +0 -421
  152. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/stream-transport/index.js +0 -135
  153. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/well-known/index.js +0 -47
  154. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/well-known/services.json +0 -611
  155. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/xoauth2/index.js +0 -427
  156. package/packages/mailx-send/mailsend/node_modules/nodemailer/package.json +0 -47
  157. package/packages/mailx-send/mailsend/node_modules/undici-types/LICENSE +0 -21
  158. package/packages/mailx-send/mailsend/node_modules/undici-types/README.md +0 -6
  159. package/packages/mailx-send/mailsend/node_modules/undici-types/agent.d.ts +0 -31
  160. package/packages/mailx-send/mailsend/node_modules/undici-types/api.d.ts +0 -43
  161. package/packages/mailx-send/mailsend/node_modules/undici-types/balanced-pool.d.ts +0 -29
  162. package/packages/mailx-send/mailsend/node_modules/undici-types/cache.d.ts +0 -36
  163. package/packages/mailx-send/mailsend/node_modules/undici-types/client.d.ts +0 -108
  164. package/packages/mailx-send/mailsend/node_modules/undici-types/connector.d.ts +0 -34
  165. package/packages/mailx-send/mailsend/node_modules/undici-types/content-type.d.ts +0 -21
  166. package/packages/mailx-send/mailsend/node_modules/undici-types/cookies.d.ts +0 -28
  167. package/packages/mailx-send/mailsend/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  168. package/packages/mailx-send/mailsend/node_modules/undici-types/dispatcher.d.ts +0 -256
  169. package/packages/mailx-send/mailsend/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  170. package/packages/mailx-send/mailsend/node_modules/undici-types/errors.d.ts +0 -149
  171. package/packages/mailx-send/mailsend/node_modules/undici-types/eventsource.d.ts +0 -61
  172. package/packages/mailx-send/mailsend/node_modules/undici-types/fetch.d.ts +0 -209
  173. package/packages/mailx-send/mailsend/node_modules/undici-types/file.d.ts +0 -39
  174. package/packages/mailx-send/mailsend/node_modules/undici-types/filereader.d.ts +0 -54
  175. package/packages/mailx-send/mailsend/node_modules/undici-types/formdata.d.ts +0 -108
  176. package/packages/mailx-send/mailsend/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  177. package/packages/mailx-send/mailsend/node_modules/undici-types/global-origin.d.ts +0 -7
  178. package/packages/mailx-send/mailsend/node_modules/undici-types/handlers.d.ts +0 -15
  179. package/packages/mailx-send/mailsend/node_modules/undici-types/header.d.ts +0 -4
  180. package/packages/mailx-send/mailsend/node_modules/undici-types/index.d.ts +0 -71
  181. package/packages/mailx-send/mailsend/node_modules/undici-types/interceptors.d.ts +0 -17
  182. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-agent.d.ts +0 -50
  183. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-client.d.ts +0 -25
  184. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-errors.d.ts +0 -12
  185. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  186. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-pool.d.ts +0 -25
  187. package/packages/mailx-send/mailsend/node_modules/undici-types/package.json +0 -55
  188. package/packages/mailx-send/mailsend/node_modules/undici-types/patch.d.ts +0 -33
  189. package/packages/mailx-send/mailsend/node_modules/undici-types/pool-stats.d.ts +0 -19
  190. package/packages/mailx-send/mailsend/node_modules/undici-types/pool.d.ts +0 -39
  191. package/packages/mailx-send/mailsend/node_modules/undici-types/proxy-agent.d.ts +0 -28
  192. package/packages/mailx-send/mailsend/node_modules/undici-types/readable.d.ts +0 -65
  193. package/packages/mailx-send/mailsend/node_modules/undici-types/retry-agent.d.ts +0 -8
  194. package/packages/mailx-send/mailsend/node_modules/undici-types/retry-handler.d.ts +0 -116
  195. package/packages/mailx-send/mailsend/node_modules/undici-types/util.d.ts +0 -18
  196. package/packages/mailx-send/mailsend/node_modules/undici-types/webidl.d.ts +0 -228
  197. package/packages/mailx-send/mailsend/node_modules/undici-types/websocket.d.ts +0 -150
  198. package/packages/mailx-send/node_modules/.package-lock.json +0 -49
  199. package/packages/mailx-send/node_modules/@types/node/LICENSE +0 -21
  200. package/packages/mailx-send/node_modules/@types/node/README.md +0 -15
  201. package/packages/mailx-send/node_modules/@types/node/assert/strict.d.ts +0 -111
  202. package/packages/mailx-send/node_modules/@types/node/assert.d.ts +0 -1078
  203. package/packages/mailx-send/node_modules/@types/node/async_hooks.d.ts +0 -603
  204. package/packages/mailx-send/node_modules/@types/node/buffer.buffer.d.ts +0 -472
  205. package/packages/mailx-send/node_modules/@types/node/buffer.d.ts +0 -1934
  206. package/packages/mailx-send/node_modules/@types/node/child_process.d.ts +0 -1476
  207. package/packages/mailx-send/node_modules/@types/node/cluster.d.ts +0 -578
  208. package/packages/mailx-send/node_modules/@types/node/compatibility/disposable.d.ts +0 -14
  209. package/packages/mailx-send/node_modules/@types/node/compatibility/index.d.ts +0 -9
  210. package/packages/mailx-send/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  211. package/packages/mailx-send/node_modules/@types/node/compatibility/iterators.d.ts +0 -20
  212. package/packages/mailx-send/node_modules/@types/node/console.d.ts +0 -452
  213. package/packages/mailx-send/node_modules/@types/node/constants.d.ts +0 -21
  214. package/packages/mailx-send/node_modules/@types/node/crypto.d.ts +0 -4545
  215. package/packages/mailx-send/node_modules/@types/node/dgram.d.ts +0 -600
  216. package/packages/mailx-send/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  217. package/packages/mailx-send/node_modules/@types/node/dns/promises.d.ts +0 -503
  218. package/packages/mailx-send/node_modules/@types/node/dns.d.ts +0 -923
  219. package/packages/mailx-send/node_modules/@types/node/domain.d.ts +0 -170
  220. package/packages/mailx-send/node_modules/@types/node/events.d.ts +0 -976
  221. package/packages/mailx-send/node_modules/@types/node/fs/promises.d.ts +0 -1295
  222. package/packages/mailx-send/node_modules/@types/node/fs.d.ts +0 -4461
  223. package/packages/mailx-send/node_modules/@types/node/globals.d.ts +0 -172
  224. package/packages/mailx-send/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  225. package/packages/mailx-send/node_modules/@types/node/http.d.ts +0 -2089
  226. package/packages/mailx-send/node_modules/@types/node/http2.d.ts +0 -2644
  227. package/packages/mailx-send/node_modules/@types/node/https.d.ts +0 -579
  228. package/packages/mailx-send/node_modules/@types/node/index.d.ts +0 -97
  229. package/packages/mailx-send/node_modules/@types/node/inspector.d.ts +0 -253
  230. package/packages/mailx-send/node_modules/@types/node/inspector.generated.d.ts +0 -4052
  231. package/packages/mailx-send/node_modules/@types/node/module.d.ts +0 -891
  232. package/packages/mailx-send/node_modules/@types/node/net.d.ts +0 -1057
  233. package/packages/mailx-send/node_modules/@types/node/os.d.ts +0 -506
  234. package/packages/mailx-send/node_modules/@types/node/package.json +0 -145
  235. package/packages/mailx-send/node_modules/@types/node/path.d.ts +0 -200
  236. package/packages/mailx-send/node_modules/@types/node/perf_hooks.d.ts +0 -968
  237. package/packages/mailx-send/node_modules/@types/node/process.d.ts +0 -2084
  238. package/packages/mailx-send/node_modules/@types/node/punycode.d.ts +0 -117
  239. package/packages/mailx-send/node_modules/@types/node/querystring.d.ts +0 -152
  240. package/packages/mailx-send/node_modules/@types/node/readline/promises.d.ts +0 -161
  241. package/packages/mailx-send/node_modules/@types/node/readline.d.ts +0 -594
  242. package/packages/mailx-send/node_modules/@types/node/repl.d.ts +0 -428
  243. package/packages/mailx-send/node_modules/@types/node/sea.d.ts +0 -153
  244. package/packages/mailx-send/node_modules/@types/node/sqlite.d.ts +0 -721
  245. package/packages/mailx-send/node_modules/@types/node/stream/consumers.d.ts +0 -38
  246. package/packages/mailx-send/node_modules/@types/node/stream/promises.d.ts +0 -90
  247. package/packages/mailx-send/node_modules/@types/node/stream/web.d.ts +0 -622
  248. package/packages/mailx-send/node_modules/@types/node/stream.d.ts +0 -1664
  249. package/packages/mailx-send/node_modules/@types/node/string_decoder.d.ts +0 -67
  250. package/packages/mailx-send/node_modules/@types/node/test.d.ts +0 -2163
  251. package/packages/mailx-send/node_modules/@types/node/timers/promises.d.ts +0 -108
  252. package/packages/mailx-send/node_modules/@types/node/timers.d.ts +0 -287
  253. package/packages/mailx-send/node_modules/@types/node/tls.d.ts +0 -1319
  254. package/packages/mailx-send/node_modules/@types/node/trace_events.d.ts +0 -197
  255. package/packages/mailx-send/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  256. package/packages/mailx-send/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  257. package/packages/mailx-send/node_modules/@types/node/ts5.6/index.d.ts +0 -97
  258. package/packages/mailx-send/node_modules/@types/node/tty.d.ts +0 -208
  259. package/packages/mailx-send/node_modules/@types/node/url.d.ts +0 -984
  260. package/packages/mailx-send/node_modules/@types/node/util.d.ts +0 -2606
  261. package/packages/mailx-send/node_modules/@types/node/v8.d.ts +0 -920
  262. package/packages/mailx-send/node_modules/@types/node/vm.d.ts +0 -1000
  263. package/packages/mailx-send/node_modules/@types/node/wasi.d.ts +0 -181
  264. package/packages/mailx-send/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  265. package/packages/mailx-send/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  266. package/packages/mailx-send/node_modules/@types/node/web-globals/events.d.ts +0 -97
  267. package/packages/mailx-send/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  268. package/packages/mailx-send/node_modules/@types/node/web-globals/navigator.d.ts +0 -22
  269. package/packages/mailx-send/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  270. package/packages/mailx-send/node_modules/@types/node/worker_threads.d.ts +0 -784
  271. package/packages/mailx-send/node_modules/@types/node/zlib.d.ts +0 -747
  272. package/packages/mailx-send/node_modules/undici-types/LICENSE +0 -21
  273. package/packages/mailx-send/node_modules/undici-types/README.md +0 -6
  274. package/packages/mailx-send/node_modules/undici-types/agent.d.ts +0 -31
  275. package/packages/mailx-send/node_modules/undici-types/api.d.ts +0 -43
  276. package/packages/mailx-send/node_modules/undici-types/balanced-pool.d.ts +0 -29
  277. package/packages/mailx-send/node_modules/undici-types/cache.d.ts +0 -36
  278. package/packages/mailx-send/node_modules/undici-types/client.d.ts +0 -108
  279. package/packages/mailx-send/node_modules/undici-types/connector.d.ts +0 -34
  280. package/packages/mailx-send/node_modules/undici-types/content-type.d.ts +0 -21
  281. package/packages/mailx-send/node_modules/undici-types/cookies.d.ts +0 -28
  282. package/packages/mailx-send/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  283. package/packages/mailx-send/node_modules/undici-types/dispatcher.d.ts +0 -256
  284. package/packages/mailx-send/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  285. package/packages/mailx-send/node_modules/undici-types/errors.d.ts +0 -149
  286. package/packages/mailx-send/node_modules/undici-types/eventsource.d.ts +0 -61
  287. package/packages/mailx-send/node_modules/undici-types/fetch.d.ts +0 -209
  288. package/packages/mailx-send/node_modules/undici-types/file.d.ts +0 -39
  289. package/packages/mailx-send/node_modules/undici-types/filereader.d.ts +0 -54
  290. package/packages/mailx-send/node_modules/undici-types/formdata.d.ts +0 -108
  291. package/packages/mailx-send/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  292. package/packages/mailx-send/node_modules/undici-types/global-origin.d.ts +0 -7
  293. package/packages/mailx-send/node_modules/undici-types/handlers.d.ts +0 -15
  294. package/packages/mailx-send/node_modules/undici-types/header.d.ts +0 -4
  295. package/packages/mailx-send/node_modules/undici-types/index.d.ts +0 -71
  296. package/packages/mailx-send/node_modules/undici-types/interceptors.d.ts +0 -17
  297. package/packages/mailx-send/node_modules/undici-types/mock-agent.d.ts +0 -50
  298. package/packages/mailx-send/node_modules/undici-types/mock-client.d.ts +0 -25
  299. package/packages/mailx-send/node_modules/undici-types/mock-errors.d.ts +0 -12
  300. package/packages/mailx-send/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  301. package/packages/mailx-send/node_modules/undici-types/mock-pool.d.ts +0 -25
  302. package/packages/mailx-send/node_modules/undici-types/package.json +0 -55
  303. package/packages/mailx-send/node_modules/undici-types/patch.d.ts +0 -33
  304. package/packages/mailx-send/node_modules/undici-types/pool-stats.d.ts +0 -19
  305. package/packages/mailx-send/node_modules/undici-types/pool.d.ts +0 -39
  306. package/packages/mailx-send/node_modules/undici-types/proxy-agent.d.ts +0 -28
  307. package/packages/mailx-send/node_modules/undici-types/readable.d.ts +0 -65
  308. package/packages/mailx-send/node_modules/undici-types/retry-agent.d.ts +0 -8
  309. package/packages/mailx-send/node_modules/undici-types/retry-handler.d.ts +0 -116
  310. package/packages/mailx-send/node_modules/undici-types/util.d.ts +0 -18
  311. package/packages/mailx-send/node_modules/undici-types/webidl.d.ts +0 -228
  312. package/packages/mailx-send/node_modules/undici-types/websocket.d.ts +0 -150
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE
@@ -1,15 +0,0 @@
1
- # Installation
2
- > `npm install --save @types/nodemailer`
3
-
4
- # Summary
5
- This package contains type definitions for nodemailer (https://github.com/nodemailer/nodemailer).
6
-
7
- # Details
8
- Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer/v6.
9
-
10
- ### Additional Details
11
- * Last updated: Fri, 20 Feb 2026 20:05:00 GMT
12
- * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
13
-
14
- # Credits
15
- These definitions were written by [Rogier Schouten](https://github.com/rogierschouten), [Piotr Roszatycki](https://github.com/dex4er), and [Daniel Chao](https://github.com/bioball).
@@ -1,82 +0,0 @@
1
- /// <reference types="node" />
2
-
3
- import JSONTransport = require("./lib/json-transport");
4
- import Mail = require("./lib/mailer");
5
- import MailMessage = require("./lib/mailer/mail-message");
6
- import SendmailTransport = require("./lib/sendmail-transport");
7
- import SESTransport = require("./lib/ses-transport");
8
- import SMTPPool = require("./lib/smtp-pool");
9
- import SMTPTransport = require("./lib/smtp-transport");
10
- import StreamTransport = require("./lib/stream-transport");
11
-
12
- export type SendMailOptions = Mail.Options;
13
-
14
- export type Transporter<T = any, D extends TransportOptions = TransportOptions> = Mail<T, D>;
15
-
16
- export type SentMessageInfo = any;
17
-
18
- export interface Transport<T = any, D extends TransportOptions = TransportOptions> {
19
- mailer?: Transporter<T, D> | undefined;
20
-
21
- name: string;
22
- version: string;
23
-
24
- send(mail: MailMessage<T>, callback: (err: Error | null, info: T) => void): void;
25
-
26
- verify?(callback: (err: Error | null, success: true) => void): void;
27
- verify?(): Promise<true>;
28
-
29
- close?(): void;
30
- }
31
-
32
- export interface TransportOptions {
33
- component?: string | undefined;
34
- }
35
-
36
- export interface TestAccount {
37
- user: string;
38
- pass: string;
39
- smtp: { host: string; port: number; secure: boolean };
40
- imap: { host: string; port: number; secure: boolean };
41
- pop3: { host: string; port: number; secure: boolean };
42
- web: string;
43
- }
44
-
45
- export function createTransport(
46
- transport: SMTPPool | SMTPPool.Options,
47
- defaults?: SMTPPool.Options,
48
- ): Transporter<SMTPPool.SentMessageInfo, SMTPPool.Options>;
49
- export function createTransport(
50
- transport: SendmailTransport | SendmailTransport.Options,
51
- defaults?: SendmailTransport.Options,
52
- ): Transporter<SendmailTransport.SentMessageInfo, SendmailTransport.Options>;
53
- export function createTransport(
54
- transport: StreamTransport | StreamTransport.Options,
55
- defaults?: StreamTransport.Options,
56
- ): Transporter<StreamTransport.SentMessageInfo, StreamTransport.Options>;
57
- export function createTransport(
58
- transport: JSONTransport | JSONTransport.Options,
59
- defaults?: JSONTransport.Options,
60
- ): Transporter<JSONTransport.SentMessageInfo, JSONTransport.Options>;
61
- export function createTransport(
62
- transport: SESTransport | SESTransport.Options,
63
- defaults?: SESTransport.Options,
64
- ): Transporter<SESTransport.SentMessageInfo, SESTransport.Options>;
65
- export function createTransport(
66
- transport?: SMTPTransport | SMTPTransport.Options | string,
67
- defaults?: SMTPTransport.Options,
68
- ): Transporter<SMTPTransport.SentMessageInfo, SMTPTransport.Options>;
69
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
70
- export function createTransport<T>(
71
- transport: Transport<T> | TransportOptions,
72
- defaults?: TransportOptions,
73
- ): Transporter<SMTPTransport.SentMessageInfo, SMTPTransport.Options>;
74
-
75
- export function createTestAccount(
76
- apiUrl: string,
77
- callback: (err: Error | null, testAccount: TestAccount) => void,
78
- ): void;
79
- export function createTestAccount(callback: (err: Error | null, testAccount: TestAccount) => void): void;
80
- export function createTestAccount(apiUrl?: string): Promise<TestAccount>;
81
-
82
- export function getTestMessageUrl(info: SESTransport.SentMessageInfo | SMTPTransport.SentMessageInfo): string | false;
@@ -1,31 +0,0 @@
1
- declare namespace addressparser {
2
- interface Address {
3
- name: string;
4
- address: string;
5
- }
6
-
7
- interface Group {
8
- name: string;
9
- group: AddressOrGroup[];
10
- }
11
-
12
- type AddressOrGroup = Address | Group;
13
- }
14
-
15
- /**
16
- * Parses structured e-mail addresses from an address field
17
- *
18
- * Example:
19
- *
20
- * 'Name <address@domain>'
21
- *
22
- * will be converted to
23
- *
24
- * [{name: 'Name', address: 'address@domain'}]
25
- *
26
- * @return An array of address objects
27
- */
28
- declare function addressparser(address: string, options: { flatten: true }): addressparser.Address[];
29
- declare function addressparser(address: string, options?: { flatten: false }): addressparser.AddressOrGroup[];
30
-
31
- export = addressparser;
@@ -1,22 +0,0 @@
1
- /// <reference types="node" />
2
-
3
- import { Transform, TransformOptions } from "stream";
4
-
5
- /** Encodes a Buffer into a base64 encoded string */
6
- export function encode(buffer: Buffer | string): string;
7
-
8
- /** Adds soft line breaks to a base64 string */
9
- export function wrap(str: string, lineLength?: number): string;
10
-
11
- export interface EncoderOptions extends TransformOptions {
12
- lineLength?: number | false | undefined;
13
- }
14
-
15
- export class Encoder extends Transform {
16
- options: EncoderOptions;
17
-
18
- inputBytes: number;
19
- outputBytes: number;
20
-
21
- constructor(options?: EncoderOptions);
22
- }
@@ -1,45 +0,0 @@
1
- /// <reference types="node" />
2
-
3
- import { PassThrough, Readable } from "stream";
4
-
5
- declare namespace DKIM {
6
- interface OptionalOptions {
7
- /** optional location for cached messages. If not set then caching is not used. */
8
- cacheDir?: string | false | undefined;
9
- /** optional size in bytes, if message is larger than this treshold it gets cached to disk (assuming cacheDir is set and writable). Defaults to 131072 (128 kB). */
10
- cacheTreshold?: number | undefined;
11
- /** optional algorithm for the body hash, defaults to ‘sha256’ */
12
- hashAlgo?: string | undefined;
13
- /** an optional colon separated list of header keys to sign (eg. message-id:date:from:to...') */
14
- headerFieldNames?: string | undefined;
15
- /** optional colon separated list of header keys not to sign. This is useful if you want to sign all the relevant keys but your provider changes some values, ie Message-ID and Date. In this case you should use 'message-id:date' to prevent signing these values. */
16
- skipFields?: string | undefined;
17
- }
18
-
19
- interface SingleKeyOptions extends OptionalOptions {
20
- /** is the domain name to use in the signature */
21
- domainName: string;
22
- /** is the DKIM key selector */
23
- keySelector: string;
24
- /** is the private key for the selector in PEM format */
25
- privateKey: string | { key: string; passphrase: string };
26
- }
27
-
28
- interface MultipleKeysOptions extends OptionalOptions {
29
- /** is an optional array of key objects (domainName, keySelector, privateKey) if you want to add more than one signature to the message. If this value is set then the default key values are ignored */
30
- keys: SingleKeyOptions[];
31
- }
32
-
33
- type Options = SingleKeyOptions | MultipleKeysOptions;
34
- }
35
-
36
- declare class DKIM {
37
- options: DKIM.Options;
38
- keys: DKIM.SingleKeyOptions[];
39
-
40
- constructor(options?: DKIM.Options);
41
-
42
- sign(input: string | Buffer | Readable, extraOptions?: DKIM.Options): PassThrough;
43
- }
44
-
45
- export = DKIM;
@@ -1,75 +0,0 @@
1
- /// <reference types="node" />
2
-
3
- import { Transform } from "stream";
4
-
5
- declare namespace MessageParser {
6
- interface Header {
7
- key: string;
8
- line: string;
9
- }
10
- }
11
-
12
- /**
13
- * MessageParser instance is a transform stream that separates message headers
14
- * from the rest of the body. Headers are emitted with the 'headers' event. Message
15
- * body is passed on as the resulting stream.
16
- */
17
- declare class MessageParser extends Transform {
18
- addListener(event: "headers", listener: (headers: MessageParser.Header[]) => void): this;
19
- addListener(event: "close", listener: () => void): this;
20
- addListener(event: "data", listener: (chunk: any) => void): this;
21
- addListener(event: "end", listener: () => void): this;
22
- addListener(event: "readable", listener: () => void): this;
23
- addListener(event: "error", listener: (err: Error) => void): this;
24
- addListener(event: string | symbol, listener: (...args: any[]) => void): this;
25
-
26
- emit(event: "headers", headers: MessageParser.Header[]): boolean;
27
- emit(event: "close"): boolean;
28
- emit(event: "data", chunk: any): boolean;
29
- emit(event: "end"): boolean;
30
- emit(event: "readable"): boolean;
31
- emit(event: "error", err: Error): boolean;
32
- emit(event: string | symbol, ...args: any[]): boolean;
33
-
34
- on(event: "headers", listener: (headers: MessageParser.Header[]) => void): this;
35
- on(event: "close", listener: () => void): this;
36
- on(event: "data", listener: (chunk: any) => void): this;
37
- on(event: "end", listener: () => void): this;
38
- on(event: "readable", listener: () => void): this;
39
- on(event: "error", listener: (err: Error) => void): this;
40
- on(event: string | symbol, listener: (...args: any[]) => void): this;
41
-
42
- once(event: "headers", listener: (headers: MessageParser.Header[]) => void): this;
43
- once(event: "close", listener: () => void): this;
44
- once(event: "data", listener: (chunk: any) => void): this;
45
- once(event: "end", listener: () => void): this;
46
- once(event: "readable", listener: () => void): this;
47
- once(event: "error", listener: (err: Error) => void): this;
48
- once(event: string | symbol, listener: (...args: any[]) => void): this;
49
-
50
- prependListener(event: "headers", listener: (headers: MessageParser.Header[]) => void): this;
51
- prependListener(event: "close", listener: () => void): this;
52
- prependListener(event: "data", listener: (chunk: any) => void): this;
53
- prependListener(event: "end", listener: () => void): this;
54
- prependListener(event: "readable", listener: () => void): this;
55
- prependListener(event: "error", listener: (err: Error) => void): this;
56
- prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
57
-
58
- prependOnceListener(event: "headers", listener: (headers: MessageParser.Header[]) => void): this;
59
- prependOnceListener(event: "close", listener: () => void): this;
60
- prependOnceListener(event: "data", listener: (chunk: any) => void): this;
61
- prependOnceListener(event: "end", listener: () => void): this;
62
- prependOnceListener(event: "readable", listener: () => void): this;
63
- prependOnceListener(event: "error", listener: (err: Error) => void): this;
64
- prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
65
-
66
- removeListener(event: "headers", listener: (headers: MessageParser.Header[]) => void): this;
67
- removeListener(event: "close", listener: () => void): this;
68
- removeListener(event: "data", listener: (chunk: any) => void): this;
69
- removeListener(event: "end", listener: () => void): this;
70
- removeListener(event: "readable", listener: () => void): this;
71
- removeListener(event: "error", listener: (err: Error) => void): this;
72
- removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
73
- }
74
-
75
- export = MessageParser;
@@ -1,75 +0,0 @@
1
- /// <reference types="node" />
2
-
3
- import { Transform, TransformOptions } from "stream";
4
-
5
- declare namespace RelaxedBody {
6
- interface Options extends TransformOptions {
7
- hashAlgo?: string;
8
- debug?: boolean;
9
- }
10
- }
11
-
12
- /**
13
- * Streams through a message body and calculates relaxed body hash
14
- */
15
- declare class RelaxedBody extends Transform {
16
- constructor(options?: RelaxedBody.Options);
17
-
18
- addListener(event: "hash", listener: (digest: Buffer, debugBody: Buffer | false) => void): this;
19
- addListener(event: "close", listener: () => void): this;
20
- addListener(event: "data", listener: (chunk: any) => void): this;
21
- addListener(event: "end", listener: () => void): this;
22
- addListener(event: "readable", listener: () => void): this;
23
- addListener(event: "error", listener: (err: Error) => void): this;
24
- addListener(event: string | symbol, listener: (...args: any[]) => void): this;
25
-
26
- emit(event: "hash", digest: Buffer, debugBody: Buffer | false): boolean;
27
- emit(event: "close"): boolean;
28
- emit(event: "data", chunk: any): boolean;
29
- emit(event: "end"): boolean;
30
- emit(event: "readable"): boolean;
31
- emit(event: "error", err: Error): boolean;
32
- emit(event: string | symbol, ...args: any[]): boolean;
33
-
34
- on(event: "hash", listener: (digest: Buffer, debugBody: Buffer | false) => void): this;
35
- on(event: "close", listener: () => void): this;
36
- on(event: "data", listener: (chunk: any) => void): this;
37
- on(event: "end", listener: () => void): this;
38
- on(event: "readable", listener: () => void): this;
39
- on(event: "error", listener: (err: Error) => void): this;
40
- on(event: string | symbol, listener: (...args: any[]) => void): this;
41
-
42
- once(event: "hash", listener: (digest: Buffer, debugBody: Buffer | false) => void): this;
43
- once(event: "close", listener: () => void): this;
44
- once(event: "data", listener: (chunk: any) => void): this;
45
- once(event: "end", listener: () => void): this;
46
- once(event: "readable", listener: () => void): this;
47
- once(event: "error", listener: (err: Error) => void): this;
48
- once(event: string | symbol, listener: (...args: any[]) => void): this;
49
-
50
- prependListener(event: "hash", listener: (digest: Buffer, debugBody: Buffer | false) => void): this;
51
- prependListener(event: "close", listener: () => void): this;
52
- prependListener(event: "data", listener: (chunk: any) => void): this;
53
- prependListener(event: "end", listener: () => void): this;
54
- prependListener(event: "readable", listener: () => void): this;
55
- prependListener(event: "error", listener: (err: Error) => void): this;
56
- prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
57
-
58
- prependOnceListener(event: "hash", listener: (digest: Buffer, debugBody: Buffer | false) => void): this;
59
- prependOnceListener(event: "close", listener: () => void): this;
60
- prependOnceListener(event: "data", listener: (chunk: any) => void): this;
61
- prependOnceListener(event: "end", listener: () => void): this;
62
- prependOnceListener(event: "readable", listener: () => void): this;
63
- prependOnceListener(event: "error", listener: (err: Error) => void): this;
64
- prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
65
-
66
- removeListener(event: "hash", listener: (digest: Buffer, debugBody: Buffer | false) => void): this;
67
- removeListener(event: "close", listener: () => void): this;
68
- removeListener(event: "data", listener: (chunk: any) => void): this;
69
- removeListener(event: "end", listener: () => void): this;
70
- removeListener(event: "readable", listener: () => void): this;
71
- removeListener(event: "error", listener: (err: Error) => void): this;
72
- removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
73
- }
74
-
75
- export = RelaxedBody;
@@ -1,21 +0,0 @@
1
- import DKIM = require(".");
2
- import MessageParser = require("./message-parser");
3
-
4
- /** Returns DKIM signature header line */
5
- declare function relaxedHeaders(
6
- headers: MessageParser.Header[],
7
- hashAlgo: string,
8
- bodyHash: string,
9
- options?: DKIM.SingleKeyOptions,
10
- ): string;
11
-
12
- declare namespace relaxedHeaders {
13
- function relaxedHeaders(
14
- headers: MessageParser.Header[],
15
- hashAlgo: string,
16
- bodyHash: string,
17
- options?: DKIM.SingleKeyOptions,
18
- ): string;
19
- }
20
-
21
- export = relaxedHeaders;
@@ -1,54 +0,0 @@
1
- type s = number;
2
-
3
- declare namespace Cookies {
4
- interface Cookie {
5
- name: string;
6
- value?: string | undefined;
7
- expires?: Date | undefined;
8
- path?: string | undefined;
9
- domain?: string | undefined;
10
- secure?: boolean | undefined;
11
- httponly?: boolean | undefined;
12
- }
13
-
14
- interface Options {
15
- sessionTimeout?: s | undefined;
16
- }
17
- }
18
-
19
- /** Creates a biskviit cookie jar for managing cookie values in memory */
20
- declare class Cookies {
21
- options: Cookies.Options;
22
- cookies: Cookies.Cookie[];
23
-
24
- constructor(options?: Cookies.Options);
25
-
26
- /** Stores a cookie string to the cookie storage */
27
- set(cookieStr: string, url: string): boolean;
28
-
29
- /** Returns cookie string for the 'Cookie:' header. */
30
- get(url: string): string;
31
-
32
- /** Lists all valied cookie objects for the specified URL */
33
- list(url: string): Cookies.Cookie[];
34
-
35
- /** Parses cookie string from the 'Set-Cookie:' header */
36
- parse(cookieStr: string): Cookies.Cookie;
37
-
38
- /** Checks if a cookie object is valid for a specified URL */
39
- match(cookie: Cookies.Cookie, url: string): boolean;
40
-
41
- /** Adds (or updates/removes if needed) a cookie object to the cookie storage */
42
- add(cookie: Cookies.Cookie): boolean;
43
-
44
- /** Checks if two cookie objects are the same */
45
- compare(a: Cookies.Cookie, b: Cookies.Cookie): boolean;
46
-
47
- /** Checks if a cookie is expired */
48
- isExpired(cookie: Cookies.Cookie): boolean;
49
-
50
- /** Returns normalized cookie path for an URL path argument */
51
- getPath(pathname: string): string;
52
- }
53
-
54
- export = Cookies;
@@ -1,38 +0,0 @@
1
- /// <reference types="node" />
2
-
3
- type ms = number;
4
-
5
- import _Cookies = require("./cookies");
6
-
7
- import * as http from "http";
8
- import { Writable } from "stream";
9
- import * as tls from "tls";
10
-
11
- declare namespace fetch {
12
- type Cookies = _Cookies;
13
-
14
- interface WritableResponse extends Writable {
15
- statusCode: number;
16
- headers: http.IncomingHttpHeaders;
17
- }
18
-
19
- interface Options {
20
- fetchRes?: Writable | undefined;
21
- cookies?: Cookies | undefined;
22
- cookie?: string | undefined;
23
- redirects?: number | undefined;
24
- maxRedirects?: number | undefined;
25
- method?: string | undefined;
26
- headers?: { [key: string]: string } | undefined;
27
- userAgent?: string | undefined;
28
- body?: Buffer | string | { [key: string]: string } | undefined;
29
- contentType?: string | false | undefined;
30
- tls?: tls.TlsOptions | undefined;
31
- timeout?: ms | undefined;
32
- allowErrorResponse?: boolean | undefined;
33
- }
34
- }
35
-
36
- declare function fetch(url: string, options?: fetch.Options): fetch.WritableResponse;
37
-
38
- export = fetch;
@@ -1,53 +0,0 @@
1
- /// <reference types="node" />
2
-
3
- import { EventEmitter } from "events";
4
-
5
- import { Transport, TransportOptions } from "../..";
6
-
7
- import * as shared from "../shared";
8
-
9
- import Mail = require("../mailer");
10
- import MailMessage = require("../mailer/mail-message");
11
- import MimeNode = require("../mime-node");
12
-
13
- declare namespace JSONTransport {
14
- type MailOptions = Mail.Options;
15
-
16
- interface Options extends MailOptions, TransportOptions {
17
- jsonTransport: true;
18
- skipEncoding?: boolean | undefined;
19
- }
20
-
21
- interface SentMessageInfo {
22
- /** an envelope object {from:‘address’, to:[‘address’]} */
23
- envelope: MimeNode.Envelope;
24
- /** the Message-ID header value */
25
- messageId: string;
26
- /** JSON string */
27
- message: string;
28
- accepted: Array<string | Mail.Address>;
29
- rejected: Array<string | Mail.Address>;
30
- pending: Array<string | Mail.Address>;
31
- response: string;
32
- }
33
- }
34
-
35
- declare class JSONTransport implements Transport<JSONTransport.SentMessageInfo> {
36
- options: JSONTransport.Options;
37
-
38
- logger: shared.Logger;
39
- mailer: Mail<JSONTransport.SentMessageInfo>;
40
-
41
- name: string;
42
- version: string;
43
-
44
- constructor(options: JSONTransport.Options);
45
-
46
- /** Compiles a mailcomposer message and forwards it to handler that sends it */
47
- send(
48
- mail: MailMessage<JSONTransport.SentMessageInfo>,
49
- callback: (err: Error | null, info: JSONTransport.SentMessageInfo) => void,
50
- ): void;
51
- }
52
-
53
- export = JSONTransport;
@@ -1,25 +0,0 @@
1
- /// <reference types="node" />
2
-
3
- import { URL } from "url";
4
-
5
- import Mail = require("../mailer");
6
- import MimeNode = require("../mime-node");
7
-
8
- /** Creates the object for composing a MimeNode instance out from the mail options */
9
- declare class MailComposer {
10
- mail: Mail.Options;
11
- message: MimeNode | false;
12
-
13
- constructor(mail: Mail.Options);
14
-
15
- /** Builds MimeNode instance */
16
- compile(): MimeNode;
17
-
18
- /** List all attachments. Resulting attachment objects can be used as input for MimeNode nodes */
19
- getAttachments(findRelated: boolean): Mail.Attachment[];
20
-
21
- /** List alternatives. Resulting objects can be used as input for MimeNode nodes */
22
- getAlternatives(): Mail.Attachment[];
23
- }
24
-
25
- export = MailComposer;