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.
- package/dist/credentials/ResendOAuth2Api.credentials.js +26 -11
- package/dist/nodes/Resend/actions/account/disconnect.operation.js +1 -1
- package/dist/nodes/Resend/actions/domain/claim.operation.js +80 -93
- package/dist/nodes/Resend/actions/domain/create.operation.js +120 -133
- package/dist/nodes/Resend/actions/domain/createTrackingDomain.operation.js +24 -37
- package/dist/nodes/Resend/actions/domain/deleteTrackingDomain.operation.js +24 -37
- package/dist/nodes/Resend/actions/domain/getTrackingDomain.operation.js +24 -37
- package/dist/nodes/Resend/actions/domain/listTrackingDomains.operation.js +1 -10
- package/dist/nodes/Resend/actions/domain/verifyClaim.operation.js +1 -10
- package/dist/nodes/Resend/actions/domain/verifyTrackingDomain.operation.js +24 -37
- package/dist/nodes/Resend/actions/email/send.operation.js +0 -10
- package/dist/nodes/Resend/actions/event/create.operation.js +23 -36
- package/dist/nodes/Resend/actions/event/delete.operation.js +0 -9
- package/dist/nodes/Resend/actions/event/get.operation.js +0 -9
- package/dist/nodes/Resend/actions/event/list.operation.js +1 -10
- package/dist/nodes/Resend/actions/event/send.operation.js +0 -10
- package/dist/nodes/Resend/actions/event/update.operation.js +25 -38
- package/dist/nodes/Resend/actions/workflow/create.operation.js +0 -10
- package/dist/nodes/Resend/actions/workflow/delete.operation.js +0 -9
- package/dist/nodes/Resend/actions/workflow/get.operation.js +0 -9
- package/dist/nodes/Resend/actions/workflow/getRun.operation.js +25 -38
- package/dist/nodes/Resend/actions/workflow/getRunStep.operation.js +0 -10
- package/dist/nodes/Resend/actions/workflow/list.operation.js +1 -10
- package/dist/nodes/Resend/actions/workflow/listRunSteps.operation.js +25 -38
- package/dist/nodes/Resend/actions/workflow/listRuns.operation.js +0 -9
- package/dist/nodes/Resend/actions/workflow/update.operation.js +31 -44
- package/package.json +1 -1
|
@@ -7,43 +7,30 @@ var getTrackingDomain_operation_exports = /* @__PURE__ */ require_runtime.__expo
|
|
|
7
7
|
description: () => description,
|
|
8
8
|
execute: () => execute
|
|
9
9
|
});
|
|
10
|
-
const description = [
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
displayName: "Tracking Domain ID",
|
|
35
|
-
name: "trackingDomainId",
|
|
36
|
-
type: "string",
|
|
37
|
-
required: true,
|
|
38
|
-
default: "",
|
|
39
|
-
placeholder: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
40
|
-
displayOptions: { show: {
|
|
41
|
-
resource: ["domains"],
|
|
42
|
-
operation: ["getTrackingDomain"]
|
|
43
|
-
} },
|
|
44
|
-
description: "The unique identifier of the tracking domain to retrieve"
|
|
45
|
-
}
|
|
46
|
-
];
|
|
10
|
+
const description = [require_nodes_Resend_utils_dynamicFields.createDynamicIdField({
|
|
11
|
+
fieldName: "domainId",
|
|
12
|
+
resourceName: "domain",
|
|
13
|
+
displayName: "Domain",
|
|
14
|
+
required: true,
|
|
15
|
+
placeholder: "d91cd9bd-1176-453e-8fc1-35364d380206",
|
|
16
|
+
description: "The parent domain. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
|
|
17
|
+
displayOptions: { show: {
|
|
18
|
+
resource: ["domains"],
|
|
19
|
+
operation: ["getTrackingDomain"]
|
|
20
|
+
} }
|
|
21
|
+
}), {
|
|
22
|
+
displayName: "Tracking Domain ID",
|
|
23
|
+
name: "trackingDomainId",
|
|
24
|
+
type: "string",
|
|
25
|
+
required: true,
|
|
26
|
+
default: "",
|
|
27
|
+
placeholder: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
28
|
+
displayOptions: { show: {
|
|
29
|
+
resource: ["domains"],
|
|
30
|
+
operation: ["getTrackingDomain"]
|
|
31
|
+
} },
|
|
32
|
+
description: "The unique identifier of the tracking domain to retrieve"
|
|
33
|
+
}];
|
|
47
34
|
async function execute(index) {
|
|
48
35
|
const domainId = require_nodes_Resend_utils_dynamicFields.resolveDynamicIdValue(this, "domainId", index);
|
|
49
36
|
const trackingDomainId = this.getNodeParameter("trackingDomainId", index);
|
|
@@ -7,16 +7,7 @@ var listTrackingDomains_operation_exports = /* @__PURE__ */ require_runtime.__ex
|
|
|
7
7
|
description: () => description,
|
|
8
8
|
execute: () => execute
|
|
9
9
|
});
|
|
10
|
-
const description = [{
|
|
11
|
-
displayName: "Custom tracking domains 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: "trackingDomainAlphaNotice",
|
|
13
|
-
type: "notice",
|
|
14
|
-
default: "",
|
|
15
|
-
displayOptions: { show: {
|
|
16
|
-
resource: ["domains"],
|
|
17
|
-
operation: ["listTrackingDomains"]
|
|
18
|
-
} }
|
|
19
|
-
}, require_nodes_Resend_utils_dynamicFields.createDynamicIdField({
|
|
10
|
+
const description = [require_nodes_Resend_utils_dynamicFields.createDynamicIdField({
|
|
20
11
|
fieldName: "domainId",
|
|
21
12
|
resourceName: "domain",
|
|
22
13
|
displayName: "Domain",
|
|
@@ -7,16 +7,7 @@ var verifyClaim_operation_exports = /* @__PURE__ */ require_runtime.__exportAll(
|
|
|
7
7
|
description: () => description,
|
|
8
8
|
execute: () => execute
|
|
9
9
|
});
|
|
10
|
-
const description = [{
|
|
11
|
-
displayName: "Add the TXT record returned by the Claim Domain operation before calling this. Resend checks the TXT record and runs ownership-safety checks before transferring the domain. Poll Get Domain Claim to follow the status.",
|
|
12
|
-
name: "verifyClaimNotice",
|
|
13
|
-
type: "notice",
|
|
14
|
-
default: "",
|
|
15
|
-
displayOptions: { show: {
|
|
16
|
-
resource: ["domains"],
|
|
17
|
-
operation: ["verifyClaim"]
|
|
18
|
-
} }
|
|
19
|
-
}, require_nodes_Resend_utils_dynamicFields.createDynamicIdField({
|
|
10
|
+
const description = [require_nodes_Resend_utils_dynamicFields.createDynamicIdField({
|
|
20
11
|
fieldName: "domainId",
|
|
21
12
|
resourceName: "domain",
|
|
22
13
|
displayName: "Domain",
|
|
@@ -7,43 +7,30 @@ var verifyTrackingDomain_operation_exports = /* @__PURE__ */ require_runtime.__e
|
|
|
7
7
|
description: () => description,
|
|
8
8
|
execute: () => execute
|
|
9
9
|
});
|
|
10
|
-
const description = [
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
displayName: "Tracking Domain ID",
|
|
35
|
-
name: "trackingDomainId",
|
|
36
|
-
type: "string",
|
|
37
|
-
required: true,
|
|
38
|
-
default: "",
|
|
39
|
-
placeholder: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
40
|
-
displayOptions: { show: {
|
|
41
|
-
resource: ["domains"],
|
|
42
|
-
operation: ["verifyTrackingDomain"]
|
|
43
|
-
} },
|
|
44
|
-
description: "The unique identifier of the tracking domain to verify"
|
|
45
|
-
}
|
|
46
|
-
];
|
|
10
|
+
const description = [require_nodes_Resend_utils_dynamicFields.createDynamicIdField({
|
|
11
|
+
fieldName: "domainId",
|
|
12
|
+
resourceName: "domain",
|
|
13
|
+
displayName: "Domain",
|
|
14
|
+
required: true,
|
|
15
|
+
placeholder: "d91cd9bd-1176-453e-8fc1-35364d380206",
|
|
16
|
+
description: "The parent domain. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
|
|
17
|
+
displayOptions: { show: {
|
|
18
|
+
resource: ["domains"],
|
|
19
|
+
operation: ["verifyTrackingDomain"]
|
|
20
|
+
} }
|
|
21
|
+
}), {
|
|
22
|
+
displayName: "Tracking Domain ID",
|
|
23
|
+
name: "trackingDomainId",
|
|
24
|
+
type: "string",
|
|
25
|
+
required: true,
|
|
26
|
+
default: "",
|
|
27
|
+
placeholder: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
28
|
+
displayOptions: { show: {
|
|
29
|
+
resource: ["domains"],
|
|
30
|
+
operation: ["verifyTrackingDomain"]
|
|
31
|
+
} },
|
|
32
|
+
description: "The unique identifier of the tracking domain to verify"
|
|
33
|
+
}];
|
|
47
34
|
async function execute(index) {
|
|
48
35
|
const domainId = require_nodes_Resend_utils_dynamicFields.resolveDynamicIdValue(this, "domainId", index);
|
|
49
36
|
const trackingDomainId = this.getNodeParameter("trackingDomainId", index);
|
|
@@ -9,16 +9,6 @@ var send_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
9
9
|
execute: () => execute
|
|
10
10
|
});
|
|
11
11
|
const description = [
|
|
12
|
-
{
|
|
13
|
-
displayName: "Tips: The sender address must be from a verified domain. Scheduled emails cannot include attachments. Maximum 50 recipients per email.",
|
|
14
|
-
name: "sendEmailNotice",
|
|
15
|
-
type: "notice",
|
|
16
|
-
default: "",
|
|
17
|
-
displayOptions: { show: {
|
|
18
|
-
resource: ["email"],
|
|
19
|
-
operation: ["send"]
|
|
20
|
-
} }
|
|
21
|
-
},
|
|
22
12
|
{
|
|
23
13
|
displayName: "From",
|
|
24
14
|
name: "from",
|
|
@@ -6,42 +6,29 @@ var create_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
6
6
|
description: () => description,
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
|
-
const description = [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
displayName: "Schema (JSON)",
|
|
35
|
-
name: "eventSchema",
|
|
36
|
-
type: "json",
|
|
37
|
-
default: "",
|
|
38
|
-
displayOptions: { show: {
|
|
39
|
-
resource: ["events"],
|
|
40
|
-
operation: ["create"]
|
|
41
|
-
} },
|
|
42
|
-
description: "An optional schema definition for the event payload. Must be an object with flat key/type pairs. Supported types: string, number, boolean, date. Example: {\"plan\": \"string\", \"trial\": \"boolean\"}"
|
|
43
|
-
}
|
|
44
|
-
];
|
|
9
|
+
const description = [{
|
|
10
|
+
displayName: "Event Name",
|
|
11
|
+
name: "eventName",
|
|
12
|
+
type: "string",
|
|
13
|
+
required: true,
|
|
14
|
+
default: "",
|
|
15
|
+
placeholder: "user.created",
|
|
16
|
+
displayOptions: { show: {
|
|
17
|
+
resource: ["events"],
|
|
18
|
+
operation: ["create"]
|
|
19
|
+
} },
|
|
20
|
+
description: "The name of the event. Used to match events to workflow triggers. Dot notation is recommended but not required. Event names cannot start with the \"resend:\" prefix."
|
|
21
|
+
}, {
|
|
22
|
+
displayName: "Schema (JSON)",
|
|
23
|
+
name: "eventSchema",
|
|
24
|
+
type: "json",
|
|
25
|
+
default: "",
|
|
26
|
+
displayOptions: { show: {
|
|
27
|
+
resource: ["events"],
|
|
28
|
+
operation: ["create"]
|
|
29
|
+
} },
|
|
30
|
+
description: "An optional schema definition for the event payload. Must be an object with flat key/type pairs. Supported types: string, number, boolean, date. Example: {\"plan\": \"string\", \"trial\": \"boolean\"}"
|
|
31
|
+
}];
|
|
45
32
|
async function execute(index) {
|
|
46
33
|
const name = this.getNodeParameter("eventName", index);
|
|
47
34
|
const schemaRaw = this.getNodeParameter("eventSchema", index, "");
|
|
@@ -7,15 +7,6 @@ var delete_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
9
|
const description = [{
|
|
10
|
-
displayName: "Workflows and Events 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.",
|
|
11
|
-
name: "eventBetaNotice",
|
|
12
|
-
type: "notice",
|
|
13
|
-
default: "",
|
|
14
|
-
displayOptions: { show: {
|
|
15
|
-
resource: ["events"],
|
|
16
|
-
operation: ["delete"]
|
|
17
|
-
} }
|
|
18
|
-
}, {
|
|
19
10
|
displayName: "Event ID or Name",
|
|
20
11
|
name: "eventIdentifier",
|
|
21
12
|
type: "string",
|
|
@@ -7,15 +7,6 @@ var get_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
9
|
const description = [{
|
|
10
|
-
displayName: "Workflows and Events 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.",
|
|
11
|
-
name: "eventBetaNotice",
|
|
12
|
-
type: "notice",
|
|
13
|
-
default: "",
|
|
14
|
-
displayOptions: { show: {
|
|
15
|
-
resource: ["events"],
|
|
16
|
-
operation: ["get"]
|
|
17
|
-
} }
|
|
18
|
-
}, {
|
|
19
10
|
displayName: "Event ID or Name",
|
|
20
11
|
name: "eventIdentifier",
|
|
21
12
|
type: "string",
|
|
@@ -6,16 +6,7 @@ var list_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
6
6
|
description: () => description,
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
|
-
const description = [
|
|
10
|
-
displayName: "Workflows and Events 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.",
|
|
11
|
-
name: "eventBetaNotice",
|
|
12
|
-
type: "notice",
|
|
13
|
-
default: "",
|
|
14
|
-
displayOptions: { show: {
|
|
15
|
-
resource: ["events"],
|
|
16
|
-
operation: ["list"]
|
|
17
|
-
} }
|
|
18
|
-
}];
|
|
9
|
+
const description = [];
|
|
19
10
|
async function execute() {
|
|
20
11
|
const items = await require_nodes_Resend_transport_index.requestList.call(this, "/events");
|
|
21
12
|
return require_nodes_Resend_transport_index.createListExecutionData.call(this, items);
|
|
@@ -7,16 +7,6 @@ var send_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
9
|
const description = [
|
|
10
|
-
{
|
|
11
|
-
displayName: "Workflows and Events 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: "eventBetaNotice",
|
|
13
|
-
type: "notice",
|
|
14
|
-
default: "",
|
|
15
|
-
displayOptions: { show: {
|
|
16
|
-
resource: ["events"],
|
|
17
|
-
operation: ["send"]
|
|
18
|
-
} }
|
|
19
|
-
},
|
|
20
10
|
{
|
|
21
11
|
displayName: "Event Name",
|
|
22
12
|
name: "eventName",
|
|
@@ -6,44 +6,31 @@ var update_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
6
6
|
description: () => description,
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
|
-
const description = [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
displayName: "Schema (JSON)",
|
|
35
|
-
name: "eventSchema",
|
|
36
|
-
type: "json",
|
|
37
|
-
required: true,
|
|
38
|
-
default: "",
|
|
39
|
-
placeholder: "{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"}}}",
|
|
40
|
-
displayOptions: { show: {
|
|
41
|
-
resource: ["events"],
|
|
42
|
-
operation: ["update"]
|
|
43
|
-
} },
|
|
44
|
-
description: "The JSON schema object that defines the shape of the event payload. Set to null to remove the existing schema."
|
|
45
|
-
}
|
|
46
|
-
];
|
|
9
|
+
const description = [{
|
|
10
|
+
displayName: "Event ID or Name",
|
|
11
|
+
name: "eventIdentifier",
|
|
12
|
+
type: "string",
|
|
13
|
+
required: true,
|
|
14
|
+
default: "",
|
|
15
|
+
placeholder: "user.created",
|
|
16
|
+
displayOptions: { show: {
|
|
17
|
+
resource: ["events"],
|
|
18
|
+
operation: ["update"]
|
|
19
|
+
} },
|
|
20
|
+
description: "The ID or name of the event to update"
|
|
21
|
+
}, {
|
|
22
|
+
displayName: "Schema (JSON)",
|
|
23
|
+
name: "eventSchema",
|
|
24
|
+
type: "json",
|
|
25
|
+
required: true,
|
|
26
|
+
default: "",
|
|
27
|
+
placeholder: "{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"}}}",
|
|
28
|
+
displayOptions: { show: {
|
|
29
|
+
resource: ["events"],
|
|
30
|
+
operation: ["update"]
|
|
31
|
+
} },
|
|
32
|
+
description: "The JSON schema object that defines the shape of the event payload. Set to null to remove the existing schema."
|
|
33
|
+
}];
|
|
47
34
|
async function execute(index) {
|
|
48
35
|
const identifier = this.getNodeParameter("eventIdentifier", index);
|
|
49
36
|
const schemaRaw = this.getNodeParameter("eventSchema", index);
|
|
@@ -7,16 +7,6 @@ var create_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
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: ["create"]
|
|
18
|
-
} }
|
|
19
|
-
},
|
|
20
10
|
{
|
|
21
11
|
displayName: "Name",
|
|
22
12
|
name: "workflowName",
|
|
@@ -7,15 +7,6 @@ var delete_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
9
|
const description = [{
|
|
10
|
-
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.",
|
|
11
|
-
name: "workflowBetaNotice",
|
|
12
|
-
type: "notice",
|
|
13
|
-
default: "",
|
|
14
|
-
displayOptions: { show: {
|
|
15
|
-
resource: ["workflows"],
|
|
16
|
-
operation: ["delete"]
|
|
17
|
-
} }
|
|
18
|
-
}, {
|
|
19
10
|
displayName: "Workflow ID",
|
|
20
11
|
name: "workflowId",
|
|
21
12
|
type: "string",
|
|
@@ -7,15 +7,6 @@ var get_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
9
|
const description = [{
|
|
10
|
-
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.",
|
|
11
|
-
name: "workflowBetaNotice",
|
|
12
|
-
type: "notice",
|
|
13
|
-
default: "",
|
|
14
|
-
displayOptions: { show: {
|
|
15
|
-
resource: ["workflows"],
|
|
16
|
-
operation: ["get"]
|
|
17
|
-
} }
|
|
18
|
-
}, {
|
|
19
10
|
displayName: "Workflow ID",
|
|
20
11
|
name: "workflowId",
|
|
21
12
|
type: "string",
|
|
@@ -6,44 +6,31 @@ var getRun_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
6
6
|
description: () => description,
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
|
-
const description = [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
displayName: "Run ID",
|
|
35
|
-
name: "runId",
|
|
36
|
-
type: "string",
|
|
37
|
-
required: true,
|
|
38
|
-
default: "",
|
|
39
|
-
placeholder: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
40
|
-
displayOptions: { show: {
|
|
41
|
-
resource: ["workflows"],
|
|
42
|
-
operation: ["getRun"]
|
|
43
|
-
} },
|
|
44
|
-
description: "The unique identifier of the workflow run"
|
|
45
|
-
}
|
|
46
|
-
];
|
|
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: ["getRun"]
|
|
19
|
+
} },
|
|
20
|
+
description: "The unique identifier of the workflow"
|
|
21
|
+
}, {
|
|
22
|
+
displayName: "Run ID",
|
|
23
|
+
name: "runId",
|
|
24
|
+
type: "string",
|
|
25
|
+
required: true,
|
|
26
|
+
default: "",
|
|
27
|
+
placeholder: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
28
|
+
displayOptions: { show: {
|
|
29
|
+
resource: ["workflows"],
|
|
30
|
+
operation: ["getRun"]
|
|
31
|
+
} },
|
|
32
|
+
description: "The unique identifier of the workflow run"
|
|
33
|
+
}];
|
|
47
34
|
async function execute(index) {
|
|
48
35
|
const workflowId = this.getNodeParameter("workflowId", index);
|
|
49
36
|
const runId = this.getNodeParameter("runId", index);
|
|
@@ -7,16 +7,6 @@ var getRunStep_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
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: ["getRunStep"]
|
|
18
|
-
} }
|
|
19
|
-
},
|
|
20
10
|
{
|
|
21
11
|
displayName: "Workflow ID",
|
|
22
12
|
name: "workflowId",
|
|
@@ -6,16 +6,7 @@ var list_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
6
6
|
description: () => description,
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
|
-
const description = [
|
|
10
|
-
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.",
|
|
11
|
-
name: "workflowBetaNotice",
|
|
12
|
-
type: "notice",
|
|
13
|
-
default: "",
|
|
14
|
-
displayOptions: { show: {
|
|
15
|
-
resource: ["workflows"],
|
|
16
|
-
operation: ["list"]
|
|
17
|
-
} }
|
|
18
|
-
}];
|
|
9
|
+
const description = [];
|
|
19
10
|
async function execute() {
|
|
20
11
|
const items = await require_nodes_Resend_transport_index.requestList.call(this, "/workflows");
|
|
21
12
|
return require_nodes_Resend_transport_index.createListExecutionData.call(this, items);
|
|
@@ -6,44 +6,31 @@ var listRunSteps_operation_exports = /* @__PURE__ */ require_runtime.__exportAll
|
|
|
6
6
|
description: () => description,
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
|
-
const description = [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
displayName: "Run ID",
|
|
35
|
-
name: "runId",
|
|
36
|
-
type: "string",
|
|
37
|
-
required: true,
|
|
38
|
-
default: "",
|
|
39
|
-
placeholder: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
40
|
-
displayOptions: { show: {
|
|
41
|
-
resource: ["workflows"],
|
|
42
|
-
operation: ["listRunSteps"]
|
|
43
|
-
} },
|
|
44
|
-
description: "The unique identifier of the workflow run"
|
|
45
|
-
}
|
|
46
|
-
];
|
|
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: ["listRunSteps"]
|
|
19
|
+
} },
|
|
20
|
+
description: "The unique identifier of the workflow"
|
|
21
|
+
}, {
|
|
22
|
+
displayName: "Run ID",
|
|
23
|
+
name: "runId",
|
|
24
|
+
type: "string",
|
|
25
|
+
required: true,
|
|
26
|
+
default: "",
|
|
27
|
+
placeholder: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
28
|
+
displayOptions: { show: {
|
|
29
|
+
resource: ["workflows"],
|
|
30
|
+
operation: ["listRunSteps"]
|
|
31
|
+
} },
|
|
32
|
+
description: "The unique identifier of the workflow run"
|
|
33
|
+
}];
|
|
47
34
|
async function execute(index) {
|
|
48
35
|
var _data;
|
|
49
36
|
const workflowId = this.getNodeParameter("workflowId", index);
|
|
@@ -7,15 +7,6 @@ var listRuns_operation_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
7
7
|
execute: () => execute
|
|
8
8
|
});
|
|
9
9
|
const description = [{
|
|
10
|
-
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.",
|
|
11
|
-
name: "workflowBetaNotice",
|
|
12
|
-
type: "notice",
|
|
13
|
-
default: "",
|
|
14
|
-
displayOptions: { show: {
|
|
15
|
-
resource: ["workflows"],
|
|
16
|
-
operation: ["listRuns"]
|
|
17
|
-
} }
|
|
18
|
-
}, {
|
|
19
10
|
displayName: "Workflow ID",
|
|
20
11
|
name: "workflowId",
|
|
21
12
|
type: "string",
|