Skip to content

Commit 025f445

Browse files
authored
Merge branch 'master' into issue-17798
2 parents b371fdc + 544d8c8 commit 025f445

File tree

207 files changed

+1366
-1479
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+1366
-1479
lines changed

components/amplenote/tsconfig.json

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": [
4-
"es2020"
5-
],
6-
"module": "ES2020",
7-
"target": "ES2020",
8-
"moduleResolution": "node",
9-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
10-
"composite": true,
11-
"outDir": "dist",
12-
"allowSyntheticDefaultImports": true,
13-
},
14-
"allowJs": true,
15-
"include": [
16-
"app",
17-
"actions",
18-
"sources"
19-
],
20-
"exclude": [
21-
"dist",
22-
]
2+
"extends": "../../tsconfig.components.json"
233
}

components/anthropic/actions/chat/chat.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import constants from "../common/constants.mjs";
33

44
export default {
55
name: "Chat",
6-
version: "0.1.0",
6+
version: "0.2.0",
77
key: "anthropic-chat",
88
description: "The Chat API. [See the documentation](https://docs.anthropic.com/claude/reference/messages_post)",
99
type: "action",

components/anthropic/actions/common/constants.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
export default {
22
MESSAGE_MODELS: [
3+
{
4+
label: "Claude Opus 4.1",
5+
value: "claude-opus-4-1-20250805",
6+
},
37
{
48
label: "Claude Opus 4",
59
value: "claude-opus-4-20250514",

components/anthropic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/anthropic",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Pipedream Anthropic (Claude) Components",
55
"main": "anthropic.app.mjs",
66
"keywords": [
Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": ["es2020"],
4-
"module": "ES2020",
5-
"target": "ES2020",
6-
"moduleResolution": "node",
7-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
8-
"composite": true,
9-
"outDir": "dist",
10-
"allowSyntheticDefaultImports": true,
11-
},
12-
"allowJs": true,
13-
"include": [
14-
"app",
15-
"actions",
16-
"sources",
17-
"common",
18-
],
19-
"exclude": [
20-
"dist",
21-
]
22-
}
2+
"extends": "../../tsconfig.components.json"
3+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
export default {
2+
type: "app",
3+
app: "attentive",
4+
propDefinitions: {},
5+
methods: {
6+
// this.$auth contains connected account data
7+
authKeys() {
8+
console.log(Object.keys(this.$auth));
9+
},
10+
},
11+
};

components/attentive/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@pipedream/attentive",
3+
"version": "0.0.1",
4+
"description": "Pipedream Attentive Components",
5+
"main": "attentive.app.mjs",
6+
"keywords": [
7+
"pipedream",
8+
"attentive"
9+
],
10+
"homepage": "https://pipedream.com/apps/attentive",
11+
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
12+
"publishConfig": {
13+
"access": "public"
14+
}
15+
}

components/baserow/tsconfig.json

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": [
4-
"es2020"
5-
],
6-
"module": "ES2020",
7-
"target": "ES2020",
8-
"moduleResolution": "node",
9-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
10-
"composite": true,
11-
"outDir": "dist",
12-
"allowSyntheticDefaultImports": true,
13-
},
14-
"allowJs": true,
15-
"include": [
16-
"app",
17-
"actions",
18-
"sources",
19-
"common"
20-
],
21-
"exclude": [
22-
"dist",
23-
]
2+
"extends": "../../tsconfig.components.json"
243
}

components/beehiiv/tsconfig.json

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": ["es2020"],
4-
"module": "ES2020",
5-
"target": "ES2020",
6-
"moduleResolution": "node",
7-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
8-
"composite": true,
9-
"outDir": "dist",
10-
"allowSyntheticDefaultImports": true,
11-
},
12-
"allowJs": true,
13-
"include": [
14-
"app",
15-
"actions",
16-
"sources"
17-
],
18-
"exclude": [
19-
"dist",
20-
]
21-
}
2+
"extends": "../../tsconfig.components.json"
3+
}
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
import { ConfigurationError } from "@pipedream/platform";
2+
import app from "../../box.app.mjs";
3+
import utils from "../../common/utils.mjs";
4+
5+
export default {
6+
name: "Create Box Sign Request",
7+
description: "Creates a signature request. This involves preparing a document for signing and sending the signature request to signers. [See the documentation](https://developer.box.com/reference/post-sign-requests/).",
8+
key: "box-create-sign-request",
9+
version: "0.0.1",
10+
type: "action",
11+
props: {
12+
app,
13+
signers: {
14+
type: "string[]",
15+
label: "Signers",
16+
description: "Array of signers for the signature request. Each signer should be a JSON object with at least an email property. [See the documentation](https://developer.box.com/reference/post-sign-requests/#param-signers) for more information. Example: `{\"email\": \"[email protected]\", \"role\": \"signer\"}`",
17+
},
18+
name: {
19+
type: "string",
20+
label: "Request Name",
21+
description: "Name of the signature request",
22+
optional: true,
23+
},
24+
parentFolder: {
25+
propDefinition: [
26+
app,
27+
"parentId",
28+
],
29+
label: "Parent Folder",
30+
description: "The destination folder to place final, signed document and signing log. Uses root folder (0) if not specified",
31+
optional: true,
32+
},
33+
emailSubject: {
34+
type: "string",
35+
label: "Email Subject",
36+
description: "Subject of sign request email. If not provided, a default subject will be used",
37+
optional: true,
38+
},
39+
emailMessage: {
40+
type: "string",
41+
label: "Email Message",
42+
description: "Message to include in sign request email. If not provided, a default message will be used",
43+
optional: true,
44+
},
45+
redirectUrl: {
46+
type: "string",
47+
label: "Redirect URL",
48+
description: "The URI that a signer will be redirected to after signing a document",
49+
optional: true,
50+
},
51+
declinedRedirectUrl: {
52+
type: "string",
53+
label: "Declined Redirect URL",
54+
description: "The URI that a signer will be redirected to after declining to sign a document",
55+
optional: true,
56+
},
57+
additionalOptions: {
58+
type: "object",
59+
label: "Additional Options",
60+
description: "Additional parameters to send in the request. See the [documentation](https://developer.box.com/reference/post-sign-requests/) for all available parameters. Values will be parsed as JSON where applicable",
61+
optional: true,
62+
},
63+
},
64+
async run({ $ }) {
65+
const {
66+
signers,
67+
name,
68+
parentFolder,
69+
emailSubject,
70+
emailMessage,
71+
redirectUrl,
72+
declinedRedirectUrl,
73+
additionalOptions,
74+
} = this;
75+
76+
const parsedSigners = signers.map((signer) => {
77+
try {
78+
return typeof signer === "string"
79+
? JSON.parse(signer)
80+
: signer;
81+
} catch (error) {
82+
throw new ConfigurationError(`Error parsing signer as JSON: ${error}`);
83+
}
84+
});
85+
86+
const data = {
87+
signers: parsedSigners,
88+
name,
89+
email_subject: emailSubject,
90+
email_message: emailMessage,
91+
redirect_url: redirectUrl,
92+
declined_redirect_url: declinedRedirectUrl,
93+
...(additionalOptions
94+
? utils.parseObjectEntries(additionalOptions)
95+
: {}),
96+
};
97+
98+
if (parentFolder) {
99+
data.parent_folder = {
100+
id: parentFolder,
101+
type: "folder",
102+
};
103+
}
104+
105+
const response = await this.app.createSignRequest({
106+
$,
107+
data,
108+
});
109+
110+
$.export("$summary", `Successfully created Box sign request (ID: ${response.id})`);
111+
return response;
112+
},
113+
};

0 commit comments

Comments
 (0)