@activepieces/piece-google-drive 0.7.1 → 0.7.3
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 +4 -4
- package/src/i18n/de.json +2 -0
- package/src/i18n/es.json +2 -0
- package/src/i18n/fr.json +2 -0
- package/src/i18n/ja.json +2 -0
- package/src/i18n/nl.json +2 -0
- package/src/i18n/pt.json +2 -0
- package/src/i18n/translation.json +2 -0
- package/src/i18n/zh.json +2 -0
- package/src/lib/common/index.d.ts.map +1 -1
- package/src/lib/common/index.js +41 -30
- package/src/lib/common/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-google-drive",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"types": "./src/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@activepieces/pieces-common": "0.12.
|
|
8
|
-
"@activepieces/pieces-framework": "0.
|
|
9
|
-
"@activepieces/shared": "0.
|
|
7
|
+
"@activepieces/pieces-common": "0.12.3",
|
|
8
|
+
"@activepieces/pieces-framework": "0.27.2",
|
|
9
|
+
"@activepieces/shared": "0.66.1",
|
|
10
10
|
"dayjs": "1.11.9",
|
|
11
11
|
"form-data": "4.0.4",
|
|
12
12
|
"googleapis": "129.0.0",
|
package/src/i18n/de.json
CHANGED
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"The role to grant to user. See more at: https://developers.google.com/drive/api/guides/ref-roles": "Die Rolle, die dem Benutzer gewährt werden soll. Siehe mehr unter: https://developers.google.com/drive/api/guides/ref-roles",
|
|
96
96
|
"Send an email to the user to notify them of the new permissions": "Sende eine E-Mail an den Benutzer, um ihn über die neuen Berechtigungen zu benachrichtigen",
|
|
97
97
|
"The role to remove from user.": "Die Rolle, die vom Benutzer entfernt werden soll.",
|
|
98
|
+
"The role to assign for public access": "Die Rolle, die dem öffentlichen Zugang zugewiesen wird",
|
|
98
99
|
"You can use **Search Folder/File** action to retrieve ID.": "Du kannst die **Ordner/Datei** Aktion verwenden, um ID zu erhalten.",
|
|
99
100
|
"The ID of the file to delete": "Die ID der zu löschenden Datei",
|
|
100
101
|
"The ID of the file to trash": "Die ID der zu trash Datei",
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
"Writer": "Schriftsteller",
|
|
116
117
|
"Commenter": "Kommentar",
|
|
117
118
|
"Reader": "Leser",
|
|
119
|
+
"Editor": "Redakteur",
|
|
118
120
|
"GET": "ERHALTEN",
|
|
119
121
|
"POST": "POST",
|
|
120
122
|
"PATCH": "PATCH",
|
package/src/i18n/es.json
CHANGED
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"The role to grant to user. See more at: https://developers.google.com/drive/api/guides/ref-roles": "El rol a otorgar al usuario. Ver más en: https://Developopers.google.com/drive/api/guides/ref-roles",
|
|
96
96
|
"Send an email to the user to notify them of the new permissions": "Enviar un correo electrónico al usuario para notificarle de los nuevos permisos",
|
|
97
97
|
"The role to remove from user.": "El rol a eliminar del usuario.",
|
|
98
|
+
"The role to assign for public access": "El rol a asignar para acceso público",
|
|
98
99
|
"You can use **Search Folder/File** action to retrieve ID.": "Puedes usar la acción **Buscar carpeta/archivo** para recuperar el ID.",
|
|
99
100
|
"The ID of the file to delete": "El ID del archivo a eliminar",
|
|
100
101
|
"The ID of the file to trash": "El ID del archivo a la papelera",
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
"Writer": "Escritor",
|
|
116
117
|
"Commenter": "Comentario",
|
|
117
118
|
"Reader": "Lector",
|
|
119
|
+
"Editor": "Editor",
|
|
118
120
|
"GET": "RECOGER",
|
|
119
121
|
"POST": "POST",
|
|
120
122
|
"PATCH": "PATCH",
|
package/src/i18n/fr.json
CHANGED
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"The role to grant to user. See more at: https://developers.google.com/drive/api/guides/ref-roles": "Le rôle à accorder à l'utilisateur. En savoir plus sur: https://developers.google.com/drive/api/guides/ref-roles",
|
|
96
96
|
"Send an email to the user to notify them of the new permissions": "Envoyer un email à l'utilisateur pour l'informer des nouvelles autorisations",
|
|
97
97
|
"The role to remove from user.": "Le rôle à supprimer de l'utilisateur.",
|
|
98
|
+
"The role to assign for public access": "Le rôle à assigner pour l'accès public",
|
|
98
99
|
"You can use **Search Folder/File** action to retrieve ID.": "Vous pouvez utiliser l'action **Recherche de dossier/fichier** pour récupérer l'ID.",
|
|
99
100
|
"The ID of the file to delete": "L'ID du fichier à supprimer",
|
|
100
101
|
"The ID of the file to trash": "L'ID du fichier à mettre dans la corbeille",
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
"Writer": "Écrivain",
|
|
116
117
|
"Commenter": "Commentateur",
|
|
117
118
|
"Reader": "Lecteur",
|
|
119
|
+
"Editor": "Editor",
|
|
118
120
|
"GET": "OBTENIR",
|
|
119
121
|
"POST": "POSTER",
|
|
120
122
|
"PATCH": "PATCH",
|
package/src/i18n/ja.json
CHANGED
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"The role to grant to user. See more at: https://developers.google.com/drive/api/guides/ref-roles": "ユーザーに付与するロール。詳細は https://developers.google.com/drive/api/guides/ref-roles",
|
|
96
96
|
"Send an email to the user to notify them of the new permissions": "新しい権限をユーザーに通知するために電子メールを送信します",
|
|
97
97
|
"The role to remove from user.": "ユーザーから削除するロール。",
|
|
98
|
+
"The role to assign for public access": "パブリックアクセスに割り当てるロール",
|
|
98
99
|
"You can use **Search Folder/File** action to retrieve ID.": "**Search Folder/File** アクションを使用して ID を取得できます。",
|
|
99
100
|
"The ID of the file to delete": "削除するファイルの ID",
|
|
100
101
|
"The ID of the file to trash": "ゴミ箱へのファイルのID",
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
"Writer": "Writer",
|
|
116
117
|
"Commenter": "コメント",
|
|
117
118
|
"Reader": "リーダー",
|
|
119
|
+
"Editor": "エディター",
|
|
118
120
|
"GET": "GET",
|
|
119
121
|
"POST": "POST",
|
|
120
122
|
"PATCH": "PATCH",
|
package/src/i18n/nl.json
CHANGED
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"The role to grant to user. See more at: https://developers.google.com/drive/api/guides/ref-roles": "De rol om gebruiker toe te kennen. Zie meer op: https://developers.google.com/drive/api/guides/ref-roles",
|
|
96
96
|
"Send an email to the user to notify them of the new permissions": "Stuur een e-mail naar de gebruiker om hem op de hoogte te stellen van de nieuwe machtigingen",
|
|
97
97
|
"The role to remove from user.": "De rol om te verwijderen van de gebruiker.",
|
|
98
|
+
"The role to assign for public access": "De rol om toe te wijzen voor publieke toegang",
|
|
98
99
|
"You can use **Search Folder/File** action to retrieve ID.": "U kunt de actie **Zoekmap/bestand** gebruiken om ID op te halen.",
|
|
99
100
|
"The ID of the file to delete": "Het ID van het te verwijderen bestand",
|
|
100
101
|
"The ID of the file to trash": "Het ID van het bestand om te prullenbak",
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
"Writer": "Schrijver",
|
|
116
117
|
"Commenter": "Commentaar",
|
|
117
118
|
"Reader": "Lezer",
|
|
119
|
+
"Editor": "Bewerker",
|
|
118
120
|
"GET": "KRIJG",
|
|
119
121
|
"POST": "POSTE",
|
|
120
122
|
"PATCH": "BEKIJK",
|
package/src/i18n/pt.json
CHANGED
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"The role to grant to user. See more at: https://developers.google.com/drive/api/guides/ref-roles": "A função para conceder ao usuário. Veja mais em: https://developers.google.com/drive/api/guides/ref-roles",
|
|
96
96
|
"Send an email to the user to notify them of the new permissions": "Envie um e-mail para o usuário para notificá-lo sobre as novas permissões",
|
|
97
97
|
"The role to remove from user.": "A função a remover do usuário.",
|
|
98
|
+
"The role to assign for public access": "O papel a ser atribuído para acesso público",
|
|
98
99
|
"You can use **Search Folder/File** action to retrieve ID.": "Você pode usar a ação **Pesquisar pasta/Arquivo** para obter o ID.",
|
|
99
100
|
"The ID of the file to delete": "O ID do arquivo a ser eliminado",
|
|
100
101
|
"The ID of the file to trash": "A ID do arquivo para a lixeira",
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
"Writer": "Escritor",
|
|
116
117
|
"Commenter": "Comentador",
|
|
117
118
|
"Reader": "Leitor",
|
|
119
|
+
"Editor": "Editores",
|
|
118
120
|
"GET": "OBTER",
|
|
119
121
|
"POST": "POSTAR",
|
|
120
122
|
"PATCH": "COMPRAR",
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"The role to grant to user. See more at: https://developers.google.com/drive/api/guides/ref-roles": "The role to grant to user. See more at: https://developers.google.com/drive/api/guides/ref-roles",
|
|
96
96
|
"Send an email to the user to notify them of the new permissions": "Send an email to the user to notify them of the new permissions",
|
|
97
97
|
"The role to remove from user.": "The role to remove from user.",
|
|
98
|
+
"The role to assign for public access": "The role to assign for public access",
|
|
98
99
|
"You can use **Search Folder/File** action to retrieve ID.": "You can use **Search Folder/File** action to retrieve ID.",
|
|
99
100
|
"The ID of the file to delete": "The ID of the file to delete",
|
|
100
101
|
"The ID of the file to trash": "The ID of the file to trash",
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
"Writer": "Writer",
|
|
116
117
|
"Commenter": "Commenter",
|
|
117
118
|
"Reader": "Reader",
|
|
119
|
+
"Editor": "Editor",
|
|
118
120
|
"GET": "GET",
|
|
119
121
|
"POST": "POST",
|
|
120
122
|
"PATCH": "PATCH",
|
package/src/i18n/zh.json
CHANGED
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"The role to grant to user. See more at: https://developers.google.com/drive/api/guides/ref-roles": "The role to grant to user. See more at: https://developers.google.com/drive/api/guides/ref-roles",
|
|
96
96
|
"Send an email to the user to notify them of the new permissions": "Send an email to the user to notify them of the new permissions",
|
|
97
97
|
"The role to remove from user.": "The role to remove from user.",
|
|
98
|
+
"The role to assign for public access": "The role to assign for public access",
|
|
98
99
|
"You can use **Search Folder/File** action to retrieve ID.": "You can use **Search Folder/File** action to retrieve ID.",
|
|
99
100
|
"The ID of the file to delete": "The ID of the file to delete",
|
|
100
101
|
"The ID of the file to trash": "The ID of the file to trash",
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
"Writer": "Writer",
|
|
116
117
|
"Commenter": "Commenter",
|
|
117
118
|
"Reader": "Reader",
|
|
119
|
+
"Editor": "编辑器",
|
|
118
120
|
"GET": "获取",
|
|
119
121
|
"POST": "帖子",
|
|
120
122
|
"PATCH": "PATCH",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAmB,oBAAoB,EAAsC,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAmB,oBAAoB,EAAsC,MAAM,SAAS,CAAC;AAOpG,eAAO,MAAM,MAAM;;;;;;;;mBAgFT,oBAAoB,WACjB;QACP,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;QACrC,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B,UACO,MAAM;qBAmCR,oBAAoB,WACjB;QACP,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;QACrC,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B,UACO,MAAM;CAiCjB,CAAC"}
|
package/src/lib/common/index.js
CHANGED
|
@@ -7,14 +7,19 @@ const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
|
7
7
|
const dayjs_1 = tslib_1.__importDefault(require("dayjs"));
|
|
8
8
|
const googleapis_1 = require("googleapis");
|
|
9
9
|
const auth_1 = require("../auth");
|
|
10
|
+
const FOLDER_DROPDOWN_PAGE_SIZE = 1000;
|
|
11
|
+
const escapeDriveQueryLiteral = (value) => value.replace(/\\/g, '\\\\').replace(/'/g, "\\'");
|
|
10
12
|
exports.common = {
|
|
11
13
|
properties: {
|
|
12
14
|
parentFolder: pieces_framework_1.Property.Dropdown({
|
|
13
15
|
displayName: 'Parent Folder',
|
|
16
|
+
description: "The Drive folder to target. Leave empty to use the root of My Drive. Type in the box to search your Drive by folder name. If the folder still isn't listed, switch this field to 'Dynamic value' (the toggle next to the field) and paste the folder ID — you can copy it from the folder's URL in Drive, after /folders/ (e.g. https://drive.google.com/drive/folders/<FOLDER_ID>).",
|
|
14
17
|
required: false,
|
|
15
18
|
auth: auth_1.googleDriveAuth,
|
|
16
19
|
refreshers: ['include_team_drives'],
|
|
17
|
-
|
|
20
|
+
refreshOnSearch: true,
|
|
21
|
+
options: (_a, ctx_1) => tslib_1.__awaiter(void 0, [_a, ctx_1], void 0, function* ({ auth, include_team_drives }, ctx) {
|
|
22
|
+
var _b, _c, _d;
|
|
18
23
|
if (!auth) {
|
|
19
24
|
return {
|
|
20
25
|
disabled: true,
|
|
@@ -24,38 +29,44 @@ exports.common = {
|
|
|
24
29
|
}
|
|
25
30
|
const authValue = auth;
|
|
26
31
|
const accessToken = yield (0, auth_1.getAccessToken)(authValue);
|
|
32
|
+
const searchValue = (_c = (_b = ctx === null || ctx === void 0 ? void 0 : ctx.searchValue) === null || _b === void 0 ? void 0 : _b.trim()) !== null && _c !== void 0 ? _c : '';
|
|
33
|
+
const qParts = [
|
|
34
|
+
"mimeType='application/vnd.google-apps.folder'",
|
|
35
|
+
'trashed = false',
|
|
36
|
+
];
|
|
37
|
+
if (searchValue.length > 0) {
|
|
38
|
+
qParts.push(`name contains '${escapeDriveQueryLiteral(searchValue)}'`);
|
|
39
|
+
}
|
|
40
|
+
const request = {
|
|
41
|
+
method: pieces_common_1.HttpMethod.GET,
|
|
42
|
+
url: `https://www.googleapis.com/drive/v3/files`,
|
|
43
|
+
queryParams: {
|
|
44
|
+
q: qParts.join(' and '),
|
|
45
|
+
includeItemsFromAllDrives: include_team_drives ? 'true' : 'false',
|
|
46
|
+
supportsAllDrives: 'true',
|
|
47
|
+
pageSize: String(FOLDER_DROPDOWN_PAGE_SIZE),
|
|
48
|
+
fields: 'nextPageToken, files(id, name)',
|
|
49
|
+
},
|
|
50
|
+
authentication: {
|
|
51
|
+
type: pieces_common_1.AuthenticationType.BEARER_TOKEN,
|
|
52
|
+
token: accessToken,
|
|
53
|
+
},
|
|
54
|
+
};
|
|
27
55
|
let folders = [];
|
|
28
|
-
let
|
|
29
|
-
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
authentication: {
|
|
39
|
-
type: pieces_common_1.AuthenticationType.BEARER_TOKEN,
|
|
40
|
-
token: accessToken,
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
if (pageToken) {
|
|
44
|
-
if (request.queryParams !== undefined) {
|
|
45
|
-
request.queryParams['pageToken'] = pageToken;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
try {
|
|
49
|
-
const response = yield pieces_common_1.httpClient.sendRequest(request);
|
|
50
|
-
folders = folders.concat(response.body.files);
|
|
51
|
-
pageToken = response.body.nextPageToken;
|
|
52
|
-
}
|
|
53
|
-
catch (e) {
|
|
54
|
-
throw new Error(`Failed to get folders\nError:${e}`);
|
|
55
|
-
}
|
|
56
|
-
} while (pageToken);
|
|
56
|
+
let truncated = false;
|
|
57
|
+
try {
|
|
58
|
+
const response = yield pieces_common_1.httpClient.sendRequest(request);
|
|
59
|
+
folders = (_d = response.body.files) !== null && _d !== void 0 ? _d : [];
|
|
60
|
+
truncated = Boolean(response.body.nextPageToken);
|
|
61
|
+
}
|
|
62
|
+
catch (e) {
|
|
63
|
+
throw new Error(`Failed to get folders\nError:${e}`);
|
|
64
|
+
}
|
|
57
65
|
return {
|
|
58
66
|
disabled: false,
|
|
67
|
+
placeholder: truncated
|
|
68
|
+
? `Showing first ${folders.length} matches — type to narrow the list, or switch to Dynamic value to paste an ID.`
|
|
69
|
+
: undefined,
|
|
59
70
|
options: folders.map((folder) => {
|
|
60
71
|
return {
|
|
61
72
|
label: folder.name,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/common/index.ts"],"names":[],"mappings":";;;;AAAA,+DAKqC;AACrC,qEAA0D;AAC1D,0DAA0B;AAC1B,2CAAoC;AACpC,kCAAoG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/common/index.ts"],"names":[],"mappings":";;;;AAAA,+DAKqC;AACrC,qEAA0D;AAC1D,0DAA0B;AAC1B,2CAAoC;AACpC,kCAAoG;AAEpG,MAAM,yBAAyB,GAAG,IAAI,CAAC;AAEvC,MAAM,uBAAuB,GAAG,CAAC,KAAa,EAAU,EAAE,CACxD,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAEvC,QAAA,MAAM,GAAG;IACpB,UAAU,EAAE;QACV,YAAY,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC9B,WAAW,EAAE,eAAe;YAC5B,WAAW,EACT,sXAAsX;YACxX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,sBAAe;YACrB,UAAU,EAAE,CAAC,qBAAqB,CAAC;YACnC,eAAe,EAAE,IAAI;YACrB,OAAO,EAAE,YAA2C,EAAE,2DAAtC,EAAE,IAAI,EAAE,mBAAmB,EAAE,EAAE,GAAG;;gBAChD,IAAI,CAAC,IAAI,EAAE,CAAC;oBACV,OAAO;wBACL,QAAQ,EAAE,IAAI;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,2B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