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
@@ -1,206 +1,197 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.Resend = void 0;
37
- const n8n_workflow_1 = require("n8n-workflow");
38
- const router_1 = require("./actions/router");
39
- const email = __importStar(require("./actions/email"));
40
- const templates = __importStar(require("./actions/template"));
41
- const domains = __importStar(require("./actions/domain"));
42
- const broadcasts = __importStar(require("./actions/broadcast"));
43
- const segments = __importStar(require("./actions/segment"));
44
- const topics = __importStar(require("./actions/topic"));
45
- const contacts = __importStar(require("./actions/contact"));
46
- const contactProperties = __importStar(require("./actions/contactProperty"));
47
- const webhooks = __importStar(require("./actions/webhook"));
48
- const receivingEmails = __importStar(require("./actions/receivingEmail"));
49
- const workflows = __importStar(require("./actions/workflow"));
50
- const events = __importStar(require("./actions/event"));
51
- const logs = __importStar(require("./actions/log"));
52
- const methods_1 = require("./methods");
53
- const sendAndWait_1 = require("./utils/sendAndWait");
54
- class Resend {
55
- constructor() {
56
- this.description = {
57
- displayName: 'Resend',
58
- name: 'resend',
59
- icon: {
60
- light: 'file:resend-icon-black.svg',
61
- dark: 'file:resend-icon-white.svg',
62
- },
63
- group: ['output'],
64
- version: 1,
65
- usableAsTool: true,
66
- description: 'Send emails, manage contacts, create broadcasts, handle templates, domains, segments, topics, and webhooks using the Resend email platform',
67
- subtitle: '={{(() => { const resourceLabels = { broadcasts: "broadcast", contacts: "contact", contactProperties: "contact property", domains: "domain", email: "email", logs: "log", receivingEmails: "received email", workflows: "workflow", events: "event", segments: "segment", templates: "template", topics: "topic", webhooks: "webhook" }; const operationLabels = { retrieve: "get", sendBatch: "send batch", listAttachments: "list attachments", getAttachment: "get attachment", addToSegment: "add to segment", listSegments: "list segments", removeFromSegment: "remove from segment", getTopics: "get topics", updateTopics: "update topics", listRuns: "list runs", getRun: "get run", listRunSteps: "list run steps", getRunStep: "get run step" }; const resource = $parameter["resource"]; const operation = $parameter["operation"]; const resourceLabel = resourceLabels[resource] ?? resource; const operationLabel = operationLabels[operation] ?? operation; return operationLabel + ": " + resourceLabel; })() }}',
68
- defaults: {
69
- name: 'Resend',
70
- },
71
- credentials: [
72
- {
73
- name: 'resendApi',
74
- required: true,
75
- },
76
- ],
77
- waitingNodeTooltip: sendAndWait_1.SEND_AND_WAIT_WAITING_TOOLTIP,
78
- webhooks: sendAndWait_1.sendAndWaitWebhooksDescription,
79
- inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
80
- outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
81
- properties: [
82
- {
83
- displayName: 'Resource',
84
- name: 'resource',
85
- type: 'options',
86
- noDataExpression: true,
87
- options: [
88
- {
89
- name: 'Broadcast',
90
- value: 'broadcasts',
91
- description: 'Create, send, update, or delete email broadcasts to reach multiple contacts at once',
92
- },
93
- {
94
- name: 'Contact',
95
- value: 'contacts',
96
- description: 'Add, update, delete, or list contacts (email subscribers) and manage their segment and topic memberships',
97
- },
98
- {
99
- name: 'Contact Property',
100
- value: 'contactProperties',
101
- description: 'Create, update, delete, or list custom contact properties (metadata fields) for storing additional contact information',
102
- },
103
- {
104
- name: 'Domain',
105
- value: 'domains',
106
- description: 'Add, verify, update, or delete sending domains for email authentication and deliverability',
107
- },
108
- {
109
- name: 'Email',
110
- value: 'email',
111
- description: 'Send single or batch emails, retrieve sent emails, cancel scheduled emails, or manage email attachments',
112
- },
113
- {
114
- name: 'Event',
115
- value: 'events',
116
- description: 'Create, send, retrieve, update, or delete events for triggering workflows (private alpha)',
117
- },
118
- {
119
- name: 'Log',
120
- value: 'logs',
121
- description: 'List and retrieve API request logs including request bodies, response bodies, and status codes',
122
- },
123
- {
124
- name: 'Receiving Email',
125
- value: 'receivingEmails',
126
- description: 'List and retrieve received emails and their attachments from inbound email processing',
127
- },
128
- {
129
- name: 'Segment',
130
- value: 'segments',
131
- description: 'Create, update, delete, or list contact segments for grouping contacts based on criteria',
132
- },
133
- {
134
- name: 'Template',
135
- value: 'templates',
136
- description: 'Create, update, publish, duplicate, or delete reusable email templates with dynamic variables',
137
- },
138
- {
139
- name: 'Topic',
140
- value: 'topics',
141
- description: 'Create, update, delete, or list subscription topics for managing email preferences',
142
- },
143
- {
144
- name: 'Webhook',
145
- value: 'webhooks',
146
- description: 'Create, update, delete, or list webhooks for receiving real-time notifications about email events',
147
- },
148
- {
149
- name: 'Workflow',
150
- value: 'workflows',
151
- description: 'Create, update, delete, or list automated email workflows and monitor runs (private alpha)',
152
- },
153
- ],
154
- default: 'email',
155
- },
156
- ...email.descriptions,
157
- ...templates.descriptions,
158
- ...domains.descriptions,
159
- ...broadcasts.descriptions,
160
- ...segments.descriptions,
161
- ...topics.descriptions,
162
- ...contacts.descriptions,
163
- ...contactProperties.descriptions,
164
- ...webhooks.descriptions,
165
- ...receivingEmails.descriptions,
166
- ...workflows.descriptions,
167
- ...events.descriptions,
168
- ...logs.descriptions,
169
- ],
170
- };
171
- this.methods = {
172
- loadOptions: {
173
- getBroadcasts: methods_1.getBroadcasts,
174
- getContactProperties: methods_1.getContactProperties,
175
- getContacts: methods_1.getContacts,
176
- getDomains: methods_1.getDomains,
177
- getEmails: methods_1.getEmails,
178
- getReceivedEmails: methods_1.getReceivedEmails,
179
- getSegments: methods_1.getSegments,
180
- getTemplateVariables: methods_1.getTemplateVariables,
181
- getTemplates: methods_1.getTemplates,
182
- getTopics: methods_1.getTopics,
183
- getWebhooks: methods_1.getWebhooks,
184
- },
185
- listSearch: {
186
- getBroadcasts: methods_1.getBroadcastsListSearch,
187
- getContactProperties: methods_1.getContactPropertiesListSearch,
188
- getContacts: methods_1.getContactsListSearch,
189
- getDomains: methods_1.getDomainsListSearch,
190
- getEmails: methods_1.getEmailsListSearch,
191
- getReceivedEmails: methods_1.getReceivedEmailsListSearch,
192
- getSegments: methods_1.getSegmentsListSearch,
193
- getTemplates: methods_1.getTemplatesListSearch,
194
- getTemplateVariables: methods_1.getTemplateVariablesListSearch,
195
- getTopics: methods_1.getTopicsListSearch,
196
- getWebhooks: methods_1.getWebhooksListSearch,
197
- },
198
- };
199
- this.webhook = async function () {
200
- return sendAndWait_1.sendAndWaitWebhook.call(this);
201
- };
202
- this.execute = router_1.router;
203
- }
204
- }
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_nodes_Resend_actions_account_index = require("./actions/account/index.js");
3
+ const require_nodes_Resend_actions_broadcast_index = require("./actions/broadcast/index.js");
4
+ const require_nodes_Resend_actions_contact_index = require("./actions/contact/index.js");
5
+ const require_nodes_Resend_actions_contactProperty_index = require("./actions/contactProperty/index.js");
6
+ const require_nodes_Resend_actions_domain_index = require("./actions/domain/index.js");
7
+ const require_nodes_Resend_utils_sendAndWait_descriptions = require("./utils/sendAndWait/descriptions.js");
8
+ const require_nodes_Resend_utils_sendAndWait_utils = require("./utils/sendAndWait/utils.js");
9
+ require("./utils/sendAndWait/index.js");
10
+ const require_nodes_Resend_actions_email_index = require("./actions/email/index.js");
11
+ const require_nodes_Resend_actions_event_index = require("./actions/event/index.js");
12
+ const require_nodes_Resend_actions_log_index = require("./actions/log/index.js");
13
+ const require_nodes_Resend_actions_receivingEmail_index = require("./actions/receivingEmail/index.js");
14
+ const require_nodes_Resend_actions_segment_index = require("./actions/segment/index.js");
15
+ const require_nodes_Resend_actions_template_index = require("./actions/template/index.js");
16
+ const require_nodes_Resend_actions_topic_index = require("./actions/topic/index.js");
17
+ const require_nodes_Resend_actions_webhook_index = require("./actions/webhook/index.js");
18
+ const require_nodes_Resend_actions_workflow_index = require("./actions/workflow/index.js");
19
+ const require_nodes_Resend_actions_router = require("./actions/router.js");
20
+ const require_nodes_Resend_methods_index = require("./methods/index.js");
21
+ let n8n_workflow = require("n8n-workflow");
22
+ //#region nodes/Resend/Resend.node.ts
23
+ var Resend = class {
24
+ constructor() {
25
+ this.description = {
26
+ displayName: "Resend",
27
+ name: "resend",
28
+ icon: {
29
+ light: "file:resend-icon-black.svg",
30
+ dark: "file:resend-icon-white.svg"
31
+ },
32
+ group: ["output"],
33
+ version: 1,
34
+ usableAsTool: true,
35
+ description: "Send emails, manage contacts, create broadcasts, handle templates, domains, segments, topics, and webhooks using the Resend email platform",
36
+ subtitle: "={{(() => { const resourceLabels = { broadcasts: \"broadcast\", contacts: \"contact\", contactProperties: \"contact property\", domains: \"domain\", email: \"email\", logs: \"log\", receivingEmails: \"received email\", workflows: \"workflow\", events: \"event\", segments: \"segment\", templates: \"template\", topics: \"topic\", webhooks: \"webhook\" }; const operationLabels = { retrieve: \"get\", sendBatch: \"send batch\", listAttachments: \"list attachments\", getAttachment: \"get attachment\", addToSegment: \"add to segment\", listSegments: \"list segments\", removeFromSegment: \"remove from segment\", getTopics: \"get topics\", updateTopics: \"update topics\", listRuns: \"list runs\", getRun: \"get run\", listRunSteps: \"list run steps\", getRunStep: \"get run step\" }; const resource = $parameter[\"resource\"]; const operation = $parameter[\"operation\"]; const resourceLabel = resourceLabels[resource] ?? resource; const operationLabel = operationLabels[operation] ?? operation; return operationLabel + \": \" + resourceLabel; })() }}",
37
+ defaults: { name: "Resend" },
38
+ credentials: [{
39
+ name: "resendOAuth2Api",
40
+ required: true,
41
+ displayOptions: { show: { authentication: ["oAuth2"] } }
42
+ }, {
43
+ name: "resendApi",
44
+ required: true,
45
+ displayOptions: { show: { authentication: ["apiKey"] } }
46
+ }],
47
+ waitingNodeTooltip: require_nodes_Resend_utils_sendAndWait_utils.SEND_AND_WAIT_WAITING_TOOLTIP,
48
+ webhooks: require_nodes_Resend_utils_sendAndWait_descriptions.sendAndWaitWebhooksDescription,
49
+ inputs: [n8n_workflow.NodeConnectionTypes.Main],
50
+ outputs: [n8n_workflow.NodeConnectionTypes.Main],
51
+ properties: [
52
+ {
53
+ displayName: "Authentication",
54
+ name: "authentication",
55
+ type: "options",
56
+ options: [{
57
+ name: "OAuth2 (Recommended)",
58
+ value: "oAuth2",
59
+ description: "Sign in with your Resend account — n8n registers itself as an OAuth client automatically, no API key needed"
60
+ }, {
61
+ name: "API Key",
62
+ value: "apiKey",
63
+ description: "Manually paste a Resend API key"
64
+ }],
65
+ default: "oAuth2"
66
+ },
67
+ {
68
+ displayName: "Resource",
69
+ name: "resource",
70
+ type: "options",
71
+ noDataExpression: true,
72
+ options: [
73
+ {
74
+ name: "Account",
75
+ value: "account",
76
+ description: "Manage the connected Resend OAuth2 account, such as disconnecting it"
77
+ },
78
+ {
79
+ name: "Broadcast",
80
+ value: "broadcasts",
81
+ description: "Create, send, update, or delete email broadcasts to reach multiple contacts at once"
82
+ },
83
+ {
84
+ name: "Contact",
85
+ value: "contacts",
86
+ description: "Add, update, delete, or list contacts (email subscribers) and manage their segment and topic memberships"
87
+ },
88
+ {
89
+ name: "Contact Property",
90
+ value: "contactProperties",
91
+ description: "Create, update, delete, or list custom contact properties (metadata fields) for storing additional contact information"
92
+ },
93
+ {
94
+ name: "Domain",
95
+ value: "domains",
96
+ description: "Add, verify, update, or delete sending domains for email authentication and deliverability"
97
+ },
98
+ {
99
+ name: "Email",
100
+ value: "email",
101
+ description: "Send single or batch emails, retrieve sent emails, cancel scheduled emails, or manage email attachments"
102
+ },
103
+ {
104
+ name: "Event",
105
+ value: "events",
106
+ description: "Create, send, retrieve, update, or delete events for triggering workflows (private alpha)"
107
+ },
108
+ {
109
+ name: "Log",
110
+ value: "logs",
111
+ description: "List and retrieve API request logs including request bodies, response bodies, and status codes"
112
+ },
113
+ {
114
+ name: "Receiving Email",
115
+ value: "receivingEmails",
116
+ description: "List and retrieve received emails and their attachments from inbound email processing"
117
+ },
118
+ {
119
+ name: "Segment",
120
+ value: "segments",
121
+ description: "Create, update, delete, or list contact segments for grouping contacts based on criteria"
122
+ },
123
+ {
124
+ name: "Template",
125
+ value: "templates",
126
+ description: "Create, update, publish, duplicate, or delete reusable email templates with dynamic variables"
127
+ },
128
+ {
129
+ name: "Topic",
130
+ value: "topics",
131
+ description: "Create, update, delete, or list subscription topics for managing email preferences"
132
+ },
133
+ {
134
+ name: "Webhook",
135
+ value: "webhooks",
136
+ description: "Create, update, delete, or list webhooks for receiving real-time notifications about email events"
137
+ },
138
+ {
139
+ name: "Workflow",
140
+ value: "workflows",
141
+ description: "Create, update, delete, or list automated email workflows and monitor runs (private alpha)"
142
+ }
143
+ ],
144
+ default: "email"
145
+ },
146
+ ...require_nodes_Resend_actions_account_index.descriptions,
147
+ ...require_nodes_Resend_actions_email_index.descriptions,
148
+ ...require_nodes_Resend_actions_template_index.descriptions,
149
+ ...require_nodes_Resend_actions_domain_index.descriptions,
150
+ ...require_nodes_Resend_actions_broadcast_index.descriptions,
151
+ ...require_nodes_Resend_actions_segment_index.descriptions,
152
+ ...require_nodes_Resend_actions_topic_index.descriptions,
153
+ ...require_nodes_Resend_actions_contact_index.descriptions,
154
+ ...require_nodes_Resend_actions_contactProperty_index.descriptions,
155
+ ...require_nodes_Resend_actions_webhook_index.descriptions,
156
+ ...require_nodes_Resend_actions_receivingEmail_index.descriptions,
157
+ ...require_nodes_Resend_actions_workflow_index.descriptions,
158
+ ...require_nodes_Resend_actions_event_index.descriptions,
159
+ ...require_nodes_Resend_actions_log_index.descriptions
160
+ ]
161
+ };
162
+ this.methods = {
163
+ loadOptions: {
164
+ getBroadcasts: require_nodes_Resend_methods_index.getBroadcasts,
165
+ getContactProperties: require_nodes_Resend_methods_index.getContactProperties,
166
+ getContacts: require_nodes_Resend_methods_index.getContacts,
167
+ getDomains: require_nodes_Resend_methods_index.getDomains,
168
+ getEmails: require_nodes_Resend_methods_index.getEmails,
169
+ getReceivedEmails: require_nodes_Resend_methods_index.getReceivedEmails,
170
+ getSegments: require_nodes_Resend_methods_index.getSegments,
171
+ getTemplateVariables: require_nodes_Resend_methods_index.getTemplateVariables,
172
+ getTemplates: require_nodes_Resend_methods_index.getTemplates,
173
+ getTopics: require_nodes_Resend_methods_index.getTopics,
174
+ getWebhooks: require_nodes_Resend_methods_index.getWebhooks
175
+ },
176
+ listSearch: {
177
+ getBroadcasts: require_nodes_Resend_methods_index.getBroadcastsListSearch,
178
+ getContactProperties: require_nodes_Resend_methods_index.getContactPropertiesListSearch,
179
+ getContacts: require_nodes_Resend_methods_index.getContactsListSearch,
180
+ getDomains: require_nodes_Resend_methods_index.getDomainsListSearch,
181
+ getEmails: require_nodes_Resend_methods_index.getEmailsListSearch,
182
+ getReceivedEmails: require_nodes_Resend_methods_index.getReceivedEmailsListSearch,
183
+ getSegments: require_nodes_Resend_methods_index.getSegmentsListSearch,
184
+ getTemplates: require_nodes_Resend_methods_index.getTemplatesListSearch,
185
+ getTemplateVariables: require_nodes_Resend_methods_index.getTemplateVariablesListSearch,
186
+ getTopics: require_nodes_Resend_methods_index.getTopicsListSearch,
187
+ getWebhooks: require_nodes_Resend_methods_index.getWebhooksListSearch
188
+ }
189
+ };
190
+ this.webhook = async function() {
191
+ return require_nodes_Resend_utils_sendAndWait_utils.sendAndWaitWebhook.call(this);
192
+ };
193
+ this.execute = require_nodes_Resend_actions_router.router;
194
+ }
195
+ };
196
+ //#endregion
205
197
  exports.Resend = Resend;
206
- //# sourceMappingURL=Resend.node.js.map
@@ -1,14 +1,14 @@
1
1
  {
2
- "node": "n8n-nodes-resend.resend",
3
- "nodeVersion": "1.0",
4
- "codexVersion": "1.0",
5
- "categories": ["Communication"],
6
- "resources": {
7
- "primaryDocumentation": [
8
- {
9
- "url": "https://resend.com/docs"
10
- }
11
- ]
12
- },
13
- "alias": ["email", "human", "form", "wait", "hitl", "approval", "resend"]
2
+ "node": "n8n-nodes-resend.resend",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": ["Communication"],
6
+ "resources": {
7
+ "primaryDocumentation": [
8
+ {
9
+ "url": "https://resend.com/docs"
10
+ }
11
+ ]
12
+ },
13
+ "alias": ["email", "human", "form", "wait", "hitl", "approval", "resend"]
14
14
  }
@@ -1,5 +1,8 @@
1
- import { IWebhookFunctions, IWebhookResponseData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
- export declare class ResendTrigger implements INodeType {
3
- description: INodeTypeDescription;
4
- webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
1
+ import { INodeType, INodeTypeDescription, IWebhookFunctions, IWebhookResponseData } from "n8n-workflow";
2
+ //#region nodes/Resend/ResendTrigger.node.d.ts
3
+ declare class ResendTrigger implements INodeType {
4
+ description: INodeTypeDescription;
5
+ webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
5
6
  }
7
+ //#endregion
8
+ export { ResendTrigger };