n8n-nodes-resend 2.5.2 → 2.6.0

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 (391) hide show
  1. package/README.md +36 -186
  2. package/dist/_virtual/_rolldown/runtime.js +13 -0
  3. package/dist/credentials/ResendApi.credentials.d.ts +15 -9
  4. package/dist/credentials/ResendApi.credentials.js +31 -37
  5. package/dist/credentials/ResendOAuth2Api.credentials.d.ts +15 -0
  6. package/dist/credentials/ResendOAuth2Api.credentials.js +27 -0
  7. package/dist/credentials/ResendWebhookSigningSecretApi.credentials.d.ts +10 -7
  8. package/dist/credentials/ResendWebhookSigningSecretApi.credentials.js +20 -23
  9. package/dist/credentials/resend-icon-black.svg +3 -0
  10. package/dist/credentials/resend-icon-white.svg +3 -0
  11. package/dist/nodes/Resend/Resend.node.d.ts +60 -57
  12. package/dist/nodes/Resend/Resend.node.js +196 -205
  13. package/dist/nodes/Resend/Resend.node.json +12 -12
  14. package/dist/nodes/Resend/ResendTrigger.node.d.ts +7 -4
  15. package/dist/nodes/Resend/ResendTrigger.node.js +180 -174
  16. package/dist/nodes/Resend/actions/account/disconnect.operation.d.ts +8 -0
  17. package/dist/nodes/Resend/actions/account/disconnect.operation.js +49 -0
  18. package/dist/nodes/Resend/actions/account/execute.d.ts +4 -0
  19. package/dist/nodes/Resend/actions/account/execute.js +7 -0
  20. package/dist/nodes/Resend/actions/account/index.d.ts +8 -0
  21. package/dist/nodes/Resend/actions/account/index.js +42 -0
  22. package/dist/nodes/Resend/actions/broadcast/create.operation.d.ts +8 -3
  23. package/dist/nodes/Resend/actions/broadcast/create.operation.js +146 -159
  24. package/dist/nodes/Resend/actions/broadcast/delete.operation.d.ts +8 -3
  25. package/dist/nodes/Resend/actions/broadcast/delete.operation.js +35 -26
  26. package/dist/nodes/Resend/actions/broadcast/execute.d.ts +4 -1
  27. package/dist/nodes/Resend/actions/broadcast/execute.js +18 -51
  28. package/dist/nodes/Resend/actions/broadcast/get.operation.d.ts +8 -3
  29. package/dist/nodes/Resend/actions/broadcast/get.operation.js +35 -26
  30. package/dist/nodes/Resend/actions/broadcast/index.d.ts +13 -11
  31. package/dist/nodes/Resend/actions/broadcast/index.js +120 -110
  32. package/dist/nodes/Resend/actions/broadcast/list.operation.d.ts +8 -3
  33. package/dist/nodes/Resend/actions/broadcast/list.operation.js +20 -9
  34. package/dist/nodes/Resend/actions/broadcast/send.operation.d.ts +8 -3
  35. package/dist/nodes/Resend/actions/broadcast/send.operation.js +56 -54
  36. package/dist/nodes/Resend/actions/broadcast/update.operation.d.ts +8 -3
  37. package/dist/nodes/Resend/actions/broadcast/update.operation.js +123 -133
  38. package/dist/nodes/Resend/actions/contact/addToSegment.operation.d.ts +8 -3
  39. package/dist/nodes/Resend/actions/contact/addToSegment.operation.js +47 -41
  40. package/dist/nodes/Resend/actions/contact/create.operation.d.ts +8 -3
  41. package/dist/nodes/Resend/actions/contact/create.operation.js +167 -192
  42. package/dist/nodes/Resend/actions/contact/delete.operation.d.ts +8 -3
  43. package/dist/nodes/Resend/actions/contact/delete.operation.js +35 -26
  44. package/dist/nodes/Resend/actions/contact/execute.d.ts +4 -1
  45. package/dist/nodes/Resend/actions/contact/execute.js +26 -59
  46. package/dist/nodes/Resend/actions/contact/get.operation.d.ts +8 -3
  47. package/dist/nodes/Resend/actions/contact/get.operation.js +35 -26
  48. package/dist/nodes/Resend/actions/contact/getTopics.operation.d.ts +8 -3
  49. package/dist/nodes/Resend/actions/contact/getTopics.operation.js +67 -67
  50. package/dist/nodes/Resend/actions/contact/index.d.ts +17 -15
  51. package/dist/nodes/Resend/actions/contact/index.js +180 -146
  52. package/dist/nodes/Resend/actions/contact/list.operation.d.ts +8 -3
  53. package/dist/nodes/Resend/actions/contact/list.operation.js +60 -59
  54. package/dist/nodes/Resend/actions/contact/listSegments.operation.d.ts +8 -3
  55. package/dist/nodes/Resend/actions/contact/listSegments.operation.js +67 -67
  56. package/dist/nodes/Resend/actions/contact/removeFromSegment.operation.d.ts +8 -3
  57. package/dist/nodes/Resend/actions/contact/removeFromSegment.operation.js +47 -41
  58. package/dist/nodes/Resend/actions/contact/update.operation.d.ts +8 -3
  59. package/dist/nodes/Resend/actions/contact/update.operation.js +140 -151
  60. package/dist/nodes/Resend/actions/contact/updateTopics.operation.d.ts +8 -3
  61. package/dist/nodes/Resend/actions/contact/updateTopics.operation.js +80 -89
  62. package/dist/nodes/Resend/actions/contactProperty/create.operation.d.ts +8 -3
  63. package/dist/nodes/Resend/actions/contactProperty/create.operation.js +74 -63
  64. package/dist/nodes/Resend/actions/contactProperty/delete.operation.d.ts +8 -3
  65. package/dist/nodes/Resend/actions/contactProperty/delete.operation.js +35 -26
  66. package/dist/nodes/Resend/actions/contactProperty/execute.d.ts +4 -1
  67. package/dist/nodes/Resend/actions/contactProperty/execute.js +16 -49
  68. package/dist/nodes/Resend/actions/contactProperty/get.operation.d.ts +8 -3
  69. package/dist/nodes/Resend/actions/contactProperty/get.operation.js +35 -26
  70. package/dist/nodes/Resend/actions/contactProperty/index.d.ts +12 -10
  71. package/dist/nodes/Resend/actions/contactProperty/index.js +105 -101
  72. package/dist/nodes/Resend/actions/contactProperty/list.operation.d.ts +8 -3
  73. package/dist/nodes/Resend/actions/contactProperty/list.operation.js +20 -9
  74. package/dist/nodes/Resend/actions/contactProperty/update.operation.d.ts +8 -3
  75. package/dist/nodes/Resend/actions/contactProperty/update.operation.js +56 -53
  76. package/dist/nodes/Resend/actions/domain/claim.operation.d.ts +8 -0
  77. package/dist/nodes/Resend/actions/domain/claim.operation.js +124 -0
  78. package/dist/nodes/Resend/actions/domain/create.operation.d.ts +8 -3
  79. package/dist/nodes/Resend/actions/domain/create.operation.js +173 -159
  80. package/dist/nodes/Resend/actions/domain/createTrackingDomain.operation.d.ts +8 -3
  81. package/dist/nodes/Resend/actions/domain/createTrackingDomain.operation.js +60 -54
  82. package/dist/nodes/Resend/actions/domain/delete.operation.d.ts +8 -3
  83. package/dist/nodes/Resend/actions/domain/delete.operation.js +35 -26
  84. package/dist/nodes/Resend/actions/domain/deleteTrackingDomain.operation.d.ts +8 -3
  85. package/dist/nodes/Resend/actions/domain/deleteTrackingDomain.operation.js +60 -53
  86. package/dist/nodes/Resend/actions/domain/execute.d.ts +4 -1
  87. package/dist/nodes/Resend/actions/domain/execute.js +34 -61
  88. package/dist/nodes/Resend/actions/domain/get.operation.d.ts +8 -3
  89. package/dist/nodes/Resend/actions/domain/get.operation.js +35 -26
  90. package/dist/nodes/Resend/actions/domain/getClaim.operation.d.ts +8 -0
  91. package/dist/nodes/Resend/actions/domain/getClaim.operation.js +37 -0
  92. package/dist/nodes/Resend/actions/domain/getTrackingDomain.operation.d.ts +8 -3
  93. package/dist/nodes/Resend/actions/domain/getTrackingDomain.operation.js +60 -53
  94. package/dist/nodes/Resend/actions/domain/index.d.ts +21 -16
  95. package/dist/nodes/Resend/actions/domain/index.js +241 -156
  96. package/dist/nodes/Resend/actions/domain/list.operation.d.ts +8 -3
  97. package/dist/nodes/Resend/actions/domain/list.operation.js +20 -9
  98. package/dist/nodes/Resend/actions/domain/listTrackingDomains.operation.d.ts +8 -3
  99. package/dist/nodes/Resend/actions/domain/listTrackingDomains.operation.js +50 -46
  100. package/dist/nodes/Resend/actions/domain/update.operation.d.ts +8 -3
  101. package/dist/nodes/Resend/actions/domain/update.operation.js +80 -77
  102. package/dist/nodes/Resend/actions/domain/verify.operation.d.ts +8 -3
  103. package/dist/nodes/Resend/actions/domain/verify.operation.js +35 -26
  104. package/dist/nodes/Resend/actions/domain/verifyClaim.operation.d.ts +8 -0
  105. package/dist/nodes/Resend/actions/domain/verifyClaim.operation.js +46 -0
  106. package/dist/nodes/Resend/actions/domain/verifyTrackingDomain.operation.d.ts +8 -3
  107. package/dist/nodes/Resend/actions/domain/verifyTrackingDomain.operation.js +60 -53
  108. package/dist/nodes/Resend/actions/email/cancel.operation.d.ts +8 -3
  109. package/dist/nodes/Resend/actions/email/cancel.operation.js +35 -26
  110. package/dist/nodes/Resend/actions/email/execute.d.ts +4 -1
  111. package/dist/nodes/Resend/actions/email/execute.js +25 -58
  112. package/dist/nodes/Resend/actions/email/getAttachment.operation.d.ts +8 -3
  113. package/dist/nodes/Resend/actions/email/getAttachment.operation.js +48 -42
  114. package/dist/nodes/Resend/actions/email/index.d.ts +16 -14
  115. package/dist/nodes/Resend/actions/email/index.js +166 -138
  116. package/dist/nodes/Resend/actions/email/list.operation.d.ts +8 -3
  117. package/dist/nodes/Resend/actions/email/list.operation.js +42 -40
  118. package/dist/nodes/Resend/actions/email/listAttachments.operation.d.ts +8 -3
  119. package/dist/nodes/Resend/actions/email/listAttachments.operation.js +67 -67
  120. package/dist/nodes/Resend/actions/email/retrieve.operation.d.ts +8 -3
  121. package/dist/nodes/Resend/actions/email/retrieve.operation.js +35 -26
  122. package/dist/nodes/Resend/actions/email/send.operation.d.ts +8 -3
  123. package/dist/nodes/Resend/actions/email/send.operation.js +494 -602
  124. package/dist/nodes/Resend/actions/email/sendAndWait.operation.d.ts +8 -5
  125. package/dist/nodes/Resend/actions/email/sendAndWait.operation.js +45 -35
  126. package/dist/nodes/Resend/actions/email/sendBatch.operation.d.ts +8 -3
  127. package/dist/nodes/Resend/actions/email/sendBatch.operation.js +347 -402
  128. package/dist/nodes/Resend/actions/email/update.operation.d.ts +8 -3
  129. package/dist/nodes/Resend/actions/email/update.operation.js +49 -45
  130. package/dist/nodes/Resend/actions/event/create.operation.d.ts +8 -3
  131. package/dist/nodes/Resend/actions/event/create.operation.js +60 -57
  132. package/dist/nodes/Resend/actions/event/delete.operation.d.ts +8 -3
  133. package/dist/nodes/Resend/actions/event/delete.operation.js +44 -39
  134. package/dist/nodes/Resend/actions/event/execute.d.ts +4 -1
  135. package/dist/nodes/Resend/actions/event/execute.js +18 -51
  136. package/dist/nodes/Resend/actions/event/get.operation.d.ts +8 -3
  137. package/dist/nodes/Resend/actions/event/get.operation.js +44 -39
  138. package/dist/nodes/Resend/actions/event/index.d.ts +13 -11
  139. package/dist/nodes/Resend/actions/event/index.js +120 -110
  140. package/dist/nodes/Resend/actions/event/list.operation.d.ts +8 -3
  141. package/dist/nodes/Resend/actions/event/list.operation.js +29 -23
  142. package/dist/nodes/Resend/actions/event/send.operation.d.ts +8 -3
  143. package/dist/nodes/Resend/actions/event/send.operation.js +110 -114
  144. package/dist/nodes/Resend/actions/event/update.operation.d.ts +8 -3
  145. package/dist/nodes/Resend/actions/event/update.operation.js +63 -62
  146. package/dist/nodes/Resend/actions/log/execute.d.ts +4 -1
  147. package/dist/nodes/Resend/actions/log/execute.js +8 -41
  148. package/dist/nodes/Resend/actions/log/index.d.ts +9 -7
  149. package/dist/nodes/Resend/actions/log/index.js +57 -74
  150. package/dist/nodes/Resend/actions/log/list.operation.d.ts +8 -3
  151. package/dist/nodes/Resend/actions/log/list.operation.js +42 -40
  152. package/dist/nodes/Resend/actions/log/retrieve.operation.d.ts +8 -3
  153. package/dist/nodes/Resend/actions/log/retrieve.operation.js +35 -26
  154. package/dist/nodes/Resend/actions/receivingEmail/execute.d.ts +4 -1
  155. package/dist/nodes/Resend/actions/receivingEmail/execute.js +14 -47
  156. package/dist/nodes/Resend/actions/receivingEmail/get.operation.d.ts +8 -3
  157. package/dist/nodes/Resend/actions/receivingEmail/get.operation.js +35 -26
  158. package/dist/nodes/Resend/actions/receivingEmail/getAttachment.operation.d.ts +8 -3
  159. package/dist/nodes/Resend/actions/receivingEmail/getAttachment.operation.js +48 -42
  160. package/dist/nodes/Resend/actions/receivingEmail/index.d.ts +11 -9
  161. package/dist/nodes/Resend/actions/receivingEmail/index.js +90 -92
  162. package/dist/nodes/Resend/actions/receivingEmail/list.operation.d.ts +8 -3
  163. package/dist/nodes/Resend/actions/receivingEmail/list.operation.js +20 -9
  164. package/dist/nodes/Resend/actions/receivingEmail/listAttachments.operation.d.ts +8 -3
  165. package/dist/nodes/Resend/actions/receivingEmail/listAttachments.operation.js +67 -67
  166. package/dist/nodes/Resend/actions/router.d.ts +5 -2
  167. package/dist/nodes/Resend/actions/router.js +58 -97
  168. package/dist/nodes/Resend/actions/segment/create.operation.d.ts +8 -3
  169. package/dist/nodes/Resend/actions/segment/create.operation.js +51 -51
  170. package/dist/nodes/Resend/actions/segment/delete.operation.d.ts +8 -3
  171. package/dist/nodes/Resend/actions/segment/delete.operation.js +35 -26
  172. package/dist/nodes/Resend/actions/segment/execute.d.ts +4 -1
  173. package/dist/nodes/Resend/actions/segment/execute.js +17 -47
  174. package/dist/nodes/Resend/actions/segment/get.operation.d.ts +8 -3
  175. package/dist/nodes/Resend/actions/segment/get.operation.js +35 -26
  176. package/dist/nodes/Resend/actions/segment/index.d.ts +12 -10
  177. package/dist/nodes/Resend/actions/segment/index.js +105 -101
  178. package/dist/nodes/Resend/actions/segment/list.operation.d.ts +8 -3
  179. package/dist/nodes/Resend/actions/segment/list.operation.js +20 -9
  180. package/dist/nodes/Resend/actions/segment/listContacts.operation.d.ts +8 -3
  181. package/dist/nodes/Resend/actions/segment/listContacts.operation.js +58 -55
  182. package/dist/nodes/Resend/actions/template/create.operation.d.ts +8 -3
  183. package/dist/nodes/Resend/actions/template/create.operation.js +144 -145
  184. package/dist/nodes/Resend/actions/template/delete.operation.d.ts +8 -3
  185. package/dist/nodes/Resend/actions/template/delete.operation.js +35 -26
  186. package/dist/nodes/Resend/actions/template/duplicate.operation.d.ts +8 -3
  187. package/dist/nodes/Resend/actions/template/duplicate.operation.js +35 -26
  188. package/dist/nodes/Resend/actions/template/execute.d.ts +4 -1
  189. package/dist/nodes/Resend/actions/template/execute.js +20 -53
  190. package/dist/nodes/Resend/actions/template/get.operation.d.ts +8 -3
  191. package/dist/nodes/Resend/actions/template/get.operation.js +35 -26
  192. package/dist/nodes/Resend/actions/template/index.d.ts +14 -12
  193. package/dist/nodes/Resend/actions/template/index.js +135 -119
  194. package/dist/nodes/Resend/actions/template/list.operation.d.ts +8 -3
  195. package/dist/nodes/Resend/actions/template/list.operation.js +20 -9
  196. package/dist/nodes/Resend/actions/template/publish.operation.d.ts +8 -3
  197. package/dist/nodes/Resend/actions/template/publish.operation.js +35 -26
  198. package/dist/nodes/Resend/actions/template/update.operation.d.ts +8 -3
  199. package/dist/nodes/Resend/actions/template/update.operation.js +164 -161
  200. package/dist/nodes/Resend/actions/topic/create.operation.d.ts +8 -3
  201. package/dist/nodes/Resend/actions/topic/create.operation.js +94 -88
  202. package/dist/nodes/Resend/actions/topic/delete.operation.d.ts +8 -3
  203. package/dist/nodes/Resend/actions/topic/delete.operation.js +35 -26
  204. package/dist/nodes/Resend/actions/topic/execute.d.ts +4 -1
  205. package/dist/nodes/Resend/actions/topic/execute.js +16 -49
  206. package/dist/nodes/Resend/actions/topic/get.operation.d.ts +8 -3
  207. package/dist/nodes/Resend/actions/topic/get.operation.js +35 -26
  208. package/dist/nodes/Resend/actions/topic/index.d.ts +12 -10
  209. package/dist/nodes/Resend/actions/topic/index.js +105 -101
  210. package/dist/nodes/Resend/actions/topic/list.operation.d.ts +8 -3
  211. package/dist/nodes/Resend/actions/topic/list.operation.js +20 -9
  212. package/dist/nodes/Resend/actions/topic/update.operation.d.ts +8 -3
  213. package/dist/nodes/Resend/actions/topic/update.operation.js +80 -77
  214. package/dist/nodes/Resend/actions/webhook/create.operation.d.ts +8 -3
  215. package/dist/nodes/Resend/actions/webhook/create.operation.js +54 -48
  216. package/dist/nodes/Resend/actions/webhook/delete.operation.d.ts +8 -3
  217. package/dist/nodes/Resend/actions/webhook/delete.operation.js +35 -26
  218. package/dist/nodes/Resend/actions/webhook/execute.d.ts +4 -1
  219. package/dist/nodes/Resend/actions/webhook/execute.js +16 -49
  220. package/dist/nodes/Resend/actions/webhook/get.operation.d.ts +8 -3
  221. package/dist/nodes/Resend/actions/webhook/get.operation.js +35 -26
  222. package/dist/nodes/Resend/actions/webhook/index.d.ts +13 -11
  223. package/dist/nodes/Resend/actions/webhook/index.js +176 -119
  224. package/dist/nodes/Resend/actions/webhook/list.operation.d.ts +8 -3
  225. package/dist/nodes/Resend/actions/webhook/list.operation.js +20 -9
  226. package/dist/nodes/Resend/actions/webhook/update.operation.d.ts +8 -3
  227. package/dist/nodes/Resend/actions/webhook/update.operation.js +80 -73
  228. package/dist/nodes/Resend/actions/workflow/create.operation.d.ts +8 -3
  229. package/dist/nodes/Resend/actions/workflow/create.operation.js +104 -103
  230. package/dist/nodes/Resend/actions/workflow/delete.operation.d.ts +8 -3
  231. package/dist/nodes/Resend/actions/workflow/delete.operation.js +44 -39
  232. package/dist/nodes/Resend/actions/workflow/execute.d.ts +4 -1
  233. package/dist/nodes/Resend/actions/workflow/execute.js +24 -57
  234. package/dist/nodes/Resend/actions/workflow/get.operation.d.ts +8 -3
  235. package/dist/nodes/Resend/actions/workflow/get.operation.js +44 -39
  236. package/dist/nodes/Resend/actions/workflow/getRun.operation.d.ts +8 -3
  237. package/dist/nodes/Resend/actions/workflow/getRun.operation.js +60 -54
  238. package/dist/nodes/Resend/actions/workflow/getRunStep.operation.d.ts +8 -3
  239. package/dist/nodes/Resend/actions/workflow/getRunStep.operation.js +74 -70
  240. package/dist/nodes/Resend/actions/workflow/index.d.ts +16 -14
  241. package/dist/nodes/Resend/actions/workflow/index.js +165 -137
  242. package/dist/nodes/Resend/actions/workflow/list.operation.d.ts +8 -3
  243. package/dist/nodes/Resend/actions/workflow/list.operation.js +29 -23
  244. package/dist/nodes/Resend/actions/workflow/listRunSteps.operation.d.ts +8 -3
  245. package/dist/nodes/Resend/actions/workflow/listRunSteps.operation.js +66 -62
  246. package/dist/nodes/Resend/actions/workflow/listRuns.operation.d.ts +8 -3
  247. package/dist/nodes/Resend/actions/workflow/listRuns.operation.js +50 -47
  248. package/dist/nodes/Resend/actions/workflow/update.operation.d.ts +8 -3
  249. package/dist/nodes/Resend/actions/workflow/update.operation.js +66 -58
  250. package/dist/nodes/Resend/methods/index.d.ts +26 -23
  251. package/dist/nodes/Resend/methods/index.js +227 -253
  252. package/dist/nodes/Resend/transport/index.d.ts +28 -26
  253. package/dist/nodes/Resend/transport/index.js +243 -321
  254. package/dist/nodes/Resend/utils/dynamicFields.d.ts +36 -33
  255. package/dist/nodes/Resend/utils/dynamicFields.js +118 -59
  256. package/dist/nodes/Resend/utils/sendAndWait/descriptions.d.ts +7 -4
  257. package/dist/nodes/Resend/utils/sendAndWait/descriptions.js +97 -111
  258. package/dist/nodes/Resend/utils/sendAndWait/email-templates.d.ts +10 -7
  259. package/dist/nodes/Resend/utils/sendAndWait/email-templates.js +20 -20
  260. package/dist/nodes/Resend/utils/sendAndWait/index.d.ts +5 -4
  261. package/dist/nodes/Resend/utils/sendAndWait/index.js +20 -23
  262. package/dist/nodes/Resend/utils/sendAndWait/interfaces.d.ts +31 -28
  263. package/dist/nodes/Resend/utils/sendAndWait/interfaces.js +0 -3
  264. package/dist/nodes/Resend/utils/sendAndWait/utils.d.ts +38 -35
  265. package/dist/nodes/Resend/utils/sendAndWait/utils.js +360 -468
  266. package/package.json +70 -71
  267. package/dist/credentials/ResendApi.credentials.js.map +0 -1
  268. package/dist/credentials/ResendWebhookSigningSecretApi.credentials.js.map +0 -1
  269. package/dist/nodes/Resend/Resend.node.js.map +0 -1
  270. package/dist/nodes/Resend/ResendTrigger.node.js.map +0 -1
  271. package/dist/nodes/Resend/actions/broadcast/create.operation.js.map +0 -1
  272. package/dist/nodes/Resend/actions/broadcast/delete.operation.js.map +0 -1
  273. package/dist/nodes/Resend/actions/broadcast/execute.js.map +0 -1
  274. package/dist/nodes/Resend/actions/broadcast/get.operation.js.map +0 -1
  275. package/dist/nodes/Resend/actions/broadcast/index.js.map +0 -1
  276. package/dist/nodes/Resend/actions/broadcast/list.operation.js.map +0 -1
  277. package/dist/nodes/Resend/actions/broadcast/send.operation.js.map +0 -1
  278. package/dist/nodes/Resend/actions/broadcast/update.operation.js.map +0 -1
  279. package/dist/nodes/Resend/actions/contact/addToSegment.operation.js.map +0 -1
  280. package/dist/nodes/Resend/actions/contact/create.operation.js.map +0 -1
  281. package/dist/nodes/Resend/actions/contact/delete.operation.js.map +0 -1
  282. package/dist/nodes/Resend/actions/contact/execute.js.map +0 -1
  283. package/dist/nodes/Resend/actions/contact/get.operation.js.map +0 -1
  284. package/dist/nodes/Resend/actions/contact/getTopics.operation.js.map +0 -1
  285. package/dist/nodes/Resend/actions/contact/index.js.map +0 -1
  286. package/dist/nodes/Resend/actions/contact/list.operation.js.map +0 -1
  287. package/dist/nodes/Resend/actions/contact/listSegments.operation.js.map +0 -1
  288. package/dist/nodes/Resend/actions/contact/removeFromSegment.operation.js.map +0 -1
  289. package/dist/nodes/Resend/actions/contact/update.operation.js.map +0 -1
  290. package/dist/nodes/Resend/actions/contact/updateTopics.operation.js.map +0 -1
  291. package/dist/nodes/Resend/actions/contactProperty/create.operation.js.map +0 -1
  292. package/dist/nodes/Resend/actions/contactProperty/delete.operation.js.map +0 -1
  293. package/dist/nodes/Resend/actions/contactProperty/execute.js.map +0 -1
  294. package/dist/nodes/Resend/actions/contactProperty/get.operation.js.map +0 -1
  295. package/dist/nodes/Resend/actions/contactProperty/index.js.map +0 -1
  296. package/dist/nodes/Resend/actions/contactProperty/list.operation.js.map +0 -1
  297. package/dist/nodes/Resend/actions/contactProperty/update.operation.js.map +0 -1
  298. package/dist/nodes/Resend/actions/domain/create.operation.js.map +0 -1
  299. package/dist/nodes/Resend/actions/domain/createTrackingDomain.operation.js.map +0 -1
  300. package/dist/nodes/Resend/actions/domain/delete.operation.js.map +0 -1
  301. package/dist/nodes/Resend/actions/domain/deleteTrackingDomain.operation.js.map +0 -1
  302. package/dist/nodes/Resend/actions/domain/execute.js.map +0 -1
  303. package/dist/nodes/Resend/actions/domain/get.operation.js.map +0 -1
  304. package/dist/nodes/Resend/actions/domain/getTrackingDomain.operation.js.map +0 -1
  305. package/dist/nodes/Resend/actions/domain/index.js.map +0 -1
  306. package/dist/nodes/Resend/actions/domain/list.operation.js.map +0 -1
  307. package/dist/nodes/Resend/actions/domain/listTrackingDomains.operation.js.map +0 -1
  308. package/dist/nodes/Resend/actions/domain/update.operation.js.map +0 -1
  309. package/dist/nodes/Resend/actions/domain/verify.operation.js.map +0 -1
  310. package/dist/nodes/Resend/actions/domain/verifyTrackingDomain.operation.js.map +0 -1
  311. package/dist/nodes/Resend/actions/email/cancel.operation.js.map +0 -1
  312. package/dist/nodes/Resend/actions/email/execute.js.map +0 -1
  313. package/dist/nodes/Resend/actions/email/getAttachment.operation.js.map +0 -1
  314. package/dist/nodes/Resend/actions/email/index.js.map +0 -1
  315. package/dist/nodes/Resend/actions/email/list.operation.js.map +0 -1
  316. package/dist/nodes/Resend/actions/email/listAttachments.operation.js.map +0 -1
  317. package/dist/nodes/Resend/actions/email/retrieve.operation.js.map +0 -1
  318. package/dist/nodes/Resend/actions/email/send.operation.js.map +0 -1
  319. package/dist/nodes/Resend/actions/email/sendAndWait.operation.js.map +0 -1
  320. package/dist/nodes/Resend/actions/email/sendBatch.operation.js.map +0 -1
  321. package/dist/nodes/Resend/actions/email/update.operation.js.map +0 -1
  322. package/dist/nodes/Resend/actions/event/create.operation.js.map +0 -1
  323. package/dist/nodes/Resend/actions/event/delete.operation.js.map +0 -1
  324. package/dist/nodes/Resend/actions/event/execute.js.map +0 -1
  325. package/dist/nodes/Resend/actions/event/get.operation.js.map +0 -1
  326. package/dist/nodes/Resend/actions/event/index.js.map +0 -1
  327. package/dist/nodes/Resend/actions/event/list.operation.js.map +0 -1
  328. package/dist/nodes/Resend/actions/event/send.operation.js.map +0 -1
  329. package/dist/nodes/Resend/actions/event/update.operation.js.map +0 -1
  330. package/dist/nodes/Resend/actions/log/execute.js.map +0 -1
  331. package/dist/nodes/Resend/actions/log/index.js.map +0 -1
  332. package/dist/nodes/Resend/actions/log/list.operation.js.map +0 -1
  333. package/dist/nodes/Resend/actions/log/retrieve.operation.js.map +0 -1
  334. package/dist/nodes/Resend/actions/receivingEmail/execute.js.map +0 -1
  335. package/dist/nodes/Resend/actions/receivingEmail/get.operation.js.map +0 -1
  336. package/dist/nodes/Resend/actions/receivingEmail/getAttachment.operation.js.map +0 -1
  337. package/dist/nodes/Resend/actions/receivingEmail/index.js.map +0 -1
  338. package/dist/nodes/Resend/actions/receivingEmail/list.operation.js.map +0 -1
  339. package/dist/nodes/Resend/actions/receivingEmail/listAttachments.operation.js.map +0 -1
  340. package/dist/nodes/Resend/actions/router.js.map +0 -1
  341. package/dist/nodes/Resend/actions/segment/create.operation.js.map +0 -1
  342. package/dist/nodes/Resend/actions/segment/delete.operation.js.map +0 -1
  343. package/dist/nodes/Resend/actions/segment/execute.js.map +0 -1
  344. package/dist/nodes/Resend/actions/segment/get.operation.js.map +0 -1
  345. package/dist/nodes/Resend/actions/segment/index.js.map +0 -1
  346. package/dist/nodes/Resend/actions/segment/list.operation.js.map +0 -1
  347. package/dist/nodes/Resend/actions/segment/listContacts.operation.js.map +0 -1
  348. package/dist/nodes/Resend/actions/template/create.operation.js.map +0 -1
  349. package/dist/nodes/Resend/actions/template/delete.operation.js.map +0 -1
  350. package/dist/nodes/Resend/actions/template/duplicate.operation.js.map +0 -1
  351. package/dist/nodes/Resend/actions/template/execute.js.map +0 -1
  352. package/dist/nodes/Resend/actions/template/get.operation.js.map +0 -1
  353. package/dist/nodes/Resend/actions/template/index.js.map +0 -1
  354. package/dist/nodes/Resend/actions/template/list.operation.js.map +0 -1
  355. package/dist/nodes/Resend/actions/template/publish.operation.js.map +0 -1
  356. package/dist/nodes/Resend/actions/template/update.operation.js.map +0 -1
  357. package/dist/nodes/Resend/actions/topic/create.operation.js.map +0 -1
  358. package/dist/nodes/Resend/actions/topic/delete.operation.js.map +0 -1
  359. package/dist/nodes/Resend/actions/topic/execute.js.map +0 -1
  360. package/dist/nodes/Resend/actions/topic/get.operation.js.map +0 -1
  361. package/dist/nodes/Resend/actions/topic/index.js.map +0 -1
  362. package/dist/nodes/Resend/actions/topic/list.operation.js.map +0 -1
  363. package/dist/nodes/Resend/actions/topic/update.operation.js.map +0 -1
  364. package/dist/nodes/Resend/actions/webhook/create.operation.js.map +0 -1
  365. package/dist/nodes/Resend/actions/webhook/delete.operation.js.map +0 -1
  366. package/dist/nodes/Resend/actions/webhook/execute.js.map +0 -1
  367. package/dist/nodes/Resend/actions/webhook/get.operation.js.map +0 -1
  368. package/dist/nodes/Resend/actions/webhook/index.js.map +0 -1
  369. package/dist/nodes/Resend/actions/webhook/list.operation.js.map +0 -1
  370. package/dist/nodes/Resend/actions/webhook/update.operation.js.map +0 -1
  371. package/dist/nodes/Resend/actions/workflow/create.operation.js.map +0 -1
  372. package/dist/nodes/Resend/actions/workflow/delete.operation.js.map +0 -1
  373. package/dist/nodes/Resend/actions/workflow/execute.js.map +0 -1
  374. package/dist/nodes/Resend/actions/workflow/get.operation.js.map +0 -1
  375. package/dist/nodes/Resend/actions/workflow/getRun.operation.js.map +0 -1
  376. package/dist/nodes/Resend/actions/workflow/getRunStep.operation.js.map +0 -1
  377. package/dist/nodes/Resend/actions/workflow/index.js.map +0 -1
  378. package/dist/nodes/Resend/actions/workflow/list.operation.js.map +0 -1
  379. package/dist/nodes/Resend/actions/workflow/listRunSteps.operation.js.map +0 -1
  380. package/dist/nodes/Resend/actions/workflow/listRuns.operation.js.map +0 -1
  381. package/dist/nodes/Resend/actions/workflow/update.operation.js.map +0 -1
  382. package/dist/nodes/Resend/methods/index.js.map +0 -1
  383. package/dist/nodes/Resend/transport/index.js.map +0 -1
  384. package/dist/nodes/Resend/utils/dynamicFields.js.map +0 -1
  385. package/dist/nodes/Resend/utils/sendAndWait/descriptions.js.map +0 -1
  386. package/dist/nodes/Resend/utils/sendAndWait/email-templates.js.map +0 -1
  387. package/dist/nodes/Resend/utils/sendAndWait/index.js.map +0 -1
  388. package/dist/nodes/Resend/utils/sendAndWait/interfaces.js.map +0 -1
  389. package/dist/nodes/Resend/utils/sendAndWait/utils.js.map +0 -1
  390. package/dist/package.json +0 -72
  391. package/dist/tsconfig.tsbuildinfo +0 -1
package/README.md CHANGED
@@ -16,7 +16,6 @@
16
16
  <a href="#installation">Installation</a> |
17
17
  <a href="#credentials">Credentials</a> |
18
18
  <a href="#human-in-the-loop">Human in the Loop</a> |
19
- <a href="#resources">Resources</a> |
20
19
  <a href="#trigger-events">Trigger Events</a> |
21
20
  <a href="#limitations">Limitations</a> |
22
21
  <a href="#development">Development</a>
@@ -36,18 +35,22 @@ The table below shows which endpoints are currently implemented:
36
35
  <details>
37
36
  <summary><strong>View all endpoints</strong></summary>
38
37
 
39
- | API Resource | Endpoint | Status | Operations |
40
- | ---------------------- | --------------------- | ------- | ---------------------------------------------------------------------------------------------------------------- |
41
- | **Email** | `/emails` | ✅ Full | Send, Send Batch, Send and Wait, List, Get, Update, Cancel, List Attachments, Get Attachment |
42
- | **Receiving Emails** | `/emails/receiving` | ✅ Full | List, Get, List Attachments, Get Attachment |
43
- | **Domains** | `/domains` | ✅ Full | Create, List, Get, Update, Delete, Verify |
44
- | **Templates** | `/templates` | ✅ Full | Create, List, Get, Update, Delete, Publish, Duplicate |
45
- | **Contacts** | `/contacts` | ✅ Full | Create, List, Get, Update, Delete, Add to Segment, List Segments, Remove from Segment, Get Topics, Update Topics |
46
- | **Broadcasts** | `/broadcasts` | ✅ Full | Create, List, Get, Update, Delete, Send |
47
- | **Segments** | `/segments` | ✅ Full | Create, List, Get, Delete |
48
- | **Topics** | `/topics` | ✅ Full | Create, List, Get, Update, Delete |
49
- | **Contact Properties** | `/contact-properties` | ✅ Full | Create, List, Get, Update, Delete |
50
- | **Webhooks** | `/webhooks` | ✅ Full | Create, List, Get, Update, Delete |
38
+ | API Resource | Endpoint | Status | Operations |
39
+ | ---------------------- | --------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
40
+ | **Account** | `/oauth/revoke` | ✅ Full | Disconnect (OAuth2 credential only) |
41
+ | **Email** | `/emails` | ✅ Full | Send, Send Batch, Send and Wait, List, Get, Update, Cancel, List Attachments, Get Attachment |
42
+ | **Receiving Emails** | `/emails/receiving` | ✅ Full | List, Get, List Attachments, Get Attachment |
43
+ | **Domains** | `/domains` | ✅ Full | Create, List, Get, Update, Delete, Verify, Create Tracking Domain, Get Tracking Domain, List Tracking Domains, Delete Tracking Domain, Verify Tracking Domain |
44
+ | **Templates** | `/templates` | ✅ Full | Create, List, Get, Update, Delete, Publish, Duplicate |
45
+ | **Contacts** | `/contacts` | ✅ Full | Create, List, Get, Update, Delete, Add to Segment, List Segments, Remove from Segment, Get Topics, Update Topics |
46
+ | **Broadcasts** | `/broadcasts` | ✅ Full | Create, List, Get, Update, Delete, Send |
47
+ | **Segments** | `/segments` | ✅ Full | Create, List, Get, Delete |
48
+ | **Topics** | `/topics` | ✅ Full | Create, List, Get, Update, Delete |
49
+ | **Contact Properties** | `/contact-properties` | ✅ Full | Create, List, Get, Update, Delete |
50
+ | **Webhooks** | `/webhooks` | ✅ Full | Create, List, Get, Update, Delete |
51
+ | **Events** | `/events` | ✅ Full | Create, List, Get, Update, Delete, Send |
52
+ | **Workflows** | `/workflows` | ✅ Full | Create, List, Get, Update, Delete, List Runs, Get Run, List Run Steps, Get Run Step |
53
+ | **Logs** | `/logs` | ✅ Full | List, Retrieve |
51
54
 
52
55
  </details>
53
56
 
@@ -60,7 +63,17 @@ The table below shows which endpoints are currently implemented:
60
63
 
61
64
  ## Credentials
62
65
 
63
- This package uses two separate credentials:
66
+ This package uses three separate credentials:
67
+
68
+ ### Resend OAuth2 API (recommended)
69
+
70
+ 1. In n8n, go to **Credentials** > **Add credential** and search for **Resend OAuth2 API**
71
+ 2. Click **Connect my account**
72
+
73
+ That's it! n8n registers itself as an OAuth client with Resend.
74
+
75
+ > [!NOTE]
76
+ > Dynamic Client Registration relies on OAuth2 support that's new in n8n core. If **Connect my account** doesn't work, make sure you're on a recent n8n version, or use the **Resend API** credential below instead.
64
77
 
65
78
  ### Resend API
66
79
 
@@ -68,7 +81,7 @@ This package uses two separate credentials:
68
81
  2. In n8n, go to **Credentials** > **Add credential**
69
82
  3. Search for **Resend API** and paste your key
70
83
 
71
- This credential is used by the main **Resend** node for all API operations.
84
+ This credential is used by the main **Resend** node when **Authentication** is set to **API Key**.
72
85
 
73
86
  ### Resend Webhook Signing Secret
74
87
 
@@ -109,179 +122,14 @@ The workflow pauses at the email step and resumes automatically once the recipie
109
122
  | **Response Form Title** | Title shown on the response form |
110
123
  | **Limit Wait Time** | Set a timeout for the wait period |
111
124
 
112
- ## Resources
113
-
114
- <details>
115
- <summary><strong>Email</strong></summary>
116
-
117
- | Operation | Description |
118
- | ---------------- | ------------------------------------------------- |
119
- | Send | Send a single email with optional attachments |
120
- | Send Batch | Send up to 100 emails in one request |
121
- | Send and Wait | Send email and wait for recipient response (HITL) |
122
- | List | List sent emails |
123
- | Get | Retrieve email details and status |
124
- | Cancel | Cancel a scheduled email |
125
- | Update | Modify a scheduled email |
126
- | List Attachments | List attachments for a sent email |
127
- | Get Attachment | Get a specific attachment from a sent email |
128
-
129
- </details>
130
-
131
- <details>
132
- <summary><strong>Receiving Email</strong></summary>
133
-
134
- | Operation | Description |
135
- | ---------------- | ----------------------------------------------- |
136
- | List | List all received emails |
137
- | Get | Retrieve a received email |
138
- | List Attachments | List attachments for a received email |
139
- | Get Attachment | Get a specific attachment from a received email |
140
-
141
- </details>
142
-
143
- <details>
144
- <summary><strong>Contact</strong></summary>
145
-
146
- | Operation | Description |
147
- | ------------------- | ---------------------------------------- |
148
- | Create | Add a new contact |
149
- | Get | Retrieve contact details |
150
- | Update | Modify contact information |
151
- | Delete | Remove a contact |
152
- | List | List all contacts |
153
- | Add to Segment | Add a contact to a segment |
154
- | List Segments | List segments for a contact |
155
- | Remove From Segment | Remove a contact from a segment |
156
- | Get Topics | Get topic subscriptions for a contact |
157
- | Update Topics | Update topic subscriptions for a contact |
158
-
159
- </details>
160
-
161
- <details>
162
- <summary><strong>Contact Property</strong></summary>
163
-
164
- | Operation | Description |
165
- | --------- | -------------------------------- |
166
- | Create | Create a custom contact property |
167
- | Get | Retrieve property details |
168
- | Update | Modify property settings |
169
- | Delete | Remove a property |
170
- | List | List all contact properties |
171
-
172
- </details>
173
-
174
- <details>
175
- <summary><strong>Segment</strong></summary>
176
-
177
- | Operation | Description |
178
- | --------- | ---------------------------------------------------- |
179
- | Create | Create a new segment with optional filter conditions |
180
- | Get | Retrieve segment details |
181
- | Delete | Remove a segment |
182
- | List | List all segments |
183
-
184
- </details>
185
-
186
- <details>
187
- <summary><strong>Topic</strong></summary>
188
-
189
- | Operation | Description |
190
- | --------- | --------------------------- |
191
- | Create | Create a subscription topic |
192
- | Get | Retrieve topic details |
193
- | Update | Modify topic settings |
194
- | Delete | Remove a topic |
195
- | List | List all topics |
196
-
197
- </details>
198
-
199
- <details>
200
- <summary><strong>Broadcast</strong></summary>
201
-
202
- | Operation | Description |
203
- | --------- | ----------------------------- |
204
- | Create | Create an email campaign |
205
- | Get | Retrieve broadcast details |
206
- | Send | Send a broadcast to a segment |
207
- | Update | Modify broadcast settings |
208
- | Delete | Remove a broadcast |
209
- | List | List all broadcasts |
210
-
211
- </details>
212
-
213
- <details>
214
- <summary><strong>Template</strong></summary>
215
-
216
- | Operation | Description |
217
- | --------- | ------------------------------ |
218
- | Create | Create an email template |
219
- | Get | Retrieve template details |
220
- | Update | Modify a template |
221
- | Delete | Remove a template |
222
- | List | List all templates |
223
- | Publish | Publish a template |
224
- | Duplicate | Duplicate an existing template |
225
-
226
- </details>
227
-
228
- <details>
229
- <summary><strong>Domain</strong></summary>
230
-
231
- | Operation | Description |
232
- | --------- | --------------------------- |
233
- | Create | Add a sending domain |
234
- | Get | Retrieve domain details |
235
- | Verify | Trigger domain verification |
236
- | Update | Modify domain settings |
237
- | Delete | Remove a domain |
238
- | List | List all domains |
239
-
240
- </details>
241
-
242
- <details>
243
- <summary><strong>Webhook</strong></summary>
244
-
245
- | Operation | Description |
246
- | --------- | ------------------------- |
247
- | Create | Create a webhook endpoint |
248
- | Get | Retrieve webhook details |
249
- | Update | Modify webhook settings |
250
- | Delete | Remove a webhook |
251
- | List | List all webhooks |
252
-
253
- </details>
254
-
255
125
  ## Trigger Events
256
126
 
257
127
  The **Resend Trigger** node receives webhooks for real-time email events. Signatures are automatically verified using Svix.
258
128
 
259
- > **Note:** The trigger node requires the **Resend Webhook Signing Secret** credential (separate from the Resend API credential). See the [Credentials](#credentials) section for setup instructions.
129
+ > [!NOTE]
130
+ > The trigger node requires the **Resend Webhook Signing Secret** credential (separate from the Resend API credential). See the [Credentials](#credentials) section for setup instructions.
260
131
 
261
- <details>
262
- <summary><strong>View all events</strong></summary>
263
-
264
- | Event | Description |
265
- | ------------------------ | ------------------------------------ |
266
- | `email.sent` | Email sent to recipient |
267
- | `email.delivered` | Email delivered successfully |
268
- | `email.delivery_delayed` | Email delivery delayed |
269
- | `email.opened` | Recipient opened the email |
270
- | `email.clicked` | Link clicked in email |
271
- | `email.bounced` | Email bounced |
272
- | `email.complained` | Spam complaint received |
273
- | `email.failed` | Email failed to send due to an error |
274
- | `email.received` | Inbound email received by Resend |
275
- | `email.scheduled` | Email scheduled to be sent |
276
- | `email.suppressed` | Email suppressed by Resend |
277
- | `contact.created` | New contact added |
278
- | `contact.updated` | Contact modified |
279
- | `contact.deleted` | Contact removed |
280
- | `domain.created` | New domain added |
281
- | `domain.updated` | Domain modified |
282
- | `domain.deleted` | Domain removed |
283
-
284
- </details>
132
+ For a full list of supported event types, see the [Resend Webhooks documentation](https://resend.com/docs/dashboard/webhooks/event-types).
285
133
 
286
134
  ## Limitations
287
135
 
@@ -290,12 +138,14 @@ The **Resend Trigger** node receives webhooks for real-time email events. Signat
290
138
 
291
139
  ## Development
292
140
 
141
+ Requires [Node.js 22.13+](https://nodejs.org/) and [pnpm 11](https://pnpm.io/) (`corepack enable` recommended).
142
+
293
143
  ```bash
294
144
  git clone https://github.com/resend/n8n-nodes-resend.git
295
145
  cd n8n-nodes-resend
296
- npm install
297
- npm run build
298
- npm run lint
146
+ pnpm install
147
+ pnpm run build
148
+ pnpm run lint
299
149
  ```
300
150
 
301
151
  ## License
@@ -0,0 +1,13 @@
1
+ //#region \0rolldown/runtime.js
2
+ var __defProp = Object.defineProperty;
3
+ var __exportAll = (all, no_symbols) => {
4
+ let target = {};
5
+ for (var name in all) __defProp(target, name, {
6
+ get: all[name],
7
+ enumerable: true
8
+ });
9
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
+ return target;
11
+ };
12
+ //#endregion
13
+ exports.__exportAll = __exportAll;
@@ -1,10 +1,16 @@
1
- import { ICredentialType, INodeProperties, IAuthenticateGeneric, ICredentialTestRequest } from 'n8n-workflow';
2
- export declare class ResendApi implements ICredentialType {
3
- name: string;
4
- displayName: string;
5
- documentationUrl: string;
6
- icon: "file:resend.svg";
7
- properties: INodeProperties[];
8
- authenticate: IAuthenticateGeneric;
9
- test: ICredentialTestRequest;
1
+ import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from "n8n-workflow";
2
+ //#region credentials/ResendApi.credentials.d.ts
3
+ declare class ResendApi implements ICredentialType {
4
+ name: string;
5
+ displayName: string;
6
+ documentationUrl: string;
7
+ icon: {
8
+ readonly light: 'file:resend-icon-black.svg';
9
+ readonly dark: 'file:resend-icon-white.svg';
10
+ };
11
+ properties: INodeProperties[];
12
+ authenticate: IAuthenticateGeneric;
13
+ test: ICredentialTestRequest;
10
14
  }
15
+ //#endregion
16
+ export { ResendApi };
@@ -1,38 +1,32 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResendApi = void 0;
4
- class ResendApi {
5
- constructor() {
6
- this.name = 'resendApi';
7
- this.displayName = 'Resend API';
8
- this.documentationUrl = 'https://resend.com/docs/api-reference/introduction';
9
- this.icon = 'file:resend.svg';
10
- this.properties = [
11
- {
12
- displayName: 'API Key',
13
- name: 'apiKey',
14
- type: 'string',
15
- typeOptions: { password: true },
16
- default: '',
17
- required: true,
18
- },
19
- ];
20
- this.authenticate = {
21
- type: 'generic',
22
- properties: {
23
- headers: {
24
- Authorization: '={{"Bearer " + $credentials.apiKey}}',
25
- },
26
- },
27
- };
28
- this.test = {
29
- request: {
30
- baseURL: 'https://api.resend.com',
31
- url: '/api-keys',
32
- method: 'GET',
33
- },
34
- };
35
- }
36
- }
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region credentials/ResendApi.credentials.ts
3
+ var ResendApi = class {
4
+ constructor() {
5
+ this.name = "resendApi";
6
+ this.displayName = "Resend API";
7
+ this.documentationUrl = "https://resend.com/docs/api-reference/introduction";
8
+ this.icon = {
9
+ light: "file:resend-icon-black.svg",
10
+ dark: "file:resend-icon-white.svg"
11
+ };
12
+ this.properties = [{
13
+ displayName: "API Key",
14
+ name: "apiKey",
15
+ type: "string",
16
+ typeOptions: { password: true },
17
+ default: "",
18
+ required: true
19
+ }];
20
+ this.authenticate = {
21
+ type: "generic",
22
+ properties: { headers: { Authorization: "={{\"Bearer \" + $credentials.apiKey}}" } }
23
+ };
24
+ this.test = { request: {
25
+ baseURL: "https://api.resend.com",
26
+ url: "/api-keys",
27
+ method: "GET"
28
+ } };
29
+ }
30
+ };
31
+ //#endregion
37
32
  exports.ResendApi = ResendApi;
38
- //# sourceMappingURL=ResendApi.credentials.js.map
@@ -0,0 +1,15 @@
1
+ import { ICredentialType, INodeProperties } from "n8n-workflow";
2
+ //#region credentials/ResendOAuth2Api.credentials.d.ts
3
+ declare class ResendOAuth2Api implements ICredentialType {
4
+ name: string;
5
+ extends: string[];
6
+ displayName: string;
7
+ documentationUrl: string;
8
+ icon: {
9
+ readonly light: 'file:resend-icon-black.svg';
10
+ readonly dark: 'file:resend-icon-white.svg';
11
+ };
12
+ properties: INodeProperties[];
13
+ }
14
+ //#endregion
15
+ export { ResendOAuth2Api };
@@ -0,0 +1,27 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region credentials/ResendOAuth2Api.credentials.ts
3
+ var ResendOAuth2Api = class {
4
+ constructor() {
5
+ this.name = "resendOAuth2Api";
6
+ this.extends = ["oAuth2Api"];
7
+ this.displayName = "Resend OAuth2 API";
8
+ this.documentationUrl = "https://resend.com/docs/guides/building-a-resend-oauth-client";
9
+ this.icon = {
10
+ light: "file:resend-icon-black.svg",
11
+ dark: "file:resend-icon-white.svg"
12
+ };
13
+ this.properties = [{
14
+ displayName: "Server URL",
15
+ name: "serverUrl",
16
+ type: "hidden",
17
+ default: "https://api.resend.com"
18
+ }, {
19
+ displayName: "Use Dynamic Client Registration",
20
+ name: "useDynamicClientRegistration",
21
+ type: "hidden",
22
+ default: true
23
+ }];
24
+ }
25
+ };
26
+ //#endregion
27
+ exports.ResendOAuth2Api = ResendOAuth2Api;
@@ -1,8 +1,11 @@
1
- import { ICredentialType, INodeProperties } from 'n8n-workflow';
2
- export declare class ResendWebhookSigningSecretApi implements ICredentialType {
3
- name: string;
4
- displayName: string;
5
- documentationUrl: string;
6
- icon: "file:resend.svg";
7
- properties: INodeProperties[];
1
+ import { ICredentialType, INodeProperties } from "n8n-workflow";
2
+ //#region credentials/ResendWebhookSigningSecretApi.credentials.d.ts
3
+ declare class ResendWebhookSigningSecretApi implements ICredentialType {
4
+ name: string;
5
+ displayName: string;
6
+ documentationUrl: string;
7
+ icon: 'file:resend.svg';
8
+ properties: INodeProperties[];
8
9
  }
10
+ //#endregion
11
+ export { ResendWebhookSigningSecretApi };
@@ -1,24 +1,21 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResendWebhookSigningSecretApi = void 0;
4
- class ResendWebhookSigningSecretApi {
5
- constructor() {
6
- this.name = 'resendWebhookSigningSecretApi';
7
- this.displayName = 'Resend Webhook Signing Secret API';
8
- this.documentationUrl = 'https://resend.com/docs/webhooks/signature-verification';
9
- this.icon = 'file:resend.svg';
10
- this.properties = [
11
- {
12
- displayName: 'Webhook Signing Secret',
13
- name: 'webhookSigningSecret',
14
- type: 'string',
15
- typeOptions: { password: true },
16
- default: '',
17
- required: true,
18
- description: 'The webhook signing secret from your Resend webhook configuration page (whsec_... value). Each webhook endpoint has its own unique signing secret.',
19
- },
20
- ];
21
- }
22
- }
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region credentials/ResendWebhookSigningSecretApi.credentials.ts
3
+ var ResendWebhookSigningSecretApi = class {
4
+ constructor() {
5
+ this.name = "resendWebhookSigningSecretApi";
6
+ this.displayName = "Resend Webhook Signing Secret API";
7
+ this.documentationUrl = "https://resend.com/docs/webhooks/signature-verification";
8
+ this.icon = "file:resend.svg";
9
+ this.properties = [{
10
+ displayName: "Webhook Signing Secret",
11
+ name: "webhookSigningSecret",
12
+ type: "string",
13
+ typeOptions: { password: true },
14
+ default: "",
15
+ required: true,
16
+ description: "The webhook signing secret from your Resend webhook configuration page (whsec_... value). Each webhook endpoint has its own unique signing secret."
17
+ }];
18
+ }
19
+ };
20
+ //#endregion
23
21
  exports.ResendWebhookSigningSecretApi = ResendWebhookSigningSecretApi;
24
- //# sourceMappingURL=ResendWebhookSigningSecretApi.credentials.js.map
@@ -0,0 +1,3 @@
1
+ <svg width="60" height="60" viewBox="350 350 1100 1100" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1000.46 450C1174.77 450 1278.43 553.669 1278.43 691.282C1278.43 828.896 1174.77 932.563 1000.46 932.563H912.382L1350 1350H1040.82L707.794 1033.48C683.944 1011.47 672.936 985.781 672.935 963.765C672.935 932.572 694.959 905.049 737.161 893.122L908.712 847.244C973.85 829.812 1018.81 779.353 1018.81 713.298C1018.8 632.567 952.745 585.78 871.095 585.78H450V450H1000.46Z" fill="black"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="60" height="60" viewBox="350 350 1100 1100" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1000.46 450C1174.77 450 1278.43 553.669 1278.43 691.282C1278.43 828.896 1174.77 932.563 1000.46 932.563H912.382L1350 1350H1040.82L707.794 1033.48C683.944 1011.47 672.936 985.781 672.935 963.765C672.935 932.572 694.959 905.049 737.161 893.122L908.712 847.244C973.85 829.812 1018.81 779.353 1018.81 713.298C1018.8 632.567 952.745 585.78 871.095 585.78H450V450H1000.46Z" fill="#FDFDFD"/>
3
+ </svg>
@@ -1,60 +1,63 @@
1
- import type { INodeType, INodeTypeDescription, IWebhookFunctions } from 'n8n-workflow';
2
- import { router } from './actions/router';
3
- import { getBroadcasts, getContactProperties, getContacts, getDomains, getEmails, getReceivedEmails, getSegments, getTemplateVariables, getTemplates, getTopics, getWebhooks } from './methods';
4
- export declare class Resend implements INodeType {
5
- description: INodeTypeDescription;
6
- methods: {
7
- loadOptions: {
8
- getBroadcasts: typeof getBroadcasts;
9
- getContactProperties: typeof getContactProperties;
10
- getContacts: typeof getContacts;
11
- getDomains: typeof getDomains;
12
- getEmails: typeof getEmails;
13
- getReceivedEmails: typeof getReceivedEmails;
14
- getSegments: typeof getSegments;
15
- getTemplateVariables: typeof getTemplateVariables;
16
- getTemplates: typeof getTemplates;
17
- getTopics: typeof getTopics;
18
- getWebhooks: typeof getWebhooks;
1
+ import { router } from "./actions/router.js";
2
+ import { getBroadcasts, getContactProperties, getContacts, getDomains, getEmails, getReceivedEmails, getSegments, getTemplateVariables, getTemplates, getTopics, getWebhooks } from "./methods/index.js";
3
+ import { INodeType, INodeTypeDescription, IWebhookFunctions } from "n8n-workflow";
4
+ //#region nodes/Resend/Resend.node.d.ts
5
+ declare class Resend implements INodeType {
6
+ description: INodeTypeDescription;
7
+ methods: {
8
+ loadOptions: {
9
+ getBroadcasts: typeof getBroadcasts;
10
+ getContactProperties: typeof getContactProperties;
11
+ getContacts: typeof getContacts;
12
+ getDomains: typeof getDomains;
13
+ getEmails: typeof getEmails;
14
+ getReceivedEmails: typeof getReceivedEmails;
15
+ getSegments: typeof getSegments;
16
+ getTemplateVariables: typeof getTemplateVariables;
17
+ getTemplates: typeof getTemplates;
18
+ getTopics: typeof getTopics;
19
+ getWebhooks: typeof getWebhooks;
20
+ };
21
+ listSearch: {
22
+ getBroadcasts: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
23
+ getContactProperties: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
24
+ getContacts: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
25
+ getDomains: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
26
+ getEmails: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
27
+ getReceivedEmails: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
28
+ getSegments: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
29
+ getTemplates: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
30
+ getTemplateVariables: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
31
+ getTopics: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
32
+ getWebhooks: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
33
+ };
34
+ };
35
+ webhook: (this: IWebhookFunctions) => Promise<{
36
+ noWebhookResponse: boolean;
37
+ webhookResponse?: undefined;
38
+ workflowData?: undefined;
39
+ } | {
40
+ noWebhookResponse?: undefined;
41
+ webhookResponse: undefined;
42
+ workflowData: {
43
+ json: {
44
+ data: {
45
+ text: string;
19
46
  };
20
- listSearch: {
21
- getBroadcasts: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
22
- getContactProperties: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
23
- getContacts: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
24
- getDomains: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
25
- getEmails: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
26
- getReceivedEmails: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
27
- getSegments: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
28
- getTemplates: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
29
- getTemplateVariables: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
30
- getTopics: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
31
- getWebhooks: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
47
+ };
48
+ }[][];
49
+ } | {
50
+ noWebhookResponse?: undefined;
51
+ webhookResponse: undefined;
52
+ workflowData: {
53
+ json: {
54
+ data: {
55
+ approved: boolean;
32
56
  };
33
- };
34
- webhook: (this: IWebhookFunctions) => Promise<{
35
- noWebhookResponse: boolean;
36
- webhookResponse?: undefined;
37
- workflowData?: undefined;
38
- } | {
39
- webhookResponse: undefined;
40
- workflowData: {
41
- json: {
42
- data: {
43
- text: string;
44
- };
45
- };
46
- }[][];
47
- noWebhookResponse?: undefined;
48
- } | {
49
- webhookResponse: undefined;
50
- workflowData: {
51
- json: {
52
- data: {
53
- approved: boolean;
54
- };
55
- };
56
- }[][];
57
- noWebhookResponse?: undefined;
58
- }>;
59
- execute: typeof router;
57
+ };
58
+ }[][];
59
+ }>;
60
+ execute: typeof router;
60
61
  }
62
+ //#endregion
63
+ export { Resend };