n8n-nodes-resend 2.0.0 → 2.1.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 (323) hide show
  1. package/LICENSE.md +19 -19
  2. package/README.md +107 -50
  3. package/dist/credentials/ResendApi.credentials.d.ts +1 -0
  4. package/dist/credentials/ResendApi.credentials.js +1 -0
  5. package/dist/credentials/ResendApi.credentials.js.map +1 -1
  6. package/dist/credentials/resend.svg +6 -0
  7. package/dist/nodes/Resend/Resend.node.d.ts +53 -4
  8. package/dist/nodes/Resend/Resend.node.js +119 -1292
  9. package/dist/nodes/Resend/Resend.node.js.map +1 -1
  10. package/dist/nodes/Resend/Resend.node.json +17 -0
  11. package/dist/nodes/Resend/ResendTrigger.node.js +4 -1
  12. package/dist/nodes/Resend/ResendTrigger.node.js.map +1 -1
  13. package/dist/nodes/Resend/actions/apiKey/create.operation.d.ts +3 -0
  14. package/dist/nodes/Resend/actions/apiKey/create.operation.js +70 -0
  15. package/dist/nodes/Resend/actions/apiKey/create.operation.js.map +1 -0
  16. package/dist/nodes/Resend/actions/apiKey/delete.operation.d.ts +3 -0
  17. package/dist/nodes/Resend/actions/apiKey/delete.operation.js +28 -0
  18. package/dist/nodes/Resend/actions/apiKey/delete.operation.js.map +1 -0
  19. package/dist/nodes/Resend/actions/apiKey/execute.d.ts +2 -0
  20. package/dist/nodes/Resend/actions/apiKey/execute.js +52 -0
  21. package/dist/nodes/Resend/actions/apiKey/execute.js.map +1 -0
  22. package/dist/nodes/Resend/actions/apiKey/index.d.ts +7 -0
  23. package/dist/nodes/Resend/actions/apiKey/index.js +82 -0
  24. package/dist/nodes/Resend/actions/apiKey/index.js.map +1 -0
  25. package/dist/nodes/Resend/actions/apiKey/list.operation.d.ts +3 -0
  26. package/dist/nodes/Resend/actions/apiKey/list.operation.js +11 -0
  27. package/dist/nodes/Resend/actions/apiKey/list.operation.js.map +1 -0
  28. package/dist/nodes/Resend/actions/audience/create.operation.d.ts +3 -0
  29. package/dist/nodes/Resend/actions/audience/create.operation.js +30 -0
  30. package/dist/nodes/Resend/actions/audience/create.operation.js.map +1 -0
  31. package/dist/nodes/Resend/actions/audience/delete.operation.d.ts +3 -0
  32. package/dist/nodes/Resend/actions/audience/delete.operation.js +28 -0
  33. package/dist/nodes/Resend/actions/audience/delete.operation.js.map +1 -0
  34. package/dist/nodes/Resend/actions/audience/execute.d.ts +2 -0
  35. package/dist/nodes/Resend/actions/audience/execute.js +55 -0
  36. package/dist/nodes/Resend/actions/audience/execute.js.map +1 -0
  37. package/dist/nodes/Resend/actions/audience/get.operation.d.ts +3 -0
  38. package/dist/nodes/Resend/actions/audience/get.operation.js +28 -0
  39. package/dist/nodes/Resend/actions/audience/get.operation.js.map +1 -0
  40. package/dist/nodes/Resend/actions/audience/index.d.ts +8 -0
  41. package/dist/nodes/Resend/actions/audience/index.js +91 -0
  42. package/dist/nodes/Resend/actions/audience/index.js.map +1 -0
  43. package/dist/nodes/Resend/actions/audience/list.operation.d.ts +3 -0
  44. package/dist/nodes/Resend/actions/audience/list.operation.js +11 -0
  45. package/dist/nodes/Resend/actions/audience/list.operation.js.map +1 -0
  46. package/dist/nodes/Resend/actions/broadcast/create.operation.d.ts +3 -0
  47. package/dist/nodes/Resend/actions/broadcast/create.operation.js +163 -0
  48. package/dist/nodes/Resend/actions/broadcast/create.operation.js.map +1 -0
  49. package/dist/nodes/Resend/actions/broadcast/delete.operation.d.ts +3 -0
  50. package/dist/nodes/Resend/actions/broadcast/delete.operation.js +28 -0
  51. package/dist/nodes/Resend/actions/broadcast/delete.operation.js.map +1 -0
  52. package/dist/nodes/Resend/actions/broadcast/execute.d.ts +2 -0
  53. package/dist/nodes/Resend/actions/broadcast/execute.js +61 -0
  54. package/dist/nodes/Resend/actions/broadcast/execute.js.map +1 -0
  55. package/dist/nodes/Resend/actions/broadcast/get.operation.d.ts +3 -0
  56. package/dist/nodes/Resend/actions/broadcast/get.operation.js +28 -0
  57. package/dist/nodes/Resend/actions/broadcast/get.operation.js.map +1 -0
  58. package/dist/nodes/Resend/actions/broadcast/index.d.ts +11 -0
  59. package/dist/nodes/Resend/actions/broadcast/index.js +112 -0
  60. package/dist/nodes/Resend/actions/broadcast/index.js.map +1 -0
  61. package/dist/nodes/Resend/actions/broadcast/list.operation.d.ts +3 -0
  62. package/dist/nodes/Resend/actions/broadcast/list.operation.js +11 -0
  63. package/dist/nodes/Resend/actions/broadcast/list.operation.js.map +1 -0
  64. package/dist/nodes/Resend/actions/broadcast/send.operation.d.ts +3 -0
  65. package/dist/nodes/Resend/actions/broadcast/send.operation.js +56 -0
  66. package/dist/nodes/Resend/actions/broadcast/send.operation.js.map +1 -0
  67. package/dist/nodes/Resend/actions/broadcast/update.operation.d.ts +3 -0
  68. package/dist/nodes/Resend/actions/broadcast/update.operation.js +120 -0
  69. package/dist/nodes/Resend/actions/broadcast/update.operation.js.map +1 -0
  70. package/dist/nodes/Resend/actions/contact/addToSegment.operation.d.ts +3 -0
  71. package/dist/nodes/Resend/actions/contact/addToSegment.operation.js +61 -0
  72. package/dist/nodes/Resend/actions/contact/addToSegment.operation.js.map +1 -0
  73. package/dist/nodes/Resend/actions/contact/create.operation.d.ts +3 -0
  74. package/dist/nodes/Resend/actions/contact/create.operation.js +204 -0
  75. package/dist/nodes/Resend/actions/contact/create.operation.js.map +1 -0
  76. package/dist/nodes/Resend/actions/contact/delete.operation.d.ts +3 -0
  77. package/dist/nodes/Resend/actions/contact/delete.operation.js +43 -0
  78. package/dist/nodes/Resend/actions/contact/delete.operation.js.map +1 -0
  79. package/dist/nodes/Resend/actions/contact/execute.d.ts +2 -0
  80. package/dist/nodes/Resend/actions/contact/execute.js +73 -0
  81. package/dist/nodes/Resend/actions/contact/execute.js.map +1 -0
  82. package/dist/nodes/Resend/actions/contact/get.operation.d.ts +3 -0
  83. package/dist/nodes/Resend/actions/contact/get.operation.js +43 -0
  84. package/dist/nodes/Resend/actions/contact/get.operation.js.map +1 -0
  85. package/dist/nodes/Resend/actions/contact/getTopics.operation.d.ts +3 -0
  86. package/dist/nodes/Resend/actions/contact/getTopics.operation.js +85 -0
  87. package/dist/nodes/Resend/actions/contact/getTopics.operation.js.map +1 -0
  88. package/dist/nodes/Resend/actions/contact/index.d.ts +15 -0
  89. package/dist/nodes/Resend/actions/contact/index.js +148 -0
  90. package/dist/nodes/Resend/actions/contact/index.js.map +1 -0
  91. package/dist/nodes/Resend/actions/contact/list.operation.d.ts +3 -0
  92. package/dist/nodes/Resend/actions/contact/list.operation.js +28 -0
  93. package/dist/nodes/Resend/actions/contact/list.operation.js.map +1 -0
  94. package/dist/nodes/Resend/actions/contact/listSegments.operation.d.ts +3 -0
  95. package/dist/nodes/Resend/actions/contact/listSegments.operation.js +85 -0
  96. package/dist/nodes/Resend/actions/contact/listSegments.operation.js.map +1 -0
  97. package/dist/nodes/Resend/actions/contact/removeFromSegment.operation.d.ts +3 -0
  98. package/dist/nodes/Resend/actions/contact/removeFromSegment.operation.js +58 -0
  99. package/dist/nodes/Resend/actions/contact/removeFromSegment.operation.js.map +1 -0
  100. package/dist/nodes/Resend/actions/contact/update.operation.d.ts +3 -0
  101. package/dist/nodes/Resend/actions/contact/update.operation.js +169 -0
  102. package/dist/nodes/Resend/actions/contact/update.operation.js.map +1 -0
  103. package/dist/nodes/Resend/actions/contact/updateTopics.operation.d.ts +3 -0
  104. package/dist/nodes/Resend/actions/contact/updateTopics.operation.js +95 -0
  105. package/dist/nodes/Resend/actions/contact/updateTopics.operation.js.map +1 -0
  106. package/dist/nodes/Resend/actions/contactProperty/create.operation.d.ts +3 -0
  107. package/dist/nodes/Resend/actions/contactProperty/create.operation.js +66 -0
  108. package/dist/nodes/Resend/actions/contactProperty/create.operation.js.map +1 -0
  109. package/dist/nodes/Resend/actions/contactProperty/delete.operation.d.ts +3 -0
  110. package/dist/nodes/Resend/actions/contactProperty/delete.operation.js +28 -0
  111. package/dist/nodes/Resend/actions/contactProperty/delete.operation.js.map +1 -0
  112. package/dist/nodes/Resend/actions/contactProperty/execute.d.ts +2 -0
  113. package/dist/nodes/Resend/actions/contactProperty/execute.js +58 -0
  114. package/dist/nodes/Resend/actions/contactProperty/execute.js.map +1 -0
  115. package/dist/nodes/Resend/actions/contactProperty/get.operation.d.ts +3 -0
  116. package/dist/nodes/Resend/actions/contactProperty/get.operation.js +28 -0
  117. package/dist/nodes/Resend/actions/contactProperty/get.operation.js.map +1 -0
  118. package/dist/nodes/Resend/actions/contactProperty/index.d.ts +10 -0
  119. package/dist/nodes/Resend/actions/contactProperty/index.js +103 -0
  120. package/dist/nodes/Resend/actions/contactProperty/index.js.map +1 -0
  121. package/dist/nodes/Resend/actions/contactProperty/list.operation.d.ts +3 -0
  122. package/dist/nodes/Resend/actions/contactProperty/list.operation.js +11 -0
  123. package/dist/nodes/Resend/actions/contactProperty/list.operation.js.map +1 -0
  124. package/dist/nodes/Resend/actions/contactProperty/update.operation.d.ts +3 -0
  125. package/dist/nodes/Resend/actions/contactProperty/update.operation.js +52 -0
  126. package/dist/nodes/Resend/actions/contactProperty/update.operation.js.map +1 -0
  127. package/dist/nodes/Resend/actions/domain/create.operation.d.ts +3 -0
  128. package/dist/nodes/Resend/actions/domain/create.operation.js +83 -0
  129. package/dist/nodes/Resend/actions/domain/create.operation.js.map +1 -0
  130. package/dist/nodes/Resend/actions/domain/delete.operation.d.ts +3 -0
  131. package/dist/nodes/Resend/actions/domain/delete.operation.js +28 -0
  132. package/dist/nodes/Resend/actions/domain/delete.operation.js.map +1 -0
  133. package/dist/nodes/Resend/actions/domain/execute.d.ts +2 -0
  134. package/dist/nodes/Resend/actions/domain/execute.js +61 -0
  135. package/dist/nodes/Resend/actions/domain/execute.js.map +1 -0
  136. package/dist/nodes/Resend/actions/domain/get.operation.d.ts +3 -0
  137. package/dist/nodes/Resend/actions/domain/get.operation.js +28 -0
  138. package/dist/nodes/Resend/actions/domain/get.operation.js.map +1 -0
  139. package/dist/nodes/Resend/actions/domain/index.d.ts +11 -0
  140. package/dist/nodes/Resend/actions/domain/index.js +112 -0
  141. package/dist/nodes/Resend/actions/domain/index.js.map +1 -0
  142. package/dist/nodes/Resend/actions/domain/list.operation.d.ts +3 -0
  143. package/dist/nodes/Resend/actions/domain/list.operation.js +11 -0
  144. package/dist/nodes/Resend/actions/domain/list.operation.js.map +1 -0
  145. package/dist/nodes/Resend/actions/domain/update.operation.d.ts +3 -0
  146. package/dist/nodes/Resend/actions/domain/update.operation.js +79 -0
  147. package/dist/nodes/Resend/actions/domain/update.operation.js.map +1 -0
  148. package/dist/nodes/Resend/actions/domain/verify.operation.d.ts +3 -0
  149. package/dist/nodes/Resend/actions/domain/verify.operation.js +28 -0
  150. package/dist/nodes/Resend/actions/domain/verify.operation.js.map +1 -0
  151. package/dist/nodes/Resend/actions/email/cancel.operation.d.ts +3 -0
  152. package/dist/nodes/Resend/actions/email/cancel.operation.js +28 -0
  153. package/dist/nodes/Resend/actions/email/cancel.operation.js.map +1 -0
  154. package/dist/nodes/Resend/actions/email/execute.d.ts +2 -0
  155. package/dist/nodes/Resend/actions/email/execute.js +71 -0
  156. package/dist/nodes/Resend/actions/email/execute.js.map +1 -0
  157. package/dist/nodes/Resend/actions/email/getAttachment.operation.d.ts +3 -0
  158. package/dist/nodes/Resend/actions/email/getAttachment.operation.js +44 -0
  159. package/dist/nodes/Resend/actions/email/getAttachment.operation.js.map +1 -0
  160. package/dist/nodes/Resend/actions/email/index.d.ts +14 -0
  161. package/dist/nodes/Resend/actions/email/index.js +140 -0
  162. package/dist/nodes/Resend/actions/email/index.js.map +1 -0
  163. package/dist/nodes/Resend/actions/email/list.operation.d.ts +3 -0
  164. package/dist/nodes/Resend/actions/email/list.operation.js +42 -0
  165. package/dist/nodes/Resend/actions/email/list.operation.js.map +1 -0
  166. package/dist/nodes/Resend/actions/email/listAttachments.operation.d.ts +3 -0
  167. package/dist/nodes/Resend/actions/email/listAttachments.operation.js +70 -0
  168. package/dist/nodes/Resend/actions/email/listAttachments.operation.js.map +1 -0
  169. package/dist/nodes/Resend/actions/email/retrieve.operation.d.ts +3 -0
  170. package/dist/nodes/Resend/actions/email/retrieve.operation.js +28 -0
  171. package/dist/nodes/Resend/actions/email/retrieve.operation.js.map +1 -0
  172. package/dist/nodes/Resend/actions/email/send.operation.d.ts +3 -0
  173. package/dist/nodes/Resend/actions/email/send.operation.js +576 -0
  174. package/dist/nodes/Resend/actions/email/send.operation.js.map +1 -0
  175. package/dist/nodes/Resend/actions/email/sendAndWait.operation.d.ts +5 -0
  176. package/dist/nodes/Resend/actions/email/sendAndWait.operation.js +38 -0
  177. package/dist/nodes/Resend/actions/email/sendAndWait.operation.js.map +1 -0
  178. package/dist/nodes/Resend/actions/email/sendBatch.operation.d.ts +3 -0
  179. package/dist/nodes/Resend/actions/email/sendBatch.operation.js +522 -0
  180. package/dist/nodes/Resend/actions/email/sendBatch.operation.js.map +1 -0
  181. package/dist/nodes/Resend/actions/email/update.operation.d.ts +3 -0
  182. package/dist/nodes/Resend/actions/email/update.operation.js +47 -0
  183. package/dist/nodes/Resend/actions/email/update.operation.js.map +1 -0
  184. package/dist/nodes/Resend/actions/node.type.d.ts +15 -0
  185. package/dist/nodes/Resend/actions/node.type.js +3 -0
  186. package/dist/nodes/Resend/actions/node.type.js.map +1 -0
  187. package/dist/nodes/Resend/actions/receivingEmail/execute.d.ts +2 -0
  188. package/dist/nodes/Resend/actions/receivingEmail/execute.js +55 -0
  189. package/dist/nodes/Resend/actions/receivingEmail/execute.js.map +1 -0
  190. package/dist/nodes/Resend/actions/receivingEmail/get.operation.d.ts +3 -0
  191. package/dist/nodes/Resend/actions/receivingEmail/get.operation.js +28 -0
  192. package/dist/nodes/Resend/actions/receivingEmail/get.operation.js.map +1 -0
  193. package/dist/nodes/Resend/actions/receivingEmail/getAttachment.operation.d.ts +3 -0
  194. package/dist/nodes/Resend/actions/receivingEmail/getAttachment.operation.js +44 -0
  195. package/dist/nodes/Resend/actions/receivingEmail/getAttachment.operation.js.map +1 -0
  196. package/dist/nodes/Resend/actions/receivingEmail/index.d.ts +8 -0
  197. package/dist/nodes/Resend/actions/receivingEmail/index.js +91 -0
  198. package/dist/nodes/Resend/actions/receivingEmail/index.js.map +1 -0
  199. package/dist/nodes/Resend/actions/receivingEmail/list.operation.d.ts +3 -0
  200. package/dist/nodes/Resend/actions/receivingEmail/list.operation.js +11 -0
  201. package/dist/nodes/Resend/actions/receivingEmail/list.operation.js.map +1 -0
  202. package/dist/nodes/Resend/actions/receivingEmail/listAttachments.operation.d.ts +3 -0
  203. package/dist/nodes/Resend/actions/receivingEmail/listAttachments.operation.js +70 -0
  204. package/dist/nodes/Resend/actions/receivingEmail/listAttachments.operation.js.map +1 -0
  205. package/dist/nodes/Resend/actions/router.d.ts +2 -0
  206. package/dist/nodes/Resend/actions/router.js +110 -0
  207. package/dist/nodes/Resend/actions/router.js.map +1 -0
  208. package/dist/nodes/Resend/actions/segment/create.operation.d.ts +3 -0
  209. package/dist/nodes/Resend/actions/segment/create.operation.js +70 -0
  210. package/dist/nodes/Resend/actions/segment/create.operation.js.map +1 -0
  211. package/dist/nodes/Resend/actions/segment/delete.operation.d.ts +3 -0
  212. package/dist/nodes/Resend/actions/segment/delete.operation.js +28 -0
  213. package/dist/nodes/Resend/actions/segment/delete.operation.js.map +1 -0
  214. package/dist/nodes/Resend/actions/segment/execute.d.ts +2 -0
  215. package/dist/nodes/Resend/actions/segment/execute.js +55 -0
  216. package/dist/nodes/Resend/actions/segment/execute.js.map +1 -0
  217. package/dist/nodes/Resend/actions/segment/get.operation.d.ts +3 -0
  218. package/dist/nodes/Resend/actions/segment/get.operation.js +28 -0
  219. package/dist/nodes/Resend/actions/segment/get.operation.js.map +1 -0
  220. package/dist/nodes/Resend/actions/segment/index.d.ts +8 -0
  221. package/dist/nodes/Resend/actions/segment/index.js +91 -0
  222. package/dist/nodes/Resend/actions/segment/index.js.map +1 -0
  223. package/dist/nodes/Resend/actions/segment/list.operation.d.ts +3 -0
  224. package/dist/nodes/Resend/actions/segment/list.operation.js +11 -0
  225. package/dist/nodes/Resend/actions/segment/list.operation.js.map +1 -0
  226. package/dist/nodes/Resend/actions/template/create.operation.d.ts +3 -0
  227. package/dist/nodes/Resend/actions/template/create.operation.js +149 -0
  228. package/dist/nodes/Resend/actions/template/create.operation.js.map +1 -0
  229. package/dist/nodes/Resend/actions/template/delete.operation.d.ts +3 -0
  230. package/dist/nodes/Resend/actions/template/delete.operation.js +28 -0
  231. package/dist/nodes/Resend/actions/template/delete.operation.js.map +1 -0
  232. package/dist/nodes/Resend/actions/template/duplicate.operation.d.ts +3 -0
  233. package/dist/nodes/Resend/actions/template/duplicate.operation.js +28 -0
  234. package/dist/nodes/Resend/actions/template/duplicate.operation.js.map +1 -0
  235. package/dist/nodes/Resend/actions/template/execute.d.ts +2 -0
  236. package/dist/nodes/Resend/actions/template/execute.js +64 -0
  237. package/dist/nodes/Resend/actions/template/execute.js.map +1 -0
  238. package/dist/nodes/Resend/actions/template/get.operation.d.ts +3 -0
  239. package/dist/nodes/Resend/actions/template/get.operation.js +28 -0
  240. package/dist/nodes/Resend/actions/template/get.operation.js.map +1 -0
  241. package/dist/nodes/Resend/actions/template/index.d.ts +12 -0
  242. package/dist/nodes/Resend/actions/template/index.js +121 -0
  243. package/dist/nodes/Resend/actions/template/index.js.map +1 -0
  244. package/dist/nodes/Resend/actions/template/list.operation.d.ts +3 -0
  245. package/dist/nodes/Resend/actions/template/list.operation.js +11 -0
  246. package/dist/nodes/Resend/actions/template/list.operation.js.map +1 -0
  247. package/dist/nodes/Resend/actions/template/publish.operation.d.ts +3 -0
  248. package/dist/nodes/Resend/actions/template/publish.operation.js +28 -0
  249. package/dist/nodes/Resend/actions/template/publish.operation.js.map +1 -0
  250. package/dist/nodes/Resend/actions/template/update.operation.d.ts +3 -0
  251. package/dist/nodes/Resend/actions/template/update.operation.js +165 -0
  252. package/dist/nodes/Resend/actions/template/update.operation.js.map +1 -0
  253. package/dist/nodes/Resend/actions/topic/create.operation.d.ts +3 -0
  254. package/dist/nodes/Resend/actions/topic/create.operation.js +91 -0
  255. package/dist/nodes/Resend/actions/topic/create.operation.js.map +1 -0
  256. package/dist/nodes/Resend/actions/topic/delete.operation.d.ts +3 -0
  257. package/dist/nodes/Resend/actions/topic/delete.operation.js +28 -0
  258. package/dist/nodes/Resend/actions/topic/delete.operation.js.map +1 -0
  259. package/dist/nodes/Resend/actions/topic/execute.d.ts +2 -0
  260. package/dist/nodes/Resend/actions/topic/execute.js +58 -0
  261. package/dist/nodes/Resend/actions/topic/execute.js.map +1 -0
  262. package/dist/nodes/Resend/actions/topic/get.operation.d.ts +3 -0
  263. package/dist/nodes/Resend/actions/topic/get.operation.js +28 -0
  264. package/dist/nodes/Resend/actions/topic/get.operation.js.map +1 -0
  265. package/dist/nodes/Resend/actions/topic/index.d.ts +10 -0
  266. package/dist/nodes/Resend/actions/topic/index.js +103 -0
  267. package/dist/nodes/Resend/actions/topic/index.js.map +1 -0
  268. package/dist/nodes/Resend/actions/topic/list.operation.d.ts +3 -0
  269. package/dist/nodes/Resend/actions/topic/list.operation.js +11 -0
  270. package/dist/nodes/Resend/actions/topic/list.operation.js.map +1 -0
  271. package/dist/nodes/Resend/actions/topic/update.operation.d.ts +3 -0
  272. package/dist/nodes/Resend/actions/topic/update.operation.js +79 -0
  273. package/dist/nodes/Resend/actions/topic/update.operation.js.map +1 -0
  274. package/dist/nodes/Resend/actions/webhook/create.operation.d.ts +3 -0
  275. package/dist/nodes/Resend/actions/webhook/create.operation.js +50 -0
  276. package/dist/nodes/Resend/actions/webhook/create.operation.js.map +1 -0
  277. package/dist/nodes/Resend/actions/webhook/delete.operation.d.ts +3 -0
  278. package/dist/nodes/Resend/actions/webhook/delete.operation.js +28 -0
  279. package/dist/nodes/Resend/actions/webhook/delete.operation.js.map +1 -0
  280. package/dist/nodes/Resend/actions/webhook/execute.d.ts +2 -0
  281. package/dist/nodes/Resend/actions/webhook/execute.js +58 -0
  282. package/dist/nodes/Resend/actions/webhook/execute.js.map +1 -0
  283. package/dist/nodes/Resend/actions/webhook/get.operation.d.ts +3 -0
  284. package/dist/nodes/Resend/actions/webhook/get.operation.js +28 -0
  285. package/dist/nodes/Resend/actions/webhook/get.operation.js.map +1 -0
  286. package/dist/nodes/Resend/actions/webhook/index.d.ts +11 -0
  287. package/dist/nodes/Resend/actions/webhook/index.js +118 -0
  288. package/dist/nodes/Resend/actions/webhook/index.js.map +1 -0
  289. package/dist/nodes/Resend/actions/webhook/list.operation.d.ts +3 -0
  290. package/dist/nodes/Resend/actions/webhook/list.operation.js +11 -0
  291. package/dist/nodes/Resend/actions/webhook/list.operation.js.map +1 -0
  292. package/dist/nodes/Resend/actions/webhook/update.operation.d.ts +3 -0
  293. package/dist/nodes/Resend/actions/webhook/update.operation.js +75 -0
  294. package/dist/nodes/Resend/actions/webhook/update.operation.js.map +1 -0
  295. package/dist/nodes/Resend/methods/index.d.ts +26 -0
  296. package/dist/nodes/Resend/methods/index.js +365 -0
  297. package/dist/nodes/Resend/methods/index.js.map +1 -0
  298. package/dist/nodes/Resend/resend-icon-black.svg +3 -3
  299. package/dist/nodes/Resend/resend-icon-white.svg +3 -3
  300. package/dist/nodes/Resend/transport/index.d.ts +20 -0
  301. package/dist/nodes/Resend/transport/index.js +143 -0
  302. package/dist/nodes/Resend/transport/index.js.map +1 -0
  303. package/dist/nodes/Resend/utils/dynamicFields.d.ts +40 -0
  304. package/dist/nodes/Resend/utils/dynamicFields.js +69 -0
  305. package/dist/nodes/Resend/utils/dynamicFields.js.map +1 -0
  306. package/dist/nodes/Resend/utils/sendAndWait/descriptions.d.ts +4 -0
  307. package/dist/nodes/Resend/utils/sendAndWait/descriptions.js +113 -0
  308. package/dist/nodes/Resend/utils/sendAndWait/descriptions.js.map +1 -0
  309. package/dist/nodes/Resend/utils/sendAndWait/email-templates.d.ts +5 -0
  310. package/dist/nodes/Resend/utils/sendAndWait/email-templates.js +206 -0
  311. package/dist/nodes/Resend/utils/sendAndWait/email-templates.js.map +1 -0
  312. package/dist/nodes/Resend/utils/sendAndWait/index.d.ts +4 -0
  313. package/dist/nodes/Resend/utils/sendAndWait/index.js +22 -0
  314. package/dist/nodes/Resend/utils/sendAndWait/index.js.map +1 -0
  315. package/dist/nodes/Resend/utils/sendAndWait/interfaces.d.ts +31 -0
  316. package/dist/nodes/Resend/utils/sendAndWait/interfaces.js +3 -0
  317. package/dist/nodes/Resend/utils/sendAndWait/interfaces.js.map +1 -0
  318. package/dist/nodes/Resend/utils/sendAndWait/utils.d.ts +39 -0
  319. package/dist/nodes/Resend/utils/sendAndWait/utils.js +590 -0
  320. package/dist/nodes/Resend/utils/sendAndWait/utils.js.map +1 -0
  321. package/dist/package.json +15 -11
  322. package/dist/tsconfig.tsbuildinfo +1 -1
  323. package/package.json +15 -11
package/LICENSE.md CHANGED
@@ -1,19 +1,19 @@
1
- Copyright 2022 n8n
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of
4
- this software and associated documentation files (the "Software"), to deal in
5
- the Software without restriction, including without limitation the rights to
6
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
- of the Software, and to permit persons to whom the Software is furnished to do
8
- so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in all
11
- copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
- SOFTWARE.
1
+ Copyright 2022 n8n
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
package/README.md CHANGED
@@ -1,17 +1,21 @@
1
1
  <h1 align="center">
2
2
  <br>
3
- <a href="/"><img src=".github/media/resend.png" alt="n8n-nodes-resend" width="900"></a>
3
+ <a href="/"><img src=".github/media/resend-header.png" alt="n8n-nodes-resend" width="900"></a>
4
4
  <br>
5
5
  </h1>
6
6
 
7
7
  <p align="center">
8
- <a href="https://badge.fury.io/js/n8n-nodes-resend"><img src="https://badge.fury.io/js/n8n-nodes-resend.svg" alt="npm version"></a>
9
- <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
8
+ <img alt="NPM Version" src="https://img.shields.io/npm/v/n8n-nodes-resend">
9
+ <img alt="GitHub License" src="https://img.shields.io/github/license/SilkePilon/n8n-nodes-resend">
10
+ <img alt="NPM Downloads" src="https://img.shields.io/npm/dm/n8n-nodes-resend">
11
+ <img alt="NPM Last Update" src="https://img.shields.io/npm/last-update/n8n-nodes-resend">
12
+ <img alt="n8n community node" src="https://img.shields.io/badge/n8n-community_node-blue?logo=n8n">
10
13
  </p>
11
14
 
12
15
  <p align="center">
13
16
  <a href="#installation">Installation</a> |
14
17
  <a href="#credentials">Credentials</a> |
18
+ <a href="#human-in-the-loop">Human in the Loop</a> |
15
19
  <a href="#resources">Resources</a> |
16
20
  <a href="#trigger-events">Trigger Events</a> |
17
21
  <a href="#development">Development</a>
@@ -25,23 +29,20 @@ A community node for [n8n](https://n8n.io) that integrates with the [Resend](htt
25
29
 
26
30
  Comprehensive coverage of the Resend API (v1.1.0). The table below shows which endpoints are currently implemented:
27
31
 
28
- | API Resource | Endpoint | Status | Operations |
29
- | ---------------------------- | ------------------------------------------ | --------------- | --------------------------------------------------------------- |
30
- | **Email** | `/emails` | ✅ Full | Send, Send Batch, List, Get, Update, Cancel |
31
- | **Email Attachments** | `/emails/{id}/attachments` | Missing | List attachments, Get attachment |
32
- | **Receiving Emails** | `/emails/receiving` | Missing | List received, Get received, Get attachments |
33
- | **Domains** | `/domains` | ✅ Full | Create, List, Get, Update, Delete, Verify |
34
- | **API Keys** | `/api-keys` | ✅ Full | Create, List, Delete |
35
- | **Templates** | `/templates` | ⚠️ Partial | Create, List, Get, Update, Delete (Missing: Publish, Duplicate) |
36
- | **Audiences** | `/audiences` | ⚠️ Deprecated | Replaced by Segments in v2.0.0 |
37
- | **Contacts** | `/audiences/{id}/contacts` | ✅ Full | Create, List, Get, Update, Delete |
38
- | **Contact Segments** | `/audiences/{id}/contacts/{id}/segments` | Missing | Add to segment, List segments, Remove from segment |
39
- | **Contact Topics** | `/audiences/{id}/contacts/{id}/topics` | Missing | Get topics, Update topics |
40
- | **Broadcasts** | `/broadcasts` | ✅ Full | Create, List, Get, Update, Delete, Send |
41
- | **Segments** | `/segments` | ⚠️ Partial | Create, List, Get, Delete (Missing: Update, Filter conditions) |
42
- | **Topics** | `/topics` | ✅ Full | Create, List, Get, Update, Delete |
43
- | **Contact Properties** | `/contact-properties` | ✅ Full | Create, List, Get, Update, Delete |
44
- | **Webhooks** | `/webhooks` | ✅ Full | Create, List, Get, Update, Delete |
32
+ | API Resource | Endpoint | Status | Operations |
33
+ | ---------------------- | -------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------- |
34
+ | **Email** | `/emails` | ✅ Full | Send, Send Batch, Send and Wait, List, Get, Update, Cancel, List Attachments, Get Attachment |
35
+ | **Receiving Emails** | `/emails/receiving` | Full | List, Get, List Attachments, Get Attachment |
36
+ | **Domains** | `/domains` | Full | Create, List, Get, Update, Delete, Verify |
37
+ | **API Keys** | `/api-keys` | ✅ Full | Create, List, Delete |
38
+ | **Templates** | `/templates` | ✅ Full | Create, List, Get, Update, Delete, Publish, Duplicate |
39
+ | **Audiences** | `/audiences` | Full | Create, List, Get, Delete |
40
+ | **Contacts** | `/audiences/{id}/contacts` | Full | Create, List, Get, Update, Delete, Add to Segment, List Segments, Remove from Segment, Get Topics, Update Topics |
41
+ | **Broadcasts** | `/broadcasts` | ✅ Full | Create, List, Get, Update, Delete, Send |
42
+ | **Segments** | `/segments` | Full | Create, List, Get, Delete |
43
+ | **Topics** | `/topics` | Full | Create, List, Get, Update, Delete |
44
+ | **Contact Properties** | `/contact-properties` | ✅ Full | Create, List, Get, Update, Delete |
45
+ | **Webhooks** | `/webhooks` | Full | Create, List, Get, Update, Delete |
45
46
 
46
47
  ## Installation
47
48
 
@@ -74,28 +75,82 @@ docker run -it --rm \
74
75
  2. In n8n, go to **Credentials** > **Add credential**
75
76
  3. Search for **Resend API** and paste your key
76
77
 
78
+ ## Human in the Loop
79
+
80
+ The **Send and Wait for Response** operation enables human-in-the-loop workflows. Send an email and pause the workflow until the recipient responds via approval buttons or a form.
81
+
82
+ ### Features
83
+
84
+ - **Approval Workflows**: Send emails with Approve/Decline buttons for quick decisions
85
+ - **Free Text Responses**: Collect text input via a response form
86
+ - **Configurable Wait Time**: Set a timeout or wait indefinitely
87
+ - **Secure Callbacks**: Responses use signed URLs for security
88
+
89
+ ### How to Use
90
+
91
+ 1. In the node panel, go to **Human in the Loop** > **Resend**
92
+ 2. Or select **Email** resource > **Send and Wait for Response** operation
93
+
94
+ ### Configuration Options
95
+
96
+ | Option | Description |
97
+ | ------------------------ | -------------------------------------------------------- |
98
+ | **Response Type** | Choose between Approval (buttons) or Free Text (form) |
99
+ | **Approval Type** | Single button (Approve only) or Double (Approve/Decline) |
100
+ | **Button Labels** | Customize the button text |
101
+ | **Button Styles** | Primary or Secondary styling |
102
+ | **Message Button Label** | Label for the form link button (Free Text mode) |
103
+ | **Response Form Title** | Title shown on the response form |
104
+ | **Limit Wait Time** | Set a timeout for the wait period |
105
+
77
106
  ## Resources
78
107
 
79
108
  ### Email
80
109
 
81
- | Operation | Description |
82
- | ---------- | --------------------------------------------- |
83
- | Send | Send a single email with optional attachments |
84
- | Send Batch | Send up to 100 emails in one request |
85
- | List | List sent emails |
86
- | Get | Retrieve email details and status |
87
- | Cancel | Cancel a scheduled email |
88
- | Update | Modify a scheduled email |
110
+ | Operation | Description |
111
+ | ---------------- | ------------------------------------------------- |
112
+ | Send | Send a single email with optional attachments |
113
+ | Send Batch | Send up to 100 emails in one request |
114
+ | Send and Wait | Send email and wait for recipient response (HITL) |
115
+ | List | List sent emails |
116
+ | Get | Retrieve email details and status |
117
+ | Cancel | Cancel a scheduled email |
118
+ | Update | Modify a scheduled email |
119
+ | List Attachments | List attachments for a sent email |
120
+ | Get Attachment | Get a specific attachment from a sent email |
121
+
122
+ ### Receiving Email
123
+
124
+ | Operation | Description |
125
+ | ---------------- | ----------------------------------------------- |
126
+ | List | List all received emails |
127
+ | Get | Retrieve a received email |
128
+ | List Attachments | List attachments for a received email |
129
+ | Get Attachment | Get a specific attachment from a received email |
130
+
131
+ ### Audience
132
+
133
+ | Operation | Description |
134
+ | --------- | ------------------------- |
135
+ | Create | Create a new audience |
136
+ | Get | Retrieve audience details |
137
+ | Delete | Delete an audience |
138
+ | List | List all audiences |
89
139
 
90
140
  ### Contact
91
141
 
92
- | Operation | Description |
93
- | --------- | -------------------------- |
94
- | Create | Add a new contact |
95
- | Get | Retrieve contact details |
96
- | Update | Modify contact information |
97
- | Delete | Remove a contact |
98
- | List | List all contacts |
142
+ | Operation | Description |
143
+ | ------------------- | ---------------------------------------- |
144
+ | Create | Add a new contact |
145
+ | Get | Retrieve contact details |
146
+ | Update | Modify contact information |
147
+ | Delete | Remove a contact |
148
+ | List | List all contacts |
149
+ | Add to Segment | Add a contact to a segment |
150
+ | List Segments | List segments for a contact |
151
+ | Remove From Segment | Remove a contact from a segment |
152
+ | Get Topics | Get topic subscriptions for a contact |
153
+ | Update Topics | Update topic subscriptions for a contact |
99
154
 
100
155
  ### Contact Property
101
156
 
@@ -109,12 +164,12 @@ docker run -it --rm \
109
164
 
110
165
  ### Segment
111
166
 
112
- | Operation | Description |
113
- | --------- | ------------------------ |
114
- | Create | Create a new segment |
115
- | Get | Retrieve segment details |
116
- | Delete | Remove a segment |
117
- | List | List all segments |
167
+ | Operation | Description |
168
+ | --------- | ---------------------------------------------------- |
169
+ | Create | Create a new segment with optional filter conditions |
170
+ | Get | Retrieve segment details |
171
+ | Delete | Remove a segment |
172
+ | List | List all segments |
118
173
 
119
174
  ### Topic
120
175
 
@@ -139,13 +194,15 @@ docker run -it --rm \
139
194
 
140
195
  ### Template
141
196
 
142
- | Operation | Description |
143
- | --------- | ------------------------- |
144
- | Create | Create an email template |
145
- | Get | Retrieve template details |
146
- | Update | Modify a template |
147
- | Delete | Remove a template |
148
- | List | List all templates |
197
+ | Operation | Description |
198
+ | --------- | ------------------------------ |
199
+ | Create | Create an email template |
200
+ | Get | Retrieve template details |
201
+ | Update | Modify a template |
202
+ | Delete | Remove a template |
203
+ | List | List all templates |
204
+ | Publish | Publish a template |
205
+ | Duplicate | Duplicate an existing template |
149
206
 
150
207
  ### Domain
151
208
 
@@ -180,8 +237,8 @@ docker run -it --rm \
180
237
 
181
238
  The **Resend Trigger** node receives webhooks for real-time email events. Signatures are automatically verified using Svix.
182
239
 
183
- | Event | Description |
184
- | -------------------------- | ---------------------------- |
240
+ | Event | Description |
241
+ | ------------------------ | ---------------------------- |
185
242
  | `email.sent` | Email sent to recipient |
186
243
  | `email.delivered` | Email delivered successfully |
187
244
  | `email.delivery_delayed` | Email delivery delayed |
@@ -3,6 +3,7 @@ export declare class ResendApi implements ICredentialType {
3
3
  name: string;
4
4
  displayName: string;
5
5
  documentationUrl: string;
6
+ icon: "file:resend.svg";
6
7
  properties: INodeProperties[];
7
8
  authenticate: IAuthenticateGeneric;
8
9
  test: ICredentialTestRequest;
@@ -6,6 +6,7 @@ class ResendApi {
6
6
  this.name = 'resendApi';
7
7
  this.displayName = 'Resend API';
8
8
  this.documentationUrl = 'https://resend.com/docs/api-reference/introduction';
9
+ this.icon = 'file:resend.svg';
9
10
  this.properties = [
10
11
  {
11
12
  displayName: 'API Key',
@@ -1 +1 @@
1
- {"version":3,"file":"ResendApi.credentials.js","sourceRoot":"","sources":["../../credentials/ResendApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QACnB,gBAAW,GAAG,YAAY,CAAC;QAC3B,qBAAgB,GAAG,oDAAoD,CAAC;QACxE,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;aACd;SACD,CAAC;QACF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,sCAAsC;iBACrD;aACD;SACD,CAAC;QACF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,wBAAwB;gBACjC,GAAG,EAAE,WAAW;gBAChB,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AA7BD,8BA6BC"}
1
+ {"version":3,"file":"ResendApi.credentials.js","sourceRoot":"","sources":["../../credentials/ResendApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QACnB,gBAAW,GAAG,YAAY,CAAC;QAC3B,qBAAgB,GAAG,oDAAoD,CAAC;QACxE,SAAI,GAAG,iBAA0B,CAAC;QAClC,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;aACd;SACD,CAAC;QACF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,sCAAsC;iBACrD;aACD;SACD,CAAC;QACF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,wBAAwB;gBACjC,GAAG,EAAE,WAAW;gBAChB,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AA9BD,8BA8BC"}
@@ -0,0 +1,6 @@
1
+ <svg width="60" height="60" viewBox="350 350 1100 1100" fill="none"
2
+ xmlns="http://www.w3.org/2000/svg">
3
+ <path
4
+ d="M1000.46 450C1174.77 450 1278.43 553.669 1278.43 691.282C1278.43 828.896 1174.77 932.563 1000.46 932.563H912.382L1350 1350H1040.82L707.794 1033.48C683.944 1011.47 672.936 985.781 672.935 963.765C672.935 932.572 694.959 905.049 737.161 893.122L908.712 847.244C973.85 829.812 1018.81 779.353 1018.81 713.298C1018.8 632.567 952.745 585.78 871.095 585.78H450V450H1000.46Z"
5
+ fill="currentColor" />
6
+ </svg>
@@ -1,14 +1,63 @@
1
- import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
- import { getSegments, getTemplateVariables, getTemplates, getTopics } from './GenericFunctions';
1
+ import type { INodeType, INodeTypeDescription, IWebhookFunctions } from 'n8n-workflow';
2
+ import { router } from './actions/router';
3
+ import { getApiKeys, getAudiences, getBroadcasts, getContactProperties, getContacts, getDomains, getEmails, getReceivedEmails, getSegments, getTemplateVariables, getTemplates, getTopics, getWebhooks, getApiKeysListSearch, getAudiencesListSearch, getBroadcastsListSearch, getContactPropertiesListSearch, getContactsListSearch, getDomainsListSearch, getEmailsListSearch, getReceivedEmailsListSearch, getSegmentsListSearch, getTemplatesListSearch, getTopicsListSearch, getWebhooksListSearch } from './methods';
3
4
  export declare class Resend implements INodeType {
4
5
  description: INodeTypeDescription;
5
6
  methods: {
6
7
  loadOptions: {
8
+ getApiKeys: typeof getApiKeys;
9
+ getAudiences: typeof getAudiences;
10
+ getBroadcasts: typeof getBroadcasts;
11
+ getContactProperties: typeof getContactProperties;
12
+ getContacts: typeof getContacts;
13
+ getDomains: typeof getDomains;
14
+ getEmails: typeof getEmails;
15
+ getReceivedEmails: typeof getReceivedEmails;
16
+ getSegments: typeof getSegments;
7
17
  getTemplateVariables: typeof getTemplateVariables;
8
18
  getTemplates: typeof getTemplates;
9
- getSegments: typeof getSegments;
10
19
  getTopics: typeof getTopics;
20
+ getWebhooks: typeof getWebhooks;
21
+ };
22
+ listSearch: {
23
+ getApiKeys: typeof getApiKeysListSearch;
24
+ getAudiences: typeof getAudiencesListSearch;
25
+ getBroadcasts: typeof getBroadcastsListSearch;
26
+ getContactProperties: typeof getContactPropertiesListSearch;
27
+ getContacts: typeof getContactsListSearch;
28
+ getDomains: typeof getDomainsListSearch;
29
+ getEmails: typeof getEmailsListSearch;
30
+ getReceivedEmails: typeof getReceivedEmailsListSearch;
31
+ getSegments: typeof getSegmentsListSearch;
32
+ getTemplates: typeof getTemplatesListSearch;
33
+ getTopics: typeof getTopicsListSearch;
34
+ getWebhooks: typeof getWebhooksListSearch;
11
35
  };
12
36
  };
13
- execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
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;
47
+ };
48
+ };
49
+ }[][];
50
+ noWebhookResponse?: undefined;
51
+ } | {
52
+ webhookResponse: undefined;
53
+ workflowData: {
54
+ json: {
55
+ data: {
56
+ approved: boolean;
57
+ };
58
+ };
59
+ }[][];
60
+ noWebhookResponse?: undefined;
61
+ }>;
62
+ execute: typeof router;
14
63
  }