@pipedream/pandadoc 1.0.0 → 1.0.1
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/actions/create-document-attachment/create-document-attachment.mjs +7 -1
- package/actions/create-document-from-file/create-document-from-file.mjs +7 -1
- package/actions/download-document/download-document.mjs +6 -1
- package/actions/download-protected-document/download-protected-document.mjs +6 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
name: "Create Document Attachment",
|
|
8
8
|
description: "Adds an attachment to a document. [See the documentation here](https://developers.pandadoc.com/reference/create-document-attachment)",
|
|
9
9
|
type: "action",
|
|
10
|
-
version: "0.1.
|
|
10
|
+
version: "0.1.1",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
13
13
|
documentId: {
|
|
@@ -27,6 +27,12 @@ export default {
|
|
|
27
27
|
label: "File Name",
|
|
28
28
|
description: "A name you want to set for a file in the system",
|
|
29
29
|
},
|
|
30
|
+
syncDir: {
|
|
31
|
+
type: "dir",
|
|
32
|
+
accessMode: "read",
|
|
33
|
+
sync: true,
|
|
34
|
+
optional: true,
|
|
35
|
+
},
|
|
30
36
|
},
|
|
31
37
|
methods: {
|
|
32
38
|
async getFormData(file, fileName) {
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
name: "Create Document From File",
|
|
8
8
|
description: "Create a document from a file or public file URL. [See the documentation here](https://developers.pandadoc.com/reference/create-document-from-pdf)",
|
|
9
9
|
type: "action",
|
|
10
|
-
version: "1.0.
|
|
10
|
+
version: "1.0.1",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
13
13
|
name: {
|
|
@@ -41,6 +41,12 @@ export default {
|
|
|
41
41
|
\nE.g. \`{ "name": { "value": "Jane", "role": "user" }, "like": { "value": true, "role": "user" } }\``,
|
|
42
42
|
optional: true,
|
|
43
43
|
},
|
|
44
|
+
syncDir: {
|
|
45
|
+
type: "dir",
|
|
46
|
+
accessMode: "read",
|
|
47
|
+
sync: true,
|
|
48
|
+
optional: true,
|
|
49
|
+
},
|
|
44
50
|
},
|
|
45
51
|
methods: createDocumentAttachment.methods,
|
|
46
52
|
async run({ $ }) {
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
description:
|
|
8
8
|
"Download a document as PDF. [See documentation here](https://developers.pandadoc.com/reference/download-document)",
|
|
9
9
|
type: "action",
|
|
10
|
-
version: "0.0.
|
|
10
|
+
version: "0.0.2",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
13
13
|
id: {
|
|
@@ -34,6 +34,11 @@ export default {
|
|
|
34
34
|
"separateFiles",
|
|
35
35
|
],
|
|
36
36
|
},
|
|
37
|
+
syncDir: {
|
|
38
|
+
type: "dir",
|
|
39
|
+
accessMode: "write",
|
|
40
|
+
sync: true,
|
|
41
|
+
},
|
|
37
42
|
},
|
|
38
43
|
additionalProps() {
|
|
39
44
|
return this.showWatermark
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
description:
|
|
8
8
|
"Download a completed document as a verifiable PDF. [See documentation here](https://developers.pandadoc.com/reference/download-protected-document)",
|
|
9
9
|
type: "action",
|
|
10
|
-
version: "0.0.
|
|
10
|
+
version: "0.0.2",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
13
13
|
id: {
|
|
@@ -28,6 +28,11 @@ export default {
|
|
|
28
28
|
"separateFiles",
|
|
29
29
|
],
|
|
30
30
|
},
|
|
31
|
+
syncDir: {
|
|
32
|
+
type: "dir",
|
|
33
|
+
accessMode: "write",
|
|
34
|
+
sync: true,
|
|
35
|
+
},
|
|
31
36
|
},
|
|
32
37
|
async run({ $ }) {
|
|
33
38
|
const {
|