@activepieces/piece-sftp 0.4.4 → 0.4.6
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 +9 -4
- package/src/i18n/translation.json +2 -0
- package/src/index.d.ts +3 -0
- package/src/index.js +21 -9
- package/src/index.js.map +1 -1
- package/src/lib/actions/create-file.d.ts +1 -0
- package/src/lib/actions/create-folder.d.ts +1 -0
- package/src/lib/actions/delete-file.d.ts +1 -0
- package/src/lib/actions/delete-folder.d.ts +1 -0
- package/src/lib/actions/list-files.d.ts +1 -0
- package/src/lib/actions/read-file.d.ts +1 -0
- package/src/lib/actions/rename-file-or-folder.d.ts +1 -0
- package/src/lib/actions/upload-file.d.ts +1 -0
- package/src/lib/triggers/new-modified-file.d.ts +3 -0
package/package.json
CHANGED
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-sftp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"dependencies": {
|
|
5
|
+
"@ai-sdk/mcp": "1.0.1 ",
|
|
6
|
+
"@modelcontextprotocol/sdk": "1.25.2",
|
|
5
7
|
"@sinclair/typebox": "0.34.11",
|
|
8
|
+
"ai": "5.0.104",
|
|
6
9
|
"axios": "1.13.1",
|
|
7
10
|
"axios-retry": "4.4.1",
|
|
8
11
|
"basic-ftp": "5.0.5",
|
|
9
12
|
"dayjs": "1.11.9",
|
|
10
13
|
"deepmerge-ts": "7.1.0",
|
|
14
|
+
"form-data": "4.0.4",
|
|
15
|
+
"i18next": "23.13.0",
|
|
11
16
|
"mime-types": "2.1.35",
|
|
12
17
|
"nanoid": "3.3.8",
|
|
13
18
|
"semver": "7.6.0",
|
|
14
19
|
"socket.io-client": "4.8.1",
|
|
15
20
|
"ssh2-sftp-client": "9.1.0",
|
|
16
21
|
"zod": "4.1.13",
|
|
17
|
-
"@activepieces/pieces-common": "0.
|
|
18
|
-
"@activepieces/pieces-framework": "0.
|
|
19
|
-
"@activepieces/shared": "0.
|
|
22
|
+
"@activepieces/pieces-common": "0.11.2",
|
|
23
|
+
"@activepieces/pieces-framework": "0.23.0",
|
|
24
|
+
"@activepieces/shared": "0.32.0",
|
|
20
25
|
"tslib": "2.6.2"
|
|
21
26
|
},
|
|
22
27
|
"resolutions": {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"Connect to FTP, FTPS or SFTP servers": "Connect to FTP, FTPS or SFTP servers",
|
|
3
3
|
"Protocol": "Protocol",
|
|
4
4
|
"Allow Unauthorized Certificates": "Allow Unauthorized Certificates",
|
|
5
|
+
"Allow Anonymous Login": "Allow Anonymous Login",
|
|
5
6
|
"Host": "Host",
|
|
6
7
|
"Port": "Port",
|
|
7
8
|
"Username": "Username",
|
|
@@ -10,6 +11,7 @@
|
|
|
10
11
|
"Host Key Algorithm": "Host Key Algorithm",
|
|
11
12
|
"The protocol to use": "The protocol to use",
|
|
12
13
|
"Allow connections to servers with self-signed certificates": "Allow connections to servers with self-signed certificates",
|
|
14
|
+
"Allow anonymous login to FTP servers (only applicable for FTP/FTPS)": "Allow anonymous login to FTP servers (only applicable for FTP/FTPS)",
|
|
13
15
|
"The host of the server": "The host of the server",
|
|
14
16
|
"The port of the server": "The port of the server",
|
|
15
17
|
"The username to authenticate with": "The username to authenticate with",
|
package/src/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export declare function getClient<T extends Client | FTPClient>(auth: {
|
|
|
6
6
|
host: string;
|
|
7
7
|
port: number;
|
|
8
8
|
allow_unauthorized_certificates: boolean | undefined;
|
|
9
|
+
allow_anonymous_login: boolean | undefined;
|
|
9
10
|
username: string;
|
|
10
11
|
password: string | undefined;
|
|
11
12
|
privateKey: string | undefined;
|
|
@@ -15,6 +16,7 @@ export declare function endClient(client: Client | FTPClient, protocol: string |
|
|
|
15
16
|
export declare const sftpAuth: import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
16
17
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
17
18
|
allow_unauthorized_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
19
|
+
allow_anonymous_login: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
18
20
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
19
21
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
20
22
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
@@ -25,6 +27,7 @@ export declare const sftpAuth: import("@activepieces/pieces-framework").CustomAu
|
|
|
25
27
|
export declare const ftpSftp: import("@activepieces/pieces-framework").Piece<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
26
28
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
27
29
|
allow_unauthorized_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
30
|
+
allow_anonymous_login: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
28
31
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
29
32
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
30
33
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
package/src/index.js
CHANGED
|
@@ -28,11 +28,11 @@ function getProtocolBackwardCompatibility(protocol) {
|
|
|
28
28
|
}
|
|
29
29
|
function getClient(auth) {
|
|
30
30
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
31
|
-
const { protocol, host, port, allow_unauthorized_certificates, username, password, privateKey, algorithm } = auth;
|
|
31
|
+
const { protocol, host, port, allow_unauthorized_certificates, allow_anonymous_login, username, password, privateKey, algorithm } = auth;
|
|
32
32
|
const protocolBackwardCompatibility = yield getProtocolBackwardCompatibility(protocol);
|
|
33
33
|
if (protocolBackwardCompatibility === 'sftp') {
|
|
34
34
|
const sftp = new ssh2_sftp_client_1.default();
|
|
35
|
-
if (
|
|
35
|
+
if (password) {
|
|
36
36
|
yield sftp.connect({
|
|
37
37
|
host,
|
|
38
38
|
port,
|
|
@@ -105,6 +105,12 @@ exports.sftpAuth = pieces_framework_1.PieceAuth.CustomAuth({
|
|
|
105
105
|
defaultValue: false,
|
|
106
106
|
required: false,
|
|
107
107
|
}),
|
|
108
|
+
allow_anonymous_login: pieces_framework_1.Property.Checkbox({
|
|
109
|
+
displayName: 'Allow Anonymous Login',
|
|
110
|
+
description: 'Allow anonymous login to FTP servers (only applicable for FTP/FTPS)',
|
|
111
|
+
defaultValue: false,
|
|
112
|
+
required: false,
|
|
113
|
+
}),
|
|
108
114
|
host: pieces_framework_1.Property.ShortText({
|
|
109
115
|
displayName: 'Host',
|
|
110
116
|
description: 'The host of the server',
|
|
@@ -150,17 +156,23 @@ exports.sftpAuth = pieces_framework_1.PieceAuth.CustomAuth({
|
|
|
150
156
|
})
|
|
151
157
|
},
|
|
152
158
|
validate: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth }) {
|
|
153
|
-
if (!auth.password && !auth.privateKey) {
|
|
154
|
-
return {
|
|
155
|
-
valid: false,
|
|
156
|
-
error: 'Either password or private key must be provided for authentication.',
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
159
|
let client = null;
|
|
160
160
|
const protocolBackwardCompatibility = yield getProtocolBackwardCompatibility(auth.protocol);
|
|
161
161
|
try {
|
|
162
|
+
if (!auth.privateKey && !auth.password && !auth.allow_anonymous_login) {
|
|
163
|
+
return {
|
|
164
|
+
valid: false,
|
|
165
|
+
error: 'Either password or private key must be provided for non-anonymous authentication.',
|
|
166
|
+
};
|
|
167
|
+
}
|
|
162
168
|
switch (protocolBackwardCompatibility) {
|
|
163
169
|
case 'sftp': {
|
|
170
|
+
if (auth.allow_anonymous_login) {
|
|
171
|
+
return {
|
|
172
|
+
valid: false,
|
|
173
|
+
error: 'Anonymous login is not supported for SFTP protocol.',
|
|
174
|
+
};
|
|
175
|
+
}
|
|
164
176
|
client = yield getClient(auth);
|
|
165
177
|
break;
|
|
166
178
|
}
|
|
@@ -191,7 +203,7 @@ exports.ftpSftp = (0, pieces_framework_1.createPiece)({
|
|
|
191
203
|
displayName: 'FTP/SFTP',
|
|
192
204
|
description: 'Connect to FTP, FTPS or SFTP servers',
|
|
193
205
|
minimumSupportedRelease: '0.30.0',
|
|
194
|
-
logoUrl: 'https://cdn.activepieces.com/pieces/sftp.svg',
|
|
206
|
+
logoUrl: 'https://cdn.activepieces.com/pieces/new-core/sftp.svg',
|
|
195
207
|
categories: [shared_1.PieceCategory.CORE, shared_1.PieceCategory.DEVELOPER_TOOLS],
|
|
196
208
|
authors: [
|
|
197
209
|
'Abdallah-Alwarawreh',
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/sftp/src/index.ts"],"names":[],"mappings":";;;AAkBA,4EAKC;AACD,8BA8CC;AAED,8BAOC;;AA/ED,qEAIwC;AACxC,iDAA4D;AAC5D,gFAAsC;AACtC,yCAAgD;AAChD,2DAAuD;AACvD,2DAA6D;AAC7D,uDAA0D;AAC1D,wEAAqE;AACrE,+DAAiE;AACjE,2DAA6D;AAC7D,yDAAoE;AACpE,+DAAiE;AACjE,+EAA+E;AAE/E,SAAsB,gCAAgC,CAAC,QAA4B;;QACjF,IAAI,IAAA,cAAK,EAAC,QAAQ,CAAC,EAAE,CAAC;YACpB,OAAO,MAAM,CAAC;QAChB,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;CAAA;AACD,SAAsB,SAAS,CAA+B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/sftp/src/index.ts"],"names":[],"mappings":";;;AAkBA,4EAKC;AACD,8BA8CC;AAED,8BAOC;;AA/ED,qEAIwC;AACxC,iDAA4D;AAC5D,gFAAsC;AACtC,yCAAgD;AAChD,2DAAuD;AACvD,2DAA6D;AAC7D,uDAA0D;AAC1D,wEAAqE;AACrE,+DAAi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ACb,OAAO;gBACL,KAAK,EAAE,KAAK;gBACZ,KAAK,EAAG,GAAa,aAAb,GAAG,uBAAH,GAAG,CAAY,OAAO;aAC/B,CAAC;QACJ,CAAC;gBAAS,CAAC;YACT,IAAI,MAAM,EAAE,CAAC;gBACX,MAAM,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;YACzC,CAAC;QACH,CAAC;IACH,CAAC,CAAA;IACD,QAAQ,EAAE,IAAI;CACf,CAAC,CAAC;AAEU,QAAA,OAAO,GAAG,IAAA,8BAAW,EAAC;IACjC,WAAW,EAAE,UAAU;IACvB,WAAW,EAAE,sCAAsC;IACnD,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,uDAAuD;IAChE,UAAU,EAAE,CAAC,sBAAa,CAAC,IAAI,EAAE,sBAAa,CAAC,eAAe,CAAC;IAC/D,OAAO,EAAE;QACP,qBAAqB;QACrB,YAAY;QACZ,sBAAsB;QACtB,eAAe;QACf,UAAU;QACV,kBAAkB;KACnB;IACD,IAAI,EAAE,gBAAQ;IACd,OAAO,EAAE;QACP,wBAAU;QACV,8BAAgB;QAChB,2BAAe;QACf,8BAAgB;QAChB,kCAAkB;QAClB,kCAAkB;QAClB,qCAAwB;QACxB,gDAAwB;KACzB;IACD,QAAQ,EAAE,CAAC,qCAAiB,CAAC;CAC9B,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const createFile: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
2
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
3
3
|
allow_unauthorized_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
|
+
allow_anonymous_login: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
5
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
6
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
7
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const createFolderAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
2
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
3
3
|
allow_unauthorized_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
|
+
allow_anonymous_login: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
5
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
6
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
7
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const deleteFileAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
2
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
3
3
|
allow_unauthorized_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
|
+
allow_anonymous_login: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
5
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
6
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
7
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const deleteFolderAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
2
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
3
3
|
allow_unauthorized_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
|
+
allow_anonymous_login: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
5
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
6
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
7
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const listFolderContentsAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
2
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
3
3
|
allow_unauthorized_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
|
+
allow_anonymous_login: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
5
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
6
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
7
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const readFileContent: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
2
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
3
3
|
allow_unauthorized_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
|
+
allow_anonymous_login: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
5
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
6
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
7
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const renameFileOrFolderAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
2
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
3
3
|
allow_unauthorized_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
|
+
allow_anonymous_login: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
5
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
6
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
7
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const uploadFileAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
2
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
3
3
|
allow_unauthorized_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
|
+
allow_anonymous_login: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
4
5
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
6
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
7
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
@@ -2,6 +2,7 @@ import { TriggerStrategy } from '@activepieces/pieces-framework';
|
|
|
2
2
|
export declare const newOrModifiedFile: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
3
3
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
4
4
|
allow_unauthorized_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
5
|
+
allow_anonymous_login: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
5
6
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
6
7
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
7
8
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
@@ -14,6 +15,7 @@ export declare const newOrModifiedFile: import("@activepieces/pieces-framework")
|
|
|
14
15
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
15
16
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
16
17
|
allow_unauthorized_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
18
|
+
allow_anonymous_login: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
17
19
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
18
20
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
19
21
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
@@ -26,6 +28,7 @@ export declare const newOrModifiedFile: import("@activepieces/pieces-framework")
|
|
|
26
28
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
27
29
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
28
30
|
allow_unauthorized_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
31
|
+
allow_anonymous_login: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
29
32
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
30
33
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
31
34
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|