@activepieces/piece-google-drive 0.8.0 → 0.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@activepieces/piece-google-drive",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "main": "./src/index.js",
5
5
  "dependencies": {},
6
6
  "files": [
@@ -15,6 +15,41 @@
15
15
  "Move File": "Move File",
16
16
  "Delete file": "Delete file",
17
17
  "Trash file": "Trash file",
18
+ "Create Folder": "Create Folder",
19
+ "Create File from Text": "Create File from Text",
20
+ "Upload File": "Upload File",
21
+ "Upload File from URL": "Upload File from URL",
22
+ "Replace File Content": "Replace File Content",
23
+ "Download File Content": "Download File Content",
24
+ "Export Google Doc/Sheet/Slides": "Export Google Doc/Sheet/Slides",
25
+ "Get File or Folder": "Get File or Folder",
26
+ "List Folder Contents": "List Folder Contents",
27
+ "Search Files and Folders": "Search Files and Folders",
28
+ "Copy File": "Copy File",
29
+ "Update File Metadata (Rename)": "Update File Metadata (Rename)",
30
+ "Save File as PDF": "Save File as PDF",
31
+ "Trash File": "Trash File",
32
+ "Restore File from Trash": "Restore File from Trash",
33
+ "Delete File Permanently": "Delete File Permanently",
34
+ "Empty Trash": "Empty Trash",
35
+ "Share File with User": "Share File with User",
36
+ "Set Public Access": "Set Public Access",
37
+ "List Permissions": "List Permissions",
38
+ "Update Permission Role": "Update Permission Role",
39
+ "Remove Permission": "Remove Permission",
40
+ "List Shared Drives": "List Shared Drives",
41
+ "Get Shared Drive": "Get Shared Drive",
42
+ "Create Shared Drive": "Create Shared Drive",
43
+ "Update Shared Drive": "Update Shared Drive",
44
+ "Delete Shared Drive": "Delete Shared Drive",
45
+ "Create Comment": "Create Comment",
46
+ "List Comments": "List Comments",
47
+ "Reply to Comment": "Reply to Comment",
48
+ "Get Reply": "Get Reply",
49
+ "List Replies": "List Replies",
50
+ "Update Reply": "Update Reply",
51
+ "Delete Reply": "Delete Reply",
52
+ "Get Account & Storage Info": "Get Account & Storage Info",
18
53
  "Custom API Call": "Custom API Call",
19
54
  "Create a new empty folder in your Google Drive": "Create a new empty folder in your Google Drive",
20
55
  "Create a new text file in your Google Drive from text": "Create a new text file in your Google Drive from text",
@@ -31,6 +66,33 @@
31
66
  "Moves a file from one folder to another.": "Moves a file from one folder to another.",
32
67
  "Delete permanently a file from your Google Drive": "Delete permanently a file from your Google Drive",
33
68
  "Move a file to the trash in your Google Drive": "Move a file to the trash in your Google Drive",
69
+ "Fetch a file from a public URL and upload it into Google Drive.": "Fetch a file from a public URL and upload it into Google Drive.",
70
+ "Replace an existing Drive file's bytes, keeping its ID and name.": "Replace an existing Drive file's bytes, keeping its ID and name.",
71
+ "Export a native Google Workspace file (Doc/Sheet/Slides) to a chosen format.": "Export a native Google Workspace file (Doc/Sheet/Slides) to a chosen format.",
72
+ "Move a Drive file from its current folder(s) to a target folder.": "Move a Drive file from its current folder(s) to a target folder.",
73
+ "Rename a Drive file/folder or update its description or starred flag (metadata only).": "Rename a Drive file/folder or update its description or starred flag (metadata only).",
74
+ "Move a Drive file to the trash by ID (reversible deletion).": "Move a Drive file to the trash by ID (reversible deletion).",
75
+ "Restore a trashed Drive file by ID back to its original location.": "Restore a trashed Drive file by ID back to its original location.",
76
+ "Permanently delete a Drive file by ID, bypassing the trash.": "Permanently delete a Drive file by ID, bypassing the trash.",
77
+ "Permanently delete ALL files in the trash (irreversible, account-wide).": "Permanently delete ALL files in the trash (irreversible, account-wide).",
78
+ "Grant a role on a Drive file or folder to a user by email.": "Grant a role on a Drive file or folder to a user by email.",
79
+ "Make a Drive file or folder accessible to anyone with the link.": "Make a Drive file or folder accessible to anyone with the link.",
80
+ "List every permission on a Drive file or folder.": "List every permission on a Drive file or folder.",
81
+ "Change an existing collaborator's role on a Drive file or folder.": "Change an existing collaborator's role on a Drive file or folder.",
82
+ "Revoke a role from a user on a Drive file or folder.": "Revoke a role from a user on a Drive file or folder.",
83
+ "List the shared drives the account can access.": "List the shared drives the account can access.",
84
+ "Fetch metadata for one shared drive by ID.": "Fetch metadata for one shared drive by ID.",
85
+ "Create a new shared drive (Team Drive).": "Create a new shared drive (Team Drive).",
86
+ "Rename or update a shared drive by ID.": "Rename or update a shared drive by ID.",
87
+ "Permanently delete a shared drive by ID.": "Permanently delete a shared drive by ID.",
88
+ "Add a new comment to a Drive file.": "Add a new comment to a Drive file.",
89
+ "List the comments on a Drive file.": "List the comments on a Drive file.",
90
+ "Add a reply to an existing comment on a Drive file.": "Add a reply to an existing comment on a Drive file.",
91
+ "Fetch a single reply on a Drive comment by ID.": "Fetch a single reply on a Drive comment by ID.",
92
+ "List the replies under a Drive comment.": "List the replies under a Drive comment.",
93
+ "Edit the text of an existing reply on a Drive comment.": "Edit the text of an existing reply on a Drive comment.",
94
+ "Permanently delete a reply on a Drive comment by ID.": "Permanently delete a reply on a Drive comment by ID.",
95
+ "Get the authenticated Drive account, storage quota, and supported formats.": "Get the authenticated Drive account, storage quota, and supported formats.",
34
96
  "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
35
97
  "Folder name": "Folder name",
36
98
  "Parent Folder": "Parent Folder",
@@ -57,6 +119,26 @@
57
119
  "User email": "User email",
58
120
  "Role": "Role",
59
121
  "Send invitation email": "Send invitation email",
122
+ "Parent Folder ID": "Parent Folder ID",
123
+ "Source URL": "Source URL",
124
+ "MIME Type": "MIME Type",
125
+ "New File Content": "New File Content",
126
+ "Export Format": "Export Format",
127
+ "File / Folder ID": "File / Folder ID",
128
+ "Destination Folder ID": "Destination Folder ID",
129
+ "New Name": "New Name",
130
+ "Description": "Description",
131
+ "Starred": "Starred",
132
+ "Shared Drive ID": "Shared Drive ID",
133
+ "User Email": "User Email",
134
+ "Send Invitation Email": "Send Invitation Email",
135
+ "New Role": "New Role",
136
+ "Query": "Query",
137
+ "Page Size": "Page Size",
138
+ "Content": "Content",
139
+ "Comment ID": "Comment ID",
140
+ "Action": "Action",
141
+ "Reply ID": "Reply ID",
60
142
  "Method": "Method",
61
143
  "Headers": "Headers",
62
144
  "Query Parameters": "Query Parameters",
@@ -100,6 +182,68 @@
100
182
  "You can use **Search Folder/File** action to retrieve ID.": "You can use **Search Folder/File** action to retrieve ID.",
101
183
  "The ID of the file to delete": "The ID of the file to delete",
102
184
  "The ID of the file to trash": "The ID of the file to trash",
185
+ "The ID of the folder to create the new folder inside. Leave empty to create it in the root of My Drive. Resolve a folder ID with `drive_search_files`.": "The ID of the folder to create the new folder inside. Leave empty to create it in the root of My Drive. Resolve a folder ID with `drive_search_files`.",
186
+ "The ID of the folder to create the file inside. Leave empty to create it in the root of My Drive. Resolve a folder ID with `drive_search_files`.": "The ID of the folder to create the file inside. Leave empty to create it in the root of My Drive. Resolve a folder ID with `drive_search_files`.",
187
+ "The ID of the folder to upload the file into. Leave empty to upload to the root of My Drive. Resolve a folder ID with `drive_search_files`.": "The ID of the folder to upload the file into. Leave empty to upload to the root of My Drive. Resolve a folder ID with `drive_search_files`.",
188
+ "The publicly accessible URL to fetch the file from. Only public URLs are supported (no authentication headers are sent).": "The publicly accessible URL to fetch the file from. Only public URLs are supported (no authentication headers are sent).",
189
+ "The name to give the uploaded file in Drive.": "The name to give the uploaded file in Drive.",
190
+ "Optional MIME type for the uploaded file (e.g. application/pdf). Provide this when the URL has no file extension; otherwise the type is inferred from the URL.": "Optional MIME type for the uploaded file (e.g. application/pdf). Provide this when the URL has no file extension; otherwise the type is inferred from the URL.",
191
+ "The ID of the existing file whose content to replace. Resolve it via `drive_search_files` or `drive_get_file`.": "The ID of the existing file whose content to replace. Resolve it via `drive_search_files` or `drive_get_file`.",
192
+ "The file URL or base64 whose bytes will replace the existing content.": "The file URL or base64 whose bytes will replace the existing content.",
193
+ "Optional MIME type for the new content (e.g. application/pdf). Provide this when the source has no file extension; otherwise the type is inferred from the extension.": "Optional MIME type for the new content (e.g. application/pdf). Provide this when the source has no file extension; otherwise the type is inferred from the extension.",
194
+ "The ID of the file to download. Resolve it via `drive_search_files` or `drive_get_file`.": "The ID of the file to download. Resolve it via `drive_search_files` or `drive_get_file`.",
195
+ "The ID of the native Google Workspace file to export. Resolve it via `drive_search_files` or `drive_get_file`.": "The ID of the native Google Workspace file to export. Resolve it via `drive_search_files` or `drive_get_file`.",
196
+ "The target format. It must match the source type: Doc formats for a Google Doc, Sheet formats for a Google Sheet, Slides formats for Google Slides. An incompatible pairing returns an error.": "The target format. It must match the source type: Doc formats for a Google Doc, Sheet formats for a Google Sheet, Slides formats for Google Slides. An incompatible pairing returns an error.",
197
+ "The ID of the file/folder to fetch. Resolve it via `drive_search_files` or `drive_list_files`.": "The ID of the file/folder to fetch. Resolve it via `drive_search_files` or `drive_list_files`.",
198
+ "The ID of the folder to list. Resolve it via `drive_search_files` (or any other source).": "The ID of the folder to list. Resolve it via `drive_search_files` (or any other source).",
199
+ "(Optional) Restrict the search to files/folders inside this folder ID.": "(Optional) Restrict the search to files/folders inside this folder ID.",
200
+ "The ID of the file to duplicate. Resolve it via `drive_search_files`.": "The ID of the file to duplicate. Resolve it via `drive_search_files`.",
201
+ "The ID of the folder where the file will be duplicated. Resolve it via `drive_search_files`.": "The ID of the folder where the file will be duplicated. Resolve it via `drive_search_files`.",
202
+ "The ID of the file to move. Resolve it via drive_search_files or drive_get_file.": "The ID of the file to move. Resolve it via drive_search_files or drive_get_file.",
203
+ "The ID of the folder to move the file into. Resolve it via drive_search_files; leave empty for the root of My Drive.": "The ID of the folder to move the file into. Resolve it via drive_search_files; leave empty for the root of My Drive.",
204
+ "The ID of the file or folder to update. Resolve it via `drive_search_files` or `drive_get_file`.": "The ID of the file or folder to update. Resolve it via `drive_search_files` or `drive_get_file`.",
205
+ "A new name for the file or folder. Leave empty to keep the current name.": "A new name for the file or folder. Leave empty to keep the current name.",
206
+ "A new description for the file or folder. Leave empty to keep the current description.": "A new description for the file or folder. Leave empty to keep the current description.",
207
+ "Whether to mark the file or folder as starred.": "Whether to mark the file or folder as starred.",
208
+ "The ID of the document to export. Resolve it via `drive_search_files`.": "The ID of the document to export. Resolve it via `drive_search_files`.",
209
+ "The ID of the folder where the file will be exported. Resolve it via `drive_search_files`.": "The ID of the folder where the file will be exported. Resolve it via `drive_search_files`.",
210
+ "The ID of the file to trash. Resolve it via drive_search_files or drive_get_file.": "The ID of the file to trash. Resolve it via drive_search_files or drive_get_file.",
211
+ "The ID of the trashed file to restore. Resolve it via drive_search_files or drive_get_file.": "The ID of the trashed file to restore. Resolve it via drive_search_files or drive_get_file.",
212
+ "The ID of the file to permanently delete. Resolve it via drive_search_files or drive_get_file.": "The ID of the file to permanently delete. Resolve it via drive_search_files or drive_get_file.",
213
+ "Optional. Restrict the purge to a single shared drive's trash (resolve via drive_list_shared_drives). Leave empty to empty the entire My Drive trash for the connected account.": "Optional. Restrict the purge to a single shared drive's trash (resolve via drive_list_shared_drives). Leave empty to empty the entire My Drive trash for the connected account.",
214
+ "The ID of the file or folder to share. Resolve it via drive_search_files or drive_get_file.": "The ID of the file or folder to share. Resolve it via drive_search_files or drive_get_file.",
215
+ "The email address of the user to grant access to.": "The email address of the user to grant access to.",
216
+ "The role to grant to the user. See https://developers.google.com/drive/api/guides/ref-roles": "The role to grant to the user. See https://developers.google.com/drive/api/guides/ref-roles",
217
+ "Send an email to the user to notify them of the new permission.": "Send an email to the user to notify them of the new permission.",
218
+ "The ID of the file or folder to make public. Resolve it via drive_search_files or drive_get_file.": "The ID of the file or folder to make public. Resolve it via drive_search_files or drive_get_file.",
219
+ "The role to assign for public access.": "The role to assign for public access.",
220
+ "The ID of the file or folder whose permissions to list. Resolve it via drive_search_files or drive_get_file.": "The ID of the file or folder whose permissions to list. Resolve it via drive_search_files or drive_get_file.",
221
+ "The ID of the file or folder whose permission to update. Resolve it via drive_search_files or drive_get_file.": "The ID of the file or folder whose permission to update. Resolve it via drive_search_files or drive_get_file.",
222
+ "The email address of the collaborator whose role to change. The existing permission is matched by this email; list current grants via drive_list_permissions.": "The email address of the collaborator whose role to change. The existing permission is matched by this email; list current grants via drive_list_permissions.",
223
+ "The role to set for the user. See https://developers.google.com/drive/api/guides/ref-roles": "The role to set for the user. See https://developers.google.com/drive/api/guides/ref-roles",
224
+ "The ID of the file or folder to remove the permission from. Resolve it via drive_search_files or drive_get_file.": "The ID of the file or folder to remove the permission from. Resolve it via drive_search_files or drive_get_file.",
225
+ "The email address of the user whose access to revoke.": "The email address of the user whose access to revoke.",
226
+ "The role to remove from the user. The grant is matched by email and role.": "The role to remove from the user. The grant is matched by email and role.",
227
+ "Optional search query to filter shared drives, e.g. name contains 'marketing'. See https://developers.google.com/drive/api/guides/search-shareddrives": "Optional search query to filter shared drives, e.g. name contains 'marketing'. See https://developers.google.com/drive/api/guides/search-shareddrives",
228
+ "Maximum number of shared drives to return (1-100). Defaults to 100.": "Maximum number of shared drives to return (1-100). Defaults to 100.",
229
+ "The ID of the shared drive. Resolve it via drive_list_shared_drives.": "The ID of the shared drive. Resolve it via drive_list_shared_drives.",
230
+ "The name of the new shared drive.": "The name of the new shared drive.",
231
+ "The ID of the shared drive to update. Resolve it via drive_list_shared_drives.": "The ID of the shared drive to update. Resolve it via drive_list_shared_drives.",
232
+ "The new name for the shared drive. Leave empty to keep the current name.": "The new name for the shared drive. Leave empty to keep the current name.",
233
+ "The ID of the shared drive to delete. Resolve it via drive_list_shared_drives.": "The ID of the shared drive to delete. Resolve it via drive_list_shared_drives.",
234
+ "The ID of the file to comment on. Resolve it via drive_search_files or drive_get_file.": "The ID of the file to comment on. Resolve it via drive_search_files or drive_get_file.",
235
+ "The plain-text content of the comment.": "The plain-text content of the comment.",
236
+ "The ID of the file whose comments to list. Resolve it via drive_search_files or drive_get_file.": "The ID of the file whose comments to list. Resolve it via drive_search_files or drive_get_file.",
237
+ "The ID of the file the comment belongs to. Resolve it via drive_search_files or drive_get_file.": "The ID of the file the comment belongs to. Resolve it via drive_search_files or drive_get_file.",
238
+ "The ID of the comment to reply to. Resolve it via drive_list_comments.": "The ID of the comment to reply to. Resolve it via drive_list_comments.",
239
+ "The plain-text content of the reply.": "The plain-text content of the reply.",
240
+ "Optionally change the parent comment's state: resolve (mark resolved) or reopen.": "Optionally change the parent comment's state: resolve (mark resolved) or reopen.",
241
+ "The ID of the parent comment. Resolve it via drive_list_comments.": "The ID of the parent comment. Resolve it via drive_list_comments.",
242
+ "The ID of the reply to fetch. Resolve it via drive_list_replies.": "The ID of the reply to fetch. Resolve it via drive_list_replies.",
243
+ "The ID of the comment whose replies to list. Resolve it via drive_list_comments.": "The ID of the comment whose replies to list. Resolve it via drive_list_comments.",
244
+ "The ID of the reply to update. Resolve it via drive_list_replies.": "The ID of the reply to update. Resolve it via drive_list_replies.",
245
+ "The new plain-text content for the reply.": "The new plain-text content for the reply.",
246
+ "The ID of the reply to delete. Resolve it via drive_list_replies.": "The ID of the reply to delete. Resolve it via drive_list_replies.",
103
247
  "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
104
248
  "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
105
249
  "CSV": "CSV",
@@ -118,6 +262,24 @@
118
262
  "Commenter": "Commenter",
119
263
  "Reader": "Reader",
120
264
  "Editor": "Editor",
265
+ "Word (DOCX) — Docs": "Word (DOCX) — Docs",
266
+ "PDF — Docs/Sheets/Slides": "PDF — Docs/Sheets/Slides",
267
+ "HTML — Docs": "HTML — Docs",
268
+ "Plain Text (TXT) — Docs": "Plain Text (TXT) — Docs",
269
+ "Rich Text (RTF) — Docs": "Rich Text (RTF) — Docs",
270
+ "OpenDocument Text (ODT) — Docs": "OpenDocument Text (ODT) — Docs",
271
+ "EPUB — Docs": "EPUB — Docs",
272
+ "Markdown (MD) — Docs": "Markdown (MD) — Docs",
273
+ "Excel (XLSX) — Sheets": "Excel (XLSX) — Sheets",
274
+ "CSV — Sheets": "CSV — Sheets",
275
+ "TSV — Sheets": "TSV — Sheets",
276
+ "OpenDocument Spreadsheet (ODS) — Sheets": "OpenDocument Spreadsheet (ODS) — Sheets",
277
+ "PowerPoint (PPTX) — Slides": "PowerPoint (PPTX) — Slides",
278
+ "OpenDocument Presentation (ODP) — Slides": "OpenDocument Presentation (ODP) — Slides",
279
+ "PNG — Slides": "PNG — Slides",
280
+ "SVG — Slides": "SVG — Slides",
281
+ "Resolve": "Resolve",
282
+ "Reopen": "Reopen",
121
283
  "GET": "GET",
122
284
  "POST": "POST",
123
285
  "PATCH": "PATCH",