n8n-nodes-resend 2.5.0 → 2.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -184
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/credentials/ResendApi.credentials.d.ts +13 -9
- package/dist/credentials/ResendApi.credentials.js +28 -37
- package/dist/credentials/ResendWebhookSigningSecretApi.credentials.d.ts +11 -7
- package/dist/credentials/ResendWebhookSigningSecretApi.credentials.js +20 -23
- package/dist/nodes/Resend/Resend.node.d.ts +62 -57
- package/dist/nodes/Resend/Resend.node.js +169 -205
- package/dist/nodes/Resend/Resend.node.json +12 -12
- package/dist/nodes/Resend/ResendTrigger.node.d.ts +8 -4
- package/dist/nodes/Resend/ResendTrigger.node.js +180 -174
- package/dist/nodes/Resend/actions/broadcast/create.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/broadcast/create.operation.js +146 -159
- package/dist/nodes/Resend/actions/broadcast/delete.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/broadcast/delete.operation.js +35 -26
- package/dist/nodes/Resend/actions/broadcast/execute.d.ts +6 -1
- package/dist/nodes/Resend/actions/broadcast/execute.js +18 -51
- package/dist/nodes/Resend/actions/broadcast/get.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/broadcast/get.operation.js +35 -26
- package/dist/nodes/Resend/actions/broadcast/index.d.ts +14 -11
- package/dist/nodes/Resend/actions/broadcast/index.js +120 -110
- package/dist/nodes/Resend/actions/broadcast/list.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/broadcast/list.operation.js +20 -9
- package/dist/nodes/Resend/actions/broadcast/send.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/broadcast/send.operation.js +56 -54
- package/dist/nodes/Resend/actions/broadcast/update.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/broadcast/update.operation.js +123 -133
- package/dist/nodes/Resend/actions/contact/addToSegment.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contact/addToSegment.operation.js +47 -41
- package/dist/nodes/Resend/actions/contact/create.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contact/create.operation.js +167 -192
- package/dist/nodes/Resend/actions/contact/delete.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contact/delete.operation.js +35 -26
- package/dist/nodes/Resend/actions/contact/execute.d.ts +6 -1
- package/dist/nodes/Resend/actions/contact/execute.js +26 -59
- package/dist/nodes/Resend/actions/contact/get.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contact/get.operation.js +35 -26
- package/dist/nodes/Resend/actions/contact/getTopics.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contact/getTopics.operation.js +67 -67
- package/dist/nodes/Resend/actions/contact/index.d.ts +18 -15
- package/dist/nodes/Resend/actions/contact/index.js +180 -146
- package/dist/nodes/Resend/actions/contact/list.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contact/list.operation.js +60 -59
- package/dist/nodes/Resend/actions/contact/listSegments.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contact/listSegments.operation.js +67 -67
- package/dist/nodes/Resend/actions/contact/removeFromSegment.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contact/removeFromSegment.operation.js +47 -41
- package/dist/nodes/Resend/actions/contact/update.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contact/update.operation.js +140 -151
- package/dist/nodes/Resend/actions/contact/updateTopics.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contact/updateTopics.operation.js +80 -89
- package/dist/nodes/Resend/actions/contactProperty/create.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contactProperty/create.operation.js +74 -63
- package/dist/nodes/Resend/actions/contactProperty/delete.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contactProperty/delete.operation.js +35 -26
- package/dist/nodes/Resend/actions/contactProperty/execute.d.ts +6 -1
- package/dist/nodes/Resend/actions/contactProperty/execute.js +16 -49
- package/dist/nodes/Resend/actions/contactProperty/get.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contactProperty/get.operation.js +35 -26
- package/dist/nodes/Resend/actions/contactProperty/index.d.ts +13 -10
- package/dist/nodes/Resend/actions/contactProperty/index.js +105 -101
- package/dist/nodes/Resend/actions/contactProperty/list.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contactProperty/list.operation.js +20 -9
- package/dist/nodes/Resend/actions/contactProperty/update.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/contactProperty/update.operation.js +56 -53
- package/dist/nodes/Resend/actions/domain/create.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/domain/create.operation.js +173 -159
- package/dist/nodes/Resend/actions/domain/createTrackingDomain.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/domain/createTrackingDomain.operation.js +60 -54
- package/dist/nodes/Resend/actions/domain/delete.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/domain/delete.operation.js +35 -26
- package/dist/nodes/Resend/actions/domain/deleteTrackingDomain.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/domain/deleteTrackingDomain.operation.js +60 -53
- package/dist/nodes/Resend/actions/domain/execute.d.ts +6 -1
- package/dist/nodes/Resend/actions/domain/execute.js +28 -61
- package/dist/nodes/Resend/actions/domain/get.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/domain/get.operation.js +35 -26
- package/dist/nodes/Resend/actions/domain/getTrackingDomain.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/domain/getTrackingDomain.operation.js +60 -53
- package/dist/nodes/Resend/actions/domain/index.d.ts +19 -16
- package/dist/nodes/Resend/actions/domain/index.js +195 -155
- package/dist/nodes/Resend/actions/domain/list.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/domain/list.operation.js +20 -9
- package/dist/nodes/Resend/actions/domain/listTrackingDomains.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/domain/listTrackingDomains.operation.js +50 -46
- package/dist/nodes/Resend/actions/domain/update.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/domain/update.operation.js +80 -77
- package/dist/nodes/Resend/actions/domain/verify.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/domain/verify.operation.js +35 -26
- package/dist/nodes/Resend/actions/domain/verifyTrackingDomain.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/domain/verifyTrackingDomain.operation.js +60 -53
- package/dist/nodes/Resend/actions/email/cancel.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/email/cancel.operation.js +35 -26
- package/dist/nodes/Resend/actions/email/execute.d.ts +6 -1
- package/dist/nodes/Resend/actions/email/execute.js +25 -58
- package/dist/nodes/Resend/actions/email/getAttachment.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/email/getAttachment.operation.js +48 -42
- package/dist/nodes/Resend/actions/email/index.d.ts +17 -14
- package/dist/nodes/Resend/actions/email/index.js +166 -138
- package/dist/nodes/Resend/actions/email/list.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/email/list.operation.js +42 -40
- package/dist/nodes/Resend/actions/email/listAttachments.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/email/listAttachments.operation.js +67 -67
- package/dist/nodes/Resend/actions/email/retrieve.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/email/retrieve.operation.js +35 -26
- package/dist/nodes/Resend/actions/email/send.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/email/send.operation.js +494 -602
- package/dist/nodes/Resend/actions/email/sendAndWait.operation.d.ts +10 -5
- package/dist/nodes/Resend/actions/email/sendAndWait.operation.js +45 -35
- package/dist/nodes/Resend/actions/email/sendBatch.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/email/sendBatch.operation.js +347 -402
- package/dist/nodes/Resend/actions/email/update.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/email/update.operation.js +49 -45
- package/dist/nodes/Resend/actions/event/create.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/event/create.operation.js +60 -57
- package/dist/nodes/Resend/actions/event/delete.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/event/delete.operation.js +44 -39
- package/dist/nodes/Resend/actions/event/execute.d.ts +6 -1
- package/dist/nodes/Resend/actions/event/execute.js +18 -51
- package/dist/nodes/Resend/actions/event/get.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/event/get.operation.js +44 -39
- package/dist/nodes/Resend/actions/event/index.d.ts +14 -11
- package/dist/nodes/Resend/actions/event/index.js +120 -110
- package/dist/nodes/Resend/actions/event/list.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/event/list.operation.js +29 -23
- package/dist/nodes/Resend/actions/event/send.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/event/send.operation.js +110 -114
- package/dist/nodes/Resend/actions/event/update.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/event/update.operation.js +63 -62
- package/dist/nodes/Resend/actions/log/execute.d.ts +6 -1
- package/dist/nodes/Resend/actions/log/execute.js +8 -41
- package/dist/nodes/Resend/actions/log/index.d.ts +10 -7
- package/dist/nodes/Resend/actions/log/index.js +57 -74
- package/dist/nodes/Resend/actions/log/list.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/log/list.operation.js +42 -40
- package/dist/nodes/Resend/actions/log/retrieve.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/log/retrieve.operation.js +35 -26
- package/dist/nodes/Resend/actions/receivingEmail/execute.d.ts +6 -1
- package/dist/nodes/Resend/actions/receivingEmail/execute.js +14 -47
- package/dist/nodes/Resend/actions/receivingEmail/get.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/receivingEmail/get.operation.js +35 -26
- package/dist/nodes/Resend/actions/receivingEmail/getAttachment.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/receivingEmail/getAttachment.operation.js +48 -42
- package/dist/nodes/Resend/actions/receivingEmail/index.d.ts +12 -9
- package/dist/nodes/Resend/actions/receivingEmail/index.js +90 -92
- package/dist/nodes/Resend/actions/receivingEmail/list.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/receivingEmail/list.operation.js +20 -9
- package/dist/nodes/Resend/actions/receivingEmail/listAttachments.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/receivingEmail/listAttachments.operation.js +67 -67
- package/dist/nodes/Resend/actions/router.d.ts +6 -2
- package/dist/nodes/Resend/actions/router.js +56 -97
- package/dist/nodes/Resend/actions/segment/create.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/segment/create.operation.js +51 -51
- package/dist/nodes/Resend/actions/segment/delete.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/segment/delete.operation.js +35 -26
- package/dist/nodes/Resend/actions/segment/execute.d.ts +6 -1
- package/dist/nodes/Resend/actions/segment/execute.js +17 -47
- package/dist/nodes/Resend/actions/segment/get.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/segment/get.operation.js +35 -26
- package/dist/nodes/Resend/actions/segment/index.d.ts +13 -10
- package/dist/nodes/Resend/actions/segment/index.js +105 -101
- package/dist/nodes/Resend/actions/segment/list.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/segment/list.operation.js +20 -9
- package/dist/nodes/Resend/actions/segment/listContacts.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/segment/listContacts.operation.js +58 -55
- package/dist/nodes/Resend/actions/template/create.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/template/create.operation.js +144 -145
- package/dist/nodes/Resend/actions/template/delete.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/template/delete.operation.js +35 -26
- package/dist/nodes/Resend/actions/template/duplicate.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/template/duplicate.operation.js +35 -26
- package/dist/nodes/Resend/actions/template/execute.d.ts +6 -1
- package/dist/nodes/Resend/actions/template/execute.js +20 -53
- package/dist/nodes/Resend/actions/template/get.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/template/get.operation.js +35 -26
- package/dist/nodes/Resend/actions/template/index.d.ts +15 -12
- package/dist/nodes/Resend/actions/template/index.js +135 -119
- package/dist/nodes/Resend/actions/template/list.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/template/list.operation.js +20 -9
- package/dist/nodes/Resend/actions/template/publish.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/template/publish.operation.js +35 -26
- package/dist/nodes/Resend/actions/template/update.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/template/update.operation.js +164 -161
- package/dist/nodes/Resend/actions/topic/create.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/topic/create.operation.js +94 -88
- package/dist/nodes/Resend/actions/topic/delete.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/topic/delete.operation.js +35 -26
- package/dist/nodes/Resend/actions/topic/execute.d.ts +6 -1
- package/dist/nodes/Resend/actions/topic/execute.js +16 -49
- package/dist/nodes/Resend/actions/topic/get.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/topic/get.operation.js +35 -26
- package/dist/nodes/Resend/actions/topic/index.d.ts +13 -10
- package/dist/nodes/Resend/actions/topic/index.js +105 -101
- package/dist/nodes/Resend/actions/topic/list.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/topic/list.operation.js +20 -9
- package/dist/nodes/Resend/actions/topic/update.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/topic/update.operation.js +80 -77
- package/dist/nodes/Resend/actions/webhook/create.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/webhook/create.operation.js +54 -48
- package/dist/nodes/Resend/actions/webhook/delete.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/webhook/delete.operation.js +35 -26
- package/dist/nodes/Resend/actions/webhook/execute.d.ts +6 -1
- package/dist/nodes/Resend/actions/webhook/execute.js +16 -49
- package/dist/nodes/Resend/actions/webhook/get.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/webhook/get.operation.js +35 -26
- package/dist/nodes/Resend/actions/webhook/index.d.ts +14 -11
- package/dist/nodes/Resend/actions/webhook/index.js +176 -119
- package/dist/nodes/Resend/actions/webhook/list.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/webhook/list.operation.js +20 -9
- package/dist/nodes/Resend/actions/webhook/update.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/webhook/update.operation.js +80 -73
- package/dist/nodes/Resend/actions/workflow/create.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/workflow/create.operation.js +104 -103
- package/dist/nodes/Resend/actions/workflow/delete.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/workflow/delete.operation.js +44 -39
- package/dist/nodes/Resend/actions/workflow/execute.d.ts +6 -1
- package/dist/nodes/Resend/actions/workflow/execute.js +24 -57
- package/dist/nodes/Resend/actions/workflow/get.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/workflow/get.operation.js +44 -39
- package/dist/nodes/Resend/actions/workflow/getRun.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/workflow/getRun.operation.js +60 -54
- package/dist/nodes/Resend/actions/workflow/getRunStep.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/workflow/getRunStep.operation.js +74 -70
- package/dist/nodes/Resend/actions/workflow/index.d.ts +17 -14
- package/dist/nodes/Resend/actions/workflow/index.js +165 -137
- package/dist/nodes/Resend/actions/workflow/list.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/workflow/list.operation.js +29 -23
- package/dist/nodes/Resend/actions/workflow/listRunSteps.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/workflow/listRunSteps.operation.js +66 -62
- package/dist/nodes/Resend/actions/workflow/listRuns.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/workflow/listRuns.operation.js +50 -47
- package/dist/nodes/Resend/actions/workflow/update.operation.d.ts +10 -3
- package/dist/nodes/Resend/actions/workflow/update.operation.js +66 -58
- package/dist/nodes/Resend/methods/index.d.ts +27 -23
- package/dist/nodes/Resend/methods/index.js +227 -253
- package/dist/nodes/Resend/transport/index.d.ts +29 -26
- package/dist/nodes/Resend/transport/index.js +240 -321
- package/dist/nodes/Resend/utils/dynamicFields.d.ts +37 -33
- package/dist/nodes/Resend/utils/dynamicFields.js +118 -59
- package/dist/nodes/Resend/utils/sendAndWait/descriptions.d.ts +8 -4
- package/dist/nodes/Resend/utils/sendAndWait/descriptions.js +97 -111
- package/dist/nodes/Resend/utils/sendAndWait/email-templates.d.ts +10 -7
- package/dist/nodes/Resend/utils/sendAndWait/email-templates.js +20 -20
- package/dist/nodes/Resend/utils/sendAndWait/index.d.ts +5 -4
- package/dist/nodes/Resend/utils/sendAndWait/index.js +20 -23
- package/dist/nodes/Resend/utils/sendAndWait/interfaces.d.ts +32 -28
- package/dist/nodes/Resend/utils/sendAndWait/interfaces.js +0 -3
- package/dist/nodes/Resend/utils/sendAndWait/utils.d.ts +39 -35
- package/dist/nodes/Resend/utils/sendAndWait/utils.js +360 -468
- package/package.json +69 -66
- package/dist/credentials/ResendApi.credentials.js.map +0 -1
- package/dist/credentials/ResendWebhookSigningSecretApi.credentials.js.map +0 -1
- package/dist/nodes/Resend/Resend.node.js.map +0 -1
- package/dist/nodes/Resend/ResendTrigger.node.js.map +0 -1
- package/dist/nodes/Resend/actions/broadcast/create.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/broadcast/delete.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/broadcast/execute.js.map +0 -1
- package/dist/nodes/Resend/actions/broadcast/get.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/broadcast/index.js.map +0 -1
- package/dist/nodes/Resend/actions/broadcast/list.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/broadcast/send.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/broadcast/update.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contact/addToSegment.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contact/create.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contact/delete.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contact/execute.js.map +0 -1
- package/dist/nodes/Resend/actions/contact/get.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contact/getTopics.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contact/index.js.map +0 -1
- package/dist/nodes/Resend/actions/contact/list.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contact/listSegments.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contact/removeFromSegment.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contact/update.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contact/updateTopics.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contactProperty/create.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contactProperty/delete.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contactProperty/execute.js.map +0 -1
- package/dist/nodes/Resend/actions/contactProperty/get.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contactProperty/index.js.map +0 -1
- package/dist/nodes/Resend/actions/contactProperty/list.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/contactProperty/update.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/domain/create.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/domain/createTrackingDomain.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/domain/delete.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/domain/deleteTrackingDomain.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/domain/execute.js.map +0 -1
- package/dist/nodes/Resend/actions/domain/get.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/domain/getTrackingDomain.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/domain/index.js.map +0 -1
- package/dist/nodes/Resend/actions/domain/list.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/domain/listTrackingDomains.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/domain/update.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/domain/verify.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/domain/verifyTrackingDomain.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/email/cancel.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/email/execute.js.map +0 -1
- package/dist/nodes/Resend/actions/email/getAttachment.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/email/index.js.map +0 -1
- package/dist/nodes/Resend/actions/email/list.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/email/listAttachments.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/email/retrieve.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/email/send.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/email/sendAndWait.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/email/sendBatch.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/email/update.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/event/create.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/event/delete.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/event/execute.js.map +0 -1
- package/dist/nodes/Resend/actions/event/get.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/event/index.js.map +0 -1
- package/dist/nodes/Resend/actions/event/list.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/event/send.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/event/update.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/log/execute.js.map +0 -1
- package/dist/nodes/Resend/actions/log/index.js.map +0 -1
- package/dist/nodes/Resend/actions/log/list.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/log/retrieve.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/receivingEmail/execute.js.map +0 -1
- package/dist/nodes/Resend/actions/receivingEmail/get.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/receivingEmail/getAttachment.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/receivingEmail/index.js.map +0 -1
- package/dist/nodes/Resend/actions/receivingEmail/list.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/receivingEmail/listAttachments.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/router.js.map +0 -1
- package/dist/nodes/Resend/actions/segment/create.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/segment/delete.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/segment/execute.js.map +0 -1
- package/dist/nodes/Resend/actions/segment/get.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/segment/index.js.map +0 -1
- package/dist/nodes/Resend/actions/segment/list.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/segment/listContacts.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/template/create.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/template/delete.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/template/duplicate.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/template/execute.js.map +0 -1
- package/dist/nodes/Resend/actions/template/get.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/template/index.js.map +0 -1
- package/dist/nodes/Resend/actions/template/list.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/template/publish.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/template/update.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/topic/create.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/topic/delete.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/topic/execute.js.map +0 -1
- package/dist/nodes/Resend/actions/topic/get.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/topic/index.js.map +0 -1
- package/dist/nodes/Resend/actions/topic/list.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/topic/update.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/webhook/create.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/webhook/delete.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/webhook/execute.js.map +0 -1
- package/dist/nodes/Resend/actions/webhook/get.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/webhook/index.js.map +0 -1
- package/dist/nodes/Resend/actions/webhook/list.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/webhook/update.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/workflow/create.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/workflow/delete.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/workflow/execute.js.map +0 -1
- package/dist/nodes/Resend/actions/workflow/get.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/workflow/getRun.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/workflow/getRunStep.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/workflow/index.js.map +0 -1
- package/dist/nodes/Resend/actions/workflow/list.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/workflow/listRunSteps.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/workflow/listRuns.operation.js.map +0 -1
- package/dist/nodes/Resend/actions/workflow/update.operation.js.map +0 -1
- package/dist/nodes/Resend/methods/index.js.map +0 -1
- package/dist/nodes/Resend/transport/index.js.map +0 -1
- package/dist/nodes/Resend/utils/dynamicFields.js.map +0 -1
- package/dist/nodes/Resend/utils/sendAndWait/descriptions.js.map +0 -1
- package/dist/nodes/Resend/utils/sendAndWait/email-templates.js.map +0 -1
- package/dist/nodes/Resend/utils/sendAndWait/index.js.map +0 -1
- package/dist/nodes/Resend/utils/sendAndWait/interfaces.js.map +0 -1
- package/dist/nodes/Resend/utils/sendAndWait/utils.js.map +0 -1
- package/dist/package.json +0 -67
- package/dist/tsconfig.tsbuildinfo +0 -1
package/README.md
CHANGED
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
<a href="#installation">Installation</a> |
|
|
17
17
|
<a href="#credentials">Credentials</a> |
|
|
18
18
|
<a href="#human-in-the-loop">Human in the Loop</a> |
|
|
19
|
-
<a href="#resources">Resources</a> |
|
|
20
19
|
<a href="#trigger-events">Trigger Events</a> |
|
|
21
20
|
<a href="#limitations">Limitations</a> |
|
|
22
21
|
<a href="#development">Development</a>
|
|
@@ -36,18 +35,21 @@ The table below shows which endpoints are currently implemented:
|
|
|
36
35
|
<details>
|
|
37
36
|
<summary><strong>View all endpoints</strong></summary>
|
|
38
37
|
|
|
39
|
-
| API Resource | Endpoint | Status | Operations
|
|
40
|
-
| ---------------------- | --------------------- | ------- |
|
|
41
|
-
| **Email** | `/emails` | ✅ Full | Send, Send Batch, Send and Wait, List, Get, Update, Cancel, List Attachments, Get Attachment
|
|
42
|
-
| **Receiving Emails** | `/emails/receiving` | ✅ Full | List, Get, List Attachments, Get Attachment
|
|
43
|
-
| **Domains** | `/domains` | ✅ Full | Create, List, Get, Update, Delete, Verify
|
|
44
|
-
| **Templates** | `/templates` | ✅ Full | Create, List, Get, Update, Delete, Publish, Duplicate
|
|
45
|
-
| **Contacts** | `/contacts` | ✅ Full | Create, List, Get, Update, Delete, Add to Segment, List Segments, Remove from Segment, Get Topics, Update Topics
|
|
46
|
-
| **Broadcasts** | `/broadcasts` | ✅ Full | Create, List, Get, Update, Delete, Send
|
|
47
|
-
| **Segments** | `/segments` | ✅ Full | Create, List, Get, Delete
|
|
48
|
-
| **Topics** | `/topics` | ✅ Full | Create, List, Get, Update, Delete
|
|
49
|
-
| **Contact Properties** | `/contact-properties` | ✅ Full | Create, List, Get, Update, Delete
|
|
50
|
-
| **Webhooks** | `/webhooks` | ✅ Full | Create, List, Get, Update, Delete
|
|
38
|
+
| API Resource | Endpoint | Status | Operations |
|
|
39
|
+
| ---------------------- | --------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
40
|
+
| **Email** | `/emails` | ✅ Full | Send, Send Batch, Send and Wait, List, Get, Update, Cancel, List Attachments, Get Attachment |
|
|
41
|
+
| **Receiving Emails** | `/emails/receiving` | ✅ Full | List, Get, List Attachments, Get Attachment |
|
|
42
|
+
| **Domains** | `/domains` | ✅ Full | Create, List, Get, Update, Delete, Verify, Create Tracking Domain, Get Tracking Domain, List Tracking Domains, Delete Tracking Domain, Verify Tracking Domain |
|
|
43
|
+
| **Templates** | `/templates` | ✅ Full | Create, List, Get, Update, Delete, Publish, Duplicate |
|
|
44
|
+
| **Contacts** | `/contacts` | ✅ Full | Create, List, Get, Update, Delete, Add to Segment, List Segments, Remove from Segment, Get Topics, Update Topics |
|
|
45
|
+
| **Broadcasts** | `/broadcasts` | ✅ Full | Create, List, Get, Update, Delete, Send |
|
|
46
|
+
| **Segments** | `/segments` | ✅ Full | Create, List, Get, Delete |
|
|
47
|
+
| **Topics** | `/topics` | ✅ Full | Create, List, Get, Update, Delete |
|
|
48
|
+
| **Contact Properties** | `/contact-properties` | ✅ Full | Create, List, Get, Update, Delete |
|
|
49
|
+
| **Webhooks** | `/webhooks` | ✅ Full | Create, List, Get, Update, Delete |
|
|
50
|
+
| **Events** | `/events` | ✅ Full | Create, List, Get, Update, Delete, Send |
|
|
51
|
+
| **Workflows** | `/workflows` | ✅ Full | Create, List, Get, Update, Delete, List Runs, Get Run, List Run Steps, Get Run Step |
|
|
52
|
+
| **Logs** | `/logs` | ✅ Full | List, Retrieve |
|
|
51
53
|
|
|
52
54
|
</details>
|
|
53
55
|
|
|
@@ -109,179 +111,14 @@ The workflow pauses at the email step and resumes automatically once the recipie
|
|
|
109
111
|
| **Response Form Title** | Title shown on the response form |
|
|
110
112
|
| **Limit Wait Time** | Set a timeout for the wait period |
|
|
111
113
|
|
|
112
|
-
## Resources
|
|
113
|
-
|
|
114
|
-
<details>
|
|
115
|
-
<summary><strong>Email</strong></summary>
|
|
116
|
-
|
|
117
|
-
| Operation | Description |
|
|
118
|
-
| ---------------- | ------------------------------------------------- |
|
|
119
|
-
| Send | Send a single email with optional attachments |
|
|
120
|
-
| Send Batch | Send up to 100 emails in one request |
|
|
121
|
-
| Send and Wait | Send email and wait for recipient response (HITL) |
|
|
122
|
-
| List | List sent emails |
|
|
123
|
-
| Get | Retrieve email details and status |
|
|
124
|
-
| Cancel | Cancel a scheduled email |
|
|
125
|
-
| Update | Modify a scheduled email |
|
|
126
|
-
| List Attachments | List attachments for a sent email |
|
|
127
|
-
| Get Attachment | Get a specific attachment from a sent email |
|
|
128
|
-
|
|
129
|
-
</details>
|
|
130
|
-
|
|
131
|
-
<details>
|
|
132
|
-
<summary><strong>Receiving Email</strong></summary>
|
|
133
|
-
|
|
134
|
-
| Operation | Description |
|
|
135
|
-
| ---------------- | ----------------------------------------------- |
|
|
136
|
-
| List | List all received emails |
|
|
137
|
-
| Get | Retrieve a received email |
|
|
138
|
-
| List Attachments | List attachments for a received email |
|
|
139
|
-
| Get Attachment | Get a specific attachment from a received email |
|
|
140
|
-
|
|
141
|
-
</details>
|
|
142
|
-
|
|
143
|
-
<details>
|
|
144
|
-
<summary><strong>Contact</strong></summary>
|
|
145
|
-
|
|
146
|
-
| Operation | Description |
|
|
147
|
-
| ------------------- | ---------------------------------------- |
|
|
148
|
-
| Create | Add a new contact |
|
|
149
|
-
| Get | Retrieve contact details |
|
|
150
|
-
| Update | Modify contact information |
|
|
151
|
-
| Delete | Remove a contact |
|
|
152
|
-
| List | List all contacts |
|
|
153
|
-
| Add to Segment | Add a contact to a segment |
|
|
154
|
-
| List Segments | List segments for a contact |
|
|
155
|
-
| Remove From Segment | Remove a contact from a segment |
|
|
156
|
-
| Get Topics | Get topic subscriptions for a contact |
|
|
157
|
-
| Update Topics | Update topic subscriptions for a contact |
|
|
158
|
-
|
|
159
|
-
</details>
|
|
160
|
-
|
|
161
|
-
<details>
|
|
162
|
-
<summary><strong>Contact Property</strong></summary>
|
|
163
|
-
|
|
164
|
-
| Operation | Description |
|
|
165
|
-
| --------- | -------------------------------- |
|
|
166
|
-
| Create | Create a custom contact property |
|
|
167
|
-
| Get | Retrieve property details |
|
|
168
|
-
| Update | Modify property settings |
|
|
169
|
-
| Delete | Remove a property |
|
|
170
|
-
| List | List all contact properties |
|
|
171
|
-
|
|
172
|
-
</details>
|
|
173
|
-
|
|
174
|
-
<details>
|
|
175
|
-
<summary><strong>Segment</strong></summary>
|
|
176
|
-
|
|
177
|
-
| Operation | Description |
|
|
178
|
-
| --------- | ---------------------------------------------------- |
|
|
179
|
-
| Create | Create a new segment with optional filter conditions |
|
|
180
|
-
| Get | Retrieve segment details |
|
|
181
|
-
| Delete | Remove a segment |
|
|
182
|
-
| List | List all segments |
|
|
183
|
-
|
|
184
|
-
</details>
|
|
185
|
-
|
|
186
|
-
<details>
|
|
187
|
-
<summary><strong>Topic</strong></summary>
|
|
188
|
-
|
|
189
|
-
| Operation | Description |
|
|
190
|
-
| --------- | --------------------------- |
|
|
191
|
-
| Create | Create a subscription topic |
|
|
192
|
-
| Get | Retrieve topic details |
|
|
193
|
-
| Update | Modify topic settings |
|
|
194
|
-
| Delete | Remove a topic |
|
|
195
|
-
| List | List all topics |
|
|
196
|
-
|
|
197
|
-
</details>
|
|
198
|
-
|
|
199
|
-
<details>
|
|
200
|
-
<summary><strong>Broadcast</strong></summary>
|
|
201
|
-
|
|
202
|
-
| Operation | Description |
|
|
203
|
-
| --------- | ----------------------------- |
|
|
204
|
-
| Create | Create an email campaign |
|
|
205
|
-
| Get | Retrieve broadcast details |
|
|
206
|
-
| Send | Send a broadcast to a segment |
|
|
207
|
-
| Update | Modify broadcast settings |
|
|
208
|
-
| Delete | Remove a broadcast |
|
|
209
|
-
| List | List all broadcasts |
|
|
210
|
-
|
|
211
|
-
</details>
|
|
212
|
-
|
|
213
|
-
<details>
|
|
214
|
-
<summary><strong>Template</strong></summary>
|
|
215
|
-
|
|
216
|
-
| Operation | Description |
|
|
217
|
-
| --------- | ------------------------------ |
|
|
218
|
-
| Create | Create an email template |
|
|
219
|
-
| Get | Retrieve template details |
|
|
220
|
-
| Update | Modify a template |
|
|
221
|
-
| Delete | Remove a template |
|
|
222
|
-
| List | List all templates |
|
|
223
|
-
| Publish | Publish a template |
|
|
224
|
-
| Duplicate | Duplicate an existing template |
|
|
225
|
-
|
|
226
|
-
</details>
|
|
227
|
-
|
|
228
|
-
<details>
|
|
229
|
-
<summary><strong>Domain</strong></summary>
|
|
230
|
-
|
|
231
|
-
| Operation | Description |
|
|
232
|
-
| --------- | --------------------------- |
|
|
233
|
-
| Create | Add a sending domain |
|
|
234
|
-
| Get | Retrieve domain details |
|
|
235
|
-
| Verify | Trigger domain verification |
|
|
236
|
-
| Update | Modify domain settings |
|
|
237
|
-
| Delete | Remove a domain |
|
|
238
|
-
| List | List all domains |
|
|
239
|
-
|
|
240
|
-
</details>
|
|
241
|
-
|
|
242
|
-
<details>
|
|
243
|
-
<summary><strong>Webhook</strong></summary>
|
|
244
|
-
|
|
245
|
-
| Operation | Description |
|
|
246
|
-
| --------- | ------------------------- |
|
|
247
|
-
| Create | Create a webhook endpoint |
|
|
248
|
-
| Get | Retrieve webhook details |
|
|
249
|
-
| Update | Modify webhook settings |
|
|
250
|
-
| Delete | Remove a webhook |
|
|
251
|
-
| List | List all webhooks |
|
|
252
|
-
|
|
253
|
-
</details>
|
|
254
|
-
|
|
255
114
|
## Trigger Events
|
|
256
115
|
|
|
257
116
|
The **Resend Trigger** node receives webhooks for real-time email events. Signatures are automatically verified using Svix.
|
|
258
117
|
|
|
259
|
-
>
|
|
260
|
-
|
|
261
|
-
<details>
|
|
262
|
-
<summary><strong>View all events</strong></summary>
|
|
263
|
-
|
|
264
|
-
| Event | Description |
|
|
265
|
-
| ------------------------ | ------------------------------------ |
|
|
266
|
-
| `email.sent` | Email sent to recipient |
|
|
267
|
-
| `email.delivered` | Email delivered successfully |
|
|
268
|
-
| `email.delivery_delayed` | Email delivery delayed |
|
|
269
|
-
| `email.opened` | Recipient opened the email |
|
|
270
|
-
| `email.clicked` | Link clicked in email |
|
|
271
|
-
| `email.bounced` | Email bounced |
|
|
272
|
-
| `email.complained` | Spam complaint received |
|
|
273
|
-
| `email.failed` | Email failed to send due to an error |
|
|
274
|
-
| `email.received` | Inbound email received by Resend |
|
|
275
|
-
| `email.scheduled` | Email scheduled to be sent |
|
|
276
|
-
| `email.suppressed` | Email suppressed by Resend |
|
|
277
|
-
| `contact.created` | New contact added |
|
|
278
|
-
| `contact.updated` | Contact modified |
|
|
279
|
-
| `contact.deleted` | Contact removed |
|
|
280
|
-
| `domain.created` | New domain added |
|
|
281
|
-
| `domain.updated` | Domain modified |
|
|
282
|
-
| `domain.deleted` | Domain removed |
|
|
118
|
+
> [!NOTE]
|
|
119
|
+
> The trigger node requires the **Resend Webhook Signing Secret** credential (separate from the Resend API credential). See the [Credentials](#credentials) section for setup instructions.
|
|
283
120
|
|
|
284
|
-
|
|
121
|
+
For a full list of supported event types, see the [Resend Webhooks documentation](https://resend.com/docs/dashboard/webhooks/event-types).
|
|
285
122
|
|
|
286
123
|
## Limitations
|
|
287
124
|
|
|
@@ -290,12 +127,14 @@ The **Resend Trigger** node receives webhooks for real-time email events. Signat
|
|
|
290
127
|
|
|
291
128
|
## Development
|
|
292
129
|
|
|
130
|
+
Requires [Node.js 22.13+](https://nodejs.org/) and [pnpm 11](https://pnpm.io/) (`corepack enable` recommended).
|
|
131
|
+
|
|
293
132
|
```bash
|
|
294
133
|
git clone https://github.com/resend/n8n-nodes-resend.git
|
|
295
134
|
cd n8n-nodes-resend
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
135
|
+
pnpm install
|
|
136
|
+
pnpm run build
|
|
137
|
+
pnpm run lint
|
|
299
138
|
```
|
|
300
139
|
|
|
301
140
|
## License
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __exportAll = (all, no_symbols) => {
|
|
4
|
+
let target = {};
|
|
5
|
+
for (var name in all) __defProp(target, name, {
|
|
6
|
+
get: all[name],
|
|
7
|
+
enumerable: true
|
|
8
|
+
});
|
|
9
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
10
|
+
return target;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.__exportAll = __exportAll;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from "n8n-workflow";
|
|
2
|
+
|
|
3
|
+
//#region credentials/ResendApi.credentials.d.ts
|
|
4
|
+
declare class ResendApi implements ICredentialType {
|
|
5
|
+
name: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
documentationUrl: string;
|
|
8
|
+
icon: "file:resend.svg";
|
|
9
|
+
properties: INodeProperties[];
|
|
10
|
+
authenticate: IAuthenticateGeneric;
|
|
11
|
+
test: ICredentialTestRequest;
|
|
10
12
|
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { ResendApi };
|
|
@@ -1,38 +1,29 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
request: {
|
|
30
|
-
baseURL: 'https://api.resend.com',
|
|
31
|
-
url: '/api-keys',
|
|
32
|
-
method: 'GET',
|
|
33
|
-
},
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
}
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region credentials/ResendApi.credentials.ts
|
|
3
|
+
var ResendApi = class {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.name = "resendApi";
|
|
6
|
+
this.displayName = "Resend API";
|
|
7
|
+
this.documentationUrl = "https://resend.com/docs/api-reference/introduction";
|
|
8
|
+
this.icon = "file:resend.svg";
|
|
9
|
+
this.properties = [{
|
|
10
|
+
displayName: "API Key",
|
|
11
|
+
name: "apiKey",
|
|
12
|
+
type: "string",
|
|
13
|
+
typeOptions: { password: true },
|
|
14
|
+
default: "",
|
|
15
|
+
required: true
|
|
16
|
+
}];
|
|
17
|
+
this.authenticate = {
|
|
18
|
+
type: "generic",
|
|
19
|
+
properties: { headers: { Authorization: "={{\"Bearer \" + $credentials.apiKey}}" } }
|
|
20
|
+
};
|
|
21
|
+
this.test = { request: {
|
|
22
|
+
baseURL: "https://api.resend.com",
|
|
23
|
+
url: "/api-keys",
|
|
24
|
+
method: "GET"
|
|
25
|
+
} };
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
37
29
|
exports.ResendApi = ResendApi;
|
|
38
|
-
//# sourceMappingURL=ResendApi.credentials.js.map
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { ICredentialType, INodeProperties } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { ICredentialType, INodeProperties } from "n8n-workflow";
|
|
2
|
+
|
|
3
|
+
//#region credentials/ResendWebhookSigningSecretApi.credentials.d.ts
|
|
4
|
+
declare class ResendWebhookSigningSecretApi implements ICredentialType {
|
|
5
|
+
name: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
documentationUrl: string;
|
|
8
|
+
icon: "file:resend.svg";
|
|
9
|
+
properties: INodeProperties[];
|
|
8
10
|
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ResendWebhookSigningSecretApi };
|
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
}
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region credentials/ResendWebhookSigningSecretApi.credentials.ts
|
|
3
|
+
var ResendWebhookSigningSecretApi = class {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.name = "resendWebhookSigningSecretApi";
|
|
6
|
+
this.displayName = "Resend Webhook Signing Secret API";
|
|
7
|
+
this.documentationUrl = "https://resend.com/docs/webhooks/signature-verification";
|
|
8
|
+
this.icon = "file:resend.svg";
|
|
9
|
+
this.properties = [{
|
|
10
|
+
displayName: "Webhook Signing Secret",
|
|
11
|
+
name: "webhookSigningSecret",
|
|
12
|
+
type: "string",
|
|
13
|
+
typeOptions: { password: true },
|
|
14
|
+
default: "",
|
|
15
|
+
required: true,
|
|
16
|
+
description: "The webhook signing secret from your Resend webhook configuration page (whsec_... value). Each webhook endpoint has its own unique signing secret."
|
|
17
|
+
}];
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
23
21
|
exports.ResendWebhookSigningSecretApi = ResendWebhookSigningSecretApi;
|
|
24
|
-
//# sourceMappingURL=ResendWebhookSigningSecretApi.credentials.js.map
|
|
@@ -1,60 +1,65 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { router } from "./actions/router.js";
|
|
2
|
+
import { getBroadcasts, getContactProperties, getContacts, getDomains, getEmails, getReceivedEmails, getSegments, getTemplateVariables, getTemplates, getTopics, getWebhooks } from "./methods/index.js";
|
|
3
|
+
import * as _$n8n_workflow0 from "n8n-workflow";
|
|
4
|
+
import { INodeType, INodeTypeDescription, IWebhookFunctions } from "n8n-workflow";
|
|
5
|
+
|
|
6
|
+
//#region nodes/Resend/Resend.node.d.ts
|
|
7
|
+
declare class Resend implements INodeType {
|
|
8
|
+
description: INodeTypeDescription;
|
|
9
|
+
methods: {
|
|
10
|
+
loadOptions: {
|
|
11
|
+
getBroadcasts: typeof getBroadcasts;
|
|
12
|
+
getContactProperties: typeof getContactProperties;
|
|
13
|
+
getContacts: typeof getContacts;
|
|
14
|
+
getDomains: typeof getDomains;
|
|
15
|
+
getEmails: typeof getEmails;
|
|
16
|
+
getReceivedEmails: typeof getReceivedEmails;
|
|
17
|
+
getSegments: typeof getSegments;
|
|
18
|
+
getTemplateVariables: typeof getTemplateVariables;
|
|
19
|
+
getTemplates: typeof getTemplates;
|
|
20
|
+
getTopics: typeof getTopics;
|
|
21
|
+
getWebhooks: typeof getWebhooks;
|
|
22
|
+
};
|
|
23
|
+
listSearch: {
|
|
24
|
+
getBroadcasts: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
|
|
25
|
+
getContactProperties: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
|
|
26
|
+
getContacts: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
|
|
27
|
+
getDomains: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
|
|
28
|
+
getEmails: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
|
|
29
|
+
getReceivedEmails: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
|
|
30
|
+
getSegments: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
|
|
31
|
+
getTemplates: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
|
|
32
|
+
getTemplateVariables: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
|
|
33
|
+
getTopics: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
|
|
34
|
+
getWebhooks: (this: _$n8n_workflow0.ILoadOptionsFunctions, filter?: string) => Promise<_$n8n_workflow0.INodeListSearchResult>;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
webhook: (this: IWebhookFunctions) => Promise<{
|
|
38
|
+
noWebhookResponse: boolean;
|
|
39
|
+
webhookResponse?: undefined;
|
|
40
|
+
workflowData?: undefined;
|
|
41
|
+
} | {
|
|
42
|
+
webhookResponse: undefined;
|
|
43
|
+
workflowData: {
|
|
44
|
+
json: {
|
|
45
|
+
data: {
|
|
46
|
+
text: string;
|
|
19
47
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
getTemplateVariables: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
30
|
-
getTopics: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
31
|
-
getWebhooks: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
48
|
+
};
|
|
49
|
+
}[][];
|
|
50
|
+
noWebhookResponse?: undefined;
|
|
51
|
+
} | {
|
|
52
|
+
webhookResponse: undefined;
|
|
53
|
+
workflowData: {
|
|
54
|
+
json: {
|
|
55
|
+
data: {
|
|
56
|
+
approved: boolean;
|
|
32
57
|
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} | {
|
|
39
|
-
webhookResponse: undefined;
|
|
40
|
-
workflowData: {
|
|
41
|
-
json: {
|
|
42
|
-
data: {
|
|
43
|
-
text: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
}[][];
|
|
47
|
-
noWebhookResponse?: undefined;
|
|
48
|
-
} | {
|
|
49
|
-
webhookResponse: undefined;
|
|
50
|
-
workflowData: {
|
|
51
|
-
json: {
|
|
52
|
-
data: {
|
|
53
|
-
approved: boolean;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
}[][];
|
|
57
|
-
noWebhookResponse?: undefined;
|
|
58
|
-
}>;
|
|
59
|
-
execute: typeof router;
|
|
58
|
+
};
|
|
59
|
+
}[][];
|
|
60
|
+
noWebhookResponse?: undefined;
|
|
61
|
+
}>;
|
|
62
|
+
execute: typeof router;
|
|
60
63
|
}
|
|
64
|
+
//#endregion
|
|
65
|
+
export { Resend };
|