@pipedream/pcloud 0.3.8 → 0.4.0

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/README.md CHANGED
@@ -1,24 +1,11 @@
1
1
  # Overview
2
2
 
3
- The pCloud API allows you to build a variety of products and applications that
4
- integrate with the pCloud service. With the pCloud API, you can get access to a
5
- wide range of features, including:
3
+ The pCloud API allows for direct interaction with your pCloud account, providing access to files and folders within your cloud storage. With Pipedream, you can automate file management tasks such as uploading, downloading, and synchronizing files. Additionally, you can create workflows to organize your cloud storage, share files with team members, or back up important data from various sources.
6
4
 
7
- - Storage for cloud-based file sharing
8
- - Automated synchronization of content
9
- - Content and account management
10
- - Automation of user-related tasks
11
- - Programmatic access to all pCloud services
5
+ # Example Use Cases
12
6
 
13
- With pCloud, you can easily build:
7
+ - **Automated Backup from GitHub to pCloud**: Upon a new GitHub release, Pipedream can trigger a workflow that archives the repository and uploads the zip file to a designated pCloud folder. This ensures your codebase is backed up at every significant milestone.
14
8
 
15
- - Web and mobile applications
16
- - Cloud-based backup & storage services
17
- - Content management solutions
18
- - User authentication & identities
19
- - File collaboration & sharing
20
- - Automated media streaming
21
- - Photo & video sharing services
22
- - Online Photo & Video Editor
23
- - Business process automation
24
- - Business intelligence & analytics
9
+ - **Image Sync with Social Media**: When a new photo is posted to your Instagram account, Pipedream can automatically save a copy to a specific pCloud album. This workflow keeps a cloud backup of your social media imagery without manual intervention.
10
+
11
+ - **Receipt Collection from Email**: Pipedream can monitor your email inbox for messages containing receipts and save the attachments directly to a pCloud folder. This can be particularly useful for expense tracking and reporting.
@@ -7,7 +7,12 @@ export default {
7
7
  name: "Copy File",
8
8
  description:
9
9
  "Copy a file to the specified destination. [See the docs here](https://docs.pcloud.com/methods/file/copyfile.html)",
10
- version: "0.0.4",
10
+ version: "0.0.5",
11
+ annotations: {
12
+ destructiveHint: false,
13
+ openWorldHint: true,
14
+ readOnlyHint: false,
15
+ },
11
16
  type: "action",
12
17
  props: {
13
18
  ...common.props,
@@ -6,7 +6,12 @@ export default {
6
6
  key: "pcloud-copy-folder",
7
7
  name: "Copy Folder",
8
8
  description: "Copy a folder to the specified folder. [See the docs here](https://docs.pcloud.com/methods/folder/copyfolder.html)",
9
- version: "0.0.4",
9
+ version: "0.0.5",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: false,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  ...common.props,
@@ -7,7 +7,12 @@ export default {
7
7
  name: "Create Folder",
8
8
  description:
9
9
  "Create a folder in the specified folder. [See the docs here](https://docs.pcloud.com/methods/folder/createfolder.html)",
10
- version: "0.0.4",
10
+ version: "0.0.5",
11
+ annotations: {
12
+ destructiveHint: false,
13
+ openWorldHint: true,
14
+ readOnlyHint: false,
15
+ },
11
16
  type: "action",
12
17
  props: {
13
18
  ...common.props,
@@ -6,7 +6,12 @@ export default {
6
6
  key: "pcloud-download-files",
7
7
  name: "Download File(s)",
8
8
  description: "Download one or more files to a folder. [See the docs here](https://docs.pcloud.com/methods/file/downloadfile.html)",
9
- version: "0.0.4",
9
+ version: "0.0.5",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: false,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  ...common.props,
@@ -6,7 +6,12 @@ export default {
6
6
  key: "pcloud-list-contents",
7
7
  name: "List Contents",
8
8
  description: "Get the contents of the specified folder. [See the docs here](https://docs.pcloud.com/methods/folder/listfolder.html)",
9
- version: "0.0.4",
9
+ version: "0.0.5",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: true,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  ...common.props,
@@ -0,0 +1,26 @@
1
+ import pcloud from "../../pcloud.app.mjs";
2
+
3
+ export default {
4
+ key: "pcloud-list-file-id-options",
5
+ name: "List File ID Options",
6
+ description: "Retrieves available options for the File ID field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ pcloud,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await pcloud.propDefinitions.fileId.options.call(this.pcloud, {});
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${
20
+ options.length === 1
21
+ ? ""
22
+ : "s"
23
+ }`);
24
+ return options;
25
+ },
26
+ };
@@ -0,0 +1,26 @@
1
+ import pcloud from "../../pcloud.app.mjs";
2
+
3
+ export default {
4
+ key: "pcloud-list-folder-id-options",
5
+ name: "List Folder ID Options",
6
+ description: "Retrieves available options for the Folder ID field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ pcloud,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await pcloud.propDefinitions.folderId.options.call(this.pcloud, {});
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${
20
+ options.length === 1
21
+ ? ""
22
+ : "s"
23
+ }`);
24
+ return options;
25
+ },
26
+ };
@@ -6,7 +6,12 @@ export default {
6
6
  key: "pcloud-move-file",
7
7
  name: "Move File",
8
8
  description: "Moves a file to the specified destination. [See the docs here](https://docs.pcloud.com/methods/file/renamefile.html)",
9
- version: "0.0.2",
9
+ version: "0.0.3",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: false,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  ...common.props,
@@ -6,7 +6,12 @@ export default {
6
6
  key: "pcloud-move-folder",
7
7
  name: "Move Folder",
8
8
  description: "Moves a folder to the specified destination. [See the docs here](https://docs.pcloud.com/methods/folder/renamefolder.html)",
9
- version: "0.0.2",
9
+ version: "0.0.3",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: false,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  ...common.props,
@@ -6,7 +6,12 @@ export default {
6
6
  key: "pcloud-rename-file",
7
7
  name: "Rename File",
8
8
  description: "Renames a file. [See the docs here](https://docs.pcloud.com/methods/file/renamefile.html)",
9
- version: "0.0.2",
9
+ version: "0.0.3",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: false,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  ...common.props,
@@ -6,7 +6,12 @@ export default {
6
6
  key: "pcloud-rename-folder",
7
7
  name: "Rename Folder",
8
8
  description: "Renames a folder. [See the docs here](https://docs.pcloud.com/methods/folder/renamefolder.html)",
9
- version: "0.0.2",
9
+ version: "0.0.3",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: false,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  ...common.props,
@@ -8,7 +8,12 @@ export default {
8
8
  name: "Upload File",
9
9
  description:
10
10
  "Upload a file to the specified folder. [See the docs here](https://docs.pcloud.com/methods/file/uploadfile.html)",
11
- version: "0.0.4",
11
+ version: "0.0.5",
12
+ annotations: {
13
+ destructiveHint: false,
14
+ openWorldHint: true,
15
+ readOnlyHint: false,
16
+ },
12
17
  type: "action",
13
18
  props: {
14
19
  ...common.props,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/pcloud",
3
- "version": "0.3.8",
3
+ "version": "0.4.0",
4
4
  "description": "Pipedream pCloud Components",
5
5
  "main": "pcloud.app.mjs",
6
6
  "keywords": [
@@ -10,9 +10,9 @@
10
10
  "homepage": "https://pipedream.com/apps/pcloud",
11
11
  "author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
12
12
  "dependencies": {
13
- "@pipedream/platform": "^1.2.0",
13
+ "@pipedream/platform": "^1.6.8",
14
14
  "async-retry": "^1.3.1",
15
- "lodash": "^4.17.20",
15
+ "lodash": "^4.18.1",
16
16
  "pcloud-sdk-js": "^2.0.0"
17
17
  },
18
18
  "publishConfig": {