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