Skip to content

Commit 6f55115

Browse files
committed
[Components] agrello #13863
Sources - New Signature (Instant) - New Signed Document (Instant) - New Document Actions - Get Document
1 parent e4d26ca commit 6f55115

File tree

13 files changed

+344
-422
lines changed

13 files changed

+344
-422
lines changed

components/agrello/actions/create-document-from-template/create-document-from-template.mjs

Lines changed: 0 additions & 83 deletions
This file was deleted.

components/agrello/actions/get-document/get-document.mjs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,32 @@
11
import agrello from "../../agrello.app.mjs";
2-
import { axios } from "@pipedream/platform";
32

43
export default {
54
key: "agrello-get-document",
65
name: "Get Document",
76
description: "Get a document in Agrello. [See the documentation](https://api.agrello.io/public/webjars/swagger-ui/index.html)",
8-
version: "0.0.{{ts}}",
7+
version: "0.0.1",
98
type: "action",
109
props: {
1110
agrello,
11+
folderId: {
12+
propDefinition: [
13+
agrello,
14+
"folderId",
15+
],
16+
},
1217
documentId: {
1318
propDefinition: [
1419
agrello,
1520
"documentId",
21+
({ folderId }) => ({
22+
folderId,
23+
}),
1624
],
1725
},
1826
},
1927
async run({ $ }) {
2028
const response = await this.agrello.getDocument({
29+
$,
2130
documentId: this.documentId,
2231
});
2332
$.export("$summary", `Successfully retrieved document with ID ${this.documentId}`);

components/agrello/actions/upload-document/upload-document.mjs

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)