Skip to content

Commit 8060d57

Browse files
committed
Merge remote-tracking branch 'origin/master' into hubspot-updates
2 parents f9cfc85 + 679538a commit 8060d57

File tree

124 files changed

+4572
-434
lines changed

Some content is hidden

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

124 files changed

+4572
-434
lines changed
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: "adobe_photoshop",
4+
propDefinitions: {},
5+
methods: {
6+
// this.$auth contains connected account data
7+
authKeys() {
8+
console.log(Object.keys(this.$auth));
9+
},
10+
},
11+
};
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@pipedream/adobe_photoshop",
3+
"version": "0.0.1",
4+
"description": "Pipedream Adobe Photoshop Components",
5+
"main": "adobe_photoshop.app.mjs",
6+
"keywords": [
7+
"pipedream",
8+
"adobe_photoshop"
9+
],
10+
"homepage": "https://pipedream.com/apps/adobe_photoshop",
11+
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
12+
"publishConfig": {
13+
"access": "public"
14+
}
15+
}

components/airship/airship.app.mjs

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: "airship",
4+
propDefinitions: {},
5+
methods: {
6+
// this.$auth contains connected account data
7+
authKeys() {
8+
console.log(Object.keys(this.$auth));
9+
},
10+
},
11+
};

components/airship/package.json

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

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.0.6",
6+
version: "0.0.8",
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export default {
22
MESSAGE_MODELS: [
3+
"claude-3-5-sonnet-20240620",
34
"claude-3-opus-20240229",
45
"claude-3-sonnet-20240229",
56
"claude-3-haiku-20240307",

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.0.8",
3+
"version": "0.0.10",
44
"description": "Pipedream Anthropic (Claude) Components",
55
"main": "anthropic.app.mjs",
66
"keywords": [
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: "d2l_brightspace",
4+
propDefinitions: {},
5+
methods: {
6+
// this.$auth contains connected account data
7+
authKeys() {
8+
console.log(Object.keys(this.$auth));
9+
},
10+
},
11+
};
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@pipedream/d2l_brightspace",
3+
"version": "0.0.1",
4+
"description": "Pipedream D2L Brightspace Components",
5+
"main": "d2l_brightspace.app.mjs",
6+
"keywords": [
7+
"pipedream",
8+
"d2l_brightspace"
9+
],
10+
"homepage": "https://pipedream.com/apps/d2l_brightspace",
11+
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
12+
"publishConfig": {
13+
"access": "public"
14+
}
15+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
import FormData from "form-data";
2+
import fs from "fs";
3+
import { checkTmp } from "../../common/utils.mjs";
4+
import documentpro from "../../documentpro.app.mjs";
5+
6+
export default {
7+
key: "documentpro-new-document",
8+
name: "Upload New Document",
9+
description: "Uploads a document to DocumentPro's parser. [See the documentation](https://docs.documentpro.ai/docs/using-api/manage-documents/import-files)",
10+
version: "0.0.1",
11+
type: "action",
12+
props: {
13+
documentpro,
14+
parserId: {
15+
propDefinition: [
16+
documentpro,
17+
"parserId",
18+
],
19+
},
20+
document: {
21+
propDefinition: [
22+
documentpro,
23+
"document",
24+
],
25+
},
26+
},
27+
async run({ $ }) {
28+
const formData = new FormData();
29+
const file = fs.createReadStream(checkTmp(this.document));
30+
formData.append("file", file);
31+
32+
const response = await this.documentpro.uploadDocument({
33+
parserId: this.parserId,
34+
data: formData,
35+
headers: formData.getHeaders(),
36+
});
37+
38+
$.export("$summary", `Successfully uploaded document with Id: ${response.request_id}`);
39+
return response;
40+
},
41+
};

0 commit comments

Comments
 (0)