You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Mails a PDF document to a destination. [See the documentation](https://apiv3.onlinecheckwriter.com/#878daf05-e36e-44a2-bce8-15f24d72f82e).",
10
-
version: "0.0.1",
9
+
version: "0.1.0",
11
10
type: "action",
12
11
props: {
13
12
app,
@@ -19,8 +18,8 @@ export default {
19
18
},
20
19
filePath: {
21
20
type: "string",
22
-
label: "File Path",
23
-
description: "The path to the pdf file saved to the `/tmp` directory (e.g. `/tmp/example.pdf`). [See the documentation](https://pipedream.com/docs/workflows/steps/code/nodejs/working-with-files/#the-tmp-directory).",
21
+
label: "File Path or URL",
22
+
description: "The PDF file to upload. Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/myFile.pdf`)",
24
23
},
25
24
shippingTypeId: {
26
25
optional: false,
@@ -167,12 +166,8 @@ export default {
167
166
destinationEmail,
168
167
}=this;
169
168
170
-
if(!filePath?.startsWith("/tmp/")){
171
-
thrownewConfigurationError("The file path must start with `/tmp/`.");
Copy file name to clipboardExpand all lines: components/pandadoc/actions/create-document-from-file/create-document-from-file.mjs
+5-19Lines changed: 5 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -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: "0.0.8",
10
+
version: "1.0.0",
11
11
props: {
12
12
app,
13
13
name: {
@@ -27,13 +27,6 @@ export default {
27
27
app,
28
28
"file",
29
29
],
30
-
optional: true,
31
-
},
32
-
fileUrl: {
33
-
type: "string",
34
-
label: "File URL",
35
-
description: "A public file URL to use instead of a local file.",
36
-
optional: true,
37
30
},
38
31
documentFolderId: {
39
32
propDefinition: [
@@ -55,7 +48,6 @@ export default {
55
48
name,
56
49
recipients,
57
50
file,
58
-
fileUrl,
59
51
documentFolderId,
60
52
}=this;
61
53
@@ -66,7 +58,7 @@ export default {
66
58
thrownewConfigurationError("**Error parsing recipients** - each must be a valid JSON-stringified object");
Copy file name to clipboardExpand all lines: components/pandadoc/pandadoc.app.mjs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -88,8 +88,8 @@ export default {
88
88
},
89
89
file: {
90
90
type: "string",
91
-
label: "File",
92
-
description: "The file to upload from the `/tmp` folder. [See the docs here](https://pipedream.com/docs/code/nodejs/working-with-files/#writing-a-file-to-tmp) on how to upload a file to `/tmp`.",
91
+
label: "File Path or URL",
92
+
description: "The file to upload. Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/myFile.txt`)",
Copy file name to clipboardExpand all lines: components/pdf4me/actions/convert-to-pdf/convert-to-pdf.mjs
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,11 @@
1
1
importpdf4mefrom"../../pdf4me.app.mjs";
2
2
importutilsfrom"../../common/utils.mjs";
3
-
importfsfrom"fs";
4
3
5
4
exportdefault{
6
5
key: "pdf4me-convert-to-pdf",
7
6
name: "Convert to PDF",
8
7
description: "Convert a document (e.g., DOCX, XLSX, PPTX) to PDF. [See the documentation](https://dev.pdf4me.com/apiv2/documentation/actions/convert-to-pdf/)",
Copy file name to clipboardExpand all lines: components/pdf4me/actions/merge-pdfs/merge-pdfs.mjs
+5-8Lines changed: 5 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,18 @@
1
1
importpdf4mefrom"../../pdf4me.app.mjs";
2
2
importutilsfrom"../../common/utils.mjs";
3
-
importfsfrom"fs";
4
3
5
4
exportdefault{
6
5
key: "pdf4me-merge-pdfs",
7
6
name: "Merge PDF Files",
8
7
description: "Merge multiple PDF files into a single PDF. [See the documentation](https://dev.pdf4me.com/apiv2/documentation/actions/merge/)",
9
-
version: "0.0.1",
8
+
version: "0.1.0",
10
9
type: "action",
11
10
props: {
12
11
pdf4me,
13
12
filePaths: {
14
13
type: "string[]",
15
-
label: "File Paths",
16
-
description: "An array of paths to a PDF files in the `/tmp` directory. [See the documentation on working with files](https://pipedream.com/docs/code/nodejs/working-with-files/#writing-a-file-to-tmp)",
14
+
label: "File Paths or URLs",
15
+
description: "The files to process. For each entry, provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/myFile.pdf`)",
0 commit comments