n8n-nodes-resend 2.5.0 → 2.5.3

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 (375) hide show
  1. package/README.md +23 -184
  2. package/dist/_virtual/_rolldown/runtime.js +13 -0
  3. package/dist/credentials/ResendApi.credentials.d.ts +13 -9
  4. package/dist/credentials/ResendApi.credentials.js +28 -37
  5. package/dist/credentials/ResendWebhookSigningSecretApi.credentials.d.ts +11 -7
  6. package/dist/credentials/ResendWebhookSigningSecretApi.credentials.js +20 -23
  7. package/dist/nodes/Resend/Resend.node.d.ts +62 -57
  8. package/dist/nodes/Resend/Resend.node.js +169 -205
  9. package/dist/nodes/Resend/Resend.node.json +12 -12
  10. package/dist/nodes/Resend/ResendTrigger.node.d.ts +8 -4
  11. package/dist/nodes/Resend/ResendTrigger.node.js +180 -174
  12. package/dist/nodes/Resend/actions/broadcast/create.operation.d.ts +10 -3
  13. package/dist/nodes/Resend/actions/broadcast/create.operation.js +146 -159
  14. package/dist/nodes/Resend/actions/broadcast/delete.operation.d.ts +10 -3
  15. package/dist/nodes/Resend/actions/broadcast/delete.operation.js +35 -26
  16. package/dist/nodes/Resend/actions/broadcast/execute.d.ts +6 -1
  17. package/dist/nodes/Resend/actions/broadcast/execute.js +18 -51
  18. package/dist/nodes/Resend/actions/broadcast/get.operation.d.ts +10 -3
  19. package/dist/nodes/Resend/actions/broadcast/get.operation.js +35 -26
  20. package/dist/nodes/Resend/actions/broadcast/index.d.ts +14 -11
  21. package/dist/nodes/Resend/actions/broadcast/index.js +120 -110
  22. package/dist/nodes/Resend/actions/broadcast/list.operation.d.ts +10 -3
  23. package/dist/nodes/Resend/actions/broadcast/list.operation.js +20 -9
  24. package/dist/nodes/Resend/actions/broadcast/send.operation.d.ts +10 -3
  25. package/dist/nodes/Resend/actions/broadcast/send.operation.js +56 -54
  26. package/dist/nodes/Resend/actions/broadcast/update.operation.d.ts +10 -3
  27. package/dist/nodes/Resend/actions/broadcast/update.operation.js +123 -133
  28. package/dist/nodes/Resend/actions/contact/addToSegment.operation.d.ts +10 -3
  29. package/dist/nodes/Resend/actions/contact/addToSegment.operation.js +47 -41
  30. package/dist/nodes/Resend/actions/contact/create.operation.d.ts +10 -3
  31. package/dist/nodes/Resend/actions/contact/create.operation.js +167 -192
  32. package/dist/nodes/Resend/actions/contact/delete.operation.d.ts +10 -3
  33. package/dist/nodes/Resend/actions/contact/delete.operation.js +35 -26
  34. package/dist/nodes/Resend/actions/contact/execute.d.ts +6 -1
  35. package/dist/nodes/Resend/actions/contact/execute.js +26 -59
  36. package/dist/nodes/Resend/actions/contact/get.operation.d.ts +10 -3
  37. package/dist/nodes/Resend/actions/contact/get.operation.js +35 -26
  38. package/dist/nodes/Resend/actions/contact/getTopics.operation.d.ts +10 -3
  39. package/dist/nodes/Resend/actions/contact/getTopics.operation.js +67 -67
  40. package/dist/nodes/Resend/actions/contact/index.d.ts +18 -15
  41. package/dist/nodes/Resend/actions/contact/index.js +180 -146
  42. package/dist/nodes/Resend/actions/contact/list.operation.d.ts +10 -3
  43. package/dist/nodes/Resend/actions/contact/list.operation.js +60 -59
  44. package/dist/nodes/Resend/actions/contact/listSegments.operation.d.ts +10 -3
  45. package/dist/nodes/Resend/actions/contact/listSegments.operation.js +67 -67
  46. package/dist/nodes/Resend/actions/contact/removeFromSegment.operation.d.ts +10 -3
  47. package/dist/nodes/Resend/actions/contact/removeFromSegment.operation.js +47 -41
  48. package/dist/nodes/Resend/actions/contact/update.operation.d.ts +10 -3
  49. package/dist/nodes/Resend/actions/contact/update.operation.js +140 -151
  50. package/dist/nodes/Resend/actions/contact/updateTopics.operation.d.ts +10 -3
  51. package/dist/nodes/Resend/actions/contact/updateTopics.operation.js +80 -89
  52. package/dist/nodes/Resend/actions/contactProperty/create.operation.d.ts +10 -3
  53. package/dist/nodes/Resend/actions/contactProperty/create.operation.js +74 -63
  54. package/dist/nodes/Resend/actions/contactProperty/delete.operation.d.ts +10 -3
  55. package/dist/nodes/Resend/actions/contactProperty/delete.operation.js +35 -26
  56. package/dist/nodes/Resend/actions/contactProperty/execute.d.ts +6 -1
  57. package/dist/nodes/Resend/actions/contactProperty/execute.js +16 -49
  58. package/dist/nodes/Resend/actions/contactProperty/get.operation.d.ts +10 -3
  59. package/dist/nodes/Resend/actions/contactProperty/get.operation.js +35 -26
  60. package/dist/nodes/Resend/actions/contactProperty/index.d.ts +13 -10
  61. package/dist/nodes/Resend/actions/contactProperty/index.js +105 -101
  62. package/dist/nodes/Resend/actions/contactProperty/list.operation.d.ts +10 -3
  63. package/dist/nodes/Resend/actions/contactProperty/list.operation.js +20 -9
  64. package/dist/nodes/Resend/actions/contactProperty/update.operation.d.ts +10 -3
  65. package/dist/nodes/Resend/actions/contactProperty/update.operation.js +56 -53
  66. package/dist/nodes/Resend/actions/domain/create.operation.d.ts +10 -3
  67. package/dist/nodes/Resend/actions/domain/create.operation.js +173 -159
  68. package/dist/nodes/Resend/actions/domain/createTrackingDomain.operation.d.ts +10 -3
  69. package/dist/nodes/Resend/actions/domain/createTrackingDomain.operation.js +60 -54
  70. package/dist/nodes/Resend/actions/domain/delete.operation.d.ts +10 -3
  71. package/dist/nodes/Resend/actions/domain/delete.operation.js +35 -26
  72. package/dist/nodes/Resend/actions/domain/deleteTrackingDomain.operation.d.ts +10 -3
  73. package/dist/nodes/Resend/actions/domain/deleteTrackingDomain.operation.js +60 -53
  74. package/dist/nodes/Resend/actions/domain/execute.d.ts +6 -1
  75. package/dist/nodes/Resend/actions/domain/execute.js +28 -61
  76. package/dist/nodes/Resend/actions/domain/get.operation.d.ts +10 -3
  77. package/dist/nodes/Resend/actions/domain/get.operation.js +35 -26
  78. package/dist/nodes/Resend/actions/domain/getTrackingDomain.operation.d.ts +10 -3
  79. package/dist/nodes/Resend/actions/domain/getTrackingDomain.operation.js +60 -53
  80. package/dist/nodes/Resend/actions/domain/index.d.ts +19 -16
  81. package/dist/nodes/Resend/actions/domain/index.js +195 -155
  82. package/dist/nodes/Resend/actions/domain/list.operation.d.ts +10 -3
  83. package/dist/nodes/Resend/actions/domain/list.operation.js +20 -9
  84. package/dist/nodes/Resend/actions/domain/listTrackingDomains.operation.d.ts +10 -3
  85. package/dist/nodes/Resend/actions/domain/listTrackingDomains.operation.js +50 -46
  86. package/dist/nodes/Resend/actions/domain/update.operation.d.ts +10 -3
  87. package/dist/nodes/Resend/actions/domain/update.operation.js +80 -77
  88. package/dist/nodes/Resend/actions/domain/verify.operation.d.ts +10 -3
  89. package/dist/nodes/Resend/actions/domain/verify.operation.js +35 -26
  90. package/dist/nodes/Resend/actions/domain/verifyTrackingDomain.operation.d.ts +10 -3
  91. package/dist/nodes/Resend/actions/domain/verifyTrackingDomain.operation.js +60 -53
  92. package/dist/nodes/Resend/actions/email/cancel.operation.d.ts +10 -3
  93. package/dist/nodes/Resend/actions/email/cancel.operation.js +35 -26
  94. package/dist/nodes/Resend/actions/email/execute.d.ts +6 -1
  95. package/dist/nodes/Resend/actions/email/execute.js +25 -58
  96. package/dist/nodes/Resend/actions/email/getAttachment.operation.d.ts +10 -3
  97. package/dist/nodes/Resend/actions/email/getAttachment.operation.js +48 -42
  98. package/dist/nodes/Resend/actions/email/index.d.ts +17 -14
  99. package/dist/nodes/Resend/actions/email/index.js +166 -138
  100. package/dist/nodes/Resend/actions/email/list.operation.d.ts +10 -3
  101. package/dist/nodes/Resend/actions/email/list.operation.js +42 -40
  102. package/dist/nodes/Resend/actions/email/listAttachments.operation.d.ts +10 -3
  103. package/dist/nodes/Resend/actions/email/listAttachments.operation.js +67 -67
  104. package/dist/nodes/Resend/actions/email/retrieve.operation.d.ts +10 -3
  105. package/dist/nodes/Resend/actions/email/retrieve.operation.js +35 -26
  106. package/dist/nodes/Resend/actions/email/send.operation.d.ts +10 -3
  107. package/dist/nodes/Resend/actions/email/send.operation.js +494 -602
  108. package/dist/nodes/Resend/actions/email/sendAndWait.operation.d.ts +10 -5
  109. package/dist/nodes/Resend/actions/email/sendAndWait.operation.js +45 -35
  110. package/dist/nodes/Resend/actions/email/sendBatch.operation.d.ts +10 -3
  111. package/dist/nodes/Resend/actions/email/sendBatch.operation.js +347 -402
  112. package/dist/nodes/Resend/actions/email/update.operation.d.ts +10 -3
  113. package/dist/nodes/Resend/actions/email/update.operation.js +49 -45
  114. package/dist/nodes/Resend/actions/event/create.operation.d.ts +10 -3
  115. package/dist/nodes/Resend/actions/event/create.operation.js +60 -57
  116. package/dist/nodes/Resend/actions/event/delete.operation.d.ts +10 -3
  117. package/dist/nodes/Resend/actions/event/delete.operation.js +44 -39
  118. package/dist/nodes/Resend/actions/event/execute.d.ts +6 -1
  119. package/dist/nodes/Resend/actions/event/execute.js +18 -51
  120. package/dist/nodes/Resend/actions/event/get.operation.d.ts +10 -3
  121. package/dist/nodes/Resend/actions/event/get.operation.js +44 -39
  122. package/dist/nodes/Resend/actions/event/index.d.ts +14 -11
  123. package/dist/nodes/Resend/actions/event/index.js +120 -110
  124. package/dist/nodes/Resend/actions/event/list.operation.d.ts +10 -3
  125. package/dist/nodes/Resend/actions/event/list.operation.js +29 -23
  126. package/dist/nodes/Resend/actions/event/send.operation.d.ts +10 -3
  127. package/dist/nodes/Resend/actions/event/send.operation.js +110 -114
  128. package/dist/nodes/Resend/actions/event/update.operation.d.ts +10 -3
  129. package/dist/nodes/Resend/actions/event/update.operation.js +63 -62
  130. package/dist/nodes/Resend/actions/log/execute.d.ts +6 -1
  131. package/dist/nodes/Resend/actions/log/execute.js +8 -41
  132. package/dist/nodes/Resend/actions/log/index.d.ts +10 -7
  133. package/dist/nodes/Resend/actions/log/index.js +57 -74
  134. package/dist/nodes/Resend/actions/log/list.operation.d.ts +10 -3
  135. package/dist/nodes/Resend/actions/log/list.operation.js +42 -40
  136. package/dist/nodes/Resend/actions/log/retrieve.operation.d.ts +10 -3
  137. package/dist/nodes/Resend/actions/log/retrieve.operation.js +35 -26
  138. package/dist/nodes/Resend/actions/receivingEmail/execute.d.ts +6 -1
  139. package/dist/nodes/Resend/actions/receivingEmail/execute.js +14 -47
  140. package/dist/nodes/Resend/actions/receivingEmail/get.operation.d.ts +10 -3
  141. package/dist/nodes/Resend/actions/receivingEmail/get.operation.js +35 -26
  142. package/dist/nodes/Resend/actions/receivingEmail/getAttachment.operation.d.ts +10 -3
  143. package/dist/nodes/Resend/actions/receivingEmail/getAttachment.operation.js +48 -42
  144. package/dist/nodes/Resend/actions/receivingEmail/index.d.ts +12 -9
  145. package/dist/nodes/Resend/actions/receivingEmail/index.js +90 -92
  146. package/dist/nodes/Resend/actions/receivingEmail/list.operation.d.ts +10 -3
  147. package/dist/nodes/Resend/actions/receivingEmail/list.operation.js +20 -9
  148. package/dist/nodes/Resend/actions/receivingEmail/listAttachments.operation.d.ts +10 -3
  149. package/dist/nodes/Resend/actions/receivingEmail/listAttachments.operation.js +67 -67
  150. package/dist/nodes/Resend/actions/router.d.ts +6 -2
  151. package/dist/nodes/Resend/actions/router.js +56 -97
  152. package/dist/nodes/Resend/actions/segment/create.operation.d.ts +10 -3
  153. package/dist/nodes/Resend/actions/segment/create.operation.js +51 -51
  154. package/dist/nodes/Resend/actions/segment/delete.operation.d.ts +10 -3
  155. package/dist/nodes/Resend/actions/segment/delete.operation.js +35 -26
  156. package/dist/nodes/Resend/actions/segment/execute.d.ts +6 -1
  157. package/dist/nodes/Resend/actions/segment/execute.js +17 -47
  158. package/dist/nodes/Resend/actions/segment/get.operation.d.ts +10 -3
  159. package/dist/nodes/Resend/actions/segment/get.operation.js +35 -26
  160. package/dist/nodes/Resend/actions/segment/index.d.ts +13 -10
  161. package/dist/nodes/Resend/actions/segment/index.js +105 -101
  162. package/dist/nodes/Resend/actions/segment/list.operation.d.ts +10 -3
  163. package/dist/nodes/Resend/actions/segment/list.operation.js +20 -9
  164. package/dist/nodes/Resend/actions/segment/listContacts.operation.d.ts +10 -3
  165. package/dist/nodes/Resend/actions/segment/listContacts.operation.js +58 -55
  166. package/dist/nodes/Resend/actions/template/create.operation.d.ts +10 -3
  167. package/dist/nodes/Resend/actions/template/create.operation.js +144 -145
  168. package/dist/nodes/Resend/actions/template/delete.operation.d.ts +10 -3
  169. package/dist/nodes/Resend/actions/template/delete.operation.js +35 -26
  170. package/dist/nodes/Resend/actions/template/duplicate.operation.d.ts +10 -3
  171. package/dist/nodes/Resend/actions/template/duplicate.operation.js +35 -26
  172. package/dist/nodes/Resend/actions/template/execute.d.ts +6 -1
  173. package/dist/nodes/Resend/actions/template/execute.js +20 -53
  174. package/dist/nodes/Resend/actions/template/get.operation.d.ts +10 -3
  175. package/dist/nodes/Resend/actions/template/get.operation.js +35 -26
  176. package/dist/nodes/Resend/actions/template/index.d.ts +15 -12
  177. package/dist/nodes/Resend/actions/template/index.js +135 -119
  178. package/dist/nodes/Resend/actions/template/list.operation.d.ts +10 -3
  179. package/dist/nodes/Resend/actions/template/list.operation.js +20 -9
  180. package/dist/nodes/Resend/actions/template/publish.operation.d.ts +10 -3
  181. package/dist/nodes/Resend/actions/template/publish.operation.js +35 -26
  182. package/dist/nodes/Resend/actions/template/update.operation.d.ts +10 -3
  183. package/dist/nodes/Resend/actions/template/update.operation.js +164 -161
  184. package/dist/nodes/Resend/actions/topic/create.operation.d.ts +10 -3
  185. package/dist/nodes/Resend/actions/topic/create.operation.js +94 -88
  186. package/dist/nodes/Resend/actions/topic/delete.operation.d.ts +10 -3
  187. package/dist/nodes/Resend/actions/topic/delete.operation.js +35 -26
  188. package/dist/nodes/Resend/actions/topic/execute.d.ts +6 -1
  189. package/dist/nodes/Resend/actions/topic/execute.js +16 -49
  190. package/dist/nodes/Resend/actions/topic/get.operation.d.ts +10 -3
  191. package/dist/nodes/Resend/actions/topic/get.operation.js +35 -26
  192. package/dist/nodes/Resend/actions/topic/index.d.ts +13 -10
  193. package/dist/nodes/Resend/actions/topic/index.js +105 -101
  194. package/dist/nodes/Resend/actions/topic/list.operation.d.ts +10 -3
  195. package/dist/nodes/Resend/actions/topic/list.operation.js +20 -9
  196. package/dist/nodes/Resend/actions/topic/update.operation.d.ts +10 -3
  197. package/dist/nodes/Resend/actions/topic/update.operation.js +80 -77
  198. package/dist/nodes/Resend/actions/webhook/create.operation.d.ts +10 -3
  199. package/dist/nodes/Resend/actions/webhook/create.operation.js +54 -48
  200. package/dist/nodes/Resend/actions/webhook/delete.operation.d.ts +10 -3
  201. package/dist/nodes/Resend/actions/webhook/delete.operation.js +35 -26
  202. package/dist/nodes/Resend/actions/webhook/execute.d.ts +6 -1
  203. package/dist/nodes/Resend/actions/webhook/execute.js +16 -49
  204. package/dist/nodes/Resend/actions/webhook/get.operation.d.ts +10 -3
  205. package/dist/nodes/Resend/actions/webhook/get.operation.js +35 -26
  206. package/dist/nodes/Resend/actions/webhook/index.d.ts +14 -11
  207. package/dist/nodes/Resend/actions/webhook/index.js +176 -119
  208. package/dist/nodes/Resend/actions/webhook/list.operation.d.ts +10 -3
  209. package/dist/nodes/Resend/actions/webhook/list.operation.js +20 -9
  210. package/dist/nodes/Resend/actions/webhook/update.operation.d.ts +10 -3
  211. package/dist/nodes/Resend/actions/webhook/update.operation.js +80 -73
  212. package/dist/nodes/Resend/actions/workflow/create.operation.d.ts +10 -3
  213. package/dist/nodes/Resend/actions/workflow/create.operation.js +104 -103
  214. package/dist/nodes/Resend/actions/workflow/delete.operation.d.ts +10 -3
  215. package/dist/nodes/Resend/actions/workflow/delete.operation.js +44 -39
  216. package/dist/nodes/Resend/actions/workflow/execute.d.ts +6 -1
  217. package/dist/nodes/Resend/actions/workflow/execute.js +24 -57
  218. package/dist/nodes/Resend/actions/workflow/get.operation.d.ts +10 -3
  219. package/dist/nodes/Resend/actions/workflow/get.operation.js +44 -39
  220. package/dist/nodes/Resend/actions/workflow/getRun.operation.d.ts +10 -3
  221. package/dist/nodes/Resend/actions/workflow/getRun.operation.js +60 -54
  222. package/dist/nodes/Resend/actions/workflow/getRunStep.operation.d.ts +10 -3
  223. package/dist/nodes/Resend/actions/workflow/getRunStep.operation.js +74 -70
  224. package/dist/nodes/Resend/actions/workflow/index.d.ts +17 -14
  225. package/dist/nodes/Resend/actions/workflow/index.js +165 -137
  226. package/dist/nodes/Resend/actions/workflow/list.operation.d.ts +10 -3
  227. package/dist/nodes/Resend/actions/workflow/list.operation.js +29 -23
  228. package/dist/nodes/Resend/actions/workflow/listRunSteps.operation.d.ts +10 -3
  229. package/dist/nodes/Resend/actions/workflow/listRunSteps.operation.js +66 -62
  230. package/dist/nodes/Resend/actions/workflow/listRuns.operation.d.ts +10 -3
  231. package/dist/nodes/Resend/actions/workflow/listRuns.operation.js +50 -47
  232. package/dist/nodes/Resend/actions/workflow/update.operation.d.ts +10 -3
  233. package/dist/nodes/Resend/actions/workflow/update.operation.js +66 -58
  234. package/dist/nodes/Resend/methods/index.d.ts +27 -23
  235. package/dist/nodes/Resend/methods/index.js +227 -253
  236. package/dist/nodes/Resend/transport/index.d.ts +29 -26
  237. package/dist/nodes/Resend/transport/index.js +240 -321
  238. package/dist/nodes/Resend/utils/dynamicFields.d.ts +37 -33
  239. package/dist/nodes/Resend/utils/dynamicFields.js +118 -59
  240. package/dist/nodes/Resend/utils/sendAndWait/descriptions.d.ts +8 -4
  241. package/dist/nodes/Resend/utils/sendAndWait/descriptions.js +97 -111
  242. package/dist/nodes/Resend/utils/sendAndWait/email-templates.d.ts +10 -7
  243. package/dist/nodes/Resend/utils/sendAndWait/email-templates.js +20 -20
  244. package/dist/nodes/Resend/utils/sendAndWait/index.d.ts +5 -4
  245. package/dist/nodes/Resend/utils/sendAndWait/index.js +20 -23
  246. package/dist/nodes/Resend/utils/sendAndWait/interfaces.d.ts +32 -28
  247. package/dist/nodes/Resend/utils/sendAndWait/interfaces.js +0 -3
  248. package/dist/nodes/Resend/utils/sendAndWait/utils.d.ts +39 -35
  249. package/dist/nodes/Resend/utils/sendAndWait/utils.js +360 -468
  250. package/package.json +69 -66
  251. package/dist/credentials/ResendApi.credentials.js.map +0 -1
  252. package/dist/credentials/ResendWebhookSigningSecretApi.credentials.js.map +0 -1
  253. package/dist/nodes/Resend/Resend.node.js.map +0 -1
  254. package/dist/nodes/Resend/ResendTrigger.node.js.map +0 -1
  255. package/dist/nodes/Resend/actions/broadcast/create.operation.js.map +0 -1
  256. package/dist/nodes/Resend/actions/broadcast/delete.operation.js.map +0 -1
  257. package/dist/nodes/Resend/actions/broadcast/execute.js.map +0 -1
  258. package/dist/nodes/Resend/actions/broadcast/get.operation.js.map +0 -1
  259. package/dist/nodes/Resend/actions/broadcast/index.js.map +0 -1
  260. package/dist/nodes/Resend/actions/broadcast/list.operation.js.map +0 -1
  261. package/dist/nodes/Resend/actions/broadcast/send.operation.js.map +0 -1
  262. package/dist/nodes/Resend/actions/broadcast/update.operation.js.map +0 -1
  263. package/dist/nodes/Resend/actions/contact/addToSegment.operation.js.map +0 -1
  264. package/dist/nodes/Resend/actions/contact/create.operation.js.map +0 -1
  265. package/dist/nodes/Resend/actions/contact/delete.operation.js.map +0 -1
  266. package/dist/nodes/Resend/actions/contact/execute.js.map +0 -1
  267. package/dist/nodes/Resend/actions/contact/get.operation.js.map +0 -1
  268. package/dist/nodes/Resend/actions/contact/getTopics.operation.js.map +0 -1
  269. package/dist/nodes/Resend/actions/contact/index.js.map +0 -1
  270. package/dist/nodes/Resend/actions/contact/list.operation.js.map +0 -1
  271. package/dist/nodes/Resend/actions/contact/listSegments.operation.js.map +0 -1
  272. package/dist/nodes/Resend/actions/contact/removeFromSegment.operation.js.map +0 -1
  273. package/dist/nodes/Resend/actions/contact/update.operation.js.map +0 -1
  274. package/dist/nodes/Resend/actions/contact/updateTopics.operation.js.map +0 -1
  275. package/dist/nodes/Resend/actions/contactProperty/create.operation.js.map +0 -1
  276. package/dist/nodes/Resend/actions/contactProperty/delete.operation.js.map +0 -1
  277. package/dist/nodes/Resend/actions/contactProperty/execute.js.map +0 -1
  278. package/dist/nodes/Resend/actions/contactProperty/get.operation.js.map +0 -1
  279. package/dist/nodes/Resend/actions/contactProperty/index.js.map +0 -1
  280. package/dist/nodes/Resend/actions/contactProperty/list.operation.js.map +0 -1
  281. package/dist/nodes/Resend/actions/contactProperty/update.operation.js.map +0 -1
  282. package/dist/nodes/Resend/actions/domain/create.operation.js.map +0 -1
  283. package/dist/nodes/Resend/actions/domain/createTrackingDomain.operation.js.map +0 -1
  284. package/dist/nodes/Resend/actions/domain/delete.operation.js.map +0 -1
  285. package/dist/nodes/Resend/actions/domain/deleteTrackingDomain.operation.js.map +0 -1
  286. package/dist/nodes/Resend/actions/domain/execute.js.map +0 -1
  287. package/dist/nodes/Resend/actions/domain/get.operation.js.map +0 -1
  288. package/dist/nodes/Resend/actions/domain/getTrackingDomain.operation.js.map +0 -1
  289. package/dist/nodes/Resend/actions/domain/index.js.map +0 -1
  290. package/dist/nodes/Resend/actions/domain/list.operation.js.map +0 -1
  291. package/dist/nodes/Resend/actions/domain/listTrackingDomains.operation.js.map +0 -1
  292. package/dist/nodes/Resend/actions/domain/update.operation.js.map +0 -1
  293. package/dist/nodes/Resend/actions/domain/verify.operation.js.map +0 -1
  294. package/dist/nodes/Resend/actions/domain/verifyTrackingDomain.operation.js.map +0 -1
  295. package/dist/nodes/Resend/actions/email/cancel.operation.js.map +0 -1
  296. package/dist/nodes/Resend/actions/email/execute.js.map +0 -1
  297. package/dist/nodes/Resend/actions/email/getAttachment.operation.js.map +0 -1
  298. package/dist/nodes/Resend/actions/email/index.js.map +0 -1
  299. package/dist/nodes/Resend/actions/email/list.operation.js.map +0 -1
  300. package/dist/nodes/Resend/actions/email/listAttachments.operation.js.map +0 -1
  301. package/dist/nodes/Resend/actions/email/retrieve.operation.js.map +0 -1
  302. package/dist/nodes/Resend/actions/email/send.operation.js.map +0 -1
  303. package/dist/nodes/Resend/actions/email/sendAndWait.operation.js.map +0 -1
  304. package/dist/nodes/Resend/actions/email/sendBatch.operation.js.map +0 -1
  305. package/dist/nodes/Resend/actions/email/update.operation.js.map +0 -1
  306. package/dist/nodes/Resend/actions/event/create.operation.js.map +0 -1
  307. package/dist/nodes/Resend/actions/event/delete.operation.js.map +0 -1
  308. package/dist/nodes/Resend/actions/event/execute.js.map +0 -1
  309. package/dist/nodes/Resend/actions/event/get.operation.js.map +0 -1
  310. package/dist/nodes/Resend/actions/event/index.js.map +0 -1
  311. package/dist/nodes/Resend/actions/event/list.operation.js.map +0 -1
  312. package/dist/nodes/Resend/actions/event/send.operation.js.map +0 -1
  313. package/dist/nodes/Resend/actions/event/update.operation.js.map +0 -1
  314. package/dist/nodes/Resend/actions/log/execute.js.map +0 -1
  315. package/dist/nodes/Resend/actions/log/index.js.map +0 -1
  316. package/dist/nodes/Resend/actions/log/list.operation.js.map +0 -1
  317. package/dist/nodes/Resend/actions/log/retrieve.operation.js.map +0 -1
  318. package/dist/nodes/Resend/actions/receivingEmail/execute.js.map +0 -1
  319. package/dist/nodes/Resend/actions/receivingEmail/get.operation.js.map +0 -1
  320. package/dist/nodes/Resend/actions/receivingEmail/getAttachment.operation.js.map +0 -1
  321. package/dist/nodes/Resend/actions/receivingEmail/index.js.map +0 -1
  322. package/dist/nodes/Resend/actions/receivingEmail/list.operation.js.map +0 -1
  323. package/dist/nodes/Resend/actions/receivingEmail/listAttachments.operation.js.map +0 -1
  324. package/dist/nodes/Resend/actions/router.js.map +0 -1
  325. package/dist/nodes/Resend/actions/segment/create.operation.js.map +0 -1
  326. package/dist/nodes/Resend/actions/segment/delete.operation.js.map +0 -1
  327. package/dist/nodes/Resend/actions/segment/execute.js.map +0 -1
  328. package/dist/nodes/Resend/actions/segment/get.operation.js.map +0 -1
  329. package/dist/nodes/Resend/actions/segment/index.js.map +0 -1
  330. package/dist/nodes/Resend/actions/segment/list.operation.js.map +0 -1
  331. package/dist/nodes/Resend/actions/segment/listContacts.operation.js.map +0 -1
  332. package/dist/nodes/Resend/actions/template/create.operation.js.map +0 -1
  333. package/dist/nodes/Resend/actions/template/delete.operation.js.map +0 -1
  334. package/dist/nodes/Resend/actions/template/duplicate.operation.js.map +0 -1
  335. package/dist/nodes/Resend/actions/template/execute.js.map +0 -1
  336. package/dist/nodes/Resend/actions/template/get.operation.js.map +0 -1
  337. package/dist/nodes/Resend/actions/template/index.js.map +0 -1
  338. package/dist/nodes/Resend/actions/template/list.operation.js.map +0 -1
  339. package/dist/nodes/Resend/actions/template/publish.operation.js.map +0 -1
  340. package/dist/nodes/Resend/actions/template/update.operation.js.map +0 -1
  341. package/dist/nodes/Resend/actions/topic/create.operation.js.map +0 -1
  342. package/dist/nodes/Resend/actions/topic/delete.operation.js.map +0 -1
  343. package/dist/nodes/Resend/actions/topic/execute.js.map +0 -1
  344. package/dist/nodes/Resend/actions/topic/get.operation.js.map +0 -1
  345. package/dist/nodes/Resend/actions/topic/index.js.map +0 -1
  346. package/dist/nodes/Resend/actions/topic/list.operation.js.map +0 -1
  347. package/dist/nodes/Resend/actions/topic/update.operation.js.map +0 -1
  348. package/dist/nodes/Resend/actions/webhook/create.operation.js.map +0 -1
  349. package/dist/nodes/Resend/actions/webhook/delete.operation.js.map +0 -1
  350. package/dist/nodes/Resend/actions/webhook/execute.js.map +0 -1
  351. package/dist/nodes/Resend/actions/webhook/get.operation.js.map +0 -1
  352. package/dist/nodes/Resend/actions/webhook/index.js.map +0 -1
  353. package/dist/nodes/Resend/actions/webhook/list.operation.js.map +0 -1
  354. package/dist/nodes/Resend/actions/webhook/update.operation.js.map +0 -1
  355. package/dist/nodes/Resend/actions/workflow/create.operation.js.map +0 -1
  356. package/dist/nodes/Resend/actions/workflow/delete.operation.js.map +0 -1
  357. package/dist/nodes/Resend/actions/workflow/execute.js.map +0 -1
  358. package/dist/nodes/Resend/actions/workflow/get.operation.js.map +0 -1
  359. package/dist/nodes/Resend/actions/workflow/getRun.operation.js.map +0 -1
  360. package/dist/nodes/Resend/actions/workflow/getRunStep.operation.js.map +0 -1
  361. package/dist/nodes/Resend/actions/workflow/index.js.map +0 -1
  362. package/dist/nodes/Resend/actions/workflow/list.operation.js.map +0 -1
  363. package/dist/nodes/Resend/actions/workflow/listRunSteps.operation.js.map +0 -1
  364. package/dist/nodes/Resend/actions/workflow/listRuns.operation.js.map +0 -1
  365. package/dist/nodes/Resend/actions/workflow/update.operation.js.map +0 -1
  366. package/dist/nodes/Resend/methods/index.js.map +0 -1
  367. package/dist/nodes/Resend/transport/index.js.map +0 -1
  368. package/dist/nodes/Resend/utils/dynamicFields.js.map +0 -1
  369. package/dist/nodes/Resend/utils/sendAndWait/descriptions.js.map +0 -1
  370. package/dist/nodes/Resend/utils/sendAndWait/email-templates.js.map +0 -1
  371. package/dist/nodes/Resend/utils/sendAndWait/index.js.map +0 -1
  372. package/dist/nodes/Resend/utils/sendAndWait/interfaces.js.map +0 -1
  373. package/dist/nodes/Resend/utils/sendAndWait/utils.js.map +0 -1
  374. package/dist/package.json +0 -67
  375. 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,21 @@ 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
+ | **Email** | `/emails` | ✅ Full | Send, Send Batch, Send and Wait, List, Get, Update, Cancel, List Attachments, Get Attachment |
41
+ | **Receiving Emails** | `/emails/receiving` | ✅ Full | List, Get, List Attachments, Get Attachment |
42
+ | **Domains** | `/domains` | ✅ Full | Create, List, Get, Update, Delete, Verify, Create Tracking Domain, Get Tracking Domain, List Tracking Domains, Delete Tracking Domain, Verify Tracking Domain |
43
+ | **Templates** | `/templates` | ✅ Full | Create, List, Get, Update, Delete, Publish, Duplicate |
44
+ | **Contacts** | `/contacts` | ✅ Full | Create, List, Get, Update, Delete, Add to Segment, List Segments, Remove from Segment, Get Topics, Update Topics |
45
+ | **Broadcasts** | `/broadcasts` | ✅ Full | Create, List, Get, Update, Delete, Send |
46
+ | **Segments** | `/segments` | ✅ Full | Create, List, Get, Delete |
47
+ | **Topics** | `/topics` | ✅ Full | Create, List, Get, Update, Delete |
48
+ | **Contact Properties** | `/contact-properties` | ✅ Full | Create, List, Get, Update, Delete |
49
+ | **Webhooks** | `/webhooks` | ✅ Full | Create, List, Get, Update, Delete |
50
+ | **Events** | `/events` | ✅ Full | Create, List, Get, Update, Delete, Send |
51
+ | **Workflows** | `/workflows` | ✅ Full | Create, List, Get, Update, Delete, List Runs, Get Run, List Run Steps, Get Run Step |
52
+ | **Logs** | `/logs` | ✅ Full | List, Retrieve |
51
53
 
52
54
  </details>
53
55
 
@@ -109,179 +111,14 @@ The workflow pauses at the email step and resumes automatically once the recipie
109
111
  | **Response Form Title** | Title shown on the response form |
110
112
  | **Limit Wait Time** | Set a timeout for the wait period |
111
113
 
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
114
  ## Trigger Events
256
115
 
257
116
  The **Resend Trigger** node receives webhooks for real-time email events. Signatures are automatically verified using Svix.
258
117
 
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.
260
-
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 |
118
+ > [!NOTE]
119
+ > The trigger node requires the **Resend Webhook Signing Secret** credential (separate from the Resend API credential). See the [Credentials](#credentials) section for setup instructions.
283
120
 
284
- </details>
121
+ For a full list of supported event types, see the [Resend Webhooks documentation](https://resend.com/docs/dashboard/webhooks/event-types).
285
122
 
286
123
  ## Limitations
287
124
 
@@ -290,12 +127,14 @@ The **Resend Trigger** node receives webhooks for real-time email events. Signat
290
127
 
291
128
  ## Development
292
129
 
130
+ Requires [Node.js 22.13+](https://nodejs.org/) and [pnpm 11](https://pnpm.io/) (`corepack enable` recommended).
131
+
293
132
  ```bash
294
133
  git clone https://github.com/resend/n8n-nodes-resend.git
295
134
  cd n8n-nodes-resend
296
- npm install
297
- npm run build
298
- npm run lint
135
+ pnpm install
136
+ pnpm run build
137
+ pnpm run lint
299
138
  ```
300
139
 
301
140
  ## 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,14 @@
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
+
3
+ //#region credentials/ResendApi.credentials.d.ts
4
+ declare class ResendApi implements ICredentialType {
5
+ name: string;
6
+ displayName: string;
7
+ documentationUrl: string;
8
+ icon: "file:resend.svg";
9
+ properties: INodeProperties[];
10
+ authenticate: IAuthenticateGeneric;
11
+ test: ICredentialTestRequest;
10
12
  }
13
+ //#endregion
14
+ export { ResendApi };
@@ -1,38 +1,29 @@
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 = "file:resend.svg";
9
+ this.properties = [{
10
+ displayName: "API Key",
11
+ name: "apiKey",
12
+ type: "string",
13
+ typeOptions: { password: true },
14
+ default: "",
15
+ required: true
16
+ }];
17
+ this.authenticate = {
18
+ type: "generic",
19
+ properties: { headers: { Authorization: "={{\"Bearer \" + $credentials.apiKey}}" } }
20
+ };
21
+ this.test = { request: {
22
+ baseURL: "https://api.resend.com",
23
+ url: "/api-keys",
24
+ method: "GET"
25
+ } };
26
+ }
27
+ };
28
+ //#endregion
37
29
  exports.ResendApi = ResendApi;
38
- //# sourceMappingURL=ResendApi.credentials.js.map
@@ -1,8 +1,12 @@
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
+
3
+ //#region credentials/ResendWebhookSigningSecretApi.credentials.d.ts
4
+ declare class ResendWebhookSigningSecretApi implements ICredentialType {
5
+ name: string;
6
+ displayName: string;
7
+ documentationUrl: string;
8
+ icon: "file:resend.svg";
9
+ properties: INodeProperties[];
8
10
  }
11
+ //#endregion
12
+ 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
@@ -1,60 +1,65 @@
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 * as _$n8n_workflow0 from "n8n-workflow";
4
+ import { INodeType, INodeTypeDescription, IWebhookFunctions } from "n8n-workflow";
5
+
6
+ //#region nodes/Resend/Resend.node.d.ts
7
+ declare class Resend implements INodeType {
8
+ description: INodeTypeDescription;
9
+ methods: {
10
+ loadOptions: {
11
+ getBroadcasts: typeof getBroadcasts;
12
+ getContactProperties: typeof getContactProperties;
13
+ getContacts: typeof getContacts;
14
+ getDomains: typeof getDomains;
15
+ getEmails: typeof getEmails;
16
+ getReceivedEmails: typeof getReceivedEmails;
17
+ getSegments: typeof getSegments;
18
+ getTemplateVariables: typeof getTemplateVariables;
19
+ getTemplates: typeof getTemplates;
20
+ getTopics: typeof getTopics;
21
+ getWebhooks: typeof getWebhooks;
22
+ };
23
+ listSearch: {
24
+ getBroadcasts: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
25
+ getContactProperties: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
26
+ getContacts: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
27
+ getDomains: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
28
+ getEmails: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
29
+ getReceivedEmails: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
30
+ getSegments: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
31
+ getTemplates: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
32
+ getTemplateVariables: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
33
+ getTopics: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
34
+ getWebhooks: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
35
+ };
36
+ };
37
+ webhook: (this: IWebhookFunctions) => Promise<{
38
+ noWebhookResponse: boolean;
39
+ webhookResponse?: undefined;
40
+ workflowData?: undefined;
41
+ } | {
42
+ webhookResponse: undefined;
43
+ workflowData: {
44
+ json: {
45
+ data: {
46
+ text: string;
19
47
  };
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>;
48
+ };
49
+ }[][];
50
+ noWebhookResponse?: undefined;
51
+ } | {
52
+ webhookResponse: undefined;
53
+ workflowData: {
54
+ json: {
55
+ data: {
56
+ approved: boolean;
32
57
  };
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;
58
+ };
59
+ }[][];
60
+ noWebhookResponse?: undefined;
61
+ }>;
62
+ execute: typeof router;
60
63
  }
64
+ //#endregion
65
+ export { Resend };