@activepieces/piece-google-drive 0.6.3 → 0.6.5

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.
Files changed (59) hide show
  1. package/package.json +13 -19
  2. package/src/index.d.ts +0 -1
  3. package/src/index.js +4 -10
  4. package/src/index.js.map +1 -1
  5. package/src/lib/action/add-permission.action.js +2 -2
  6. package/src/lib/action/add-permission.action.js.map +1 -1
  7. package/src/lib/action/create-new-folder.js +2 -2
  8. package/src/lib/action/create-new-folder.js.map +1 -1
  9. package/src/lib/action/create-new-text-file.js +2 -2
  10. package/src/lib/action/create-new-text-file.js.map +1 -1
  11. package/src/lib/action/delete-file.js +2 -2
  12. package/src/lib/action/delete-file.js.map +1 -1
  13. package/src/lib/action/delete-permission.action.js +2 -2
  14. package/src/lib/action/delete-permission.action.js.map +1 -1
  15. package/src/lib/action/duplicate-file.action.js +2 -2
  16. package/src/lib/action/duplicate-file.action.js.map +1 -1
  17. package/src/lib/action/get-file-by-id.js +2 -2
  18. package/src/lib/action/get-file-by-id.js.map +1 -1
  19. package/src/lib/action/list-files.action.js +5 -4
  20. package/src/lib/action/list-files.action.js.map +1 -1
  21. package/src/lib/action/move-file.js +2 -2
  22. package/src/lib/action/move-file.js.map +1 -1
  23. package/src/lib/action/read-file.js +2 -2
  24. package/src/lib/action/read-file.js.map +1 -1
  25. package/src/lib/action/save-file-as-pdf.action.js +2 -2
  26. package/src/lib/action/save-file-as-pdf.action.js.map +1 -1
  27. package/src/lib/action/search-folder-or-file.action.js +25 -16
  28. package/src/lib/action/search-folder-or-file.action.js.map +1 -1
  29. package/src/lib/action/send-to-trash.js +2 -2
  30. package/src/lib/action/send-to-trash.js.map +1 -1
  31. package/src/lib/action/set-public-access.js +2 -2
  32. package/src/lib/action/set-public-access.js.map +1 -1
  33. package/src/lib/action/upload-file.js +2 -2
  34. package/src/lib/action/upload-file.js.map +1 -1
  35. package/src/lib/auth.d.ts +1 -0
  36. package/src/lib/auth.js +12 -0
  37. package/src/lib/auth.js.map +1 -0
  38. package/src/lib/common/get-file-content.js.map +1 -1
  39. package/src/lib/common/index.d.ts +2 -5
  40. package/src/lib/common/index.js +39 -25
  41. package/src/lib/common/index.js.map +1 -1
  42. package/src/lib/triggers/new-file.js +2 -2
  43. package/src/lib/triggers/new-file.js.map +1 -1
  44. package/src/lib/triggers/new-folder.js +2 -2
  45. package/src/lib/triggers/new-folder.js.map +1 -1
  46. package/README.md +0 -7
  47. package/src/i18n/ca.json +0 -125
  48. package/src/i18n/de.json +0 -134
  49. package/src/i18n/es.json +0 -134
  50. package/src/i18n/fr.json +0 -134
  51. package/src/i18n/hi.json +0 -125
  52. package/src/i18n/id.json +0 -125
  53. package/src/i18n/ja.json +0 -134
  54. package/src/i18n/nl.json +0 -134
  55. package/src/i18n/pt.json +0 -134
  56. package/src/i18n/ru.json +0 -127
  57. package/src/i18n/translation.json +0 -134
  58. package/src/i18n/vi.json +0 -127
  59. package/src/i18n/zh.json +0 -134
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.googleDriveAuth = void 0;
4
+ const pieces_framework_1 = require("@activepieces/pieces-framework");
5
+ exports.googleDriveAuth = pieces_framework_1.PieceAuth.OAuth2({
6
+ description: '',
7
+ authUrl: 'https://accounts.google.com/o/oauth2/auth',
8
+ tokenUrl: 'https://oauth2.googleapis.com/token',
9
+ required: true,
10
+ scope: ['https://www.googleapis.com/auth/drive'],
11
+ });
12
+ //# sourceMappingURL=auth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../src/lib/auth.ts"],"names":[],"mappings":";;;AAAA,qEAA2D;AAE9C,QAAA,eAAe,GAAG,4BAAS,CAAC,MAAM,CAAC;IAC9C,WAAW,EAAE,EAAE;IACf,OAAO,EAAE,2CAA2C;IACpD,QAAQ,EAAE,qCAAqC;IAC/C,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,CAAC,uCAAuC,CAAC;CACjD,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-file-content.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/google-drive/src/lib/common/get-file-content.ts"],"names":[],"mappings":";;AAoEA,sDA8CC;;AA1GD,2CAAuC;AAEvC,SAAe,WAAW,CACxB,IAAsC,EACtC,MAAc;;QAEd,MAAM,QAAQ,GAAG,CACf,MAAM,KAAK,CACT,6CAA6C,MAAM,yCAAyC,EAC5F;YACE,OAAO,EAAE;gBACP,aAAa,EAAE,UAAU,IAAI,CAAC,YAAY,EAAE;aAC7C;SACF,CACF,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAC5B,CAAC,UAAU,CAAW,CAAC;QACxB,OAAO,QAAQ,CAAC;IAClB,CAAC;CAAA;AAED,MAAM,YAAY,GAAG,CACnB,GAAW,EACX,IAAsC,EACtC,MAAc,EACd,KAAmB,EACnB,QAA4B,EAC5B,EAAE;IACF,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAEjD,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE;QAChC,OAAO,EAAE;YACP,aAAa,EAAE,UAAU,IAAI,CAAC,YAAY,EAAE;SAC7C;KACF,CAAC;SACC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CACjB,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,CACzD;SACA,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;;QACf,OAAA,OAAO,CAAC,MAAM,CACZ,IAAI,KAAK,CACP,wDACE,MAAC,KAAe,CAAC,OAAO,mCAAI,KAC9B,EAAE,CACH,CACF,CAAA;KAAA,CACF,CAAC;IAEJ,MAAM,eAAe,GAAG,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AAA"}
@@ -9,14 +9,11 @@ export declare const common: {
9
9
  createdTime?: string | number | Date;
10
10
  createdTimeOp?: string;
11
11
  includeTeamDrive?: boolean;
12
- }, order?: string): Promise<import("googleapis").drive_v3.Schema$File[] | undefined>;
12
+ }, order?: string): Promise<any[]>;
13
13
  getFolders(auth: OAuth2PropertyValue, search?: {
14
14
  parent?: string;
15
15
  createdTime?: string | number | Date;
16
16
  createdTimeOp?: string;
17
17
  includeTeamDrive?: boolean;
18
- }, order?: string): Promise<{
19
- id: string;
20
- name: string;
21
- }[]>;
18
+ }, order?: string): Promise<any[]>;
22
19
  };
@@ -7,13 +7,13 @@ const pieces_framework_1 = require("@activepieces/pieces-framework");
7
7
  const dayjs_1 = tslib_1.__importDefault(require("dayjs"));
8
8
  const googleapis_common_1 = require("googleapis-common");
9
9
  const googleapis_1 = require("googleapis");
10
- const __1 = require("../..");
10
+ const auth_1 = require("../auth");
11
11
  exports.common = {
12
12
  properties: {
13
13
  parentFolder: pieces_framework_1.Property.Dropdown({
14
14
  displayName: 'Parent Folder',
15
15
  required: false,
16
- auth: __1.googleDriveAuth,
16
+ auth: auth_1.googleDriveAuth,
17
17
  refreshers: ['include_team_drives'],
18
18
  options: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth, include_team_drives }) {
19
19
  if (!auth) {
@@ -74,7 +74,7 @@ exports.common = {
74
74
  },
75
75
  getFiles(auth, search, order) {
76
76
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
77
- var _a;
77
+ var _a, _b, _c;
78
78
  const authClient = new googleapis_common_1.OAuth2Client();
79
79
  authClient.setCredentials(auth);
80
80
  const drive = googleapis_1.google.drive({ version: 'v3', auth: authClient });
@@ -84,40 +84,54 @@ exports.common = {
84
84
  if (search === null || search === void 0 ? void 0 : search.createdTime)
85
85
  q.push(`createdTime ${(_a = search.createdTimeOp) !== null && _a !== void 0 ? _a : '>'} '${(0, dayjs_1.default)(search.createdTime).format()}'`);
86
86
  q.push(`trashed = false`);
87
- const response = yield drive.files.list({
88
- q: q.concat("mimeType!='application/vnd.google-apps.folder'").join(' and '),
89
- fields: 'files(id, name, mimeType, webViewLink, kind)',
90
- orderBy: order !== null && order !== void 0 ? order : 'createdTime desc',
91
- supportsAllDrives: true,
92
- includeItemsFromAllDrives: search === null || search === void 0 ? void 0 : search.includeTeamDrive,
93
- });
94
- return response.data.files;
87
+ const allFiles = [];
88
+ let pageToken = undefined;
89
+ do {
90
+ const listParams = {
91
+ q: q.concat("mimeType!='application/vnd.google-apps.folder'").join(' and '),
92
+ fields: 'nextPageToken, files(id, name, mimeType, webViewLink, kind, createdTime)',
93
+ orderBy: order !== null && order !== void 0 ? order : 'createdTime desc',
94
+ supportsAllDrives: true,
95
+ includeItemsFromAllDrives: search === null || search === void 0 ? void 0 : search.includeTeamDrive,
96
+ };
97
+ if (pageToken)
98
+ listParams.pageToken = pageToken;
99
+ const response = yield drive.files.list(listParams);
100
+ allFiles.push(...((_b = response.data.files) !== null && _b !== void 0 ? _b : []));
101
+ pageToken = (_c = response.data.nextPageToken) !== null && _c !== void 0 ? _c : undefined;
102
+ } while (pageToken);
103
+ return allFiles;
95
104
  });
96
105
  },
97
106
  getFolders(auth, search, order) {
98
107
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
99
- var _a;
108
+ var _a, _b, _c;
109
+ const authClient = new googleapis_common_1.OAuth2Client();
110
+ authClient.setCredentials(auth);
111
+ const drive = googleapis_1.google.drive({ version: 'v3', auth: authClient });
100
112
  const q = [`mimeType='application/vnd.google-apps.folder'`];
101
113
  if (search === null || search === void 0 ? void 0 : search.parent)
102
114
  q.push(`'${search.parent}' in parents`);
103
115
  if (search === null || search === void 0 ? void 0 : search.createdTime)
104
116
  q.push(`createdTime ${(_a = search.createdTimeOp) !== null && _a !== void 0 ? _a : '>'} '${(0, dayjs_1.default)(search.createdTime).format()}'`);
105
117
  q.push(`trashed = false`);
106
- const response = yield pieces_common_1.httpClient.sendRequest({
107
- method: pieces_common_1.HttpMethod.GET,
108
- url: `https://www.googleapis.com/drive/v3/files`,
109
- queryParams: {
118
+ const allFolders = [];
119
+ let pageToken = undefined;
120
+ do {
121
+ const listParams = {
110
122
  q: q.join(' and '),
123
+ fields: 'nextPageToken, files(id, name)',
111
124
  orderBy: order !== null && order !== void 0 ? order : 'createdTime desc',
112
- supportsAllDrives: 'true',
113
- includeItemsFromAllDrives: (search === null || search === void 0 ? void 0 : search.includeTeamDrive) ? 'true' : 'false',
114
- },
115
- authentication: {
116
- type: pieces_common_1.AuthenticationType.BEARER_TOKEN,
117
- token: auth.access_token,
118
- },
119
- });
120
- return response.body.files;
125
+ supportsAllDrives: true,
126
+ includeItemsFromAllDrives: search === null || search === void 0 ? void 0 : search.includeTeamDrive,
127
+ };
128
+ if (pageToken)
129
+ listParams.pageToken = pageToken;
130
+ const response = yield drive.files.list(listParams);
131
+ allFolders.push(...((_b = response.data.files) !== null && _b !== void 0 ? _b : []));
132
+ pageToken = (_c = response.data.nextPageToken) !== null && _c !== void 0 ? _c : undefined;
133
+ } while (pageToken);
134
+ return allFolders;
121
135
  });
122
136
  },
123
137
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/google-drive/src/lib/common/index.ts"],"names":[],"mappings":";;;;AAAA,+DAKqC;AACrC,qEAA+E;AAC/E,0DAA0B;AAC1B,yDAAiD;AACjD,2CAAoC;AACpC,6BAAwC;AAE3B,QAAA,MAAM,GAAG;IACpB,UAAU,EAAE;QACV,YAAY,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC9B,WAAW,EAAE,eAAe;YAC5B,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,mBAAe;YACrB,UAAU,EAAE,CAAC,qBAAqB,CAAC;YACnC,OAAO,EAAE,KAAsC,EAAE,oDAAjC,EAAE,IAAI,EAAE,mBAAmB,EAAE;gBAC3C,IAAI,CAAC,IAAI,EAAE,CAAC;oBACV,OAAO;wBACL,QAAQ,EAAE,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CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBACpD,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,MAAA,QAAQ,CAAC,IAAI,CAAC,KAAK,mCAAI,EAAE,CAAC,CAAC,CAAC;gBAChD,SAAS,GAAG,MAAA,QAAQ,CAAC,IAAI,CAAC,aAAa,mCAAI,SAAS,CAAC;YACvD,CAAC,QAAQ,SAAS,EAAE;YAEpB,OAAO,UAAU,CAAC;QACpB,CAAC;KAAA;CACF,CAAC"}
@@ -6,7 +6,7 @@ const pieces_framework_1 = require("@activepieces/pieces-framework");
6
6
  const pieces_framework_2 = require("@activepieces/pieces-framework");
7
7
  const pieces_common_1 = require("@activepieces/pieces-common");
8
8
  const dayjs_1 = tslib_1.__importDefault(require("dayjs"));
9
- const __1 = require("../..");
9
+ const auth_1 = require("../auth");
10
10
  const common_1 = require("../common");
11
11
  const get_file_content_1 = require("../common/get-file-content");
12
12
  const polling = {
@@ -26,7 +26,7 @@ const polling = {
26
26
  }),
27
27
  };
28
28
  exports.newFile = (0, pieces_framework_1.createTrigger)({
29
- auth: __1.googleDriveAuth,
29
+ auth: auth_1.googleDriveAuth,
30
30
  name: 'new_file',
31
31
  displayName: 'New File',
32
32
  description: 'Trigger when a new file is uploaded.',
@@ -1 +1 @@
1
- {"version":3,"file":"new-file.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/google-drive/src/lib/triggers/new-file.ts"],"names":[],"mappings":";;;;AAAA,qEAKwC;AACxC,qEAAiE;AACjE,+DAIqC;AAErC,0DAA0B;AAC1B,6BAAwC;AACxC,sCAAmC;AACnC,iEAAmE;AAEnE,MAAM,OAAO,GAGT;IACF,QAAQ,EAAE,8BAAc,CAAC,SAAS;IAClC,KAAK,EAAE,KAA+C,EAAE,oDAA1C,EAAE,IAAI,EAAE,UAAU,EAAE,gBAAgB,EAAE;;QAClD,MAAM,aAAa,GACjB,MAAA,CAAC,MAAM,eAAM,CAAC,QAAQ,CAAC,IAA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C;YAED,MAAM,YAAY,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;YAE3D,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBAC5C,WAAW,CAAC,CAAC,CAAC,CAAC,OAAO,GAAG,YAAY,CAAC,CAAC,CAAC,CAAA;YAC1C,CAAC;QACH,CAAC;QACD,OAAO,WAAW,CAAA;IACpB,CAAC;CAAA"}
@@ -6,7 +6,7 @@ const pieces_framework_1 = require("@activepieces/pieces-framework");
6
6
  const pieces_framework_2 = require("@activepieces/pieces-framework");
7
7
  const pieces_common_1 = require("@activepieces/pieces-common");
8
8
  const dayjs_1 = tslib_1.__importDefault(require("dayjs"));
9
- const __1 = require("../..");
9
+ const auth_1 = require("../auth");
10
10
  const common_1 = require("../common");
11
11
  const polling = {
12
12
  strategy: pieces_common_1.DedupeStrategy.TIMEBASED,
@@ -25,7 +25,7 @@ const polling = {
25
25
  }),
26
26
  };
27
27
  exports.newFolder = (0, pieces_framework_1.createTrigger)({
28
- auth: __1.googleDriveAuth,
28
+ auth: auth_1.googleDriveAuth,
29
29
  name: 'new_folder',
30
30
  displayName: 'New Folder',
31
31
  description: 'Trigger when a new folder is created or uploaded.',
@@ -1 +1 @@
1
- {"version":3,"file":"new-folder.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/google-drive/src/lib/triggers/new-folder.ts"],"names":[],"mappings":";;;;AAAA,qEAIwC;AACxC,qEAAiE;AACjE,+DAIqC;AAErC,0DAA0B;AAC1B,6BAAwC;AACxC,sCAAmC;AAEnC,MAAM,OAAO,GAGT;IACF,QAAQ,EAAE,8BAAc,CAAC,SAAS;IAClC,KAAK,EAAE,KAA+C,EAAE,oDAA1C,EAAE,IAAI,EAAE,UAAU,EAAE,gBAAgB,EAAE;;QAClD,MAAM,aAAa,GACjB,MAAA,CAAC,MAAM,eAAM,CAAC,UAAU,C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dev).
4
-
5
- ## Running lint
6
-
7
- Run `nx lint pieces-google-drive` to execute the lint via [ESLint](https://eslint.org/).
package/src/i18n/ca.json DELETED
@@ -1,125 +0,0 @@
1
- {
2
- "Google Drive": "Google Drive",
3
- "Cloud storage and file backup": "Cloud storage and file backup",
4
- "Create new folder": "Create new folder",
5
- "Create new file": "Create new file",
6
- "Upload file": "Upload file",
7
- "Read file": "Read file",
8
- "Get File": "Get File",
9
- "List files": "List files",
10
- "Search": "Search",
11
- "Duplicate File": "Duplicate File",
12
- "Save Document as PDF": "Save Document as PDF",
13
- "Update permissions": "Update permissions",
14
- "Delete permissions": "Delete permissions",
15
- "Set public access": "Set public access",
16
- "Move File": "Move File",
17
- "Delete file": "Delete file",
18
- "Trash file": "Trash file",
19
- "Custom API Call": "Custom API Call",
20
- "Create a new empty folder in your Google Drive": "Create a new empty folder in your Google Drive",
21
- "Create a new text file in your Google Drive from text": "Create a new text file in your Google Drive from text",
22
- "Upload a file in your Google Drive": "Upload a file in your Google Drive",
23
- "Read a selected file from google drive file": "Read a selected file from google drive file",
24
- "Get a file folder for files/sub-folders": "Get a file folder for files/sub-folders",
25
- "List files from a Google Drive folder": "List files from a Google Drive folder",
26
- "Search a Google Drive folder for files/sub-folders": "Search a Google Drive folder for files/sub-folders",
27
- "Duplicate a file from Google Drive. Returns the new file ID.": "Duplicate a file from Google Drive. Returns the new file ID.",
28
- "Save a document as PDF in a Google Drive folder": "Save a document as PDF in a Google Drive folder",
29
- "Update permissions for a file or folder": "Update permissions for a file or folder",
30
- "Removes a role from an user for a file or folder": "Removes a role from an user for a file or folder",
31
- "Set public access for a file or folder": "Set public access for a file or folder",
32
- "Moves a file from one folder to another.": "Moves a file from one folder to another.",
33
- "Delete permanently a file from your Google Drive": "Delete permanently a file from your Google Drive",
34
- "Move a file to the trash in your Google Drive": "Move a file to the trash in your Google Drive",
35
- "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
36
- "Folder name": "Folder name",
37
- "Parent Folder": "Parent Folder",
38
- "Include Team Drives": "Include Team Drives",
39
- "File name": "File name",
40
- "Text": "Text",
41
- "Content type": "Content type",
42
- "File": "File",
43
- "File ID": "File ID",
44
- "Destination File name": "Destination File name",
45
- "File / Folder Id": "File / Folder Id",
46
- "Folder ID": "Folder ID",
47
- "Include Trashed": "Include Trashed",
48
- "Download Files": "Download Files",
49
- "Query Term": "Query Term",
50
- "Operator": "Operator",
51
- "Value": "Value",
52
- "File Type": "File Type",
53
- "Name": "Name",
54
- "Duplicate as": "Duplicate as",
55
- "Document ID": "Document ID",
56
- "File or Folder ID": "File or Folder ID",
57
- "User email": "User email",
58
- "Role": "Role",
59
- "Send invitation email": "Send invitation email",
60
- "Method": "Method",
61
- "Headers": "Headers",
62
- "Query Parameters": "Query Parameters",
63
- "Body": "Body",
64
- "No Error on Failure": "No Error on Failure",
65
- "Timeout (in seconds)": "Timeout (in seconds)",
66
- "The name of the new folder": "The name of the new folder",
67
- "Determines if folders from Team Drives should be included in the results.": "Determines if folders from Team Drives should be included in the results.",
68
- "The name of the new text file": "The name of the new text file",
69
- "The text content to add to file": "The text content to add to file",
70
- "Select file type": "Select file type",
71
- "The name of the file": "The name of the file",
72
- "The file URL or base64 to upload": "The file URL or base64 to upload",
73
- "File ID coming from | New File -> id |": "File ID coming from | New File -> id |",
74
- "The Id of the file/folder to search for.": "The Id of the file/folder to search for.",
75
- "Folder ID coming from | New Folder -> id | (or any other source)": "Folder ID coming from | New Folder -> id | (or any other source)",
76
- "Include new files that have been trashed.": "Include new files that have been trashed.",
77
- "Download all file contents in a list": "Download all file contents in a list",
78
- "The Query term or field of file/folder to search upon.": "The Query term or field of file/folder to search upon.",
79
- "The operator to create criteria.": "The operator to create criteria.",
80
- "Value of the field of file/folder to search for.": "Value of the field of file/folder to search for.",
81
- "(Optional) Choose between files and folders.": "(Optional) Choose between files and folders.",
82
- "The ID of the file to duplicate": "The ID of the file to duplicate",
83
- "The name of the new file": "The name of the new file",
84
- "The ID of the folder where the file will be duplicated": "The ID of the folder where the file will be duplicated",
85
- "If left unselected the file will be duplicated as it is": "If left unselected the file will be duplicated as it is",
86
- "The ID of the document to export": "The ID of the document to export",
87
- "The ID of the folder where the file will be exported": "The ID of the folder where the file will be exported",
88
- "The name of the new file (do not include the extension)": "The name of the new file (do not include the extension)",
89
- "The ID of the file or folder to update permissions for": "The ID of the file or folder to update permissions for",
90
- "The email address of the user to update permissions for": "The email address of the user to update permissions for",
91
- "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",
92
- "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",
93
- "The role to remove from user.": "The role to remove from user.",
94
- "You can use **Search Folder/File** action to retrieve ID.": "You can use **Search Folder/File** action to retrieve ID.",
95
- "The ID of the file to delete": "The ID of the file to delete",
96
- "The ID of the file to trash": "The ID of the file to trash",
97
- "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
98
- "CSV": "CSV",
99
- "XML": "XML",
100
- "Full text search": "Full text search",
101
- "Contains": "Contains",
102
- "Equals": "Equals",
103
- "All": "All",
104
- "Files": "Files",
105
- "Folders": "Folders",
106
- "Google Sheets": "Google Sheets",
107
- "Google Docs": "Google Docs",
108
- "Organizer": "Organizer",
109
- "File Organizer": "File Organizer",
110
- "Writer": "Writer",
111
- "Commenter": "Commenter",
112
- "Reader": "Reader",
113
- "GET": "GET",
114
- "POST": "POST",
115
- "PATCH": "PATCH",
116
- "PUT": "PUT",
117
- "DELETE": "DELETE",
118
- "HEAD": "HEAD",
119
- "New File": "New File",
120
- "New Folder": "New Folder",
121
- "Trigger when a new file is uploaded.": "Trigger when a new file is uploaded.",
122
- "Trigger when a new folder is created or uploaded.": "Trigger when a new folder is created or uploaded.",
123
- "Include File Content": "Include File Content",
124
- "Include the file content in the output. This will increase the time taken to fetch the files and might cause issues with large files.": "Include the file content in the output. This will increase the time taken to fetch the files and might cause issues with large files."
125
- }
package/src/i18n/de.json DELETED
@@ -1,134 +0,0 @@
1
- {
2
- "Cloud storage and file backup": "Cloudspeicher und Dateisicherung",
3
- "Create new folder": "Neuen Ordner erstellen",
4
- "Create new file": "Neue Datei erstellen",
5
- "Upload file": "Datei hochladen",
6
- "Read File Content": "Dateiinhalt lesen",
7
- "Get File Information": "Dateiinformationen abrufen",
8
- "List files": "Dateien auflisten",
9
- "Search": "Suche",
10
- "Duplicate File": "Datei duplizieren",
11
- "Save Document as PDF": "Dokument als PDF speichern",
12
- "Update permissions": "Update-Berechtigungen",
13
- "Delete permissions": "Berechtigungen löschen",
14
- "Set public access": "Öffentlichen Zugang festlegen",
15
- "Move File": "Datei verschieben",
16
- "Delete file": "Datei löschen",
17
- "Trash file": "Papierkorb",
18
- "Custom API Call": "Eigener API-Aufruf",
19
- "Create a new empty folder in your Google Drive": "Erstellen Sie einen neuen leeren Ordner in Ihrem Google Drive",
20
- "Create a new text file in your Google Drive from text": "Erstellen Sie eine neue Textdatei in Ihrem Google Drive aus Text",
21
- "Upload a file in your Google Drive": "Laden Sie eine Datei in Ihrem Google Drive hoch",
22
- "Read a selected file from google drive file": "Ausgewählte Datei aus Google Drive Datei lesen",
23
- "Get a file folder for files/sub-folders": "Datei Ordner für Dateien/Unterordner herunterladen",
24
- "List files from a Google Drive folder": "Dateien aus einem Google Drive-Ordner auflisten",
25
- "Search a Google Drive folder for files/sub-folders": "Suche in einem Google Drive Ordner nach Dateien/Unterordner",
26
- "Duplicate a file from Google Drive. Returns the new file ID.": "Dupliziere eine Datei von Google Drive. Gibt die neue Datei-ID zurück.",
27
- "Save a document as PDF in a Google Drive folder": "Speichern Sie ein Dokument als PDF in einem Google Drive Ordner",
28
- "Update permissions for a file or folder": "Update-Berechtigungen für eine Datei oder einen Ordner",
29
- "Removes a role from an user for a file or folder": "Entfernt eine Rolle von einem Benutzer für eine Datei oder einen Ordner",
30
- "Set public access for a file or folder": "Öffentlichen Zugriff für eine Datei oder einen Ordner festlegen",
31
- "Moves a file from one folder to another.": "Verschiebt eine Datei von einem Ordner in einen anderen.",
32
- "Delete permanently a file from your Google Drive": "Löschen Sie dauerhaft eine Datei aus Ihrem Google Drive",
33
- "Move a file to the trash in your Google Drive": "Datei in den Papierkorb in Ihrem Google Drive verschieben",
34
- "Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
35
- "Folder name": "Ordnername",
36
- "Parent Folder": "Eltern-Ordner",
37
- "Include Team Drives": "Team-Drives einbeziehen",
38
- "File name": "Dateiname",
39
- "Text": "Text",
40
- "Content type": "Inhaltstyp",
41
- "File": "Datei",
42
- "File ID": "Datei-ID",
43
- "Destination File name": "Name der Zieldatei",
44
- "File / Folder Id": "Datei / Ordner-Id",
45
- "Folder ID": "Ordner-ID",
46
- "Include Trashed": "Papierkorb hinzufügen",
47
- "Depth Level": "Tiefenlevel",
48
- "Download Files": "Dateien herunterladen",
49
- "Query Term": "Abfragetermin",
50
- "Operator": "Operator",
51
- "Value": "Wert",
52
- "File Type": "Dateityp",
53
- "Name": "Name",
54
- "Duplicate as": "Duplizieren als",
55
- "Document ID": "Dokument-ID",
56
- "File or Folder ID": "Datei oder Ordner-ID",
57
- "User email": "Benutzer-E-Mail",
58
- "Role": "Rolle",
59
- "Send invitation email": "Einladungs-E-Mail senden",
60
- "Method": "Methode",
61
- "Headers": "Kopfzeilen",
62
- "Query Parameters": "Abfrageparameter",
63
- "Body Type": "Körpertyp",
64
- "Body": "Körper",
65
- "Response is Binary ?": "Antwort ist binär?",
66
- "No Error on Failure": "Kein Fehler bei Fehler",
67
- "Timeout (in seconds)": "Timeout (in Sekunden)",
68
- "Follow redirects": "Weiterleitungen folgen",
69
- "The name of the new folder": "Der Name des neuen Ordners",
70
- "Determines if folders from Team Drives should be included in the results.": "Legt fest, ob Ordner von Team-Laufwerken in die Ergebnisse aufgenommen werden sollen.",
71
- "The name of the new text file": "Der Name der neuen Textdatei",
72
- "The text content to add to file": "Der Textinhalt zum Hinzufügen in die Datei",
73
- "Select file type": "Dateityp auswählen",
74
- "The name of the file": "Der Dateiname",
75
- "The file URL or base64 to upload": "Die URL oder base64 hochzuladen",
76
- "File ID coming from | New File -> id |": "Datei-ID von | Neue Datei -> id |",
77
- "The Id of the file/folder to search for.": "Die Id der zu suchenden Datei/Ordner.",
78
- "Folder ID coming from | New Folder -> id | (or any other source)": "Ordner-ID von | Neuer Ordner -> id | (oder jede andere Quelle)",
79
- "Include new files that have been trashed.": "Fügen Sie neue Dateien hinzu, die gelöscht wurden.",
80
- "How many levels deep to search for files. 1 = current folder only, 2 = current + next level, etc.": "Wie viele Ebenen tief zu suchen sind. 1 = nur aktueller Ordner, 2 = aktuelle + nächste Ebene, etc.",
81
- "Download all file contents in a list": "Alle Dateiinhalte in einer Liste herunterladen",
82
- "The Query term or field of file/folder to search upon.": "Der Abfragebegriff oder Feld des zu suchenden Datei/Ordners.",
83
- "The operator to create criteria.": "Der Operator, um Kriterien zu erstellen.",
84
- "Value of the field of file/folder to search for.": "Wert des zu suchenden Datei-/Ordnerfeldes.",
85
- "(Optional) Choose between files and folders.": "(Optional) Wählen Sie zwischen Dateien und Ordnern.",
86
- "The ID of the file to duplicate": "Die ID der zu duplizierenden Datei",
87
- "The name of the new file": "Der Name der neuen Datei",
88
- "The ID of the folder where the file will be duplicated": "Die ID des Ordners, in dem die Datei dupliziert wird",
89
- "If left unselected the file will be duplicated as it is": "Wenn nicht ausgewählt wird, wird die Datei wie sie ist dupliziert",
90
- "The ID of the document to export": "Die ID des zu exportierenden Dokuments",
91
- "The ID of the folder where the file will be exported": "Die ID des Ordners, in dem die Datei exportiert wird",
92
- "The name of the new file (do not include the extension)": "Der Name der neuen Datei (keine Endung enthalten)",
93
- "The ID of the file or folder to update permissions for": "Die ID der Datei oder des Ordners zum Aktualisieren der Berechtigungen für",
94
- "The email address of the user to update permissions for": "Die E-Mail-Adresse des Benutzers zum Aktualisieren der Berechtigungen für",
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
- "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
- "The role to remove from user.": "Die Rolle, die vom Benutzer entfernt werden soll.",
98
- "You can use **Search Folder/File** action to retrieve ID.": "Du kannst die **Ordner/Datei** Aktion verwenden, um ID zu erhalten.",
99
- "The ID of the file to delete": "Die ID der zu löschenden Datei",
100
- "The ID of the file to trash": "Die ID der zu trash Datei",
101
- "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
102
- "Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
103
- "CSV": "CSV",
104
- "XML": "XML",
105
- "Full text search": "Volltextsuche",
106
- "Contains": "Enthält",
107
- "Equals": "Gleich",
108
- "All": "Alle",
109
- "Files": "Dateien",
110
- "Folders": "Ordner",
111
- "Google Sheets": "Google Tabellen",
112
- "Google Docs": "Google Docs",
113
- "Organizer": "Organisator",
114
- "File Organizer": "Datei-Organisator",
115
- "Writer": "Schriftsteller",
116
- "Commenter": "Kommentar",
117
- "Reader": "Leser",
118
- "GET": "ERHALTEN",
119
- "POST": "POST",
120
- "PATCH": "PATCH",
121
- "PUT": "PUT",
122
- "DELETE": "LÖSCHEN",
123
- "HEAD": "HEAD",
124
- "None": "Keine",
125
- "JSON": "JSON",
126
- "Form Data": "Formulardaten",
127
- "Raw": "Rohe",
128
- "New File": "Neue Datei",
129
- "New Folder": "Neuer Ordner",
130
- "Trigger when a new file is uploaded.": "Auslösen wenn eine neue Datei hochgeladen wird.",
131
- "Trigger when a new folder is created or uploaded.": "Auslösen wenn ein neuer Ordner erstellt oder hochgeladen wird.",
132
- "Include File Content": "Dateiinhalt einbeziehen",
133
- "Include the file content in the output. This will increase the time taken to fetch the files and might cause issues with large files.": "Fügen Sie den Dateiinhalt in die Ausgabe ein. Dies erhöht die Zeit, die benötigt wird, um die Dateien abzurufen, und kann Probleme mit großen Dateien verursachen."
134
- }