n8n-nodes-resend 2.6.0 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/credentials/ResendOAuth2Api.credentials.js +26 -11
  2. package/dist/nodes/Resend/actions/account/disconnect.operation.js +1 -1
  3. package/dist/nodes/Resend/actions/domain/claim.operation.js +80 -93
  4. package/dist/nodes/Resend/actions/domain/create.operation.js +120 -133
  5. package/dist/nodes/Resend/actions/domain/createTrackingDomain.operation.js +24 -37
  6. package/dist/nodes/Resend/actions/domain/deleteTrackingDomain.operation.js +24 -37
  7. package/dist/nodes/Resend/actions/domain/getTrackingDomain.operation.js +24 -37
  8. package/dist/nodes/Resend/actions/domain/listTrackingDomains.operation.js +1 -10
  9. package/dist/nodes/Resend/actions/domain/verifyClaim.operation.js +1 -10
  10. package/dist/nodes/Resend/actions/domain/verifyTrackingDomain.operation.js +24 -37
  11. package/dist/nodes/Resend/actions/email/send.operation.js +0 -10
  12. package/dist/nodes/Resend/actions/event/create.operation.js +23 -36
  13. package/dist/nodes/Resend/actions/event/delete.operation.js +0 -9
  14. package/dist/nodes/Resend/actions/event/get.operation.js +0 -9
  15. package/dist/nodes/Resend/actions/event/list.operation.js +1 -10
  16. package/dist/nodes/Resend/actions/event/send.operation.js +0 -10
  17. package/dist/nodes/Resend/actions/event/update.operation.js +25 -38
  18. package/dist/nodes/Resend/actions/workflow/create.operation.js +0 -10
  19. package/dist/nodes/Resend/actions/workflow/delete.operation.js +0 -9
  20. package/dist/nodes/Resend/actions/workflow/get.operation.js +0 -9
  21. package/dist/nodes/Resend/actions/workflow/getRun.operation.js +25 -38
  22. package/dist/nodes/Resend/actions/workflow/getRunStep.operation.js +0 -10
  23. package/dist/nodes/Resend/actions/workflow/list.operation.js +1 -10
  24. package/dist/nodes/Resend/actions/workflow/listRunSteps.operation.js +25 -38
  25. package/dist/nodes/Resend/actions/workflow/listRuns.operation.js +0 -9
  26. package/dist/nodes/Resend/actions/workflow/update.operation.js +31 -44
  27. package/package.json +1 -1
@@ -6,50 +6,37 @@ var update_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
6
6
  description: () => description,
7
7
  execute: () => execute
8
8
  });
9
- const description = [
10
- {
11
- displayName: "Workflows are currently in private alpha and only available to a limited number of users. APIs might change before GA. <a href=\"https://resend.com/contact\">Contact us</a> if you're interested in testing this feature.",
12
- name: "workflowBetaNotice",
13
- type: "notice",
14
- default: "",
15
- displayOptions: { show: {
16
- resource: ["workflows"],
17
- operation: ["update"]
18
- } }
19
- },
20
- {
21
- displayName: "Workflow ID",
22
- name: "workflowId",
23
- type: "string",
24
- required: true,
25
- default: "",
26
- placeholder: "c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
27
- displayOptions: { show: {
28
- resource: ["workflows"],
29
- operation: ["update"]
30
- } },
31
- description: "The unique identifier of the workflow to update"
32
- },
33
- {
34
- displayName: "Status",
35
- name: "workflowStatus",
36
- type: "options",
37
- required: true,
38
- options: [{
39
- name: "Enabled",
40
- value: "enabled"
41
- }, {
42
- name: "Disabled",
43
- value: "disabled"
44
- }],
45
- default: "enabled",
46
- displayOptions: { show: {
47
- resource: ["workflows"],
48
- operation: ["update"]
49
- } },
50
- description: "The status of the workflow"
51
- }
52
- ];
9
+ const description = [{
10
+ displayName: "Workflow ID",
11
+ name: "workflowId",
12
+ type: "string",
13
+ required: true,
14
+ default: "",
15
+ placeholder: "c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
16
+ displayOptions: { show: {
17
+ resource: ["workflows"],
18
+ operation: ["update"]
19
+ } },
20
+ description: "The unique identifier of the workflow to update"
21
+ }, {
22
+ displayName: "Status",
23
+ name: "workflowStatus",
24
+ type: "options",
25
+ required: true,
26
+ options: [{
27
+ name: "Enabled",
28
+ value: "enabled"
29
+ }, {
30
+ name: "Disabled",
31
+ value: "disabled"
32
+ }],
33
+ default: "enabled",
34
+ displayOptions: { show: {
35
+ resource: ["workflows"],
36
+ operation: ["update"]
37
+ } },
38
+ description: "The status of the workflow"
39
+ }];
53
40
  async function execute(index) {
54
41
  const workflowId = this.getNodeParameter("workflowId", index);
55
42
  const body = { status: this.getNodeParameter("workflowStatus", index) };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-resend",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "Resend integration for n8n: Email, Broadcasts, Templates, Domains, Contacts, Segments, Topics, Webhooks, Workflows, Events, and more",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",