@activepieces/piece-dropbox 0.0.0-pre1
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 +7 -0
- package/package.json +17 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +18 -0
- package/src/index.js.map +1 -0
- package/src/lib/actions/create-new-folder.d.ts +1 -0
- package/src/lib/actions/create-new-folder.js +81 -0
- package/src/lib/actions/create-new-folder.js.map +1 -0
- package/src/lib/actions/create-new-text-file.d.ts +1 -0
- package/src/lib/actions/create-new-text-file.js +112 -0
- package/src/lib/actions/create-new-text-file.js.map +1 -0
package/README.md
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@activepieces/piece-dropbox",
|
|
3
|
+
"version": "0.0.0-pre1",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"@sinclair/typebox": "0.24.51",
|
|
6
|
+
"axios": "1.2.4",
|
|
7
|
+
"cron-validator": "1.3.1",
|
|
8
|
+
"nanoid": "3.3.4"
|
|
9
|
+
},
|
|
10
|
+
"peerDependencies": {
|
|
11
|
+
"@activepieces/framework": "0.0.1",
|
|
12
|
+
"@activepieces/shared": "0.0.1",
|
|
13
|
+
"tslib": "2.4.1"
|
|
14
|
+
},
|
|
15
|
+
"main": "./src/index.js",
|
|
16
|
+
"types": "./src/index.d.ts"
|
|
17
|
+
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dropbox: import("@activepieces/framework").Piece;
|
package/src/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dropbox = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
+
const framework_1 = require("@activepieces/framework");
|
|
7
|
+
const create_new_folder_1 = require("./lib/actions/create-new-folder");
|
|
8
|
+
const create_new_text_file_1 = require("./lib/actions/create-new-text-file");
|
|
9
|
+
exports.dropbox = (0, framework_1.createPiece)({
|
|
10
|
+
name: 'dropbox',
|
|
11
|
+
logoUrl: 'https://cdn.activepieces.com/pieces/dropbox.png',
|
|
12
|
+
actions: [create_new_folder_1.dropboxCreateNewFolder, create_new_text_file_1.dropboxCreateNewTextFile],
|
|
13
|
+
displayName: "DropBox",
|
|
14
|
+
authors: ['kanarelo'],
|
|
15
|
+
triggers: [],
|
|
16
|
+
version: package_json_1.default.version,
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/pieces/dropbox/src/index.ts"],"names":[],"mappings":";;;;AAAA,2EAA0C;AAC1C,uDAAsD;AACtD,uEAAyE;AACzE,6EAA8E;AAEjE,QAAA,OAAO,GAAG,IAAA,uBAAW,EAAC;IACjC,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,iDAAiD;IAC1D,OAAO,EAAE,CAAC,0CAAsB,EAAE,+CAAwB,CAAC;IAC3D,WAAW,EAAE,SAAS;IACtB,OAAO,EAAE,CAAC,UAAU,CAAC;IACrB,QAAQ,EAAE,EAAE;IACZ,OAAO,EAAE,sBAAW,CAAC,OAAO;CAC7B,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dropboxCreateNewFolder: import("@activepieces/framework").Action;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dropboxCreateNewFolder = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const framework_1 = require("@activepieces/framework");
|
|
6
|
+
exports.dropboxCreateNewFolder = (0, framework_1.createAction)({
|
|
7
|
+
name: 'create_new_dropbox_folder',
|
|
8
|
+
description: 'Create a new empty folder in your Dropbox',
|
|
9
|
+
displayName: 'Create new folder',
|
|
10
|
+
props: {
|
|
11
|
+
authentication: framework_1.Property.OAuth2({
|
|
12
|
+
description: "",
|
|
13
|
+
displayName: 'Authentication',
|
|
14
|
+
authUrl: "https://www.dropbox.com/oauth2/authorize",
|
|
15
|
+
tokenUrl: "https://api.dropboxapi.com/oauth2/token",
|
|
16
|
+
required: true,
|
|
17
|
+
scope: ["files.content.write"]
|
|
18
|
+
}),
|
|
19
|
+
path: framework_1.Property.ShortText({
|
|
20
|
+
displayName: 'Path',
|
|
21
|
+
description: 'The path of the new folder e.g. /Homework/math',
|
|
22
|
+
required: true
|
|
23
|
+
}),
|
|
24
|
+
autorename: framework_1.Property.Checkbox({
|
|
25
|
+
displayName: 'Auto Rename',
|
|
26
|
+
description: "If there's a conflict, have the Dropbox server try to autorename the folder to avoid the conflict. The default for this field is False.",
|
|
27
|
+
required: false
|
|
28
|
+
})
|
|
29
|
+
},
|
|
30
|
+
sampleData: {
|
|
31
|
+
"metadata": {
|
|
32
|
+
"id": "id:a4ayc_80_OEAAAAAAAAAXz",
|
|
33
|
+
"name": "math",
|
|
34
|
+
"path_display": "/Homework/math",
|
|
35
|
+
"path_lower": "/homework/math",
|
|
36
|
+
"property_groups": [
|
|
37
|
+
{
|
|
38
|
+
"fields": [
|
|
39
|
+
{
|
|
40
|
+
"name": "Security Policy",
|
|
41
|
+
"value": "Confidential"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"template_id": "ptid:1a5n2i6d3OYEAAAAAAAAAYa"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"sharing_info": {
|
|
48
|
+
"no_access": false,
|
|
49
|
+
"parent_shared_folder_id": "84528192421",
|
|
50
|
+
"read_only": false,
|
|
51
|
+
"traverse_only": false
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
run(context) {
|
|
56
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
const body = {
|
|
58
|
+
autorename: context.propsValue.autorename ? true : false,
|
|
59
|
+
path: context.propsValue.path,
|
|
60
|
+
};
|
|
61
|
+
const request = {
|
|
62
|
+
method: framework_1.HttpMethod.POST,
|
|
63
|
+
url: `https://api.dropboxapi.com/2/files/create_folder_v2`,
|
|
64
|
+
body,
|
|
65
|
+
authentication: {
|
|
66
|
+
type: framework_1.AuthenticationType.BEARER_TOKEN,
|
|
67
|
+
token: context.propsValue.authentication.access_token,
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
const result = yield framework_1.httpClient.sendRequest(request);
|
|
71
|
+
console.debug("Folder creation response", result);
|
|
72
|
+
if (result.status == 200) {
|
|
73
|
+
return result.body;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
return result;
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
//# sourceMappingURL=create-new-folder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-new-folder.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/dropbox/src/lib/actions/create-new-folder.ts"],"names":[],"mappings":";;;;AAAA,uDAAyH;AAE5G,QAAA,sBAAsB,GAAG,IAAA,wBAAY,EAAC;IACjD,IAAI,EAAE,2BAA2B;IACjC,WAAW,EAAE,2CAA2C;IACxD,WAAW,EAAE,mBAAmB;IAChC,KAAK,EAAE;QACL,cAAc,EAAE,oBAAQ,CAAC,MAAM,CAAC;YAC9B,WAAW,EAAE,EAAE;YACf,WAAW,EAAE,gBAAgB;YAC7B,OAAO,EAAE,0CAA0C;YACnD,QAAQ,EAAE,yCAAyC;YACnD,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,CAAC,qBAAqB,CAAC;SAC/B,CAAC;QACF,IAAI,EAAE,oBAAQ,CAAC,SAAS,CAAC;YACvB,WAAW,EAAE,MAAM;YACnB,WAAW,EAAE,gDAA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AAG,EAAE;gBACxB,OAAO,MAAM,CAAC,IAAI,CAAA;aACnB;iBAAM;gBACL,OAAO,MAAM,CAAA;aACd;QACH,CAAC;KAAA;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dropboxCreateNewTextFile: import("@activepieces/framework").Action;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dropboxCreateNewTextFile = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const framework_1 = require("@activepieces/framework");
|
|
6
|
+
exports.dropboxCreateNewTextFile = (0, framework_1.createAction)({
|
|
7
|
+
name: 'create_new_dropbox_text_file',
|
|
8
|
+
description: 'Create a new text file in your Dropbox from text input',
|
|
9
|
+
displayName: 'Create new text file',
|
|
10
|
+
props: {
|
|
11
|
+
authentication: framework_1.Property.OAuth2({
|
|
12
|
+
description: "",
|
|
13
|
+
displayName: 'Authentication',
|
|
14
|
+
authUrl: "https://www.dropbox.com/oauth2/authorize",
|
|
15
|
+
tokenUrl: "https://api.dropboxapi.com/oauth2/token",
|
|
16
|
+
required: true,
|
|
17
|
+
scope: ["files.content.write"]
|
|
18
|
+
}),
|
|
19
|
+
path: framework_1.Property.ShortText({
|
|
20
|
+
displayName: 'Path',
|
|
21
|
+
description: 'The path of the new folder e.g. /Homework/math',
|
|
22
|
+
required: true
|
|
23
|
+
}),
|
|
24
|
+
text: framework_1.Property.LongText({
|
|
25
|
+
displayName: 'Text',
|
|
26
|
+
description: "The text to write into the file.",
|
|
27
|
+
required: true
|
|
28
|
+
}),
|
|
29
|
+
autorename: framework_1.Property.Checkbox({
|
|
30
|
+
displayName: 'Autorename',
|
|
31
|
+
description: "If there's a conflict, have the Dropbox server try to autorename the folder to avoid the conflict. The default for this field is False.",
|
|
32
|
+
required: false
|
|
33
|
+
}),
|
|
34
|
+
mute: framework_1.Property.Checkbox({
|
|
35
|
+
displayName: 'Mute',
|
|
36
|
+
description: "Normally, users are made aware of any file modifications in their Dropbox account via notifications in the client software. If true, this tells the clients that this modification shouldn't result in a user notification.",
|
|
37
|
+
required: false
|
|
38
|
+
}),
|
|
39
|
+
strict_conflict: framework_1.Property.Checkbox({
|
|
40
|
+
displayName: 'Strict conflict',
|
|
41
|
+
description: 'Be more strict about how each WriteMode detects conflict. For example, always return a conflict error when mode = WriteMode.update and the given "rev" doesn\'t match the existing file\'s "rev", even if the existing file has been deleted.',
|
|
42
|
+
required: false
|
|
43
|
+
}),
|
|
44
|
+
},
|
|
45
|
+
sampleData: {
|
|
46
|
+
"client_modified": "2015-05-12T15:50:38Z",
|
|
47
|
+
"content_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
48
|
+
"file_lock_info": {
|
|
49
|
+
"created": "2015-05-12T15:50:38Z",
|
|
50
|
+
"is_lockholder": true,
|
|
51
|
+
"lockholder_name": "Imaginary User"
|
|
52
|
+
},
|
|
53
|
+
"has_explicit_shared_members": false,
|
|
54
|
+
"id": "id:a4ayc_80_OEAAAAAAAAAXw",
|
|
55
|
+
"is_downloadable": true,
|
|
56
|
+
"name": "Prime_Numbers.txt",
|
|
57
|
+
"path_display": "/Homework/math/Prime_Numbers.txt",
|
|
58
|
+
"path_lower": "/homework/math/prime_numbers.txt",
|
|
59
|
+
"property_groups": [
|
|
60
|
+
{
|
|
61
|
+
"fields": [
|
|
62
|
+
{
|
|
63
|
+
"name": "Security Policy",
|
|
64
|
+
"value": "Confidential"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"template_id": "ptid:1a5n2i6d3OYEAAAAAAAAAYa"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"rev": "a1c10ce0dd78",
|
|
71
|
+
"server_modified": "2015-05-12T15:50:38Z",
|
|
72
|
+
"sharing_info": {
|
|
73
|
+
"modified_by": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc",
|
|
74
|
+
"parent_shared_folder_id": "84528192421",
|
|
75
|
+
"read_only": true
|
|
76
|
+
},
|
|
77
|
+
"size": 7212
|
|
78
|
+
},
|
|
79
|
+
run(context) {
|
|
80
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
81
|
+
const params = {
|
|
82
|
+
autorename: context.propsValue.autorename,
|
|
83
|
+
path: context.propsValue.path,
|
|
84
|
+
mode: "add",
|
|
85
|
+
mute: context.propsValue.mute,
|
|
86
|
+
strict_conflict: context.propsValue.strict_conflict
|
|
87
|
+
};
|
|
88
|
+
const request = {
|
|
89
|
+
method: framework_1.HttpMethod.POST,
|
|
90
|
+
url: `https://content.dropboxapi.com/2/files/upload`,
|
|
91
|
+
body: Buffer.from(context.propsValue.text, 'utf-8'),
|
|
92
|
+
authentication: {
|
|
93
|
+
type: framework_1.AuthenticationType.BEARER_TOKEN,
|
|
94
|
+
token: context.propsValue.authentication.access_token,
|
|
95
|
+
},
|
|
96
|
+
headers: {
|
|
97
|
+
"Dropbox-API-Arg": JSON.stringify(params),
|
|
98
|
+
"Content-Type": "application/octet-stream"
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
const result = yield framework_1.httpClient.sendRequest(request);
|
|
102
|
+
console.debug("Folder creation response", result);
|
|
103
|
+
if (result.status == 200) {
|
|
104
|
+
return result.body;
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
return result;
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
//# sourceMappingURL=create-new-text-file.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-new-text-file.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/dropbox/src/lib/actions/create-new-text-file.ts"],"names":[],"mappings":";;;;AAAA,uDAAyH;AAE5G,QAAA,wBAAwB,GAAG,IAAA,wBAAY,EAAC;IACnD,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE,wDA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