@activepieces/piece-sftp 0.3.6 → 0.4.0
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 +2 -2
- package/src/index.d.ts +9 -3
- package/src/index.js +56 -10
- package/src/index.js.map +1 -1
- package/src/lib/actions/create-file.d.ts +3 -1
- package/src/lib/actions/create-folder.d.ts +3 -1
- package/src/lib/actions/delete-file.d.ts +3 -1
- package/src/lib/actions/delete-folder.d.ts +3 -1
- package/src/lib/actions/list-files.d.ts +3 -1
- package/src/lib/actions/read-file.d.ts +3 -1
- package/src/lib/actions/rename-file-or-folder.d.ts +3 -1
- package/src/lib/actions/upload-file.d.ts +3 -1
- package/src/lib/triggers/new-modified-file.d.ts +9 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-sftp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@sinclair/typebox": "0.34.11",
|
|
6
6
|
"axios": "1.8.3",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"ssh2-sftp-client": "9.1.0",
|
|
16
16
|
"zod": "3.25.76",
|
|
17
17
|
"@activepieces/pieces-common": "0.7.0",
|
|
18
|
-
"@activepieces/pieces-framework": "0.18.
|
|
18
|
+
"@activepieces/pieces-framework": "0.18.5",
|
|
19
19
|
"@activepieces/shared": "0.20.0",
|
|
20
20
|
"tslib": "2.8.1"
|
|
21
21
|
},
|
package/src/index.d.ts
CHANGED
|
@@ -7,7 +7,9 @@ export declare function getClient<T extends Client | FTPClient>(auth: {
|
|
|
7
7
|
port: number;
|
|
8
8
|
allow_unauthorized_certificates: boolean | undefined;
|
|
9
9
|
username: string;
|
|
10
|
-
password: string;
|
|
10
|
+
password: string | undefined;
|
|
11
|
+
privateKey: string | undefined;
|
|
12
|
+
algorithm: string[] | undefined;
|
|
11
13
|
}): Promise<T>;
|
|
12
14
|
export declare function endClient(client: Client | FTPClient, protocol: string | undefined): Promise<void>;
|
|
13
15
|
export declare const sftpAuth: import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
@@ -16,7 +18,9 @@ export declare const sftpAuth: import("@activepieces/pieces-framework").CustomAu
|
|
|
16
18
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
17
19
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
18
20
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
19
|
-
password: import("@activepieces/pieces-framework").SecretTextProperty<
|
|
21
|
+
password: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
22
|
+
privateKey: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
23
|
+
algorithm: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
20
24
|
}>;
|
|
21
25
|
export declare const ftpSftp: import("@activepieces/pieces-framework").Piece<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
22
26
|
protocol: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
@@ -24,5 +28,7 @@ export declare const ftpSftp: import("@activepieces/pieces-framework").Piece<imp
|
|
|
24
28
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
25
29
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
26
30
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
27
|
-
password: import("@activepieces/pieces-framework").SecretTextProperty<
|
|
31
|
+
password: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
32
|
+
privateKey: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
33
|
+
algorithm: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
28
34
|
}>>;
|
package/src/index.js
CHANGED
|
@@ -28,17 +28,34 @@ 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 } = auth;
|
|
31
|
+
const { protocol, host, port, allow_unauthorized_certificates, 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
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
if (auth.password) {
|
|
36
|
+
yield sftp.connect({
|
|
37
|
+
host,
|
|
38
|
+
port,
|
|
39
|
+
username,
|
|
40
|
+
password,
|
|
41
|
+
timeout: 10000,
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
else if (privateKey) {
|
|
45
|
+
if (!algorithm || algorithm.length === 0) {
|
|
46
|
+
throw new Error('At least one algorithm must be selected for SFTP Private Key authentication.');
|
|
47
|
+
}
|
|
48
|
+
yield sftp.connect({
|
|
49
|
+
host,
|
|
50
|
+
port,
|
|
51
|
+
username,
|
|
52
|
+
privateKey: privateKey.replace(/\\n/g, '\n').trim(),
|
|
53
|
+
algorithms: {
|
|
54
|
+
serverHostKey: algorithm
|
|
55
|
+
},
|
|
56
|
+
timeout: 10000,
|
|
57
|
+
});
|
|
58
|
+
}
|
|
42
59
|
return sftp;
|
|
43
60
|
}
|
|
44
61
|
else {
|
|
@@ -106,11 +123,39 @@ exports.sftpAuth = pieces_framework_1.PieceAuth.CustomAuth({
|
|
|
106
123
|
}),
|
|
107
124
|
password: pieces_framework_1.PieceAuth.SecretText({
|
|
108
125
|
displayName: 'Password',
|
|
109
|
-
description: 'The password to authenticate with',
|
|
110
|
-
required:
|
|
126
|
+
description: 'The password to authenticate with. Either this or private key is required',
|
|
127
|
+
required: false,
|
|
128
|
+
}),
|
|
129
|
+
privateKey: pieces_framework_1.PieceAuth.SecretText({
|
|
130
|
+
displayName: 'Private Key',
|
|
131
|
+
description: 'The private key to authenticate with. Either this or password is required',
|
|
132
|
+
required: false,
|
|
111
133
|
}),
|
|
134
|
+
algorithm: pieces_framework_1.Property.StaticMultiSelectDropdown({
|
|
135
|
+
displayName: 'Host Key Algorithm',
|
|
136
|
+
description: 'The host key algorithm to use for SFTP Private Key authentication',
|
|
137
|
+
required: false,
|
|
138
|
+
options: {
|
|
139
|
+
options: [
|
|
140
|
+
{ value: 'ssh-rsa', label: 'ssh-rsa' },
|
|
141
|
+
{ value: 'ssh-dss', label: 'ssh-dss' },
|
|
142
|
+
{ value: 'ecdsa-sha2-nistp256', label: 'ecdsa-sha2-nistp256' },
|
|
143
|
+
{ value: 'ecdsa-sha2-nistp384', label: 'ecdsa-sha2-nistp384' },
|
|
144
|
+
{ value: 'ecdsa-sha2-nistp521', label: 'ecdsa-sha2-nistp521' },
|
|
145
|
+
{ value: 'ssh-ed25519', label: 'ssh-ed25519' },
|
|
146
|
+
{ value: 'rsa-sha2-256', label: 'rsa-sha2-256' },
|
|
147
|
+
{ value: 'rsa-sha2-512', label: 'rsa-sha2-512' }
|
|
148
|
+
],
|
|
149
|
+
},
|
|
150
|
+
})
|
|
112
151
|
},
|
|
113
152
|
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
|
+
}
|
|
114
159
|
let client = null;
|
|
115
160
|
const protocolBackwardCompatibility = yield getProtocolBackwardCompatibility(auth.protocol);
|
|
116
161
|
try {
|
|
@@ -154,6 +199,7 @@ exports.ftpSftp = (0, pieces_framework_1.createPiece)({
|
|
|
154
199
|
'AbdulTheActivePiecer',
|
|
155
200
|
'khaledmashaly',
|
|
156
201
|
'abuaboud',
|
|
202
|
+
'prasanna2000-max',
|
|
157
203
|
],
|
|
158
204
|
auth: exports.sftpAuth,
|
|
159
205
|
actions: [
|
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,
|
|
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,IAAyO;;QACrS,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,+BAA+B,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;QAClH,MAAM,6BAA6B,GAAG,MAAM,gCAAgC,CAAC,QAAQ,CAAC,CAAC;QACvF,IAAI,6BAA6B,KAAK,MAAM,EAAE,CAAC;YAC7C,MAAM,IAAI,GAAG,IAAI,0BAAM,EAAE,CAAC;YAE1B,IAAI,IAAI,CAAC,QAAQ,EAAC,CAAC;gBACjB,MAAM,IAAI,CAAC,OAAO,CAAC;oBACjB,IAAI;oBACJ,IAAI;oBACJ,QAAQ;oBACR,QAAQ;oBACR,OAAO,EAAE,KAAK;iBACf,CAAC,CAA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SAAS,CAAY,IAAI,CAAC,CAAC;oBAC1C,MAAM;gBACR,CAAC;YACH,CAAC;YACD,OAAO;gBACL,KAAK,EAAE,IAAI;aACZ,CAAC;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,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,8CAA8C;IACvD,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"}
|
|
@@ -4,7 +4,9 @@ export declare const createFile: import("@activepieces/pieces-framework").IActio
|
|
|
4
4
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
5
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
6
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
7
|
-
password: import("@activepieces/pieces-framework").SecretTextProperty<
|
|
7
|
+
password: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
8
|
+
privateKey: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
9
|
+
algorithm: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
8
10
|
}>, {
|
|
9
11
|
fileName: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
10
12
|
fileContent: import("@activepieces/pieces-framework").LongTextProperty<true>;
|
|
@@ -4,7 +4,9 @@ export declare const createFolderAction: import("@activepieces/pieces-framework"
|
|
|
4
4
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
5
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
6
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
7
|
-
password: import("@activepieces/pieces-framework").SecretTextProperty<
|
|
7
|
+
password: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
8
|
+
privateKey: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
9
|
+
algorithm: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
8
10
|
}>, {
|
|
9
11
|
folderPath: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
10
12
|
recursive: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
@@ -4,7 +4,9 @@ export declare const deleteFileAction: import("@activepieces/pieces-framework").
|
|
|
4
4
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
5
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
6
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
7
|
-
password: import("@activepieces/pieces-framework").SecretTextProperty<
|
|
7
|
+
password: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
8
|
+
privateKey: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
9
|
+
algorithm: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
8
10
|
}>, {
|
|
9
11
|
filePath: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
10
12
|
}>;
|
|
@@ -4,7 +4,9 @@ export declare const deleteFolderAction: import("@activepieces/pieces-framework"
|
|
|
4
4
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
5
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
6
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
7
|
-
password: import("@activepieces/pieces-framework").SecretTextProperty<
|
|
7
|
+
password: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
8
|
+
privateKey: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
9
|
+
algorithm: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
8
10
|
}>, {
|
|
9
11
|
folderPath: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
10
12
|
recursive: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
@@ -4,7 +4,9 @@ export declare const listFolderContentsAction: import("@activepieces/pieces-fram
|
|
|
4
4
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
5
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
6
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
7
|
-
password: import("@activepieces/pieces-framework").SecretTextProperty<
|
|
7
|
+
password: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
8
|
+
privateKey: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
9
|
+
algorithm: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
8
10
|
}>, {
|
|
9
11
|
directoryPath: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
10
12
|
}>;
|
|
@@ -4,7 +4,9 @@ export declare const readFileContent: import("@activepieces/pieces-framework").I
|
|
|
4
4
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
5
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
6
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
7
|
-
password: import("@activepieces/pieces-framework").SecretTextProperty<
|
|
7
|
+
password: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
8
|
+
privateKey: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
9
|
+
algorithm: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
8
10
|
}>, {
|
|
9
11
|
filePath: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
10
12
|
}>;
|
|
@@ -4,7 +4,9 @@ export declare const renameFileOrFolderAction: import("@activepieces/pieces-fram
|
|
|
4
4
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
5
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
6
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
7
|
-
password: import("@activepieces/pieces-framework").SecretTextProperty<
|
|
7
|
+
password: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
8
|
+
privateKey: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
9
|
+
algorithm: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
8
10
|
}>, {
|
|
9
11
|
information: import("dist/packages/pieces/community/framework/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
10
12
|
oldPath: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
@@ -4,7 +4,9 @@ export declare const uploadFileAction: import("@activepieces/pieces-framework").
|
|
|
4
4
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
5
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
6
6
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
7
|
-
password: import("@activepieces/pieces-framework").SecretTextProperty<
|
|
7
|
+
password: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
8
|
+
privateKey: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
9
|
+
algorithm: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
8
10
|
}>, {
|
|
9
11
|
fileName: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
10
12
|
fileContent: import("@activepieces/pieces-framework").FileProperty<true>;
|
|
@@ -5,7 +5,9 @@ export declare const newOrModifiedFile: import("@activepieces/pieces-framework")
|
|
|
5
5
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
6
6
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
7
7
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
8
|
-
password: import("@activepieces/pieces-framework").SecretTextProperty<
|
|
8
|
+
password: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
9
|
+
privateKey: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
10
|
+
algorithm: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
9
11
|
}>, {
|
|
10
12
|
path: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
11
13
|
ignoreHiddenFiles: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
@@ -15,7 +17,9 @@ export declare const newOrModifiedFile: import("@activepieces/pieces-framework")
|
|
|
15
17
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
16
18
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
17
19
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
18
|
-
password: import("@activepieces/pieces-framework").SecretTextProperty<
|
|
20
|
+
password: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
21
|
+
privateKey: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
22
|
+
algorithm: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
19
23
|
}>, {
|
|
20
24
|
path: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
21
25
|
ignoreHiddenFiles: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
@@ -25,7 +29,9 @@ export declare const newOrModifiedFile: import("@activepieces/pieces-framework")
|
|
|
25
29
|
host: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
26
30
|
port: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
27
31
|
username: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
28
|
-
password: import("@activepieces/pieces-framework").SecretTextProperty<
|
|
32
|
+
password: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
33
|
+
privateKey: import("@activepieces/pieces-framework").SecretTextProperty<false>;
|
|
34
|
+
algorithm: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
29
35
|
}>, {
|
|
30
36
|
path: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
31
37
|
ignoreHiddenFiles: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|