@pipedream/click2mail2 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.
|
@@ -6,7 +6,7 @@ import { FORMATS } from "../../common/constants.mjs";
|
|
|
6
6
|
export default {
|
|
7
7
|
key: "click2mail2-create-document",
|
|
8
8
|
name: "Create Document",
|
|
9
|
-
version: "1.0.
|
|
9
|
+
version: "1.0.1",
|
|
10
10
|
description: "Creates a new document in your account from an uploaded file or a URL. [See the documentation for file](https://developers.click2mail.com/reference/createdocument_1). [See the documentation for URL](https://developers.click2mail.com/reference/createdocumentfromurl)",
|
|
11
11
|
type: "action",
|
|
12
12
|
props: {
|
|
@@ -34,6 +34,12 @@ export default {
|
|
|
34
34
|
label: "File Path Or Url",
|
|
35
35
|
description: "Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/myFile.pdf`).",
|
|
36
36
|
},
|
|
37
|
+
syncDir: {
|
|
38
|
+
type: "dir",
|
|
39
|
+
accessMode: "read",
|
|
40
|
+
sync: true,
|
|
41
|
+
optional: true,
|
|
42
|
+
},
|
|
37
43
|
},
|
|
38
44
|
async run({ $ }) {
|
|
39
45
|
const {
|